PageSourceSearch

https://bahnwege-seminare.de/main-es2015.c2e350ba4b83f0f5cd83.js

js bahnwege-seminare.de collected 2026-09-26 02:46:37 UTC 881,217 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+QaA":function(e,t,n){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,s={},o=function(e){return(e=+e)+(e>68?1900:2e3)},a=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=s.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},h={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,a("seconds")],ss:[r,a("seconds")],m:[r,a("minutes")],mm:[r,a("minutes")],H:[r,a("hours")],h:[r,a("hours")],HH:[r,a("hours")],hh:[r,a("hours")],D:[r,a("day")],DD:[n,a("day")],Do:[i,function(e){var t=s.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,a("month")],MM:[n,a("month")],MMM:[i,function(e){var t=c("months"),n=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,a("year")],YY:[n,function(e){this.year=o(e)}],YYYY:[/\d{4}/,a("year")],Z:l,ZZ:l};function d(n){var r;r=s&&s.formats;for(var i=(n=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,i){var s=i&&i.toUpperCase();return n||r[i]||e[i]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),o=i.length,a=0;a<o;a+=1){var l=i[a],c=h[l],u=c&&c[1];i[a]=u?{regex:c&&c[0],parser:u}:l.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<o;n+=1){var s=i[n];if("string"==typeof s)r+=s.length;else{var a=s.regex,l=s.parser,c=e.slice(r),u=a.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var a=o[1];if("string"==typeof a){var l=!0===o[2],c=!0===o[3],u=l||c,h=o[2];c&&(h=o[2]),s=this.$locale(),!l&&h&&(s=n.Ls[h]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=d(t)(e),i=r.year,s=r.month,o=r.day,a=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,h=r.zone,p=new Date,f=o||(i||s?1:p.getDate()),m=i||p.getFullYear(),g=0;i&&!s||(g=s>0?s-1:p.getMonth());var y=a||0,b=l||0,v=c||0,w=u||0;return h?new Date(Date.UTC(m,g,f,y,b,v,w+60*h.offset*1e3)):n?new Date(Date.UTC(m,g,f,y,b,v,w)):new Date(m,g,f,y,b,v,w)}catch(e){return new Date("")}}(t,a,r),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),s={}}else if(a instanceof Array)for(var p=a.length,f=1;f<=p;f+=1){o[1]=a[f-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}f===p&&(this.$d=new Date(""))}else i.call(this,e)}}}()},"+a6j":function(e,t,n){"use strict";var r=n("D3zA"),i=n("DSU0"),s=n("km3+"),o=n("O2re");e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return o(r,s,e)}},"/aUQ":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},0:function(e,t,n){e.exports=n("zUnb")},"0Ake":function(e,t,n){"use strict";var r=n("AM7I"),i=n("eZIG"),s=n("ZLCw")(),o=n("Kqna"),a=n("DSU0"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&o){var u=o(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(s?i(e,"length",t,!0,!0):i(e,"length",t)),e}},"0CSc":function(e,t,n){"use strict";var r=n("IdCN"),i=Object.prototype.toString,s=Object.prototype.hasOwnProperty,o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)s.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},a=function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},l=function(e,t,n){for(var r in e)s.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))};function c(e){return"[object Array]"===i.call(e)}e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),c(e)?o(e,t,i):"string"==typeof e?a(e,t,i):l(e,t,i)}},"3JnH":function(e,t,n){"use strict";e.exports=RangeError},"4FDZ":function(e,t,n){"use strict";e.exports=Math.max},"4W8N":function(e,t,n){"use strict";e.exports=Function.prototype.apply},"5Dpc":function(e,t,n){"use strict";var r=n("DSU0"),i=n("O7/Y")("TypedArray.prototype.buffer",!0),s=n("9OO9");e.exports=i||function(e){if(!s(e))throw new r("Not a Typed Array");return e.buffer}},"7cSL":function(e,t,n){"use strict";var r=n("0CSc"),i=n("cibw"),s=n("PrET"),o=n("O7/Y"),a=n("Kqna"),l=n("gzrF"),c=o("Ob
1ject.prototype.toString"),u=n("B6Q+")(),h="undefined"==typeof globalThis?global:globalThis,d=i(),p=o("String.prototype.slice"),f=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};r(d,u&&a&&l?function(e){var t=new h[e];if(Symbol.toStringTag in t&&l){var n=l(t),r=a(n,Symbol.toStringTag);if(!r&&n){var i=l(n);r=a(i,Symbol.toStringTag)}if(r&&r.get){var o=s(r.get);m["$"+e]=o}}}:function(e){var t=new h[e],n=t.slice||t.set;if(n){var r=s(n);m["$"+e]=r}}),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!u){var t=p(c(e),8,-1);return f(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(m,function(n,r){if(!t)try{n(e),t=p(r,1)}catch(i){}}),t}(e)}return a?function(e){var t=!1;return r(m,function(n,r){if(!t)try{"$"+n(e)===r&&(t=p(r,1))}catch(i){}}),t}(e):null}},"8uGy":function(e,t,n){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},"9OO9":function(e,t,n){"use strict";var r=n("7cSL");e.exports=function(e){return!!r(e)}},AM7I:function(e,t,n){"use strict";var r=n("ooQL"),i=n("pkW7"),s=n("QX98"),o=n("3JnH"),a=n("FAml"),l=n("Z+6F"),c=n("DSU0"),u=n("Z9lY"),h=n("F6qJ"),d=n("ZZFE"),p=n("4FDZ"),f=n("qyuN"),m=n("WetM"),g=n("w65a"),y=n("jKBE"),b=Function,v=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(t){}},w=n("Kqna"),_=n("cckQ"),C=function(){throw new c},S=w?function(){try{return C}catch(e){try{return w(arguments,"callee").get}catch(t){return C}}}():C,k=n("UVaH")(),D=n("gzrF"),x=n("F7zN"),E=n("8uGy"),A=n("4W8N"),T=n("km3+"),O={},I="undefined"!=typeof Uint8Array&&D?D(Uint8Array):void 0,P={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":k&&D?D([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?void 0:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":O,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":k&&D?D(D([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&D?D((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&D?D((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&D?D(""[Symbol.iterator]()):void 0,"%Symbol%":k?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":I,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":A,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":x,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":f,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":y,"%Reflect.getPrototypeOf%":E};if(D)try{null.error}catch(G){var F=D(D(G));P["%Error.prototype%"]=F}var M=function e(t){var n;if("%AsyncFunction%"===t)n=v("async function () {}");else if("%GeneratorFunction%"===t)n=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=v("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&D&&(n=D(i.prototype))}return P[t]=n,n},R={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]}
1,N=n("D3zA"),L=n("lnE3"),B=N.call(T,Array.prototype.concat),V=N.call(A,Array.prototype.splice),z=N.call(T,String.prototype.replace),$=N.call(T,String.prototype.slice),j=N.call(T,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,q=function(e){var t=$(e,0,1),n=$(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return z(e,U,function(e,t,n,i){r[r.length]=n?z(i,H,"$1"):t||e}),r},W=function(e,t){var n,r=e;if(L(R,r)&&(r="%"+(n=R[r])[0]+"%"),L(P,r)){var i=P[r];if(i===O&&(i=M(r)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===j(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=q(e),r=n.length>0?n[0]:"",i=W("%"+r+"%",t),s=i.name,o=i.value,a=!1,u=i.alias;u&&(r=u[0],V(n,B([0,1],u)));for(var h=1,d=!0;h<n.length;h+=1){var p=n[h],f=$(p,0,1),m=$(p,-1);if(('"'===f||"'"===f||"`"===f||'"'===m||"'"===m||"`"===m)&&f!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&d||(a=!0),L(P,s="%"+(r+="."+p)+"%"))o=P[s];else if(null!=o){if(!(p in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&h+1>=n.length){var g=w(o,p);o=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:o[p]}else d=L(o,p),o=o[p];d&&!a&&(P[s]=o)}}return o}},"B6Q+":function(e,t,n){"use strict";var r=n("FpZJ");e.exports=function(){return r()&&!!Symbol.toStringTag}},BOF4:function(e,t,n){"use strict";var r=n("evrj");function i(e){this.message=e}(i.prototype=new Error).name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(s){throw new i("Invalid token specified: "+s.message)}},e.exports.InvalidTokenError=i},CH9F:function(e,t,n){"use strict";var r=n("P7XM"),i=n("tnIz"),s=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,h=0;h<16;++h)n[h]=e.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var d=0;d<80;++d){var p=~~(d/20),f=0|((t=r)<<5|t>>>27)+u(p,i,s,a)+l+n[d]+o[p];l=a,a=s,s=c(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},D3zA:function(e,t,n){"use strict";var r=n("aI7X");e.exports=Function.prototype.bind||r},DSU0:function(e,t,n){"use strict";e.exports=TypeError},F6qJ:function(e,t,n){"use strict";e.exports=Math.abs},F7zN:function(e,t,n){"use strict";var r=n("ooQL");e.exports=r.getPrototypeOf||null},FAml:function(e,t,n){"use strict";e.exports=ReferenceError},FpZJ:function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},H7XF:function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){var t,n,r=c(e),o=r[0],a=r[1],l=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,h=a>0?o-4:o;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=0,a=n-i;o<a;o+=16383)s.push(u(e,o,o+16383>a?a:o+16383));return 1===i?s.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&s.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),s.join("")};for(var r=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",a=0,l=o.length;a<l;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,s=[],o=t;o<n;o+=3)s.push(r[(i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},IdCN:function(e,t,n){"use strict";var r,i,s=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw i}}),i={},o(function(){throw 42},null,r)}catch(m){m!==i&&(o=null)}else o=null;var a=/^\s*class\b/,l=function(e){try{var t=s.call(e);return a.test(t)}catch(n){return!1}},c=function(e){try{return!l(e)&&(s.call(e),!0)}catch(t){return!1}},u=Object.prototype.toString,h="function"==typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),p=function(){return!1};if("object"==typeof document){var f=document.all;u.call(f)===u.call(document.all)&&(p=function(e){if((d||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(n){}return!1})}e.exports=o?function(e){if(p(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,r)}catch(t){if(t!==i)return!1}return!l(e)&&c(e)}:function(e){if(p(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(h)return c(e);if(l(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&c(e)}},Kqna:function(e,t,n){"use strict";var r=n("bD3j");if(r)try{r([],"length")}catch(i){r=null}e.exports=r},O2re:function(e,t,n){"use strict";var r=n("D3zA"),i=n("4W8N"),s=n("km3+"),o=n("az/N");e.exports=o||r.call(s,i)},"O7/Y":function(e,t,n){"use strict";var r=n("AM7I"),i=n("+a6j"),s=i([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&s(e,".prototype.")>-1?i([n]):n}},P7XM:function(e,t){e.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},PrET:function(e,t,n){"use strict";var r=n("0Ake"),i=n("cckQ"),s=n("+a6j"),o=n("cuXR");e.exports=function(e){var t=s(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},i?i(e.exports,"apply",{value:o}):e.exports.apply=o},QX98:function(e,t,n){"use strict";e.exports=EvalError},T9HO:function(e,t,n){"use strict";var r=n("P7XM"),i=n("tnIz"),s=n("hwdV").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
11126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function l(){this.init(),this._w=a,i.call(this,128,112)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function h(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0<t>>>0?1:0}r(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,l=0|this._fh,b=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,C=0|this._cl,S=0|this._dl,k=0|this._el,D=0|this._fl,x=0|this._gl,E=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var T=t[A-30],O=t[A-30+1],I=p(T,O),P=f(O,T),F=m(T=t[A-4],O=t[A-4+1]),M=g(O,T),R=t[A-32],N=t[A-32+1],L=P+t[A-14+1]|0,B=I+t[A-14]+y(L,P)|0;B=(B=B+F+y(L=L+M|0,M)|0)+R+y(L=L+N|0,N)|0,t[A]=B,t[A+1]=L}for(var V=0;V<160;V+=2){B=t[V],L=t[V+1];var z=u(n,r,i),$=u(w,_,C),j=h(n,w),U=h(w,n),H=d(a,k),q=d(k,a),W=o[V],G=o[V+1],Z=c(a,l,b),K=c(k,D,x),Y=E+q|0,Q=v+H+y(Y,E)|0;Q=(Q=(Q=Q+Z+y(Y=Y+K|0,K)|0)+W+y(Y=Y+G|0,G)|0)+B+y(Y=Y+L|0,L)|0;var J=U+$|0,X=j+z+y(J,U)|0;v=b,E=x,b=l,x=D,l=a,D=k,a=s+Q+y(k=S+Y|0,S)|0,s=i,S=C,i=r,C=_,r=n,_=w,n=Q+X+y(w=Y+J|0,Y)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+C|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+D|0,this._gl=this._gl+x|0,this._hl=this._hl+E|0,this._ah=this._ah+n+y(this._al,w)|0,this._bh=this._bh+r+y(this._bl,_)|0,this._ch=this._ch+i+y(this._cl,C)|0,this._dh=this._dh+s+y(this._dl,S)|0,this._eh=this._eh+a+y(this._el,k)|0,this._fh=this._fh+l+y(this._fl,D)|0,this._gh=this._gh+b+y(this._gl,x)|0,this._hh=this._hh+v+y(this._hl,E)|0},l.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},UVaH:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n("FpZJ");e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},VLs4:function(e,t,n){var r,i,s;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(s="function"==typeof(r=o)?r.apply(t,i):r)||(e.exports=s)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["de",[["AM","PM"],n,n],n,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","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."],n,n],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
1, {0}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","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:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GNF:[n,"F.G."],KMF:[n,"FC"],RON:[n,"L"],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[n,"K"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},WetM:function(e,t,n){"use strict";e.exports=Math.pow},Wgwc:function(e,t,n){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",i="minute",s="hour",o="day",a="week",l="month",c="quarter",u="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),s=n-i<0,o=t.clone().add(r+(s?-1:1),l);return+(-(r+(n-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:u,w:a,d:o,D:h,h:s,m:i,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",v={};v[b]=m;var w=function(e){return e instanceof k},_=function e(t,n,r){var i;if(!t)return b;if("string"==typeof t){var s=t.toLowerCase();v[s]&&(i=s),n&&(v[s]=n,i=s);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var a=t.name;v[a]=t,i=a}return!r&&i&&(b=i),i||!r&&b},C=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},S=y;S.l=_,S.i=w,S.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,c=!!S.u(t)||t,d=S.p(e),p=function(e,t){var r=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(o)},f=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(d){case u:return c?p(1,0):p(31,11);case l:return c?p(1,g):p(0,g+1);case a:var v=this.$locale().weekStart||0,w=(m<v?m+7:m)-v;return p(c?y-w:y+(6-w),g);case o:case h:return f(b+"Hours",0);case s:return f(b+"Minutes",1);case i:return f(b+"Seconds",2);case r:return f(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var a,c=S.p(e),d="set"+(this.$u?"UTC":""),p=(a={},a[o]=d+"Date",a[h]=d+"Date",a[l]=d+"Month",a[u]=d+"FullYear",a[s]=d+"Hours",a[i]=d+"Minutes",a[r]=d+"Seconds",a[n]=d+"Milliseconds",a)[c],f=c===o?this.$D+(t-this.$W):t;if(c===l||c===u){var m=this.clone().set(h,1);
1m.$d[p](f),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[S.p(e)]()},g.add=function(n,c){var h,d=this;n=Number(n);var p=S.p(c),f=function(e){var t=C(d);return S.w(t.date(t.date()+Math.round(e*n)),d)};if(p===l)return this.set(l,this.$M+n);if(p===u)return this.set(u,this.$y+n);if(p===o)return f(1);if(p===a)return f(7);var m=(h={},h[i]=e,h[s]=t,h[r]=1e3,h)[p]||1,g=this.$d.getTime()+n*m;return S.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),s=this.$H,o=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=function(e,n,i,s){return e&&(e[n]||e(t,r))||i[n].slice(0,s)},h=function(e){return S.s(s%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return a+1;case"MM":return S.s(a+1,2,"0");case"MMM":return u(n.monthsShort,a,c,3);case"MMMM":return u(c,a);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return u(n.weekdaysMin,t.$W,l,2);case"ddd":return u(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(s);case"HH":return S.s(s,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return p(s,o,!0);case"A":return p(s,o,!1);case"m":return String(o);case"mm":return S.s(o,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,h,d){var p,f=this,m=S.p(h),g=C(n),y=(g.utcOffset()-this.utcOffset())*e,b=this-g,v=function(){return S.m(f,g)};switch(m){case u:p=v()/12;break;case l:p=v();break;case c:p=v()/3;break;case a:p=(b-y)/6048e5;break;case o:p=(b-y)/864e5;break;case s:p=b/t;break;case i:p=b/e;break;case r:p=b/1e3;break;default:p=b}return d?p:S.a(p)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return v[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),D=k.prototype;return C.prototype=D,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",o],["$M",l],["$y",u],["$D",h]].forEach(function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),C.extend=function(e,t){return e.$i||(e(t,k,C),e.$i=!0),C},C.locale=_,C.isDayjs=w,C.unix=function(e){return C(1e3*e)},C.en=v[b],C.Ls=v,C.p={},C}()},YhBJ:function(e,t,n){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),n={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(e,t,r){var i=n[r];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return t.default.locale(i,null,!0),i}(n("Wgwc"))},"Z+6F":function(e,t,n){"use strict";e.exports=SyntaxError},Z9lY:function(e,t,n){"use strict";e.exports=URIError},ZLCw:function(e,t,n){"use strict";var r=n("cckQ"),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},ZZFE:function(e,t,n){"use strict";e.exports=Math.floor},aI7X:function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,s=Math.max,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},a=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},l=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.apply(t))throw new TypeError(r+t);
1for(var n,c=a(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,o(c,arguments));return Object(r)===r?r:this}return t.apply(e,o(c,arguments))},h=s(0,t.length-c.length),d=[],p=0;p<h;p++)d[p]="$"+p;if(n=Function("binder","return function ("+l(d,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n}},afKu:function(e,t,n){"use strict";e.exports=function(t){var n=t.toLowerCase(),r=e.exports[n];if(!r)throw new Error(n+" is not supported (we accept pull requests)");return new r},e.exports.sha=n("CH9F"),e.exports.sha1=n("fnjI"),e.exports.sha224=n("cqoG"),e.exports.sha256=n("olUY"),e.exports.sha384=n("uDfV"),e.exports.sha512=n("T9HO")},"az/N":function(e,t,n){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},bD3j:function(e,t,n){"use strict";e.exports=Object.getOwnPropertyDescriptor},cckQ:function(e,t,n){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(i){r=!1}e.exports=r},cibw:function(e,t,n){"use strict";var r=n("gZ/1"),i="undefined"==typeof globalThis?global:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},cqoG:function(e,t,n){"use strict";var r=n("P7XM"),i=n("olUY"),s=n("tnIz"),o=n("hwdV").Buffer,a=new Array(64);function l(){this.init(),this._w=a,s.call(this,64,56)}r(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},cuXR:function(e,t,n){"use strict";var r=n("D3zA"),i=n("4W8N"),s=n("O2re");e.exports=function(){return s(r,i,arguments)}},dPvw:function(e,t,n){"use strict";var r=n("hwdV").Buffer,i=n("/aUQ"),s=n("5Dpc"),o=ArrayBuffer.isView||function(e){try{return s(e),!0}catch(t){return!1}},a="undefined"!=typeof Uint8Array,l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,c=l&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);e.exports=function(e,t){if(r.isBuffer(e))return e.constructor&&!("isBuffer"in e)?r.from(e):e;if("string"==typeof e)return r.from(e,t);if(l&&o(e)){if(0===e.byteLength)return r.alloc(0);if(c){var n=r.from(e.buffer,e.byteOffset,e.byteLength);if(n.byteLength===e.byteLength)return n}var s=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),u=r.from(s);if(u.length===e.byteLength)return u}if(a&&e instanceof Uint8Array)return r.from(e);var h=i(e);if(h)for(var d=0;d<e.length;d+=1){var p=e[d];if("number"!=typeof p||p<0||p>255||~~p!==p)throw new RangeError("Array items must be numbers in the range 0-255.")}if(h||r.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return r.from(e);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},eZIG:function(e,t,n){"use strict";var r=n("cckQ"),i=n("Z+6F"),s=n("DSU0"),o=n("Kqna");e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!o&&o(e,t);
1if(r)r(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===a&&h?h.enumerable:!a,value:n,writable:null===l&&h?h.writable:!l});else{if(!u&&(a||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},evrj:function(e,t,n){var r=n("m4GZ");e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(n){return r(t)}}},fnjI:function(e,t,n){"use strict";var r=n("P7XM"),i=n("tnIz"),s=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var p=0;p<80;++p){var f=~~(p/20),m=c(r)+h(f,i,s,a)+l+n[p]+o[f]|0;l=a,a=s,s=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},"gZ/1":function(e,t,n){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},gzrF:function(e,t,n){"use strict";var r=n("8uGy"),i=n("F7zN"),s=n("w+BW");e.exports=r?function(e){return r(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:s?function(e){return s(e)}:null},hwdV:function(e,t,n){var r=n("tjlA"),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(s(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},jENR:function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},jKBE:function(e,t,n){"use strict";var r=n("jENR");e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},"kVK+":function(e,t){t.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,h=n?i-1:0,d=n?-1:1,p=e[t+h];for(h+=d,s=p&(1<<-u)-1,p>>=-u,u+=a;u>0;s=256*s+e[t+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=r;u>0;o=256*o+e[t+h],h+=d,u-=8);if(0===s)s=1-c;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),s-=c}return(p?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var o,a,l,c=8*s-i-1,u=(1<<c)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:s-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(t*l-1)*Math.pow(2,i),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&a,p+=f,a/=256,i-=8);for(o=o<<i|a,c+=i;c>0;e[n+p]=255&o,p+=f,o/=256,c-=8);e[n+p-f]|=128*m}},"km3+":function(e,t,n){"use strict";e.exports=Function.prototype.call},lnE3:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,s=n("D3zA");e.exports=s.call(r,i)},m4GZ:function(e,t){function n(e){this.message=e}(n.prototype=new Error).name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,s=0,o=0,a="";i=t.charAt(o++);~i&&(r=s%4?64*r+i:i,s++%4)?a+=String.fromCharCode(255&r>>(-2*s&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=".indexOf(i);return a}},olUY:function(e,t,n){"use strict";var r=n("P7XM"),i=n("tnIz"),s=n("hwdV").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function h(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,f=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)n[y]=e.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((t=n[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[y-7]+p(n[y-15])+n[y-16];for(var b=0;b<64;++b){var v=g+d(l)+c(l,f,m)+o[b]+n[b]|0,w=h(r)+u(r,i,s)|0;g=m,m=f,f=l,l=a+v|0,a=s,s=i,i=r,r=v+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0,this._f=f+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},ooQL:function(e,t,n){"use strict";e.exports=Object},pkW7:function(e,t,n){"use strict";e.exports=Error},qnrZ:function(e,t,n){var r,i,s;!function(o){if("object"==typeof e.exports){var a=o(0,t);void 0!==a&&(e.exports=a)}else i=[n,t],void 0===(s="function"==typeof(r=o)?r.apply(t,i):r)||(e.exports=s)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],n,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],n,["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"]]]})},qyuN:function(e,t,n){"use strict";e.exports=Math.min},tjlA:function(e,t,n){"use strict";var r=n("H7XF"),i=n("kVK+"),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|f(e,t),r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(V(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer))return d(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return d(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return a.from(r,t,n);var i=function(e){if(a.isBuffer(e)){var t=0|p(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||z(e.length)?o(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');
vendor: 5,424 bytes, line 1
1if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),o(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function d(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,a.prototype),r}function p(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function f(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return L(e).length;default:if(i)return r?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return E(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),z(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var s,o=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(s=n;s<a;s++)if(c(e,s)===c(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===l)return u*o}else-1!==u&&(s-=s-u),u=-1}else for(n+l>a&&(n=a-l),s=n;s>=0;s--){for(var h=!0,d=0;d<l;d++)if(c(e,s+d)!==c(t,d)){h=!1;break}if(h)return s}return-1}function v(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(z(a))return o;e[n+o]=a}return o}function w(e,t,n,r){return B(N(t,e.length-n),e,n,r)}function _(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return B(L(t),e,n,r)}function S(e,t,n,r){return B(function(e,t){for(var n,r,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return r.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s,o,a,l,c=e[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(s=e[i+1]))&&(l=(31&c)<<6|63&s)>127&&(u=l);break;case 3:o=e[i+2],128==(192&(s=e[i+1]))&&128==(192&o)&&(l=(15&c)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+2],a=e[i+3],128==(192&(s=e[i+1]))&&128==(192&o)&&128==(192&a)&&(l=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(r.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=t;s<n;++s)i+=$[e[s]];return i}function T(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length-1;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,s){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}
vendor: 11,963 bytes, line 1
1function F(e,t,n,r,s){return t=+t,n>>>=0,s||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,s){return t=+t,n>>>=0,s||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,(a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(n){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)}(e,t,n)},a.allocUnsafe=function(e){return u(e)},a.allocUnsafeSlow=function(e){return u(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(V(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),V(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var s=e[n];if(V(s,Uint8Array))i+s.length>r.length?a.from(s).copy(r,i):Uint8Array.prototype.set.call(r,s,i);else{if(!a.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i)}i+=s.length}return r},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toLocaleString=a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?D(this,0,e):m.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,i){if(V(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),l=Math.min(s,o),c=this.slice(r,i),u=e.slice(t,n),h=0;h<l;++h)if(c[h]!==u[h]){s=c[h],o=u[h];break}return s<o?-1:o<s?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},a.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},a.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var s=0,o=1,a=0;for(this[t]=255&e;++s<n&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var s;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s<n;++s)this[s]=e;else{var o=a.isBuffer(e)?e:a.from(e,r),l=o.length;
1if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=o[s%l]}return this};var R=/[^+/0-9A-Za-z-_]/g;function N(e,t){var n;t=t||1/0;for(var r=e.length,i=null,s=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function L(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function V(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function z(e){return e!=e}var $=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,r=0;r<16;++r)e[n+r]="0123456789abcdef"[t]+"0123456789abcdef"[r];return e}()},tnIz:function(e,t,n){"use strict";var r=n("hwdV").Buffer,i=n("dPvw");function s(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}s.prototype.update=function(e,t){e=i(e,t||"utf8");for(var n=this._block,r=this._blockSize,s=e.length,o=this._len,a=0;a<s;){for(var l=o%r,c=Math.min(s-a,r-l),u=0;u<c;u++)n[l+u]=e[a+u];a+=c,(o+=c)%r==0&&this._update(n)}return this._len+=s,this},s.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0;this._block.writeUInt32BE((n-r)/4294967296,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},s.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=s},uDfV:function(e,t,n){"use strict";var r=n("P7XM"),i=n("T9HO"),s=n("tnIz"),o=n("hwdV").Buffer,a=new Array(160);function l(){this.init(),this._w=a,s.call(this,128,112)}r(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},"w+BW":function(e,t,n){"use strict";var r,i=n("+a6j"),s=n("Kqna");try{r=[].__proto__===Array.prototype}catch(c){if(!c||"object"!=typeof c||!("code"in c)||"ERR_PROTO_ACCESS"!==c.code)throw c}var o=!!r&&s&&s(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;e.exports=o&&"function"==typeof o.get?i([o.get]):"function"==typeof l&&function(e){return l(null==e?e:a(e))}},w65a:function(e,t,n){"use strict";e.exports=Math.round},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let i=!1;const s={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function o(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(s.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:i,_unsubscribe:s,_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;e<n.length;++e)n[e].remove(this);
vendor: 12,987 bytes, line 1
1if(r(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(a){t=a instanceof u?d(a.errors):[a]}}if(l(o)){let e=-1,n=o.length;for(;++e<n;){const n=o[e];if(c(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof u?t=t.concat(d(a.errors)):t.push(a)}}}if(t)throw new u(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.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 m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,i){let s;super(),this._parentSubscriber=e;let o=this;r(t)?s=t:t&&(s=t.next,n=t.error,i=t.complete,t!==a&&(o=Object.create(t),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.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}=s;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);s.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(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(e){return e}let b=(()=>{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:r}=this,i=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(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=v(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[g](){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=v(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function v(e){if(e||(e=s.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 _ 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 C extends f{constructor(e){super(e),this.destination=e}}let S=(()=>{class e extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(e){const t=new k(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,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new _(this,e))}asObservable(){const e=new b;return e.source=this,e}}return e.create=(e,t)=>new k(e,t),e})();class k extends S{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 D(e){return e&&"function"==typeof e.schedule}function x(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 E(e,t))}}class E{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new A(e,this.project,this.thisArg))}}class A 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 T=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const I=O(),P=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function F(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const M=e=>{if(e&&"function"==typeof e[g])return r=e,e=>{const t=r[g]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return T(e);if(F(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[I])return t=e,e=>{const n=t[I]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),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,r};function R(e,t){return new b(n=>{const r=new h;let i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function N(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[g]}(e))return function(e,t){return new b(n=>{const r=new h;return r.add(t.schedule(()=>{const i=e[g]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(F(e))return function(e,t){return new b(n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(P(e))return R(e,t);if(function(e){return e&&"function"==typeof e[I]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[I](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof b?e:new b(M(e))}class L 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 B extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function V(e,t){if(t.closed)return;if(e instanceof b)return e.subscribe(t);let n;try{n=M(e)(t)}catch(r){t.error(r)}return n}function z(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(z((n,r)=>N(e(n,r)).pipe(x((e,i)=>t(n,e,r,i))),n)):("number"==typeof t&&(n=t),t=>t.lift(new $(e,n)))}class ${constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new j(e,this.project,this.concurrent))}}class j extends B{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new L(this),n=this.destination;n.add(t);const r=V(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e=Number.POSITIVE_INFINITY){return z(y,e)}function H(e,t){return t?R(e,t):new b(T(e))}function q(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return D(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof b?e[0]:U(t)(H(e,n))}function W(){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 r=new Z(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}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;
1if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class K extends b{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 Q(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return W()(this)}}const Y=(()=>{const e=K.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 Q extends C{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 J(e,t){return function(n){let r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new X(r,t));const i=Object.create(n,Y);return i.source=n,i.subjectFactory=r,i}}class X{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i}}function ee(){return new S}function te(){return e=>W()(J(ee)(e))}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function re(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).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 se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const oe=ne({__forward_ref__:ne});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return ie(this())},e}function le(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(oe)&&e.__forward_ref__===ae}function ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function he(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function pe(e){return fe(e,ge)||fe(e,be)}function fe(e,t){return e.hasOwnProperty(t)?e[t]:null}function me(e){return e&&(e.hasOwnProperty(ye)||e.hasOwnProperty(ve))?e[ye]:null}const ge=ne({"\u0275prov":ne}),ye=ne({"\u0275inj":ne}),be=ne({ngInjectableDef:ne}),ve=ne({ngInjectorDef:ne});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 _e;function Ce(e){const t=_e;return _e=e,t}function Se(e,t,n){const r=pe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&we.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ie(e)}]`)}function ke(e){return{toString:e}.toString()}var De=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),xe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Ee="undefined"!=typeof globalThis&&globalThis,Ae="undefined"!=typeof window&&window,Te="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Oe="undefined"!=typeof global&&global,Ie=Ee||Oe||Ae||Te,Pe={},Fe=[],Me=ne({"\u0275cmp":ne}),Re=ne({"\u0275dir":ne}),Ne=ne({"\u0275pipe":ne}),Le=ne({"\u0275mod":ne}),Be=ne({"\u0275loc":ne}),Ve=ne({"\u0275fac":ne}),ze=ne({__NG_ELEMENT_ID__:ne});let $e=0;function je(e){return ke(()=>{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===De.OnPush,directiveDefs:null,pipeDefs:null,
vendor: 4,083 bytes, line 1
1selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||xe.Emulated,id:"c",styles:e.styles||Fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,s=e.pipes;return n.id+=$e++,n.inputs=Ge(e.inputs,t),n.outputs=Ge(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ue):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(He):null,n})}function Ue(e){return Ye(e)||function(e){return e[Re]||null}(e)}function He(e){return function(e){return e[Ne]||null}(e)}const qe={};function We(e){const t={type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ke(()=>{qe[e.id]=e.type}),t}function Ge(e,t){if(null==e)return Pe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const Ze=je;function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ye(e){return e[Me]||null}function Qe(e,t){const n=e[Le]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function Je(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xe(e){return Array.isArray(e)&&!0===e[1]}function et(e){return 0!=(8&e.flags)}function tt(e){return 2==(2&e.flags)}function nt(e){return 1==(1&e.flags)}function rt(e){return null!==e.template}function it(e,t){return e.hasOwnProperty(Ve)?e[Ve]:null}class st extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function ot(e){return"string"==typeof e?e:null==e?"":String(e)}function at(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ot(e)}function lt(e,t){const n=t?` in ${t}`:"";throw new st("201",`No provider for ${at(e)} found${n}`)}class ct{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ut(){return ht}function ht(e){return e.type.prototype.ngOnChanges&&(e.setInput=pt),dt}function dt(){const e=ft(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Pe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function pt(e,t,n,r){const i=ft(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Pe,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new ct(l&&l.currentValue,t,o===Pe),e[r]=t}function ft(e){return e.__ngSimpleChanges__||null}let mt;function gt(){return void 0!==mt?mt:"undefined"!=typeof document?document:void 0}function yt(e){return!!e.listen}ut.ngInherit=!0;const bt={createRenderer:(e,t)=>gt()};function vt(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return vt(t[e])}function _t(e,t){return vt(t[e.index])}function Ct(e,t){return e.data[t]}function St(e,t){return e[t]}function kt(e,t){const n=t[e];return Je(n)?n:n[0]}function Dt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function xt(e){return 4==(4&e[2])}function Et(e){return 128==(128&e[2])}function At(e,t){return null==t?null:e[t]}function Tt(e){e[18]=0}function Ot(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const It={lFrame:sn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Pt(){return It.bindingsEnabled}function Ft(){return It.lFrame.lView}function Mt(){return It.lFrame.tView}function Rt(e){It.lFrame.contextLView=e}function Nt(){let e=Lt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Lt(){return It.lFrame.currentTNode}function Bt(){const e=It.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vt(e,t){const n=It.lFrame;n.currentTNode=e,n.isParent=t}function zt(){return It.lFrame.isParent}function $t(){It.lFrame.isParent=!1}
vendor: 3,247 bytes, line 1
1function jt(){return It.isInCheckNoChangesMode}function Ut(e){It.isInCheckNoChangesMode=e}function Ht(){const e=It.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qt(){return It.lFrame.bindingIndex}function Wt(){return It.lFrame.bindingIndex++}function Gt(e){const t=It.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zt(e){It.lFrame.inI18n=e}function Kt(e,t){const n=It.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yt(t)}function Yt(e){It.lFrame.currentDirectiveIndex=e}function Qt(e){const t=It.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Jt(){return It.lFrame.currentQueryIndex}function Xt(e){It.lFrame.currentQueryIndex=e}function en(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function tn(e,t,n){if(n&we.SkipSelf){let r=t,i=e;for(;r=r.parent,!(null!==r||n&we.Host||(r=en(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}const r=It.lFrame=rn();return r.currentTNode=t,r.lView=e,!0}function nn(e){const t=rn(),n=e[1];It.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rn(){const e=It.lFrame,t=null===e?null:e.child;return null===t?sn(e):t}function sn(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 on(){const e=It.lFrame;return It.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const an=on;function ln(){const e=on();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 cn(){return It.lFrame.selectedIndex}function un(e){It.lFrame.selectedIndex=e}function hn(){const e=It.lFrame;return Ct(e.tView,e.selectedIndex)}function dn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),o&&((e.viewHooks||(e.viewHooks=[])).push(n,o),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,o)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function pn(e,t,n){gn(e,t,3,n)}function fn(e,t,n,r){(3&e[2])===n&&gn(e,t,n,r)}function mn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function gn(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let o=0;for(let a=void 0!==r?65535&e[18]:0;a<s;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(yn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function yn(e,t,n,r){const i=n[r]<0,s=n[r+1],o=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(o)):s.call(o)}class bn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}
vendor: 4,111 bytes, line 1
1function vn(e,t,n){const r=yt(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];_n(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),i++}}return i}function wn(e){return 3===e||4===e||6===e}function _n(e){return 64===e.charCodeAt(0)}function Cn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Sn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Sn(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function kn(e){return-1!==e}function Dn(e){return 32767&e}function xn(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let En=!0;function An(e){const t=En;return En=e,t}let Tn=0;function On(e,t){const n=Pn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,In(r.data,e),In(t,null),In(r.blueprint,null));const i=Fn(e,t),s=e.injectorIndex;if(kn(i)){const e=Dn(i),n=xn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[s+i]=n[e+i]|r[e+i]}return t[s+8]=i,s}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(r=2===t?e.declTNode:1===t?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Mn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ze)&&(r=n[ze]),null==r&&(r=n[ze]=Tn++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Rn(e,t,n){if(n&we.Optional)return e;lt(t,"NodeInjector")}function Nn(e,t,n,r){if(n&we.Optional&&void 0===r&&(r=null),0==(n&(we.Self|we.Host))){const i=e[9],s=Ce(void 0);try{return i?i.get(t,r,n&we.Optional):Se(t,r,n&we.Optional)}finally{Ce(s)}}return Rn(r,t,n)}function Ln(e,t,n,r=we.Default,i){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ze)?e[ze]:void 0;return"number"==typeof t?t>=0?255&t:Vn:t}(n);if("function"==typeof s){if(!tn(t,e,r))return r&we.Host?Rn(i,n,r):Nn(t,n,r,i);try{const e=s();if(null!=e||r&we.Optional)return e;lt(n)}finally{an()}}else if("number"==typeof s){let i=null,o=Pn(e,t),a=-1,l=r&we.Host?t[16][6]:null;for((-1===o||r&we.SkipSelf)&&(a=-1===o?Fn(e,t):t[o+8],-1!==a&&Hn(r,!1)?(i=t[1],o=Dn(a),t=xn(a,t)):o=-1);-1!==o;){const e=t[1];if(Un(s,o,e.data)){const e=zn(o,t,n,i,r,l);if(e!==Bn)return e}a=t[o+8],-1!==a&&Hn(r,t[1].data[o+8]===l)&&Un(s,o,t)?(i=e,o=Dn(a),t=xn(a,t)):o=-1}}}return Nn(t,n,r,i)}const Bn={};function Vn(){return new qn(Nt(),Ft())}function zn(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],l=$n(a,o,n,null==r?tt(a)&&En:r!=o&&0!=(3&a.type),i&we.Host&&s===a);return null!==l?jn(t,o,l,a):Bn}function $n(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=s>>20,u=i?a+c:e.directiveEnd;for(let h=r?a:a+c;h<u;h++){const e=o[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(i){const e=o[l];if(e&&rt(e)&&e.type===n)return l}return null}function jn(e,t,n,r){let i=e[n];const s=t.data;if(i instanceof bn){const o=i;o.resolving&&function(e,t){throw new st("200",`Circular dependency in DI detected for ${e}`)}(at(s[n]));const a=An(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ce(o.injectImpl):null;tn(e,r,we.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const r=ht(t);
1(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&Ce(l),An(a),o.resolving=!1,an()}}return i}function Un(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Hn(e,t){return!(e&we.Self||e&we.Host&&t)}class qn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Ln(this._tNode,this._lView,e,void 0,t)}}function Wn(e){const t=e;if(ce(e))return()=>{const e=Wn(le(t));return e?e():null};let n=it(t);if(null===n){const e=me(t);n=e&&e.factory}return n||null}function Gn(e){return ke(()=>{const t=e.prototype.constructor,n=t[Ve]||Wn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[Ve]||Wn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Zn(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const i=n[r];if(wn(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(i===t)return n[r+1];r+=2}}}return null}(Nt(),e)}function Kn(e,t,n){return ke(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Yn{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}`}}const Qn=new Yn("AnalyzeForEntryComponents"),Jn=Function;function Xn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Xn(r,t)):t!==e&&t.push(r)}return t}function er(e,t){e.forEach(e=>Array.isArray(e)?er(e,t):t(e))}function tr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function nr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ir(e,t,n){let r=or(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function sr(e,t){const n=or(e,t);if(n>=0)return e[1|n]}function or(e,t){return function(e,t,n){let r=0,i=e.length>>1;for(;i!==r;){const n=r+(i-r>>1),s=e[n<<1];if(t===s)return n<<1;s>t?i=n:r=n+1}return~(i<<1)}(e,t)}const ar={},lr=/\n/gm,cr=ne({provide:String,useValue:ne});let ur;function hr(e){const t=ur;return ur=e,t}function dr(e,t=we.Default){if(void 0===ur)throw new Error("inject() must be called from an injection context");return null===ur?Se(e,void 0,t):ur.get(e,t&we.Optional?null:void 0,t)}function pr(e,t=we.Default){return(_e||dr)(le(e),t)}function fr(e){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e,n=we.Default;for(let t=0;t<r.length;t++){const i=r[t],s=i.__NG_DI_FLAG__;"number"==typeof s?-1===s?e=i.token:n|=s:e=i}t.push(pr(e,n))}else t.push(pr(r))}return t}function mr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}const gr=mr(Kn("Inject",e=>({token:e})),-1),yr=mr(Kn("Optional"),8),br=mr(Kn("SkipSelf"),4);let vr,wr;function _r(e){var t;return(null===(t=function(){if(void 0===vr&&(vr=null,Ie.trustedTypes))try{vr=Ie.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return vr}())||void 0===t?void 0:t.createHTML(e))||e}function Cr(){if(void 0===wr&&(wr=null,Ie.trustedTypes))try{wr=Ie.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return wr}function Sr(e){var t;return(null===(t=Cr())||void 0===t?void 0:t.createHTML(e))||e}function kr(e){var t;return(null===(t=Cr())||void 0===t?void 0:t.createScriptURL(e))||e}class Dr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class xr extends Dr{getTypeName(){return"HTML"}}class Er extends Dr{getTypeName(){return"Style"}}
vendor: 6,162 bytes, line 1
1class Ar extends Dr{getTypeName(){return"Script"}}class Tr extends Dr{getTypeName(){return"URL"}}class Or extends Dr{getTypeName(){return"ResourceURL"}}function Ir(e){return e instanceof Dr?e.changingThisBreaksApplicationSecurity:e}function Pr(e,t){const n=Fr(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}function Fr(e){return e instanceof Dr&&e.getTypeName()||null}function Mr(e){const t=new Nr(e);return function(){try{return!!(new window.DOMParser).parseFromString(_r(""),"text/html")}catch(e){return!1}}()?new Rr(t):t}class Rr{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(_r(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Nr{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=_r(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=_r(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Lr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Br=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Vr(e){return(e=String(e)).match(Lr)||e.match(Br)?e:"unsafe:"+e}function zr(e){return(e=String(e)).split(",").map(e=>Vr(e.trim())).join(", ")}function $r(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function jr(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ur=$r("area,br,col,hr,img,wbr"),Hr=$r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qr=$r("rp,rt"),Wr=jr(qr,Hr),Gr=jr(Ur,jr(Hr,$r("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")),jr(qr,$r("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")),Wr),Zr=$r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kr=$r("srcset"),Yr=jr(Zr,Kr,$r("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"),$r("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")),Qr=$r("script,style,template");class Jr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Gr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Qr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,i=t.toLowerCase();if(!Yr.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let s=e.value;Zr[i]&&(s=Vr(s)),Kr[i]&&(s=zr(s)),this.buf.push(" ",t,'="',ti(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Gr.hasOwnProperty(t)&&!Ur.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ti(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Xr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ei=/([^\#-~ |!])/g;function ti(e){return e.replace(/&/g,"&amp;").replace(Xr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ei,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ni;function ri(e,t){let n=null;try{ni=ni||Mr(e);let r=t?String(t):"";n=ni.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=ni.getInertBodyElement(r)}while(r!==s);return _r((new Jr).sanitizeChildren(ii(n)||n))}finally{if(n){const e=ii(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}
vendor: 4,271 bytes, line 1
1function ii(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var si=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 oi(e){const t=ci();return t?Sr(t.sanitize(si.HTML,e)||""):Pr(e,"HTML")?Sr(Ir(e)):ri(gt(),ot(e))}function ai(e){const t=ci();return t?t.sanitize(si.URL,e)||"":Pr(e,"URL")?Ir(e):Vr(ot(e))}function li(e){const t=ci();if(t)return kr(t.sanitize(si.RESOURCE_URL,e)||"");if(Pr(e,"ResourceURL"))return kr(Ir(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function ci(){const e=Ft();return e&&e[12]}function ui(e){return e.ngDebugContext}function hi(e){return e.ngOriginalError}function di(e,...t){e.error(...t)}class pi{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||di}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?ui(e)?ui(e):this._findContext(hi(e)):null}_findOriginalError(e){let t=hi(e);for(;t&&hi(t);)t=hi(t);return t}}const fi=/^>|^->|<!--|-->|--!>|<!-$/g,mi=/(<|>)/;function gi(e,t){e.__ngContext__=t}const yi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ie))();function bi(e){return e instanceof Function?e():e}var vi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let wi;function _i(e,t){return wi(e,t)}function Ci(e){const t=e[3];return Xe(t)?t[3]:t}function Si(e){return Di(e[13])}function ki(e){return Di(e[4])}function Di(e){for(;null!==e&&!Xe(e);)e=e[4];return e}function xi(e,t,n,r,i){if(null!=r){let s,o=!1;Xe(r)?s=r:Je(r)&&(o=!0,r=r[0]);const a=vt(r);0===e&&null!==n?null==i?Bi(t,n,a):Li(t,n,a,i||null,!0):1===e&&null!==n?Li(t,n,a,i||null,!0):2===e?Ki(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,r,i){const s=n[7];s!==vt(n)&&xi(t,e,r,s,i);for(let o=10;o<n.length;o++){const i=n[o];Qi(i[1],i,e,t,r,s)}}(t,e,s,n,i)}}function Ei(e,t){return yt(e)?e.createText(t):e.createTextNode(t)}function Ai(e,t,n){yt(e)?e.setValue(t,n):t.textContent=n}function Ti(e,t){return e.createComment(function(e){return e.replace(fi,e=>e.replace(mi,"\u200b$1\u200b"))}(t))}function Oi(e,t,n){return yt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Ii(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Ot(i,-1)),n.splice(r,1)}function Pi(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Ii(s,r),t>0&&(e[n-1][4]=r[4]);const o=nr(e,10+t);Qi(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Fi(e,t){if(!(256&t[2])){const n=t[11];yt(n)&&n.destroyNode&&Qi(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Mi(e[1],e);for(;t;){let n=null;if(Je(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Je(t)&&Mi(t[1],t),t=t[3];null===t&&(t=e),Je(t)&&Mi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Mi(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 r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof bn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const e=n[s+1],o="function"==typeof e?e(t):vt(t[e]),a=r[i=n[s+2]],l=n[s+3];"boolean"==typeof l?o.removeEventListener(n[s],a,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const e=r[i=n[s+1]];n[s].call(e)}if(null!==r){for(let e=i+1;e<r.length;e++)(0,r[e])();t[7]=null}}(e,t),1===t[1].type&&yt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Xe(t[3])){n!==t[3]&&Ii(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Ri(e,t,n){return Ni(e,t.parent,n)}function Ni(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const t=e.data[r.directiveStart].encapsulation;if(t===xe.None||t===xe.Emulated)return null}return _t(r,n)}
1function Li(e,t,n,r,i){yt(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Bi(e,t,n){yt(e)?e.appendChild(t,n):t.appendChild(n)}function Vi(e,t,n,r,i){null!==r?Li(e,t,n,r,i):Bi(e,t,n)}function zi(e,t){return yt(e)?e.parentNode(t):t.parentNode}function $i(e,t,n){return Hi(e,t,n)}function ji(e,t,n){return 40&e.type?_t(e,n):null}let Ui,Hi=ji;function qi(e,t){Hi=e,Ui=t}function Wi(e,t,n,r){const i=Ri(e,r,t),s=t[11],o=$i(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Vi(s,i,n[a],o,!1);else Vi(s,i,n,o,!1);void 0!==Ui&&Ui(s,r,t,n,i)}function Gi(e,t){if(null!==t){const n=t.type;if(3&n)return _t(t,e);if(4&n)return Zi(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Gi(e,n);{const n=e[t.index];return Xe(n)?Zi(-1,n):vt(n)}}if(32&n)return _i(t,e)()||vt(e[t.index]);{const n=e[16],r=n[6],i=Ci(n),s=r.projection[t.projection];return null!=s?Gi(i,s):Gi(e,t.next)}}return null}function Zi(e,t){const n=10+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return Gi(e,r)}return t[7]}function Ki(e,t,n){const r=zi(e,t);r&&function(e,t,n,r){yt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Yi(e,t,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;if(o&&0===t&&(a&&gi(vt(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Yi(e,t,n.child,r,i,s,!1),xi(t,e,i,a,s);else if(32&l){const o=_i(n,r);let l;for(;l=o();)xi(t,e,i,l,s);xi(t,e,i,a,s)}else 16&l?Ji(e,t,r,n,i,s):xi(t,e,i,a,s);n=o?n.projectionNext:n.next}}function Qi(e,t,n,r,i,s){Yi(n,r,e.firstChild,t,i,s,!1)}function Ji(e,t,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)xi(t,e,i,a[l],s);else Yi(e,t,a,o[3],i,s,!0)}function Xi(e,t,n){yt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}
vendor: 19,156 bytes, line 1
1function es(e,t,n){yt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ts(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}function ns(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==ts(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function rs(e){return 4===e.type&&"ng-template"!==e.value}function is(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function ss(e,t,n){let r=4;const i=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++)if(wn(e[t]))return t;return e.length}(i);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!is(e,l,n)||""===l&&1===t.length){if(os(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!ns(e.attrs,c,n)){if(os(r))return!1;o=!0}continue}const u=as(8&r?"class":l,i,rs(e),n);if(-1===u){if(os(r))return!1;o=!0;continue}if(""!==c){let e;e=u>s?"":i[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==ts(t,c,0)||2&r&&c!==e){if(os(r))return!1;o=!0}}}}else{if(!o&&!os(r)&&!os(l))return!1;if(o&&os(l))continue;o=!1,r=l|1&r}}return os(r)||o}function os(e){return 0==(1&e)}function as(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ls(e,t,n=!1){for(let r=0;r<t.length;r++)if(ss(e,t[r],n))return!0;return!1}function cs(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function us(e,t){return e?":not("+t.trim()+")":t}function hs(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];i+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||os(o)||(t+=us(s,i),i=""),r=o,s=s||!os(r);n++}return""!==i&&(t+=us(s,i)),t}const ds={};function ps(e){fs(Mt(),Ft(),cn()+e,jt())}function fs(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&pn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&fn(t,r,0,n)}un(n)}function ms(e,t){return e<<17|t<<2}function gs(e){return e>>17&32767}function ys(e){return 2|e}function bs(e){return(131068&e)>>2}function vs(e,t){return-131069&e|t<<2}function ws(e){return 1|e}function _s(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=e.data[s];Xt(i),n.contentQueries(2,t[s],s)}}}function Cs(e,t,n,r,i,s,o,a,l,c){const u=t.blueprint.slice();return u[0]=i,u[2]=140|r,Tt(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=s,u[16]=2==t.type?e[16]:u,u}function Ss(e,t,n,r,i){let s=e.data[t];if(null===s)s=ks(e,t,n,r,i),It.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const e=Bt();s.injectorIndex=null===e?-1:e.injectorIndex}return Vt(s,!0),s}function ks(e,t,n,r,i){const s=Lt(),o=zt(),a=e.data[t]=function(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}function Ds(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function xs(e,t,n){nn(t);try{const r=e.viewQuery;null!==r&&ro(1,r,n);const i=e.template;null!==i&&Ts(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_s(e,t),e.staticViewQueries&&ro(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Js(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,ln()}}function Es(e,t,n,r){const i=t[2];if(256==(256&i))return;nn(t);const s=jt();try{Tt(t),It.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Ts(e,t,n,2,r);const o=3==(3&i);if(!s)if(o){const n=e.preOrderCheckHooks;null!==n&&pn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&fn(t,n,0,null),mn(t,0)}if(function(e){for(let t=Si(e);null!==t;t=ki(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Ot(r,1),n[2]|=1024}}}(t),function(e){for(let t=Si(e);null!==t;t=ki(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];Et(n)&&Es(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&_s(e,t),!s)if(o){const n=e.contentCheckHooks;null!==n&&pn(t,n)}else{const n=e.contentHooks;null!==n&&fn(t,n,1),mn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)un(~r);else{const i=r,s=n[++e],o=n[++e];Kt(s,i),o(2,t[i])}}}finally{un(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Ys(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&ro(2,l,r),!s)if(o){const n=e.viewCheckHooks;null!==n&&pn(t,n)}else{const n=e.viewHooks;null!==n&&fn(t,n,2),mn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ot(t[3],-1))}finally{ln()}}function As(e,t,n,r){const i=t[10],s=!jt(),o=xt(t);try{s&&!o&&i.begin&&i.begin(),o&&xs(e,t,r),Es(e,t,n,r)}finally{s&&!o&&i.end&&i.end()}}function Ts(e,t,n,r,i){const s=cn();try{un(-1),2&r&&t.length>20&&fs(e,t,20,jt()),n(r,i)}finally{un(s)}}function Os(e,t,n){if(et(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}function Is(e,t,n){Pt()&&(function(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||On(n,t),gi(r,t);const o=n.initialInputs;for(let a=i;a<s;a++){const r=e.data[a],s=rt(r);s&&qs(t,n,r);const l=jn(t,e,a,n);gi(l,t),null!==o&&Gs(0,a-i,l,r,0,o),s&&(kt(n.index,t)[8]=l)}}(e,t,n,_t(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=It.lFrame.currentDirectiveIndex;try{un(s);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Yt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||zs(r,i)}}finally{un(-1),Yt(o)}}(e,t,n))}function Ps(e,t,n=_t){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(t,e):e[o];e[i++]=a}}}function Fs(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ms(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ms(e,t,n,r,i,s,o,a,l,c){const u=20+r,h=u+i,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ds);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Rs(e,t,n,r){const i=so(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&oo(e).push(r,i.length-1))}function Ns(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ls(e,t,n,r,i,s,o,a){const l=_t(t,n);let c,u=t.inputs;var h;!a&&null!=u&&(c=u[r])?(lo(e,n,c,r,i),tt(t)&&function(e,t){const n=kt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,t.value||"",r):i,yt(s)?s.setProperty(l,r,i):_n(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Bs(e,t,n,r){let i=!1;if(Pt()){const s=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];ls(n,o.selectors,!1)&&(i||(i=[]),Mn(On(n,t),e,o.type),rt(o)?($s(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Us(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,l=Ds(e,t,s.length,null);for(let i=0;i<s.length;i++){const c=s[i];n.mergedAttrs=Cn(n.mergedAttrs,c.hostAttrs),Hs(e,n,t,l,c),js(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,s=[];let o=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,c=null===i||rs(t)?null:Zs(n,i);s.push(c),o=Ns(n,l,o),a=Ns(e.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=o,t.outputs=a}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new st("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,o)}return n.mergedAttrs=Cn(n.mergedAttrs,n.attrs),i}function Vs(e,t,n,r,i,s){const o=s.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const s=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,i,o)}}function zs(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $s(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function js(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;rt(t)&&(n[""]=e)}}function Us(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Hs(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=it(i.type)),o=new bn(s,rt(i),null);e.blueprint[r]=o,n[r]=o,Vs(e,t,0,r,Ds(e,n,i.hostVars,ds),i)}function qs(e,t,n){const r=_t(t,e),i=Fs(n),s=e[10],o=Xs(e,Cs(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=o}function Ws(e,t,n,r,i,s,o){if(null==s)yt(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const a=null==o?ot(s):o(s,r||"",i);yt(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}function Gs(e,t,n,r,i,s){const o=s[t];if(null!==o){const e=r.setInput;for(let t=0;t<o.length;){const i=o[t++],s=o[t++],a=o[t++];null!==e?r.setInput(n,a,i,s):n[s]=a}}}function Zs(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ks(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Ys(e,t){const n=kt(t,e);if(Et(n)){const e=n[1];80&n[2]?Es(e,n,e.template,n[8]):n[5]>0&&Qs(n)}}function Qs(e){for(let n=Si(e);null!==n;n=ki(n))for(let e=10;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];Es(e,t,e.template,t[8])}else t[5]>0&&Qs(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=kt(t[n],e);Et(r)&&r[5]>0&&Qs(r)}}function Js(e,t){const n=kt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),xs(r,n,n[8])}function Xs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function eo(e){for(;e;){e[2]|=64;const t=Ci(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function to(e,t,n){const r=t[10];r.begin&&r.begin();try{Es(e,t,e.template,n)}catch(i){throw ao(t,i),i}finally{r.end&&r.end()}}function no(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Dt(n),i=r[1];As(i,r,i.template,n)}}(e[8])}function ro(e,t,n){Xt(0),t(e,n)}const io=(()=>Promise.resolve(null))();function so(e){return e[7]||(e[7]=[])}function oo(e){return e.cleanup||(e.cleanup=[])}function ao(e,t){const n=e[9],r=n?n.get(pi,null):null;r&&r.handleError(t)}function lo(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=t[o],c=e.data[o];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function co(e,t,n){const r=wt(t,e);Ai(e[11],r,n)}function uo(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const e=t[o];"number"==typeof e?s=e:1==s?i=se(i,e):2==s&&(r=se(r,e+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const ho=new Yn("INJECTOR",-1);class po{get(e,t=ar){if(t===ar){const t=new Error(`NullInjectorError: No provider for ${ie(e)}!`);throw t.name="NullInjectorError",t}return t}}const fo=new Yn("Set Injector scope."),mo={},go={},yo=[];let bo;function vo(){return void 0===bo&&(bo=new po),bo}function wo(e,t=null,n=null,r){return new _o(e,n,t||vo(),r)}class _o{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&er(t,n=>this.processProvider(n,e,t)),er([e],e=>this.processInjectorType(e,[],i)),this.records.set(ho,ko(void 0,this));const s=this.records.get(fo);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:ie(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=ar,n=we.Default){this.assertNotDestroyed();const r=hr(this);try{if(!(n&we.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Yn)&&pe(e);t=n&&this.injectableDefInScope(n)?ko(Co(e),mo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&we.Self?vo():this.parent).get(e,t=n&we.Optional&&t===ar?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ie(e)),r)throw s;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ie(t);if(Array.isArray(t))i=t.map(ie).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ie(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(lr,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{hr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ie(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=le(e)))return!1;let r=me(e);const i=null==r&&e.ngModule||void 0,s=void 0===i?e:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=me(i)),null==r)return!1;if(null!=r.imports&&!o){let e;n.push(s);try{er(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];er(r,e=>this.processProvider(e,n,r||yo))}}this.injectorDefTypes.add(s),this.records.set(s,ko(r.factory,mo));const a=r.providers;if(null!=a&&!o){const t=e;er(a,e=>this.processProvider(e,t,a))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=xo(e=le(e))?e:le(e&&e.provide);const i=function(e,t,n){return Do(e)?ko(void 0,e.useValue):ko(So(e),mo)}(e);if(xo(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=ko(void 0,mo,!0),t.factory=()=>fr(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===mo&&(t.value=go,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 Co(e){const t=pe(e),n=null!==t?t.factory:it(e);if(null!==n)return n;const r=me(e);if(null!==r)return r.factory;if(e instanceof Yn)throw new Error(`Token ${ie(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=rr(t,"?");throw new Error(`Can't resolve all parameters for ${ie(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ge]||e[be]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function So(e,t,n){let r;if(xo(e)){const t=le(e);return it(t)||Co(t)}if(Do(e))r=()=>le(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...fr(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>pr(le(e.useExisting));else{const t=le(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return it(t)||Co(t);r=()=>new t(...fr(e.deps))}var i;return r}function ko(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Do(e){return null!==e&&"object"==typeof e&&cr in e}function xo(e){return"function"==typeof e}const Eo=function(e,t,n){return function(e,t=null,n=null,r){const i=wo(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let Ao=(()=>{class e{static create(e,t){return Array.isArray(e)?Eo(e,t,""):Eo(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ar,e.NULL=new po,e.\u0275prov=he({token:e,providedIn:"any",factory:()=>pr(ho)}),e.__NG_ELEMENT_ID__=-1,e})();function To(e,t){dn(Dt(e)[1],Nt())}function Oo(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let i;if(rt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;
vendor: 11,559 bytes, line 1
1t.inputs=Io(e.inputs),t.declaredInputs=Io(e.declaredInputs),t.outputs=Io(e.outputs);const n=i.hostBindings;n&&Mo(e,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Po(e,s),o&&Fo(e,o),re(e.inputs,i.inputs),re(e.declaredInputs,i.declaredInputs),re(e.outputs,i.outputs),rt(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Oo&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Cn(i.hostAttrs,n=Cn(n,i.hostAttrs))}}(r)}function Io(e){return e===Pe?{}:e===Fe?[]:e}function Po(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Fo(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Mo(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}let Ro=null;function No(){if(!Ro){const e=Ie.Symbol;if(e&&e.iterator)Ro=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ro=n)}}}return Ro}class Lo{constructor(e){this.wrapped=e}static wrap(e){return new Lo(e)}static unwrap(e){return Lo.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Lo}}function Bo(e){return!!Vo(e)&&(Array.isArray(e)||!(e instanceof Map)&&No()in e)}function Vo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zo(e,t,n){return e[t]=n}function $o(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function jo(e,t,n,r){const i=$o(e,t,n);return $o(e,t+1,r)||i}function Uo(e,t,n,r,i){const s=jo(e,t,n,r);return $o(e,t+2,i)||s}function Ho(e,t,n,r,i,s){const o=jo(e,t,n,r);return jo(e,t+2,i,s)||o}function qo(e,t,n,r){const i=Ft();return $o(i,Wt(),t)&&(Mt(),function(e,t,n,r,i,s){const o=_t(e,t);Ws(t[11],o,s,e.value,n,r,i)}(hn(),i,e,t,n,r)),qo}function Wo(e,t,n,r){return $o(e,Wt(),n)?t+ot(n)+r:ds}function Go(e,t,n,r,i,s,o,a){const l=Ft(),c=Mt(),u=e+20,h=c.firstCreatePass?function(e,t,n,r,i,s,o,a,l){const c=t.consts,u=Ss(t,e,4,o||null,At(c,a));Bs(t,n,u,At(c,l)),dn(t,u);const h=u.tViews=Ms(2,u,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,i,s,o):c.data[u];Vt(h,!1);const d=l[11].createComment("");Wi(c,l,d,h),gi(d,l),Xs(l,l[u]=Ks(d,l,d,h)),nt(h)&&Is(c,l,h),null!=o&&Ps(l,h,a)}function Zo(e){return St(It.lFrame.contextLView,20+e)}function Ko(e,t=we.Default){const n=Ft();return null===n?pr(e,t):Ln(Nt(),n,le(e),t)}function Yo(e,t,n){const r=Ft();return $o(r,Wt(),t)&&Ls(Mt(),hn(),r,e,t,r[11],n,!1),Yo}function Qo(e,t,n,r,i){const s=i?"class":"style";lo(e,n,t.inputs[s],s,r)}function Jo(e,t,n,r){const i=Ft(),s=Mt(),o=20+e,a=i[11],l=i[o]=Oi(a,t,It.lFrame.currentNamespace),c=s.firstCreatePass?function(e,t,n,r,i,s,o){const a=t.consts,l=Ss(t,e,2,i,At(a,s));return Bs(t,n,l,At(a,o)),null!==l.attrs&&uo(l,l.attrs,!1),null!==l.mergedAttrs&&uo(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,s,i,0,t,n,r):s.data[o];Vt(c,!0);const u=c.mergedAttrs;null!==u&&vn(a,l,u);const h=c.classes;null!==h&&es(a,l,h);const d=c.styles;null!==d&&Xi(a,l,d),64!=(64&c.flags)&&Wi(s,i,l,c),0===It.lFrame.elementDepthCount&&gi(l,i),It.lFrame.elementDepthCount++,nt(c)&&(Is(s,i,c),Os(s,c,i)),null!==r&&Ps(i,c)}function Xo(){let e=Nt();zt()?$t():(e=e.parent,Vt(e,!1));const t=e;It.lFrame.elementDepthCount--;const n=Mt();n.firstCreatePass&&(dn(n,e),et(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Qo(n,t,Ft(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Qo(n,t,Ft(),t.stylesWithoutHost,!1)}function ea(e,t,n,r){Jo(e,t,n,r),Xo()}function ta(e,t,n){const r=Ft(),i=Mt(),s=e+20,o=i.firstCreatePass?function(e,t,n,r,i){const s=t.consts,o=At(s,r),a=Ss(t,e,8,"ng-container",o);return null!==o&&uo(a,o,!0),Bs(t,n,a,At(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];Vt(o,!0);const a=r[s]=r[11].createComment("");Wi(i,r,a,o),gi(a,r),nt(o)&&(Is(i,r,o),Os(i,o,r)),null!=n&&Ps(r,o)}function na(){let e=Nt();const t=Mt();zt()?$t():(e=e.parent,Vt(e,!1)),t.firstCreatePass&&(dn(t,e),et(e)&&t.queries.elementEnd(e))}function ra(){return Ft()}function ia(e){return!!e&&"function"==typeof e.then}function sa(e){return!!e&&"function"==typeof e.subscribe}const oa=sa;function aa(e,t,n=!1,r){const i=Ft(),s=Mt(),o=Nt();return function(e,t,n,r,i,s,o=!1,a){const l=nt(r),c=e.firstCreatePass&&oo(e),u=so(t);let h=!0;if(3&r.type){const d=_t(r,t),p=a?a(d):Pe,f=p.target||d,m=u.length,g=a?e=>a(vt(e[r.index])).target:r.index;if(yt(n)){let o=null;if(!a&&l&&(o=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const e=i[s];if(e===n&&i[s+1]===r){const e=t[7],n=i[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=ca(r,t,s,!1);const e=n.listen(p.name||f,i,s);u.push(s,e),c&&c.push(i,g,m,m+1)}}else s=ca(r,t,s,!0),f.addEventListener(i,s,o),u.push(s),c&&c.push(i,g,m,o)}else s=ca(r,t,s,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[i])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(s),o=u.length;u.push(s,e),c&&c.push(i,r.index,o,-(o+1))}}}(s,i,i[11],o,e,t,n,r),aa}function la(e,t,n){try{return!1!==t(n)}catch(r){return ao(e,r),!1}}function ca(e,t,n,r){return function i(s){if(s===Function)return n;const o=2&e.flags?kt(e.index,t):t;0==(32&t[2])&&eo(o);let a=la(t,n,s),l=i.__ngNextListenerFn__;for(;l;)a=la(t,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function ua(e=1){return function(e){return(It.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,It.lFrame.contextLView))[8]}(e)}function ha(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?ls(e,s,!0):cs(r,s))return i}else n=i}return n}function da(e){const t=Ft()[16][6];if(!t.projection){const n=t.projection=rr(e?e.length:1,null),r=n.slice();let i=t.child;for(;null!==i;){const t=e?ha(i,e):0;null!==t&&(r[t]?r[t].projectionNext=i:n[t]=i,r[t]=i),i=i.next}}}function pa(e,t=0,n){const r=Ft(),i=Mt(),s=Ss(i,20+e,16,null,n||null);null===s.projection&&(s.projection=t),$t(),64!=(64&s.flags)&&function(e,t,n){Ji(t[11],0,t,n,Ri(e,n,t),$i(n.parent||t[6],n,t))}(i,r,s)}function fa(e,t,n){return ma(e,"",t,"",n),fa}function ma(e,t,n,r,i){const s=Ft(),o=Wo(s,t,n,r);return o!==ds&&Ls(Mt(),hn(),s,e,o,s[11],i,!1),ma}const ga=[];function ya(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?gs(s):bs(s),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a+1];ba(e[a],t)&&(l=!0,e[a+1]=r?ws(n):ys(n)),a=r?gs(n):bs(n)}l&&(e[n+1]=r?ys(s):ws(s))}function ba(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&or(e,t)>=0}const va={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wa(e){return e.substring(va.key,va.keyEnd)}function _a(e,t){const n=va.textEnd;return n===t?-1:(t=va.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,va.key=t,n),Ca(e,t,n))}function Ca(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Sa(e,t,n){return Ea(e,t,n,!1),Sa}function ka(e,t){return Ea(e,t,null,!0),ka}function Da(e){!function(e,t,n,r){const i=Mt(),s=Gt(2);i.firstUpdatePass&&Ta(i,null,s,true);const o=Ft();if(n!==ds&&$o(o,s,n)){const r=i.data[cn()];if(Ra(r,true)&&!Aa(i,s)){let e=r.classesWithoutHost;null!==e&&(n=se(e,n||"")),Qo(i,r,o,n,true)}else!function(e,t,n,r,i,s,o,a){i===ds&&(i=ga);let l=0,c=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const o=l<i.length?i[l+1]:void 0,d=c<s.length?s[c+1]:void 0;let p,f=null;u===h?(l+=2,c+=2,o!==d&&(f=h,p=d)):null===h||null!==u&&u<h?(l+=2,f=u):(c+=2,f=h,p=d),null!==f&&Pa(e,t,n,r,f,p,true,a),u=l<i.length?i[l]:null,h=c<s.length?s[c]:null}}(i,r,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return ga;const r=[],i=Ir(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),0,s)}}(ir,xa,e)}function xa(e,t){for(let n=function(e){return function(e){va.key=0,va.keyEnd=0,va.value=0,va.valueEnd=0,va.textEnd=e.length}(e),_a(e,Ca(e,0,va.textEnd))}(t);n>=0;n=_a(t,n))ir(e,wa(t),!0)}function Ea(e,t,n,r){const i=Ft(),s=Mt(),o=Gt(2);s.firstUpdatePass&&Ta(s,e,o,r),t!==ds&&$o(i,o,t)&&Pa(s,s.data[cn()],i,i[11],e,i[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Ir(e)))),e}(t,n),r,o)}function Aa(e,t){return t>=e.expandoStartIndex}function Ta(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[cn()],o=Aa(e,n);Ra(s,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const i=Qt(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ia(n=Oa(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Oa(i,e,t,n,r),null===s){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==bs(r))return e[gs(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=Oa(null,e,t,n[1],r),n=Ia(n,t.attrs,r),function(e,t,n,r){e[gs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,n))}else s=function(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=Ia(r,e[s].hostAttrs,n);return Ia(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,a=gs(o),l=bs(o);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||or(e,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const t=gs(e[a+1]);e[r+1]=ms(t,a),0!==t&&(e[t+1]=vs(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=ms(a,0),0!==a&&(e[a+1]=vs(e[a+1],r)),a=r;else e[r+1]=ms(l,0),0===a?a=r:e[l+1]=vs(e[l+1],r),l=r;u&&(e[r+1]=ys(e[r+1])),ya(e,c,r,!0),ya(e,c,r,!1),function(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&or(s,t)>=0&&(n[r+1]=ws(n[r+1]))}(t,c,e,r,s),o=ms(a,l),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Oa(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],r=Ia(r,s.hostAttrs,i),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ia(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ir(e,o,!!n||t[++s]))}return void 0===e?null:e}function Pa(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];Ma(1==(1&c)?Fa(l,t,n,i,bs(c),o):void 0)||(Ma(s)||2==(2&c)&&(s=Fa(l,null,n,i,a,o)),function(e,t,n,r,i){const s=yt(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let t=-1===r.indexOf("-")?void 0:vi.DashCase;if(null==i)s?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),t|=vi.Important),s?e.setStyle(n,r,i,t):n.style.setProperty(r,i,o?"important":"")}}}(r,o,wt(cn(),n),i,s))}function Fa(e,t,n,r,i,s){const o=null===t;let a;for(;i>0;){const t=e[i],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[i+1];u===ds&&(u=c?ga:void 0);let h=c?sr(u,r):l===r?u:void 0;
1if(s&&!Ma(h)&&(h=sr(t,r)),Ma(h)&&(a=h,o))return a;const d=e[i+1];i=o?gs(d):bs(d)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=sr(e,r))}return a}function Ma(e){return void 0!==e}function Ra(e,t){return 0!=(e.flags&(t?16:32))}function Na(e,t=""){const n=Ft(),r=Mt(),i=e+20,s=r.firstCreatePass?Ss(r,i,1,t,null):r.data[i],o=n[i]=Ei(n[11],t);Wi(r,n,o,s),Vt(s,!1)}function La(e){return Ba("",e,""),La}function Ba(e,t,n){const r=Ft(),i=Wo(r,e,t,n);return i!==ds&&co(r,cn(),i),Ba}function Va(e,t,n,r,i){const s=Ft(),o=function(e,t,n,r,i,s){const o=jo(e,qt(),n,i);return Gt(2),o?t+ot(n)+r+ot(i)+s:ds}(s,e,t,n,r,i);return o!==ds&&co(s,cn(),o),Va}function za(e,t,n,r,i,s,o){const a=Ft(),l=function(e,t,n,r,i,s,o,a){const l=Uo(e,qt(),n,i,o);return Gt(3),l?t+ot(n)+r+ot(i)+s+ot(o)+a:ds}(a,e,t,n,r,i,s,o);return l!==ds&&co(a,cn(),l),za}function $a(e,t,n,r,i,s,o,a,l){const c=Ft(),u=function(e,t,n,r,i,s,o,a,l,c){const u=Ho(e,qt(),n,i,o,l);return Gt(4),u?t+ot(n)+r+ot(i)+s+ot(o)+a+ot(l)+c:ds}(c,e,t,n,r,i,s,o,a,l);return u!==ds&&co(c,cn(),u),$a}function ja(e,t,n){const r=Ft();return $o(r,Wt(),t)&&Ls(Mt(),hn(),r,e,t,r[11],n,!0),ja}function Ua(e,t,n){const r=Ft();if($o(r,Wt(),t)){const i=Mt(),s=hn();Ls(i,s,r,e,t,function(e,t,n){return(null===e||rt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}(Qt(i.data),s,r),n,!0)}return Ua}const Ha=void 0;var qa=["en",[["a","p"],["AM","PM"],Ha],[["AM","PM"],Ha,Ha],[["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"]],Ha,[["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"]],Ha,[["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}",Ha,"{1} 'at' {0}",Ha],[".",",",";","%","+","-","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 Wa={};function Ga(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ka(t);if(n)return n;const r=t.split("-")[0];if(n=Ka(r),n)return n;if("en"===r)return qa;throw new Error(`Missing locale data for the locale "${e}".`)}function Za(e){return Ga(e)[Ya.PluralCase]}function Ka(e){return e in Wa||(Wa[e]=Ie.ng&&Ie.ng.common&&Ie.ng.common.locales&&Ie.ng.common.locales[e]),Wa[e]}var Ya=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 Qa=["zero","one","two","few","many"],Ja={marker:"element"},Xa={marker:"ICU"};var el=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let tl="en-US";function nl(e){var t;null==(t=e)&&ue("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(tl=e.toLowerCase().replace(/_/g,"-"))}function rl(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?ji(e,0,n):vt(n[i])}function il(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=r,a=null;if(3&t.type||(a=o,o=i),null!==o&&0==(2&t.flags))for(let t=1;t<s.length;t++)Li(e,o,n[s[t]],a,!1)}}function sl(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];
1ol(r)||al(r,t)&&null===ll(r)&&cl(r,t.index)}}function ol(e){return!(64&e.type)}function al(e,t){return ol(t)||e.index>t.index}function ll(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function cl(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(qi(rl,il),e.insertBeforeIndex=t)}function ul(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function hl(e,t,n){const r=ks(e,n,64,null,null);return sl(t,r),r}function dl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let pl=0,fl=0;function ml(e,t,n,r){const i=n[11];let s,o=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(n[e]=Ei(i,l))}else if("number"==typeof l)switch(1&l){case 0:const c=l>>>17;let u,h;if(null===o&&(o=c,s=zi(i,r)),c===o?(u=r,h=s):(u=null,h=vt(n[c])),null!==h){const t=(131070&l)>>>1;Li(i,h,n[t],u,!1);const r=ul(e,t);if(null!==r&&"object"==typeof r){const t=dl(r,n);null!==t&&ml(e,r.create[t],n,n[r.anchorIdx])}}break;case 1:const d=t[++a],p=t[++a];Ws(i,wt(l>>>1,n),null,null,d,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case Xa:const e=t[++a],r=t[++a];null===n[r]&&gi(n[r]=Ti(i,e),n);break;case Ja:const s=t[++a],o=t[++a];null===n[o]&&gi(n[o]=Oi(i,s,null),n)}}}function gl(e,t,n,r,i){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&i){let i="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=ot(t[r-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];"string"==typeof c?Ws(t[11],t[a],null,c,s,i,l):Ls(e,c,t,s,i,t[11],l,!1);break;case 0:const u=t[a];null!==u&&Ai(t[11],u,i);break;case 2:bl(e,ul(e,a),t,i);break;case 3:yl(e,ul(e,a),r,t)}}}}else{const i=n[s+1];if(i>0&&3==(3&i)){const n=ul(e,i>>>2);t[n.currentCaseLViewIndex]<0&&yl(e,n,r,t)}}s+=a}}function yl(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=pl;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),gl(e,r,t.update[i],n,s)}}function bl(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=Za(t)(parseInt(e,10)),r=Qa[n];return void 0!==r?r:"other"}(t,tl);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(dl(t,n)!==i&&(vl(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[t.anchorIdx];r&&ml(e,t.create[i],n,r)}}function vl(e,t,n){let r=dl(t,n);if(null!==r){const i=t.remove[r];for(let t=0;t<i.length;t++){const r=i[t];if(r>0){const e=wt(r,n);null!==e&&Ki(n[11],e)}else vl(e,ul(e,~r),n)}}}const wl=/\ufffd(\d+):?\d*\ufffd/gi,_l=/\ufffd(\d+)\ufffd/,Cl=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Sl=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,kl=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Dl=/\uE500/g;function xl(e,t,n,r,i,s,o){const a=Ds(e,r,1,null);let l=a<<el.SHIFT,c=Bt();t===c&&(c=null),null===c&&(l|=el.APPEND_EAGERLY),o&&(l|=el.COMMENT,void 0===wi&&(wi=function(){const e=[];let t,n,r=-1;function i(e,t){r=0;const i=dl(e,t);n=null!==i?e.remove[i]:Fe}function s(){if(r<n.length){const o=n[r++];return o>0?t[o]:(e.push(r,n),i(t[1].data[~o],t),s())}return 0===e.length?null:(n=e.pop(),r=e.pop(),s())}return function(n,r){for(t=r;e.length;)e.pop();return i(n.value,r),s}}())),i.push(l,null===s?"":s);const u=ks(e,a,o?32:1,null===s?"":s,null);sl(n,u);const h=u.index;return Vt(u,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;var r;null===n?(qi(rl,il),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(r=Array.isArray(n))!=!0&&ue("Expecting array here",r,true,"=="),n.push(t))}(c,h),u}function El(e,t,n,r,i,s,o){const a=o.match(wl),l=xl(e,t,n,s,r,a?null:o,!1);a&&Al(i,o,l.index)}function Al(e,t,n,r,i=null){const s=e.length,o=s+1;e.push(null,null);const a=s+2,l=t.split(wl);let c=0;for(let u=0;u<l.length;u++){const t=l[u];if(1&u){const n=parseInt(t,10);e.push(-1-n),c|=Tl(n)}else""!==t&&e.push(t)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=c,e[o]=e.length-a,c}function Tl(e){return 1<<Math.min(e,31)}function Ol(e){let t,n,r="",i=0,s=!1;for(;null!==(t=Sl.exec(e));)s?t[0]===`\ufffd/*${n}\ufffd`&&(i=t.index,s=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],s=!0);return r+=e.substr(i),r}function Il(e,t,n,r,i,s){let o=0;const a={type:i.type,currentCaseLViewIndex:Ds(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Tl(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,s),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,s,a);const l=i.values;for(let c=0;c<l.length;c++){const s=l[c],u=[];for(let e=0;e<s.length;e++){const t=s[e];if("string"!=typeof t){const n=u.push(t)-1;s[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=Ml(e,a,t,n,r,i.cases[c],s.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,s)}function Pl(e){const t=[],n=[];let r=1,i=0;const s=Fl(e=e.replace(Cl,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}));for(let o=0;o<s.length;){let e=s[o++].trim();1===r&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const i=Fl(s[o++]);t.length>n.length&&n.push(i)}return{type:r,mainBinding:i,cases:t,values:n}}function Fl(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const i=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,i);
1Cl.test(n)?r.push(Pl(n)):r.push(n),t=i+1}}else{if(0==n.length){const n=e.substring(t,i);r.push(n),t=i+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function Ml(e,t,n,r,i,s,o,a){const l=[],c=[],u=[];t.cases.push(s),t.create.push(l),t.remove.push(c),t.update.push(u);const h=Mr(gt()).getInertBodyElement(o),d=ii(h)||h;return d?Rl(e,t,n,r,l,c,u,d,i,a,0):0}function Rl(e,t,n,r,i,s,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=Ds(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(Gr.hasOwnProperty(f)){Bl(i,Ja,f,l,a),e.data[a]=f;const m=p.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();t.value.match(wl)?Yr.hasOwnProperty(n)&&(Zr[n]?Al(o,t.value,a,t.name,Vr):Kr[n]?Al(o,t.value,a,t.name,zr):Al(o,t.value,a,t.name)):Vl(i,a,t)}h=Rl(e,t,n,r,i,s,o,d,a,c,u+1)|h,Nl(s,a,u)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(wl);Bl(i,null,g?"":m,l,a),Nl(s,a,u),g&&(h=Al(o,m,a)|h);break;case Node.COMMENT_NODE:const y=_l.exec(d.textContent||"");if(y){const t=c[parseInt(y[1],10)];Bl(i,Xa,"",l,a),Il(e,n,r,l,t,a),Ll(s,a,u)}}d=d.nextSibling}return h}function Nl(e,t,n){0===n&&e.push(t)}function Ll(e,t,n){0===n&&(e.push(~t),e.push(t))}function Bl(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,0|r<<17|i<<1)}function Vl(e,t,n){e.push(t<<1|1,n.name,n.value)}function zl(e,t,n){(function(e,t,n=-1){const r=Mt(),i=Ft(),s=20+e,o=At(r.consts,t),a=Bt();r.firstCreatePass&&function(e,t,n,r,i,s){const o=Bt(),a=[],l=[],c=[[]],u=(h=i=function(e,t){if(function(e){return-1===e}(t))return Ol(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Ol(e.substring(n,r))}}(i,s),h.replace(Dl," ")).split(kl);var h;for(let d=0;d<u.length;d++){let r=u[d];if(0==(1&d)){const s=Fl(r);for(let r=0;r<s.length;r++){let u=s[r];if(0==(1&r)){const t=u;""!==t&&El(e,o,c[0],a,l,n,t)}else{const r=u;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);Il(e,n,l,t,r,xl(e,o,c[0],n,a,"",!0).index)}}}else{const t=47===r.charCodeAt(0),n=(r.charCodeAt(t?1:0),20+Number.parseInt(r.substring(t?2:1)));if(t)c.shift(),Vt(Bt(),!1);else{const t=hl(e,c[0],n);c.unshift([]),Vt(t,!0)}}}e.data[r]={create:a,update:l}}(r,null===a?0:a.index,i,s,o,n);const l=r.data[s],c=Ni(r,a===i[6]?null:a,i);!function(e,t,n,r){const i=e[11];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],l=(o&el.COMMENT)===el.COMMENT,c=(o&el.APPEND_EAGERLY)===el.APPEND_EAGERLY,u=o>>>el.SHIFT;let h=e[u];null===h&&(h=e[u]=l?i.createComment(a):Ei(i,a)),c&&null!==n&&Li(i,n,h,r,!1)}}(i,l.create,c,a&&8&a.type?i[a.index]:null),Zt(!0)})(e,t,n),Zt(!1)}function $l(e){return $o(Ft(),Wt(),e)&&(pl|=1<<Math.min(fl,31)),fl++,$l}function jl(e,t,n,r,i){if(e=le(e),Array.isArray(e))for(let s=0;s<e.length;s++)jl(e[s],t,n,r,i);else{const s=Mt(),o=Ft();let a=xo(e)?e:le(e.provide),l=So(e);const c=Nt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(xo(e)||!e.multi){const r=new bn(l,i,Ko),p=ql(a,t,i?u:u+d,h);-1===p?(Mn(On(c,o),s,a),Ul(s,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=ql(a,t,u+d,h),f=ql(a,t,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){Mn(On(c,o),s,a);const u=function(e,t,n,r,i){const s=new bn(e,n,Ko);return s.multi=[],s.index=t,s.componentProviders=0,Hl(s,i,r&&!n),s}(i?Gl:Wl,n.length,i,r,l);!i&&g&&(n[f].providerFactory=u),Ul(s,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Ul(s,e,p>-1?p:f,Hl(n[i?f:p],l,!i&&r));!i&&r&&g&&n[f].componentProviders++}}}function Ul(e,t,n,r){const i=xo(t);if(i||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[r,s]):o[e+1].push(r,s)}else o.push(n,s)}}}function Hl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ql(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Wl(e,t,n,r){return Zl(this.multi,[])}function Gl(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=jn(n,n[1],this.providerFactory.index,r);s=t.slice(0,e),Zl(i,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],Zl(i,s);return s}function Zl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kl(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Mt();if(r.firstCreatePass){const i=rt(e);jl(n,r.data,r.blueprint,i,!0),jl(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}class Yl{}class Ql{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);
vendor: 13,659 bytes, line 1
1return t.ngComponent=e,t}(e)}}let Jl=(()=>{class e{}return e.NULL=new Ql,e})();function Xl(...e){}function ec(e,t){return new nc(_t(e,t))}const tc=function(){return ec(Nt(),Ft())};let nc=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=tc,e})();function rc(e){return e instanceof nc?e.nativeElement:e}class ic{}let sc=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>oc(),e})();const oc=function(){const e=Ft(),t=kt(Nt().index,e);return function(e){return e[11]}(Je(t)?t:e)};let ac=(()=>{class e{}return e.\u0275prov=he({token:e,providedIn:"root",factory:()=>null}),e})();class lc{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const cc=new lc("11.1.2");class uc{constructor(){}supports(e){return Bo(e)}create(e){return new dc(e)}}const hc=(e,t)=>t;class dc{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||hc}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const s=!n||t&&t.currentIndex<gc(n,r,i)?t:n,o=gc(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{i||(i=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;t<=s&&s<e&&(i[n]=r+1)}i[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Bo(e))throw new Error(`Error trying to diff '${ie(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),s=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[No()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),s=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;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,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new pc(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new mc),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 mc),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 pc{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 fc{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 mc{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new fc,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 gc(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class yc{constructor(){}supports(e){return e instanceof Map||Vo(e)}create(){return new bc}}class bc{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Vo(e)))throw new Error(`Error trying to diff '${ie(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vc(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 vc{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 wc(){return new _c([new uc])}let _c=(()=>{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||wc()),deps:[[e,new br,new yr]]}}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:wc}),e})();function Cc(){return new Sc([new yc])}let Sc=(()=>{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||Cc()),deps:[[e,new br,new yr]]}}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:Cc}),e})();function kc(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(vt(s)),Xe(s))for(let e=10;e<s.length;e++){const t=s[e],n=t[1].firstChild;null!==n&&kc(t[1],t,n,r)}const o=n.type;if(8&o)kc(e,t,n.child,r);else if(32&o){const e=_i(n,t);let i;for(;i=e();)r.push(i)}else if(16&o){const e=t[16],i=e[6].projection[n.projection];if(Array.isArray(i))r.push(...i);else{const t=Ci(e);kc(t[1],t,i,r,!0)}}n=i?n.projectionNext:n.next}return r}class Dc{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return kc(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Xe(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Pi(e,n),nr(t,n))}this._attachedToViewContainer=!1}Fi(this._lView[1],this._lView)}onDestroy(e){Rs(this._lView[1],this._lView,null,e)}markForCheck(){eo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){to(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Ut(!0);try{to(e,t,n)}finally{Ut(!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,Qi(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 Vie
1wContainer!");this._appRef=e}}class xc extends Dc{constructor(e){super(e),this._view=e}detectChanges(){no(this._view)}checkNoChanges(){!function(e){Ut(!0);try{no(e)}finally{Ut(!1)}}(this._view)}get context(){return null}}const Ec=Tc;let Ac=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ec,e.__ChangeDetectorRef__=!0,e})();function Tc(e=!1){return function(e,t,n){if(!n&&tt(e)){const n=kt(e.index,t);return new Dc(n,n)}return 47&e.type?new Dc(t[16],t):null}(Nt(),Ft(),e)}const Oc=[new yc],Ic=new _c([new uc]),Pc=new Sc(Oc),Fc=function(){return Lc(Nt(),Ft())};let Mc=(()=>{class e{}return e.__NG_ELEMENT_ID__=Fc,e})();const Rc=Mc,Nc=class extends Rc{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Cs(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),xs(t,n,e),new Dc(n)}};function Lc(e,t){return 4&e.type?new Nc(t,e,ec(e,t)):null}class Bc{}class Vc{}const zc=function(){return Wc(Nt(),Ft())};let $c=(()=>{class e{}return e.__NG_ELEMENT_ID__=zc,e})();const jc=$c,Uc=class extends jc{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return ec(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){const e=Fn(this._hostTNode,this._hostLView);if(kn(e)){const t=xn(e,this._hostLView),n=Dn(e);return new qn(t[1].data[n+8],t)}return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Hc(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const s=n||this.parentInjector;if(!i&&null==e.ngModule&&s){const e=s.get(Bc,null);e&&(i=e)}const o=e.create(s,r,void 0,i);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(Xe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Uc(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],tr(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,s,i);const o=Zi(i,s),a=n[11],l=zi(a,s[7]);return null!==l&&function(e,t,n,r,i,s){r[0]=i,r[6]=t,Qi(e,r,n,1,i,s)}(r,s[6],a,n,l,o),e.attachToViewContainerRef(),tr(qc(s),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Hc(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Pi(this._lContainer,t);n&&(nr(qc(this._lContainer),t),Fi(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Pi(this._lContainer,t);return n&&null!=nr(qc(this._lContainer),t)?new Dc(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Hc(e){return e[8]}function qc(e){return e[8]||(e[8]=[])}function Wc(e,t){let n;const r=t[e.index];if(Xe(r))n=r;else{let i;if(8&e.type)i=vt(r);else{const n=t[11];i=n.createComment("");const r=_t(e,t);Li(n,zi(n,r),i,function(e,t){return yt(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=Ks(r,t,i,e),Xs(t,n)}return new Uc(n,e,t)}const Gc={};class Zc extends Jl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ye(e);return new Qc(t,this.ngModule)}}function Kc(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Yc=new Yn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>yi});class Qc extends Yl{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(hs).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Kc(this.componentDef.inputs)}get outputs(){return Kc(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const s=e.get(n,Gc,i);return s!==Gc||r===Gc?s:t.get(n,r,i)}}}(e,r.injector):e,s=i.get(ic,bt),o=i.get(ac,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(yt(e))return e.selectRootElement(t,n===xe.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Oi(s.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:yi,clean:io,playerHandler:null,flags:0}
vendor: 5,154 bytes, line 1
1,d=Ms(0,null,null,1,0,null,null,null,null,null),p=Cs(null,d,h,u,null,null,s,a,o,i);let f,m;nn(p);try{const e=function(e,t,n,r,i,s){const o=n[1];n[20]=e;const a=Ss(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(uo(a,l,!0),null!==e&&(vn(i,e,l),null!==a.classes&&es(i,e,a.classes),null!==a.styles&&Xi(i,e,a.styles)));const c=r.createRenderer(e,t),u=Cs(n,Fs(t),null,t.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(Mn(On(a,n),o,t.type),$s(o,a),Us(a,n.length,1)),Xs(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)vn(a,c,["ng-version",cc.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!os(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&vn(a,c,e),t&&t.length>0&&es(a,c,t.join(" "))}if(m=Ct(d,20),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=function(e,t,n,r,i){const s=n[1],o=function(e,t,n){const r=Nt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Hs(e,r,t,Ds(e,t,1,null),n));const i=jn(t,e,r.directiveStart,r);gi(i,t);const s=_t(r,t);return s&&gi(s,t),i}(s,n,t);if(r.components.push(o),e[8]=o,i&&i.forEach(e=>e(o,t)),t.contentQueries){const e=Nt();t.contentQueries(1,o,e.directiveStart)}const a=Nt();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(un(a.index),Vs(n[1],a,0,a.directiveStart,a.directiveEnd,t),zs(t,o)),o}(e,this.componentDef,p,h,[To]),xs(d,p,null)}finally{ln()}return new Jc(this.componentType,f,ec(m,p),p,m)}}class Jc extends class{}{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new xc(r),this.componentType=e}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Xc=new Map;class eu extends Bc{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Zc(this);const n=Qe(e),r=e[Be]||null;r&&nl(r),this._bootstrapComponents=bi(n.bootstrap),this._r3Injector=wo(e,t,[{provide:Bc,useValue:this},{provide:Jl,useValue:this.componentFactoryResolver}],ie(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ao.THROW_IF_NOT_FOUND,n=we.Default){return e===Ao||e===Bc||e===ho?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 tu extends Vc{constructor(e){super(),this.moduleType=e,null!==Qe(e)&&function(e){const t=new Set;!function e(n){const r=Qe(n,!0),i=r.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ie(t)} vs ${ie(t.name)}`)}(i,Xc.get(i),n),Xc.set(i,n));const s=bi(r.imports);for(const o of s)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new eu(this.moduleType,e)}}function nu(e,t,n){const r=Ht()+e,i=Ft();return i[r]===ds?zo(i,r,n?t.call(n):t()):function(e,t){return e[t]}(i,r)}function ru(e,t,n,r){return lu(Ft(),Ht(),e,t,n,r)}function iu(e,t,n,r,i){return cu(Ft(),Ht(),e,t,n,r,i)}function su(e,t,n,r,i,s){return uu(Ft(),Ht(),e,t,n,r,i,s)}function ou(e,t,n,r,i,s,o){return function(e,t,n,r,i,s,o,a,l){const c=t+n;return Ho(e,c,i,s,o,a)?zo(e,c+4,l?r.call(l,i,s,o,a):r(i,s,o,a)):au(e,c+4)}(Ft(),Ht(),e,t,n,r,i,s,o)}function au(e,t){const n=e[t];return n===ds?void 0:n}function lu(e,t,n,r,i,s){const o=t+n;return $o(e,o,i)?zo(e,o+1,s?r.call(s,i):r(i)):au(e,o+1)}function cu(e,t,n,r,i,s,o){const a=t+n;return jo(e,a,i,s)?zo(e,a+2,o?r.call(o,i,s):r(i,s)):au(e,a+2)}function uu(e,t,n,r,i,s,o,a){const l=t+n;return Uo(e,l,i,s,o)?zo(e,l+3,a?r.call(a,i,s,o):r(i,s,o)):au(e,l+3)}function hu(e,t){const n=Mt();let r;const i=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new st("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=it(r.type)),o=Ce(Ko);try{const e=An(!1),t=s();return An(e),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ft(),i,t),t}finally{Ce(o)}}function du(e,t,n){const r=e+20,i=Ft(),s=St(i,r);return mu(i,fu(i,r)?lu(i,Ht(),t,s.transform,n,s):s.transform(n))}function pu(e,t,n,r){const i=e+20,s=Ft(),o=St(s,i);return mu(s,fu(s,i)?cu(s,Ht(),t,o.transform,n,r,o):o.transform(n,r))}function fu(e,t){return e[1].data[t].pure}function mu(e,t){return Lo.isWrapped(t)&&(t=Lo.unwrap(t),e[qt()]=ds),t}const gu=class extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,s=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()}
vendor: 5,160 bytes, line 1
1)):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return e instanceof h&&e.add(o),o}};function yu(){return this._results[No()]()}class bu{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=No(),n=bu.prototype;n[t]||(n[t]=yu)}get changes(){return this._changes||(this._changes=new gu)}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){this.dirty=!1;const n=Xn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class vu{constructor(e){this.queryList=e,this.matches=null}clone(){return new vu(this.queryList)}setDirty(){this.queryList.setDirty()}}class wu{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new wu(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Mu(e,t).matches&&this.queries[t].setDirty()}}class _u{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class Cu{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Cu(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Su{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Su(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,ku(t,i)),this.matchTNodeWithReadOption(e,t,$n(t,e,i,!1,!1))}else n===Mc?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,$n(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===nc||r===$c||r===Mc&&4&t.type)this.addMatch(t.index,-2);else{const n=$n(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function ku(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Du(e,t,n,r){return-1===n?function(e,t){return 11&e.type?ec(e,t):4&e.type?Lc(e,t):null}(t,e):-2===n?function(e,t,n){return n===nc?ec(t,e):n===Mc?Lc(t,e):n===$c?Wc(t,e):void 0}(e,t,r):jn(e,e[1],n,t)}function xu(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,s=n.matches,o=[];for(let e=0;e<s.length;e+=2){const i=s[e];o.push(i<0?null:Du(t,r[i],s[e+1],n.metadata.read))}i.matches=o}return i.matches}function Eu(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=xu(e,t,i,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)r.push(o[e/2]);else{const i=s[e+1],o=t[-n];for(let e=10;e<o.length;e++){const t=o[e];t[17]===t[3]&&Eu(t[1],t,i,r)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];Eu(n[1],n,i,r)}}}}}return r}function Au(e){const t=Ft(),n=Mt(),r=Jt();Xt(r+1);const i=Mu(n,r);if(e.dirty&&xt(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);
1else{const s=i.crossesNgTemplate?Eu(n,t,r,[]):xu(n,t,i,r);e.reset(s,rc),e.notifyOnChanges()}return!0}return!1}function Tu(e,t,n){const r=Mt();r.firstCreatePass&&(Fu(r,new _u(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Pu(r,Ft(),t)}function Ou(e,t,n,r){const i=Mt();if(i.firstCreatePass){const s=Nt();Fu(i,new _u(t,n,r),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Pu(i,Ft(),n)}function Iu(){return e=Ft(),t=Jt(),e[19].queries[t].queryList;var e,t}function Pu(e,t,n){const r=new bu(4==(4&n));Rs(e,t,r,r.destroy),null===t[19]&&(t[19]=new wu),t[19].queries.push(new vu(r))}function Fu(e,t,n){null===e.queries&&(e.queries=new Cu),e.queries.track(new Su(t,n))}function Mu(e,t){return e.queries.getByIndex(t)}function Ru(e,t){return Lc(e,t)}const Nu=new Yn("Application Initializer");let Lu=(()=>{class e{constructor(e){this.appInits=e,this.resolve=Xl,this.reject=Xl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();ia(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(pr(Nu,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Bu=new Yn("AppId"),Vu={provide:Bu,useFactory:function(){return`${zu()}${zu()}${zu()}`},deps:[]};function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $u=new Yn("Platform Initializer"),ju=new Yn("Platform ID"),Uu=new Yn("appBootstrapListener");let Hu=(()=>{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 qu=new Yn("LocaleId"),Wu=new Yn("DefaultCurrencyCode");class Gu{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Zu=function(e){return new tu(e)},Ku=Zu,Yu=function(e){return Promise.resolve(Zu(e))},Qu=function(e){const t=Zu(e),n=bi(Qe(e).declarations).reduce((e,t)=>{const n=Ye(t);return n&&e.push(new Qc(n)),e},[]);return new Gu(t,n)},Ju=Qu,Xu=function(e){return Promise.resolve(Qu(e))};let eh=(()=>{class e{constructor(){this.compileModuleSync=Ku,this.compileModuleAsync=Yu,this.compileModuleAndAllComponentsSync=Ju,this.compileModuleAndAllComponentsAsync=Xu}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const th=(()=>Promise.resolve(0))();function nh(e){"undefined"==typeof Zone?th.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class rh{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gu(!1),this.onMicrotaskEmpty=new gu(!1),this.onStable=new gu(!1),this.onError=new gu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&t,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Ie.requestAnimationFrame,t=Ie.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ie,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,oh(e),sh(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),oh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return ah(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),lh(e)}},onInvoke:(n,r,i,s,o,a,l)=>{try{return ah(e),n.invoke(i,s,o,a,l)}
vendor: 10,203 bytes, line 1
1finally{e.shouldCoalesceRunChangeDetection&&t(),lh(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,oh(e),sh(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rh.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(rh.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,e,ih,Xl,Xl);try{return i.runTask(s,t,n)}finally{i.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const ih={};function sh(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 oh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lh(e){e._nesting--,sh(e)}class ch{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gu,this.onMicrotaskEmpty=new gu,this.onStable=new gu,this.onError=new gu}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,r){return e.apply(t,n)}}let uh=(()=>{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:()=>{rh.assertNotInAngularZone(),nh(()=>{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())nh(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(pr(rh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),hh=(()=>{class e{constructor(){this._applications=new Map,fh.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 fh.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class dh{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let ph,fh=new dh,mh=!0,gh=!1;function yh(){return gh=!0,mh}const bh=new Yn("AllowMultipleToken");class vh{constructor(e,t){this.name=e,this.token=t}}function wh(e,t,n=[]){const r=`Platform: ${t}`,i=new Yn(r);return(t=[])=>{let s=_h();if(!s||s.injector.get(bh,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:fo,useValue:"platform"});!function(e){if(ph&&!ph.destroyed&&!ph.injector.get(bh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ph=e.get(Ch);const t=e.get($u,null);t&&t.forEach(e=>e())}(Ao.create({providers:e,name:r}))}return function(e){const t=_h();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function _h(){return ph&&!ph.destroyed?ph:null}let Ch=(()=>{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 ch:("zone.js"===e?void 0:e)||new rh({enableLongStackTrace:yh(),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}),r=[{provide:rh,useValue:n}];return n.run(()=>{const t=Ao.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(pi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});i.onDestroy(()=>{Dh(this._modules,i),e.unsubscribe()})}),function(e,t,n){try{const r=n();return ia(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,n,()=>{const e=i.injector.get(Lu);return e.runInitializers(),e.donePromise.then(()=>(nl(i.injector.get(qu,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Sh({},t);return function(e,t,n){const r=new tu(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(kh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ie(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)(pr(Ao))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Sh(e,t){return Array.isArray(t)?t.reduce(Sh,e):Object.assign(Object.assign({},e),t)}let kh=(()=>{class e{constructor(e,t,n,r,i,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,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 o=new b(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new b(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{rh.assertNotInAngularZone(),nh(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{rh.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=q(o,a.pipe(te()))}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 Yl?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Bc),i=n.create(Ao.NULL,[],t||n.selector,r),s=i.location.nativeElement,o=i.injector.get(uh,null),a=o&&i.injector.get(hh);return o&&a&&a.registerApplication(s,o),i.onDestroy(()=>{this.detachView(i.hostView),Dh(this.components,i),a&&a.unregisterApplication(s)}),this._loadComponent(i),yh()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}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;Dh(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Uu,[]).c
1oncat(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)(pr(rh),pr(Hu),pr(Ao),pr(pi),pr(Jl),pr(Lu))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Dh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class xh{}class Eh{}const Ah={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Th=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Ah}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>Oh(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>Oh(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(pr(eh),pr(Eh,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Oh(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Ih=wh(null,"core",[{provide:ju,useValue:"unknown"},{provide:Ch,deps:[Ao]},{provide:hh,deps:[]},{provide:Hu,deps:[]}]),Ph=[{provide:kh,useClass:kh,deps:[rh,Hu,Ao,pi,Jl,Lu]},{provide:Yc,deps:[rh],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Lu,useClass:Lu,deps:[[new yr,Nu]]},{provide:eh,useClass:eh,deps:[]},Vu,{provide:_c,useFactory:function(){return Ic},deps:[]},{provide:Sc,useFactory:function(){return Pc},deps:[]},{provide:qu,useFactory:function(e){return nl(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new gr(qu),new yr,new br]]},{provide:Wu,useValue:"USD"}];let Fh=(()=>{class e{constructor(e){}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(pr(kh))},providers:Ph}),e})(),Mh=null;function Rh(){return Mh}const Nh=new Yn("DocumentToken");let Lh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:Bh,token:e,providedIn:"platform"}),e})();function Bh(){return pr(zh)}const Vh=new Yn("Location Initialized");let zh=(()=>{class e extends Lh{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Rh().getLocation(),this._history=Rh().getHistory()}getBaseHrefFromDOM(){return Rh().getBaseHref(this._doc)}onPopState(e){Rh().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Rh().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){$h()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){$h()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({factory:jh,token:e,providedIn:"platform"}),e})();function $h(){return!!window.history.pushState}function jh(){return new zh(pr(Nh))}function Uh(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Hh(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function qh(e){return e&&"?"!==e[0]?"?"+e:e}let Wh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:Gh,token:e,providedIn:"root"}),e})();function Gh(e){const t=pr(Nh).location;return new Kh(pr(Lh),t&&t.origin||"")}const Zh=new Yn("appBaseHref");let Kh=(()=>{class e extends Wh{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Uh(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+qh(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+qh(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+qh(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(pr(Lh),pr(Zh,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Yh=(()=>{class e extends Wh{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Uh(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+qh(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+qh(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(pr(Lh),pr(Zh,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Qh=(()=>{class e{constructor(e,t){this._subject=new gu,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Hh(Xh(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+qh(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Xh(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qh(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qh(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(pr(Wh),pr(Lh))},e.normalizeQueryParams=qh,e.joinWithSlash=Uh,e.stripTrailingSlash=Hh,e.\u0275prov=he({factory:Jh,token:e,providedIn:"root"}),e})();function Jh(){return new Qh(pr(Wh),pr(Lh))}function Xh(e){return e.replace(/\/index.html$/,"")}const ed={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var td=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),nd=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}({}),rd=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),id=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),sd=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),od=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}({});
vendor: 18,891 bytes, line 1
1function ad(e,t,n){const r=Ga(e),i=md([r[Ya.DaysFormat],r[Ya.DaysStandalone]],t);return md(i,n)}function ld(e,t,n){const r=Ga(e),i=md([r[Ya.MonthsFormat],r[Ya.MonthsStandalone]],t);return md(i,n)}function cd(e,t){return md(Ga(e)[Ya.DateFormat],t)}function ud(e,t){return md(Ga(e)[Ya.TimeFormat],t)}function hd(e,t){return md(Ga(e)[Ya.DateTimeFormat],t)}function dd(e,t){const n=Ga(e),r=n[Ya.NumberSymbols][t];if(void 0===r){if(t===od.CurrencyDecimal)return n[Ya.NumberSymbols][od.Decimal];if(t===od.CurrencyGroup)return n[Ya.NumberSymbols][od.Group]}return r}const pd=Za;function fd(e){if(!e[Ya.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ya.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function md(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 gd(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const yd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,bd={},vd=/((?:[^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 wd=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),_d=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}({}),Cd=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 Sd(e,t,n,r){let i=function(e){if(Rd(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,r=1]=e.split("-").map(e=>+e);return new Date(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(yd))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!Rd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=kd(n,t)||t;let s,o=[];for(;t;){if(s=vd.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=i.getTimezoneOffset();r&&(a=Md(r,a),i=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Md(t,r)-r))}(i,r));let l="";return o.forEach(e=>{const t=function(e){if(Fd[e])return Fd[e];let t;switch(e){case"G":case"GG":case"GGG":t=Ad(Cd.Eras,id.Abbreviated);break;case"GGGG":t=Ad(Cd.Eras,id.Wide);break;case"GGGGG":t=Ad(Cd.Eras,id.Narrow);break;case"y":t=Ed(_d.FullYear,1,0,!1,!0);break;case"yy":t=Ed(_d.FullYear,2,0,!0,!0);break;case"yyy":t=Ed(_d.FullYear,3,0,!1,!0);break;case"yyyy":t=Ed(_d.FullYear,4,0,!1,!0);break;case"Y":t=Pd(1);break;case"YY":t=Pd(2,!0);break;case"YYY":t=Pd(3);break;case"YYYY":t=Pd(4);break;case"M":case"L":t=Ed(_d.Month,1,1);break;case"MM":case"LL":t=Ed(_d.Month,2,1);break;case"MMM":t=Ad(Cd.Months,id.Abbreviated);break;case"MMMM":t=Ad(Cd.Months,id.Wide);break;case"MMMMM":t=Ad(Cd.Months,id.Narrow);break;case"LLL":t=Ad(Cd.Months,id.Abbreviated,rd.Standalone);break;case"LLLL":t=Ad(Cd.Months,id.Wide,rd.Standalone);break;case"LLLLL":t=Ad(Cd.Months,id.Narrow,rd.Standalone);break;case"w":t=Id(1);break;case"ww":t=Id(2);break;case"W":t=Id(1,!0);break;case"d":t=Ed(_d.Date,1);break;case"dd":t=Ed(_d.Date,2);break;case"E":case"EE":case"EEE":t=Ad(Cd.Days,id.Abbreviated);break;case"EEEE":t=Ad(Cd.Days,id.Wide);break;case"EEEEE":t=Ad(Cd.Days,id.Narrow);break;case"EEEEEE":t=Ad(Cd.Days,id.Short);break;case"a":case"aa":case"aaa":t=Ad(Cd.DayPeriods,id.Abbreviated);break;case"aaaa":t=Ad(Cd.DayPeriods,id.Wide);break;case"aaaaa":t=Ad(Cd.DayPeriods,id.Narrow);break;case"b":case"bb":case"bbb":t=Ad(Cd.DayPeriods,id.Abbreviated,rd.Standalone,!0);break;case"bbbb":t=Ad(Cd.DayPeriods,id.Wide,rd.Standalone,!0);break;case"bbbbb":t=Ad(Cd.DayPeriods,id.Narrow,rd.Standalone,!0);break;case"B":case"BB":case"BBB":t=Ad(Cd.DayPeriods,id.Abbreviated,rd.Format,!0);break;case"BBBB":t=Ad(Cd.DayPeriods,id.Wide,rd.Format,!0);break;case"BBBBB":t=Ad(Cd.DayPeriods,id.Narrow,rd.Format,!0);break;case"h":t=Ed(_d.Hours,1,-12);break;case"hh":t=Ed(_d.Hours,2,-12);break;case"H":t=Ed(_d.Hours,1);break;case"HH":t=Ed(_d.Hours,2);break;case"m":t=Ed(_d.Minutes,1);break;case"mm":t=Ed(_d.Minutes,2);break;case"s":t=Ed(_d.Seconds,1);break;case"ss":t=Ed(_d.Seconds,2);break;case"S":t=Ed(_d.FractionalSeconds,1);break;case"SS":t=Ed(_d.FractionalSeconds,2);break;case"SSS":t=Ed(_d.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Td(wd.Short);break;case"ZZZZZ":t=Td(wd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Td(wd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Td(wd.Long);break;default:return null}return Fd[e]=t,t}(e);l+=t?t(i,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function kd(e,t){const n=function(e){return Ga(e)[Ya.LocaleId]}(e);if(bd[n]=bd[n]||{},bd[n][t])return bd[n][t];let r="";switch(t){case"shortDate":r=cd(e,sd.Short);break;case"mediumDate":r=cd(e,sd.Medium);break;case"longDate":r=cd(e,sd.Long);break;case"fullDate":r=cd(e,sd.Full);break;case"shortTime":r=ud(e,sd.Short);break;case"mediumTime":r=ud(e,sd.Medium);break;case"longTime":r=ud(e,sd.Long);break;case"fullTime":r=ud(e,sd.Full);break;case"short":const t=kd(e,"shortTime"),n=kd(e,"shortDate");r=Dd(hd(e,sd.Short),[t,n]);break;case"medium":const i=kd(e,"mediumTime"),s=kd(e,"mediumDate");r=Dd(hd(e,sd.Medium),[i,s]);break;case"long":const o=kd(e,"longTime"),a=kd(e,"longDate");r=Dd(hd(e,sd.Long),[o,a]);break;case"full":const l=kd(e,"fullTime"),c=kd(e,"fullDate");r=Dd(hd(e,sd.Full),[l,c])}return r&&(bd[n][t]=r),r}function Dd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function xd(e,t,n="-",r,i){let s="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),s+o}function Ed(e,t,n=0,r=!1,i=!1){return function(s,o){let a=function(e,t){switch(e){case _d.FullYear:return t.getFullYear();case _d.Month:return t.getMonth();case _d.Date:return t.getDate();case _d.Hours:return t.getHours();case _d.Minutes:return t.getMinutes();case _d.Seconds:return t.getSeconds();case _d.FractionalSeconds:return t.getMilliseconds();case _d.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),e===_d.Hours)0===a&&-12===n&&(a=12);else if(e===_d.FractionalSeconds)return l=t,xd(a,3).substr(0,l);var l;const c=dd(o,od.MinusSign);return xd(a,t,c,r,i)}}function Ad(e,t,n=rd.Format,r=!1){return function(i,s){return function(e,t,n,r,i,s){switch(n){case Cd.Months:return ld(t,i,r)[e.getMonth()];case Cd.Days:return ad(t,i,r)[e.getDay()];case Cd.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(s){const e=function(e){const t=Ga(e);return fd(t),(t[Ya.ExtraData][2]||[]).map(e=>"string"==typeof e?gd(e):[gd(e[0]),gd(e[1])])}(t),n=function(e,t,n){const r=Ga(e);fd(r);const i=md([r[Ya.ExtraData][0],r[Ya.ExtraData][1]],t)||[];return md(i,n)||[]}(t,i,r),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=o>=t.hours&&a>=t.minutes,i=o<n.hours||o===n.hours&&a<n.minutes;if(t.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(e.hours===o&&e.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(e,t,n){const r=Ga(e),i=md([r[Ya.DayPeriodsFormat],r[Ya.DayPeriodsStandalone]],t);return md(i,n)}(t,i,r)[o<12?0:1];case Cd.Eras:return function(e,t){return md(Ga(e)[Ya.Eras],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,s,e,t,n,r)}}function Td(e){return function(t,n,r){const i=-1*r,s=dd(n,od.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case wd.Short:return(i>=0?"+":"")+xd(o,2,s)+xd(Math.abs(i%60),2,s);case wd.ShortGMT:return"GMT"+(i>=0?"+":"")+xd(o,1,s);case wd.Long:return"GMT"+(i>=0?"+":"")+xd(o,2,s)+":"+xd(Math.abs(i%60),2,s);case wd.Extended:return 0===r?"Z":(i>=0?"+":"")+xd(o,2,s)+":"+xd(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function Od(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Id(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=Od(n),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return xd(i,e,dd(r,od.MinusSign))}}function Pd(e,t=!1){return function(n,r){return xd(Od(n).getFullYear(),e,dd(r,od.MinusSign),t)}}const Fd={};function Md(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Rd(e){return e instanceof Date&&!isNaN(e.valueOf())}const Nd=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ld(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class Bd{}let Vd=(()=>{class e extends Bd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(pd(t||this.locale)(e)){case nd.Zero:return"zero";case nd.One:return"one";case nd.Two:return"two";case nd.Few:return"few";case nd.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(pr(qu))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function zd(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}let $d=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Bo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ie(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(_c),Ko(Sc),Ko(nc),Ko(sc))},e.\u0275dir=Ze({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class jd{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ud=(()=>{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,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new jd(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Hd(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new Hd(e,i);t.push(s)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ko($c),Ko(Mc),Ko(_c))},e.\u0275dir=Ze({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Hd{constructor(e,t){this.record=e,this.view=t}}let qd=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Wd,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){Gd("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Gd("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)(Ko($c),Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Wd{constructor(){this.$implicit=null,this.ngIf=null}}function Gd(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ie(t)}'.`)}let Zd=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(Sc),Ko(sc))},e.\u0275dir=Ze({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Kd=(()=>{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)(Ko($c))},e.\u0275dir=Ze({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ut]}),e})();function Yd(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ie(e)}'`)}class Qd{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Jd{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Xd=new Jd,ep=new Qd;let tp=(()=>{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(ia(t))return Xd;if(sa(t))return ep;throw Yd(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=Tc(!0);if(null!=t||e&we.Optional)return t;lt("ChangeDetectorRef")}())},e.\u0275pipe=Ke({name:"async",type:e,pure:!1}),e})();const np
vendor: 7,066 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g
1;let rp=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Yd(e,t);return t.replace(np,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Ke({name:"titlecase",type:e,pure:!0}),e})(),ip=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n,r="symbol",i,s){if(!function(e){return!(null==e||""===e||e!=e)}(t))return null;s=s||this._locale,"boolean"==typeof r&&(r=r?"symbol":"code");let o=n||this._defaultCurrencyCode;"code"!==r&&(o="symbol"===r||"symbol-narrow"===r?function(e,t,n="en"){const r=function(e){return Ga(e)[Ya.Currencies]}(n)[e]||ed[e]||[],i=r[1];return"narrow"===t&&"string"==typeof i?i:r[0]||e}(o,"symbol"===r?"wide":"narrow",s):r);try{return function(e,t,n,r,i){const s=function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);"0"===e?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const e=i.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substr(0,t).replace(/'/g,""),n.negSuf=s.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return Ga(e)[Ya.NumberFormats][t]}(t,td.Currency),dd(t,od.MinusSign));return s.minFrac=function(e){let t;const n=ed[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,function(e,t,n,r,i,s,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,i,s,o=Math.abs(e)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;"0"===o.charAt(r);r++);if(r===(s=o.length))t=[0],n=1;else{for(s--;"0"===o.charAt(s);)s--;for(n-=r,t=[],i=0;r<=s;r++,i++)t[i]=Number(o.charAt(r))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,h=t.minFrac,d=t.maxFrac;if(s){const e=s.match(Nd);if(null===e)throw new Error(`${s} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(u=Ld(t)),null!=n&&(h=Ld(n)),null!=r?d=Ld(r):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const s=Math.min(Math.max(t,i),n);let o=s+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,o=s+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;i<Math.max(0,s);i++)r.push(0);let l=0!==s;const c=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,l&&(0===r[n]&&n>=c?r.pop():l=!1),t>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const y=[];for(p.length>=t.lgSize&&y.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)y.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&y.unshift(p.join("")),a=y.join(dd(n,r)),g.length&&(a+=dd(n,i)+g.join("")),m&&(a+=dd(n,od.Exponential)+"+"+m)}else a=dd(n,od.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,s,t,od.CurrencyGroup,od.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),s,o,n,i)}catch(a){throw Yd(e,a.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ko(qu),Ko(Wu))},e.\u0275pipe=Ke({name:"currency",type:e,pure:!0}),e})(),sp=(()=>{class e{transform(t,n,r){if(null==t)return null;if(!this.supports(t))throw Yd(e,t);return t.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Ke({name:"slice",type:e,pure:!1}),e})(),op=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:Bd,useClass:Vd}]}),e})();function ap(e){return"browser"===e}let lp=(()=>{class e{}return e.\u0275prov=he({token:e,providedIn:"root",factory:()=>new cp(pr(Nh),window)}),e})();class cp{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=up(this.window.history)||up(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function up(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class hp extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new hp,Mh||(Mh=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}
vendor: 8,847 bytes, line 1
1isElementNode(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=pp||(pp=document.querySelector("base"),pp)?pp.getAttribute("href"):null;return null==t?null:(n=t,dp||(dp=document.createElement("a")),dp.setAttribute("href",n),"/"===dp.pathname.charAt(0)?dp.pathname:"/"+dp.pathname);var n}resetBaseElement(){pp=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 zd(document.cookie,e)}}let dp,pp=null;const fp=new Yn("TRANSITION_ID"),mp=[{provide:Nu,useFactory:function(e,t,n){return()=>{n.get(Lu).donePromise.then(()=>{const n=Rh();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[fp,Nh,Ao],multi:!0}];class gp{static init(){var e;e=new gp,fh=e}addToWindow(e){Ie.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ie.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ie.getAllAngularRootElements=()=>e.getAllRootElements(),Ie.frameworkStabilizers||(Ie.frameworkStabilizers=[]),Ie.frameworkStabilizers.push(e=>{const t=Ie.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Rh().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const yp=new Yn("EventManagerPlugins");let bp=(()=>{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 r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}return e.\u0275fac=function(t){return new(t||e)(pr(yp),pr(rh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class vp{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Rh().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let wp=(()=>{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})(),_p=(()=>{class e extends wp{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=>Rh().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Cp={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/"},Sp=/%COMP%/g;function kp(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?kp(e,i,n):(i=i.replace(Sp,e),n.push(i))}return n}function Dp(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let xp=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ep(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case xe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ap(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case xe.ShadowDom:return new Tp(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=kp(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)(pr(bp),pr(_p),pr(Bu))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Ep{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Cp[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=Cp[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Cp[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(vi.DashCase|vi.Important)?e.style.setProperty(t,n,r&vi.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&vi.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,Dp(n)):this.eventManager.addEventListener(e,t,Dp(n))}}class Ap extends Ep{constructor(e,t,n,r){super(e),this.component=n;const i=kp(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Sp,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Sp,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Tp extends Ep{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=kp(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const e=document.createElement("style");e.textContent=i[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Op=(()=>{class e extends vp{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)(pr(Nh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Ip=["alt","control","meta","shift"],Pp={"\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"},Fp={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"},Mp={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Rp=(()=>{class e extends vp{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),s=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rh().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let s="";
1if(Ip.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,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&&Fp.hasOwnProperty(t)&&(t=Fp[t]))}return Pp[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ip.forEach(r=>{r!=n&&(0,Mp[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Np=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return pr(Lp)},token:e,providedIn:"root"}),e})(),Lp=(()=>{class e extends Np{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case si.NONE:return t;case si.HTML:return Pr(t,"HTML")?Ir(t):ri(this._doc,String(t)).toString();case si.STYLE:return Pr(t,"Style")?Ir(t):t;case si.SCRIPT:if(Pr(t,"Script"))return Ir(t);throw new Error("unsafe value used in a script context");case si.URL:return Fr(t),Pr(t,"URL")?Ir(t):Vr(String(t));case si.RESOURCE_URL:if(Pr(t,"ResourceURL"))return Ir(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new xr(e)}bypassSecurityTrustStyle(e){return new Er(e)}bypassSecurityTrustScript(e){return new Ar(e)}bypassSecurityTrustUrl(e){return new Tr(e)}bypassSecurityTrustResourceUrl(e){return new Or(e)}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({factory:function(){return e=pr(ho),new Lp(e.get(Nh));var e},token:e,providedIn:"root"}),e})();const Bp=wh(Ih,"browser",[{provide:ju,useValue:"browser"},{provide:$u,useValue:function(){hp.makeCurrent(),gp.init()},multi:!0},{provide:Nh,useFactory:function(){return function(e){mt=e}(document),document},deps:[]}]),Vp=[[],{provide:fo,useValue:"root"},{provide:pi,useFactory:function(){return new pi},deps:[]},{provide:yp,useClass:Op,multi:!0,deps:[Nh,rh,ju]},{provide:yp,useClass:Rp,multi:!0,deps:[Nh]},[],{provide:xp,useClass:xp,deps:[bp,_p,Bu]},{provide:ic,useExisting:xp},{provide:wp,useExisting:_p},{provide:_p,useClass:_p,deps:[Nh]},{provide:uh,useClass:uh,deps:[rh]},{provide:bp,useClass:bp,deps:[yp,rh]},[]];let zp=(()=>{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:Bu,useValue:t.appId},{provide:fp,useExisting:Bu},mp]}}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(pr(e,12))},providers:Vp,imports:[op,Fh]}),e})();"undefined"!=typeof window&&window;class $p{}function jp(e,t){return{type:7,name:e,definitions:t,options:{}}}function Up(e,t=null){return{type:4,styles:t,timings:e}}function Hp(e,t=null){return{type:3,steps:e,options:t}}function qp(e,t=null){return{type:2,steps:e,options:t}}function Wp(e){return{type:6,styles:e,offset:null}}function Gp(e,t,n){return{type:0,name:e,styles:t,options:n}}function Zp(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function Kp(e=null){return{type:9,options:e}}function Yp(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function Qp(e){Promise.resolve(null).then(e)}class Jp{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(){Qp(()=>this._onFinish())}
1_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){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 Xp{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?Qp(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){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 ef(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function tf(e){switch(e.length){case 0:return new Jp;case 1:return e[0];default:return new Xp(e)}}function nf(e,t,n,r,i={},s={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(e=>{const n=e.offset,r=n==l,u=r&&c||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,o),a){case"!":a=i[n];break;case"*":a=s[n];break;default:a=t.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||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 rf(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&sf(n,"start",e)));break;case"done":e.onDone(()=>r(n&&sf(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&sf(n,"destroy",e)))}}function sf(e,t,n){const r=n.totalTime,i=of(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),s=e._data;return null!=s&&(i._data=s),i}function of(e,t,n,r,i="",s=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function af(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function lf(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let cf=(e,t)=>!1,uf=(e,t)=>!1,hf=(e,t,n)=>[];const df=ef();(df||"undefined"!=typeof Element)&&(cf=(e,t)=>e.contains(t),uf=(()=>{if(df||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]):uf}})(),hf=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let pf=null,ff=!1;function mf(e){pf||(pf=("undefined"!=typeof document?document.body:null)||{},ff=!!pf.style&&"WebkitAppearance"in pf.style);let t=!0;return pf.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in pf.style,!t&&ff)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in pf.style),t}const gf=uf,yf=cf,bf=hf;function vf(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let wf=(()=>{class e{validateStyleProperty(e){return mf(e)}matchesElement(e,t){return gf(e,t)}containsElement(e,t){return yf(e,t)}query(e,t,n){return bf(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,s=[],o){return new Jp(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),_f=(()=>{class e{}return e.NOOP=new wf,e})();function Cf(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Sf(parseFloat(t[1]),t[2])}function Sf(e,t){switch(t){case"s":return 1e3*e;default:return e}}function kf(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,s="";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}
1" is invalid.`),{duration:0,delay:0,easing:""};r=Sf(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=Sf(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else r=e;if(!n){let n=!1,s=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:s}}(e,t,n)}function Df(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function xf(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else Df(e,n);return n}function Ef(e,t,n){return n?t+":"+n+";":""}function Af(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Ef(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Ef(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Tf(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=Lf(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),ef()&&Af(e))}function Of(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=Lf(t);e.style[n]=""}),ef()&&Af(e))}function If(e){return Array.isArray(e)?1==e.length?e[0]:qp(e):e}const Pf=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ff(e){let t=[];if("string"==typeof e){let n;for(;n=Pf.exec(e);)t.push(n[1]);Pf.lastIndex=0}return t}function Mf(e,t,n){const r=e.toString(),i=r.replace(Pf,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()});return i==r?e:i}function Rf(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const Nf=/-+([a-z0-9])/g;function Lf(e){return e.replace(Nf,(...e)=>e[1].toUpperCase())}function Bf(e,t){return 0===e||0===t}function Vf(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let s=t[0],o=[];if(r.forEach(e=>{s.hasOwnProperty(e)||o.push(e),s[e]=n[e]}),o.length)for(var i=1;i<t.length;i++){let n=t[i];o.forEach(function(t){n[t]=$f(e,t)})}}return t}function zf(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function $f(e,t){return window.getComputedStyle(e)[t]}function jf(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],s=r[2],o=r[3];t.push(qf(i,o)),"<"!=s[0]||"*"==i&&"*"==o||t.push(qf(o,i))}(e,n,t)):n.push(e),n}const Uf=new Set(["true","1"]),Hf=new Set(["false","0"]);function qf(e,t){const n=Uf.has(e)||Hf.has(e),r=Uf.has(t)||Hf.has(t);return(i,s)=>{let o="*"==e||e==i,a="*"==t||t==s;return!o&&n&&"boolean"==typeof i&&(o=i?Uf.has(e):Hf.has(e)),!a&&r&&"boolean"==typeof s&&(a=s?Uf.has(t):Hf.has(t)),o&&a}}const Wf=new RegExp("s*:selfs*,?","g");function Gf(e,t,n){return new Zf(e).build(t,n)}class Zf{constructor(e){this._driver=e}build(e,t){const n=new Kf(t);return this._resetContextStyleTimingState(n),zf(this,If(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e
1=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,s.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(e=>{if(Yf(e)){const t=e;Object.keys(t).forEach(e=>{Ff(t[e]).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=Rf(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=zf(this,If(e.animation),t);return{type:1,matchers:jf(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Qf(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>zf(this,e,t)),options:Qf(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=zf(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:Qf(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 Jf(kf(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=Jf(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||kf(r,t),Jf(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:Wp({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};n.easing&&(e.easing=n.easing),i=Wp(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,t);o.isEmptyStep=s,r=o}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?"*"==e?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(Yf(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=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 "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=Ff(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let s=!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(Yf(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(Yf(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,i.push(c),n});o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*f;
1t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:zf(this,If(e.animation),t),options:Qf(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Qf(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Qf(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(Wf,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,af(t.collectedStyles,t.currentQuerySelector,{});const o=zf(this,If(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:Qf(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"}:kf(e.timings,t.errors,!0);return{type:12,animation:zf(this,If(e.animation),t),timings:n,options:null}}}class Kf{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 Yf(e){return!Array.isArray(e)&&"object"==typeof e}function Qf(e){var t;return e?(e=Df(e)).params&&(e.params=(t=e.params)?Df(t):null):e={},e}function Jf(e,t,n){return{duration:e,delay:t,easing:n}}function Xf(e,t,n,r,i,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class em{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 tm=new RegExp(":enter","g"),nm=new RegExp(":leave","g");function rm(e,t,n,r,i,s={},o={},a,l,c=[]){return(new im).buildKeyframes(e,t,n,r,i,s,o,a,l,c)}class im{buildKeyframes(e,t,n,r,i,s,o,a,l,c=[]){l=l||new em;const u=new om(e,t,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),zf(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()):[Xf(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 r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Cf(n.duration):null,s=null!=n.delay?Cf(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),zf(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=sm);const e=Cf(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>zf(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Cf(e.options.delay):0;e.steps.forEach(s=>{const o=t.createSubContext(e.options);
vendor: 3,322 bytes, line 1
1i&&o.delayNextStep(i),zf(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return kf(t.params?Mf(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Cf(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=sm);let s=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);i&&o.delayNextStep(i),n===t.element&&(a=o.currentTimeline),zf(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),o=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;zf(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const sm={};class om{constructor(e,t,n,r,i,s,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=sm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new am(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Cf(n.duration)),null!=n.delay&&(r.delay=Cf(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}
1),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Mf(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new om(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=sm,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new lm(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,s){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(tm,"."+this._enterClassName)).replace(nm,"."+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 i||0!=o.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class am{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new am(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]||"*",this._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},s=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]="*"})):xf(e,!1,n)}),n}(e,this._globalTimelineStyles);
1Object.keys(s).forEach(e=>{const t=Mf(s[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:"*"),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const o=xf(i,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?e.add(n):"*"==r&&t.add(n)}),n||(o.offset=s/this.duration),r.push(o)});const i=e.size?Rf(e.values()):[],s=t.size?Rf(t.values()):[];if(n){const e=r[0],t=Df(e);e.offset=0,t.offset=1,r=[e,t]}return Xf(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class lm extends am{constructor(e,t,n,r,i,s,o=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],s=n+t,o=t/s,a=xf(e[0],!1);a.offset=0,i.push(a);const l=xf(e[0],!1);l.offset=cm(o),i.push(l);const c=e.length-1;for(let r=1;r<=c;r++){let o=xf(e[r],!1);o.offset=cm((t+o.offset*n)/s),i.push(o)}n=s,t=0,r="",e=i}return Xf(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function cm(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class um{}class hm extends um{normalizePropertyName(e,t){return Lf(e)}normalizeStyleValue(e,t,n,r){let i="";const s=n.toString().trim();if(dm[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+i}}const dm=(()=>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 pm(e,t,n,r,i,s,o,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const fm={};class mm{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],s=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):s}build(e,t,n,r,i,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||fm,d=this.buildStyles(n,o&&o.params||fm,u),p=a&&a.params||fm,f=this.buildStyles(r,p,u),m=new Set,g=new Map,y=new Map,b="void"===r,v={params:Object.assign(Object.assign({},h),p)},w=c?[]:rm(e,t,this.ast.animation,i,s,d,f,v,l,u);let _=0;if(w.forEach(e=>{_=Math.max(e.duration+e.delay,_)}),u.length)return pm(t,this._triggerName,n,r,b,d,f,[],[],g,y,_,u);w.forEach(e=>{const n=e.element,r=af(g,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=af(y,n,{});
1e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const C=Rf(m.values());return pm(t,this._triggerName,n,r,b,d,f,w,C,g,y,_)}}class gm{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=Df(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let s=i[e];s.length>1&&(s=Mf(s,r,t)),n[e]=s})}}),n}}class ym{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new gm(e.style,e.options&&e.options.params||{})}),bm(this.states,"true","1"),bm(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new mm(e,t,this.states))}),this.fallbackTransition=new mm(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function bm(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const vm=new em;class wm{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=Gf(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=nf(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let s;const o=new Map;if(i?(s=rm(this._driver,t,i,"ng-enter","ng-leave",{},{},n,vm,r),s.forEach(e=>{const t=af(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,"*")})});const a=tf(s.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,r){const i=of(t,"","","");return rf(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const _m=[],Cm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Sm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class km{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=Df(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Dm=new km("void");class xm{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,Fm(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const s=af(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};s.push(o);const a=af(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Fm(e,"ng-trigger"),Fm(e,"ng-trigger-"+t),a[t]=Dm),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(o);e>=0&&s.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),s=new Am(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Fm(e,"ng-trigger"),Fm(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new km(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Dm),"void"!==l.value&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Of(e,n),Tf(e,r)})}return}const c=af(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Fm(e,"ng-animate-queued"),s.onStart(()=>{Mm(e,"ng-animate-queued")})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),c.push(s),s}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,".ng-trigger",!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,r){const i=this._engine.statesByElement.get(e);if(i){const s=[];
1if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&tf(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,s=this._engine.statesByElement.get(e)[r]||Dm,o=new km("void"),a=new Am(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Cm||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Fm(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==n.triggerName){const r=of(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,rf(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Em{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 xm(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(Tm(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!Tm(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);
1r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Fm(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Mm(e,"ng-animate-disabled"))}removeNode(e,t,n,r){if(Tm(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return Tm(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return tf(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Cm,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Fm(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?tf(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 em,r=[],i=new Map,s=[],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<t.length;n++)c.add(t[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=Pm(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((e,t)=>{const n="ng-enter"+f++;p.set(t,n),e.forEach(e=>Fm(e,n))});const m=[],g=new Set,y=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const e=this.collectedLeaveElements[O],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),g.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>g.add(e)):y.add(e))}const b=new Map,v=Pm(h,Array.from(g));v.forEach((e,t)=>{const n="ng-leave"+f++;b.set(t,n),e.forEach(e=>Fm(e,n))}),e.push(()=>{d.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Mm(e,n))}),v.forEach((e,t)=>{const n=b.get(t);e.forEach(e=>Mm(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const w=[],_=[];for(let O=this._namespaceList.length-1;O>=0;
1O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(w.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,i),h=b.get(i),d=p.get(i),f=this._buildInstruction(e,n,d,h,c);if(f.errors&&f.errors.length)_.push(f);else{if(c)return t.onStart(()=>Of(i,f.fromStyles)),t.onDestroy(()=>Tf(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Of(i,f.fromStyles)),t.onDestroy(()=>Tf(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>af(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 r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(_.length){const e=[];_.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}
1),w.forEach(e=>e.destroy()),this.reportError(e)}const C=new Map,S=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(S.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,C))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{af(C,t,[]).push(e),e.destroy()})});const k=m.filter(e=>Lm(e,a,l)),D=new Map;Im(D,this.driver,y,l,"*").forEach(e=>{Lm(e,a,l)&&k.push(e)});const x=new Map;d.forEach((e,t)=>{Im(x,this.driver,new Set(e),a,"!")}),k.forEach(e=>{const t=D.get(e),n=x.get(e);D.set(e,Object.assign(Object.assign({},t),n))});const E=[],A=[],T={};s.forEach(e=>{const{element:t,player:s,instruction:o}=e;if(n.has(t)){if(c.has(t))return s.onDestroy(()=>Tf(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let e=T;if(S.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=S.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>S.set(t,e))}const n=this._buildAnimation(s.namespaceId,o,C,i,x,D);if(s.setRealPlayer(n),e===T)E.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=tf(t)),r.push(s)}}else Of(t,o.fromStyles),s.onDestroy(()=>Tf(t,o.toStyles)),A.push(s),c.has(t)&&r.push(s)}),A.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=tf(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let O=0;O<m.length;O++){const e=m[O],t=e.__ng_removed;if(Mm(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(o.size){let t=o.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,".ng-animating",!0);for(let e=0;e<r.length;e++){let t=o.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?Rm(this,e,r):this.processLeaveNode(e)}return m.length=0,E.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),E}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||"void"==i;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&s.push(t)})}}return(n||r)&&(s=s.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),s}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==r,l=af(n,e,[]);this._getPreviousPlayers(e,a,i,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Of(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,s){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 Jp(t.duration,t.delay);const p=h!==a,f=function(e){const t=[];return Nm(e,t),t}((n.get(h)||_m).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===h),m=i.get(h),g=s.get(h),y=nf(0,this._normalizer,0,t.keyframes,m,g),b=this._buildPlayer(t,y,f);if(t.subTimeline&&r&&u.add(h),p){const t=new Am(e,o,h);t.setRealPlayer(b),l.push(t)}return b});l.forEach(e=>{af(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>Fm(e,"ng-animating"));const d=tf(h);return d.onDestroy(()=>{c.forEach(e=>Mm(e,"ng-animating")),Tf(a,t.toStyles)}),u.forEach(e=>{af(r,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 Jp(e.duration,e.delay)}}class Am{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new Jp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>rf(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){af(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 Tm(e){return e&&1===e.nodeType}function Om(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Im(e,t,n,r,i){const s=[];n.forEach(e=>s.push(Om(e)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Sm,o.push(r))}),e.set(r,s)});let a=0;return n.forEach(e=>Om(e,s[a++])),o}function Pm(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;function s(e){if(!e)return 1;let t=i.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:s(o),i.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function Fm(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Mm(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Rm(e,t,n){tf(n).onDone(()=>e.processLeaveNode(t))}function Nm(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof Xp?Nm(r.players,t):t.push(r)}}function Lm(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class Bm{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Em(e,t,n),this._timelineEngine=new wm(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const s=e+"-"+r;let o=this._triggerCache[s];if(!o){const e=[],t=Gf(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new ym(e,t)}(r,t),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=lf(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=lf(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Vm(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=$m(t[0]),t.length>1&&(r=$m(t[t.length-1]))):t&&(n=$m(t)),n||r?new zm(e,n,r):null}let zm=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Tf(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Tf(this._element,this._initialStyles),this._endStyles&&(Tf(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Of(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Of(this._element,this._endStyles),this._endStyles=null),Tf(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function $m(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];jm(i)&&(t=t||{},t[i]=e[i])}return t}function jm(e){return"display"===e||"position"===e}class Um{constructor(e,t,n,r,i,s,o){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=Km(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),Zm(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Gm(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Hm(this._element,this._name,"paused")}resume(){Hm(this._element,this._name,"running")}setPosition(e){const t=qm(this._element,this._name);this._position=e*this._duration,Zm(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Gm(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Km(e,"").split(","),r=Wm(n,t);r>=0&&(n.splice(r,1),Zm(e,"",n.join(",")))}(this._element,this._name))}}function Hm(e,t,n){Zm(e,"PlayState",n,qm(e,t))}function qm(e,t){const n=Km(e,"");return n.indexOf(",")>0?Wm(n.split(","),t):Wm([n],t)}function Wm(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Gm(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Zm(e,t,n,r){const i="animation"+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function Km(e,t){return e.style["animation"+t]||""}class Ym{constructor(e,t,n,r,i,s,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Um(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]:$f(this.element,n))})}this.currentSnapshot=e}}class Qm extends Jp{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=vf(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEac
1h(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Jm{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return mf(e)}matchesElement(e,t){return gf(e,t)}containsElement(e,t){return yf(e,t)}query(e,t,n){return bf(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>vf(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=`${i}}\n`}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(e,t,n,r,i,s=[],o){const a=s.filter(e=>e instanceof Ym),l={};Bf(n,r)&&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=Vf(e,t,l));if(0==n)return new Qm(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=Vm(e,t),p=new Ym(e,t,u,n,r,i,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class Xm{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:$f(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class eg{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(tg().toString()),this._cssKeyframesDriver=new Jm}validateStyleProperty(e){return mf(e)}matchesElement(e,t){return gf(e,t)}containsElement(e,t){return yf(e,t)}query(e,t,n){return bf(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};
1i&&(a.easing=i);const l={},c=s.filter(e=>e instanceof Xm);Bf(n,r)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=Vm(e,t=Vf(e,t=t.map(e=>xf(e,!1)),l));return new Xm(e,t,a,u)}}function tg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let ng=(()=>{class e extends $p{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:xe.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?qp(e):e;return sg(this._renderer,null,t,"register",[n]),new rg(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(pr(ic),pr(Nh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class rg extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ig(this._id,e,t||{},this._renderer)}}class ig{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return sg(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 sg(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}let og=(()=>{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 ag("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(s),new lg(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(pr(ic),pr(Bm),pr(rh))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class ag{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,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}
1listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class lg extends ag{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if("@"==t.charAt(0)){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),s="";return"@"!=i.charAt(0)&&([i,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let cg=(()=>{class e extends Bm{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh),pr(_f),pr(um))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const ug=[{provide:_f,useFactory:function(){return"function"==typeof tg()?new eg:new Jm}},{provide:new Yn("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:$p,useClass:ng},{provide:um,useFactory:function(){return new hm}},{provide:Bm,useClass:cg},{provide:ic,useFactory:function(e,t,n){return new og(e,t,n)},deps:[xp,Bm,rh]}];let hg=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:ug,imports:[zp]}),e})();function dg(...e){let t=e[e.length-1];return D(t)?(e.pop(),R(e,t)):H(e)}class pg extends S{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)}}class fg extends f{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class mg extends f{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function gg(e,t,n,r,i=new mg(e,n,r)){if(!i.closed)return t instanceof b?t.subscribe(i):M(t)(i)}const yg={};function bg(...e){let t,n;return D(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),H(e,n).lift(new vg(t))}class vg{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new wg(e,this.resultSelector))}}class wg extends fg{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(yg),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(gg(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,i=this.toRespond?r[n]===yg?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const _g=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Cg(...e){return U(1)(dg(...e))}const Sg=new b(e=>e.complete());function kg(e){return e?function(e){return new b(t=>e.schedule(()=>t.complete()))}(e):Sg}function Dg(e){return new b(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?N(n):kg()).subscribe(t)})}function xg(e,t){return"function"==typeof t?n=>n.pipe(xg((n,r)=>N(e(n,r)).pipe(x((e,i)=>t(n,e,r,i))))):t=>t.lift(new Eg(e))}class Eg{constructor(e){this.project=e}call(e,t){return t.subscribe(new Ag(e,this.project))}}class Ag extends B{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new L(this),r=this.destination;r.add(n),this.innerSubscription=V(e,n),this.innerSubscription!==n&&r.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)}}const Tg=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Og(e){return t=>0===e?kg():t.lift(new Ig(e))}class Ig{constructor(e){if(this.total=e,this.total<0)throw new Tg}call(e,t){return t.subscribe(new Pg(e,this.total))}}class Pg extends f{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Fg(...e){const t=e[e.length-1];return D(t)?(e.pop(),n=>Cg(e,n,t)):t=>Cg(e,t)}function Mg(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Rg(e,t,n))}}class Rg{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Ng(e,this.accumulator,this.seed,this.hasSeed))}}class Ng extends f{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Lg(e,t){return function(n){return n.lift(new Bg(e,t))}}class Bg{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Vg(e,this.predicate,this.thisArg))}}class Vg 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)}}function zg(e){return function(t){const n=new $g(e),r=t.lift(n);return n.caught=r}}class $g{constructor(e){this.selector=e}call(e,t){return t.subscribe(new jg(e,this.selector,this.caught))}}class jg extends B{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new L(this);this.add(r);const i=V(n,r);i!==r&&this.add(i)}}}function Ug(e,t){return z(e,t,1)}function Hg(e){return function(t){return 0===e?kg():t.lift(new qg(e))}}class qg{constructor(e){if(this.total=e,this.total<0)throw new Tg}call(e,t){return t.subscribe(new Wg(e,this.total))}}class Wg extends f{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}function Gg(e=Yg){return t=>t.lift(new Zg(e))}class Zg{constructor(e){this.errorFactory=e}
1call(e,t){return t.subscribe(new Kg(e,this.errorFactory))}}class Kg extends f{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Yg(){return new _g}function Qg(e=null){return t=>t.lift(new Jg(e))}class Jg{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Xg(e,this.defaultValue))}}class Xg extends f{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function ey(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Lg((t,n)=>e(t,n,r)):y,Og(1),n?Qg(t):Gg(()=>new _g))}function ty(){}function ny(e,t,n){return function(r){return r.lift(new ry(e,t,n))}}class ry{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new iy(e,this.nextOrObserver,this.error,this.complete))}}class iy extends f{constructor(e,t,n,i){super(e),this._tapNext=ty,this._tapError=ty,this._tapComplete=ty,this._tapError=n||ty,this._tapComplete=i||ty,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||ty,this._tapError=t.error||ty,this._tapComplete=t.complete||ty)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class sy{constructor(e){this.callback=e}call(e,t){return t.subscribe(new oy(e,this.callback))}}class oy extends f{constructor(e,t){super(e),this.add(new h(t))}}class ay{constructor(e,t){this.id=e,this.url=t}}class ly extends ay{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class cy extends ay{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class uy extends ay{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hy extends ay{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class dy extends ay{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class py extends ay{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fy extends ay{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class my extends ay{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gy extends ay{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yy{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class by{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vy{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wy{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _y{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cy{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sy{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ky{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Dy(e){return new ky(e)}function xy(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ey(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let s=0;s<r.length;s++){const t=r[s],n=e[s];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Ay(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;
1s++)if(i=n[s],!Ty(e[i],t[i]))return!1;return!0}function Ty(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function Oy(e){return Array.prototype.concat.apply([],e)}function Iy(e){return e.length>0?e[e.length-1]:null}function Py(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Fy(e){return oa(e)?e:ia(e)?N(Promise.resolve(e)):dg(e)}function My(e,t,n){return n?function(e,t){return Ay(e,t)}(e.queryParams,t.queryParams)&&Ry(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Ty(e[n],t[n]))}(e.queryParams,t.queryParams)&&Ny(e.root,t.root)}function Ry(e,t){if(!$y(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Ry(e.children[n],t.children[n]))return!1}return!0}function Ny(e,t){return Ly(e,t,t.segments)}function Ly(e,t,n){if(e.segments.length>n.length)return!!$y(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!$y(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Ny(e.children[n],t.children[n]))return!1}return!0}{const r=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!$y(e.segments,r)&&!!e.children.primary&&Ly(e.children.primary,t,i)}}class By{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dy(this.queryParams)),this._queryParamMap}toString(){return Hy.serialize(this)}}class Vy{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Py(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qy(this)}}class zy{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Dy(this.parameters)),this._parameterMap}toString(){return Jy(this)}}function $y(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class jy{}class Uy{parse(e){const t=new rb(e);return new By(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${Wy(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Zy(t)}=${Zy(e)}`).join("&"):`${Zy(t)}=${Zy(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Hy=new Uy;function qy(e){return e.segments.map(e=>Jy(e)).join("/")}function Wy(e,t){if(!e.hasChildren())return qy(e);if(t){const t=e.children.primary?Wy(e.children.primary,!1):"",n=[];return Py(e.children,(e,t)=>{"primary"!==t&&n.push(`${t}:${Wy(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return Py(e.children,(e,r)=>{"primary"===r&&(n=n.concat(t(e,r)))}),Py(e.children,(e,r)=>{"primary"!==r&&(n=n.concat(t(e,r)))}),n}(e,(t,n)=>"primary"===n?[Wy(e.children.primary,!1)]:[`${n}:${Wy(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${qy(e)}/${t[0]}`:`${qy(e)}/(${t.join("//")})`}}function Gy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zy(e){return Gy(e).replace(/%3B/gi,";")}function Ky(e){return Gy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yy(e){return decodeURIComponent(e)}function Qy(e){return Yy(e.replace(/\+/g,"%20"))}function Jy(e){return`${Ky(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ky(e)}=${Ky(t[e])}`).join("")}`;var t}const Xy=/^[^\/()?;=#]+/;function eb(e){const t=e.match(Xy);return t?t[0]:""}const tb=/^[^=?&#]+/,nb=/^[^?&#]+/;class rb{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vy([],{}):new Vy([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}
vendor: 4,508 bytes, line 1
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Vy(e,t)),n}parseSegment(){const e=eb(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new zy(Yy(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=eb(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=eb(this.remaining);e&&(n=e,this.capture(n))}e[Yy(t)]=Yy(n)}parseQueryParam(e){const t=function(e){const t=e.match(tb);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(nb);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=Qy(t),i=Qy(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=eb(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");const s=this.parseChildren();t[i]=1===Object.keys(s).length?s.primary:new Vy([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class ib{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=sb(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=sb(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ob(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ob(e,this._root).map(e=>e.value)}}function sb(e,t){if(e===t.value)return t;for(const n of t.children){const t=sb(e,n);if(t)return t}return null}function ob(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ob(e,n);if(r.length)return r.unshift(t),r}return[]}class ab{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function lb(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class cb extends ib{constructor(e,t){super(e),this.snapshot=t,mb(this,e)}toString(){return this.snapshot.toString()}}function ub(e,t){const n=function(e,t){const n=new pb([],{},{},"",{},"primary",t,null,e.root,-1,{});return new fb("",new ab(n,[]))}(e,t),r=new pg([new zy("",{})]),i=new pg({}),s=new pg({}),o=new pg({}),a=new pg(""),l=new hb(r,i,o,a,s,"primary",t,n.root);return l.snapshot=n.root,new cb(new ab(l,[]),n)}class hb{constructor(e,t,n,r,i,s,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(x(e=>Dy(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(x(e=>Dy(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function db(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>
1({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class pb{constructor(e,t,n,r,i,s,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Dy(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dy(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fb extends ib{constructor(e,t){super(t),this.url=e,mb(this,t)}toString(){return gb(this._root)}}function mb(e,t){t.value._routerState=e,t.children.forEach(t=>mb(e,t))}function gb(e){const t=e.children.length>0?` { ${e.children.map(gb).join(", ")} } `:"";return`${e.value}${t}`}function yb(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ay(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ay(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ay(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ay(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function bb(e,t){var n,r;return Ay(e.params,t.params)&&$y(n=e.url,r=t.url)&&n.every((e,t)=>Ay(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||bb(e.parent,t.parent))}function vb(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return vb(e,t,r);return vb(e,t)})}(e,t,n);return new ab(r,i)}{const n=e.retrieve(t.value);if(n){const e=n.route;return wb(t,e),e}{const n=new hb(new pg((r=t.value).url),new pg(r.params),new pg(r.queryParams),new pg(r.fragment),new pg(r.data),r.outlet,r.component,r),i=t.children.map(t=>vb(e,t));return new ab(n,i)}}var r}function wb(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)wb(e.children[n],t.children[n])}function _b(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Cb(e){return"object"==typeof e&&null!=e&&e.outlets}function Sb(e,t,n,r,i){let s={};return r&&Py(r,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new By(n.root===e?t:kb(n.root,e,t),s,i)}function kb(e,t,n){const r={};return Py(e.children,(e,i)=>{r[i]=e===t?n:kb(e,t,n)}),new Vy(e.segments,r)}class Db{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&_b(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Cb);if(r&&r!==Iy(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xb{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Eb(e,t,n){if(e||(e=new Vy([],{})),0===e.segments.length&&e.hasChildren())return Ab(e,t,n);const r=function(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return s;const t=e.segments[i],o=n[r];if(Cb(o))break;const a=`${o}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Pb(a,l,t))return s;r+=2}else{if(!Pb(a,{},t))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Vy(e.segments.slice(0,r.pathIndex),{});return t.children.primary=new Vy(e.segments.slice(r.pathIndex),e.children),Ab(t,0,i)}return r.match&&0===i.length?new Vy(e.segments,{}):r.match&&!e.hasChildren()?Tb(e,t,n):r.match?Ab(e,0,i):Tb(e,t,n)}function Ab(e,t,n){if(0===n.length)return new Vy(e.segments,{});{const r=function(e){return Cb(e[0])?e[0].outlets:{primary:e}}(n),i={};return Py(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=Eb(e.children[r],t,n))}),Py(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new Vy(e.segments,i)}}function Tb(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const s=n[i];if(Cb(s)){const e=Ob(s.outlets);return new Vy(r,e)}if(0===i&&_b(n[0])){r.push(new zy(e.segments[t].path,Ib(n[0]))),i++;continue}const o=Cb(s)?s.outlets.primary:`${s}`,a=i<n.length-1?n[i+1]:null;o&&a&&_b(a)?(r.push(new zy(o,Ib(a))),i+=2):(r.push(new zy(o,{})),i++)}return new Vy(r,{})}function Ob(e){const t={};return Py(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=Tb(new Vy([],{}),0,e))}),t}function Ib(e){const t={};return Py(e,(e,n)=>t[n]=`${e}`),t}function Pb(e,t,n){return e==n.path&&Ay(t,n.parameters)}class Fb{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),yb(this.futureState.root),this.activateChildRoutes(t,n,e)}
1deactivateChildRoutes(e,t,n){const r=lb(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Py(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,i=lb(e);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const r=lb(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Cy(e.value.snapshot))}),e.children.length&&this.forwardEvent(new wy(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(yb(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Mb(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Mb(e){yb(e.value),e.children.forEach(Mb)}class Rb{constructor(e,t){this.routes=e,this.module=t}}function Nb(e){return"function"==typeof e}function Lb(e){return e instanceof By}const Bb=Symbol("INITIAL_VALUE");function Vb(){return xg(e=>bg(e.map(e=>e.pipe(Og(1),Fg(Bb)))).pipe(Mg((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==Bb)return e;if(r===Bb&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Lb(r))return r}return e},e)},Bb),Lg(e=>e!==Bb),x(e=>Lb(e)?e:!0===e),Og(1)))}let zb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&ea(0,"router-outlet")},directives:function(){return[Rv]},encapsulation:2}),e})();function $b(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];jb(r,Ub(t,r))}}function jb(e,t){e.children&&$b(e.children,t)}function Ub(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Hb(e){const t=e.children&&e.children.map(Hb),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=zb),n}function qb(e){return e.outlet||"primary"}function Wb(e,t){const n=e.filter(e=>qb(e)===t);return n.push(...e.filter(e=>qb(e)!==t)),n}const Gb={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Zb(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Gb):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||Ey)(n,e,t);if(!i)return Object.assign({},Gb);const s={};Py(i.posParams,(e,t)=>{s[t]=e.path});const o=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Kb(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Yb(e,t,n)&&"primary"!==qb(n))}(e,n,r)){const i=new Vy(t,function(e,t,n,r){const i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&"primary"!==qb(s)){const n=new Vy([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[qb(s)]=n}return i}(e,t,r,new Vy(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Yb(e,t,n))}(e,n,r)){const s=new Vy(e.segments,function(e,t,n,r,i,s){const o={};for(const a of r)if(Yb(e,n,a)&&!i[qb(a)]){const n=new Vy([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[qb(a)]=n}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new Vy(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Yb(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Qb(e,t,n,r){return!!(qb(e)===r||"primary"!==r&&Yb(t,n,e))&&("**"===e.path||Zb(t,e,n).matched)}function Jb(e,t,n){return 0===t.length&&!e.children[n]}class Xb{constructor(e){this.segmentGroup=e||null}}class ev{constructor(e){this.urlTree=e}}function tv(e){return new b(t=>t.error(new Xb(e)))}function nv(e){return new b(t=>t.error(new ev(e)))}function rv(e){return new b(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class iv{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer
1=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(Bc)}apply(){const e=Kb(this.urlTree.root,[],[],this.config).segmentGroup,t=new Vy(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,"primary").pipe(x(e=>this.createUrlTree(sv(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(zg(e=>{if(e instanceof ev)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Xb)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(x(t=>this.createUrlTree(sv(t),e.queryParams,e.fragment))).pipe(zg(e=>{if(e instanceof Xb)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Vy([],{primary:e}):e;return new By(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(x(e=>new Vy([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const i of Object.keys(n.children))"primary"===i?r.unshift(i):r.push(i);return N(r).pipe(Ug(r=>{const i=n.children[r],s=Wb(t,r);return this.expandSegmentGroup(e,s,i,r).pipe(x(e=>({segment:e,outlet:r})))}),Mg((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Lg((t,n)=>e(t,n,r)):y,Hg(1),n?Qg(t):Gg(()=>new _g))}())}expandSegment(e,t,n,r,i,s){return N(n).pipe(Ug(o=>this.expandSegmentAgainstRoute(e,t,n,o,r,i,s).pipe(zg(e=>{if(e instanceof Xb)return dg(null);throw e}))),ey(e=>!!e),zg((e,n)=>{if(e instanceof _g||"EmptyError"===e.name){if(Jb(t,r,i))return dg(new Vy([],{}));throw new Xb(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,r,i,s,o){return Qb(r,t,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s):tv(t):tv(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?nv(i):this.lineralizeSegments(n,i).pipe(z(n=>{const i=new Vy(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Zb(t,r,i);if(!o)return tv(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?nv(u):this.lineralizeSegments(r,u).pipe(z(r=>this.expandSegment(e,t,n,r.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,n,r,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(x(e=>(n._loadedConfig=e,new Vy(r,{})))):dg(new Vy(r,{}));const{matched:s,consumedSegments:o,lastChild:a}=Zb(t,n,r);if(!s)return tv(t);const l=r.slice(a);return this.getChildConfig(e,n,r).pipe(z(e=>{const r=e.module,s=e.routes,{segmentGroup:a,slicedSegments:c}=Kb(t,o,l,s),u=new Vy(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,s,u).pipe(x(e=>new Vy(o,e)));if(0===s.length&&0===c.length)return dg(new Vy(o,{}));const h=qb(n)===i;return this.expandSegment(r,u,s,c,h?"primary":i,!0).pipe(x(e=>new Vy(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?dg(new Rb(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?dg(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(z(n=>n?this.configLoader.load(e.injector,t).pipe(x(e=>(t._loadedConfig=e,e))):function(e){return new b(t=>t.error(xy(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):dg(new Rb([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;return r&&0!==r.length?dg(r.map(r=>{const i=e.get(r);let s;if(function(e){return e&&Nb(e.canLoad)}(i))s=i.canLoad(t,n);else{if(!Nb(i))throw new Error("Invalid CanLoad guard");s=i(t,n)}return Fy(s)})).pipe(Vb(),ny(e=>{if(!Lb(e))return;const t=xy(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),x(e=>!0===e)):dg(!0)}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return dg(n);if(r.numberOfChildren>1||!r.children.primary)return rv(e.redirectTo);r=r.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new By(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Py(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let s={};return Py(t.children,(t,i)=>{s[i]=this.createSegmentGroup(e,t,n,r)}),new Vy(i,s)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function sv(e){const t={};for(const n of Object.keys(e.children)){const r=sv(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Vy(e.segments.concat(t.segments),t.children)}return e}(new Vy(e.segments,t))}class ov{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class av{constructor(e,t){this.component=e,this.route=t}}function lv(e,t,n){const r=e._root;return uv(r,t?t._root:null,n,[r.value])}function cv(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function uv(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=lb(t);
1return e.children.forEach(e=>{!function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!$y(e.url,t.url);case"pathParamsOrQueryParamsChange":return!$y(e.url,t.url)||!Ay(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bb(e,t)||!Ay(e.queryParams,t.queryParams);case"paramsChange":default:return!bb(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ov(r)):(s.data=o.data,s._resolvedData=o._resolvedData),uv(e,t,s.component?a?a.children:null:n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new av(a.outlet.component,o))}else o&&hv(t,a,i),i.canActivateChecks.push(new ov(r)),uv(e,null,s.component?a?a.children:null:n,r,i)}(e,s[e.value.outlet],n,r.concat([e.value]),i),delete s[e.value.outlet]}),Py(s,(e,t)=>hv(e,n.getContext(t),i)),i}function hv(e,t,n){const r=lb(e),i=e.value;Py(r,(e,r)=>{hv(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new av(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class dv{}function pv(e){return new b(t=>t.error(e))}class fv{constructor(e,t,n,r,i,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const e=Kb(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;const n=new pb([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ab(n,t),i=new fb(this.url,r);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const t=e.value,n=db(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const i of Object.keys(t.children)){const r=t.children[i],s=Wb(e,i),o=this.processSegmentGroup(s,r,i);if(null===o)return null;n.push(...o)}const r=function(e){const t=[];for(const n of e){if(!mv(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return r.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,n,r){for(const i of e){const e=this.processSegmentAgainstRoute(i,t,n,r);if(null!==e)return e}return Jb(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!Qb(e,t,n,r))return null;let i,s=[],o=[];if("**"===e.path){const r=n.length>0?Iy(n).parameters:{};i=new pb(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bv(e),qb(e),e.component,e,gv(t),yv(t)+n.length,vv(e))}else{const r=Zb(t,e,n);if(!r.matched)return null;s=r.consumedSegments,o=n.slice(r.lastChild),i=new pb(s,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bv(e),qb(e),e.component,e,gv(t),yv(t)+s.length,vv(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Kb(t,s,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new ab(i,e)]}if(0===a.length&&0===c.length)return[new ab(i,[])];const u=qb(e)===r,h=this.processSegment(a,l,c,u?"primary":r);return null===h?null:[new ab(i,h)]}}function mv(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function gv(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function yv(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function bv(e){return e.data||{}}function vv(e){return e.resolve||{}}function wv(e){return xg(t=>{const n=e(t);return n?N(n).pipe(x(()=>t)):dg(t)})}class _v extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Cv=new Yn("ROUTES");class Sv{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(x(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Rb(Oy(r.injector.get(Cv,void 0,we.Self|we.Optional)).map(Hb),r)}))}loadModuleFactory(e){return"string"==typeof e?N(this.loader.load(e)):Fy(e()).pipe(z(e=>e instanceof Vc?dg(e):N(this.compiler.compileModuleAsync(e))))}}class kv{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dv,this.attachRef=null}}class Dv{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new kv,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class xv{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Ev(e){throw e}function Av(e,t,n){return t.parse("/")}function Tv(e,t){return dg(null)}let Ov=(()=>{class e{constructor(e,t,n,r,i,s,o,a){this.rootComponentType=e,this.urlSerializer
1=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=Ev,this.malformedUriErrorHandler=Av,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Tv,afterPreactivation:Tv},this.urlHandlingStrategy=new xv,this.routeReuseStrategy=new _v,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=i.get(Bc),this.console=i.get(Hu);const l=i.get(rh);this.isNgZoneEnabled=l instanceof rh&&rh.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new By(new Vy([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Sv(s,o,e=>this.triggerEvent(new yy(e)),e=>this.triggerEvent(new by(e))),this.routerState=ub(this.currentUrlTree,this.rootComponentType),this.transitions=new pg({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Lg(e=>0!==e.id),x(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),xg(e=>{let n=!1,r=!1;return dg(e).pipe(ny(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),xg(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return dg(e).pipe(xg(e=>{const n=this.transitions.getValue();return t.next(new ly(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?Sg:Promise.resolve(e)}),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,o=this.config,xg(e=>function(e,t,n,r,i){return new iv(e,t,n,r,i).apply()}(r,i,s,e.extractedUrl,o).pipe(x(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),ny(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,i){return z(s=>function(e,t,n,r,i="emptyOnly",s="legacy"){try{const o=new fv(e,t,n,r,i,s).recognize();return null===o?pv(new dv):dg(o)}catch(o){return pv(o)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(x(e=>Object.assign(Object.assign({},s),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),ny(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new dy(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,i,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:o}=e,a=new ly(n,this.serializeUrl(r),i,s);t.next(a);const l=ub(r,this.rootComponentType).snapshot;return dg(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Sg}),wv(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),ny(e=>{const t=new py(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),x(e=>Object.assign(Object.assign({},e),{guards:lv(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return z(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?dg(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return N(e).pipe(z(e=>function(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?dg(s.map(s=>{const o=cv(s,t,i);let a;if(function(e){return e&&Nb(e.canDeactivate)}(o))a=Fy(o.canDeactivate(e,t,n,r));else{if(!Nb(o))throw new Error("Invalid CanDeactivate guard");a=Fy(o(e,t,n,r))}return a.pipe(ey())})).pipe(Vb()):dg(!0)}(e.component,e.route,n,t,r)),ey(e=>!0!==e,!0))}(o,r,i,e).pipe(z(n=>n&&"boolean"==typeof n?function(e,t,n,r){return N(t).pipe(Ug(t=>Cg(function(e,t){return null!==e&&t&&t(new vy(e)),dg(!0)}(t.route.parent,r),function(e,t){return null!==e&&t&&t(new _y(e)),dg(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Dg(()=>dg(t.guards.map(i=>{const s=cv(i,t.node,n);let o;if(function(e){return e&&Nb(e.canActivateChild)}(s))o=Fy(s.canActivateChild(r,e));else{if(!Nb(s))throw new Error("Invalid CanActivateChild guard");o=Fy(s(r,e))}
1return o.pipe(ey())})).pipe(Vb())));return dg(i).pipe(Vb())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?dg(r.map(r=>Dg(()=>{const i=cv(r,t,n);let s;if(function(e){return e&&Nb(e.canActivate)}(i))s=Fy(i.canActivate(t,e));else{if(!Nb(i))throw new Error("Invalid CanActivate guard");s=Fy(i(t,e))}return s.pipe(ey())}))).pipe(Vb()):dg(!0)}(e,t.route,n))),ey(e=>!0!==e,!0))}(r,s,e,t):dg(n)),x(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),ny(e=>{if(Lb(e.guardsResult)){const t=xy(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new fy(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Lg(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new uy(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),wv(e=>{if(e.guards.canActivateChecks.length)return dg(e).pipe(ny(e=>{const t=new my(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),xg(e=>{let n=!1;return dg(e).pipe((r=this.paramsInheritanceStrategy,i=this.ngModule.injector,z(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return dg(e);let s=0;return N(n).pipe(Ug(e=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return dg({});const s={};return N(i).pipe(z(i=>function(e,t,n,r){const i=cv(e,t,r);return Fy(i.resolve?i.resolve(t,n):i(t,n))}(e[i],t,n,r).pipe(ny(e=>{s[i]=e}))),Hg(1),z(()=>Object.keys(s).length===i.length?dg(s):Sg))}(e._resolve,e,t,r).pipe(x(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),db(e,n).resolve),null)))}(e.route,t,r,i)),ny(()=>s++),Hg(1),z(t=>s===n.length?dg(e):Sg))})),ny({next:()=>n=!0,complete:()=>{if(!n){const n=new uy(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var r,i}),ny(e=>{const t=new gy(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),wv(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),x(e=>{const t=function(e,t,n){const r=vb(e,t._root,n?n._root:void 0);return new cb(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),ny(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=e=>this.triggerEvent(e),x(e=>(new Fb(o,e.targetRouterState,e.currentRouterState,a).activate(s),e))),ny({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new uy(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new sy(i))),zg(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Lb(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new uy(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new hy(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var i;return Sg}));var i,s,o,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,i={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(r,e,n,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){$b(e),this.config=e.map(Hb),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:s,preserveFragment:o}=t,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,r,i){if(0===n.length)return Sb(t.root,t.root,t,r,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Db(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Py(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Db(n,t,r)}(n);if(s.toRoot())return Sb(t.root,new Vy([],{}),t,r,i);const o=function(e,t,n){if(e.isAbsolute)return new xb(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new xb(e,e===t.root,0)}const r=_b(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new xb(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?Ab(o.segmentGroup,o.index,s.commands):Eb(o.segmentGroup,o.index,s.commands);return Sb(o.segmentGroup,a,t,r,i)}(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=Lb(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Lb(e))return My(this.currentUrlTree,e,t);const n=this.parseUrl(e);return My(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new cy(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,i){const s=this.getTransition(),o="imperative"!==t&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;i?(l=i.resolve,c=i.reject,u=i.promise):u=new Promise((e,t)=>
1{l=e,c=t});const h=++this.navigationId;return this.setTransition({id:h,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(pr(Jn),pr(jy),pr(Dv),pr(Qh),pr(Ao),pr(xh),pr(eh),pr(void 0))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Iv=(()=>{class e{constructor(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new S,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:Fv(this.skipLocationChange),replaceUrl:Fv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Fv(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ov),Ko(hb),Zn("tabindex"),Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&aa("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ut]}),e})(),Pv=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new S,this.subscription=e.events.subscribe(e=>{e instanceof cy&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,i){if(0!==e||t||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Fv(this.skipLocationChange),replaceUrl:Fv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Fv(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ov),Ko(hb),Ko(Wh))},e.\u0275dir=Ze({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&aa("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(ja("href",t.href,ai),qo("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ut]}),e})();function Fv(e){return""===e||!!e}let Mv=(()=>{class e{constructor(e,t,n,r,i,s){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof cy&&this.update()})}ngAfterContentInit(){dg(this.links.changes,this.linksWithHrefs.changes,dg(null)).pipe(U()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=N(t).pipe(U()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEac
1h(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ov),Ko(nc),Ko(sc),Ko(Ac),Ko(Iv,8),Ko(Pv,8))},e.\u0275dir=Ze({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(Ou(n,Iv,1),Ou(n,Pv,1)),2&e){let e;Au(e=Iu())&&(t.links=e),Au(e=Iu())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[ut]}),e})(),Rv=(()=>{class e{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new gu,this.deactivateEvents=new gu,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Nv(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(Ko(Dv),Ko($c),Ko(Jl),Zn("name"),Ko(Ac))},e.\u0275dir=Ze({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Nv{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===hb?this.route:e===Dv?this.childContexts:this.parent.get(e,t)}}class Lv{}class Bv{preload(e,t){return dg(null)}}let Vv=(()=>{class e{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new Sv(t,n,t=>e.triggerEvent(new yy(t)),t=>e.triggerEvent(new by(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Lg(e=>e instanceof cy),Ug(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Bc);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return N(n).pipe(U(),x(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(z(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(pr(Ov),pr(xh),pr(eh),pr(Ao),pr(Lv))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),zv=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ly?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof cy&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Sy&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Sy(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(pr(Ov),pr(lp),pr(void 0))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const $v=new Yn("ROUTER_CONFIGURATION"),jv=new Yn("ROUTER_FORROOT_GUARD"),Uv=[Qh,{provide:jy,useClass:Uy},{provide:Ov,useFactory:function(e,t,n,r,i,s,o,a={},l,c){const u=new Ov(null,e,t,n,r,i,s,Oy(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(a,u),a.enableTracing){const e=Rh();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return u},deps:[jy,Dv,Qh,Ao,xh,eh,Cv,$v,[class{},new yr],[class{},new yr]]},Dv,{provide:hb,useFactory:function(e){return e.routerState.root},deps:[Ov]},{provide:xh,useClass:Th},Vv,Bv,class{preload(e,t){return t().pipe(zg(()=>dg(null)))}},{provide:$v,useValue:{enableTracing:!1}}];function Hv(){return new vh("Router",Ov)}let qv=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Uv,Kv(t),{provide:jv,useFactory:Zv,deps:[[Ov,new yr,new br]]},{provide:$v,useValue:n||{}},{provide:Wh,useFactory:Gv,deps:[Lh,[new gr(Zh),new yr],$v]},{provide:zv,useFactory:Wv,deps:[Ov,lp,$v]},{provide:Lv,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bv},{provide:vh,multi:!0,useFactory:Hv},[Yv,{provide:Nu,multi:!0,useFactory:Qv,deps:[Yv]},{provide:Xv,useFactory:Jv,deps:[Yv]},{provide:Uu,multi:!0,useExisting:Xv}]]}}static forChild(t){return{ngModule:e,providers:[Kv(t)]}}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(pr(jv,8),pr(Ov,8))}}),e})();function Wv(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new zv(e,t,n)}function Gv(e,t,n={}){return n.useHash?new Yh(e,t):new Kh(e,t)}function Zv(e){return"guarded"}function Kv(e){return[{provide:Qn,multi:!0,useValue:e},{provide:Cv,multi:!0,useValue:e}]}let Yv=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(Vh,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Ov),r=this.injector.get($v);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?dg(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get($v),n=this.injector.get(Vv),r=this.injector.get(zv),i=this.injector.get(Ov),s=this.injector.get(kh);e===s.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(pr(Ao))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();function Qv(e){return e.appInitializer.bind(e)}function Jv(e){return e.bootstrapListener.bind(e)}const Xv=new Yn("Router Initializer"),ew=jp("routerTransition",[Zp("* <=> *",[Yp(":enter, :leave",Wp({position:"fixed",width:"100%",opacity:0}
1),{optional:!0}),Yp(".block",Wp({opacity:0})),Hp([Yp(":enter",[Wp({transform:"translateX(100%)"}),Up("0.5s ease-in-out",Wp({transform:"translateX(0%)",opacity:1}))],{optional:!0}),Yp(":leave",[Wp({transform:"translateX(0%)"}),Up("0.5s ease-in-out",Wp({transform:"translateX(-100%)"}))],{optional:!0})]),Yp(":enter .block",(tw=[Wp({transform:"translateY(100px)"}),Up("1s ease-in-out",Wp({transform:"translateY(0px)",opacity:1}))],{type:12,timings:400,animation:tw}))])]);var tw;jp("routeAnimations",[Zp("* <=> *",[Yp(":enter, :leave",[Wp({position:"absolute",left:0,width:"100%",opacity:0,transform:"scale(0) translateY(100%)"})]),Yp(":enter",[Up("600ms ease",Wp({opacity:1,transform:"scale(1) translateY(0)"}))])])]);var nw=n("Wgwc"),rw=(n("YhBJ"),n("+QaA"));let iw={anrede:"",vorname:"",nachname:"",email:"",uebernachtung:[]};function sw(e,t){let n=ow(iw);n.uebernachtung.push({semcode:e,uebernachtung:0,uebernachtungStart:"",uebernachtungEnde:""});for(const r of t)n.uebernachtung.push({semcode:r.SeminarCode,uebernachtung:0,uebernachtungStart:"",uebernachtungEnde:""});return n}function ow(e){return JSON.parse(JSON.stringify(e))}const aw=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;nw.locale("de"),nw.extend(rw);const lw={Instandsetzung:"#e5004b","Basiswissen Bahntechnik":"#9b3101","Ausbildung und regelm\xe4\xdfige Fortbildung":"#993a8b",Inspektion:"#f7a500","Recht und Betrieb":"#7d7e82","Qualit\xe4t und Nachhaltigkeit":"#0162a1","Planen und Bauen":"#4ab5e0","Rad/Schiene":"#019635",Symposium:"#5aa45a"},cw=(e,t)=>e.map(e=>{var n,r;e.Seminare=(null===(n=e.Seminare)||void 0===n?void 0:n.map(n=>(n.Zimmerpreis&&(n.Zimmerpreis=parseFloat(n.Zimmerpreis.toString())),n.Teilnehmer||(n.Teilnehmer=[]),0==e.ProduktArt&&n.Amount>n.Teilnehmer.length&&(console.log("need to fill teilis"),n.Teilnehmer=new Array(n.Amount).fill(1).map(e=>sw(n.Code,n.FolgeCodes))),t&&(n.Amount=1,n.UebernachtungGleich=!1,n.Teilnehmer=[sw(n.Code,n.FolgeCodes)]),n)))||[];let i=e.Seminare[0];for(let t=0;t<(null===(r=e.Seminare)||void 0===r?void 0:r.length);t++){const n=e.Seminare[t];if(0===n.Virtuell){i=n;break}}if(i){let t=nw(i.Beginn,"DD.MM.YYYY"),n=nw(i.Ende,"DD.MM.YYYY").diff(t,"days")+1;i.FolgeCodes.length>0&&(n+=i.FolgeCodes.map(e=>{let t=nw(e.Beginn,"DD.MM.YYYY");return nw(e.Ende,"DD.MM.YYYY").diff(t,"days")+1}).reduce((e,t)=>e+t)),e.SeminarDauer=n}return e.showModal=!1,e});class uw{}class hw{}class dw{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof dw?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 dw;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof dw?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEac
vendor: 9,021 bytes, line 1
1h(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class pw{encodeKey(e){return fw(e)}encodeValue(e){return fw(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function fw(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 mw{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new pw,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[i,s]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,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"})}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 mw({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 gw(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function yw(e){return"undefined"!=typeof Blob&&e instanceof Blob}function bw(e){return"undefined"!=typeof FormData&&e instanceof FormData}class vw{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new dw),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new mw,this.urlWithParams=t}serializeBody(){return null===this.body?null:gw(this.body)||yw(this.body)||bw(this.body)||"string"==typeof this.body?this.body:this.body instanceof mw?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||bw(this.body)?null:yw(this.body)?this.body.type||null:gw(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof mw?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new vw(t,n,i,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}var ww=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 _w{constructor(e,t=200,n="OK"){this.headers=e.headers||new dw,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 Cw extends _w{constructor(e={}){super(e),this.type=ww.ResponseHeader}clone(e={}){return new Cw({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 Sw extends _w{constructor(e={}){super(e),this.type=ww.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Sw({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 kw extends _w{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 Dw(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let xw=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof vw)r=e;else{let i,s;i=n.headers instanceof dw?n.headers:new dw(n.headers),n.params&&(s=n.params instanceof mw?n.params:new mw({fromObject:n.params})),r=new vw(e,t,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=dg(r).pipe(Ug(e=>this.handler.handle(e)));if(e instanceof vw||"events"===n.observe)return i;const s=i.pipe(Lg(e=>e instanceof Sw));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(x(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(x(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(x(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(x(e=>e.body))}case"response":return s;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 mw).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,Dw(n,t))}post(e,t,n={}){return this.request("POST",e,Dw(n,t))}put(e,t,n={}){return this.request("PUT",e,Dw(n,t))}}return e.\u0275fac=function(t){return new(t||e)(pr(uw))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class Ew{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Aw=new Yn("HTTP_INTERCEPTORS");let Tw=(()=>{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 Ow=/^\)\]\}',?\n/;class Iw{}let Pw=(()=>{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})(),Fw=(()=>{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 b(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let i=null;const s=()=>
1{if(null!==i)return i;const t=1223===n.status?204:n.status,r=n.statusText||"OK",s=new dw(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 i=new Cw({headers:s,status:t,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(Ow,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new Sw({body:l,headers:r,status:i,statusText:o,url:a||void 0})),t.complete()):t.error(new kw({error:l,headers:r,status:i,statusText:o,url:a||void 0}))},a=e=>{const{url:r}=s(),i=new kw({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let l=!1;const c=r=>{l||(t.next(s()),l=!0);let i={type:ww.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},u=e=>{let n={type:ww.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:ww.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(pr(Iw))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Mw=new Yn("XSRF_COOKIE_NAME"),Rw=new Yn("XSRF_HEADER_NAME");class Nw{}let Lw=(()=>{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=zd(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh),pr(ju),pr(Mw))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Bw=(()=>{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 r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(pr(Nw),pr(Rw))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),Vw=(()=>{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(Aw,[]);this.chain=e.reduceRight((e,t)=>new Ew(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(pr(hw),pr(Ao))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),zw=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Bw,useClass:Tw}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Mw,useValue:t.cookieName}:[],t.headerName?{provide:Rw,useValue:t.headerName}:[]]}}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[Bw,{provide:Aw,useExisting:Bw,multi:!0},{provide:Nw,useClass:Lw},{provide:Mw,useValue:"XSRF-TOKEN"},{provide:Rw,useValue:"X-XSRF-TOKEN"}]}),e})(),$w=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[xw,{provide:uw,useClass:Vw},Fw,{provide:hw,useExisting:Fw},Pw,{provide:Iw,useExisting:Pw}],imports:[[zw.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();var jw=n("BOF4");let Uw=(()=>{class e{constructor(e){if(this.http=e,this.$token=new pg(!1),this.$token=new pg({}),localStorage.getItem("jwt")){let e=localStorage.getItem("jwt"),t=localStorage.getItem("jwt_exp"),n=Math.floor(Date.now()/1e3);parseInt(t)>n&&(this.token=jw(e),this.$token.next({decoded:this.token,encoded:e,expires:t||void 0}))}}loginCustomer(e,t){return this.http.post("https://server.bahnwege-seminare.de/customer/login",{email:e,pwhash:t})}login(e,t,n){return(n&&"customer"==n?this.loginCustomer(e,t):this.sendLogin(e,t)).pipe(ey(),x(e=>!!e.token&&(console.log("login,token"),this.setToken(e),!0)),zg(e=>(console.error(e),new pg(!1))))}setToken(e){localStorage.setItem("jwt",e.token),localStorage.setItem("jwt_exp",e.expiresAt),this.token=jw(e.token),this.$token.next({decoded:this.token,encoded:e.token,expires:e.expiresAt})}sendLogin(e,t){return this.http.post("https://server.bahnwege-seminare.de/admin/login",{email:e,pwhash:t})}logout(e){window.onbeforeunload=function(){},localStorage.removeItem("jwt"),localStorage.removeItem("jwt_exp"),this.token=void 0,this.$token.next({}),e&&location.reload()}}return e.\u0275fac=function(t){return new(t||e)(pr(xw))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Hw=(()=>{class e{constructor(e,t){this.http=e,this.authService=t,this.apiURL="https://server.bahnwege-seminare.de",this.headers=new dw({Authorization:"Basic ZGVtbzp0ZXN0MTIzNHRn"}),this.authService.$token.subscribe(e=>{this.token=e})}validateVAT(e){return this.http.get(this.apiURL+"/checkout/validateVAT/"+e,{headers:this.headers})}sendOrder(e){return this.http.post(this.apiURL+"/checkout/order",e,this.token?{headers:this.getTokenHeaders()}:{headers:this.headers})}getOrderHistory(){if(this.token)return this.http.get(this.apiURL+"/customer/orders",{headers:this.getTokenHeaders()})}saveCustomerData(e){if(this.token)return this.http.post(this.apiURL+"/customer/data",e,{headers:this.getTokenHeaders()})}requestPasswordReset(e){return this.http.post(this.apiURL+"/customer/requestResetPassword",{email:e},{headers:this.headers})}passwordReset(e){return this.http.post(this.apiURL+"/customer/resetPassword",e,{headers:this.headers})}getNewsletter(){return this.http.get(this.apiURL+"/newsletter",{headers:this.headers})}sendNewsletterActivation(e){return this.http.post(this.apiURL+"/newsletter/activate",{id:e},{headers:this.headers})}sendNewsletterForm(e){return this.http.post(this.apiURL+"/newsletter/register",e,{headers:this.headers})}sendContactForm(e){return this.http.post(this.apiURL+"/kontaktFormular",e,{headers:this.headers})}sendRequestForm(e){return this.http.post(this.apiURL+"/requestFormular",e,{headers:this.headers})}getSeminare(){return this.http.get(this.apiURL+"/seminare",{headers:this.headers})}getSeminareZielgruppen(){return this.http.get(this.apiURL+"/seminare/zielgruppen",{headers:this.headers})}getSeminareImages(){return this.http.get(this.apiURL+"/seminare/images",{headers:this.headers})}getSeminareFilterZielgruppe(e){return this.http.get(this.apiURL+"/seminare/filterZielgruppe/"+e,{headers:this.headers})}getElearningProdukte(){return this.http.get(this.apiURL+"/e-learning-produkte",{headers:this.headers})}getMerchandiseProdukte(){return this.http.get(this.apiURL+"/merchandise-produkte",{headers:this.headers})}getLiteraturProdukte(){return this.http.get(this.apiURL+"/literatur-produkte",{headers:this.headers})}getKarriereplan(){return this.http.get(this.apiURL+"/karriereplan",{headers:this.headers})}getPage(e,t){return this.http.get(this.apiURL+"/page/"+e+(t&&""!=t?"/"+t:""),{headers:this.getTokenHeaders()})}getPWPage(e,t,n){return this.http.post(this.apiURL+"/page/"+e+(t&&""!=t?"/"+t:""),{password:n},{headers:this.getTokenHeaders()})}getPages(){return this.http.get(this.apiURL+"/pages/",{headers:this.getTokenHeaders()})}getPageById(e){return this.http.get(this.apiURL+"/pageById/"+e,{headers:this.getTokenHeaders()})}adminGetPageMedia(e){return this.http.get(this.apiURL+`/admin/pageMedia/${e}`,{headers:this.getTokenHeaders()})}adminUploadContentBuilderImages(e){return this.http.post(this.apiURL+"/admin/uploadContentBuilderImages/",e,{headers:this.getTokenHeaders()})}adminUploadPagesMedia(e){return this.http.post(this.apiURL+"/admin/uploadPagesMedia/",e,{headers:this.getTokenHeaders()})}adminDeletePagesMedia(e,t){return this.http.post(this.apiURL+"/admin/deletePagesMedia/"+e,t,{headers:this.getTokenHeaders()})}adminPostPage(e){return this.http.post(this.apiURL+"/admin/page",e,{headers:this.getTokenHeaders()})}adminGetOrders(){return this.http.get(this.apiURL+"/admin/orders",{headers:this.getTokenHeaders()})}adminGetPages(){return this.http.get(this.apiURL+"/admin/pages",{headers:this.getTokenHeaders()})}adminPostNewPage(e){return this.http.post(this.apiURL+"/admin/newPage",e,{headers:this.getTokenHeaders()})}
1adminDuplicatePage(e){return this.http.post(this.apiURL+"/admin/duplicatePage",{pageId:e},{headers:this.getTokenHeaders()})}getTokenHeaders(){return new dw({Authorization:`Bearer ${this.token.encoded}`})}}return e.\u0275fac=function(t){return new(t||e)(pr(xw),pr(Uw))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function qw(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function Ww(e,t){return function(n,r){t(n,r,e)}}const Gw=["toast-component",""];function Zw(e,t){if(1&e){const e=ra();Jo(0,"button",5),aa("click",function(){return Rt(e),ua().remove()}),Jo(1,"span",6),Na(2,"\xd7"),Xo(),Xo()}}function Kw(e,t){if(1&e&&(ta(0),Na(1),na()),2&e){const e=ua(2);ps(1),Ba("[",e.duplicatesCount+1,"]")}}function Yw(e,t){if(1&e&&(Jo(0,"div"),Na(1),Go(2,Kw,2,1,"ng-container",4),Xo()),2&e){const e=ua();Da(e.options.titleClass),qo("aria-label",e.title),ps(1),Ba(" ",e.title," "),ps(1),Yo("ngIf",e.duplicatesCount)}}function Qw(e,t){if(1&e&&ea(0,"div",7),2&e){const e=ua();Da(e.options.messageClass),Yo("innerHTML",e.message,oi)}}function Jw(e,t){if(1&e&&(Jo(0,"div",8),Na(1),Xo()),2&e){const e=ua();Da(e.options.messageClass),qo("aria-label",e.message),ps(1),Ba(" ",e.message," ")}}function Xw(e,t){if(1&e&&(Jo(0,"div"),ea(1,"div",9),Xo()),2&e){const e=ua();ps(1),Sa("width",e.width+"%")}}function e_(e,t){if(1&e){const e=ra();Jo(0,"button",5),aa("click",function(){return Rt(e),ua().remove()}),Jo(1,"span",6),Na(2,"\xd7"),Xo(),Xo()}}function t_(e,t){if(1&e&&(ta(0),Na(1),na()),2&e){const e=ua(2);ps(1),Ba("[",e.duplicatesCount+1,"]")}}function n_(e,t){if(1&e&&(Jo(0,"div"),Na(1),Go(2,t_,2,1,"ng-container",4),Xo()),2&e){const e=ua();Da(e.options.titleClass),qo("aria-label",e.title),ps(1),Ba(" ",e.title," "),ps(1),Yo("ngIf",e.duplicatesCount)}}function r_(e,t){if(1&e&&ea(0,"div",7),2&e){const e=ua();Da(e.options.messageClass),Yo("innerHTML",e.message,oi)}}function i_(e,t){if(1&e&&(Jo(0,"div",8),Na(1),Xo()),2&e){const e=ua();Da(e.options.messageClass),qo("aria-label",e.message),ps(1),Ba(" ",e.message," ")}}function s_(e,t){if(1&e&&(Jo(0,"div"),ea(1,"div",9),Xo()),2&e){const e=ua();ps(1),Sa("width",e.width+"%")}}class o_{constructor(e,t,n,r,i,s){this.toastId=e,this.config=t,this.message=n,this.title=r,this.toastType=i,this.toastRef=s,this._onTap=new S,this._onAction=new S,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}}const a_={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},l_=new Yn("ToastConfig");class c_{constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){const e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class u_ extends class{attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}}{constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){const n=this._componentFactoryResolver.resolve
1ComponentFactory(e.component);let r;return r=n.create(e.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let h_=(()=>{let e=class{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}};return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({factory:function(){return new e(pr(Nh))},token:e,providedIn:"root"}),e=qw([Ww(0,gr(Nh))],e),e})();class d_{constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}}let p_=(()=>{let e=class{constructor(e,t,n,r){this._overlayContainer=e,this._componentFactoryResolver=t,this._appRef=n,this._document=r,this._paneElements=new Map}create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(e){return new u_(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new d_(this._createPortalHost(e))}};return e.\u0275fac=function(t){return new(t||e)(pr(h_),pr(Jl),pr(kh),pr(Nh))},e.\u0275prov=he({factory:function(){return new e(pr(h_),pr(Jl),pr(kh),pr(Nh))},token:e,providedIn:"root"}),e=qw([Ww(3,gr(Nh))],e),e})();class f_{constructor(e){this._overlayRef=e,this.duplicatesCount=0,this._afterClosed=new S,this._activate=new S,this._manualClose=new S,this._resetTimeout=new S,this._countDuplicate=new S}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class m_{constructor(e,t){this._toastPackage=e,this._parentInjector=t}get(e,t,n){return e===o_?this._toastPackage:this._parentInjector.get(e,t,n)}}let g_=(()=>{let e=class{constructor(e,t,n,r,i){this.overlay=t,this._injector=n,this.sanitizer=r,this.ngZone=i,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},e.default.iconClasses),e.config.iconClasses))}show(e,t,n={},r=""){return this._preBuildNotification(r,e,t,this.applyConfig(n))}success(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}error(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}info(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}warning(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}clear(e){for(const t of this.toasts)if(void 0!==e){if(t.toastId===e)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}remove(e){const t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const e=this.toasts[this.currentlyActive].toastRef;e.isInactive()||(this.currentlyActive=this.currentlyActive+1,e.activate())}return!0}findDuplicate(e,t,n){for(const r of this.toasts)if(r.message===e)return r.toastRef.onDuplicate(t,n),r;return null}applyConfig(e={}){return Object.assign(Object.assign({},this.toastrConfig),e)}_findToast(e){for(let t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===e)return{index:t,activeToast:this.toasts[t]};return null}_preBuildNotification(e,t,n,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,t,n,r)):this._buildNotification(e,t,n,r)}_buildNotification(e,t,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const i=this.findDuplicate(t,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==i)return i;this.previousToastMessage=t;let s=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const o=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let a=t;t&&r.enableHtml&&(a=this.sanitizer.sanitize(si.HTML,t));const l=new f_(o),c=new o_(this.index,r,a,n,e,l),u=new m_(c,this._injector),h=new c_(r.toastComponent,u),d=o.attach(h,this.toastrConfig.newestOnTop);l.componentInstance=d.instance;const p={toastId:this.index,message:t||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:c.onTap(),onAction:c.onAction(),portal:d};return s||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{p.toastRef.activate()})),this.toasts.push(p),p}};return e.\u0275fac=function(t){return new(t||e)(pr(l_),pr(p_),pr(Ao),pr(Np),pr(rh))},e.\u0275prov=he({factory:function(){return new e(pr(l_),pr(p_),pr(ho),pr(Np),pr(rh))},token:e,providedIn:"root"}),e=qw([Ww(0,gr(l_))],e),e})(),y_=(()=>{let e=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}};return e.\u0275fac=function(t){return new(t||e)(Ko(g_),Ko(o_),Ko(rh))},e.\u0275cmp=je({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,t){1&e&&aa("click",function(){return t.tapToast()})("mouseenter",function(){return t.stickAround()})("mouseleave",function(){return t.delayedHideToast()}),2&e&&(Ua("@flyInOut",t.state),Da(t.toastClasses),Sa("display",t.displayStyle))},attrs:Gw,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(Go(0,Zw,3,0,"button",0),Go(1,Yw,3,5,"div",1),Go(2,Qw,1,3,"div",2),Go(3,Jw,2,4,"div",3),Go(4,Xw,2,2,"div",4)),2&e&&(Yo("ngIf",t.options.closeButton),ps(1),Yo("ngIf",t.title),ps(1),Yo("ngIf",t.message&&t.options.enableHtml),ps(1),Yo("ngIf",t.message&&!t.options.enableHtml),ps(1),Yo("ngIf",t.options.progressBar))},directives:[qd],encapsulation:2,data:{animation:[jp("flyInOut",[Gp("inactive",Wp({opacity:0})),Gp("active",Wp({opacity:1})),Gp("removed",Wp({opacity:0})),Zp("inactive => active",Up("{{ easeTime }}ms {{ easing }}")),Zp("active => removed",Up("{{ easeTime }}ms {{ easing }}"))])]}}),e})();var b_;const v_=Object.assign(Object.assign({},a_),{toastComponent:y_});let w_=(()=>{let e=b_=class{static forRoot(e={}){return{ngModule:b_,providers:[{provide:l_,useValue:{default:v_,config:e}}]}}};return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),__=(()=>{let e=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0
1),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}};return e.\u0275fac=function(t){return new(t||e)(Ko(g_),Ko(o_),Ko(kh))},e.\u0275cmp=je({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,t){1&e&&aa("click",function(){return t.tapToast()})("mouseenter",function(){return t.stickAround()})("mouseleave",function(){return t.delayedHideToast()}),2&e&&(Da(t.toastClasses),Sa("display",t.displayStyle))},attrs:Gw,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(Go(0,e_,3,0,"button",0),Go(1,n_,3,5,"div",1),Go(2,r_,1,3,"div",2),Go(3,i_,2,4,"div",3),Go(4,s_,2,2,"div",4)),2&e&&(Yo("ngIf",t.options.closeButton),ps(1),Yo("ngIf",t.title),ps(1),Yo("ngIf",t.message&&t.options.enableHtml),ps(1),Yo("ngIf",t.message&&!t.options.enableHtml),ps(1),Yo("ngIf",t.options.progressBar))},directives:[qd],encapsulation:2}),e})();function C_(e,t,n,i){return r(n)&&(i=n,n=void 0),i?C_(e,t,n).pipe(x(e=>l(e)?i(...e):i(e))):new b(r=>{S_(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}function S_(e,t,n,r,i){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,i),s=()=>r.removeEventListener(t,n,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),s=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),s=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,o=e.length;s<o;s++)S_(e[s],t,n,r,i)}r.add(s)}Object.assign(Object.assign({},a_),{toastComponent:__});class k_ extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class D_ extends k_{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let x_=(()=>{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 E_ extends x_{constructor(e,t=x_.now){super(e,()=>E_.delegate&&E_.delegate!==this?E_.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return E_.delegate&&E_.delegate!==this?E_.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}}}const A_=new E_(D_);function T_(e){return!l(e)&&e-parseFloat(e)+1>=0}function O_(e=0,t,n){let r=-1;return T_(t)?r=Number(t)<1?1:Number(t):D(t)&&(n=t),D(n)||(n=A_),new b(t=>{const i=T_(e)?e:+e-n.now();return n.schedule(I_,i,{index:0,period:r,subscriber:t})})}function I_(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function P_(...e){if(1===e.length){if(!l(e[0]))return e[0];e=e[0]}return H(e,void 0).lift(new F_)}class F_{call(e,t){return t.subscribe(new M_(e))}}class M_ extends fg{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){const t=gg(this,e[n],void 0,n);this.subscriptions&&this.subscriptions.push(t),this.add(t)}this.observables=null}}notifyNext(e,t,n){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}const R_=new b(ty);function N_(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),H(e,void 0).lift(new L_(t))}class L_{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new B_(e,this.resultSelector))}}class B_ extends f{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;l(e)?t.push(new z_(e)):t.push("function"==typeof e[I]?new V_(e[I]()):new $_(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];t.stillUnsubscribed?this.destination.add(t.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let s=0;s<t;s++){let t=e[s];if("function"==typeof t.hasValue&&!t.hasValue())return}let r=!1;const i=[];for(let s=0;s<t;s++){let t=e[s],o=t.next();if(t.hasCompleted()&&(r=!0),o.done)return void n.complete();i.push(o.value)}this.resultSelector?this._tryresultSelector(i):n.next(i),r&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class V_{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}
1next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return Boolean(e&&e.done)}}class z_{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[I](){return this}next(e){const t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class $_ extends B{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[I](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return V(this.observable,new L(this))}}function j_(e){return t=>t.lift(new U_(e))}class U_{constructor(e){this.notifier=e}call(e,t){const n=new H_(e),r=V(this.notifier,new L(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class H_ extends B{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function q_(e,t){return n=>n.lift(new W_(e,t))}class W_{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new G_(e,this.compare,this.keySelector))}}class G_ extends f{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}function Z_(...e){return t=>{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new K_(e,n))}}class K_{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new Y_(e,this.observables,this.project))}}class Y_ extends fg{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let i=0;i<r;i++)this.toRespond.push(i);for(let i=0;i<r;i++)this.add(gg(this,t[i],void 0,i))}notifyNext(e,t,n){this.values[n]=t;const r=this.toRespond;if(r.length>0){const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function Q_(e,t){return new b(t?n=>t.schedule(J_,0,{error:e,subscriber:n}):t=>t.error(e))}function J_({error:e,subscriber:t}){t.error(e)}let X_=(()=>{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 dg(this.value);case"E":return Q_(this.error);case"C":return kg()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();function eC(e,t=A_){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new tC(r,t))}class tC{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new nC(e,this.delay,this.scheduler))}}class nC extends f{constructor(e,t,n){super(e),this.delay=t,this.scheduler
1=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,r=e.scheduler,i=e.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const t=Math.max(0,n[0].time-r.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(nC.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new rC(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(X_.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(X_.createComplete()),this.unsubscribe()}}class rC{constructor(e,t){this.time=e,this.notification=t}}class iC{constructor(e){this.total=e}call(e,t){return t.subscribe(new sC(e,this.total))}}class sC extends f{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}function oC(e,t){return new b(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let a=0;a<r;a++){const l=N(e[a]);let c=!1;n.add(l.subscribe({next:e=>{c||(c=!0,o++),i[a]=e},error:e=>n.error(e),complete:()=>{s++,s!==r&&c||(o===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}const aC=new Yn("NgValueAccessor"),lC={provide:aC,useExisting:ae(()=>cC),multi:!0};let cC=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&aa("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[Kl([lC])]}),e})();const uC={provide:aC,useExisting:ae(()=>dC),multi:!0},hC=new Yn("CompositionEventMode");let dC=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Rh()?Rh().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc),Ko(hC,8))},e.\u0275dir=Ze({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&aa("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[Kl([uC])]}),e})();function pC(e){return null==e||0===e.length}function fC(e){return null!=e&&"number"==typeof e.length}const mC=new Yn("NgValidators"),gC=new Yn("NgAsyncValidators"),yC=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class bC{static min(e){return t=>{if(pC(t.value)||pC(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(pC(t.value)||pC(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return pC(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return pC(e.value)||yC.test(e.value)?null:{email:!0}}static minLength(e){return t=>pC(t.value)||!fC(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}static maxLength(e){return t=>fC(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return bC.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(pC(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(e){return _C(CC(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(vC);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(l(t))return oC(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return oC(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return oC(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(x(e=>t(...e)))}return oC(e,null)}(CC(e,t).map(wC)).pipe(x(_C))}}}function vC(e){return null!=e}function wC(e){const t=ia(e)?N(e):e;return oa(t),t}function _C(e){let t={};
1return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function CC(e,t){return t.map(t=>t(e))}function SC(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function kC(e){return null!=e?bC.compose(SC(e)):null}function DC(e){return null!=e?bC.composeAsync(SC(e)):null}function xC(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function EC(e){return e._rawValidators}function AC(e){return e._rawAsyncValidators}let TC=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=kC(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=DC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e}),e})(),OC=(()=>{class e extends TC{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return IC(t||e)},e.\u0275dir=Ze({type:e,features:[Oo]}),e})();const IC=Gn(OC);class PC extends TC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class FC{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let MC=(()=>{class e extends FC{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(PC,2))},e.\u0275dir=Ze({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ka("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[Oo]}),e})(),RC=(()=>{class e extends FC{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(OC,10))},e.\u0275dir=Ze({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&ka("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[Oo]}),e})();const NC={provide:aC,useExisting:ae(()=>LC),multi:!0};let LC=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&aa("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[Kl([NC])]}),e})();const BC={provide:aC,useExisting:ae(()=>zC),multi:!0};let VC=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}
1select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),zC=(()=>{class e{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(PC),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc),Ko(VC),Ko(Ao))},e.\u0275dir=Ze({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&aa("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Kl([BC])]}),e})();const $C={provide:aC,useExisting:ae(()=>jC),multi:!0};let jC=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&aa("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[Kl([$C])]}),e})();const UC={provide:aC,useExisting:ae(()=>qC),multi:!0};function HC(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let qC=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=HC(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&aa("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Kl([UC])]}),e})(),WC=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(HC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(sc),Ko(qC,9))},e.\u0275dir=Ze({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const GC={provide:aC,useExisting:ae(()=>KC),multi:!0};function ZC(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let KC=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(Ko(sc),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&aa("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Kl([GC])]}),e})(),YC=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(ZC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ZC(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(sc),Ko(KC,9))},e.\u0275dir=Ze({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();function QC(e,t){return[...t.path,e]}function JC(e,t){tS(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&rS(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&rS(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function XC(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),nS(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function eS(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function tS(e,t,n){const r=EC(e);null!==t.validator?e.setValidators(xC(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const i=AC(e);if(null!==t.asyncValidator?e.setAsyncValidators(xC(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]),n){const n=()=>e.updateValueAndValidity();eS(t._rawValidators,n),eS(t._rawAsyncValidators,n)}}function nS(e,t,n){let r=!1;if(null!==e){if(null!==t.validator){const n=EC(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.validator);i.length!==n.length&&(r=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const n=AC(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.asyncValidator);i.length!==n.length&&(r=!0,e.setAsyncValidators(i))}}}if(n){const e=()=>{};eS(t._rawValidators,e),eS(t._rawAsyncValidators,e)}return r}function rS(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function iS(e,t){tS(e,t,!1)}function sS(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const oS=[cC,jC,LC,qC,KC,zC];
1function aS(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function lS(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===dC?n=e:(t=e,oS.some(e=>t.constructor===e)?r=e:i=e)}),i||r||n||null}function cS(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function uS(e){return(fS(e)?e.validators:e)||null}function hS(e){return Array.isArray(e)?kC(e):e||null}function dS(e,t){return(fS(t)?t.asyncValidators:e)||null}function pS(e){return Array.isArray(e)?DC(e):e||null}function fS(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class mS{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=hS(this._rawValidators),this._composedAsyncValidatorFn=pS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=hS(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=pS(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
vendor: 8,640 bytes, line 1
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=wC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof yS?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof bS&&r.at(e)||null}),r}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new gu,this.statusChanges=new gu}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){fS(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class gS extends mS{constructor(e=null,t,n){super(uS(t),dS(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){cS(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){cS(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class yS extends mS{constructor(e,t,n){super(uS(t),dS(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof gS?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class bS extends mS{constructor(e,t,n){super(uS(t),dS(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof gS?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const vS={provide:OC,useExisting:ae(()=>_S)},wS=(()=>Promise.resolve(null))();let _S=(()=>{class e extends OC{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new gu,this.form=new yS({},kC(e),DC(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wS.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),JC(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){wS.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),cS(this._directives,e)})}addFormGroup(e){wS.then(()=>{const t=this._findContainer(e.path),n=new yS({});iS(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wS.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){wS.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,aS(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(Ko(mC,10),Ko(gC,10))},e.\u0275dir=Ze({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&aa("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Kl([vS]),Oo]}),e})();const CS={provide:PC,useExisting:ae(()=>kS)},SS=(()=>Promise.resolve(null))();let kS=(()=>{class e extends PC{constructor(e,t,n,r){super(),this.control=new gS,this._registered=!1,this.update=new gu,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=lS(0,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),sS(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?QC(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){JC(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){SS.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;SS.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(Ko(OC,9),Ko(mC,10),Ko(gC,10),Ko(aC,10))},e.\u0275dir=Ze({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Kl([CS]),Oo,ut]}),e})(),DS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const xS=new Yn("NgModelWithFormControlWarning"),ES={provide:OC,useExisting:ae(()=>AS)};let AS=(()=>{class e extends OC{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new gu,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}
1ngOnDestroy(){this.form&&(nS(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return JC(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){XC(e.control||null,e,!1),cS(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,aS(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(XC(e.control||null,e),t&&JC(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);iS(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return nS(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){tS(this.form,this,!1),this._oldForm&&nS(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(Ko(mC,10),Ko(gC,10))},e.\u0275dir=Ze({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&aa("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Kl([ES]),Oo,ut]}),e})();const TS={provide:PC,useExisting:ae(()=>OS)};let OS=(()=>{class e extends PC{constructor(e,t,n,r,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new gu,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=lS(0,r)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),sS(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return QC(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(Ko(OC,13),Ko(mC,10),Ko(gC,10),Ko(aC,10),Ko(xS,8))},e.\u0275dir=Ze({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Kl([TS]),Oo,ut]}),e._ngModelWarningSentOnce=!1,e})();const IS={provide:mC,useExisting:ae(()=>FS),multi:!0},PS={provide:mC,useExisting:ae(()=>MS),multi:!0};let FS=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?bC.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&qo("required",t.required?"":null)},inputs:{required:"required"},features:[Kl([IS])]}),e})(),MS=(()=>{class e extends FS{validate(e){return this.required?bC.requiredTrue(e):null}}return e.\u0275fac=function(t){return RS(t||e)},e.\u0275dir=Ze({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&qo("required",t.required?"":null)},features:[Kl([PS]),Oo]}),e})();const RS=Gn(MS);let NS=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),LS=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);
1let r,i=null,s=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new yS(n,{asyncValidators:s,updateOn:r,validators:i})}control(e,t,n){return new gS(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new bS(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof gS||e instanceof yS||e instanceof bS?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),BS=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[VC],imports:[NS]}),e})(),VS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xS,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[LS,VC],imports:[NS]}),e})();function zS(e,t){}function $S(e,t){if(1&e&&(Jo(0,"button",3),Na(1),Go(2,zS,0,0,"ng-template",4),Xo()),2&e){const e=t.$implicit;Yo("ngbPanelToggle",e),ps(1),Ba(" ",e.title,""),ps(1),Yo("ngTemplateOutlet",null==e.titleTpl?null:e.titleTpl.templateRef)}}function jS(e,t){}function US(e,t){}function HS(e,t){if(1&e&&(Jo(0,"div",8),Jo(1,"div",9),Go(2,US,0,0,"ng-template",4),Xo(),Xo()),2&e){const e=ua().$implicit;fa("id",e.id),qo("aria-labelledby",e.id+"-header"),ps(2),Yo("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}const qS=function(e,t){return{$implicit:e,opened:t}};function WS(e,t){if(1&e&&(Jo(0,"div"),Jo(1,"div",5),Go(2,jS,0,0,"ng-template",6),Xo(),Go(3,HS,3,3,"div",7),Xo()),2&e){const e=t.$implicit,n=ua(),r=Zo(1);Da("card "+(e.cardClass||"")),ps(1),Da("card-header "+(e.type?"bg-"+e.type:n.type?"bg-"+n.type:"")),ma("id","",e.id,"-header"),ps(1),Yo("ngTemplateOutlet",(null==e.headerTpl?null:e.headerTpl.templateRef)||r)("ngTemplateOutletContext",iu(8,qS,e,e.isOpen)),ps(1),Yo("ngIf",!n.destroyOnHide||e.isOpen||e.transitionRunning)}}const GS=["*"];function ZS(e,t){if(1&e){const e=ra();Jo(0,"li",6),aa("click",function(){Rt(e);const n=t.$implicit,r=ua();return r.focus(),r.select(n.id,r.NgbSlideEventSource.INDICATOR)}),Xo()}if(2&e){const e=t.$implicit,n=ua();ka("active",e.id===n.activeId),qo("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===n.activeId)}}function KS(e,t){}function YS(e,t){if(1&e&&(Jo(0,"div",7),Jo(1,"span",8),zl(2,9),Xo(),Go(3,KS,0,0,"ng-template",10),Xo()),2&e){const e=t.$implicit,n=t.index,r=t.count;Yo("id","slide-"+e.id),ps(2),$l(n+1)(r),2,function(e,t,n){if(fl>0){const n=e.data[22];gl(e,t,Array.isArray(n)?n:n.update,qt()-fl-1,pl)}pl=0,fl=0}(Mt(),Ft()),ps(1),Yo("ngTemplateOutlet",e.tplRef)}}function QS(e,t){if(1&e){const e=ra();Jo(0,"a",11),aa("click",function(){return Rt(e),ua().arrowLeft()}),ea(1,"span",12),Jo(2,"span",8),zl(3,13),Xo(),Xo()}}function JS(e,t){if(1&e){const e=ra();Jo(0,"a",14),aa("click",function(){return Rt(e),ua().arrowRight()}),ea(1,"span",15),Jo(2,"span",8),zl(3,16),Xo(),Xo()}}const XS=["defaultDayTemplate"],ek=["content"];function tk(e,t){if(1&e&&ea(0,"div",7),2&e){const e=t.currentMonth,n=t.selected,r=t.disabled,i=t.focused;Yo("date",t.date)("currentMonth",e)("selected",n)("disabled",r)("focused",i)}}function nk(e,t){if(1&e&&(Jo(0,"div",12),Na(1),Xo()),2&e){const e=ua().$implicit,t=ua(2);ps(1),Ba(" ",t.i18n.getMonthLabel(e.firstDate)," ")}}function rk(e,t){if(1&e&&(Jo(0,"div",9),Go(1,nk,2,1,"div",10),ea(2,"ngb-datepicker-month",11),Xo()),2&e){const e=t.$implicit,n=ua(2);ps(1),Yo("ngIf","none"===n.navigation||n.displayMonths>1&&"select"===n.navigation),ps(1),Yo("month",e.firstDate)}}function ik(e,t){1&e&&Go(0,rk,3,2,"div",8),2&e&&Yo("ngForOf",ua().model.months)}function sk(e,t){if(1&e){const e=ra();Jo(0,"ngb-datepicker-navigation",13),aa("navigate",function(t){return Rt(e),ua().onNavigateEvent(t)})("select",function(t){return Rt(e),ua().onNavigateDateSelect(t)}),Xo()}if(2&e){const e=ua();Yo("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect","select"===e.model.navigation)("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function ok(e,t){}function ak(e,t){}function lk(e,t){if(1&e&&(Jo(0,"div",5),Na(1),Xo()),2&e){const e=ua(2);ps(1),La(e.i18n.getWeekLabel())}}function ck(e,t){if(1&e&&(Jo(0,"div",6),Na(1),Xo()),2&e){const e=t.$implicit;ps(1),La(e)}}function uk(e,t){if(1&e&&(Jo(0,"div",2),Go(1,lk,2,1,"div",3),Go(2,ck,2,1,"div",4),Xo()),2&e){const e=ua();ps(1),Yo("ngIf",e.datepicker.showWeekNumbers),ps(1),Yo("ngForOf",e.viewModel.weekdays)}}function hk(e,t){if(1&e&&(Jo(0,"div",11),Na(1),Xo()),2&e){const e=ua(2).$implicit,t=ua();
1ps(1),La(t.i18n.getWeekNumerals(e.number))}}function dk(e,t){}function pk(e,t){if(1&e&&Go(0,dk,0,0,"ng-template",14),2&e){const e=ua().$implicit;Yo("ngTemplateOutlet",ua(3).datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function fk(e,t){if(1&e){const e=ra();Jo(0,"div",12),aa("click",function(n){Rt(e);const r=t.$implicit;return ua(3).doSelect(r),n.preventDefault()}),Go(1,pk,1,2,"ng-template",13),Xo()}if(2&e){const e=t.$implicit;ka("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),Yo("tabindex",e.tabindex),qo("aria-label",e.ariaLabel),ps(1),Yo("ngIf",!e.hidden)}}function mk(e,t){if(1&e&&(Jo(0,"div",8),Go(1,hk,2,1,"div",9),Go(2,fk,2,9,"div",10),Xo()),2&e){const e=ua().$implicit,t=ua();ps(1),Yo("ngIf",t.datepicker.showWeekNumbers),ps(1),Yo("ngForOf",e.days)}}function gk(e,t){1&e&&Go(0,mk,3,2,"div",7),2&e&&Yo("ngIf",!t.$implicit.collapsed)}function yk(e,t){if(1&e){const e=ra();Jo(0,"ngb-datepicker-navigation-select",7),aa("select",function(t){return Rt(e),ua().select.emit(t)}),Xo()}if(2&e){const e=ua();Yo("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function bk(e,t){1&e&&ea(0,"div",0)}function vk(e,t){1&e&&ea(0,"div",0)}function wk(e,t){if(1&e&&(Go(0,bk,1,0,"div",9),Jo(1,"div",10),Na(2),Xo(),Go(3,vk,1,0,"div",9)),2&e){const e=t.$implicit,n=t.index,r=ua(2);Yo("ngIf",n>0),ps(2),Ba(" ",r.i18n.getMonthLabel(e.firstDate)," "),ps(1),Yo("ngIf",n!==r.months.length-1)}}function _k(e,t){1&e&&Go(0,wk,4,3,"ng-template",8),2&e&&Yo("ngForOf",ua().months)}const Ck=["ngbDatepickerDayView",""],Sk=["month"],kk=["year"];function Dk(e,t){if(1&e&&(Jo(0,"option",5),Na(1),Xo()),2&e){const e=t.$implicit,n=ua();Yo("value",e),qo("aria-label",n.i18n.getMonthFullName(e,null==n.date?null:n.date.year)),ps(1),La(n.i18n.getMonthShortName(e,null==n.date?null:n.date.year))}}function xk(e,t){if(1&e&&(Jo(0,"option",5),Na(1),Xo()),2&e){const e=t.$implicit,n=ua();Yo("value",e),ps(1),La(n.i18n.getYearNumerals(e))}}const Ek=["dialog"],Ak=["ngbNavOutlet",""];function Tk(e,t){}const Ok=function(e){return{$implicit:e}};function Ik(e,t){if(1&e&&(Jo(0,"div",2),Go(1,Tk,0,0,"ng-template",3),Xo()),2&e){const e=ua().$implicit,t=ua();Yo("item",e)("nav",t.nav)("role",t.paneRole),ps(1),Yo("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",ru(5,Ok,e.active||t.isPanelTransitioning(e)))}}function Pk(e,t){if(1&e&&Go(0,Ik,2,7,"div",1),2&e){const e=t.$implicit,n=ua();Yo("ngIf",e.isPanelInDom()||n.isPanelTransitioning(e))}}function Fk(e,t){1&e&&(Jo(0,"span",9),zl(1,10),Xo())}function Mk(e,t){1&e&&(Jo(0,"span",9),zl(1,11),Xo())}function Rk(e,t){1&e&&(Jo(0,"span",9),zl(1,12),Xo())}function Nk(e,t){1&e&&(Jo(0,"span",9),zl(1,13),Xo())}function Lk(e,t){1&e&&Na(0,"...")}function Bk(e,t){1&e&&(Jo(0,"span",15),Na(1,"(current)"),Xo())}function Vk(e,t){if(1&e&&(Na(0),Go(1,Bk,2,0,"span",14)),2&e){const e=t.$implicit,n=t.currentPage;Ba(" ",e," "),ps(1),Yo("ngIf",e===n)}}function zk(e,t){}const $k=function(e){return{disabled:!0,currentPage:e}};function jk(e,t){if(1&e&&(Jo(0,"a",20),Go(1,zk,0,0,"ng-template",8),Xo()),2&e){const e=ua(2).$implicit,t=ua(),n=Zo(9);ps(1),Yo("ngTemplateOutlet",(null==t.tplEllipsis?null:t.tplEllipsis.templateRef)||n)("ngTemplateOutletContext",ru(2,$k,e))}}function Uk(e,t){}const Hk=function(e,t,n){return{disabled:e,$implicit:t,currentPage:n}};function qk(e,t){if(1&e){const e=ra();Jo(0,"a",21),aa("click",function(t){Rt(e);const n=ua().$implicit;return ua(2).selectPage(n),t.preventDefault()}),Go(1,Uk,0,0,"ng-template",8),Xo()}if(2&e){const e=ua().$implicit,t=ua(),n=t.disabled,r=t.$implicit,i=ua(),s=Zo(11);qo("tabindex",n?"-1":null)("aria-disabled",n?"true":null),ps(1),Yo("ngTemplateOutlet",(null==i.tplNumber?null:i.tplNumber.templateRef)||s)("ngTemplateOutletContext",su(4,Hk,n,e,r))}}function Wk(e,t){if(1&e&&(Jo(0,"li",17),Go(1,jk,2,4,"a",18),Go(2,qk,2,8,"a",19),Xo()),2&e){const e=t.$implicit,n=ua(),r=n.$implicit,i=n.disabled,s=ua();ka("active",e===r)("disabled",s.isEllipsis(e)||i),qo("aria-current",e===r?"page":null),ps(1),Yo("ngIf",s.isEllipsis(e)),ps(1),Yo("ngIf",!s.isEllipsis(e))}}function Gk(e,t){1&e&&Go(0,Wk,3,7,"li",16),2&e&&Yo("ngForOf",t.pages)}function Zk(e,t){}const Kk=function(e,t){return{disabled:e,currentPage:t}};function Yk(e,t){if(1&e){const e=ra();Jo(0,"li",17),Jo(1,"a",22),aa("click",function(t){return Rt(e),ua().selectPage(1),t.preventDefault()}),Go(2,Zk,0,0,"ng-template",8),Xo(),Xo()}if(2&e){const e=ua(),t=Zo(1);ka("disabled",e.previousDisabled()),ps(1),qo("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),ps(1),Yo("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||t)("ngTemplateOutletContext",iu(6,Kk,e.previousDisabled(),e.page))}}function Qk(e,t){}const Jk=function(e){return{disabled:e}};function Xk(e,t){if(1&e){const e=ra();Jo(0,"li",17),Jo(1,"a",23),aa("click",function(t){Rt(e);const n=ua();return n.selectPage(n.page-1),t.preventDefault()}),Go(2,Qk,0,0,"ng-template",8),Xo(),Xo()}if(2&e){const e=ua(),t=Zo(3);ka("disabled",e.previousDisabled()),ps(1),qo("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),ps(1),Yo("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||t)("ngTemplateOutletContext",ru(6,Jk,e.previousDisabled()))}}function eD(e,t){}function tD(e,t){}function nD(e,t){if(1&e){const e=ra();Jo(0,"li",17),Jo(1,"a",24),aa("click",function(t){Rt(e);const n=ua();return n.selectPage(n.page+1),t.preventDefault()}),Go(2,tD,0,0,"ng-template",8),Xo(),Xo()}
1if(2&e){const e=ua(),t=Zo(5);ka("disabled",e.nextDisabled()),ps(1),qo("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),ps(1),Yo("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||t)("ngTemplateOutletContext",iu(6,Kk,e.nextDisabled(),e.page))}}function rD(e,t){}function iD(e,t){if(1&e){const e=ra();Jo(0,"li",17),Jo(1,"a",25),aa("click",function(t){Rt(e);const n=ua();return n.selectPage(n.pageCount),t.preventDefault()}),Go(2,rD,0,0,"ng-template",8),Xo(),Xo()}if(2&e){const e=ua(),t=Zo(7);ka("disabled",e.nextDisabled()),ps(1),qo("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),ps(1),Yo("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||t)("ngTemplateOutletContext",iu(6,Kk,e.nextDisabled(),e.page))}}const sD=function(e,t,n){return{$implicit:e,pages:t,disabled:n}};function oD(e,t){1&e&&Na(0),2&e&&La(ua(2).title)}function aD(e,t){}function lD(e,t){if(1&e&&(Jo(0,"h3",3),Go(1,oD,1,1,"ng-template",null,4,Ru),Go(3,aD,0,0,"ng-template",5),Xo()),2&e){const e=Zo(2),t=ua();ps(3),Yo("ngTemplateOutlet",t.isTitleTemplate()?t.title:e)("ngTemplateOutletContext",t.context)}}function cD(e){return parseInt(`${e}`,10)}function uD(e){return"string"==typeof e}function hD(e){return!isNaN(cD(e))}function dD(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function pD(e){return null!=e}function fD(e){return hD(e)?`0${e}`.slice(-2):""}function mD(e,t){return e&&e.className&&e.className.split&&e.className.split(/\s+/).indexOf(t)>=0}function gD(e){return(e||document.body).getBoundingClientRect()}"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});const yD={animation:!0,transitionTimerDelayMs:5};let bD=(()=>{class e{constructor(){this.animation=yD.animation}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})(),vD=(()=>{class e{constructor(e){this._ngbConfig=e,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})();const wD=()=>{},{transitionTimerDelayMs:_D}=yD,CD=new Map,SD=(e,t,n,r)=>{let i=r.context||{};const s=CD.get(t);if(s)switch(r.runningTransition){case"continue":return Sg;case"stop":e.run(()=>s.transition$.complete()),i=Object.assign(s.context,i),CD.delete(t)}const o=n(t,r.animation,i)||wD;if(!r.animation||"none"===window.getComputedStyle(t).transitionProperty)return e.run(()=>o()),dg(void 0).pipe(function(e){return t=>new b(n=>t.subscribe(t=>e.run(()=>n.next(t)),t=>e.run(()=>n.error(t)),()=>e.run(()=>n.complete())))}(e));const a=new S,l=new S,c=a.pipe(function(...e){return t=>Cg(t,dg(...e))}(!0));CD.set(t,{transition$:a,complete:()=>{l.next(),l.complete()},context:i});const u=function(e){const{transitionDelay:t,transitionDuration:n}=window.getComputedStyle(e);return 1e3*(parseFloat(t)+parseFloat(n))}(t);return e.runOutsideAngular(()=>{const n=C_(t,"transitionend").pipe(j_(c),Lg(({target:e})=>e===t));P_(O_(u+_D).pipe(j_(c)),n,l).pipe(j_(c)).subscribe(()=>{CD.delete(t),e.run(()=>{o(),a.next(),a.complete()})})}),a.asObservable()},kD=(e,t,n)=>{let{direction:r,maxHeight:i}=n;const{classList:s}=e;function o(){s.add("collapse"),"show"===r?s.add("show"):s.remove("show")}if(t)return i||(i=function(e){if("undefined"==typeof navigator)return"0px";const{classList:t}=e,n=t.contains("show");n||t.add("show"),e.style.height="";const r=e.getBoundingClientRect().height+"px";return n||t.remove("show"),r}(e),n.maxHeight=i,e.style.height="show"!==r?i:"0px",s.remove("collapse"),s.remove("collapsing"),s.remove("show"),gD(e),s.add("collapsing")),e.style.height="show"===r?i:"0px",()=>{o(),s.remove("collapsing"),e.style.height=""};o()};let DD=0,xD=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPanelHeader",""]]}),e})(),ED=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPanelTitle",""]]}),e})(),AD=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPanelContent",""]]}),e})(),TD=(()=>{class e{constructor(){this.disabled=!1,this.id="ngb-panel-"+DD++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new gu,this.hidden=new gu}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e,selectors:[["ngb-panel"]],contentQueries:function(e,t,n){if(1&e&&(Ou(n,ED,0),Ou(n,xD,0),Ou(n,AD,0)),2&e){let e;Au(e=Iu())&&(t.titleTpls=e),Au(e=Iu())&&(t.headerTpls=e),Au(e=Iu())&&(t.contentTpls=e)}}
1,inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"}}),e})(),OD=(()=>{class e{constructor(e,t,n,r){this._element=t,this._ngZone=n,this._changeDetector=r,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new gu,this.shown=new gu,this.hidden=new gu,this.animation=e.animation,this.type=e.type,this.closeOtherPanels=e.closeOthers}isExpanded(e){return this.activeIds.indexOf(e)>-1}expand(e){this._changeOpenState(this._findPanelById(e),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(e=>this._changeOpenState(e,!0))}collapse(e){this._changeOpenState(this._findPanelById(e),!1)}collapseAll(){this.panels.forEach(e=>{this._changeOpenState(e,!1)})}toggle(e){const t=this._findPanelById(e);t&&this._changeOpenState(t,!t.isOpen)}ngAfterContentChecked(){uD(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(e=>{e.isOpen=!e.disabled&&this.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe(Og(1)).subscribe(()=>{this.panels.forEach(e=>{const t=this._getPanelElement(e.id);t?e.initClassDone||(e.initClassDone=!0,SD(this._ngZone,t,kD,{animation:!1,runningTransition:"continue",context:{direction:e.isOpen?"show":"hide"}})):e.initClassDone=!1})})}_changeOpenState(e,t){if(null!=e&&!e.disabled&&e.isOpen!==t){let n=!1;this.panelChange.emit({panelId:e.id,nextState:t,preventDefault:()=>{n=!0}}),n||(e.isOpen=t,e.transitionRunning=!0,t&&this.closeOtherPanels&&this._closeOthers(e.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(e,t=!0){this.panels.forEach(n=>{n.id!==e&&n.isOpen&&(n.isOpen=!1,n.transitionRunning=t)})}_findPanelById(e){return this.panels.find(t=>t.id===e)||null}_updateActiveIds(){this.activeIds=this.panels.filter(e=>e.isOpen&&!e.disabled).map(e=>e.id)}_runTransitions(e){this._changeDetector.detectChanges(),this.panels.forEach(t=>{if(t.transitionRunning){const n=this._getPanelElement(t.id);SD(this._ngZone,n,kD,{animation:e,runningTransition:"stop",context:{direction:t.isOpen?"show":"hide"}}).subscribe(()=>{t.transitionRunning=!1;const{id:e}=t;t.isOpen?(t.shown.emit(),this.shown.emit(e)):(t.hidden.emit(),this.hidden.emit(e))})}})}_getPanelElement(e){return this._element.nativeElement.querySelector("#"+e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(vD),Ko(nc),Ko(rh),Ko(Ac))},e.\u0275cmp=je({type:e,selectors:[["ngb-accordion"]],contentQueries:function(e,t,n){if(1&e&&Ou(n,TD,0),2&e){let e;Au(e=Iu())&&(t.panels=e)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(e,t){2&e&&qo("aria-multiselectable",!t.closeOtherPanels)},inputs:{activeIds:"activeIds",destroyOnHide:"destroyOnHide",animation:"animation",type:"type",closeOtherPanels:["closeOthers","closeOtherPanels"]},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"btn","btn-link",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",3,"id"],[1,"card-body"]],template:function(e,t){1&e&&(Go(0,$S,3,3,"ng-template",0,1,Ru),Go(2,WS,4,11,"ng-template",2)),2&e&&(ps(2),Yo("ngForOf",t.panels))},directives:function(){return[xD,Ud,ID,Kd,qd]},encapsulation:2}),e})(),ID=(()=>{class e{constructor(e,t){this.accordion=e,this.panel=t}set ngbPanelToggle(e){e&&(this.panel=e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(OD),Ko(TD,9))},e.\u0275dir=Ze({type:e,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(e,t){1&e&&aa("click",function(){return t.accordion.toggle(t.panel.id)}),2&e&&(ja("disabled",t.panel.disabled),qo("aria-expanded",t.panel.isOpen)("aria-controls",t.panel.id),ka("collapsed",!t.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}}),e})(),PD=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),FD=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),MD=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),RD=(()=>{class e{constructor(e){this._ngbConfig=e,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})();var ND=function(e){return e.LEFT="left",e.RIGHT="right",e}({});const LD=({classList:e})=>e.contains("carousel-item-left")||e.contains("carousel-item-right"),BD=e=>{e.remove("carousel-item-left"),e.remove("carousel-item-right")},VD=e=>{BD(e),e.remove("carousel-item-prev"),e.remove("carousel-item-next")},zD=(e,t,{direction:n})=>{const{classList:r}=e;return t?(LD(e)?BD(r):(r.add("carousel-item-"+(n===ND.LEFT?"next":"prev")),gD(e),r.add("carousel-item-"+n)),()=>{VD(r),r.add("active")}):(BD(r),VD(r),void r.add("active"))},$D=(e,t,{direction:n})=>{const{classList:r}=e;return t?(LD(e)?BD(r):r.add("carousel-item-"+n),()=>{VD(r),r.remove("active")}):(BD(r),VD(r),void r.remove("active"))};let jD=0,UD=(()=>{class e{constructor(e){this.tplRef=e,this.id="ngb-slide-"+jD++,this.slid=new gu}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"}}),e})(),HD=(()=>{class e{constructor(e,t,n,r,i){this._platformId=t,this._ngZone=n,this._cd=r,this._container=i,this.NgbSlideEventSource=qD,this._destroy$=new S,this._interval$=new pg(0),this._mouseHover$=new pg(!1),this._focused$=new pg(!1),this._pauseOnHover$=new pg(!1),this._pauseOnFocus$=new pg(!1),this._pause$=new pg(!1),this._wrap$=new pg(!1),this.slide=new gu,this.slid=new gu,this._transitionIds=null,this.animation=e.animation,this.interval=e.interval,this.wrap=e.wrap,this.keyboard=e.keyboard,this.pauseOnHover=e.pauseOnHover,this.pauseOnFocus=e.pauseOnFocus,this.showNavigationArrows=e.showNavigationArrows,this.showNavigationIndicators=e.showNavigationIndicators}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(e){this._pauseOnFocus$.next(e)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(e){this._mouseHover$.next(e)}
1get mouseHover(){return this._mouseHover$.value}set focused(e){this._focused$.next(e)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(qD.ARROW_LEFT)}arrowRight(){this.focus(),this.next(qD.ARROW_RIGHT)}ngAfterContentInit(){ap(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=bg([this.slide.pipe(x(e=>e.current),Fg(this.activeId)),this._wrap$,this.slides.changes.pipe(Fg(null))]).pipe(x(([e,t])=>{const n=this.slides.toArray(),r=this._getSlideIdxById(e);return t?n.length>1:r<n.length-1}),q_());bg([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,e]).pipe(x(([e,t,n,r,i,s,o])=>e||t&&n||r&&i||!o?0:s),q_(),xg(e=>e>0?O_(e,e):R_),j_(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(qD.TIMER)))}),this.slides.changes.pipe(j_(this._destroy$)).subscribe(()=>{var e;null===(e=this._transitionIds)||void 0===e||e.forEach(e=>(e=>{var t;null===(t=CD.get(e))||void 0===t||t.complete()})(this._getSlideElement(e))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe(Og(1)).subscribe(()=>{for(const{id:e}of this.slides){const t=this._getSlideElement(e);e===this.activeId?t.classList.add("active"):t.classList.remove("active")}})})}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const e=this._getSlideElement(this.activeId);e&&e.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(e,t){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),t)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),ND.RIGHT,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),ND.LEFT,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(e,t,n){const r=this._transitionIds;if(r&&(r[0]!==e||r[1]!==this.activeId))return;let i=this._getSlideById(e);if(i&&i.id!==this.activeId){this._transitionIds=[this.activeId,e],this.slide.emit({prev:this.activeId,current:i.id,direction:t,paused:this._pause$.value,source:n});const r={animation:this.animation,runningTransition:"stop",context:{direction:t}},s=[],o=this._getSlideById(this.activeId);if(o){const e=SD(this._ngZone,this._getSlideElement(o.id),$D,r);e.subscribe(()=>{o.slid.emit({isShown:!1,direction:t,source:n})}),s.push(e)}const a=this.activeId;this.activeId=i.id;const l=this._getSlideById(this.activeId),c=SD(this._ngZone,this._getSlideElement(i.id),zD,r);c.subscribe(()=>{null==l||l.slid.emit({isShown:!0,direction:t,source:n})}),s.push(c),N_(...s).pipe(Og(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:a,current:i.id,direction:t,paused:this._pause$.value,source:n})})}this._cd.markForCheck()}_getSlideEventDirection(e,t){return this._getSlideIdxById(e)>this._getSlideIdxById(t)?ND.RIGHT:ND.LEFT}_getSlideById(e){return this.slides.find(t=>t.id===e)||null}_getSlideIdxById(e){const t=this._getSlideById(e);return null!=t?this.slides.toArray().indexOf(t):-1}_getNextSlide(e){const t=this.slides.toArray(),n=this._getSlideIdxById(e);return n===t.length-1?this.wrap?t[0].id:t[t.length-1].id:t[n+1].id}_getPrevSlide(e){const t=this.slides.toArray(),n=this._getSlideIdxById(e);return 0===n?this.wrap?t[t.length-1].id:t[0].id:t[n-1].id}_getSlideElement(e){return this._container.nativeElement.querySelector(`#slide-${e}`)}}return e.\u0275fac=function(t){return new(t||e)(Ko(RD),Ko(ju),Ko(rh),Ko(Ac),Ko(nc))},e.\u0275cmp=je({type:e,selectors:[["ngb-carousel"]],contentQueries:function(e,t,n){if(1&e&&Ou(n,UD,0),2&e){let e;Au(e=Iu())&&(t.slides=e)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(e,t){1&e&&aa("keydown.arrowLeft",function(){return t.keyboard&&t.arrowLeft()})("keydown.arrowRight",function(){return t.keyboard&&t.arrowRight()})("mouseenter",function(){return t.mouseHover=!0})("mouseleave",function(){return t.mouseHover=!1})("focusin",function(){return t.focused=!0})("focusout",function(){return t.focused=!1}),2&e&&(qo("aria-activedescendant","slide-"+t.activeId),Sa("display","block"))},inputs:{animation:"animation",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators",activeId:"activeId"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],decls:6,vars:6,consts:function(){let e,t,n;return e=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number␟a65b1b49aa7dd8c4f3004da6a8c2241814dae621␟783273603869937627: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,t=$localize`:@@ngb.carousel.previous␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,n=$localize`:@@ngb.carousel.next␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,[["role","tablist",1,"carousel-indicators"],["role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","role","button",3,"click",4,"ngIf"],["class","carousel-control-next","role","button",3,"click",4,"ngIf"],["role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"sr-only"],e,[3,"ngTemplateOutlet"],["role","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],t,["role","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],n]},template:function(e,t){1&e&&(Jo(0,"ol",0),Go(1,ZS,1,5,"li",1),Xo(),Jo(2,"div",2),Go(3,YS,4,4,"div",3),Xo(),Go(4,QS,4,0,"a",4),Go(5,JS,4,0,"a",5)),2&e&&(ka("sr-only",!t.showNavigationIndicators),ps(1),Yo("ngForOf",t.slides),ps(2),Yo("ngForOf",t.slides),ps(1),Yo("ngIf",t.showNavigationArrows),ps(1),Yo("ngIf",t.showNavigationArrows))},directives:[Ud,qd,Kd],encapsulation:2,changeDetection:0}),e})();var qD=function(e){return e.TIMER="timer",e.ARROW_LEFT="arrowLeft",e.ARROW_RIGHT="arrowRight",e.INDICATOR="indicator",e}({});let WD=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),GD=(()=>{class e{constructor(e){this._ngbConfig=e}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})(),ZD=(()=>{class e{constructor(e,t,n){this._element=e,this._zone=n,this.collapsed=!1,this.ngbCollapseChange=new gu,this.shown=new gu,this.hidden=new gu,this.animation=t.animation}ngOnInit(){this._runTransition(this.collapsed,!1)}ngOnChanges({collapsed:e}){e.firstChange||this._runTransitionWithEvents(this.collapsed,this.animation)}toggle(e=this.collapsed){this.collapsed=!e,this.ngbCollapseChange.next(this.collapsed),this._runTransitionWithEvents(this.collapsed,this.animation)}_runTransition(e,t){return SD(this._zone,this._element.nativeElement,kD,{animation:t,runningTransition:"stop",context:{direction:e?"hide":"show"}})}_runTransitionWithEvents(e,t){this._runTransition(e,t).subscribe(()=>{e?this.hidden.emit():this.shown.emit()})}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(GD),Ko(rh))},e.\u0275dir=Ze({type:e,selectors:[["","ngbCollapse",""]],inputs:{collapsed:["ngbCollapse","collapsed"],animation:"animation"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],features:[ut]}),e})(),KD=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();class YD{constructor(e,t,n){this.year=dD(e)?e:null,this.month=dD(t)?t:null,this.day=dD(n)?n:null}static from(e){return e instanceof YD?e:e?new YD(e.year,e.month,e.day):null}equals(e){return null!=e&&this.year===e.year&&this.month===e.month&&this.day===e.day}before(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day<e.day:this.month<e.month:this.year<e.year)}after(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day>e.day:this.month>e.month:this.year>e.year)}}function QD(e){return new YD(e.getFullYear(),e.getMonth()+1,e.getDate())}function JD(e){const t=new Date(e.year,e.month-1,e.day,12);return isNaN(t.getTime())||t.setFullYear(e.year),t}function XD(){return new tx}let ex=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:XD,token:e,providedIn:"root"}),e})(),tx=(()=>{class e extends ex{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,t="d",n=1){let r=JD(e),i=!0,s=r.getMonth();switch(t){case"y":r.setFullYear(r.getFullYear()+n);break;case"m":s+=n,r.setMonth(s),s%=12,s<0&&(s+=12);break;case"d":r.setDate(r.getDate()+n),i=!1;break;default:return e}return i&&r.getMonth()!==s&&r.setDate(0),QD(r)}getPrev(e,t="d",n=1){return this.getNext(e,t,-n)}getWeekday(e){let t=JD(e).getDay();return 0===t?7:t}getWeekNumber(e,t){7===t&&(t=0);const n=JD(e[(11-t)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));const r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1}getToday(){return QD(new Date)}isValid(e){if(!(e&&dD(e.year)&&dD(e.month)&&dD(e.day)))return!1;if(0===e.year)return!1;const t=JD(e);return!isNaN(t.getTime())&&t.getFullYear()===e.year&&t.getMonth()+1===e.month&&t.getDate()===e.day}}return e.\u0275fac=function(t){return nx(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const nx=Gn(tx);function rx(e,t){return!function(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}(e,t)}function ix(e,t){return!(!e&&!t||e&&t&&e.year===t.year&&e.month===t.month)}function sx(e,t,n){return e&&t&&e.before(t)?t:e&&n&&e.after(n)?n:e||null}function ox(e,t){const{minDate:n,maxDate:r,disabled:i,markDisabled:s}=t;return!(null==e||i||s&&s(e,{year:e.year,month:e.month})||n&&e.before(n)||r&&e.after(r))}let ax=(()=>{class e{getWeekdayLabel(e,t){return this.getWeekdayShortName(e)}getMonthLabel(e){return`${this.getMonthFullName(e.month,e.year)} ${this.getYearNumerals(e.year)}`}getDayNumerals(e){return`${e.day}`}
1getWeekNumerals(e){return`${e}`}getYearNumerals(e){return`${e}`}getWeekLabel(){return""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return e=pr(qu),new lx(e);var e},token:e,providedIn:"root"}),e})(),lx=(()=>{class e extends ax{constructor(e){super(),this._locale=e,this._monthsShort=ld(e,rd.Standalone,id.Abbreviated),this._monthsFull=ld(e,rd.Standalone,id.Wide)}getWeekdayShortName(e){return this.getWeekdayLabel(e,id.Short)}getWeekdayLabel(e,t){const n=ad(this._locale,rd.Standalone,void 0===t?id.Short:t);return n.map((e,t)=>n[(t+1)%7])[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){return Sd(new Date(e.year,e.month-1,e.day),"fullDate",this._locale)}}return e.\u0275fac=function(t){return new(t||e)(pr(qu))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),cx=(()=>{class e{constructor(e,t){this._calendar=e,this._i18n=t,this._VALIDATORS={dayTemplateData:e=>{if(this._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:e=>{if(dD(e=cD(e))&&e>0&&this._state.displayMonths!==e)return{displayMonths:e}},disabled:e=>{if(this._state.disabled!==e)return{disabled:e}},firstDayOfWeek:e=>{if(dD(e=cD(e))&&e>=0&&this._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:e=>{if(this._state.focusVisible!==e&&!this._state.disabled)return{focusVisible:e}},markDisabled:e=>{if(this._state.markDisabled!==e)return{markDisabled:e}},maxDate:e=>{const t=this.toValidDate(e,null);if(rx(this._state.maxDate,t))return{maxDate:t}},minDate:e=>{const t=this.toValidDate(e,null);if(rx(this._state.minDate,t))return{minDate:t}},navigation:e=>{if(this._state.navigation!==e)return{navigation:e}},outsideDays:e=>{if(this._state.outsideDays!==e)return{outsideDays:e}},weekdays:e=>{const t=!0===e||!1===e?id.Short:e,n=!0!==e&&!1!==e||e;if(this._state.weekdayWidth!==t||this._state.weekdaysVisible!==n)return{weekdayWidth:t,weekdaysVisible:n}}},this._model$=new S,this._dateSelect$=new S,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:id.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe(Lg(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(Lg(e=>null!==e))}set(e){let t=Object.keys(e).map(t=>this._VALIDATORS[t](e[t])).reduce((e,t)=>Object.assign(Object.assign({},e),t),{});Object.keys(t).length>0&&this._nextState(t)}focus(e){const t=this.toValidDate(e,null);null!=t&&!this._state.disabled&&rx(this._state.focusDate,t)&&this._nextState({focusDate:e})}focusSelect(){ox(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){const t=this.toValidDate(e,this._calendar.getToday());null==t||this._state.disabled||this._state.firstDate&&!ix(this._state.firstDate,t)||this._nextState({firstDate:t})}select(e,t={}){const n=this.toValidDate(e,null);null==n||this._state.disabled||(rx(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),t.emitEvent&&ox(n,this._state)&&this._dateSelect$.next(n))}toValidDate(e,t){const n=YD.from(e);return void 0===t&&(t=this._calendar.getToday()),this._calendar.isValid(n)?n:t}getMonth(e){for(let t of this._state.months)if(e.month===t.number&&e.year===t.year)return t;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){const t=this._updateState(e);this._patchContexts(t),this._state=t,this._model$.next(this._state)}_patchContexts(e){const{months:t,displayMonths:n,selectedDate:r,focusDate:i,focusVisible:s,disabled:o,outsideDays:a}=e;e.months.forEach(e=>{e.weeks.forEach(l=>{l.days.forEach(l=>{i&&(l.context.focused=i.equals(l.date)&&s),l.tabindex=!o&&i&&l.date.equals(i)&&i.month===e.number?0:-1,!0===o&&(l.context.disabled=!0),void 0!==r&&(l.context.selected=null!==r&&r.equals(l.date)),e.number!==l.date.month&&(l.hidden="hidden"===a||"collapsed"===a||n>1&&l.date.after(t[0].firstDate)&&l.date.before(t[n-1].lastDate))})})})}_updateState(e){const t=Object.assign({},this._state,e);let n=t.firstDate;if(("minDate"in e||"maxDate"in e)&&(function(e,t){if(t&&e&&t.before(e))throw new Error(`'maxDate' ${t} should be greater than 'minDate' ${e}`)}
1(t.minDate,t.maxDate),t.focusDate=sx(t.focusDate,t.minDate,t.maxDate),t.firstDate=sx(t.firstDate,t.minDate,t.maxDate),n=t.focusDate),"disabled"in e&&(t.focusVisible=!1),"selectedDate"in e&&0===this._state.months.length&&(n=t.selectedDate),"focusVisible"in e)return t;if("focusDate"in e&&(t.focusDate=sx(t.focusDate,t.minDate,t.maxDate),n=t.focusDate,0!==t.months.length&&t.focusDate&&!t.focusDate.before(t.firstDate)&&!t.focusDate.after(t.lastDate)))return t;if("firstDate"in e&&(t.firstDate=sx(t.firstDate,t.minDate,t.maxDate),n=t.firstDate),n){const r=function(e,t,n,r,i){const{displayMonths:s,months:o}=n,a=o.splice(0,o.length);return Array.from({length:s},(n,r)=>{const s=Object.assign(e.getNext(t,"m",r),{day:1});if(o[r]=null,!i){const e=a.findIndex(e=>e.firstDate.equals(s));-1!==e&&(o[r]=a.splice(e,1)[0])}return s}).forEach((t,i)=>{null===o[i]&&(o[i]=function(e,t,n,r,i={}){const{dayTemplateData:s,minDate:o,maxDate:a,firstDayOfWeek:l,markDisabled:c,outsideDays:u,weekdayWidth:h,weekdaysVisible:d}=n,p=e.getToday();i.firstDate=null,i.lastDate=null,i.number=t.month,i.year=t.year,i.weeks=i.weeks||[],i.weekdays=i.weekdays||[],t=function(e,t,n){const r=e.getDaysPerWeek(),i=new YD(t.year,t.month,1),s=e.getWeekday(i)%r;return e.getPrev(i,"d",(r+s-n)%r)}(e,t,l),d||(i.weekdays.length=0);for(let f=0;f<e.getWeeksPerMonth();f++){let n=i.weeks[f];n||(n=i.weeks[f]={number:0,days:[],collapsed:!0});const m=n.days;for(let l=0;l<e.getDaysPerWeek();l++){0===f&&d&&(i.weekdays[l]=r.getWeekdayLabel(e.getWeekday(t),h));const n=new YD(t.year,t.month,t.day),u=e.getNext(n),g=r.getDayAriaLabel(n);let y=!!(o&&n.before(o)||a&&n.after(a));!y&&c&&(y=c(n,{month:i.number,year:i.year}));let b=n.equals(p),v=s?s(n,{month:i.number,year:i.year}):void 0;null===i.firstDate&&n.month===i.number&&(i.firstDate=n),n.month===i.number&&u.month!==i.number&&(i.lastDate=n);let w=m[l];w||(w=m[l]={}),w.date=n,w.context=Object.assign(w.context||{},{$implicit:n,date:n,data:v,currentMonth:i.number,currentYear:i.year,disabled:y,focused:!1,selected:!1,today:b}),w.tabindex=-1,w.ariaLabel=g,w.hidden=!1,t=u}n.number=e.getWeekNumber(m.map(e=>e.date),l),n.collapsed="collapsed"===u&&m[0].date.month!==i.number&&m[m.length-1].date.month!==i.number}return i}(e,t,n,r,a.shift()||{}))}),o}(this._calendar,n,t,this._i18n,"dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e||"weekdaysVisible"in e);t.months=r,t.firstDate=r[0].firstDate,t.lastDate=r[r.length-1].lastDate,"selectedDate"in e&&!ox(t.selectedDate,t)&&(t.selectedDate=null),"firstDate"in e&&(!t.focusDate||t.focusDate.before(t.firstDate)||t.focusDate.after(t.lastDate))&&(t.focusDate=n);const i=!this._state.firstDate||this._state.firstDate.year!==t.firstDate.year,s=!this._state.firstDate||this._state.firstDate.month!==t.firstDate.month;"select"===t.navigation?(("minDate"in e||"maxDate"in e||0===t.selectBoxes.years.length||i)&&(t.selectBoxes.years=function(e,t,n){if(!e)return[];const r=t?Math.max(t.year,e.year-500):e.year-10,i=(n?Math.min(n.year,e.year+500):e.year+10)-r+1,s=Array(i);for(let o=0;o<i;o++)s[o]=r+o;return s}(t.firstDate,t.minDate,t.maxDate)),("minDate"in e||"maxDate"in e||0===t.selectBoxes.months.length||i)&&(t.selectBoxes.months=function(e,t,n,r){if(!t)return[];let i=e.getMonths(t.year);if(n&&t.year===n.year){const e=i.findIndex(e=>e===n.month);i=i.slice(e)}if(r&&t.year===r.year){const e=i.findIndex(e=>e===r.month);i=i.slice(0,e+1)}return i}(this._calendar,t.firstDate,t.minDate,t.maxDate))):t.selectBoxes={years:[],months:[]},"arrows"!==t.navigation&&"select"!==t.navigation||!(s||i||"minDate"in e||"maxDate"in e||"disabled"in e)||(t.prevDisabled=t.disabled||function(e,t,n){const r=Object.assign(e.getPrev(t,"m"),{day:1});return null!=n&&(r.year===n.year&&r.month<n.month||r.year<n.year&&1===n.month)}(this._calendar,t.firstDate,t.minDate),t.nextDisabled=t.disabled||function(e,t,n){const r=Object.assign(e.getNext(t,"m"),{day:1});return null!=n&&r.after(n)}(this._calendar,t.lastDate,t.maxDate))}return t}}
1return e.\u0275fac=function(t){return new(t||e)(pr(ex),pr(ax))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();var ux=function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e}({});let hx=(()=>{class e{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1,this.weekdays=id.Short}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})();function dx(){return new fx}let px=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:dx,token:e,providedIn:"root"}),e})(),fx=(()=>{class e extends px{fromModel(e){return e&&dD(e.year)&&dD(e.month)&&dD(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&dD(e.year)&&dD(e.month)&&dD(e.day)?{year:e.year,month:e.month,day:e.day}:null}}return e.\u0275fac=function(t){return mx(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const mx=Gn(fx);let gx=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbDatepickerContent",""]]}),e})(),yx=(()=>{class e{constructor(e,t,n,r,i,s,o,a){this._service=e,this._calendar=t,this.i18n=n,this._elementRef=s,this._ngbDateAdapter=o,this._ngZone=a,this._controlValue=null,this._destroyed$=new S,this._publicState={},this.navigate=new gu,this.dateSelect=new gu,this.onChange=e=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate","weekdays"].forEach(e=>this[e]=r[e]),e.dateSelect$.pipe(j_(this._destroyed$)).subscribe(e=>{this.dateSelect.emit(e)}),e.model$.pipe(j_(this._destroyed$)).subscribe(e=>{const t=e.firstDate,n=this.model?this.model.firstDate:null;this._publicState={maxDate:e.maxDate,minDate:e.minDate,firstDate:e.firstDate,lastDate:e.lastDate,focusedDate:e.focusDate,months:e.months.map(e=>e.firstDate)};let r=!1;if(!t.equals(n)&&(this.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:t.year,month:t.month},preventDefault:()=>r=!0}),r&&null!==n))return void this._service.open(n);const s=e.selectedDate,o=e.focusDate,a=this.model?this.model.focusDate:null;this.model=e,rx(s,this._controlValue)&&(this._controlValue=s,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(s))),rx(o,a)&&a&&e.focusVisible&&this.focus(),i.markForCheck()})}set showWeekdays(e){this.weekdays=e,this._showWeekdays=e}get showWeekdays(){return this._showWeekdays}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(e){this._service.focus(YD.from(e))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(Og(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})}navigateTo(e){this._service.open(YD.from(e?e.day?e:Object.assign(Object.assign({},e),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=C_(this._contentEl.nativeElement,"focusin"),t=C_(this._contentEl.nativeElement,"focusout"),{nativeElement:n}=this._elementRef;q(e,t).pipe(Lg(({target:e,relatedTarget:t})=>!(mD(e,"ngb-dp-day")&&mD(t,"ngb-dp-day")&&n.contains(e)&&n.contains(t))),j_(this._destroyed$)).subscribe(({type:e})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===e})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(t=>e[t]=this[t]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(e){const t={};if(e.showWeekdays&&(t.weekdays=this.weekdays),["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(t=>t in e).forEach(e=>t[e]=this[e]),this._service.set(t),"startDate"in e){const{currentValue:t,previousValue:n}=e.startDate;ix(n,t)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case ux.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ux.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=YD.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}}return e.\u0275fac=function(t){return new(t||e)(Ko(cx),Ko(ex),Ko(ax),Ko(hx),Ko(Ac),Ko(nc),Ko(px),Ko(rh))},e.\u0275cmp=je({type:e,selectors:[["ngb-datepicker"]],contentQueries:function(e,t,n){if(1&e&&Ou(n,gx,3),2&e){let e;Au(e=Iu())&&(t.contentTemplate=e.first)}},viewQuery:function(e,t){if(1&e&&(Tu(XS,3),Tu(ek,3)),2&e){let e;Au(e=Iu())&&(t._defaultDayTemplate=e.first),Au(e=Iu())&&(t._contentEl=e.first)}},inputs:{showWeekdays:"showWeekdays",weekdays:"weekdays",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[Kl([{provide:aC,useExisting:ae(()=>e),multi:!0},cx]),ut],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(e,t){if(1&e&&(Go(0,tk,1,5,"ng-template",null,0,Ru),Go(2,ik,1,1,"ng-template",null,1,Ru),Jo(4,"div",2),Go(5,sk,1,7,"ngb-datepicker-navigation",3),Xo(),Jo(6,"div",4,5),Go(8,ok,0,0,"ng-template",6),Xo(),Go(9,ak,0,0,"ng-template",6)),2&e){const e=Zo(3);ps(5),Yo("ngIf","none"!==t.navigation),ps(1),ka("ngb-dp-months",!t.contentTemplate),ps(2),Yo("ngTemplateOutlet",(null==t.contentTemplate?null:t.contentTemplate.templateRef)||e),ps(1),Yo("ngTemplateOutlet",t.footerTemplate)}},directives:function(){return[qd,Kd,Vx,Ud,wx,_x]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}
1.ngb-dp-body{z-index:1050}.ngb-dp-header{background-color:#f8f9fa;background-color:var(--light);border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{background-color:#f8f9fa;background-color:var(--light);font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}"],encapsulation:2,changeDetection:0}),e})();var bx=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({});let vx=(()=>{class e{processKey(e,t){const{state:n,calendar:r}=t;switch(e.which){case bx.PageUp:t.focusDate(r.getPrev(n.focusedDate,e.shiftKey?"y":"m",1));break;case bx.PageDown:t.focusDate(r.getNext(n.focusedDate,e.shiftKey?"y":"m",1));break;case bx.End:t.focusDate(e.shiftKey?n.maxDate:n.lastDate);break;case bx.Home:t.focusDate(e.shiftKey?n.minDate:n.firstDate);break;case bx.ArrowLeft:t.focusDate(r.getPrev(n.focusedDate,"d",1));break;case bx.ArrowUp:t.focusDate(r.getPrev(n.focusedDate,"d",r.getDaysPerWeek()));break;case bx.ArrowRight:t.focusDate(r.getNext(n.focusedDate,"d",1));break;case bx.ArrowDown:t.focusDate(r.getNext(n.focusedDate,"d",r.getDaysPerWeek()));break;case bx.Enter:case bx.Space:t.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})(),wx=(()=>{class e{constructor(e,t,n,r){this.i18n=e,this.datepicker=t,this._keyboardService=n,this._service=r}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){e.context.disabled||e.hidden||this.datepicker.onDateSelect(e.date)}}return e.\u0275fac=function(t){return new(t||e)(Ko(ax),Ko(yx),Ko(vx),Ko(cx))},e.\u0275cmp=je({type:e,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(e,t){1&e&&aa("keydown",function(e){return t.onKeyDown(e)})},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(Go(0,uk,3,2,"div",0),Go(1,gk,1,1,"ng-template",1)),2&e&&(Yo("ngIf",t.viewModel.weekdays.length>0),ps(1),Yo("ngForOf",t.viewModel.weeks))},directives:[qd,Ud,Kd],styles:['ngb-datepicker-month{display:block}.ngb-dp-week-number,.ngb-dp-weekday{font-style:italic;line-height:2rem;text-align:center}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{background-color:#f8f9fa;background-color:var(--light);border-bottom:1px solid rgba(0,0,0,.125);border-radius:0}.ngb-dp-day,.ngb-dp-week-number,.ngb-dp-weekday{height:2rem;width:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}'],encapsulation:2}),e})(),_x=(()=>{class e{constructor(e){this.i18n=e,this.navigation=ux,this.months=[],this.navigate=new gu,this.select=new gu}
1onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return e.\u0275fac=function(t){return new(t||e)(Ko(ax))},e.\u0275cmp=je({type:e,selectors:[["ngb-datepicker-navigation"]],inputs:{months:"months",date:"date",disabled:"disabled",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:function(){let e,t,n,r;return e=$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,t=$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,n=$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,r=$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",e,"title",t,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",n,"title",r,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"button",1),aa("click",function(e){return t.onClickPrev(e)}),ea(2,"span",2),Xo(),Xo(),Go(3,yk,1,4,"ngb-datepicker-navigation-select",3),Go(4,_k,1,1,void 0,4),Jo(5,"div",5),Jo(6,"button",6),aa("click",function(e){return t.onClickNext(e)}),ea(7,"span",2),Xo(),Xo()),2&e&&(ps(1),Yo("disabled",t.prevDisabled),ps(2),Yo("ngIf",t.showSelect),ps(1),Yo("ngIf",!t.showSelect),ps(2),Yo("disabled",t.nextDisabled))},directives:function(){return[qd,zx,Ud]},styles:["ngb-datepicker-navigation{align-items:center;display:flex}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg);width:.75em}.ngb-dp-arrow{display:flex;flex:1 1 auto;height:2rem;margin:0;padding-left:0;padding-right:0;width:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{margin-left:.15em;margin-right:.25em;transform:rotate(45deg)}.ngb-dp-arrow-btn{background-color:transparent;border:none;margin:0 .5rem;padding:0 .25rem;z-index:1}.ngb-dp-arrow-btn:focus{outline-style:auto;outline-width:1px}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}"],encapsulation:2,changeDetection:0}),e})();const Cx=(e,t)=>!!t&&t.some(t=>t.contains(e)),Sx=(e,t)=>!t||null!=function(e,t){return t?void 0===e.closest?null:e.closest(t):null}(e,t),kx="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Dx(e,t,n,r,i,s,o,a){var l;n&&e.runOutsideAngular((l=()=>{const l=C_(t,"keydown").pipe(j_(i),Lg(e=>e.which===bx.Escape),ny(e=>e.preventDefault())),c=C_(t,"mousedown").pipe(x(e=>{const t=e.target;return 2!==e.button&&!Cx(t,o)&&("inside"===n?Cx(t,s)&&Sx(t,a):"outside"===n?!Cx(t,s):Sx(t,a)||!Cx(t,s))}),j_(i)),u=C_(t,"mouseup").pipe(Z_(c),Lg(([e,t])=>t),eC(0),j_(i));P_([l.pipe(x(e=>0)),u.pipe(x(e=>1))]).subscribe(t=>e.run(()=>r(t)))},kx?()=>setTimeout(()=>l(),100):l))}const xx=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ex(e){const t=Array.from(e.querySelectorAll(xx)).filter(e=>-1!==e.tabIndex);return[t[0],t[t.length-1]]}const Ax=(e,t,n,r=!1)=>{e.runOutsideAngular(()=>{const e=C_(t,"focusin").pipe(j_(n),x(e=>e.target));C_(t,"keydown").pipe(j_(n),Lg(e=>e.which===bx.Tab),Z_(e)).subscribe(([e,n])=>{const[r,i]=Ex(t);n!==r&&n!==t||!e.shiftKey||(i.focus(),e.preventDefault()),n!==i||e.shiftKey||(r.focus(),e.preventDefault())}),r&&C_(t,"click").pipe(j_(n),Z_(e),x(e=>e[1])).subscribe(e=>
1e.focus())})},Tx=/\s+/,Ox=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,r={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&&(r=this.offset(t,!1)),r.top+=t.clientTop,r.left+=t.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.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(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return t&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(e,t,n,r){const[i="top",s="center"]=n.split("-"),o=r?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(i){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(s){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"===i||"bottom"===i?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(),m=document.documentElement,g=window.innerHeight||m.clientHeight,y=window.innerWidth||m.clientWidth;return f.left>=0&&f.top>=0&&f.right<=y&&f.bottom<=g}};function Ix(e,t,n,r,i){let s=Array.isArray(n)?n:n.split(Tx);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t.classList,l=e=>{const[t,n]=e.split("-"),r=[];return i&&(r.push(`${i}-${t}`),n&&r.push(`${i}-${t}-${n}`),r.forEach(e=>{a.add(e)})),r};i&&o.forEach(e=>{a.remove(`${i}-${e}`)});let c=s.findIndex(e=>"auto"===e);c>=0&&o.forEach(function(e){null==s.find(t=>-1!==t.search("^"+e))&&s.splice(c++,1,e)});const u=t.style;u.position="absolute",u.top="0",u.left="0",u["will-change"]="transform";let h=null,d=!1;for(h of s){let n=l(h);if(Ox.positionElements(e,t,h,r)){d=!0;break}i&&n.forEach(e=>{a.remove(e)})}return d||(h=s[0],l(h),Ox.positionElements(e,t,h,r)),h}function Px(){return new Mx}let Fx=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:Px,token:e,providedIn:"root"}),e})(),Mx=(()=>{class e extends Fx{parse(e){if(null!=e){const t=e.trim().split("-");if(1===t.length&&hD(t[0]))return{year:cD(t[0]),month:null,day:null};if(2===t.length&&hD(t[0])&&hD(t[1]))return{year:cD(t[0]),month:cD(t[1]),day:null};if(3===t.length&&hD(t[0])&&hD(t[1])&&hD(t[2]))return{year:cD(t[0]),month:cD(t[1]),day:cD(t[2])}}return null}format(e){return e?`${e.year}-${hD(e.month)?fD(e.month):""}-${hD(e.day)?fD(e.day):""}`:""}}return e.\u0275fac=function(t){return Rx(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const Rx=Gn(Mx);let Nx=(()=>{class e extends hx{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"],this.restoreFocus=!0}}return e.\u0275fac=function(t){return Lx(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Lx=Gn(Nx);let Bx=(()=>{class e{constructor(e,t,n,r,i,s,o,a,l,c,u){this._parserFormatter=e,this._elRef=t,this._vcRef=n,this._renderer=r,this._cfr=i,this._ngZone=s,this._calendar=o,this._dateAdapter=a,this._document=l,this._changeDetector=c,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this.dateSelect=new gu,this.navigate=new gu,this.closed=new gu,this._onChange=e=>{},this._onTouched=()=>{}
1,this._validatorChange=()=>{},["autoClose","container","positionTarget","placement"].forEach(e=>this[e]=u[e]),this._zoneSubscription=s.onStable.subscribe(()=>this._updatePopupPosition())}set showWeekdays(e){this.weekdays=e,this._showWeekdays=e}get showWeekdays(){return this._showWeekdays}get disabled(){return this._disabled}set disabled(e){this._disabled=""===e||e&&"false"!==e,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}registerOnValidatorChange(e){this._validatorChange=e}setDisabledState(e){this.disabled=e}validate(e){const{value:t}=e;if(null!=t){const e=this._fromDateStruct(this._dateAdapter.fromModel(t));if(!e)return{ngbDate:{invalid:t}};if(this.minDate&&e.before(YD.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:t}}};if(this.maxDate&&e.after(YD.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:t}}}}return null}writeValue(e){this._model=this._fromDateStruct(this._dateAdapter.fromModel(e)),this._writeModelValue(this._model)}manualDateChange(e,t=!1){const n=e!==this._inputValue;n&&(this._inputValue=e,this._model=this._fromDateStruct(this._parserFormatter.parse(e))),!n&&t||this._onChange(this._model?this._dateAdapter.toModel(this._model):""===e?null:e),t&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){const e=this._cfr.resolveComponentFactory(yx);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(e=>{this.writeValue(e),this._onChange(e),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Ax(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),Dx(this._ngZone,this._document,this.autoClose,()=>this.close(),this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();let e=this._elWithFocus;uD(this.restoreFocus)?e=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(e=this.restoreFocus),e&&e.focus?e.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(e){this.isOpen()&&this._cRef.instance.navigateTo(e)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(e){if((e.minDate||e.maxDate)&&(this._validatorChange(),this.isOpen()&&(e.minDate&&(this._cRef.instance.minDate=this.minDate),e.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(e))),e.datepickerClass){const{currentValue:t,previousValue:n}=e.datepickerClass;this._applyPopupClass(t,n)}}ngOnDestroy(){this.close(),this._zoneSubscription.unsubscribe()}_applyDatepickerInputs(e){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(t=>{void 0!==this[t]&&(e[t]=this[t])}),e.startDate=this.startDate||this._model}_applyPopupClass(e,t){var n;const r=null===(n=this._cRef)||void 0===n?void 0:n.location.nativeElement;r&&(e&&this._renderer.addClass(r,e),t&&this._renderer.removeClass(r,t))}_applyPopupStyling(e){this._renderer.addClass(e,"dropdown-menu"),this._renderer.addClass(e,"show"),"body"===this.container&&this._renderer.addClass(e,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(e){e.navigate.subscribe(e=>this.navigate.emit(e)),e.dateSelect.subscribe(e=>{this.dateSelect.emit(e),!0!==this.autoClose&&"inside"!==this.autoClose||this.close()})}_writeModelValue(e){const t=this._parserFormatter.format(e);this._inputValue=t,this._renderer.setProperty(this._elRef.nativeElement,"value",t),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(e)),this._onTouched())}_fromDateStruct(e){const t=e?new YD(e.year,e.month,e.day):null;return this._calendar.isValid(t)?t:null}_updatePopupPosition(){if(!this._cRef)return;let e;if(e=uD(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!e)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");Ix(e,this._cRef.location.nativeElement,this.placement,"body"===this.container)}}return e.\u0275fac=function(t){return new(t||e)(Ko(Fx),Ko(nc),Ko($c),Ko(sc),Ko(Jl),Ko(rh),Ko(ex),Ko(px),Ko(Nh),Ko(Ac),Ko(Nx))},e.\u0275dir=Ze({type:e,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(e,t){1&e&&aa("input",function(e){return t.manualDateChange(e.target.value)})("change",function(e){return t.manualDateChange(e.target.value,!0)})("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()}),2&e&&ja("disabled",t.disabled)},inputs:{showWeekdays:"showWeekdays",weekdays:"weekdays",disabled:"disabled",autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[Kl([{provide:aC,useExisting:ae(()=>e),multi:!0},{provide:mC,useExisting:ae(()=>e),multi:!0},{provide:hx,useExisting:Nx}]),ut]}),e})(),Vx=(()=>{class e{constructor(e){this.i18n=e}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return e.\u0275fac=function(t){return new(t||e)(Ko(ax))},e.\u0275cmp=je({type:e,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(e,t){2&e&&ka("bg-primary",t.selected)("text-white",t.selected)("text-muted",t.isMuted())("outside",t.isMuted())("active",t.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:Ck,decls:1,vars:1,template:function(e,t){1&e&&Na(0),2&e&&La(t.i18n.getDayNumerals(t.date))},styles:["[ngbDatepickerDayView]{background:transparent;border-radius:.25rem;height:2rem;line-height:2rem;text-align:center;width:2rem}[ngbDatepickerDayView].outside{opacity:.5}"],encapsulation:2,changeDetection:0}),e})(),zx=(()=>{class e{constructor(e,t){this.i18n=e,this._renderer=t,this.select=new gu,this._month=-1,this._year=-1}changeMonth(e){this.select.emit(new YD(this.date.year,cD(e),1))}changeYear(e){this.select.emit(new YD(cD(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return e.\u0275fac=function(t){return new(t||e)(Ko(ax),Ko(sc))},e.\u0275cmp=je({type:e,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(e,t){if(1&e&&(Tu(Sk,3,nc),Tu(kk,3,
1nc)),2&e){let e;Au(e=Iu())&&(t.monthSelect=e.first),Au(e=Iu())&&(t.yearSelect=e.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:6,vars:4,consts:function(){let e,t,n,r;return e=$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,t=$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,n=$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`,r=$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`,[["aria-label",e,"title",t,1,"custom-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",n,"title",r,1,"custom-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(e,t){1&e&&(Jo(0,"select",0,1),aa("change",function(e){return t.changeMonth(e.target.value)}),Go(2,Dk,2,3,"option",2),Xo(),Jo(3,"select",3,4),aa("change",function(e){return t.changeYear(e.target.value)}),Go(5,xk,2,2,"option",2),Xo()),2&e&&(Yo("disabled",t.disabled),ps(2),Yo("ngForOf",t.months),ps(1),Yo("disabled",t.disabled),ps(2),Yo("ngForOf",t.years))},directives:[Ud,WC,YC],styles:["ngb-datepicker-navigation-select>.custom-select{flex:1 1 auto;font-size:.875rem;height:1.85rem;padding:0 .5rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}"],encapsulation:2,changeDetection:0}),e})();new Date(1882,10,12),new Date(2174,10,25);let $x=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op,BS]]}),e})(),jx=(()=>{class e{constructor(){this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Ux=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e,selectors:[["",8,"navbar"]]}),e})(),Hx=(()=>{class e{constructor(e){this.elementRef=e,this._disabled=!1}set disabled(e){this._disabled=""===e||!0===e}get disabled(){return this._disabled}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(e,t){2&e&&ka("disabled",t.disabled)},inputs:{disabled:"disabled"}}),e})(),qx=(()=>{class e{constructor(e,t){this.dropdown=e,this.placement="bottom",this.isOpen=!1,this.nativeElement=t.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(Ko(ae(()=>Zx)),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(e,t,n){if(1&e&&Ou(n,Hx,0),2&e){let e;Au(e=Iu())&&(t.menuItems=e)}},hostVars:5,hostBindings:function(e,t){1&e&&aa("keydown.ArrowUp",function(e){return t.dropdown.onKeyDown(e)})("keydown.ArrowDown",function(e){return t.dropdown.onKeyDown(e)})("keydown.Home",function(e){return t.dropdown.onKeyDown(e)})("keydown.End",function(e){return t.dropdown.onKeyDown(e)})("keydown.Enter",function(e){return t.dropdown.onKeyDown(e)})("keydown.Space",function(e){return t.dropdown.onKeyDown(e)})("keydown.Tab",function(e){return t.dropdown.onKeyDown(e)})("keydown.Shift.Tab",function(e){return t.dropdown.onKeyDown(e)}),2&e&&(qo("x-placement",t.placement),ka("dropdown-menu",!0)("show",t.dropdown.isOpen()))}}),e})(),Wx=(()=>{class e{constructor(e,t){this.dropdown=e,this.nativeElement=t.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(Ko(ae(()=>Zx)),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){2&e&&qo("aria-expanded",t.dropdown.isOpen())}}),e})(),Gx=(()=>{class e extends Wx{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ko(ae(()=>Zx)),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){1&e&&aa("click",function(){return t.dropdown.toggle()})("keydown.ArrowUp",function(e){return t.dropdown.onKeyDown(e)})("keydown.ArrowDown",function(e){return t.dropdown.onKeyDown(e)})("keydown.Home",function(e){return t.dropdown.onKeyDown(e)})("keydown.End",function(e){return t.dropdown.onKeyDown(e)})("keydown.Tab",function(e){return t.dropdown.onKeyDown(e)})("keydown.Shift.Tab",function(e){return t.dropdown.onKeyDown(e)}),2&e&&qo("aria-expanded",t.dropdown.isOpen())},features:[Kl([{provide:Wx,useExisting:ae(()=>e)}]),Oo]}),e})(),Zx=(()=>{class e{constructor(e,t,n,r,i,s,o){this._changeDetector=e,this._document=n,this._ngZone=r,this._elementRef=i,this._renderer=s,this._closed$=new S,this._bodyContainer=null,this._open=!1,this.openChange=new gu,this.placement=t.placement,this.container=t.container,this.autoClose=t.autoClose,this.display=o?"static":"dynamic",this._zoneSubscription=r.onStable.subscribe(()=>{this._positionMenu()})}ngAfterContentInit(){this._ngZone.onStable.pipe(Og(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(e){if(e.container&&this._open&&this._applyContainer(this.container),e.placement&&!e.placement.isFirstChange&&this._applyPlacementClasses(),e.dropdownClass){const{currentValue:t,previousValue:n}=e.dropdownClass;this._applyCustomDropdownClass(t,n)}}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}_setCloseHandlers(){Dx(this._ngZone,this._document,this.autoClose,e=>{this.close(),0===e&&this._anchor.nativeElement.focus()},this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}onKeyDown(e){const t=e.which,n=this._getMenuElements();let r=-1,i=null;const s=this._isEventFromToggle(e);
1if(!s&&n.length&&n.forEach((t,n)=>{t.contains(e.target)&&(i=t),t===this._document.activeElement&&(r=n)}),t!==bx.Space&&t!==bx.Enter){if(t!==bx.Tab){if(s||i){if(this.open(),n.length){switch(t){case bx.ArrowDown:r=Math.min(r+1,n.length-1);break;case bx.ArrowUp:if(this._isDropup()&&-1===r){r=n.length-1;break}r=Math.max(r-1,0);break;case bx.Home:r=0;break;case bx.End:r=n.length-1}n[r].focus()}e.preventDefault()}}else if(e.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===e.target)return void("body"!==this.container||e.shiftKey?e.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const t=this._menu.nativeElement.querySelectorAll(xx);e.shiftKey&&e.target===t[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(this._anchor.nativeElement.focus(),this.close())}else C_(e.target,"focusout").pipe(Og(1)).subscribe(({relatedTarget:e})=>{this._elementRef.nativeElement.contains(e)||this.close()})}}else!i||!0!==this.autoClose&&"inside"!==this.autoClose||C_(i,"click").pipe(Og(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(e){return this._anchor.nativeElement.contains(e.target)}_getMenuElements(){const e=this._menu;return null==e?[]:e.menuItems.filter(e=>!e.disabled).map(e=>e.elementRef.nativeElement)}_positionMenu(){const e=this._menu;this.isOpen()&&e&&this._applyPlacementClasses("dynamic"===this.display?Ix(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}_getFirstPlacement(e){return Array.isArray(e)?e[0]:e.split(" ")[0]}_resetContainer(){const e=this._renderer;if(this._menu){const t=this._menu.nativeElement;e.appendChild(this._elementRef.nativeElement,t),e.removeStyle(t,"position"),e.removeStyle(t,"transform")}this._bodyContainer&&(e.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(e=null){if(this._resetContainer(),"body"===e){const e=this._renderer,t=this._menu.nativeElement,n=this._bodyContainer=this._bodyContainer||e.createElement("div");e.setStyle(n,"position","absolute"),e.setStyle(t,"position","static"),e.setStyle(n,"z-index","1050"),e.appendChild(n,t),e.appendChild(this._document.body,n)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(e,t){const n="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;n&&(t&&this._renderer.removeClass(n,t),e&&this._renderer.addClass(n,e))}_applyPlacementClasses(e){const t=this._menu;if(t){e||(e=this._getFirstPlacement(this.placement));const n=this._renderer,r=this._elementRef.nativeElement;n.removeClass(r,"dropup"),n.removeClass(r,"dropdown"),t.placement="static"===this.display?null:e;const i=-1!==e.search("^top")?"dropup":"dropdown";n.addClass(r,i);const s=this._bodyContainer;s&&(n.removeClass(s,"dropup"),n.removeClass(s,"dropdown"),n.addClass(s,i))}}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ac),Ko(jx),Ko(Nh),Ko(rh),Ko(nc),Ko(sc),Ko(Ux,8))},e.\u0275dir=Ze({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(e,t,n){if(1&e&&(Ou(n,qx,1),Ou(n,Wx,1)),2&e){let e;Au(e=Iu())&&(t._menu=e.first),Au(e=Iu())&&(t._anchor=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&ka("show",t.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display",dropdownClass:"dropdownClass"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[ut]}),e})(),Kx=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),Yx=(()=>{class e{constructor(e){this._ngbConfig=e,this.backdrop=!0,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})();class Qx{constructor(e,t,n){this.nodes=e,this.viewRef=t,this.componentRef=n}}class Jx{constructor(e,t,n,r,i,s,o){this._type=e,this._injector=t,this._viewContainerRef
1=n,this._renderer=r,this._ngZone=i,this._componentFactoryResolver=s,this._applicationRef=o,this._windowRef=null,this._contentRef=null}open(e,t,n=!1){this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes));const{nativeElement:r}=this._windowRef.location,i=this._ngZone.onStable.pipe(Og(1),z(()=>SD(this._ngZone,r,({classList:e})=>e.add("show"),{animation:n,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:i}}close(e=!1){return this._windowRef?SD(this._ngZone,this._windowRef.location.nativeElement,({classList:e})=>e.remove("show"),{animation:e,runningTransition:"stop"}).pipe(ny(()=>{var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):dg(void 0)}_getContentRef(e,t){if(e){if(e instanceof Mc){const n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new Qx([n.rootNodes],n)}return new Qx([[this._renderer.createText(`${e}`)]])}return new Qx([])}}const Xx=()=>{};let eE=(()=>{class e{constructor(e){this._document=e}compensate(){const e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):Xx}_adjustBody(e){const t=this._document.body,n=t.style.paddingRight,r=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]=`${r+e}px`,()=>t.style["padding-right"]=n}_isPresent(e){const t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}_getWidth(){const e=this._document.createElement("div");e.className="modal-scrollbar-measure";const t=this._document.body;t.appendChild(e);const n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}}return e.\u0275fac=function(t){return new(t||e)(pr(Nh))},e.\u0275prov=he({factory:function(){return new e(pr(Nh))},token:e,providedIn:"root"}),e})(),tE=(()=>{class e{constructor(e,t){this._el=e,this._zone=t}ngOnInit(){this._zone.onStable.asObservable().pipe(Og(1)).subscribe(()=>{SD(this._zone,this._el.nativeElement,(e,t)=>{t&&gD(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return SD(this._zone,this._el.nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(rh))},e.\u0275cmp=je({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(e,t){2&e&&(Da("modal-backdrop"+(t.backdropClass?" "+t.backdropClass:"")),ka("show",!t.animation)("fade",t.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();class nE{close(e){}dismiss(e){}}class rE{constructor(e,t,n,r){this._windowCmptRef=e,this._contentRef=t,this._backdropCmptRef=n,this._beforeDismiss=r,this._closed=new S,this._dismissed=new S,this._hidden=new S,e.instance.dismissEvent.subscribe(e=>{this.dismiss(e)}),this.result=new Promise((e,t)=>{this._resolve=e,this._reject=t}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(j_(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(j_(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}_dismiss(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}dismiss(e){if(this._windowCmptRef)if(this._beforeDismiss){const t=this._beforeDismiss();t&&t.then?t.then(t=>{!1!==t&&this._dismiss(e)},()=>{}):!1!==t&&this._dismiss(e)}else this._dismiss(e)}_removeModalElements(){const e=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():dg(void 0);e.subscribe(()=>{const{nativeElement:e}=this._windowCmptRef.location;e.parentNode.removeChild(e),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:e}=this._backdropCmptRef.location;e.parentNode.removeChild(e),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),N_(e,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var iE=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({});let sE=(()=>{class e{constructor(e,t,n){this._document=e,this._elRef=t,this._zone=n,this._closed$=new S,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new gu,this.shown=new S,this.hidden=new S}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(Og(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,t={animation:this.animation,runningTransition:"stop"},n=N_(SD(this._zone,e,()=>e.classList.remove("show"),t),SD(this._zone,this._dialogEl.nativeElement,()=>{},t));return n.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),n}_show(){const e={animation:this.animation,runningTransition:"continue"};N_(SD(this._zone,this._elRef.nativeElement,(e,t)=>{t&&gD(e),e.classList.add("show")},e),SD(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{C_(e,"keydown").pipe(j_(this._closed$),Lg(e=>e.which===bx.Escape)).subscribe(e=>{this.keyboard?requestAnimationFrame(()=>{e.defaultPrevented||this._zone.run(()=>this.dismiss(iE.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let t=!1;C_(this._dialogEl.nativeElement,"mousedown").pipe(j_(this._closed$),ny(()=>t=!1),xg(()=>C_(e,"mouseup").pipe(j_(this._closed$),Og(1))),Lg(({target:t})=>e===t)).subscribe(()=>{t=!0}),C_(e,"click").pipe(j_(this._closed$)).subscribe(({target:n})=>{e===n&&("static"===this.backdrop?this._bumpBackdrop():!0!==this.backdrop||t||this._zone.run(()=>this.dismiss(iE.BACKDROP_CLICK))),t=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const t=e.querySelector("[ngbAutofocus]"),n=Ex(e)[0];(t||n||e).focus()}}_restoreFocus(){const e=this._document.body,t=this._elWithFocus;let n;n=t&&t.focus&&e.contains(t)?t:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&SD(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Nh),Ko(nc),Ko(rh))},e.\u0275cmp=je({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){if(1&e&&Tu(Ek,3),2&e){let e;Au(e=Iu())&&(t._dialogEl=e.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,t){2&e&&(qo("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),Da("modal d-block"+(t.windowClass?" "+t.windowClass:"")),ka("fade",t.animation))},inputs:{backdrop:"backdrop",keyboard:"keyboard",animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:GS,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(da(),Jo(0,"div",0,1),Jo(2,"div",2),pa(3),Xo(),Xo()),2&e&&Da("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":"")+(t.modalDialogClass?" "+t.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}"],encapsulation:2}),e})(),oE=(()=>{class e{constructor(e,t,n,r,i,s){this._applicationRef=e,this._injector=t,this._document=n,this._scrollBar=r,this._rendererFactory=i,this._ngZone=s,this._activeWindowCmptHasChanged=new S,this._ariaHiddenValues=new Map,this._backdropAttributes=["animation","backdropClass"],this._modalRef
1s=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new gu,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const e=this._windowCmpts[this._windowCmpts.length-1];Ax(this._ngZone,e.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(e.location.nativeElement)}})}open(e,t,n,r){const i=r.container instanceof HTMLElement?r.container:pD(r.container)?this._document.querySelector(r.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!i)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);const l=new nE,c=this._getContentRef(e,r.injector||t,n,l,r);let u=!1!==r.backdrop?this._attachBackdrop(e,i):void 0,h=this._attachWindowComponent(e,i,c),d=new rE(h,c,u,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),l.close=e=>{d.close(e)},l.dismiss=e=>{d.dismiss(e)},this._applyWindowOptions(h.instance,r),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,r),u.changeDetectorRef.detectChanges()),h.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(t=>t.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e,t){let n=e.resolveComponentFactory(tE).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}_attachWindowComponent(e,t,n){let r=e.resolveComponentFactory(sE).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}_applyWindowOptions(e,t){this._windowAttributes.forEach(n=>{pD(t[n])&&(e[n]=t[n])})}_applyBackdropOptions(e,t){this._backdropAttributes.forEach(n=>{pD(t[n])&&(e[n]=t[n])})}_getContentRef(e,t,n,r,i){return n?n instanceof Mc?this._createFromTemplateRef(n,r):uD(n)?this._createFromString(n):this._createFromComponent(e,t,n,r,i):new Qx([])}_createFromTemplateRef(e,t){const n=e.createEmbeddedView({$implicit:t,close(e){t.close(e)},dismiss(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new Qx([n.rootNodes],n)}_createFromString(e){const t=this._document.createTextNode(`${e}`);return new Qx([[t]])}_createFromComponent(e,t,n,r,i){const s=e.resolveComponentFactory(n),o=Ao.create({providers:[{provide:nE,useValue:r}],parent:t}),a=s.create(o),l=a.location.nativeElement;return i.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new Qx([[l]],a.hostView,a)}_setAriaHidden(e){const t=e.parentElement;t&&e!==this._document.body&&(Array.from(t.children).forEach(t=>{t!==e&&"SCRIPT"!==t.nodeName&&(this._ariaHiddenValues.set(t,t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),this._setAriaHidden(t))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const t=()=>{const t=this._modalRefs.indexOf(e);t>-1&&(this._modalRefs.splice(t,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(t,t)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const t=this._windowCmpts.indexOf(e);t>-1&&(this._windowCmpts.splice(t,1),this._activeWindowCmptHasChanged.next())})}}return e.\u0275fac=function(t){return new(t||e)(pr(kh),pr(Ao),pr(Nh),pr(eE),pr(ic),pr(rh))},e.\u0275prov=he({factory:function(){return new e(pr(kh),pr(ho),pr(Nh),pr(eE),pr(ic),pr(rh))},token:e,providedIn:"root"}),e})(),aE=(()=>{class e{constructor(e,t,n,r){this._moduleCFR=e,this._injector=t,this._modalStack=n,this._config=r}open(e,t={}){const n=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),t);
1return this._modalStack.open(this._moduleCFR,this._injector,e,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return e.\u0275fac=function(t){return new(t||e)(pr(Jl),pr(Ao),pr(oE),pr(Yx))},e.\u0275prov=he({factory:function(){return new e(pr(Jl),pr(ho),pr(oE),pr(Yx))},token:e,providedIn:"root"}),e})(),lE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[aE]}),e})(),cE=(()=>{class e{constructor(e){this._ngbConfig=e,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})();const uE=e=>pD(e)&&""!==e;let hE=0,dE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbNavContent",""]]}),e})(),pE=(()=>{class e{constructor(e,t){this.elementRef=t,this.disabled=!1,this.shown=new gu,this.hidden=new gu,this._nav=e}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){pD(this.domId)||(this.domId="ngb-nav-"+hE++)}get active(){return this._nav.activeId===this.id}get id(){return uE(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(pD(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return e.\u0275fac=function(t){return new(t||e)(Ko(ae(()=>fE)),Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbNavItem",""]],contentQueries:function(e,t,n){if(1&e&&Ou(n,dE,0),2&e){let e;Au(e=Iu())&&(t.contentTpls=e)}},hostVars:2,hostBindings:function(e,t){2&e&&ka("nav-item",!0)},inputs:{disabled:"disabled",domId:"domId",destroyOnHide:"destroyOnHide",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]}),e})(),fE=(()=>{class e{constructor(e,t,n,r){this.role=e,this._cd=n,this._document=r,this.activeIdChange=new gu,this.shown=new gu,this.hidden=new gu,this.destroy$=new S,this.navItemChange$=new S,this.navChange=new gu,this.animation=t.animation,this.destroyOnHide=t.destroyOnHide,this.orientation=t.orientation,this.roles=t.roles,this.keyboard=t.keyboard}click(e){e.disabled||this._updateActiveId(e.id)}onKeyDown(e){if("tablist"!==this.roles||!this.keyboard)return;const t=e.which,n=this.links.filter(e=>!e.navItem.disabled),{length:r}=n;let i=-1;if(n.forEach((e,t)=>{e.elRef.nativeElement===this._document.activeElement&&(i=t)}),r){switch(t){case bx.ArrowLeft:if("vertical"===this.orientation)return;i=(i-1+r)%r;break;case bx.ArrowRight:if("vertical"===this.orientation)return;i=(i+1)%r;break;case bx.ArrowDown:if("horizontal"===this.orientation)return;i=(i+1)%r;break;case bx.ArrowUp:if("horizontal"===this.orientation)return;i=(i-1+r)%r;break;case bx.Home:i=0;break;case bx.End:i=r-1}"changeWithArrows"===this.keyboard&&this.select(n[i].navItem.id),n[i].elRef.nativeElement.focus(),e.preventDefault()}}select(e){this._updateActiveId(e,!1)}ngAfterContentInit(){if(!pD(this.activeId)){const e=this.items.first?this.items.first.id:null;uE(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}this.items.changes.pipe(j_(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:e}){e&&!e.firstChange&&this._notifyItemChanged(e.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(e,t=!0){if(this.activeId!==e){let n=!1;t&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:()=>{n=!0}}),n||(this.activeId=e,this.activeIdChange.emit(e),this._notifyItemChanged(e))}}_notifyItemChanged(e){this.navItemChange$.next(this._getItemById(e))}_getItemById(e){return this.items&&this.items.find(t=>t.id===e)||null}}return e.\u0275fac=function(t){return new(t||e)(Zn("role"),Ko(cE),Ko(Ac),Ko(Nh))},e.\u0275dir=Ze({type:e,selectors:[["","ngbNav",""]],contentQueries:function(e,t,n){if(1&e&&(Ou(n,pE,0),Ou(n,mE,1)),2&e){let e;Au(e=Iu())&&(t.items=e),Au(e=Iu())&&(t.links=e)}},hostVars:6,hostBindings:function(e,t){1&e&&aa("keydown.arrowLeft",function(e){return t.onKeyDown(e)})("keydown.arrowRight",function(e){return t.onKeyDown(e)})("keydown.arrowDown",function(e){return t.onKeyDown(e)})("keydown.arrowUp",function(e){return t.onKeyDown(e)})("keydown.Home",function(e){return t.onKeyDown(e)})("keydown.End",function(e){return t.onKeyDown(e)}),2&e&&(qo("aria-orientation","vertical"===t.orientation&&"tablist"===t.roles?"vertical":void 0)("role",t.role?t.role:t.roles?"tablist":void 0),ka("nav",!0)("flex-column","vertical"===t.orientation))},inputs:{animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard",activeId:"activeId"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],features:[ut]}),e})(),mE=(()=>{class e{constructor(e,t,n,r){this.role=e,this.navItem=t,this.nav=n,this.elRef=r}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(Zn("role"),Ko(pE),Ko(fE),Ko(nc))}
1,e.\u0275dir=Ze({type:e,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(e,t){1&e&&aa("click",function(e){return t.nav.click(t.navItem),e.preventDefault()}),2&e&&(ja("id",t.navItem.domId),qo("role",t.role?t.role:t.nav.roles?"tab":void 0)("tabindex",t.navItem.disabled?-1:void 0)("aria-controls",t.navItem.isPanelInDom()?t.navItem.panelDomId:null)("aria-selected",t.navItem.active)("aria-disabled",t.navItem.disabled),ka("nav-link",!0)("nav-item",t.hasNavItemClass())("active",t.navItem.active)("disabled",t.navItem.disabled))}}),e})();const gE=({classList:e})=>(e.remove("show"),()=>e.remove("active")),yE=(e,t)=>{t&&gD(e),e.classList.add("show")};let bE=(()=>{class e{constructor(e){this.elRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc))},e.\u0275dir=Ze({type:e,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(e,t){2&e&&(ja("id",t.item.panelDomId),qo("role",t.role?t.role:t.nav.roles?"tabpanel":void 0)("aria-labelledby",t.item.domId),ka("fade",t.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}}),e})(),vE=(()=>{class e{constructor(e,t){this._cd=e,this._ngZone=t,this._activePane=null}isPanelTransitioning(e){var t;return(null===(t=this._activePane)||void 0===t?void 0:t.item)===e}ngAfterViewInit(){var e;this._updateActivePane(),this.nav.navItemChange$.pipe(j_(this.nav.destroy$),Fg((null===(e=this._activePane)||void 0===e?void 0:e.item)||null),q_(),e=>e.lift(new iC(1))).subscribe(e=>{const t={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?SD(this._ngZone,this._activePane.elRef.nativeElement,gE,t).subscribe(()=>{var n;const r=null===(n=this._activePane)||void 0===n?void 0:n.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),SD(this._ngZone,this._activePane.elRef.nativeElement,yE,t).subscribe(()=>{e&&(e.shown.emit(),this.nav.shown.emit(e.id))})),r&&(r.hidden.emit(),this.nav.hidden.emit(r.id))}):this._updateActivePane()})}_updateActivePane(){var e,t;this._activePane=this._getActivePane(),null===(e=this._activePane)||void 0===e||e.elRef.nativeElement.classList.add("show"),null===(t=this._activePane)||void 0===t||t.elRef.nativeElement.classList.add("active")}_getPaneForItem(e){return this._panes&&this._panes.find(t=>t.item===e)||null}_getActivePane(){return this._panes&&this._panes.find(e=>e.item.active)||null}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ac),Ko(rh))},e.\u0275cmp=je({type:e,selectors:[["","ngbNavOutlet",""]],viewQuery:function(e,t){if(1&e&&Tu(bE,1),2&e){let e;Au(e=Iu())&&(t._panes=e)}},hostVars:2,hostBindings:function(e,t){2&e&&ka("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:Ak,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&Go(0,Pk,1,1,"ng-template",0),2&e&&Yo("ngForOf",t.nav.items)},directives:[Ud,qd,bE,Kd],encapsulation:2,changeDetection:0}),e})(),wE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),_E=(()=>{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})(),CE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),e})(),SE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationFirst",""]]}),e})(),kE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationLast",""]]}),e})(),DE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationNext",""]]}),e})(),xE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationNumber",""]]}),e})(),EE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]]}),e})(),AE=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Mc))},e.\u0275dir=Ze({type:e,selectors:[["ng-template","ngbPaginationPages",""]]}),e})(),TE=(()=>{class e{constructor(e){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new gu(!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.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(e){this._updatePages(e)}ngOnChanges(e){this._updatePages(this.page)}isEllipsis(e){return-1===e}_applyEllipses(e,t){this.ellipses&&(e>0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),t<this.pageCount&&(t<this.pageCount-2?this.pages.push(-1):t===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let e=0,t=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?t=this.maxSize:this.pageCount-this.page<n?e=this.pageCount-this.maxSize:(e=this.page-n-1,t=this.page+(this.maxSize%2==0?n-1:n)),[e,t]}_applyPagination(){let e=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[e,e+this.maxSize]}_setPageInRange(e){const t=this.page;this.page=function(e,t,n=0){return Math.max(Math.min(e,t),n)}(e,this.pageCount,1),this.page!==t&&hD(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(e){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),hD(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let t=1;t<=this.pageCount;t++)this.pages.push(t);if(this._setPageInRange(e),this.maxSize>0&&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)(Ko(_E))},e.\u0275cmp=je({type:e,selectors:[["ngb-pagination"]],contentQueries:function(e,t,n){if(1&e&&(Ou(n,CE,1),Ou(n,SE,1),Ou(n,kE,1),Ou(n,DE,1),Ou(n,xE,1),Ou(n,EE,1),Ou(n,AE,1)),2&e){let e;Au(e=Iu())&&(t.tplEllipsis=e.first),Au(e=Iu())&&(t.tplFirst=e.first),Au(e=Iu())&&(t.tplLast=e.first),Au(e=Iu())&&(t.tplNext=e.first),Au(e=Iu())&&(t.tplNumber=e.first),Au(e=Iu())&&(t.tplPrevious=e.first),Au(e=Iu())&&(t.tplPages=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:[ut],decls:20,vars:12,consts:function(){let e,t,n,r,i,s,o,a;return e=$localize`:@@ngb.pagination.first␟656506dfd46380956a655f919f1498d018f75ca0␟6867721956102594380:««`,t=$localize`:@@ngb.pagination.previous␟6e52b6ee77a4848d899dd21b591c6fd499e3aef3␟6479320895410098858:«`,n=$localize`:@@ngb.pagination.next␟ba9cbb4ff311464308a3627e4f1c3345d9fe6d7d␟5458177150283468089:»`,r=$localize`:@@ngb.pagination.last␟49f27a460bc97e7e00be5b37098bfa79884fc7d9␟5277020320267646988:»»`,i=$localize`:@@ngb.pagination.first-aria␟f2f852318759c6396b5d3d17031d53817d7b38cc␟2241508602425256033:First`,s=$localize`:@@ngb.pagination.previous-aria␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,o=$localize`:@@ngb.pagination.next-aria␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,a=$localize`:@@ngb.pagination.last-aria␟5c729788ba138508aca1bec050b610f7bf81db3e␟4882268002141858767:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],e,t,n,r,["class","sr-only",4,"ngIf"],[1,"sr-only"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["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",i,"href","",1,"page-link",3,"click"],["aria-label",s,"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){if(1&e&&(Go(0,Fk,2,0,"ng-template",null,0,Ru),Go(2,Mk,2,0,"ng-template",null,1,Ru),Go(4,Rk,2,0,"ng-template",null,2,Ru),Go(6,Nk,2,0,"ng-template",null,3,Ru),Go(8,Lk,1,0,"ng-template",null,4,Ru),Go(10,Vk,2,2,"ng-template",null,5,Ru),Go(12,Gk,1,1,"ng-template",null,6,Ru),Jo(14,"ul"),Go(15,Yk,3,9,"li",7),Go(16,Xk,3,8,"li",7),Go(17,eD,0,0,"ng-template",8),Go(18,nD,3,9,"li",7),Go(19,iD,3,9,"li",7),Xo()),2&e){const e=Zo(13);ps(14),Da("pagination"+(t.size?" pagination-"+t.size:"")),ps(1),Yo("ngIf",t.boundaryLinks),ps(1),Yo("ngIf",t.directionLinks),ps(1),Yo("ngTemplateOutlet",(null==t.tplPages?null:t.tplPages.templateRef)||e)("ngTemplateOutletContext",su(8,sD,t.page,t.pages,t.disabled)),ps(1),Yo("ngIf",t.directionLinks),ps(1),Yo("ngIf",t.boundaryLinks)}},directives:[qd,Kd,Ud],encapsulation:2,changeDetection:0}),e})(),OE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})();class IE{constructor(e,t){this.open=e,this.close=t,t||(this.close=e)}isManual(){return"manual"===this.open||"manual"===this.close}}const PE={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]}
1,FE=e=>e>0?eC(e):e=>e;function ME(e,t,n,r,i,s,o=0,a=0){const l=function(e,t=PE){const n=(e||"").trim();if(0===n.length)return[];const r=n.split(/\s+/).map(e=>e.split(":")).map(e=>{let n=t[e[0]]||e;return new IE(n[0],n[1])}),i=r.filter(e=>e.isManual());if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}(n);if(1===l.length&&l[0].isManual())return()=>{};const c=function(e,t,n,r){return new b(i=>{const s=[],o=()=>i.next(!0),a=()=>i.next(!1),l=()=>i.next(!r());return n.forEach(n=>{n.open===n.close?s.push(e.listen(t,n.open,l)):s.push(e.listen(t,n.open,o),e.listen(t,n.close,a))}),()=>{s.forEach(e=>e())}})}(e,t,l,r).pipe(function(e,t,n){return r=>{let i=null;const s=r.pipe(x(e=>({open:e})),Lg(e=>{const t=n();return t===e.open||i&&i.open!==t?(i&&i.open!==e.open&&(i=null),!1):(i=e,!0)}),te());return q(s.pipe(Lg(e=>e.open),FE(e)),s.pipe(Lg(e=>!e.open),FE(t))).pipe(Lg(e=>e===i&&(i=null,e.open!==n())),x(e=>e.open))}}(o,a,r)).subscribe(e=>e?i():s());return()=>c.unsubscribe()}let RE=(()=>{class e{constructor(e){this._ngbConfig=e,this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})(),NE=0,LE=(()=>{class e{isTitleTemplate(){return this.title instanceof Mc}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(e,t){2&e&&(ja("id",t.id),Da("popover"+(t.popoverClass?" "+t.popoverClass:"")),ka("fade",t.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:GS,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(da(),ea(0,"div",0),Go(1,lD,4,2,"h3",1),Jo(2,"div",2),pa(3),Xo()),2&e&&(ps(1),Yo("ngIf",t.title))},directives:[qd,Kd],styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{margin-top:-.5rem;top:50%}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{bottom:.7em;top:auto}"],encapsulation:2,changeDetection:0}),e})(),BE=(()=>{class e{constructor(e,t,n,r,i,s,o,a,l,c){this._elementRef=e,this._renderer=t,this._ngZone=o,this._document=a,this._changeDetector=l,this.shown=new gu,this.hidden=new gu,this._ngbPopoverWindowId="ngb-popover-"+NE++,this._windowRef=null,this.animation=s.animation,this.autoClose=s.autoClose,this.placement=s.placement,this.triggers=s.triggers,this.container=s.container,this.disablePopover=s.disablePopover,this.popoverClass=s.popoverClass,this.openDelay=s.openDelay,this.closeDelay=s.closeDelay,this._popupService=new Jx(LE,n,i,t,this._ngZone,r,c),this._zoneSubscription=o.onStable.subscribe(()=>{this._windowRef&&Ix(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-popover")})}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}open(e){if(!this._windowRef&&!this._isDisabled()){const{windowRef:t,transition$:n}=this._popupService.open(this.ngbPopover,e,this.animation);this._windowRef=t,this._windowRef.instance.animation=this.animation,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=e,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),Dx(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),n.subscribe(()=>this.shown.emit())}}close(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(()=>{this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=ME(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:e,popoverTitle:t,disablePopover:n,popoverClass:r}){r&&this.isOpen()&&(this._windowRef.instance.popoverClass=r.currentValue),(e||t||n)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(sc),Ko(Ao),Ko(Jl),Ko($c),Ko(RE),Ko(rh),Ko(Nh),Ko(Ac),Ko(kh))},e.\u0275dir=Ze({type:e,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[ut]}),e})(),VE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),zE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),$E=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),jE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),UE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})(),HE=(()=>{class e{constructor(e){this._ngbConfig=e,this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return e.\u0275fac=function(t){return new(t||e)(pr(bD))},e.\u0275prov=he({factory:function(){return new e(pr(bD))},token:e,providedIn:"root"}),e})(),qE=0,WE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(e,t){2&e&&(ja("id",t.id),Da("tooltip"+(t.tooltipClass?" "+t.tooltipClass:"")),ka("fade",t.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:GS,decls:3,vars:0,consts:[[1,"arrow"],[1,"tooltip-inner"]],template:function(e,t){1&e&&(da(),ea(0,"div",0),Jo(1,"div",1),pa(2),Xo())},styles:["ngb-tooltip-window{pointer-events:none}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-bottom .arrow,ngb-tooltip-window.bs-tooltip-top .arrow{left:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-bottom-left .arrow,ngb-tooltip-window.bs-tooltip-top-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-bottom-right .arrow,ngb-tooltip-window.bs-tooltip-top-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{bottom:.4rem;top:auto}"],encapsulation:2,changeDetection:0}),e})(),GE=(()=>{class e{constructor(e,t,n,r,i,s,o,a,l,c){this._elementRef=e,this._renderer=t,this._ngZone=o,this._document=a,this._changeDetector=l,this.shown=new gu,this.hidden=new gu,this._ngbTooltipWindowId="ngb-tooltip-"+qE++,this._windowRef=null,this.animation=s.animation,this.autoClose=s.autoClose,this.placement=s.placement,this.triggers=s.triggers,this.container=s.container,this.disableTooltip=s.disableTooltip,this.tooltipClass=s.tooltipClass,this.openDelay=s.openDelay,this.closeDelay=s.closeDelay,this._popupService=new Jx(WE,n,i,t,this._ngZone,r,c),this._zoneSubscription=o.onStable.subscribe(()=>{this._windowRef&&Ix(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container,"bs-tooltip")})}set ngbTooltip(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(e){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:t,transition$:n}=this._popupService.open(this._ngbTooltip,e,this.animation);this._windowRef=t,this._windowRef.instance.animation=this.animation,this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),Dx(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),n.subscribe(()=>this.shown.emit())}}close(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(()=>{this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=ME(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:e}){e&&this.isOpen()&&(this._windowRef.instance.tooltipClass=e.currentValue)}ngOnDestroy(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ko(nc),Ko(sc),Ko(Ao),Ko(Jl),Ko($c),Ko(HE),Ko(rh),Ko(Nh),Ko(Ac),Ko(kh))},e.\u0275dir=Ze({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[ut]}),e})(),ZE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();new Yn("live announcer delay",{providedIn:"root",factory:function(){return 100}});let KE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[op]]}),e})();const YE=[PD,FD,MD,WD,KD,$x,Kx,lE,wE,OE,VE,zE,$E,jE,UE,ZE,KE];let QE=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[YE,PD,FD,MD,WD,KD,$x,Kx,lE,wE,OE,VE,zE,$E,jE,UE,ZE,KE]}),e})(),JE=(()=>{class e{constructor(){}saveWithKey(e,t){return localStorage.setItem(e,t)}getWithKey(e){return localStorage.getItem(e)}deleteKey(e){localStorage.removeItem(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),XE=(()=>{class e{constructor(e,t){var n,r,i,s,o,a,l,c,u;this.apiService=e,this.storageService=t,this.cartContent=[],this.categoryImages={},this.$cartContent=new pg([]),this.apiService.getSeminareImages().pipe(ey()).subscribe(e=>
1{e.forEach(e=>{this.categoryImages[e.bildcode]="data:image/jpeg;base64,"+e.bild})});let h=this.storageService.getWithKey("cart");if(null!=h)try{h=JSON.parse(h),(h.length>0&&void 0===h[0].Seminare||"number"==typeof(null===(i=null===(r=null===(n=h[0])||void 0===n?void 0:n.Seminare[0])||void 0===r?void 0:r.Teilnehmer[0])||void 0===i?void 0:i.uebernachtung))&&this.storageService.saveWithKey("cart",[]);let e=cw(h,!1);void 0!==(null===(a=null===(o=null===(s=e[0])||void 0===s?void 0:s.Seminare[0])||void 0===o?void 0:o.Teilnehmer[0])||void 0===a?void 0:a.uebernachtung)&&void 0!==(null===(u=null===(c=null===(l=e[0])||void 0===l?void 0:l.Seminare[0])||void 0===c?void 0:c.Teilnehmer[0])||void 0===u?void 0:u.uebernachtung.length)&&(this.cartContent=e,this.$cartContent.next(this.cartContent))}catch(d){console.error(d)}}addToCart(e){this.cartContent.push(e),this.cartContent=cw(this.cartContent,!1),console.log(this.cartContent),this.$cartContent.next(this.cartContent),this.storageService.saveWithKey("cart",JSON.stringify(this.cartContent))}removeFromCart(e){this.cartContent.forEach((t,n)=>{t.Seminare[0].Code==e.Seminare[0].Code&&this.cartContent.splice(n,1)}),0==this.cartContent.length&&window.scrollTo(0,0),this.$cartContent.next(this.cartContent),this.storageService.saveWithKey("cart",JSON.stringify(this.cartContent))}pushCart(e){this.cartContent=e,this.$cartContent.next(this.cartContent)}getCatImage(e){return this.categoryImages[e]}}return e.\u0275fac=function(t){return new(t||e)(pr(Hw),pr(JE))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),eA=(()=>{class e{constructor(e){this.apiservice=e,this.zielgruppen=new pg(void 0),this.seminare=new pg(void 0),this.karriereplan=new pg(void 0),this.elearningprodukte=new pg(void 0),this.merchandiseprodukte=new pg(void 0),this.literaturprodukte=new pg(void 0),this.apiservice.getKarriereplan().pipe(ey()).subscribe(e=>{this.karriereplan.next(e)}),this.apiservice.getSeminare().pipe(ey()).subscribe(e=>{this.seminare.next(e)}),this.apiservice.getSeminareZielgruppen().pipe(ey()).subscribe(e=>{this.zielgruppen.next(e)}),this.apiservice.getElearningProdukte().pipe(ey()).subscribe(e=>{this.elearningprodukte.next(e)}),this.apiservice.getMerchandiseProdukte().pipe(ey()).subscribe(e=>{this.merchandiseprodukte.next(e)}),this.apiservice.getLiteraturProdukte().pipe(ey()).subscribe(e=>{this.literaturprodukte.next(e)})}getKarriereplan(){return this.karriereplan}getSeminare(){return this.seminare}getELearning(){return this.elearningprodukte}getMerchandise(){return this.merchandiseprodukte}getLiteratur(){return this.literaturprodukte}getZielgruppen(){return this.zielgruppen}}return e.\u0275fac=function(t){return new(t||e)(pr(Hw))},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function tA(e,t){var n=document.createElement("textarea");n.value=e,n.style.top="0",n.style.left="0",n.style.position="fixed",document.body.appendChild(n),n.focus(),n.select();try{var r=document.execCommand("copy"),i=r?"successful":"unsuccessful";r&&t.success("Link erfolgreich in Zwischenablage kopiert"),console.log("Copying text command was "+i)}catch(s){t.error("Link konnte nicht kopiert werden."),console.error("Oops, unable to copy",s)}document.body.removeChild(n)}const nA=e=>rA(e.replace(/[-,\u2013\xae\(\)\.]/g,"").replace(/[\ /]/g,"-").replace(/[-]+/g,"-").replace(/-$/,"").toLowerCase()),rA=e=>e.replace(/\xe4/g,"ae").replace(/\xf6/g,"oe").replace(/\xfc/g,"ue").replace(/\xdf/g,"ss");let iA={calendar:'<svg class="bi bi-calendar" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M14 0H2a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V2a2 2 0 00-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z" clip-rule="evenodd"/>\n        <path fill-rule="evenodd" d="M6.5 7a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm-9 3a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2zm3 0a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"/>\n        </svg>',dash:'<svg class="bi bi-dash" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M3.5 8a.5.5 0 01.5-.5h8a.5.5 0 010 1H4a.5.5 0 01-.5-.5z" clip-rule="evenodd"/>\n        </svg>',"info-circle":'<svg class="bi bi-info-circle" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z" clip-rule="evenodd"/>\n        <path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"/>\n        <circle cx="8" cy="4.5" r="1"/>\n        </svg>',x:'<svg class="bi bi-x" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M11.854 4.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708-.708l7-7a.5.5 0 01.708 0z" 
1clip-rule="evenodd"/>\n        <path fill-rule="evenodd" d="M4.146 4.146a.5.5 0 000 .708l7 7a.5.5 0 00.708-.708l-7-7a.5.5 0 00-.708 0z" clip-rule="evenodd"/>\n        </svg>',plus:'<svg class="bi bi-plus" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor"\n        xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd"\n        d="M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z"\n        clip-rule="evenodd" />\n        <path fill-rule="evenodd" d="M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z"\n        clip-rule="evenodd" />\n        </svg>',"arrow-short-right":' <svg class="bi bi-arrow-right-short" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor"\n        xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd"\n        d="M8.146 4.646a.5.5 0 01.708 0l3 3a.5.5 0 010 .708l-3 3a.5.5 0 01-.708-.708L10.793 8 8.146 5.354a.5.5 0 010-.708z"\n        clip-rule="evenodd" />\n        <path fill-rule="evenodd" d="M4 8a.5.5 0 01.5-.5H11a.5.5 0 010 1H4.5A.5.5 0 014 8z"\n        clip-rule="evenodd" />\n        </svg>',bag:'<svg class="bi bi-bag" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor"\n        xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd"\n        d="M14 5H2v9a1 1 0 001 1h10a1 1 0 001-1V5zM1 4v10a2 2 0 002 2h10a2 2 0 002-2V4H1z"\n        clip-rule="evenodd" />\n        <path d="M8 1.5A2.5 2.5 0 005.5 4h-1a3.5 3.5 0 117 0h-1A2.5 2.5 0 008 1.5z" />\n        </svg>',"cursor-fill":'<svg class="mr-2 bi bi-cursor-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor"\n        xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd"\n        d="M14.082 2.182a.5.5 0 01.103.557L8.528 15.467a.5.5 0 01-.917-.007L5.57 10.694.803 8.652a.5.5 0 01-.006-.916l12.728-5.657a.5.5 0 01.556.103z"\n        clip-rule="evenodd" />\n        </svg>',"people-fill":'<svg class="mr-2 bi bi-people-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor"\n        xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd"\n        d="M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 100-6 3 3 0 000 6zm-5.784 6A2.238 2.238 0 015 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 005 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"\n        clip-rule="evenodd" />\n        </svg>',geo:'<svg class="bi bi-geo" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path d="M11 4a3 3 0 11-6 0 3 3 0 016 0z"/>\n        <path d="M7.5 4h1v9a.5.5 0 01-1 0V4z"/>\n        <path fill-rule="evenodd" d="M6.489 12.095a.5.5 0 01-.383.594c-.565.123-1.003.292-1.286.472-.302.192-.32.321-.32.339 0 .013.005.085.146.21.14.124.372.26.701.382.655.246 1.593.408 2.653.408s1.998-.162 2.653-.408c.329-.123.56-.258.701-.382.14-.125.146-.197.146-.21 0-.018-.018-.147-.32-.339-.283-.18-.721-.35-1.286-.472a.5.5 0 11.212-.977c.63.137 1.193.34 1.61.606.4.253.784.645.784 1.182 0 .402-.219.724-.483.958-.264.235-.618.423-1.013.57-.793.298-1.855.472-3.004.472s-2.21-.174-3.004-.471c-.395-.148-.749-.336-1.013-.571-.264-.234-.483-.556-.483-.958 0-.537.384-.929.783-1.182.418-.266.98-.47 1.611-.606a.5.5 0 01.595.383z" clip-rule="evenodd"/>\n        </svg>',"x-circle-fill":'<svg class="bi bi-x-circle-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-4.146-3.146a.5.5 0 0 0-.708-.708L8 7.293 4.854 4.146a.5.5 0 1 0-.708.708L7.293 8l-3.147 3.146a.5.5 0 0 0 .708.708L8 8.707l3.146 3.147a.5.5 0 0 0 .708-.708L8.707 8l3.147-3.146z"/>\n        </svg>',"arrow-down-circle-fill":'<svg class="bi bi-arrow-down-circle-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 5a.5.5 0 0 0-1 0v4.793L5.354 7.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 9.793V5z"/>\n        </svg>',"arrow-down":'<svg class="bi bi-arrow-down" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M4.646 9.646a.5.5 0 0 1 .708 0L8 12.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z"/>\n        <path fill-rule="evenodd" d="M8 2.5a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-1 0V3a.5.5 0 0 1 .5-.5z"/>\n        </svg>',"check-circle-fill":'<svg class="bi bi-check-circle-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>\n        </svg>',"link-45deg":'<svg class="bi bi-link-45deg" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path d="M4.715 6.542L3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.
1001 1.001 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z"/>\n        <path d="M5.712 6.96l.167-.167a1.99 1.99 0 0 1 .896-.518 1.99 1.99 0 0 1 .518-.896l.167-.167A3.004 3.004 0 0 0 6 5.499c-.22.46-.316.963-.288 1.46z"/>\n        <path d="M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 0 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 0 0-4.243-4.243L6.586 4.672z"/>\n        <path d="M10 9.5a2.99 2.99 0 0 0 .288-1.46l-.167.167a1.99 1.99 0 0 1-.896.518 1.99 1.99 0 0 1-.518.896l-.167.167A3.004 3.004 0 0 0 10 9.501z"/>\n        </svg>',files:'<svg class="bi bi-files" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M3 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3z"/>\n        <path d="M5 0h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1H3a2 2 0 0 1 2-2z"/>\n        </svg>',envelope:'<svg class="bi bi-envelope" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M14 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z"/>\n        <path d="M.05 3.555C.017 3.698 0 3.847 0 4v.697l5.803 3.546L0 11.801V12c0 .306.069.596.192.856l6.57-4.027L8 9.586l1.239-.757 6.57 4.027c.122-.26.191-.55.191-.856v-.2l-5.803-3.557L16 4.697V4c0-.153-.017-.302-.05-.445L8 8.414.05 3.555z"/>\n        </svg>',"chevron-down":'<svg class="bi bi-chevron-down" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n        </svg>',"chevron-left":'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n        <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n    </svg>',"chevron-up":'<svg class="bi bi-chevron-up" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>\n        </svg>',"caret-down":'<svg class="bi bi-caret-down-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
1\n        <path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/>\n        </svg>',"pencil-square":'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-pencil-square" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path d="M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456l-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"/>\n        <path fill-rule="evenodd" d="M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5v11z"/>\n      </svg>',search:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-search" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n      <path fill-rule="evenodd" d="M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"/>\n      <path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/>\n    </svg>',glasses:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-eyeglasses" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M4 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n        <path fill-rule="evenodd" d="M8 7a1 1 0 0 0-1 1H6a2 2 0 1 1 4 0H9a1 1 0 0 0-1-1zM0 8a.5.5 0 0 1 .5-.5h1v1h-1A.5.5 0 0 1 0 8zm15.5.5h-1v-1h1a.5.5 0 0 1 0 1z"/>\n    </svg>',bullseye:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-bullseye" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>\n        <path fill-rule="evenodd" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"/>\n        <path fill-rule="evenodd" d="M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8z"/>\n        <path d="M9.5 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>\n    </svg>',award:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-award" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M9.669.864L8 0 6.331.864l-1.858.282-.842 1.68-1.337 1.32L2.6 6l-.306 1.854 1.337 1.32.842 1.68 1.858.282L8 12l1.669-.864 1.858-.282.842-1.68 1.337-1.32L13.4 6l.306-1.854-1.337-1.32-.842-1.68L9.669.864zm1.196 1.193l-1.51-.229L8 1.126l-1.355.702-1.51.229-.684 1.365-1.086 1.072L3.614 6l-.25 1.506 1.087 1.072.684 1.365 1.51.229L8 10.874l1.356-.702 1.509-.229.684-1.365 1.086-1.072L12.387 6l.248-1.506-1.086-1.072-.684-1.365z"/>\n        <path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1 4 11.794z"/>\n    </svg>',camera:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-camera-reels" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M0 8a2 2 0 0 1 2-2h7.5a2 2 0 0 1 1.983 1.738l3.11-1.382A1 1 0 0 1 16 7.269v7.462a1 1 0 0 1-1.406.913l-3.111-1.382A2 2 0 0 1 9.5 16H2a2 2 0 0 1-2-2V8zm11.5 5.175l3.5 1.556V7.269l-3.5 1.556v4.35zM2 7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H2z"/>\n        <path fill-rule="evenodd" d="M3 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n        <path fill-rule="evenodd" d="M9 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n    </svg>',company:'<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-building" fill="currentColor" xmlns="http://www.w3.org/2000/svg">\n        <path fill-rule="evenodd" d="M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694L1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z"/>\n        <path d="M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z"/>\n    </svg>',"person-circle":'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pers
1on-circle" viewBox="0 0 16 16">\n        <path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>\n        <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>\n    </svg>',"arrow-left-circle":'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left-circle" viewBox="0 0 16 16">\n        <path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-4.5-.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5z"/>\n    </svg>',clock:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clock" viewBox="0 0 16 16">\n        <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>\n        <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/>\n    </svg>',facebook:'<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><title>Logo Facebook</title><path d="M480 257.35c0-123.7-100.3-224-224-224s-224 100.3-224 224c0 111.8 81.9 204.47 189 221.29V322.12h-56.89v-64.77H221V208c0-56.13 33.45-87.16 84.61-87.16 24.51 0 50.15 4.38 50.15 4.38v55.13H327.5c-27.81 0-36.51 17.26-36.51 35v42h62.12l-9.92 64.77H291v156.54c107.1-16.81 189-109.48 189-221.31z" fill-rule="evenodd"/></svg>',linkedin:'<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><title>Logo Linkedin</title><path d="M444.17 32H70.28C49.85 32 32 46.7 32 66.89v374.72C32 461.91 49.85 480 70.28 480h373.78c20.54 0 35.94-18.21 35.94-38.39V66.89C480.12 46.7 464.6 32 444.17 32zm-273.3 373.43h-64.18V205.88h64.18zM141 175.54h-.46c-20.54 0-33.84-15.29-33.84-34.43 0-19.49 13.65-34.42 34.65-34.42s33.85 14.82 34.31 34.42c-.01 19.14-13.31 34.43-34.66 34.43zm264.43 229.89h-64.18V296.32c0-26.14-9.34-44-32.56-44-17.74 0-28.24 12-32.91 23.69-1.75 4.2-2.22 9.92-2.22 15.76v113.66h-64.18V205.88h64.18v27.77c9.34-13.3 23.93-32.44 57.88-32.44 42.13 0 74 27.77 74 87.64z"/></svg>',xing:'<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><title>Logo Xing</title><path d="M313.8 303.9L469 32H365L209.4 303.8a1.35 1.35 0 000 1.7l98.9 173.8c.4.7.8.7 1.6.7H413l-99.3-174.7a1.74 1.74 0 01.1-1.4zM221.9 216.2L163 113a2 2 0 00-2-1H65l58.9 104.4a1.13 1.13 0 01.1.8L43 352h96.8a1.54 1.54 0 001.6-.9l80.5-133.7a2.44 2.44 0 000-1.2z"/></svg>',easel:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-easel" viewBox="0 0 16 16">\n        <path d="M8 0a.5.5 0 0 1 .473.337L9.046 2H14a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1.85l1.323 3.837a.5.5 0 1 1-.946.326L11.092 11H8.5v3a.5.5 0 0 1-1 0v-3H4.908l-1.435 4.163a.5.5 0 1 1-.946-.326L3.85 11H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.954L7.527.337A.5.5 0 0 1 8 0zM2 3v7h12V3H2z"/>\n    </svg>',back:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-back" viewBox="0 0 16 16">\n        <path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2z"/>\n    </svg>',pdf:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-pdf" viewBox="0 0 16 16">\n    <path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"/>\n    <path d="M4.603 14.087a.81.81 0 0 1-.438-.42c-.195-.388-.13-.776.08-1.102.198-.307.526-.568.897-.787a7.68 7.68 0 0 1 1.482-.645 19.697 19.697 0 0 0 1.062-2.227 7.269 7.269 0 0 1-.43-1.295c-.086-.4-.119-.796-.046-1.136.075-.354.274-.672.65-.823.192-.077.4-.12.602-.077a.7.7 0 0 1 .477.365c.088.164.12.356.127.538.007.188-.012.396-.047.614-.084.51-.27 1.134-.52 1.794a10.954 10.954 0 0 0 .98 1.686 5.753 5.753 0 0 1 1.334.05c.364.066.734.195.96.465.12.144.193.32.2.518.007.192-.047.382-.138.563a1.04 1.04 0 0 1-.354.416.856.856 0 0 1-.51.138c-.331-.014-.654-.196-.933-.417a5.712 5.712 0 0 1-.911-.95 11.651 11.651 0 0 0-1.997.406 11.307 11.307 0 0 1-1.02 1.51c-.292.35-.609.656-.927.787a.793.793 0 0 1-.58.029zm1.379-1.901c-.166.076-.32.156-.459.238-.328.194-.541.383-.647.547-.094.145-.096.25-.04.361.01.022.02.036.026.044a.266.266 0 0 0 .035-.012c.137-.056.355-.235.635-.572a8.18 8.18 0 0 0 .45-.606zm1.64-1.33a12.71 12.71 0 0 1 1.01-.193 11.744 11.744 0 0 1-.51-.858 20.801 20.801 0 0 1-.5 1.05zm2.446.45c.15.163.296.3.435.41.24.19.407.253.498.256a.107.107 0 0 0 .07-.015.307.307 0 0 0 .094-.125.436.436 0 0 0 .059-.2.095.095 0 0 0-.026-.063c-.052-.062-.2-.152-.518-.209a3.876 3.876 0 0 0-.612-.053zM8.078 7.8a6.7 6.7 0 0 0 .2-.828c.031-.188.043-.343.038-.465a.613.613 0 0 0-.032-.198.517.517 0 0 0-.145.04c-.087.035-.158.106-.196.283-.04.192-.03.469.046.822.024.111.054.227.09.346z"/>\n  </svg>',zip:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-zip" viewBox="0 0 16 16">\n    <path d="M5 7.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.11 0l-.929-.62a1 1 0 0 1-.415-1.074L5 8.438V7.5zm2 0H6v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.929-.62-.4-1.598A1 1 0 0 1 7 8.438V7.5z"/>\n    <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1h-2v1h-1v1h1v1h-1v1h1v1H6V5H5V4h1V3H5V2h1V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z"/>\n    </svg>',video:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-play" viewB
1ox="0 0 16 16">\n    <path d="M6 6.883v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858L6.757 6.454a.5.5 0 0 0-.757.43z"/>\n    <path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"/>\n    </svg>'},sA=(()=>{class e{constructor(e){this.sanitizer=e,this.iconHTML=""}ngOnInit(){this.iconHTML=this.sanitizer.bypassSecurityTrustHtml(iA[this.name])}}return e.\u0275fac=function(t){return new(t||e)(Ko(Np))},e.\u0275cmp=je({type:e,selectors:[["app-icon"]],inputs:{name:"name"},decls:1,vars:1,consts:[[1,"app-icon-div",3,"innerHTML"]],template:function(e,t){1&e&&ea(0,"div",0),2&e&&Yo("innerHTML",t.iconHTML,oi)},styles:["app-icon.topfix{top:0}  app-icon{display:inline-flex;position:relative;top:2px}  app-icon .app-icon-div{display:inline-flex;width:100%}"]}),e})();var oA=function(e){return e[e.SEMINAR=0]="SEMINAR",e[e.E_LEARNING=1]="E_LEARNING",e[e.MERCHANDISE=2]="MERCHANDISE",e[e.LITERATUR=3]="LITERATUR",e}({});const aA=["content"];function lA(e,t){if(1&e){const e=ra();Jo(0,"div",19),aa("click",function(){Rt(e);const t=ua().$implicit;return ua().navigate("seminar",t)}),Na(1," Dieser Seminartermin ist leider nicht mehr buchbar. Bei Interesse klicken Sie bitte auf diese Meldung. Vielen Dank. "),Xo()}}function cA(e,t){if(1&e&&(ta(0),Jo(1,"td"),Jo(2,"strong"),Na(3,"Seminardauer:"),Xo(),Xo(),Jo(4,"td"),Na(5),Xo(),na()),2&e){const e=ua(3);ps(5),La(e.seminar.SeminarDauer+(e.seminar.SeminarDauer>1?" Tage":" Tag"))}}function uA(e,t){if(1&e&&(ta(0),Jo(1,"td"),Jo(2,"strong"),Na(3,"Seminardauer:"),Xo(),Xo(),Jo(4,"td"),Na(5),Xo(),na()),2&e){const e=ua(4);ps(5),La(e.seminar.Dauer+(e.seminar.Dauer>1?" Tage":" Tag"))}}function hA(e,t){1&e&&Go(0,uA,6,1,"ng-container",14),2&e&&Yo("ngIf",ua(3).seminar.Dauer)}function dA(e,t){1&e&&(ta(0),Jo(1,"td"),Na(2,"8:30 bis ca. 17:00 Uhr"),Xo(),na())}function pA(e,t){1&e&&(Jo(0,"td"),Na(1,"8:30 bis ca. 15:00 Uhr"),ea(2,"br"),Na(3," am Abschlusstag"),Xo())}function fA(e,t){if(1&e&&(Jo(0,"table",20),Jo(1,"tbody"),Jo(2,"tr"),Jo(3,"td"),Jo(4,"strong"),Na(5,"Seminarkategorie:"),Xo(),Xo(),Jo(6,"td"),Na(7),Xo(),Xo(),Jo(8,"tr"),Go(9,cA,6,1,"ng-container",21),Go(10,hA,1,1,"ng-template",null,22,Ru),Xo(),Jo(12,"tr"),Jo(13,"td"),Jo(14,"strong"),Na(15,"Seminarzeiten:"),Xo(),ea(16,"br"),Jo(17,"small",23),Na(18,"(online abweichend)"),Xo(),Xo(),Go(19,dA,3,0,"ng-container",21),Go(20,pA,4,0,"ng-template",null,24,Ru),Xo(),Xo(),Xo()),2&e){const e=Zo(11),t=Zo(21),n=ua(2);ps(7),La(n.seminar.Kategorie),ps(2),Yo("ngIf",n.seminar.SeminarDauer)("ngIfElse",e),ps(10),Yo("ngIf",1==n.seminar.SeminarDauer||!n.seminar.SeminarDauer&&1==n.seminar.Dauer)("ngIfElse",t)}}function mA(e,t){if(1&e&&(Jo(0,"li"),Na(1),Xo()),2&e){const e=t.$implicit;ps(1),La(e)}}function gA(e,t){if(1&e&&(Jo(0,"div",25),Jo(1,"strong"),Na(2,"Zielgruppen:"),Xo(),Jo(3,"ul",26),Go(4,mA,2,1,"li",27),Xo(),Xo()),2&e){const e=ua(2);ps(4),Yo("ngForOf",e.seminar.Zielgruppen.split(","))}}function yA(e,t){if(1&e&&(ta(0),Jo(1,"span"),Na(2),Xo(),na()),2&e){const e=ua().$implicit;ps(2),Ba(", ",e.Ort,"")}}function bA(e,t){if(1&e&&(Na(0," \xa0"),Jo(1,"span",36),Na(2),Xo()),2&e){const e=ua().$implicit;ps(2),La(e.Ort)}}function vA(e,t){1&e&&ea(0,"br")}function wA(e,t){if(1&e&&(Jo(0,"small"),Na(1),Go(2,vA,1,0,"br",14),Xo()),2&e){const e=t.$implicit,n=ua(2).$implicit;ps(1),Ba(" ",e.Beginn+" - "+e.Ende+", "+e.Ort,""),ps(1),Yo("ngIf",n.FolgeCodes.indexOf(e)!=n.FolgeCodes.length-1)}}const _A=function(e){return{"text-secondary":e}};function CA(e,t){if(1&e&&(Jo(0,"div",37),Jo(1,"small"),Na(2,"Folgetermine:"),Xo(),ea(3,"br"),Go(4,wA,3,2,"small",27),Xo()),2&e){const e=ua().$implicit,t=ua(3);Yo("ngClass",ru(2,_A,t.selectedTermin!=e)),ps(4),Yo("ngForOf",e.FolgeCodes)}}const SA=function(e){return{active:e}};function kA(e,t){if(1&e){const e=ra();Jo(0,"a",34),aa("click",function(){Rt(e);const n=t.$implicit;return ua(3).selectedTermin=n}),Na(1),Go(2,yA,3,1,"ng-container",21),Go(3,bA,3,1,"ng-template",null,22,Ru),Go(5,CA,5,4,"div",35),Xo()}if(2&e){const e=t.$implicit,n=Zo(4),r=ua(3);Yo("ngClass",ru(6,SA,r.selectedTermin==e)),ps(1),Va("",e.Beginn," - ",e.Ende,""),ps(1),Yo("ngIf",0==e.Virtuell)("ngIfElse",n),ps(3),Yo("ngIf",e.FolgeC
1odes.length>0)}}function DA(e,t){if(1&e){const e=ra();Jo(0,"div",28),Jo(1,"a",29),Na(2," Termin ausw\xe4hlen "),Xo(),Jo(3,"div",30),Go(4,kA,6,8,"a",31),ea(5,"div",32),Jo(6,"a",33),aa("click",function(){Rt(e);const t=ua().$implicit;return ua().navigate("seminar",t)}),Na(7," Alternativtermin anfragen"),Xo(),Xo(),Xo()}if(2&e){const e=ua(2);ps(4),Yo("ngForOf",e.seminar.Seminare)}}function xA(e,t){if(1&e){const e=ra();Jo(0,"button",39),aa("click",function(){Rt(e);const t=ua(2).$implicit;return ua().navigate("seminar",t)}),Na(1," Seminar auf Anfrage "),Xo()}}function EA(e,t){if(1&e){const e=ra();ta(0),Go(1,xA,2,0,"button",38),Jo(2,"button",39),aa("click",function(){Rt(e);const t=ua().$implicit;return ua().navigate("inhouse",t)}),Na(3," Inhouse-Seminar anfragen "),Xo(),na()}if(2&e){const e=ua(2);ps(1),Yo("ngIf",!e.inFuture)}}function AA(e,t){if(1&e&&(ta(0),Jo(1,"table",20),Jo(2,"tbody"),Jo(3,"tr"),Jo(4,"td"),Jo(5,"strong"),Na(6,"Beginn:"),Xo(),Xo(),Jo(7,"td"),Na(8),Xo(),Xo(),Jo(9,"tr"),Jo(10,"td"),Jo(11,"strong"),Na(12,"Ende:"),Xo(),Xo(),Jo(13,"td"),Na(14),Xo(),Xo(),Jo(15,"tr"),Jo(16,"td"),Jo(17,"strong"),Na(18,"Ort:"),Xo(),Xo(),Jo(19,"td"),Na(20),Xo(),Xo(),Jo(21,"tr"),Jo(22,"td"),Jo(23,"strong"),Na(24,"Seminarnummer:"),Xo(),Xo(),Jo(25,"td"),Na(26),Xo(),Xo(),Jo(27,"tr"),Jo(28,"td"),Jo(29,"strong"),Na(30,"Anmeldeschluss:"),Xo(),Xo(),Jo(31,"td"),Na(32),Xo(),Xo(),Jo(33,"tr"),Jo(34,"td"),Jo(35,"strong"),Na(36,"Seminargeb\xfchr:"),Xo(),ea(37,"br"),Jo(38,"small",23),Na(39,"(exkl. MwSt.)"),Xo(),Xo(),ea(40,"td",40),hu(41,"currency"),Xo(),Xo(),Xo(),na()),2&e){const e=ua(2);ps(8),La(e.selectedTermin.Beginn),ps(6),La(e.selectedTermin.Ende),ps(6),Va("",0==e.selectedTermin.Virtuell?e.selectedTermin.PLZ+" ":"","",e.selectedTermin.Ort,""),ps(6),La(e.selectedTermin.Nummer),ps(6),La(e.selectedTermin.Anmeldeschluss),ps(8),Yo("innerHTML",.01==e.selectedTermin.Preis?"k.A.<br> Info folgt":pu(41,7,e.selectedTermin.Preis,"Euro"),oi)}}function TA(e,t){if(1&e&&(ta(0),Jo(1,"table",20),Jo(2,"tr"),Jo(3,"td"),Jo(4,"strong"),Na(5,"Preis:"),Xo(),ea(6,"br"),Jo(7,"small",23),Na(8,"(exkl. MwSt.)"),Xo(),Xo(),Jo(9,"td"),Na(10),hu(11,"currency"),Xo(),Xo(),Xo(),na()),2&e){const e=ua(2);ps(10),La(pu(11,1,e.selectedTermin.Preis,"Euro"))}}function OA(e,t){if(1&e&&(ta(0),Jo(1,"table",20),Jo(2,"tr"),Jo(3,"td"),Jo(4,"strong"),Na(5,"Seminargeb\xfchr:"),Xo(),ea(6,"br"),Jo(7,"small",23),Na(8,"(exkl. MwSt.)"),Xo(),Xo(),Jo(9,"td"),Na(10),hu(11,"currency"),Xo(),Xo(),Xo(),na()),2&e){const e=ua(2);ps(10),La(pu(11,1,e.seminar.Preis,"Euro"))}}function IA(e,t){if(1&e&&(Jo(0,"li"),Na(1),Xo()),2&e){const e=t.$implicit;ps(1),za(" ",e.Beginn," - ",e.Ende,", ",e.Ort,"")}}function PA(e,t){if(1&e&&(Jo(0,"div"),Jo(1,"span"),Na(2),Xo(),Jo(3,"ul"),Go(4,IA,2,3,"li",27),Xo(),Xo()),2&e){const e=ua(3);ps(2),La(1==e.selectedTermin.FolgeCodes.length?"Fester Folgetermin:":"Feste Folgetermine:"),ps(2),Yo("ngForOf",e.selectedTermin.FolgeCodes)}}function FA(e,t){if(1&e&&(Jo(0,"div"),Jo(1,"strong"),Na(2,"* Mehrteiliges Seminar"),Xo(),Jo(3,"p",41),Na(4,"Bei diesem Seminar handelt es sich um ein mehrteiliges Seminar, das nur in der Gesamtheit gebucht werden kann."),Xo(),Go(5,PA,5,2,"div",14),Xo()),2&e){const e=ua(2);ps(5),Yo("ngIf",(null==e.selectedTermin||null==e.selectedTermin.FolgeCodes?null:e.selectedTermin.FolgeCodes.length)>0)}}function MA(e,t){if(1&e){const e=ra();Jo(0,"img",50),aa("click",function(){return Rt(e),ua(3).showMap=!0}),Xo()}}function RA(e,t){if(1&e&&ea(0,"iframe",51),2&e){const e=ua(3);Yo("src",e.domSanitizer.bypassSecurityTrustResourceUrl("https://maps.google.com/maps?width=375&height=283&hl=de&q="+e.selectedTermin.PLZ+" "+e.selectedTermin.Ort+"&ie=UTF8&t=&z=12&iwloc=B&output=embed"),li)}}const NA=function(e){return{"mt-3":e}};function LA(e,t){if(1&e){const e=ra();Jo(0,"div"),Go(1,MA,1,0,"img",42),Go(2,RA,1,1,"iframe",43),Jo(3,"div",44),Jo(4,"p",45),Na(5,"Dieses Seminar teilen:"),Xo(),Jo(6,"button",46),aa("click",function(){return Rt(e),ua(2).share("copy")}),ea(7,"app-icon",47),Na(8," Link Kopieren "),Xo(),Jo(9,"button",48),aa("click",function(){return Rt(e),ua(2).share("mail")}),ea(10,"app-icon",49),Na(11," per Email teilen "),Xo(),Xo(),Xo()}if(2&e){const e=ua(2);ps(1),Yo("ngIf",!e.showMap&&e.selectedTermin&&0==e.selectedTermin.Virtuell),ps(1),Yo("ngIf",e.showMap&&e.selectedTermin&&0==e.selectedTermin.Virtuell),ps(1),Yo("ngClass",ru(3,NA,e.selectedTermin))}}function BA(e,t){1&e&&(Jo(0,"p",57),Na(1," Anzahl Seminarpl\xe4tze "),Xo())}const VA=function(){return{standalone:!0}};function zA(e,t){if(1&e){const e=ra();Jo(0,"div",58),Jo(1,"div",59),Jo(2,"button",60),aa("click",function(){Rt(e);const t=ua(3);
1return t.changeSeminarAmount(!1,t.selectedTermin)}),ea(3,"app-icon",61),Xo(),Xo(),Jo(4,"input",62),aa("ngModelChange",function(t){return Rt(e),ua(3).selectedTermin.Amount=t}),Xo(),Jo(5,"div",59),Jo(6,"button",60),aa("click",function(){Rt(e);const t=ua(3);return t.changeSeminarAmount(!0,t.selectedTermin)}),ea(7,"app-icon",63),Xo(),Xo(),Xo()}if(2&e){const e=ua(3);ps(4),Yo("ngModel",e.selectedTermin.Amount)("ngModelOptions",nu(2,VA))}}function $A(e,t){if(1&e){const e=ra();Jo(0,"div",64),Jo(1,"button",65),aa("click",function(){Rt(e);const t=ua(2).$implicit,n=ua();return n.addToCart(n.selectedTermin,t)}),Na(2," In den Warenkorb legen "),ea(3,"app-icon",66),ea(4,"app-icon",67),Xo(),Xo()}if(2&e){const e=ua(3);Yo("ngbTooltip",e.getToolTipText()),ps(1),Yo("disabled",!e.selectedTermin||e.selectedTermin&&e.istNichtBuchbar(e.selectedTermin))}}function jA(e,t){if(1&e){const e=ra();Jo(0,"button",68),aa("click",function(){Rt(e);const t=ua(2).$implicit,n=ua();return n.saveSeminar(n.selectedTermin,t)}),Na(1," \xc4nderungen \xfcbernehmen "),ea(2,"app-icon",69),Xo()}}function UA(e,t){if(1&e&&(Jo(0,"div",52),Go(1,BA,2,0,"p",53),Go(2,zA,8,3,"div",54),Go(3,$A,5,2,"div",55),Go(4,jA,3,0,"ng-template",null,56,Ru),Xo()),2&e){const e=Zo(5),t=ua(2);ps(1),Yo("ngIf",0==t.seminar.ProduktArt&&t.selectedTermin),ps(1),Yo("ngIf",t.selectedTermin),ps(1),Yo("ngIf",1==t.mode)("ngIfElse",e)}}const HA=function(e){return{"border-color":e}},qA=function(e){return{"max-width":e}};function WA(e,t){if(1&e&&(Jo(0,"div",1),Jo(1,"h5",2),Na(2),Xo(),Jo(3,"button",3),aa("click",function(){return t.$implicit.dismiss()}),Jo(4,"span",4),Na(5,"\xd7"),Xo(),Xo(),Xo(),Jo(6,"div",5),Go(7,lA,2,0,"div",6),Jo(8,"div",7),Jo(9,"div",8),ea(10,"img",9),ea(11,"br"),Go(12,fA,22,5,"table",10),Xo(),Go(13,gA,5,1,"div",11),Jo(14,"div",12),Go(15,DA,8,1,"div",13),Go(16,EA,4,1,"ng-container",14),Go(17,AA,42,10,"ng-container",14),Go(18,TA,12,4,"ng-container",14),Go(19,OA,12,4,"ng-container",14),Xo(),Xo(),ea(20,"br"),ea(21,"hr",15),Go(22,FA,6,1,"div",14),Jo(23,"strong"),Na(24,"Ihr Nutzen:"),Xo(),ea(25,"br"),ea(26,"p",16),Jo(27,"strong"),Na(28,"Inhalt:"),Xo(),ea(29,"br"),ea(30,"div",17),Jo(31,"strong"),Na(32,"Leistungen:"),Xo(),ea(33,"br"),ea(34,"p",16),Go(35,LA,12,5,"div",14),Xo(),Go(36,UA,6,4,"div",18)),2&e){const e=ua();ps(2),La(e.seminar.Beschreibung),ps(5),Yo("ngIf",e.selectedTermin&&e.istNichtBuchbar(e.selectedTermin)),ps(3),Yo("src",e.cartService.getCatImage(e.seminar.KategorieBildCode.toString())?e.cartService.getCatImage(e.seminar.KategorieBildCode.toString()):"https://via.placeholder.com/270x230?text=Bild%20l%C3%A4dt...",ai)("ngStyle",ru(18,HA,e.seminarColor[e.parseInt(e.seminar.Kategorie)]?e.seminarColor[e.seminar.Kategorie]:"white")),ps(2),Yo("ngIf",0==e.seminar.ProduktArt),ps(1),Yo("ngIf",e.seminar.Zielgruppen),ps(1),Yo("ngStyle",ru(20,qA,e.inFuture?"none":"25%")),ps(1),Yo("ngIf",0===e.seminar.ProduktArt&&e.seminar.Seminare&&1==e.mode&&e.inFuture),ps(1),Yo("ngIf",0==e.seminar.ProduktArt),ps(1),Yo("ngIf",0==e.seminar.ProduktArt&&e.selectedTermin),ps(1),Yo("ngIf",e.selectedTermin&&0!=e.seminar.ProduktArt),ps(1),Yo("ngIf",0==e.seminar.ProduktArt&&0==(null==e.seminar||null==e.seminar.Seminare?null:e.seminar.Seminare.length)&&e.seminar.Preis),ps(3),Yo("ngIf",(null==e.seminar||null==e.seminar.Seminare[0]||null==e.seminar.Seminare[0].FolgeCodes?null:e.seminar.Seminare[0].FolgeCodes.length)>0||(null==e.selectedTermin||null==e.selectedTermin.FolgeCodes?null:e.selectedTermin.FolgeCodes.length)>0),ps(4),Yo("innerHTML",e.seminar.Nutzen||e.noDataInfo,oi),ps(4),Yo("innerHTML",e.seminar.Inhalt||"<p>"+e.noDataInfo+"</p>",oi),ps(4),Yo("innerHTML",e.seminar.Leistung||e.noDataInfo,oi),ps(1),Yo("ngIf",0==e.seminar.ProduktArt),ps(1),Yo("ngIf",1==e.mode)}}let GA=(()=>{class e{constructor(e,t,n,r,i,s,o){this.cartService=e,this.toastrService=t,this.modalService=n,this.domSanitizer=r,this.location=i,this.seminarService=s,this.router=o,this.seminarColor=lw,this.seminarChange=new gu,this.oldLocPath="",this.mode=1,this.noDataInfo='<i class="text-muted">noch keine Informationen verf\xfcgbar</i>',this.parseFloat=parseFloat,this.parseInt=parseInt,this.showDateUebernachtungen={year:nw().year(),month:nw().month()},this._selectedTermin=void 0,this.showMap=!1,this.inFuture=!0,2==this.mode&&(this.selectedTermin=this.seminar.Seminare[0]),nw.locale("de"),nw.extend(rw)}set seminar(e){console.log("OPEN MODAL",e.ProduktArt),this._selectedTermin=void 0,this.selectedTermin=void 0,2!=this.mode&&e.ProduktArt==oA.SEMINAR||(this.selectedTermin=e.Seminare[0]),this._seminar=e}get seminar(){return this._seminar}
1set openModal(e){e&&(this.open(),2==this.mode&&(this.selectedTermin=this.seminar.Seminare[0]))}set selectedTermin(e){if(e){this.showDateUebernachtungen={year:nw().year(),month:nw().month()},this.seminarService.getZielgruppen().pipe(ey(e=>void 0!==e)).subscribe(t=>{this.seminarZielgruppen=this.getSeminarZielgruppen(e.Code,t)});let t=nw(e.Beginn,"DD.MM.YYYY");this.showDateUebernachtungen={year:t.year(),month:t.month()+1}}this._selectedTermin=e}get selectedTermin(){return this._selectedTermin}ngOnInit(){}navigate(e,t){let n={Beschreibung:this.seminar.Beschreibung,Typ:this.seminar.id};t.dismiss(),this.router.navigate(["/anfrage/"+e,JSON.stringify(n)])}openSibling(e,t){t.dismiss(),this.router.navigate(["/seminare/"+e]),this.seminarChange.emit(e)}getSeminarZielgruppen(e,t){let n=[];return Object.keys(t).forEach(r=>{-1!==t[r].indexOf(e)&&n.push(r)}),n}open(){if(this.oldLocPath=this.location.path(),this.inFuture=!0,1==this.seminar.Seminare.length?(nw(this.seminar.Seminare[0].Beginn,"DD.MM.YYYY").isAfter(nw().subtract(1,"d"),"d")||(this.inFuture=!1,this.selectedTermin=this.seminar.Seminare[0]),0!==this.seminar.ProduktArt&&(this.selectedTermin=this.seminar.Seminare[0])):0==this.seminar.Seminare.length&&(this.inFuture=!1),this.modalService.open(this.content,{ariaLabelledBy:"modal-basic-title",size:"lg",centered:!0,windowClass:"fade",scrollable:!0,beforeDismiss:()=>{let e=this.location.path().split("/");return e=e.splice(0,e.length-1),e=e.join("/"),-1!==e.indexOf("/seminare")&&this.location.go(e),this.selectedTermin=void 0,this.seminar.showModal=!1,!0}}),-1===this.oldLocPath.indexOf(nA(this.seminar.Beschreibung))&&-1!==this.oldLocPath.indexOf("/seminare")){const e=nA(this.seminar.Beschreibung);this.location.go(this.oldLocPath+"/"+e)}}closeModal(){this.location.go(this.oldLocPath)}getSeminarURL(){let e=this.seminar.Beschreibung;return e=e.replace(/ - /g,"-").replace(/-\, /g,"-").replace(/-\,/g,"-").replace(/- /g,"-").replace(/\, /g,"-").replace(/\,/g,"-").replace(/ \(/g,"-").replace(/\(/g,"-").replace(/\)/g,"").replace(/\./g,"").replace(/ /g,"-").toLowerCase(),e}getSeminar(){let e=ow(this.seminar),t=ow(this.selectedTermin);t.Teilnehmer=[];for(let n=0;n<t.Amount;n++)t.Teilnehmer.push(sw(t.Code,t.FolgeCodes));return e.Seminare=[t],e}addToCart(e,t){this.selectedTermin.MaxTeilnehmer-this.selectedTermin.AnzahlTeilnehmer<=0?this.toastrService.warning("Leider ist dieser Termin bereits ausgebucht."):(this.cartService.addToCart(this.getSeminar()),t.dismiss("Added to cart"),console.log(this.seminar.ProduktArt),this.toastrService.success((0==this.seminar.ProduktArt?"Seminar":"Produkt")+" erfolgreich zum Warenkorb hinzugef\xfcgt"))}getToolTipText(){return this.selectedTermin?"frei"!=this.selectedTermin.SeminarStatus&&"best\xe4tigt"!=this.selectedTermin.SeminarStatus?"Der Termin ist leider nicht mehr buchbar.":this.selectedTermin.MaxTeilnehmer-this.selectedTermin.AnzahlTeilnehmer<=0?"Dieser Termin ist leider ausgebucht.":"":0==this.seminar.Seminare.length?"Seminar auf Anfrage":"Bitte oben einen Termin ausw\xe4hlen"}saveSeminar(e,t){let n=this.getSeminar();this.cartService.removeFromCart(n),this.cartService.addToCart(n),t.dismiss("Seminar saved"),this.toastrService.success("Seminar erfolgreich gespeichert.")}changeSeminarAmount(e,t){e?t.Amount?t.Amount+=1:t.Amount=2:t.Amount&&1!=t.Amount?t.Amount-=1:t.Amount=1}share(e){switch(e){case"copy":tA(window.location.href,this.toastrService);break;case"mail":window.open("mailto:?subject="+document.title+"&body="+window.location.href)}}istNichtBuchbar(e){return e&&("frei"!=e.SeminarStatus&&"best\xe4tigt"!=e.SeminarStatus||e.MaxTeilnehmer-e.AnzahlTeilnehmer<=0)}}return e.\u0275fac=function(t){return new(t||e)(Ko(XE),Ko(g_),Ko(aE),Ko(Np),Ko(Qh),Ko(eA),Ko(Ov))},e.\u0275cmp=je({type:e,selectors:[["app-seminarmodal"]],viewQuery:function(e,t){if(1&e&&(Tu(aA,1),Tu(aA,1)),2&e){let e;Au(e=Iu())&&(t.content=e.first),Au(e=Iu())&&(t.modal=e.first)}},inputs:{seminar:"seminar",openModal:"openModal",mode:"mode"},outputs:{seminarChange:"seminarChange"},decls:2,vars:0,consts:[["content",""],[1,"modal-header","seminar-modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body","seminar-modal-body"],["class","alert alert-warning cursor-pointer","role","alert",3,"click",4,"ngIf"],[1,"d-flex","flex-column","flex-md-row","align-items-start","justify-content-between"],[2,"max-width","310px"],[1,"mb-2","seminarimage",3,"src","ngStyle"],["class","selectedTerminInfo",4,"ngIf"],["class","pl-md-3 py-3 py-md-0","style","max-width: 330px",4,"ngIf"],[3,"ngStyle"],["class","dropdown",4,"ngIf"],[4,"ngIf"],[1,"mt-0"],[1,"text-justify",3,"innerHTML"],[1,"seminarinhalt",3,"innerHTML"],["class","modal-footer seminar-modal-footer",4,"ngIf"],["role","alert",1,"alert","alert-warning","cursor-pointer",3,"click"],[1,"selectedTerminInfo"],[4,"ngIf","ngIfElse"],["elseTemplate",""],[1,"d-block","mt-n1"],["seminarZeitenElseTemplate",""],[1,"pl-md-3","py-3","py-md-0",2,"max-width","330px"],[1,"mb-0","modalZielgruppen"],[4,"ngFor","ngForOf"],[1,"dropdown"],["href","#","role","button","id","dropdownMenuLink","data-toggle","dropdown","aria-haspopup","true","aria-expanded","fal
1se",1,"btn","btn-outline-secondary","w-100","dropdown-toggle"],["aria-labelledby","dropdownMenuLink",1,"dropdown-menu","dropdown-menu-right"],["class","dropdown-item cursor-pointer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"dropdown-divider",2,"border-top","0.12em solid #c3c3c3"],[1,"dropdown-item","cursor-pointer",3,"click"],[1,"dropdown-item","cursor-pointer",3,"ngClass","click"],[3,"ngClass",4,"ngIf"],[1,"badge","badge-secondary"],[3,"ngClass"],["class","btn btn-outline-secondary w-100 px-2 py-1 my-2","type","button",3,"click",4,"ngIf"],["type","button",1,"btn","btn-outline-secondary","w-100","px-2","py-1","my-2",3,"click"],[3,"innerHTML"],[1,""],["src","../assets/img/googleMapPlaceholder.png","width","100%","height","auto","style","border-radius: 8px; cursor: pointer;",3,"click",4,"ngIf"],["width","100%","height","250","frameborder","0","scrolling","no","marginheight","0","marginwidth","0",3,"src",4,"ngIf"],[1,"d-flex","text-secondary","p-2","border-radius","border","border-secondary",2,"max-height","50px",3,"ngClass"],[1,"ml-1",2,"position","relative","top","4px"],["type","button",1,"ml-auto","btn","btn-outline-secondary","btn-sm","mr-2",3,"click"],["name","files"],["type","button",1,"btn","btn-outline-secondary","btn-sm",3,"click"],["name","envelope"],["src","../assets/img/googleMapPlaceholder.png","width","100%","height","auto",2,"border-radius","8px","cursor","pointer",3,"click"],["width","100%","height","250","frameborder","0","scrolling","no","marginheight","0","marginwidth","0",3,"src"],[1,"modal-footer","seminar-modal-footer"],["class","ml-auto mr-2",4,"ngIf"],["class","input-group mx-2","id","seminaramount",4,"ngIf"],["placement","top",3,"ngbTooltip",4,"ngIf","ngIfElse"],["saveTemplate",""],[1,"ml-auto","mr-2"],["id","seminaramount",1,"input-group","mx-2"],["id","button-addon4",1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary","px-2","py-1",3,"click"],["name","dash"],["type","number","placeholder","1","aria-describedby","button-addon4",1,"form-control","px-2","py-1",3,"ngModel","ngModelOptions","ngModelChange"],["name","plus"],["placement","top",3,"ngbTooltip"],["type","button",1,"btn","primaryBg","text-white","py-1",3,"disabled","click"],["name","arrow-short-right"],["name","bag"],["type","button",1,"btn","primaryBg","text-white","py-1",3,"click"],["name","check-circle-fill"]],template:function(e,t){1&e&&Go(0,WA,37,22,"ng-template",null,0,Ru)},directives:[qd,Zd,Ud,$d,sA,LC,dC,MC,kS,GE],pipes:[ip],styles:[".seminar-modal-body[_ngcontent-%COMP%]{line-height:1.2rem}.seminar-modal-body[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{border-radius:8px;align-self:flex-start}.seminar-modal-body[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{text-align:right}.seminar-modal-body[_ngcontent-%COMP%]   .selectedTerminInfo[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding-bottom:.3em;vertical-align:top}.seminar-modal-body[_ngcontent-%COMP%]   .selectedTerminInfo[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(2n){padding-left:.6em}.modalZielgruppen[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.4}"]}),e})();function ZA(e,t){if(1&e&&(ta(0),Jo(1,"p"),Na(2),ea(3,"br"),Na(4),Xo(),na()),2&e){const e=ua().seats,t=ua(2).$implicit;ps(2),Ba(" Seminardauer: ",t.SeminarDauer+(t.SeminarDauer>1?" Tage":" Tag"),""),ps(2),Ba(" ",1==e?e+" Termin":e+" Termine"," verf\xfcgbar. ")}}function KA(e,t){if(1&e&&(ta(0),Jo(1,"span"),Na(2),ea(3,"br"),Xo(),na()),2&e){const e=ua(4).$implicit;ps(2),Ba("Seminardauer: ",e.SeminarDauer+(e.SeminarDauer>1?" Tage":" Tag"),"")}}function YA(e,t){if(1&e&&(Jo(0,"span"),Na(1),ea(2,"br"),Xo()),2&e){const e=ua(5).$implicit;ps(1),Ba("Seminardauer: ",e.Dauer+(e.Dauer>1?" Tage":" Tag"),"")}}function QA(e,t){1&e&&Go(0,YA,3,1,"span",23),2&e&&Yo("ngIf",null!==ua(4).$implicit.Dauer)}function JA(e,t){if(1&e&&(Jo(0,"p"),Go(1,KA,4,1,"ng-container",0),Go(2,QA,1,1,"ng-template",null,22,Ru),Na(4," Seminar auf Anfrage "),Xo()),2&e){const e=Zo(3),t=ua(3).$implicit;ps(1),Yo("ngIf",t.SeminarDauer)("ngIfElse",e)}}function XA(e,t){if(1&e&&(Go(0,ZA,5,2,"ng-container",0),Go(1,JA,5,2,"ng-template",null,21,Ru)),2&e){const e=t.seats,n=Zo(2);Yo("ngIf",ua(2).$implicit.SeminarDauer&&e>0)("ngIfElse",n)}}function eT(e,t){}const tT=function(e){return{seats:e}};function nT(e,t){if(1&e&&(ta(0),Go(1,XA,3,2,"ng-template",null,19,Ru),Go(3,eT,0,0,"ng-template",20),na()),2&e){const e=Zo(2),t=ua().$implicit,n=ua(2);ps(3),Yo("ngTemplateOutlet",e)("ngTemplateOutletContext",ru(2,tT,n.getAvailableAppointment(t)))}}function rT(e,t){if(1&e&&(Jo(0,"p"),Na(1),hu(2,"currency"),Xo()),2&e){const e=ua().$implicit;ps(1),Ba(" Preis: ",pu(2,1,e.Seminare[0].Preis,"Euro")," ")}}const iT=function(e){return{"font-size":e}}
1;function sT(e,t){if(1&e&&(Jo(0,"div",24),Jo(1,"p",25),Na(2),Xo(),Xo()),2&e){const e=ua().$implicit;ps(1),Yo("ngStyle",ru(2,iT,e.Kategorie.length>27?"0.8em":"unset")),ps(1),Ba(" ",e.Kategorie," ")}}const oT=function(e,t){return{"background-color":e,"border-color":t}},aT=function(e,t,n,r){return{"background-image":e,height:t,"border-bottom-left-radius":n,"border-bottom-right-radius":r}};function lT(e,t){if(1&e){const e=ra();Jo(0,"div",5),aa("click",function(){return t.$implicit.showModal=!0}),Jo(1,"div",6),Jo(2,"div",7),Jo(3,"div",8),Jo(4,"h5",9),Na(5),Xo(),Jo(6,"a",10),ea(7,"app-icon",11),Xo(),Jo(8,"app-seminarmodal",12),aa("seminarChange",function(t){return Rt(e),ua(2).changeSeminar(t)}),Xo(),Xo(),ea(9,"hr",13),Jo(10,"div",14),Go(11,nT,4,4,"ng-container",0),Go(12,rT,3,4,"ng-template",null,1,Ru),Xo(),Xo(),Xo(),Jo(14,"div",15),Jo(15,"div",16),ea(16,"div",17),Go(17,sT,3,4,"div",18),Xo(),Xo(),Xo()}if(2&e){const e=t.$implicit,n=Zo(13),r=ua(2);ps(5),La(e.Beschreibung),ps(3),Yo("seminar",e)("openModal",e.showModal),ps(3),Yo("ngIf",0==e.ProduktArt)("ngIfElse",n),ps(4),Yo("ngStyle",iu(8,oT,r.seminarColor[e.Kategorie]?r.seminarColor[e.Kategorie]:"red",r.seminarColor[e.Kategorie]?r.seminarColor[e.Kategorie]:"white")),ps(1),Yo("ngStyle",ou(11,aT,r.cartService.getCatImage(e.KategorieBildCode)?"url("+r.cartService.getCatImage(e.KategorieBildCode)+")":r.seminarColor[e.Kategorie]?r.seminarColor[e.Kategorie]:"white)",0==e.ProduktArt?"170px":"100%",0==e.ProduktArt?"0px":"8px",0==e.ProduktArt?"0px":"8px")),ps(1),Yo("ngIf",0==e.ProduktArt)}}function cT(e,t){if(1&e){const e=ra();Jo(0,"div",26),Jo(1,"ngb-pagination",27),aa("pageChange",function(t){return Rt(e),ua(2).curPage=t})("pageChange",function(){return Rt(e),ua(2).scrollToTop()}),Xo(),Xo()}if(2&e){const e=ua(2);ps(1),Yo("page",e.curPage)("pageSize",e.pageSize)("collectionSize",e.displayedSeminare.length)("rotate",!0)("maxSize",14)}}function uT(e,t){if(1&e&&(ta(0),Jo(1,"div",2),Go(2,lT,18,16,"div",3),hu(3,"slice"),Xo(),Go(4,cT,2,5,"div",4),na()),2&e){const e=ua();ps(2),Yo("ngForOf",function(e,t,n,r,i){const s=Ft(),o=St(s,23);return mu(s,fu(s,23)?uu(s,Ht(),2,o.transform,n,r,i,o):o.transform(n,r,i))}(0,0,e.displayedSeminare,(e.curPage-1)*e.pageSize,(e.curPage-1)*e.pageSize+e.pageSize)),ps(2),Yo("ngIf",e.showPagination)}}function hT(e,t){1&e&&(Jo(0,"div",28),Jo(1,"div",29),Jo(2,"span",30),Na(3,"Loading..."),Xo(),Xo(),Xo())}let dT=(()=>{class e{constructor(e,t){this.changeDet=e,this.cartService=t,this.pageSize=10,this.showPagination=!1,this._curPage=1,this.seminarColor=lw,this.curPageOut=new gu}set curPage(e){this.curPageOut.emit(e),this._curPage=e}get curPage(){return this._curPage}ngOnInit(){this.openSeminar&&this.openSeminar.subscribe(e=>{this.openSeminarNr(e)}),this.openSeminarTitle&&this.openSeminarTitle.subscribe(e=>{this.openSeminarByTitle(e)})}getAvailableAppointment(e){let t=0;for(const n of e.Seminare)"frei"!=n.SeminarStatus&&"best\xe4tigt"!=n.SeminarStatus||t++;return t}scrollToTop(){window.scrollTo(0,0)}openSeminarByTitle(e){const t=this.displayedSeminare.find(t=>nA(t.Beschreibung)===e);t&&this.openSeminarNr(t.id)}openSeminarNr(e){let t;console.log("lengthDisplayedSemianre:",this.displayedSeminare.length),this.displayedSeminare.forEach((n,r)=>{n.id==e&&void 0===t&&(console.log("openDisplayedSemianre:",t),t=r,this.curPage=Math.floor(t/this.pageSize+1),setTimeout(()=>{this.displayedSeminare[t].showModal=!0,this.changeDet.detectChanges()}))})}changeSeminar(e){this.openSeminarNr(e)}}return e.\u0275fac=function(t){return new(t||e)(Ko(Ac),Ko(XE))},e.\u0275cmp=je({type:e,selectors:[["app-seminar-cards"]],inputs:{displayedSeminare:"displayedSeminare",pageSize:"pageSize",openSeminar:"openSeminar",openSeminarTitle:"openSeminarTitle",showPagination:"showPagination"},outputs:{curPageOut:"curPageOut"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["elseTemplate",""],["id","seminarCardWrapper",1,"row","row-cols-1","row-cols-lg-2","mb-4"],["class","col mb-4 align-items-stretch d-flex cursor-pointer",3,"click",4,"ngFor","ngForOf"],["class","clr-row d-flex mb-5",4,"ngIf"],[1,"col","mb-4","align-items-stretch","d-flex","cursor-pointer",3,"click"],[1,"card","h-100","shadow","d-flex","flex-row","align-items-center"],[1,"card-body","d-flex","flex-column","align-self-baseline"],[1,"d-flex","flex-row","card-title-wrap"],[1,"card-title","pr-2"],["href","javascript:void(0)",1,"d-block","ml-auto",2,"min-width","20px"],["name","info-circle",1,"topfix",2,"font-size","larger"],[3,"seminar","openModal","seminarChange"],[1,"w-100"],[1,"card-text"],[1,"card-image"],[1,"card-image-wrap","d-flex","flex-column","justify-content-between","cursor-pointer",3,"ngStyle"],[1,"image-container",2,"background-position","center",3,"ngStyle"],["class","d-flex seminarc
1at align-items-center",4,"ngIf"],["cardInfo",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aufAnfrageTemplate",""],["elseDauerTemplate",""],[4,"ngIf"],[1,"d-flex","seminarcat","align-items-center"],[1,"mb-0","text-white",3,"ngStyle"],[1,"clr-row","d-flex","mb-5"],[1,"clr-col-12","ml-auto","mr-auto",3,"page","pageSize","collectionSize","rotate","maxSize","pageChange"],[1,"d-flex","justify-content-center","w-100","primaryColor","mb-3"],["role","status",1,"spinner-border"],[1,"sr-only"]],template:function(e,t){if(1&e&&(Go(0,uT,5,6,"ng-container",0),Go(1,hT,4,0,"ng-template",null,1,Ru)),2&e){const e=Zo(2);Yo("ngIf",0!==t.displayedSeminare.length)("ngIfElse",e)}},directives:[qd,Ud,sA,GA,Zd,Kd,TE],pipes:[sp,ip],styles:["#seminarCardWrapper .card{width:92%;min-height:210px;margin-left:auto}  #seminarCardWrapper .card-title{margin-bottom:0;font-size:1.08rem}  #seminarCardWrapper .card-image{position:absolute;left:calc(8% + 15px);align-self:center}  #seminarCardWrapper .card-image .card-image-wrap{border:1px solid #fff;border-radius:8px;text-align:center;width:180px;height:180px;margin-left:-25%;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;background-color:red}  #seminarCardWrapper .card-image .card-image-wrap .image-container{width:100%;height:170px;background-size:cover;border-top-left-radius:8px;border-top-right-radius:8px}  #seminarCardWrapper .card-image .card-image-wrap .seminarcat{min-height:30px;text-align:center;line-height:95%;font-size:.85rem;justify-content:center}  #seminarCardWrapper .card-image .card-image-wrap .seminarcat p{line-height:normal}  #seminarCardWrapper .card-body{flex-basis:90%;margin-left:calc(28% + 5px)}  #seminarCardWrapper .card-body hr{margin:.5em 0}"]}),e})();function pT(e,t){if(1&e){const e=ra();Jo(0,"span",25),Na(1),Jo(2,"app-icon",26),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).toggleZielgruppe(n)}),Xo(),Xo()}if(2&e){const e=t.$implicit;ps(1),Ba("",e," ")}}function fT(e,t){if(1&e){const e=ra();Jo(0,"app-icon",27),aa("click",function(){return Rt(e),ua(2).resetFilter("zielgruppe")}),Xo()}}function mT(e,t){if(1&e&&(Jo(0,"div",20),Jo(1,"button",21),Na(2,"Zielgruppe"),Xo(),Jo(3,"div",22),Go(4,pT,3,1,"span",23),Go(5,fT,1,0,"app-icon",24),Xo(),Xo()),2&e){const e=ua();ps(4),Yo("ngForOf",e.showZielgruppen),ps(1),Yo("ngIf",e.showZielgruppen.length>0)}}function gT(e,t){if(1&e){const e=ra();Jo(0,"button",29),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).toggleZielgruppe(n)}),Na(1),Xo()}if(2&e){const e=t.$implicit;Yo("ngClass",-1!=ua(2).showZielgruppen.indexOf(e)?"btn-dark":"btn-light"),ps(1),La(e)}}function yT(e,t){if(1&e&&Go(0,gT,2,2,"button",28),2&e){const e=ua();Yo("ngForOf",e.Object.keys(e.zielgruppen))}}function bT(e,t){if(1&e){const e=ra();Jo(0,"span",25),Na(1),Jo(2,"app-icon",26),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).toggleCat(n)}),Xo(),Xo()}if(2&e){const e=t.$implicit;ps(1),Ba("",e," ")}}function vT(e,t){if(1&e){const e=ra();Jo(0,"app-icon",27),aa("click",function(){return Rt(e),ua(2).resetFilter("kategorien")}),Xo()}}function wT(e,t){if(1&e&&(Jo(0,"div",20),Jo(1,"button",21),Na(2,"Kategorien"),Xo(),Jo(3,"div",22),Go(4,bT,3,1,"span",23),Go(5,vT,1,0,"app-icon",24),Xo(),Xo()),2&e){const e=ua();ps(4),Yo("ngForOf",e.showCategories),ps(1),Yo("ngIf",e.showCategories.length>0)}}const _T=function(e){return{"background-color":e}};function CT(e,t){if(1&e){const e=ra();Jo(0,"button",31),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).toggleCat(n)}),Na(1),Xo()}if(2&e){const e=t.$implicit,n=ua(2);Yo("ngClass",-1!=n.showCategories.indexOf(e)?"text-white":"btn-light")("ngStyle",ru(3,_T,-1!=n.showCategories.indexOf(e)&&n.seminarColor[e]?n.seminarColor[e]:"transparent")),ps(1),La(e)}}function ST(e,t){1&e&&Go(0,CT,2,5,"button",30),2&e&&Yo("ngForOf",ua().categories)}function kT(e,t){if(1&e&&(Jo(0,"span",33),Na(1),Xo()),2&e){const e=ua(2);ps(1),La(e.filterDateStart+" - "+e.filterDateEnd)}}function DT(e,t){if(1&e){const e=ra();Jo(0,"app-icon",27),aa("click",function(){return Rt(e),ua(2).resetFilter("zeitraum")}),Xo()}}function xT(e,t){if(1&e&&(Jo(0,"div",20),Jo(1,"button",21),Na(2,"Zeitraum"),Xo(),Jo(3,"div",22),Go(4,kT,2,1,"span",32),Go(5,DT,1,0,"app-icon",24),Xo(),Xo()),2&e){const e=ua();ps(4),Yo("ngIf",e.filterDateStart&&e.filterDateEnd),ps(1),Yo("ngIf",e.filterDateStart&&e.filterDateEnd)}}const ET=function(){return{standalone:!0}};function AT(e,t){if(1&e){const e=ra();Jo(0,"form",34),Jo(1,"div",35),Jo(2,"div",36),Jo(3,"input",37,38),aa("ngModelChange",function(t){return Rt(e),ua().filterDateStart=t}),Xo(),Jo(5,"div",39),Jo(6,"button",40),aa("click",function(){return Rt(e),Zo(4).toggle()}),ea(7,"app-icon",41),Xo(),Xo(),Xo(),ea(8,"app-icon",42),Na(9,"\xa0 "),Jo(10,"div",43),Jo(11,"input",37,44),aa("ngModelChange",function(t){return Rt(e),ua().filterDateEnd=t}),Xo(),Jo(13,"div",39),Jo(14,"button",40),aa("click",function(){return Rt(e),Zo(12).toggle()}),ea(15,"app-icon",41),Xo(),Xo(),Xo(),Jo(16,"button",45),aa("click",function(){return Rt(e),ua().filter()}),Na(17,"Nach Datum filtern"),Xo(),Xo(),Xo()}if(2&e){const e=ua();ps(3),Yo("ngModel",e.filterDateStart)("ngModelOptions",nu(4,ET)),ps(8),Yo("ngModel",e.filterDateEnd)("ngModelOptions",nu(5,ET))}}let TT=(()=>{class e{constructor(e,t,n,r,i,s,o){this.apiService=e,this.toastrService=t,this.modalService=n,this.cartService=r,this.route=i,this.seminarService=s,this.changeDet=o,this.seminare=[],this.categories=[],this.showCategories=[],this.displayedSeminare=[],this.images={},this.zielgruppen={},this.showZielgruppen=[],this._showOnlineOnly=!1,this._showAvailableOnly=!1,this.curPage=1,this.noDataInfo='<i class="text-muted">noch keine Informationen verf\xfcgbar</i>',this.seminarColor=lw,this.semNumber=0,this.parseFloat=parseFloat,this.Object=Object,this.pageSize=10,this.openSeminar=new pg(void 0),this.openSeminarTitle=new pg(void 0)}set showOnlineOnly(e){this._showOnlineOnly=e,this.filter()}get showOnlineOnly(){return this._showOnlineOnly}set showAvailableOnly(e){this._showAvailableOnly=e,this.filter()}get showAvailableOnly(){return this._showAvailableOnly}
1ngOnInit(){let e=this.route.snapshot.paramMap.get("number");this.seminarService.getSeminare().pipe(ey(e=>void 0!==e)).subscribe(t=>{this.semNumber=t.map(e=>{var t;return(null===(t=e.Seminare)||void 0===t?void 0:t.length)||0}).reduce((e,t)=>e+t),this.seminare=cw(t,!0),this.displayedSeminare=this.seminare,this.seminare.forEach(e=>{-1==this.categories.indexOf(e.Kategorie)&&this.categories.push(e.Kategorie)}),this.categories.sort(),e?Number.isInteger(e)?(console.log("semNumber",e,this.displayedSeminare.length),setTimeout(()=>{this.openSeminar.next(parseInt(e))})):setTimeout(()=>{this.openSeminarTitle.next(e)}):new Date}),this.seminarService.getZielgruppen().pipe(ey(e=>void 0!==e)).subscribe(e=>{this.zielgruppen=e})}scrollToTop(){window.scrollTo(0,0)}toggleCat(e){-1!=this.showCategories.indexOf(e)?this.showCategories.splice(this.showCategories.indexOf(e),1):this.showCategories.push(e),this.filter()}toggleZielgruppe(e){-1!=this.showZielgruppen.indexOf(e)?this.showZielgruppen.splice(this.showZielgruppen.indexOf(e),1):this.showZielgruppen.push(e),this.filter()}filter(){var e,t;let n=this.seminare;if(this.showAvailableOnly&&(n=n.filter(e=>e.Seminare.map(e=>e.MaxTeilnehmer-e.AnzahlTeilnehmer>0&&("frei"==e.SeminarStatus||"best\xe4tigt"==e.SeminarStatus)).indexOf(!0)>-1)),(this.showOnlineOnly||"online"==(null===(e=this.searchVal)||void 0===e?void 0:e.toLowerCase())||"virtuell"==(null===(t=this.searchVal)||void 0===t?void 0:t.toLowerCase()))&&(n=n.filter(e=>e.Seminare.map(e=>e.Virtuell).indexOf(1)>-1)),this.searchVal){let e=this.searchVal.toLowerCase();for(const t of e.split(" "))n=n.filter(e=>e.Seminare.map(e=>e.Code).join(",").toLowerCase().indexOf(t)>-1||e.Seminare.map(e=>e.Nummer).join(",").toLowerCase().indexOf(t)>-1||String(e.Beschreibung).toLowerCase().match(new RegExp(`.*${t}.*$`))||String(e.Nutzen).toLowerCase().match(new RegExp(`.*${t}.*$`))||String(e.Inhalt).toLowerCase().match(new RegExp(`.*${t}.*$`)))}if(this.showZielgruppen.length>0&&(console.log(this.showZielgruppen),n=n.filter(e=>{let t=!1;for(let n=0;n<this.showZielgruppen.length;n++){const r=this.showZielgruppen[n];if(e.Zielgruppen&&-1!=e.Zielgruppen.indexOf(r)){t=!0;break}}return t})),this.showCategories.length>0&&(n=n.filter(e=>this.showCategories.indexOf(e.Kategorie)>-1)),this.filterDateStart&&this.filterDateEnd){let e=this.filterDateStart.split("."),t=this.filterDateEnd.split("."),r=Date.parse(`${e[1]}/${e[0]}/${e[2]}`),i=Date.parse(`${t[1]}/${t[0]}/${t[2]}`);n=n.filter(e=>{let t=!1;return e.Seminare.forEach(e=>{let n=e.Beginn.split(".");var s;(s=Date.parse(`${n[1]}/${n[0]}/${n[2]}`))<=i&&s>=r&&(t=!0)}),t})}0==this.showCategories.length&&(this.categories=[],n.forEach(e=>{-1==this.categories.indexOf(e.Kategorie)&&this.categories.push(e.Kategorie)})),this.displayedSeminare=n,0==this.displayedSeminare.length&&this.toastrService.warning("Diese Anfrage ergab keine Ergebnisse.")}resetFilter(e){if(e)switch(e){case"zielgruppe":this.showZielgruppen=[];break;case"kategorien":this.showCategories=[];break;case"zeitraum":this.filterDateStart=null,this.filterDateEnd=null}else this.searchVal=void 0,this.filterDateStart=null,this.filterDateEnd=null,this.showCategories=[],this.showZielgruppen=[],this.showOnlineOnly=!1,this.showAvailableOnly=!1;this.filter()}selectZielgruppe(e){this.apiService.getSeminareFilterZielgruppe(e.target.value).pipe(ey()).subscribe(e=>{this.zielgruppeSeminare=e,this.filter()})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw),Ko(g_),Ko(aE),Ko(XE),Ko(hb),Ko(eA),Ko(Ac))},e.\u0275cmp=je({type:e,selectors:[["app-seminare"]],decls:36,vars:21,consts:[["id","seminareWrapper",1,"transition"],["id","seminareSearchBar",1,"flex-row","align-items-center","d-lg-flex","mb-2","justify-content-between","mt-4"],[1,"form-inline","my-2","my-lg-0",3,"ngSubmit"],["type","text","placeholder","Suche","aria-label","Suche",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"btn","primaryBg","my-2","my-sm-0","text-white"],[1,"mb-0",2,"line-height","100%"],[1,"custom-control","custom-switch","cursor-pointer"],["type","checkbox","id","customSwitch1",1,"custom-control-input",3,"ngModel","ngModelOptions","ngModelChange"],["for","customSwitch1",1,"custom-control-label"],[1,"custom-control","custom-switch","cursor-pointer",2,"margin-top","-6px"],["type","checkbox","id","customSwitch2",1,"custom-control-input",3,"ngModel","ngModelOptions","ngModelChange"],["for","customSwitch2",1,"custom-control-label"],[1,"btn","primaryBg","my-2","my-sm-0","text-white",3,"click"],[1,"flex-row","d-lg-flex","mb-3"],[1,"w-100","custom-accordion",3,"closeOthers"],["acc","ngbAccordion"],["ngbPanelHeader",""],["ngbPanelContent",""],["ngbPanelContent","","style","min-height: 230px;"],[3,"displayedSeminare","pageSize","openSeminar","openSeminarTitle","showPagination","curPageOut"],[1,"d-flex","align-items-center","justify-content-between"],["type","button","ngbPanelToggle","",1,"btn","btn-link","collapsed"],[1,"d-inline-flex"],["class","badge badge-pill badge-secondary mr-2 d-none d-md-block",4,"ngFor","ngForOf"],["class","mr-2 cursor-pointer","name","x-circle-fill",3,"click",4,"ngIf"],[1,"badge","badge-pill","badge-secondary","mr-2","d-none","d-md-block"],["name","x",1,"ml-1","cursor-pointer",3,"click"],["name","x-circle-fill",1,"mr-2","cursor-pointer",3,"click"],["class","btn btn-sm mb-2 mr-2",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"btn","btn-sm","mb-2","mr-2",3,"ngClass","click"],["class","btn btn-sm mb-2 mr-2",3,"ngClass","ngStyle","click",4,"ngFor","ngForOf"],[1,"btn","btn-sm","mb-2","mr-2",3,"ngClass","ngStyle","click"],["class","badge badge-pill badge-secondary mr-2",4,"ngIf"],[1,"badge","badge-pill","badge-secondary","mr-2"],[1,"form-inline","mb-2"],[1,"form-group"],[1,"dategroup","input-group","mr-2"],["placeholder","DD.MM.YYYY","name","dp","ngbDatepicker","","container","body",1,"form-control",3,"ngModel","ngModelOptions","ngModelChange"],["dstart","ngbDatepicker"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],["name","calendar"],["name","dash"],[1,"dategroup","input-group"],["dend","ngbDatepicker"],[1,"btn","btn-light","ml-2",3,"click"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"div",1),Jo(2,"form",2),aa("ngSubmit",function(){return t.filter()}),Jo(3,"input",3),aa("ngModelChange",function(e){return t.searchVal=e}),Xo(),Jo(4,"button",4),Na(5,"Suche"),Xo(),Xo(),Jo(6,"p",5),Jo(7,"strong"),Na(8),Xo(),ea(9,"br"),Jo(10,"small"),Na(11),Xo(),Xo(),Jo(12,"div"),Jo(13,"div",6),Jo(14,"input",7),aa("ngModelChange",function(e){return t.showOnlineOnly=e}),Xo(),Jo(15,"label",8),Na(16,"Online-Seminare"),Xo(),Xo(),Jo(17,"div",9),Jo(18,"input",10),aa("ngModelChange",function(e){return t.showAvailableOnly=e}),Xo(),Jo(19,"label",11),Na(20,"Seminare mit freien Pl\xe4tzen"),Xo(),Xo(),Xo(),Jo(21,"button",12),aa("click",function(){return t.resetFilter()}),Na(22,"Alle Filter l\xf6schen"),Xo(),Xo(),Jo(23,"div",13),Jo(24,"ngb-accordion",14,15),Jo(26,"ngb-panel"),Go(27,mT,6,2,"ng-template",16),Go(28,yT,1,1,"ng-template",17),Xo(),Jo(29,"ngb-panel"),Go(30,wT,6,2,"ng-template",16),Go(31,ST,1,1,"ng-template",17),Xo(),Jo(32,"ngb-panel"),Go(33,xT,6,2,"ng-template",16),Go(34,AT,18,6,"ng-template",18),Xo(),Xo(),Xo(),Jo(35,"app-seminar-cards",19),aa("curPageOut",function(e){return t.curPage=e}),Xo(),Xo()),2&e&&(ps(3),Yo("ngModel",t.searchVal)("ngModelOptions",nu(18,ET)),ps(5),Va("",t.seminare.length," Seminare (",t.semNumber," Veranstaltungen)"),ps(3),$a("",t.displayedSeminare.length," Seminare angezeigt | Seite ",t.curPage," (Seminare ",(t.curPage-1)*t.pageSize+1," - ",t.displayedSeminare.length<(t.curPage-1)*t.pageSize+t.pageSize?t.displayedSeminare.length:(t.curPage-1)*t.pageSize+t.pageSize,")"),ps(3),Yo("ngModel",t.showOnlineOnly)("ngModelOptions",nu(19,ET)),ps(4),Yo("ngModel",t.showAvailableOnly)("ngModelOptions",nu(20,ET)),ps(6),Yo("closeOthers",!0),ps(11),Yo("displayedSeminare",t.displayedSeminare)("pageSize",t.pageSize)("openSeminar",t.openSeminar)("openSeminarTitle",t.openSeminarTitle)("showPagination",!0))},directives:[DS,RC,_S,dC,MC,kS,cC,OD,TD,xD,AD,dT,ID,Ud,qd,sA,$d,Zd,Bx],styles:["[_nghost-%COMP%]{display:block}  #seminareSearchBar .btn{padding:.33rem .75rem}  #seminareSearchBar .custom-control-input:checked~.custom-control-label:before{background-color:#ff6818;border-color:#ff6818}  .card-body a{color:#000}"],data:{animation:[ew]}}),e})();const OT=function(e){return{"background-image":e}}
1,IT=function(){return["/seminare"]};function PT(e,t){if(1&e&&(ea(0,"div",26),Jo(1,"div",27),Jo(2,"h3"),Na(3,"Programm 2026"),Xo(),Jo(4,"p"),Na(5,"F\xfcr Ihre Weiterbildung"),Xo(),Xo()),2&e){const e=ua(2);Yo("ngStyle",ru(2,OT,"url("+e.images[5]+")")),ps(1),Yo("routerLink",nu(4,IT))}}const FT=function(){return["/page/eisenbahn-und-stadtbahnforen"]};function MT(e,t){if(1&e&&(ea(0,"div",26),Jo(1,"div",27),Jo(2,"h3"),Na(3,"Foren"),Xo(),Jo(4,"p"),Na(5,"Jetzt mehr erfahren"),Xo(),Xo()),2&e){const e=ua(2);Yo("ngStyle",ru(2,OT,"url("+e.images[0]+")")),ps(1),Yo("routerLink",nu(4,FT))}}const RT=function(){return["/page/virtuelles-klassenzimmer"]};function NT(e,t){if(1&e&&(ea(0,"div",26),Jo(1,"div",27),ea(2,"img",28),Jo(3,"p"),Na(4,"Weiter mit Bildung - auch ortsunabh\xe4ngig"),Xo(),Xo()),2&e){const e=ua(2);Yo("ngStyle",ru(2,OT,"url("+e.images[4]+")")),ps(1),Yo("routerLink",nu(4,RT))}}const LT=function(){return["/karriereplan"]};function BT(e,t){if(1&e&&(ea(0,"div",26),Jo(1,"div",27),Jo(2,"h3"),Na(3,"Karriereplan"),Xo(),Jo(4,"p"),Na(5,"Mit uns erfolgreich ans Ziel"),Xo(),Xo()),2&e){const e=ua(2);Yo("ngStyle",ru(2,OT,"url("+e.images[1]+")")),ps(1),Yo("routerLink",nu(4,LT))}}function VT(e,t){1&e&&(Jo(0,"ngb-carousel",24),Go(1,PT,6,5,"ng-template",25),Go(2,MT,6,5,"ng-template",25),Go(3,NT,5,5,"ng-template",25),Go(4,BT,6,5,"ng-template",25),Xo())}let zT=(()=>{class e{constructor(e){this.carouselService=e,this.images=[],this.carouselService.animation=!1}ngOnInit(){setTimeout(()=>{this.images=["/media/slider/SliderUbahn.jpg","/media/slider/SliderUbahn2.jpg","/media/slider/coronavirus.jpg","/media/slider/TitelbildLeipzig.jpg","/media/slider/E-learning-Slider.jpg","/media/slider/TitelbildCover2026.jpg"]})}}return e.\u0275fac=function(t){return new(t||e)(Ko(RD))},e.\u0275cmp=je({type:e,selectors:[["app-home"]],decls:47,vars:1,consts:[["id","slider","class","",4,"ngIf"],[1,"w-100","my-5"],[1,"text-center"],[1,"text-muted","text-center","mb-4"],[1,"row"],[1,"col"],[1,"mb-0","text-justify"],[1,"mb-0","mt-5","text-center"],["href","/media/pages/home/BWS_Jahresuebersicht_2026.pdf","target","_new"],["src","/media/pages/home/Jahresuebersicht2026.png","alt","Jahresuebersicht 2026","width","450px"],[1,"d-md-flex","flex-md-equal","w-100","mb-md-3"],["routerLink","/seminare","routerLinkActive","active",1,"kachel","cursor-pointer","bg-dark","mr-md-3","w-100","pt-1","px-3","pt-md-3","text-center","text-white","overflow-hidden"],[1,"my-3","py-3"],[1,"display-5"],[1,"lead"],["name","calendar",1,"home-icon","mb-1","mb-md-3"],["routerLink","/page/eisenbahn-und-stadtbahnforen","routerLinkActive","active",1,"kachel","cursor-pointer","bg-light","w-100","pt-1","px-3","pt-md-3","text-center","overflow-hidden"],[1,"my-3","p-3"],["name","easel",1,"home-icon","mb-1","mb-md-3"],[1,"d-flex","flex-column-reverse","flex-md-row","flex-md-equal","w-100","mt-md-3","mb-md-5"],["routerLink","/page/virtuelles-klassenzimmer","routerLinkActive","active",1,"kachel","cursor-pointer","bg-light","mr-md-3","w-100","pt-1","px-3","pt-md-3","text-center","overflow-hidden"],["name","camera",1,"home-icon","mb-1","mb-md-3"],["routerLink","/page/inhouse-und-firmenseminare","routerLinkActive","active",1,"kachel","cursor-pointer","bg-dark","w-100","pt-1","px-3","pt-md-3","text-center","text-white","overflow-hidden"],["name","company",1,"home-icon","mb-1","mb-md-3"],["id","slider",1,""],["ngbSlide",""],[1,"picsum-img-wrapper",3,"ngStyle"],[1,"carousel-caption","cursor-pointer",3,"routerLink"],["src","/media/slider/e-learning-logo.svg","width","200px",1,"mb-4"]],template:function(e,t){1&e&&(Go(0,VT,5,0,"ngb-carousel",0),Jo(1,"div",1),Jo(2,"h5",2),Na(3,"Willkommen"),Xo(),Jo(4,"h6",3),Na(5,"bei bahnwege-seminare.de"),Xo(),Jo(6,"div",4),Jo(7,"div",5),Jo(8,"p",6),Na(9,"Mit Kompetenz, Aktualit\xe4t und hohem Praxisbezug bieten wir ein umfangreiches Schulungsprogramm f\xfcr die Qualifizierung von Mitarbeitern der Bahnbranche, um den wachsenden Anforderungen auch in Zukunft mit fundiertem Fach- und Erfahrungswissen begegnen zu k\xf6nnen. Neben Pr\xe4senz- und Inhouse-Seminaren komplettieren ortsunabh\xe4ngige online-Schulungen das Angebot."),Xo(),Jo(10,"p",7),Jo(11,"a",8),ea(12,"img",9),Xo(),Xo(),Xo(),Xo(),Xo(),Jo(13,"div",10),Jo(14,"div",11),Jo(15,"div",12),Jo(16,"h2",13),Na(17,"Seminare"),Xo(),ea(18,"br"),Jo(19,"p",14),Na(20,"Weiterbildung mit Kompetenz und Leidenschaft"),Xo(),Xo(),ea(21,"app-icon",15),Xo(),Jo(22,"div",16),Jo(23,"div",17),Jo(24,"h2",13),Na(25,"Foren"),Xo(),ea(26,"br"),Jo(27,"p",14),Na(28,"Jetzt mehr erfahren"),Xo(),Xo(),ea(29,"app-icon",18),Xo(),Xo(),Jo(30,"div",19),Jo(31,"div",20),Jo(32,"div",12),Jo(33,"h2",13),Na(34,"Virtuelles Klassenzimmer"),Xo(),ea(35,"br"),Jo(36,"p",14),Na(37,"Weiter mit Bildung - auch ortsunabh\xe4ngig"),Xo(),Xo(),ea(38,"app-icon",21),Xo(),Jo(39,"div",22),Jo(40,"div",17),Jo(41,"h2",13),Na(42,"Inhouse- und Firmenseminare"),Xo(),ea(43,"br"),Jo(44,"p",14),Na(45,"Unsere Seminare bei Ihnen oder f\xfcr Ihr Team bei uns"),Xo(),Xo(),ea(46,"app-icon",23),Xo(),Xo()),2&e&&Yo("ngIf",t.images)}
1,directives:[qd,Iv,Mv,sA,HD,UD,Zd],styles:["#slider{width:calc(100vw);margin-left:calc(-50vw + 50%);margin-top:-24px;max-height:calc(55vh - 56px)}  #slider .carousel-caption,   #slider a.carousel-control-next,   #slider a.carousel-control-prev{cursor:pointer}  #slider .carousel-item-next,   #slider .carousel-item-prev{transition:opacity .7s ease-in-out!important;opacity:1!important}  #slider .carousel-item.active{transition:opacity .7s ease-in-out;opacity:1}  #slider .carousel-item{max-height:calc(55vh - 56px)!important;display:block!important;transition:opacity .7s ease-in-out;opacity:0}  #slider .carousel-item .picsum-img-wrapper{height:calc(55vh - 56px)!important;background-position:50%;background-size:cover}  #slider .carousel-item .carousel-caption{color:#5f6263;top:52%;width:auto;left:50%;right:auto;bottom:auto;transform:translateY(-50%) translateX(-50%);padding:30px;background-color:hsla(0,0%,100%,.9);border-radius:8px}  #slider .carousel-item .carousel-caption h3{font-size:3rem}  #slider .carousel-item .carousel-caption p{font-size:1.5rem;margin-bottom:0}  .picsum-img-wrapper img{width:100%}.fullWidth[_ngcontent-%COMP%]{width:calc(100vw)!important;margin-left:calc(-50vw + 50%)}  .home-icon{top:-20px;width:100px!important;height:auto!important}  .home-icon svg.bi{width:100px!important;height:100px!important}  .kachel{border-radius:8px}  .kachel.bg-light app-icon{color:#a6a6a6}  .kachel.bg-dark{background-color:#c8c8c8!important}  .kachel.bg-dark:hover app-icon,   .kachel.bg-light:hover app-icon{color:#ff6818}.homeicon[_ngcontent-%COMP%]{position:absolute;font-size:200px;right:20px;top:auto;bottom:20px;color:rgba(0,0,0,.05)}[_nghost-%COMP%]{display:block}"]}),e})(),$T=(()=>{class e{constructor(e,t){this.activatedRoute=e,this.domSanitizer=t,this.iframeUrls={"pf-oberbau-im-tunnel":"https://indd.adobe.com/view/734a32dd-8fa8-483b-a5b6-4aa661c043d7"}}ngOnInit(){this.activatedRoute.paramMap.pipe(ey()).subscribe(e=>{this.url=this.domSanitizer.bypassSecurityTrustResourceUrl(this.iframeUrls[e.get("iframeurl")])})}}return e.\u0275fac=function(t){return new(t||e)(Ko(hb),Ko(Np))},e.\u0275cmp=je({type:e,selectors:[["app-iframeviewer"]],decls:2,vars:1,consts:[["id","iframeviewer"],["width","100%","height","100%","frameborder","0","allowfullscreen","",2,"border","1px solid #777",3,"src"]],template:function(e,t){1&e&&(Jo(0,"div",0),ea(1,"iframe",1),Xo()),2&e&&(ps(1),Yo("src",t.url,li))},styles:["#iframeviewer[_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-7px}#iframeviewer[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{width:calc(100vw - 7px);height:calc(100vh - 78px + 4px);position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}"]}),e})();function jT(e,t){1&e&&(Jo(0,"div",10),ea(1,"img",11),Xo())}function UT(e,t){1&e&&(Jo(0,"div",10),ea(1,"img",12),Xo())}function HT(e,t){1&e&&(Jo(0,"span"),Na(1,"\xa0"),ea(2,"app-icon",26),Xo())}function qT(e,t){1&e&&(Jo(0,"div"),Jo(1,"h5"),Jo(2,"span",27),Na(3,"OPTIONAL"),Xo(),Xo(),Xo())}const WT=function(e){return{"text-secondary":e}};function GT(e,t){if(1&e&&ea(0,"app-icon",28),2&e){const e=ua().$implicit;Yo("ngClass",ru(1,WT,1==e.optional))}}const ZT=function(e){return{zielcard:e}},KT=function(e){return{"border-color":e}};function YT(e,t){if(1&e&&(Jo(0,"div",15),Jo(1,"div",16),aa("click",function(){return t.$implicit.showModal=!0}),Jo(2,"div",17),ea(3,"img",18),Jo(4,"div",19),Jo(5,"div",20),Jo(6,"strong"),Na(7),Go(8,HT,3,0,"span",21),Xo(),ea(9,"app-icon",22),Xo(),Jo(10,"div",23),Jo(11,"div"),Na(12),Xo(),Go(13,qT,4,0,"div",21),Xo(),Xo(),Xo(),Xo(),ea(14,"app-seminarmodal",24),Go(15,GT,1,3,"app-icon",25),Xo()),2&e){const e=t.$implicit,n=t.index,r=ua(2).$implicit,i=ua(2);ps(1),Yo("ngClass",ru(11,ZT,n==r.seminare.length-1)),ps(2),Yo("src",i.cartService.getCatImage(e.KategorieBildCode),ai)("ngStyle",ru(13,KT,i.getSeminarColor(e))),ps(2),Yo("ngStyle",ru(15,KT,i.getSeminarColor(e))),ps(2),La(e.Beschreibung),ps(1),Yo("ngIf",n==r.seminare.length-1),ps(4),Ba("",1==e.Seminare.length?"1 Termin":e.Seminare.length+" Termine"," verf\xfcgbar "),ps(1),Yo("ngIf",1==e.optional),ps(1),Yo("seminar",e)("openModal",e.showModal),ps(1),Yo("ngIf",n!=r.seminare.length-1)}}function QT(e,t){if(1&e&&(Jo(0,"div",10),Go(1,YT,16,17,"div",14),Xo()),2&e){const e=ua().$implicit;ps(1),Yo("ngForOf",e.seminare)}}function JT(e,t){1&e&&(Jo(0,"ngb-panel",13),Go(1,QT,2,1,"ng-template",7),Xo()),2&e&&Yo("title",t.$implicit.karrieretyp)}function XT(e,t){if(1&e&&(Jo(0,"ngb-accordion",4,5),Jo(2,"ngb-panel",6),Go(3,jT,2,0,"ng-template",7),Xo(),Jo(4,"ngb-panel",8),Go(5,UT,2,0,"ng-template",7),Xo(),Go(6,JT,2,1,"ngb-panel",9),Xo()),2&e){const e=ua();Yo("closeOthers",!0),ps(6),Yo("ngForOf",e.karriereplan)}}let eO=(()=>{class e{constructor(e,t){this.cartService=e,this.seminarService=t,this.karriereplan=[],this.seminarColors=lw,this.seminarService.getKarriereplan().pipe(ey(e=>void 0!==e)).subscribe(e=>{let t=e.map(e=>(e.seminare=cw(e.seminare,!0),e));this.karriereplan=t.filter(e=>e.seminare.length>0)})}getSeminarColor(e){return e.Seminarkategorie&&this.seminarColors[e.Seminarkategorie]?this.seminarColors[e.Seminarkategorie]:"gray"}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ko(XE),Ko(eA))},e.\u0275cmp=je({type:e,selectors:[["app-karriereplan"]],decls:6,vars:1,consts:[[1,"mt-md-3","mt-2"],[1,"py-md-3","py-2"],[1,"text-justify"],["id","karriereaccordion","class","w-100 custom-accordion",3,"closeOthers",4,"ngIf"],["id","karriereaccordion",1,"w-100","custom-accordion",3,"closeOthers"],["acc","ngbAccordion"],["title","Empfehlung f\xfcr die Ausbildung zum Weichenpr\xfcfer",1,"mb-2"],["ngbPanelContent",""],["t
1itle","Empfehlung f\xfcr die Ausbildungen zum Weichenschlosser, zum Weichenmechaniker und zum Signalmechaniker NE",1,"mb-2"],["class","mb-2",3,"title",4,"ngFor","ngForOf"],[1,"d-flex","w-75","flex-column","pb-2",2,"margin-left","auto","margin-right","auto"],["src","/media/pages/karriereplan/Weichenpruefer.png","alt","Karriereplan Weichenpr\xfcfer"],["src","/media/pages/karriereplan/Weichenschlosser.png","alt","Karriereplan Weichenschlosser, Weichenmechaniker & Signalmechaniker"],[1,"mb-2",3,"title"],["class","text-center",4,"ngFor","ngForOf"],[1,"text-center"],[1,"card","mb-0","text-center","p-2","seminarcard","cursor-pointer",3,"ngClass","click"],[1,"d-flex","flex-row"],["width","94px","height","80px","alt","",2,"align-self","center",3,"src","ngStyle"],[1,"ml-3","text-left","w-100",2,"align-self","center"],[1,"seminartitel","d-flex","flex-row","justify-content-between",3,"ngStyle"],[4,"ngIf"],["name","info-circle",1,"topfix",2,"font-size","larger"],[1,"seminarmeta","d-flex","flex-row","justify-content-between"],[3,"seminar","openModal"],["name","caret-down","style","font-size: 140%;",3,"ngClass",4,"ngIf"],["name","check-circle-fill",2,"color","green"],[1,"badge","badge-secondary"],["name","caret-down",2,"font-size","140%",3,"ngClass"]],template:function(e,t){1&e&&(Jo(0,"h3",0),Na(1,"Karriereplan"),Xo(),Jo(2,"div",1),Jo(3,"p",2),Na(4," Zur individuellen Qualifizierung und Spezialisierung sowie zum Erhalt und Aufbau von Fachwissen bietet das BahnWege-Seminare-Programm eine Vielzahl von Schulungen, Funktionsausbildungen und FIT.Seminare mit unterschiedlichen Schwerpunkten. Verantwortliche der Verkehrs- und Infrastrukturunternehmen erhalten vor allem mit den speziellen Funktionsausbildungen die M\xf6glichkeit, ihr Personal in komprimierter und praxisorientierter Form fachgerecht ausbilden und zerti\ufb01zieren zu lassen, und damit der Sorgfaltspflicht \u2013 Auswahl des Personals und Aktualit\xe4t des Wissens \u2013 gerecht zu werden. Berufliche Karrieren werden kompakt und ma\xdfgeschneidert unterst\xfctzt und Fachwissen nachweisbar auf aktuellen Stand gehalten. "),Xo(),Go(5,XT,7,2,"ngb-accordion",3),Xo()),2&e&&(ps(5),Yo("ngIf",t.karriereplan.length>0))},directives:[qd,OD,TD,AD,Ud,$d,Zd,sA,GA],styles:["#karriereaccordion .card .card-body{background-color:#c3c3c3}  #karriereaccordion .card.seminarcard{border:2px solid #fff}  #karriereaccordion .card.seminarcard .seminartitel{width:100%;border-bottom:2px solid #000;padding-bottom:5px;margin-bottom:7px}  #karriereaccordion .card.seminarcard img{margin-left:-30px;border-radius:8px;border:1px solid #fff}  #karriereaccordion .card.zielcard{border:2px solid green}"]}),e})();var tO=n("afKu");let nO=(()=>{class e{constructor(e,t,n){this.authService=e,this.toastrService=t,this.router=n,this.loginGroup=new yS({email:new gS("",[bC.required,bC.email]),password:new gS("",[bC.required])})}ngOnInit(){}login(){let e=tO("sha256").update(this.loginGroup.value.password).digest("hex");this.authService.login(this.loginGroup.value.email,e).subscribe(e=>{console.log("res",e),!0===e?(this.toastrService.success("Erfolgreich eingeloggt"),this.router.navigateByUrl("/admin/home")):this.toastrService.warning("Einloggen fehlgeschlagen")})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Uw),Ko(g_),Ko(Ov))},e.\u0275cmp=je({type:e,selectors:[["app-login"]],decls:14,vars:1,consts:[["id","loginwrapper"],[1,"form-signin","text-center",3,"formGroup","ngSubmit"],[1,"mb-3","font-weight-normal"],["for","inputEmail",1,"sr-only"],["type","email","id","inputEmail","placeholder","Email","required","","autofocus","","formControlName","email",1,"form-control"],["for","inputPassword",1,"sr-only"],["type","password","id","inputPassword","placeholder","Password","required","","formControlName","password",1,"form-control"],[1,"mb-3"],["type","submit",1,"btn","btn-sm","btn-lg","primaryBg","text-white","btn-block"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"form",1),aa("ngSubmit",function(){return t.login()}),Jo(2,"h4",2),Na(3,"Login"),Xo(),Jo(4,"label",3),Na(5,"Email"),Xo(),ea(6,"input",4),Jo(7,"label",5),Na(8,"Passwort"),Xo(),ea(9,"input",6),Jo(10,"span",7),Na(11,"\xa0"),Xo(),Jo(12,"button",8),Na(13,"Einloggen"),Xo(),Xo(),Xo()),2&e&&(ps(1),Yo("formGroup",t.loginGroup))},directives:[DS,RC,AS,dC,FS,MC,OS],styles:["#loginwrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;min-height:calc(100vh - 78px);flex-direction:column}#loginwrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;width:30%}"]}),e})(),rO=(()=>{class e{constructor(){}openPop(e,t){this.openedPop&&this.openedPop.close(),this.openedPop=e,this.openedPop.open()}close(){this.openedPop&&this.openedPop.close(),this.openedPop=void 0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function iO(e,t){if(1&e){const e=ra();Jo(0,"span",13),aa("mouseenter",function(){Rt(e);
1const n=t.$implicit;return ua().hoveredDate=n})("mouseleave",function(){return Rt(e),ua().hoveredDate=null}),Na(1),Xo()}if(2&e){const e=t.$implicit,n=t.focused,r=ua();ka("focused",n)("range",r.isRange(e))("faded",r.isHovered(e)||r.isInside(e)),ps(1),Ba(" ",e.day," ")}}const sO=function(){return["bottom","bottom-left","bottom-right","right","right-bottom"]};let oO=(()=>{class e{constructor(e,t){this.calendar=e,this.formatter=t,this.hoveredDate=null,this.dateChange=new gu,this._dateInput={}}set dateInput(e){console.log("date-range:",this.minDate);let t=e.split(" - ");if(2==t.length&&""!=t[0]&&""!=t[1]){let n=this.formatter.parse(t[0]);this.fromDate=new YD(n.year,n.month,n.day);let r=this.formatter.parse(t[1]);this.toDate=new YD(r.year,r.month,r.day),this._dateInput=e}}get dateInput(){return this._dateInput}formatDates(e,t){return e&&""!=e&&t&&""!=t?`${this.formatter.format(e)} - ${this.formatter.format(t)}`:""}onDateSelection(e){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&e&&e.after(this.fromDate)?this.toDate=e:(this.toDate=null,this.fromDate=e):this.fromDate=e,this.fromDate&&this.toDate&&this.dateChange.emit({from:this.fromDate,to:this.toDate})}isHovered(e){return this.fromDate&&!this.toDate&&this.hoveredDate&&e.after(this.fromDate)&&e.before(this.hoveredDate)}isInside(e){return this.toDate&&e.after(this.fromDate)&&e.before(this.toDate)}isRange(e){return e.equals(this.fromDate)||this.toDate&&e.equals(this.toDate)||this.isInside(e)||this.isHovered(e)}validateInput(e,t){const n=this.formatter.parse(t);return n&&this.calendar.isValid(YD.from(n))?YD.from(n):e}}return e.\u0275fac=function(t){return new(t||e)(Ko(ex),Ko(Fx))},e.\u0275cmp=je({type:e,selectors:[["app-date-range-picker"]],inputs:{dateInput:"dateInput",minDate:"minDate",maxDate:"maxDate",startDate:"startDate"},outputs:{dateChange:"dateChange"},decls:14,vars:8,consts:[[1,"form-inline"],[1,"form-group","hidden"],[1,"input-group"],["name","datepicker","ngbDatepicker","","container","body","outsideDays","hidden","tabindex","-1",1,"form-control",3,"autoClose","displayMonths","dayTemplate","placement","startDate","minDate","dateSelect"],["datepicker","ngbDatepicker"],["t",""],[1,"form-group"],[1,"dategroup","input-group"],["placeholder","TT.MM.JJJJ - TT.MM.JJJJ","name","dpFromDate","readonly","",1,"form-control",3,"value","click"],["dpFromDate",""],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary","calendar",3,"click"],["name","calendar"],[1,"custom-day",3,"mouseenter","mouseleave"]],template:function(e,t){if(1&e){const e=ra();Jo(0,"form",0),Jo(1,"div",1),Jo(2,"div",2),Jo(3,"input",3,4),aa("dateSelect",function(e){return t.onDateSelection(e)}),Xo(),Go(5,iO,2,7,"ng-template",null,5,Ru),Xo(),Xo(),Jo(7,"div",6),Jo(8,"div",7),Jo(9,"input",8,9),aa("click",function(){return Rt(e),Zo(4).toggle()}),Xo(),Jo(11,"div",10),Jo(12,"button",11),aa("click",function(){return Rt(e),Zo(4).toggle()}),ea(13,"app-icon",12),Xo(),Xo(),Xo(),Xo(),Xo()}if(2&e){const e=Zo(6);ps(3),Yo("autoClose","outside")("displayMonths",2)("dayTemplate",e)("placement",nu(7,sO))("startDate",t.startDate)("minDate",t.minDate),ps(6),Yo("value",t.formatDates(t.fromDate,t.toDate))}},directives:[DS,RC,_S,Bx,sA],styles:[".form-group.hidden[_ngcontent-%COMP%]{width:0;margin:0;border:none;padding:0}.custom-day[_ngcontent-%COMP%]{text-align:center;padding:.185rem .25rem;display:inline-block;height:2rem;width:2rem}.custom-day.focused[_ngcontent-%COMP%]{background-color:#e6e6e6}.custom-day.range[_ngcontent-%COMP%], .custom-day[_ngcontent-%COMP%]:hover{background-color:#ff6818;color:#fff}.custom-day.faded[_ngcontent-%COMP%]{background-color:rgba(255,104,24,.5)}.form-control[readonly][_ngcontent-%COMP%]{background-color:#fff;border-top-right-radius:0;border-bottom-right-radius:0}"]}),e})();const aO=["uebernachtungsbutton"];function lO(e,t){if(1&e){const e=ra();Na(0,"\xdcbernachtungsoptionen "),Jo(1,"a",7),aa("click",function(){return Rt(e),ua(),Zo(8).close()}),ea(2,"app-icon",8),Xo()}}function cO(e,t){if(1&e){const e=ra();Jo(0,"div"),Jo(1,"app-date-range-picker",19),aa("dateChange",function(t){return Rt(e),ua(3).changeDate(0,t)}),Xo(),Xo()}if(2&e){const e=ua(3);ps(1),Yo("minDate",e.minDate)("startDate",e.startDates[0])("dateInput",e.uebernachtungForm.controls.uebernachtungStart.value+" - "+e.uebernachtungForm.controls.uebernachtungEnde.value)}}function uO(e,t){if(1&e){const e=ra();ta(0),Jo(1,"app-date-range-picker",22),aa("dateChange",function(t){Rt(e);const n=ua().index;return ua(3).changeDate(n+1,t)}),Xo(),na()}if(2&e){const e=ua().index,t=ua(3);ps(1),Yo("startDate",t.startDates[e+1])("minDate",t.minDate)("dateInput",t.uebernachtungForm.controls["uebernachtungFolge"+(e+1)+"Start"].value+" - "+t.uebernachtungForm.controls["uebernachtungFolge"+(e+1)+"Ende"].value)}}function hO(e,t){if(1&e&&(Jo(0,"div"),ea(1,"br"),Jo(2,"strong"),Na(3),Xo(),Jo(4,"div",11),ea(5,"input",20),Jo(6,"label",21),Na(7," \xdcbernachtung "),Xo(),Xo(),Jo(8,"div",11),ea(9,"input",20),Jo(10,"label",21),Na(11," \xdcbernachtung nicht gew\xfcnscht "),Xo(),Xo(),Jo(12,"div",11),ea(13,"input",20),Jo(14,"label",21),Na(15," \xdcbernachtung wird nachgereicht "),Xo(),Xo(),Go(16,uO,2,3,"ng-container",0),Xo()),2&e){const e=t.$implicit,n=t.index,r=ua(3);ps(3),Va("Folge-Termin ",n+1," (",e.Beginn+" - "+e.Ende,"):"),ps(2),Yo("name","uebernachtungFolge"+(n+1))("id","folgeRadios1-"+n)("formControlName","uebernachtungFolge"+(n+1))("value",1),ps(1),Yo("for","folgeRadios1-"+n),ps(3),Yo("name","uebernachtungFolge"+(n+1))("id","folgeRadios2-"+n)("formControlName","uebernachtungFolge"+(n+1))("value",2),ps(1),Yo("for","folgeRadios2-"+n),ps(3),Yo("name","uebernachtungFolge"+(n+1))("id","folgeRadios3-"+n)("formControlName","uebernachtungFolge"+(n+1))("value",3),ps(1),Yo("for","folgeRadios3-"+n),ps(2),Yo("ngIf",1==r.uebernachtungForm.controls["uebernachtungFolge"+(n+1)].value)}}function dO(e,t){if(1&e&&(Jo(0,"form",9),Jo(1,"fieldset",10),Jo(2,"strong"),Na(3),Xo(),Jo(4,"div",11),ea(5,"input",12),Jo(6,"label",13),Na(7," \xdcbernachtung "),Xo(),Xo(),Jo(8,"div",11),ea(9,"input",14),Jo(10,"label",15),Na(11," \xdcbernachtung nicht gew\xfcnscht "),Xo(),Xo(),Jo(12,"div",11),ea(13,"input",16),Jo(14,"label",17),Na(15," \xdcbernachtung wird nachgereicht "),Xo(),Xo(),Go(16,cO,2,3,"div",0),Go(17,hO,17,18,"div",18),Xo(),Xo()),2&e){const e=ua(2);Yo("formGroup",e.uebernachtungForm),ps(1),Yo("disabled",e.lockOrder),ps(2),Ba("Termin (",e.seminar.Beginn+" - "+e.seminar.Ende,"):"),ps(2),Yo("value",1),ps(4),Yo("value",2),ps(4),Yo("value",3),ps(3),Yo("ngIf",1==e.uebernachtungForm.controls.uebernachtung.value),ps(1),Yo("ngForOf",e.seminar.FolgeC
1odes)}}function pO(e,t){1&e&&(Jo(0,"button",23),ea(1,"app-icon",24),Xo()),2&e&&(ua(),Yo("ngbPopover",Zo(4))("autoClose",!1)("disablePopover",!1))}const fO=function(e,t){return{"ng-invalid":e,"ng-touched":t}};function mO(e,t){if(1&e){const e=ra();ta(0),Go(1,lO,3,0,"ng-template",null,1,Ru),Go(3,dO,18,8,"ng-template",null,2,Ru),Jo(5,"div",3),Jo(6,"button",4,5),aa("click",function(){Rt(e);const t=Zo(8);return ua().openPop(t)}),Na(9," \xdcbernachtungen* "),Xo(),Go(10,pO,2,3,"button",6),Xo(),na()}if(2&e){const e=Zo(2),t=Zo(4),n=ua();ps(6),Yo("ngbPopover",t)("popoverTitle",e)("autoClose",!1)("ngClass",iu(6,fO,n.uebernachtungForm.invalid,n.touched))("disabled",n.lockOrder),ps(4),Yo("ngIf",n.lockOrder)}}let gO=(()=>{class e{constructor(e,t,n){this.formatter=e,this.popService=t,this.renderer=n,this.equalize=!1,this.startDates=[],this.uebernachtungChange=new gu,this.touched=!1,this.uebernachtungForm=new yS({uebernachtung:new gS(0,[bC.required,bC.min(1)]),uebernachtungStart:new gS(""),uebernachtungEnde:new gS("")});const r=new Date;this.minDate=new YD(r.getFullYear(),r.getMonth(),r.getDay()),console.log("ueb-form:",this.minDate)}set seminar(e){if(e.FolgeCodes&&e.FolgeCodes.length>0)for(const t of e.FolgeCodes){const n=e.FolgeCodes.indexOf(t)+1;this.uebernachtungForm.addControl("uebernachtungFolge"+n,new gS(0,[bC.required,bC.min(1)])),this.uebernachtungForm.addControl("uebernachtungFolge"+n+"Start",new gS("")),this.uebernachtungForm.addControl("uebernachtungFolge"+n+"Ende",new gS("")),this.uebernachtungForm.controls["uebernachtungFolge"+n].valueChanges.subscribe(e=>{1==e?(this.uebernachtungForm.controls["uebernachtungFolge"+n+"Start"].setValidators([bC.required]),this.uebernachtungForm.controls["uebernachtungFolge"+n+"Ende"].setValidators([bC.required]),this.uebernachtungForm.updateValueAndValidity()):(this.uebernachtungForm.controls["uebernachtungFolge"+n+"Start"].setValidators([]),this.uebernachtungForm.controls["uebernachtungFolge"+n+"Ende"].setValidators([]),this.uebernachtungForm.updateValueAndValidity())})}this._seminar=e}get seminar(){return this._seminar}set teilnehmer(e){let t=ow(e);delete t.anrede,delete t.vorname,delete t.nachname,delete t.email;for(const n of e.uebernachtung){const r=e.uebernachtung.indexOf(n);0===r?(t.uebernachtung=n.uebernachtung,t.uebernachtungStart=n.uebernachtungStart,t.uebernachtungEnde=n.uebernachtungEnde):(t["uebernachtungFolge"+r]=n.uebernachtung,t["uebernachtungFolge"+r+"Start"]=n.uebernachtungStart,t["uebernachtungFolge"+r+"Ende"]=n.uebernachtungEnde)}for(const n of Object.keys(t))this.uebernachtungForm.controls[n]||(this.uebernachtungForm.addControl(n,new gS(t[n])),-1===n.indexOf("Start")&&-1===n.indexOf("Ende")&&this.uebernachtungForm.controls[n].valueChanges.subscribe(e=>{1==e?(this.uebernachtungForm.controls[n].setValidators([bC.required]),this.uebernachtungForm.controls[n].setValidators([bC.required]),this.uebernachtungForm.updateValueAndValidity()):(this.uebernachtungForm.controls[n].setValidators([]),this.uebernachtungForm.controls[n].setValidators([]),this.uebernachtungForm.updateValueAndValidity())}));console.log("setTeilnehmer\xdcbernachtung",t),this.uebernachtungForm.setValue(t),this._teilnehmer=e}get teilnehmer(){return this._teilnehmer}set submit(e){this.uebernachtungForm.markAllAsTouched(),this.uebernachtungsbutton&&this.uebernachtungsbutton.nativeElement&&this.renderer.addClass(this.uebernachtungsbutton.nativeElement,"ng-touched"),this._submit=e}get submit(){return this._submit}openPop(e){this.popService.openPop(e),e.hidden.subscribe(()=>this.touched=!0)}changeDate(e,t){t.from&&""!=t.from&&t.to&&""!=t.to&&(e>0?(this.uebernachtungForm.controls["uebernachtungFolge"+e+"Start"].setValue(this.formatter.format(t.from)),this.uebernachtungForm.controls["uebernachtungFolge"+e+"Ende"].setValue(this.formatter.format(t.to))):(this.uebernachtungForm.controls.uebernachtungStart.setValue(this.formatter.format(t.from)),this.uebernachtungForm.controls.uebernachtungEnde.setValue(this.formatter.format(t.to))))}ngOnInit(){if(console.log("UEBERNACHTUNG INIT",this.seminar),this.seminar){if(this.startDate=this.formatter.parse(this.seminar.Beginn),this.startDates.push(this.formatter.parse(this.seminar.Beginn)),this.seminar.FolgeC
1odes.length>0)for(const e of Array(this.seminar.FolgeCodes.length).fill(1).map((e,t)=>e+t))this.startDates[e]=this.formatter.parse(this.seminar.FolgeCodes[e-1].Beginn),this.uebernachtungForm.controls["uebernachtungFolge"+e].setValidators([bC.required,bC.min(1)]),this.uebernachtungForm.updateValueAndValidity();this.uebernachtungForm.valueChanges.subscribe(e=>{if(console.log("UEBERNACHTUNG CHANGE",this.equalize),this.equalize){const t=ow(e);console.log("UEBERNACHTUNG CHANGE EQUALIZE",this.seminar);const n=[];for(const e of Object.keys(t))if(-1===e.indexOf("Folge"))void 0===n[0]&&(n[0]={}),n[0][e]=t[e],n[0].semcode=this.seminar.Code;else{const r=parseInt(e.replace(/\D/g,""));void 0===n[r]&&(n[r]={}),n[r][e.replace(/Folge\d/g,"")]=t[e],n[r].semcode=this.seminar.FolgeCodes[r-1].SeminarCode}console.log("UEBERNACHTUNG","PUSH VAL",n),this.uebernachtungChange.emit(n)}else this.uebernachtungChange.emit(e)}),this.uebernachtungForm.controls.uebernachtung.valueChanges.subscribe(e=>{1==e?(this.uebernachtungForm.controls.uebernachtungStart.setValidators([bC.required]),this.uebernachtungForm.controls.uebernachtungEnde.setValidators([bC.required]),this.uebernachtungForm.updateValueAndValidity()):(this.uebernachtungForm.controls.uebernachtungStart.setValidators([]),this.uebernachtungForm.controls.uebernachtungEnde.setValidators([]),this.uebernachtungForm.updateValueAndValidity())})}console.log("SHOW UEBERNACHTUNG",this.seminar.Zimmerpreis,this.seminar.UebernachtungGleich,this.equalize)}}return e.\u0275fac=function(t){return new(t||e)(Ko(Fx),Ko(rO),Ko(sc))},e.\u0275cmp=je({type:e,selectors:[["app-uebernachtung-form"]],viewQuery:function(e,t){if(1&e&&Tu(aO,1),2&e){let e;Au(e=Iu())&&(t.uebernachtungsbutton=e.first)}},inputs:{seminar:"seminar",lockOrder:"lockOrder",equalize:"equalize",teilnehmer:"teilnehmer",submit:"submit"},outputs:{uebernachtungChange:"uebernachtungChange"},decls:1,vars:1,consts:[[4,"ngIf"],["uebernachtungTitle",""],["uebernachtungContent",""],[1,"d-flex"],["type","button","triggers","manual","popoverClass","cartPopover","container","body",1,"btn","btn-outline-secondary",2,"width","100%",3,"ngbPopover","popoverTitle","autoClose","ngClass","disabled","click"],["uebernachtungsbutton","","p","ngbPopover"],["type","button","class","iconButton btn btn-outline-secondary ml-1","triggers","mouseenter:mouseleave","popoverTitle","\xdcbernachtungen","popoverClass","cartPopover",3,"ngbPopover","autoClose","disablePopover",4,"ngIf"],["href","javascript:void(0)",3,"click"],["name","x"],[1,"uebernachtungsform",3,"formGroup"],[3,"disabled"],[1,"form-check"],["type","radio","name","uebernachtung","id","uebernachtungRadios1","formControlName","uebernachtung",1,"form-check-input",3,"value"],["for","uebernachtungRadios1",1,"form-check-label"],["type","radio","name","uebernachtung","id","uebernachtungRadios2","formControlName","uebernachtung",1,"form-check-input",3,"value"],["for","uebernachtungRadios2",1,"form-check-label"],["type","radio","name","uebernachtung","id","uebernachtungRadios3","formControlName","uebernachtung",1,"form-check-input",3,"value"],["for","uebernachtungRadios3",1,"form-check-label"],[4,"ngFor","ngForOf"],[1,"mt-2",3,"minDate","startDate","dateInput","dateChange"],["type","radio",1,"form-check-input",3,"name","id","formControlName","value"],[1,"form-check-label",3,"for"],[1,"mt-2",3,"startDate","minDate","dateInput","dateChange"],["type","button","triggers","mouseenter:mouseleave","popoverTitle","\xdcbernachtungen","popoverClass","cartPopover",1,"iconButton","btn","btn-outline-secondary","ml-1",3,"ngbPopover","autoClose","disablePopover"],["name","info-circle",1,"topfix",2,"position","relative","top","2px","color","#007AFF"]],template:function(e,t){1&e&&Go(0,mO,11,9,"ng-container",0),2&e&&Yo("ngIf",t.seminar&&t.seminar.Zimmerpreis>0&&(t.equalize||!t.equalize&&!t.seminar.UebernachtungGleich))},directives:[qd,BE,$d,sA,DS,RC,AS,zC,dC,MC,OS,Ud,oO],styles:["button.btn.ng-touched.ng-invalid[_ngcontent-%COMP%]{border-color:red;border-width:2px}"]}),e})();function yO(e,t){if(1&e){const e=ra();Jo(0,"app-uebernachtung-form",12),aa("uebernachtungChange",function(t){return Rt(e),ua().changeUebernachtungen(t)}),Xo()}if(2&e){const e=ua();Yo("seminar",e.seminar)("teilnehmer",e.teilnehmer)("lockOrder",e.lockOrder)("submit",e.submit)("equalize",!1)}}let bO=(()=>{class e{constructor(){this.teilnehmerChange=new gu,this.uebernachtungen=[],this.teilnehmerForm=new yS({anrede:new gS("",[bC.required]),vorname:new gS("",[bC.required]),nachname:new gS("",[bC.required]),email:new gS("",[bC.required,bC.email,bC.pattern(aw)])}),this.teilnehmerForm.valueChanges.subscribe(e=>{this.emitValue(e)})}set seminar(e){this._seminar=e}get seminar(){return this._seminar}set teilnehmer(e){var t;if(console.log("TEILNEHMER CHANGE",e),this.uebernachtungen=(null===(t=e.uebernachtung)||void 0===t?void 0:t.length)>0?ow(e.uebernachtung):[],void 0!==e.anrede){let t=ow(e);for(const e of Object.keys(t))-1!=e.indexOf("uebernachtung")&&delete t[e];console.log("TEILNEHMER CHANGE",t),this.teilnehmerForm.setValue(t),this._teilnehmer=ow(e)}}get teilnehmer(){return this._teilnehmer}set submit(e){this.teilnehmerForm.markAllAsTouched(),this._submit=e}get submit(){return this._submit}emitValue(e){let t=e||this.teilnehmerForm.getRawValue();t.uebernachtung=ow(this.uebernachtungen),console.log("teilneherEmitValues",t),this.teilnehmerChange.emit(t)}changeUebernachtungen(e){for(const t of Object.keys(e))if(-1===t.indexOf("Folge"))this.uebernachtungen[0][t]=e[t],this.uebernachtungen[0].semcode=this.seminar.Code;else{const n=t.replace(/\D/g,"");if(n&&""!=n){const r=parseInt(n),i=t.replace("Folge"+n,"");this.uebernachtungen[r][i]=e[t],this.uebernachtungen[r].semcode=this.seminar.FolgeC
1odes[r-1].SeminarCode}}this.emitValue()}ngOnInit(){this.teilnehmerForm.markAsUntouched()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["app-teilnehmer-form"]],inputs:{seminar:"seminar",teilnehmer:"teilnehmer",submit:"submit",index:"index",lockOrder:"lockOrder"},outputs:{teilnehmerChange:"teilnehmerChange"},decls:18,vars:8,consts:[[1,"d-flex","flex-column","mt-1","mb-1"],[3,"formGroup"],[3,"disabled"],["name","anrede","type","text","formControlName","anrede",1,"teilnehmerinput","form-control","mr-sm-2","mb-sm-1",3,"id"],["value","","selected","","disabled",""],["value","Frau"],["value","Herr"],["value","keine Angabe"],["name","vorname","type","text","placeholder","Vorname *","aria-label","Vorname *","formControlName","vorname",1,"teilnehmerinput","form-control","mr-sm-2","mb-sm-1",3,"id"],["name","nachname","type","text","placeholder","Nachname *","aria-label","Nachname *","formControlName","nachname",1,"teilnehmerinput","form-control","mr-sm-2","mb-sm-1",3,"id"],["name","email","type","text","placeholder","Email *","aria-label","Email *","formControlName","email",1,"teilnehmerinput","form-control","mb-sm-1",3,"id"],[3,"seminar","teilnehmer","lockOrder","submit","equalize","uebernachtungChange",4,"ngIf"],[3,"seminar","teilnehmer","lockOrder","submit","equalize","uebernachtungChange"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"form",1),Jo(2,"fieldset",2),Jo(3,"span"),Na(4),Xo(),Jo(5,"select",3),Jo(6,"option",4),Na(7,"Anrede *"),Xo(),Jo(8,"option",5),Na(9,"Frau"),Xo(),Jo(10,"option",6),Na(11,"Herr"),Xo(),Jo(12,"option",7),Na(13,"keine Angabe"),Xo(),Xo(),ea(14,"input",8),ea(15,"input",9),ea(16,"input",10),Xo(),Xo(),Go(17,yO,1,5,"app-uebernachtung-form",11),Xo()),2&e&&(ps(1),Yo("formGroup",t.teilnehmerForm),ps(1),Yo("disabled",t.lockOrder),ps(2),Ba("Teilnehmer ",t.index+1,""),ps(1),Yo("id","teilnehmer-anrede"+t.index),ps(9),Yo("id","teilnehmer-vorname"+t.index),ps(1),Yo("id","teilnehmer-nachname"+t.index),ps(1),Yo("id","teilnehmer-email"+t.index),ps(1),Yo("ngIf",t.teilnehmer&&!t.seminar.UebernachtungGleich))},directives:[DS,RC,AS,qC,MC,OS,WC,YC,dC,qd,gO],styles:[""]}),e})();const vO=["teilnehmerinput"];function wO(e,t){if(1&e){const e=ra();ta(0),Jo(1,"p",32),aa("click",function(){return Rt(e),ua().$implicit.showModal=!0}),Na(2),Xo(),na()}if(2&e){const e=ua().$implicit;ps(2),Ba(" ",e.Beschreibung," ")}}function _O(e,t){if(1&e){const e=ra();Jo(0,"h5",33),aa("click",function(){return Rt(e),ua().$implicit.showModal=!0}),Na(1),Xo()}if(2&e){const e=ua().$implicit;ps(1),Ba(" ",e.Beschreibung," ")}}function CO(e,t){if(1&e&&(Jo(0,"small",36),Na(1),Xo()),2&e){const e=t.$implicit,n=t.index;ps(1),Ba("Folge-Termin ",n+1+": "+e.Beginn+" - "+e.Ende,"")}}function SO(e,t){1&e&&(ta(0),ea(1,"br"),Jo(2,"small",37),Na(3,"Die Geb\xfchren f\xfcr diese Veranstaltung stehen noch nicht fest."),Xo(),na())}function kO(e,t){if(1&e&&(Jo(0,"p",34),Jo(1,"small"),Na(2),Xo(),Go(3,CO,2,1,"small",35),Go(4,SO,4,0,"ng-container",22),Xo()),2&e){const e=ua().$implicit,t=ua(2);ps(2),Va(" ",e.Seminare[0].Beginn," - ",e.Seminare[0].Ende,""),ps(1),Yo("ngForOf",e.Seminare[0].FolgeCodes),ps(1),Yo("ngIf",1==t.mode&&.01==e.Seminare[0].Preis)}}function DO(e,t){if(1&e){const e=ra();Jo(0,"app-uebernachtung-form",43),aa("uebernachtungChange",function(t){Rt(e);const n=ua(2).$implicit;return ua(2).changeTeilnehmer(n.Seminare[0].Teilnehmer[0],t,n.Seminare[0],!0)}),Xo()}if(2&e){const e=ua(2).$implicit,t=ua(2);Yo("teilnehmer",e.Seminare[0].Teilnehmer[0])("equalize",!0)("seminar",e.Seminare[0])("lockOrder",t.lockOrder)("submit",t.submit)}}const xO=function(){return{standalone:!0}};function EO(e,t){if(1&e){const e=ra();Jo(0,"div",38),Jo(1,"fieldset",12),Jo(2,"div",39),Jo(3,"input",40),aa("ngModelChange",function(t){return Rt(e),ua().$implicit.Seminare[0].UebernachtungGleich=t})("change",function(){Rt(e);const t=ua().$implicit,n=ua(2);return n.updateCartSum(),n.equUebernachtungen(t.Seminare[0])}),Xo(),Jo(4,"label",41),Na(5,"\xdcbernachtungen f\xfcr alle Teilnehmer gleich"),Xo(),Xo(),Xo(),Go(6,DO,1,5,"app-uebernachtung-form",42),Xo()}if(2&e){const e=ua(),t=e.index,n=e.$implicit,r=ua(2);ps(1),Yo("disabled",r.lockOrder),ps(2),Yo("id","customSwitch-"+t)("ngModel",n.Seminare[0].UebernachtungGleich)("ngModelOptions",nu(6,xO)),ps(1),Yo("for","customSwitch-"+t),ps(2),Yo("ngIf",n.Seminare[0].UebernachtungGleich)}}function AO(e,t){if(1&e){const e=ra();Jo(0,"app-teilnehmer-form",48),aa("teilnehmerChange",function(n){Rt(e);const r=t.$implicit,i=ua(2).$implicit;return ua(2).changeTeilnehmer(r,n,i.Seminare[0],!1)}),Xo()}if(2&e){const e=t.$implicit,n=t.index,r=ua(2).$implicit,i=ua(2);Yo("seminar",r.Seminare[0])("teilnehmer",e)("index",n)("lockOrder",i.lockOrder)("submit",i.submit)}}function TO(e,t){if(1&e&&(Jo(0,"div"),Jo(1,"h6",44),Na(2,"Teilnehmer:"),Xo(),Jo(3,"div",45),Go(4,AO,1,5,"app-teilnehmer-form",46),Xo(),Jo(5,"small",47),Na(6,"Ergibt sich eine \xc4nderung der Teilnehmer*in, ist ein \xdcbertrag an Dritte jederzeit kostenfrei m\xf6glich. Bitte informieren Sie uns vor Veranstaltungsbeginn."),Xo(),Xo()),2&e){const e=ua().$implicit;ps(4),Yo("ngForOf",e.Seminare[0].Teilnehmer)}}function OO(e,t){if(1&e&&(ta(0),Na(1),hu(2,"currency"),na()),2&e){const e=ua().uebernacht,t=ua(3).$implicit;ps(1),Va(" ",e," \xd7 ",pu(2,2,t.Seminare[0].Zimmerpreis,"Euro")," ")}}function IO(e,t){1&e&&Na(0," 0 \u20ac ")}function PO(e,t){if(1&e&&(Go(0,OO,3,5,"ng-container",0),Go(1,IO,1,0,"ng-template",null,1,Ru)),2&e){const e=t.uebernacht,n=Zo(2);Yo("ngIf",e>0)("ngIfElse",n)}}function FO(e,t){1&e&&ea(0,"div")}const MO=function(e){return{uebernacht:e}};function RO(e,t){if(1&e&&(Jo(0,"div",50),Jo(1,"span",51),Na(2,"+"),Xo(),Jo(3,"div",52),Jo(4,"small",53),Na(5),Xo(),Go(6,PO,3,2,"ng-template",null,54,Ru),Go(8,FO,1,0,"div",55),Xo(),Xo()),2&e){const e=Zo(7),t=ua(),n=t.index,r=t.$implicit,i=ua(3);ps(5),Ba("\xdcbernachtungen Teilnehmer ",n+1,""),ps(3),Yo("ngTemplateOutlet",e)("ngTemplateOutletContext",ru(3,MO,i.getUebernachtungAmount(r)))}}function NO(e,t){if(1&e&&(ta(0),Go(1,RO,9,5,"div",49),na()),2&e){const e=t.$implicit,n=ua(3);ps(1),Yo("ngIf",n.showUebernachtungen(e))}}function LO(e,t){if(1&e&&(Jo(0,"strong",56),Na(1),hu(2,"currency"),Xo()),2&e){const e=ua().$implicit,t=ua(2);ps(1),La(pu(2,1,t.calculateSemPrice(e),"Euro"))}}function BO(e,t){1&e&&(ta(0),ea(1,"br"),Jo(2,"small",37),Na(3,"Die Geb\xfchren f\xfcr diese Veranstaltung stehen noch nicht fest."),Xo(),na())}const VO=function(e,t,n,r){return{"align-items-center":e,"flex-row":t,"flex-column":n,"flex-md-row":r}},zO=function(e){return{"mt-2":e}},$O=function(e){return{width:e}},jO=function(e){return{"pl-3":e}};function UO(e,t){if(1&e){const e=ra();ta(0),Jo(1,"div",9),Jo(2,"div",10),Jo(3,"img",11),aa("click",function(){return t.$implicit.showModal=!0}),Xo(),Jo(4,"fieldset",12),Jo(5,"div",13),Jo(6,"div",14),Jo(7,"button",15),aa("click",function(){Rt(e);
1const n=t.$implicit;return ua(2).updateAmount(n.Seminare[0],n.Seminare[0].Amount>1?n.Seminare[0].Amount-1:1)}),ea(8,"app-icon",16),Xo(),Xo(),Jo(9,"input",17),aa("ngModelChange",function(e){return t.$implicit.Seminare[0].Amount=e}),Xo(),Jo(10,"div",14),Jo(11,"button",15),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).updateAmount(n.Seminare[0],n.Seminare[0].Amount+1)}),ea(12,"app-icon",18),Xo(),Xo(),Xo(),Xo(),Xo(),Jo(13,"div",19),Go(14,wO,3,1,"ng-container",0),Go(15,_O,2,1,"ng-template",null,1,Ru),Jo(17,"small"),Na(18),Xo(),Go(19,kO,5,4,"p",20),Go(20,EO,7,7,"div",21),Go(21,TO,7,1,"div",22),Xo(),Jo(22,"div",23),Jo(23,"div",24),Jo(24,"p",25),Jo(25,"small",26),Na(26),Xo(),ea(27,"br"),Na(28),hu(29,"currency"),Xo(),Go(30,NO,2,1,"ng-container",3),Jo(31,"div"),Go(32,LO,3,4,"strong",27),Xo(),Go(33,BO,4,0,"ng-container",22),Xo(),Xo(),Jo(34,"p",28),Jo(35,"a",29),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).cartService.removeFromCart(n)}),ea(36,"app-icon",30),Xo(),Xo(),Xo(),ea(37,"app-seminarmodal",31),na()}if(2&e){const e=t.$implicit,n=Zo(16),r=ua(2);ps(1),Yo("ngClass",ou(27,VO,1==r.mode,1==r.mode,2==r.mode,2==r.mode)),ps(2),Yo("src",r.cartService.getCatImage(e.KategorieBildCode)||"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",ai),ps(1),Yo("disabled",r.lockOrder),ps(1),Yo("ngClass",ru(32,zO,2==r.mode)),ps(4),Yo("ngModel",e.Seminare[0].Amount)("ngModelOptions",nu(34,xO)),ps(4),Yo("ngStyle",ru(35,$O,2==r.mode?"620px":"310px"))("ngClass",ru(37,jO,1==r.mode)),ps(1),Yo("ngIf",1==r.mode)("ngIfElse",n),ps(4),Va("",0==e.ProduktArt?"Seminarnummer":"Nummer",": ",e.Seminare[0].Nummer,""),ps(1),Yo("ngIf",0==e.ProduktArt),ps(1),Yo("ngIf",2==r.mode&&e.Seminare[0].Teilnehmer.length>1&&e.Seminare[0]&&(null==e.Seminare[0]?null:e.Seminare[0].Zimmerpreis)>0),ps(1),Yo("ngIf",2==r.mode&&0==e.ProduktArt),ps(2),Yo("ngStyle",ru(39,$O,1==r.mode?"104px":"130px")),ps(3),La(0==e.ProduktArt?"Seminarpreis":"Preis"),ps(2),Va("",e.Seminare[0].Amount," \xd7 ",.01==e.Seminare[0].Preis?"k.A. Info folgt":pu(29,24,e.Seminare[0].Preis,"Euro")," "),ps(2),Yo("ngForOf",e.Seminare[0].Teilnehmer),ps(2),Yo("ngIf",.01!=e.Seminare[0].Preis),ps(1),Yo("ngIf",2==r.mode&&.01==e.Seminare[0].Preis),ps(4),Yo("seminar",e)("openModal",e.showModal)}}function HO(e,t){if(1&e){const e=ra();Jo(0,"button",57),aa("click",function(){return Rt(e),ua(2).goToCheckout()}),Na(1,"Zur Bestellung"),Xo()}}const qO=function(e){return{checkout:e}};function WO(e,t){if(1&e&&(ta(0),Jo(1,"div",2),Go(2,UO,38,41,"ng-container",3),Xo(),Jo(3,"div",4),Jo(4,"p",5),Na(5),hu(6,"currency"),hu(7,"async"),ea(8,"br"),Jo(9,"small",6),Na(10,"+ 19% MwSt."),Xo(),Na(11),hu(12,"currency"),hu(13,"async"),ea(14,"br"),Jo(15,"strong",7),Na(16),hu(17,"currency"),hu(18,"async"),hu(19,"async"),Xo(),Xo(),Go(20,HO,2,0,"button",8),Xo(),na()),2&e){const e=ua();ps(1),Yo("ngClass",ru(23,qO,2==e.mode)),ps(1),Yo("ngForOf",e.cartContent),ps(3),La(pu(6,6,du(7,9,e.cartSum).toFixed(2),"Euro")),ps(6),La(pu(12,11,.19*du(13,14,e.cartSum),"Euro")),ps(5),La(pu(17,16,du(18,19,e.cartSum)+.19*du(19,21,e.cartSum),"Euro")),ps(4),Yo("ngIf",1==e.mode)}}function GO(e,t){1&e&&(Jo(0,"div",58),Na(1," Der Warenkorb ist leer. "),Xo())}nw.locale("de"),nw.extend(rw);let ZO=(()=>{class e{constructor(e,t,n,r,i){this.cartService=e,this.router=t,this.storageService=n,this.renderer=r,this.formatter=i,this.openState=new gu,this.navigate=new gu,this.cartChange=new gu,this.mode=1,this._lockOrder=!1,this._submit=!1,this.cartSum=new pg(0),this.Arr=Array,this.openPopover=[]}set lockOrder(e){for(const t of this.openPopover)t.close();this._lockOrder=e}get lockOrder(){return this._lockOrder}set submit(e){if(e){for(const e of this.openPopover)e.close();this.teilnehmerinputs.toArray().forEach(e=>{this.renderer.addClass(e.nativeElement,"ng-touched")})}this._submit=e}get submit(){return this._submit}openPop(e){for(const t of this.openPopover)t.close();this.openPopover=[e],e.open(),e.hidden.subscribe(()=>{this.updateCartSum()})}ngOnDestroy(){this.cartContent=[]}changeTeilnehmer(e,t,n,r){if(r&&void 0===t.anrede&&void 0!==t.length)e.uebernachtung=ow(t);else for(const i of Object.keys(t)){let s=n.UebernachtungGleich,o="uebernachtung"===i,a=!1;r&&o&&"object"==typeof t.uebernachtung&&(a=!0),r&&!o&&(a=!1),r||!s||o||(a=!0),r||s||(a=!0),a&&(e[i]=ow(t[i]))}n.UebernachtungGleich?this.equUebernachtungen(n):this.updateCartSum(!1)}changeDate(e,t,n){n.from&&""!=n.from&&n.to&&""!=n.to&&(e.uebernachtung[t].uebernachtungStart=this.formatter.format(n.from),e.uebernachtung[t].uebernachtungEnde=this.formatter.format(n.to),this.updateCartSum(!0))}updateCart(){this.cartService.pushCart(this.cartContent)}updateCartSum(e){let t=0;
1this.cartContent.forEach(e=>{t+=this.calculateSemPrice(e)}),this.cartSum.next(t),this.storageService.saveWithKey("cart",JSON.stringify(this.cartContent)),this.cartChange.emit(),void 0!==e&&!1!==e||this.cartService.pushCart(this.cartContent)}updateAmount(e,t){if(t>e.Amount)for(var n=0;n<t-e.Amount;n++)e.Teilnehmer.push(sw(e.Code,e.FolgeCodes));else e.Teilnehmer=e.Teilnehmer.splice(0,e.Amount-(e.Amount-t));e.Amount=t,1==e.Teilnehmer.length&&(console.log("SHOULD RESET GLEICH"),e.UebernachtungGleich=!1),e.UebernachtungGleich&&this.equUebernachtungen(e),this.updateCartSum()}goToCheckout(){this.navigate.emit(!0),this.openState.emit(!1),this.router.navigateByUrl("kasse")}calculateSemPrice(e){var t,n;let r=.01==e.Seminare[0].Preis?0:parseFloat(e.Seminare[0].Preis.toString()),i=e.Seminare[0].Amount*r;for(const s of e.Seminare[0].Teilnehmer)i+=this.getUebernachtungAmount(s)*parseFloat(null===(n=null===(t=e.Seminare[0])||void 0===t?void 0:t.Zimmerpreis)||void 0===n?void 0:n.toString());return i}calculateCartSum(){let e=0;return this.cartContent.forEach(t=>{e+=this.calculateSemPrice(t)}),e}equUebernachtungen(e){for(let t=1;t<e.Teilnehmer.length;t++)e.Teilnehmer[t].uebernachtung=ow(e.Teilnehmer[0].uebernachtung);this.updateCartSum(!1)}showUebernachtungen(e){for(const t of e.uebernachtung)if(1==t.uebernachtung&&""!=t.uebernachtungStart&&""!=t.uebernachtungEnde)return!0;return!1}getUebernachtungAmount(e){let t=0;for(const n of e.uebernachtung)if(1==n.uebernachtung&&""!=n.uebernachtungStart&&""!=n.uebernachtungEnde){let e=nw(n.uebernachtungStart,"DD.MM.YYYY");t+=nw(n.uebernachtungEnde,"DD.MM.YYYY").diff(e,"d")}return t}uebernachtungValid(e,t){let n=!0;for(const r of t.uebernachtung)1!=r.uebernachtung||""!=r.uebernachtungStart&&""!=r.uebernachtungEnde?r.uebernachtung<=0&&(n=!1):n=!1;return n}addClass(e,t){e.target.classList.contains(t)||e.target.classList.add(t)}ngOnInit(){this.cartContent=cw(this.cartService.$cartContent.getValue(),!1),this.updateCartSum(),console.log("loaded cartcontent",this.cartContent)}}return e.\u0275fac=function(t){return new(t||e)(Ko(XE),Ko(Ov),Ko(JE),Ko(sc),Ko(Fx))},e.\u0275cmp=je({type:e,selectors:[["app-cart"]],viewQuery:function(e,t){if(1&e&&Tu(vO,1),2&e){let e;Au(e=Iu())&&(t.teilnehmerinputs=e)}},inputs:{mode:"mode",lockOrder:"lockOrder",submit:"submit"},outputs:{openState:"openState",navigate:"navigate",cartChange:"cartChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["elseTemplate",""],[1,"d-flex","flex-column","cartContainer",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"cart-footer","d-flex","flex-row","justify-content-end","align-items-center"],[1,"mb-0","mr-3","text-right"],[1,"mr-3"],[2,"border-top","1px solid lightgray"],["class","btn btn-sm primaryBg text-white",3,"click",4,"ngIf"],[1,"d-flex","cart-item",2,"width","100%",3,"ngClass"],[1,"align-self-baseline","pr-3"],[1,"cursor-pointer","mt-0",3,"src","click"],[3,"disabled"],[1,"input-group","cart-amount","ml-md-auto","mr-auto",3,"ngClass"],["id","button-addon4",1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary","px-2","py-1",3,"click"],["name","dash"],["type","number","placeholder","1","aria-describedby","button-addon4",1,"form-control","px-2","py-1",3,"ngModel","ngModelOptions","ngModelChange"],["name","plus"],[1,"mb-0","px-md-3","mw-100","my-3","my-md-0",2,"border-left","1px dotted rgba(0,0,0,0.2)","border-right","1px dotted rgba(0,0,0,0.2)",3,"ngStyle","ngClass"],["class","mb-1",4,"ngIf"],["class","my-3 d-flex align-items-center",4,"ngIf"],[4,"ngIf"],[1,"d-flex","flex-row","pl-3","mb-0"],[1,"ml-md-1","text-right",2,"min-width","104px",3,"ngStyle"],[1,"pricecol","mb-0",2,"margin-top","-7px"],[2,"position","relative","top","4px"],["class","w-100 d-block","style","padding-top:5px; border-top: 1px solid lightgray;",4,"ngIf"],[1,"deleteseminar","mb-0","ml-md-3"],["href","javascript:void(0);",1,"cursor-pointer",2,"color","black",3,"click"],["name","x-circle-fill"],["mode","2",3,"seminar","openModal"],[1,"seminarbeschreibung","cursor-pointer","mb-0",3,"click"],[1,"seminarbeschreibung","cursor-pointer","mb-0",2,"letter-spacing","-0.04em",3,"click"],[1,"mb-1"],["class","text-secondary d-block",4,"ngFor","ngForOf"],[1,"text-secondary","d-block"],[1,"font-weight-bold"],[1,"my-3","d-flex","align-items-center"],[1,"custom-control","custom-switch","cursor-pointer"],["type","checkbox",1,"custom-control-input",3,"id","ngModel","ngModelOptions","ngModelChange","change"],[1,"custom-control-label",3,"for"],["class","ml-auto",3,"teilnehmer","equalize","seminar","lockOrder","submit","uebernachtungChange",4,"ngIf"],[1,"ml-auto",3,"teilnehmer","equalize","seminar","lockOrder","submit","uebernachtungChange"],[1,"mb-1","mt-2"],["id","teilnehmerGrid"],[3,"seminar","teilnehmer","index","lockOrder","submit","teilnehmerChange",4,"ngFor","ngForOf"],[1,"d-block","mt-2"],[3,"seminar","teilnehmer","index","lockOrder","submit","teilnehmerChange"],["class","d-flex flex-row",4,"ngIf"],[1,"d-flex","flex-row"],[1,"mr-1","align-self-end","ml-auto"],[1,"pricecol","mb-0","mt-2"],[1,"uebernachtungTeilnehmerLabel"],["uebernachtungssumme",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"w-100","d-block",2,"padding-top","5px","border-top","1px solid lightgray"],[1,"btn","btn-sm","primaryBg","text-white",3,"click"],[1,"d-flex","emptyCart"]],template:function(e,t){if(1&e&&(Go(0,WO,21,25,"ng-container",0),Go(1,GO,2,0,"ng-template",null,1,Ru)),2&e){const e=Zo(2);Yo("ngIf",t.cartContent.length>0)("ngIfElse",e)}},directives:[qd,$d,Ud,sA,LC,dC,MC,kS,Zd,GA,cC,gO,bO,Kd],pipes:[ip,tp],styles:[".cartContainer[_ngcontent-%COMP%]   .cart
1-item[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:.5rem}.cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-inner-spin-button, .cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]   input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]   .seminarbeschreibung[_ngcontent-%COMP%]{line-height:110%}.cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]   .uebernachtungTeilnehmerLabel[_ngcontent-%COMP%]{display:block;position:relative;line-height:100%;font-weight:lighter}.cartContainer[_ngcontent-%COMP%]   .cart-item[_ngcontent-%COMP%]:last-of-type{border-bottom:none!important}.cartContainer[_ngcontent-%COMP%]   #teilnehmerGrid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;-moz-column-gap:7px;column-gap:7px;row-gap:10px}.cartContainer[_ngcontent-%COMP%]   .btn-outline-secondary.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:red;border-width:2px}.cartContainer[_ngcontent-%COMP%]   .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]:before{background-color:#ff6818;border-color:#ff6818;cursor:pointer}.cartContainer[_ngcontent-%COMP%]   .iconButton.btn-outline-secondary[_ngcontent-%COMP%]:hover{background-color:#d2d2d2}app-date-range-picker[_ngcontent-%COMP%]{display:block}app-date-range-picker[_ngcontent-%COMP%]   .form-control[readonly][_ngcontent-%COMP%]{background-color:initial}.cartPopover[_ngcontent-%COMP%]{max-width:none}"]}),e})();function KO(e,t){1&e&&(Jo(0,"p",7),Na(1,"Bitte \xfcberpr\xfcfen Sie Ihre Angaben"),Xo())}function YO(e,t){if(1&e){const e=ra();Jo(0,"button",8),aa("click",function(){return Rt(e),ua().lockOrder=!1}),ea(1,"app-icon",9),Na(2," Zur\xfcck "),Xo()}}const QO=function(){return["/account/historie"]};function JO(e,t){1&e&&(Jo(0,"span"),ea(1,"br"),Jo(2,"a",13),Na(3,"Zur Bestellhistorie"),Xo(),Xo()),2&e&&(ps(2),Yo("routerLink",nu(1,QO)))}function XO(e,t){if(1&e&&(ta(0),Jo(1,"p"),Na(2),Xo(),Jo(3,"p",12),Na(4," Wir weisen darauf hin, dass ein Vertrag erst zustande kommt, wenn Ihr Auftrag durch das Schulungsunternehmen best\xe4tigt wurde. "),ea(5,"br"),Na(6,"Informationen zum Seminar erhalten Sie rechtzeitig vor Termin."),ea(7,"br"),ea(8,"br"),Na(9," Die Buchungen werden von uns in der Reihenfolge des Eingangs ber\xfccksichtigt. "),Go(10,JO,4,2,"span",11),Xo(),na()),2&e){const e=ua(2);ps(2),Va("Vielen Dank f\xfcr Ihre Bestellung! (",e.orderRes.bestellId,") vom ",e.orderRes.datum,""),ps(8),Yo("ngIf",e.accountInput.token)}}function eI(e,t){1&e&&(Jo(0,"p"),Na(1,"Leider ist ein Fehler aufgetreten. Bitte versuchen Sie es sp\xe4ter erneut."),Xo())}const tI=function(e,t){return{"alert-success":e,"alert-danger":t}};function nI(e,t){if(1&e&&(Jo(0,"div",10),Go(1,XO,11,3,"ng-container",11),Go(2,eI,2,0,"ng-template",null,6,Ru),Xo()),2&e){const e=ua();Yo("ngClass",iu(2,tI,e.showAlert.success,e.showAlert.error)),ps(1),Yo("ngIf",e.showAlert.success)}}const rI=function(){return{standalone:!0}};function iI(e,t){if(1&e){const e=ra();Jo(0,"div",55),Jo(1,"input",56),aa("ngModelChange",function(t){return Rt(e),ua(3).accountInput.email=t}),Xo(),Jo(2,"input",57),aa("ngModelChange",function(t){return Rt(e),ua(3).accountInput.passwort=t}),Xo(),Jo(3,"button",58),aa("click",function(){return Rt(e),ua(3).loginCustomer()}),Na(4,"einloggen"),Xo(),Xo()}if(2&e){const e=ua(3);ps(1),Yo("ngModel",e.accountInput.email)("ngModelOptions",nu(4,rI)),ps(1),Yo("ngModel",e.accountInput.passwort)("ngModelOptions",nu(5,rI))}}function sI(e,t){if(1&e){const e=ra();Jo(0,"div",55),Jo(1,"input",59),aa("ngModelChange",function(t){return Rt(e),ua(3).accountInput.passwort=t}),Xo(),Jo(2,"input",60),aa("ngModelChange",function(t){return Rt(e),ua(3).accountInput.passwortRepeat=t}),Xo(),Xo()}if(2&e){const e=ua(3);ps(1),Yo("ngModel",e.accountInput.passwort)("ngModelOptions",nu(4,rI)),ps(1),Yo("ngModel",e.accountInput.passwortRepeat)("ngModelOptions",nu(5,rI))}}const oI=function(e){return{"mb-3":e}};function aI(e,t){if(1&e){const e=ra();ta(0),Jo(1,"div",45),Jo(2,"input",46),aa("ngModelChange",function(t){return Rt(e),ua(2).accountInput.mode=t}),Xo(),Jo(3,"label",47),Na(4,"Als Gast bestellen"),Xo(),Xo(),Jo(5,"div",48),Jo(6,"input",49),aa("ngModelChange",function(t){return Rt(e),ua(2).accountInput.mode=t}),Xo(),Jo(7,"label",50),Na(8,"Sie haben bereits einen Account?"),Xo(),Xo(),Jo(9,"div",45),Jo(10,"input",51),aa("ngModelChange",function(t){return Rt(e),ua(2).accountInput.mode=t}),Xo(),Jo(11,"label",52),Na(12,"Account mit untenstehenden Daten erstellen"),Xo(),Xo(),Go(13,iI,5,6,"div",53),Go(14,sI,3,6,"div",54),na()}if(2&e){const e=ua(2);ps(1),Yo("ngClass",ru(13,oI,void 0===e.accountInput.mode)),ps(1),Yo("value","guest")("ngModel",e.accountInput.mode)("ngModelOptions",nu(15,rI)),ps(4),Yo("value","login")("ngModel",e.accountInput.mode)("ngModelOptions",nu(16,rI)),ps(3),Yo("ngClass",ru(17,oI,void 0===e.accountInput.mode)),ps(1),Yo("value","register")("ngModel",e.accountInput.mode)("ngModelOptions",nu(19,rI)),ps(3),Yo("ngIf","login"==e.accountInput.mode),ps(1),Yo("ngIf","register"==e.accountInput.mode)}}function lI(e,t){if(1&e){const e=ra();Jo(0,"p"),Na(1),Jo(2,"a",61),aa("click",function(){return Rt(e),ua(2).logout()}),Na(3,"ausloggen"),Xo(),Xo()}if(2&e){const e=ua(2);ps(1),Ba("Als ",e.accountInput.token.vorname+" "+e.accountInput.token.nachname," eingeloggt. ")}}function cI(e,t){1&e&&(Jo(0,"div",62),Jo(1,"strong"),Na(2,"Rechnungsanschrift"),Xo(),Jo(3,"div",17),ea(4,"input",63),ea(5,"input",64),Xo(),Jo(6,"div",20),ea(7,"input",65),ea(8,"input",66),Xo(),Jo(9,"div",25),ea(10,"input",67),ea(11,"input",68),Xo(),Jo(12,"strong"),Na(13,"Kontaktinformationen:"),Xo(),Jo(14,"div",20),Jo(15,"select",69),Jo(16,"option",29),Na(17,"Anrede"),Xo(),Jo(18,"option",30),Na(19,"Frau"),Xo(),Jo(20,"option",30),Na(21,"Herr"),Xo(),Jo(22,"option",30),Na(23,"keine Angabe"),Xo(),Xo(),ea(24,"input",70),ea(25,"input",71),Xo(),Jo(26,"div",72),ea(27,"input",73),Xo(),Xo()),2&e&&(ps(16),Yo("value",""),ps(2),Yo("value","Frau"),ps(2),Yo("value","Herr"),ps(2),Yo("value","keine Angabe"))}function uI(e,t){1&e&&ea(0,"span",77)}const hI=function(){return["/seminare"]};function dI(e,t){if(1&e&&(ta(0),Jo(1,"button",74),ea(2,"app-icon",9),Na(3," Weiter Einkaufen "),Xo(),Jo(4,"button",75),Na(5," Bestellung \xfcberpr\xfcfen "),Go(6,uI,1,0,"span",76),Xo(),na()),2&e){const e=ua(2);
1ps(1),Yo("routerLink",nu(3,hI)),ps(3),Yo("disableTooltip",e.getSubmitButtonStatus()||e.submitDisabled),ps(2),Yo("ngIf",e.submitDisabled)}}function pI(e,t){1&e&&ea(0,"span",77)}function fI(e,t){if(1&e){const e=ra();Jo(0,"div",37),ea(1,"input",78),Jo(2,"label",79),Na(3,"\xa0\xa0* Ich habe die "),Jo(4,"a",80),Na(5,"Allgemeinen Gesch\xe4ftsbedingungen"),Xo(),Na(6," und die "),Jo(7,"a",80),Na(8,"Datenschutzerkl\xe4rung"),Xo(),Na(9," gelesen und akzeptiere sie"),Xo(),Xo(),Jo(10,"button",81),aa("click",function(){return Rt(e),ua(2).lockOrder=!1}),ea(11,"app-icon",9),Na(12," Zur\xfcck "),Xo(),Jo(13,"button",82),aa("click",function(){return Rt(e),ua(2).validateOrder()}),Na(14," Jetzt kostenpflichtig bestellen "),Go(15,pI,1,0,"span",76),Xo()}if(2&e){const e=ua(2);ps(4),Yo("routerLink","/page/teilnahme-und-zahlungsbedingungen"),ps(3),Yo("routerLink","/page/datenschutzerkl\xe4rung"),ps(6),Yo("disableTooltip",e.getSubmitButtonStatus()||e.submitDisabled),ps(2),Yo("ngIf",e.submitDisabled)}}const mI=function(e){return{"mt-3":e}};function gI(e,t){if(1&e&&(ta(0),Jo(1,"div",14),Jo(2,"fieldset",15),Jo(3,"strong"),Na(4,"Benutzeraccount"),Xo(),Go(5,aI,15,20,"ng-container",5),Go(6,lI,4,1,"ng-template",null,6,Ru),Jo(8,"strong",16),Na(9,"Auftraggeber:"),Xo(),Jo(10,"div",17),ea(11,"input",18),ea(12,"input",19),Xo(),Jo(13,"div",20),ea(14,"input",21),Jo(15,"div",22),ea(16,"input",23),ea(17,"input",24),Xo(),Xo(),Jo(18,"div",25),ea(19,"input",26),ea(20,"input",27),Xo(),Jo(21,"strong"),Na(22,"Ansprechpartner:"),Xo(),Jo(23,"div",17),Jo(24,"select",28),Jo(25,"option",29),Na(26,"Anrede *"),Xo(),Jo(27,"option",30),Na(28,"Frau"),Xo(),Jo(29,"option",30),Na(30,"Herr"),Xo(),Jo(31,"option",30),Na(32,"keine Angabe"),Xo(),Xo(),ea(33,"input",31),ea(34,"input",32),Xo(),Jo(35,"div",20),ea(36,"input",33),ea(37,"input",34),Xo(),Jo(38,"div",35),ea(39,"textarea",36),Xo(),Jo(40,"div",37),Jo(41,"label"),ea(42,"input",38),Na(43,"\xa0\xa0Abweichende Rechnungsanschrift"),Xo(),Xo(),Go(44,cI,28,4,"div",39),Jo(45,"p",40),Jo(46,"small"),Na(47,"Alle mit * gekennzeichneten Felder sind Pflichtfelder."),Xo(),Xo(),Jo(48,"h4",41),Na(49,"Warenkorb"),Xo(),Xo(),ea(50,"app-cart",42),Jo(51,"div",43),Go(52,dI,7,4,"ng-container",5),Go(53,fI,16,4,"ng-template",null,44,Ru),Xo(),Xo(),na()),2&e){const e=Zo(7),t=Zo(54),n=ua();ps(2),Yo("disabled",n.lockOrder),ps(3),Yo("ngIf",null==n.accountInput.kundenId)("ngIfElse",e),ps(3),Yo("ngClass",ru(13,mI,"guest"==n.accountInput.mode)),ps(17),Yo("value",""),ps(2),Yo("value","Frau"),ps(2),Yo("value","Herr"),ps(2),Yo("value","keine Angabe"),ps(13),Yo("ngIf",n.checkoutform.value.alt_adresse_ein),ps(6),Yo("submit",n.tryToSend)("lockOrder",n.lockOrder),ps(2),Yo("ngIf",!n.lockOrder)("ngIfElse",t)}}function yI(e,t){if(1&e){const e=ra();Jo(0,"p"),Na(1,"Der Warenkorb ist leer."),Xo(),Jo(2,"button",83),aa("click",function(){return Rt(e),ua().goToSeminare()}),Na(3,"Zu den Seminaren"),Xo()}}nw.locale("de"),nw.extend(rw);let bI=(()=>{class e{constructor(e,t,n,r,i,s,o){this.cartService=e,this.apiService=t,this.toastr=n,this.authService=r,this.storageService=i,this.popService=s,this.router=o,this.cart=[],this.accountInput={kundenId:void 0,token:void 0,mode:"guest",email:void 0,passwort:void 0,passwortRepeat:void 0},this.orderRes={status:null,bestellId:null,datum:null},this.lockOrder=!1,this.checkoutform=new yS({anrede:new gS("",[bC.required]),vorname:new gS("",[bC.required]),nachname:new gS("",[bC.required]),firma:new gS("",[bC.required]),firmenzusatz:new gS("",[]),ustdid:new gS("",[]),email:new gS("",[bC.required,bC.email,bC.pattern(aw)]),telefon:new gS("",[bC.required]),land:new gS("",[]),adresse:new gS("",[bC.required]),plz:new gS("",[bC.required]),ort:new gS("",[bC.required]),anmerkung:new gS(""),alt_adresse_ein:new gS(!1,[]),alt_anrede:new gS("",[]),alt_vorname:new gS("",[]),alt_nachname:new gS("",[]),alt_firma:new gS("",[bC.required]),alt_ustdid:new gS("",[]),alt_email:new gS("",[]),alt_land:new gS("",[]),alt_adresse:new gS("",[bC.required]),alt_plz:new gS("",[bC.required]),alt_ort:new gS("",[bC.required]),agb:new gS(!1,[bC.requiredTrue]),corona:new gS(!1,[bC.requiredTrue])}),this.showAlert={success:!1,error:!1},this.submitDisabled=!1,this._tryToSend=!1,this.cartService.$cartContent.pipe(x(e=>e.map(e=>{let t=e.Seminare[0];
1return{semcode:t.Code,amount:t.Amount,folgeCodes:t.FolgeCodes,zimmerpreis:t.Zimmerpreis,produktart:e.ProduktArt,teilnehmer:t.Teilnehmer}}))).subscribe(e=>{this.cart=e,console.log("checkout",this.cart)}),this.checkoutform.valueChanges.subscribe(e=>{this.saveCheckout(e)}),this.checkoutform.controls.alt_adresse_ein.valueChanges.subscribe(e=>{1==e?(this.checkoutform.controls.alt_email.setValidators([bC.email,bC.pattern(aw)]),this.checkoutform.updateValueAndValidity()):0==e&&(this.checkoutform.controls.alt_email.clearValidators(),this.checkoutform.updateValueAndValidity())})}get tryToSend(){return this._tryToSend}set tryToSend(e){e&&this.checkoutform.markAllAsTouched(),this._tryToSend=e}loadCheckout(){let e=this.storageService.getWithKey("checkout"),t=JSON.parse(e&&""!=e?e:"null");t&&null!==t&&(nw().isBefore(nw.unix(t.expiresAt),"minute")?(1==t.content.alt_adresse_ein&&(this.checkoutform.controls.alt_email.setValidators([bC.email,bC.pattern(aw)]),this.checkoutform.updateValueAndValidity()),this.checkoutform.setValue(t.content)):this.storageService.deleteKey("checkout"))}saveCheckout(e){let t={expiresAt:nw().endOf("d").unix(),content:e};this.storageService.saveWithKey("checkout",JSON.stringify(t))}ngOnInit(){this.authService.$token.subscribe(e=>{if(e&&e.decoded){this.accountInput.kundenId=e.decoded.id,this.accountInput.token=e.decoded;for(const t of Object.keys(e.decoded))this.checkoutform.get(t)&&("alt_email"==t&&console.log("alt_email"),"alt_adresse_ein"==t&&1==e.decoded[t]&&(console.log("TOKENLOAD",e.decoded[t]),this.checkoutform.controls.alt_email.setValidators([bC.email,bC.pattern(aw)]),this.checkoutform.updateValueAndValidity()),this.checkoutform.get(t).setValue(e.decoded[t]))}}),this.loadCheckout()}logout(){this.authService.logout(!0)}loginCustomer(){let e=this.accountInput.email,t=this.accountInput.passwort;e&&""!=e&&t&&""!=t&&(t=tO("sha256").update(t).digest("hex"),this.authService.login(e,t,"customer").subscribe(e=>{!0===e?this.toastr.success("Der Login war erfolgreich."):this.toastr.warning("Bitte \xfcberpr\xfcfen Sie die eingegebenen Daten.","Der Login war nicht erfolgreich.")}))}validateOrder(){if(this.cart.length>0){let e=this.checkoutform.value;if(!e.agb)return void this.toastr.warning("Bitte akzeptieren sie unsere AGBs und Datenschutzerkl\xe4rung.");let t=[];if("register"==this.accountInput.mode){if(this.accountInput.passwort!=this.accountInput.passwortRepeat)return void this.toastr.warning("Die eingegebenen Passw\xf6rter stimmen nicht \xfcberein");e.pwhash=tO("sha256").update(this.accountInput.passwort).digest("hex"),e.register=!0,t.push("pwhash"),t.push("register")}else"login"==this.accountInput.mode&&(e.kundenId=this.accountInput.kundenId,t.push("kundenId"));let n=!0;if(t.forEach(t=>{e[t]&&""!=e[t]||(n=!1)}),this.getSubmitButtonStatus()||(n=!1),n){let t=0==e.alt_adresse_ein||!(""!=e.alt_email&&!aw.test(e.alt_email));aw.test(e.email)&&t?(this.submitDisabled=!0,this.submitOrder(e)):this.toastr.warning("Bitte nur g\xfcltige Emailadressen verwenden.")}else this.toastr.warning("Bitte alle Pflichtfelder (*) ausf\xfcllen und g\xfcltige Emailadressen verwenden.")}else this.toastr.warning("Der Warenkorb ist leer.")}getSubmitButtonStatus(){let e=this.checkoutform.value,t=Object.keys(e).filter(e=>-1===e.indexOf("alt_adresse_ein")&&-1===e.indexOf("agb")&&-1===e.indexOf("corona")&&-1===e.indexOf("ustdid")&&-1===e.indexOf("firmenzusatz")&&-1===e.indexOf("land")&&-1===e.indexOf("anmerkung")&&-1===e.indexOf("alt_anrede")&&-1===e.indexOf("alt_nachname")&&-1===e.indexOf("alt_vorname")&&-1===e.indexOf("alt_land")&&-1===e.indexOf("alt_email")&&-1===e.indexOf("alt_ustdid"));e.alt_adresse_ein||(t=t.filter(e=>-1===e.indexOf("alt_")));let n=!0;if(t.forEach(t=>{n&&""==e[t]&&(n=!1)}),n)return this.cart.forEach(e=>{0==e.produktart&&(e.teilnehmer?e.teilnehmer.forEach(t=>{if(""!=t.anrede&&""!=t.vorname&&""!=t.nachname&&""!=t.email&&aw.test(t.email)){if(e.zimmerpreis>0){for(const t of e.teilnehmer)for(const e of t.uebernachtung){if(1===e.uebernachtung&&(""==e.uebernachtungStart||""==e.uebernachtungEnde)){n=!1;break}if(e.uebernachtung<=0){n=!1;break}}if(!n)return}}else n=!1}):n=!1)}),n}lockOrderForm(){this.tryToSend=!0,setTimeout(()=>{this.tryToSend=!1}
1),this.popService.close(),this.getSubmitButtonStatus()?(this.lockOrder=!0,window.scrollTo(0,0)):(window.scrollTo(0,0),this.toastr.warning("Bitte f\xfcllen Sie alle Pflichtfelder aus."))}submitOrder(e){this.apiService.sendOrder({form:e,products:this.cart}).pipe(ey()).subscribe(e=>{this.submitDisabled=!1,e&&e.status&&"OK"==e.status?(this.orderRes=e,this.checkoutform.reset(),this.cartService.pushCart([]),this.showAlert.success=!0,this.storageService.deleteKey("checkout"),this.storageService.deleteKey("cart"),window.scrollTo(0,0)):(this.toastr.error(e.error.join("\n")),this.showAlert.error=!0,window.scrollTo(0,0)),console.log(e)})}goToSeminare(){this.router.navigate(["/seminare"])}}return e.\u0275fac=function(t){return new(t||e)(Ko(XE),Ko(Hw),Ko(g_),Ko(Uw),Ko(JE),Ko(rO),Ko(Ov))},e.\u0275cmp=je({type:e,selectors:[["app-checkout"]],decls:11,vars:7,consts:[[1,"d-flex","mt-md-4","mt-3","mb-2","align-items-center"],["class","d-block mb-0",4,"ngIf"],["type","button","class","btn btn-secondary text-white mr-sm-2 ml-auto",3,"click",4,"ngIf"],["class","alert","role","alert",3,"ngClass",4,"ngIf"],["autocomplete","organization",3,"formGroup","submit"],[4,"ngIf","ngIfElse"],["elseTemplate",""],[1,"d-block","mb-0"],["type","button",1,"btn","btn-secondary","text-white","mr-sm-2","ml-auto",3,"click"],["name","chevron-left"],["role","alert",1,"alert",3,"ngClass"],[4,"ngIf"],[1,"mb-0"],[3,"routerLink"],["id","checkoutform",1,"d-flex","flex-column"],[1,"d-flex","flex-column",3,"disabled"],[3,"ngClass"],[1,"d-flex","flex-row","mt-3"],["type","text","placeholder","Firma *","aria-label","Firma *","formControlName","firma",1,"form-control","mr-sm-2"],["type","text","placeholder","Firmenzusatz","aria-label","Firmenzusatz","formControlName","firmenzusatz",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row","my-3"],["type","text","placeholder","Stra\xdfe und Hausnummer *","aria-label","Stra\xdfe und Hausnummer *","formControlName","adresse",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row",2,"min-width","50%"],["type","text","placeholder","PLZ *","aria-label","PLZ *","formControlName","plz",1,"form-control","mr-sm-2"],["type","text","placeholder","Ort *","aria-label","Ort *","formControlName","ort",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row","mb-3"],["type","text","placeholder","Land (falls nicht Deutschland)","aria-label","Land (falls nicht Deutschland)","formControlName","land",1,"form-control","mr-sm-2"],["type","text","placeholder","USt-IdNr.","aria-label","USt-IdNr.","formControlName","ustdid",1,"form-control","mr-sm-2"],["formControlName","anrede",1,"form-control","mr-sm-2"],["selected","","disabled","",3,"value"],[3,"value"],["type","text","placeholder","Vorname *","aria-label","Vorname *","formControlName","vorname",1,"form-control","mr-sm-2"],["type","text","placeholder","Nachname *","aria-label","Nachname *","formControlName","nachname",1,"form-control","mr-sm-2"],["type","text","placeholder","Email *","aria-label","Email *","formControlName","email",1,"form-control","mr-sm-2"],["type","text","placeholder","Telefon *","aria-label","Telefon *","formControlName","telefon",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row","mb-3","mt-3"],["name","anmerkungen","rows","5","placeholder","Anmerkungen","formControlName","anmerkung",1,"form-control","mr-sm-2",2,"max-width","100%"],[1,"checkbox"],["type","checkbox","formControlName","alt_adresse_ein","autocomplete","on"],["class","d-flex flex-column my-3 ml-auto","style","width: calc(100% - 2em);",4,"ngIf"],[1,"mt-2"],[1,"mt-3"],["mode","2",1,"mt-2","mb-3",3,"submit","lockOrder"],[1,"my-5","text-right"],["sendButton",""],[1,"custom-control","custom-radio",3,"ngClass"],["type","radio","id","accountInput3","name","accountInput",1,"custom-control-input",3,"value","ngModel","ngModelOptions","ngModelChange"],["for","accountInput3",1,"custom-control-label"],[1,"custom-control","custom-radio"],["type","radio","id","accountInput1","name","accountInput",1,"custom-control-input",3,"value","ngModel","ngModelOptions","ngModelChange"],["for","accountInput1",1,"custom-control-label"],["type","radio","id","accountInput2","name","accountInput",1,"custom-control-input",3,"value","ngModel","ngModelOptions","ngModelChange"],["for","accountInput2",1,"custom-control-label"],["class","d-flex flex-row  mt-2 mb-3",4,"ngIf"],["class","d-flex flex-row mt-2 mb-3",4,"ngIf"],[1,"d-flex","flex-row","mt-2","mb-3"],["type","text","placeholder","Email","aria-label","Email",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],["type","password","placeholder","Passwort","aria-label","Passwort",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],["type","button",1,"btn","primaryBg","text-white",3,"click"],["type","password","placeholder","Passwort *","aria-label","Passwort",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],["type","password","placeholder","Passwort wiederholen *","aria-label","Passwort wiederholen",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],[1,"curs
1or-pointer",2,"color","#007bff",3,"click"],[1,"d-flex","flex-column","my-3","ml-auto",2,"width","calc(100% - 2em)"],["type","text","placeholder","Firma *","aria-label","Firma *","formControlName","alt_firma","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","USt-IdNr.","aria-label","USt-IdNr. *","formControlName","alt_ustdid","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Stra\xdfe und Hausnummer *","aria-label","Stra\xdfe und Hausnummer *","formControlName","alt_adresse","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","PLZ *","aria-label","PLZ *","formControlName","alt_plz","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Ort *","aria-label","Ort *","formControlName","alt_ort","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Land (falls nicht Deutschland)","aria-label","Land (falls nicht Deutschland)","formControlName","alt_land","autocomplete","on",1,"form-control","mr-sm-2"],["formControlName","alt_anrede",1,"form-control","mr-sm-2"],["type","text","placeholder","Vorname","aria-label","Vorname *","formControlName","alt_vorname","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Nachname","aria-label","Nachname *","formControlName","alt_nachname","autocomplete","on",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row"],["type","text","placeholder","Email f\xfcr Rechnungsversand","aria-label","Email *","formControlName","alt_email","autocomplete","on",1,"form-control","mr-sm-2",2,"max-width","50%"],["type","button",1,"btn","btn-secondary","text-white","mr-sm-2",3,"routerLink"],["type","submit","ngbTooltip","Bitte alle mit * gekennzeichneten Felder ausf\xfcllen.","placement","top",1,"btn","primaryBg","text-white",3,"disableTooltip"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["id","agbInput","type","checkbox","formControlName","agb","autocomplete","on"],["for","agbInput"],["target","_new",3,"routerLink"],["type","button",1,"btn","btn-secondary","text-white","mr-sm-2",3,"click"],["type","button","ngbTooltip","Bitte alle mit * gekennzeichneten Felder ausf\xfcllen.","placement","top",1,"btn","primaryBg","text-white",3,"disableTooltip","click"],[1,"mb-5","btn","primaryBg","text-white",3,"click"]],template:function(e,t){if(1&e&&(Jo(0,"div",0),Jo(1,"div"),Jo(2,"h3"),Na(3),Xo(),Go(4,KO,2,0,"p",1),Xo(),Go(5,YO,3,0,"button",2),Xo(),Go(6,nI,4,5,"div",3),Jo(7,"form",4),aa("submit",function(){return t.lockOrderForm()}),Go(8,gI,55,15,"ng-container",5),Go(9,yI,4,0,"ng-template",null,6,Ru),Xo()),2&e){const e=Zo(10);ps(3),La(t.lockOrder?"Bestell\xfcbersicht":"Bestellung"),ps(1),Yo("ngIf",t.lockOrder),ps(1),Yo("ngIf",t.lockOrder),ps(1),Yo("ngIf",t.showAlert.success||t.showAlert.error),ps(1),Yo("formGroup",t.checkoutform),ps(1),Yo("ngIf",t.cart.length>0)("ngIfElse",e)}},directives:[qd,DS,RC,AS,sA,$d,Pv,dC,MC,OS,qC,WC,YC,cC,ZO,zC,kS,Iv,GE],styles:["#checkoutform input.ng-touched.ng-invalid,   #checkoutform select.ng-touched.ng-invalid{border-color:red;border-width:2px}  #checkoutform input[type=checkbox].ng-touched.ng-invalid{box-shadow:inset 0 0 .03em .1em red}  #checkoutform .cartContainer img{width:200px;height:170px;border-radius:8px}  #checkoutform .cartContainer .cart-item:last-of-type{border-bottom:none}  #checkoutform .cartContainer .cart-item{justify-content:space-between;padding-bottom:1rem;padding-top:1rem}  #checkoutform .cartContainer .cart-item .deleteseminar,   #checkoutform .cartContainer .cart-item .pricecol{margin-left:auto}  #checkoutform .cartContainer .cart-item:first-child{padding-top:0}  #checkoutform .cart-footer{background:#fff;border-radius:8px;padding:8px;margin-top:8px}"]}),e})();const vI=function(){return["/admin/home"]},wI=function(){return["/admin/pages"]},_I=function(){return["/admin/orders"]};let CI=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}ngOnInit(){}logout(){this.authService.logout(!1),this.router.navigateByUrl("/admin/login")}}return e.\u0275fac=function(t){return new(t||e)(Ko(Uw),Ko(Ov))},e.\u0275cmp=je({type:e,selectors:[["app-admin-navbar"]],decls:9,vars:6,consts:[["id","adminNavbar",1,"d-flex","flex-row"],["routerLinkActive","active",1,"btn","btn-link",3,"routerLink"],[1,"btn","btn-link","ml-auto",3,"click"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"a",1),Na(2,"Home"),Xo(),Jo(3,"a",1),Na(4,"Seiten"),Xo(),Jo(5,"a",1),Na(6,"Bestellungen"),Xo(),Jo(7,"a",2),aa("click",function(){return t.logout()}),Na(8,"Ausloggen"),Xo(),Xo()),2&e&&(ps(1),Yo("routerLink",nu(3,vI)),ps(2),Yo("routerLink",nu(4,wI)),ps(2),Yo("routerLink",nu(5,_I)))},directives:[Pv,Mv],styles:["#adminNavbar[_ngcontent-%COMP%]{margin-top:-3px;width:calc(100vw - 15px);margin-left:calc(-50vw + 50% + 7px);color:#000}#adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border-radius:0!important;color:#000}#adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], #adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active, #adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, #adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, #adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:visited{text-decoration:none}#adminNavbar[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%], #adminNavbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-radius:0!important;text-decoration:none;background-color:#ff6818;color:#fff}"]}),e})(),SI=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["app-admin-home"]],decls:4,vars:0,consts:[["id","adminWrapper"]],template:function(e,t){1&e&&(ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"h3"),Na(3,"Home"),Xo(),Xo())},directives:[CI],styles:[""]}),e})(),kI=(()=>{class e{constructor(e){this.domSanitizer=e}transform(e,t){if(e&&"string"==typeof e&&24==e.length&&Date.parse(e)){let t=new Date(e);return t.getDate()+"."+(t.getMonth()+1)+"."+t.getFullYear()+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds()}return"boolean"==typeof e?this.domSanitizer.bypassSecurityTrustHtml('<clr-icon shape="'+(e?"success-standard":"circle")+'"></clr-icon>'):"true"==e?this.domSanitizer.bypassSecurityTrustHtml('<clr-icon shape="success-standard"></clr-icon>'):"false"==e?this.domSanitizer.bypassSecurityTrustHtml('<clr-icon shape="circle"></clr-icon>'):""===e||null==e?"-":e}}return e.\u0275fac=function(t){return new(t||e)(Ko(Np))},e.\u0275pipe=Ke({name:"tablePrettyPrint",type:e,pure:!0}),e})();function DI(e,t){if(1&e){const e=ra();Na(0,"Neue Seite anlegen "),Jo(1,"a",9),aa("click",function(){return Rt(e),ua(),Zo(10).close()}),ea(2,"app-icon",10),Xo()}}function xI(e,t){if(1&e&&(Jo(0,"option",22),Na(1),Xo()),2&e){const e=t.$implicit;Yo("value",e.id),ps(1),La(e.name+" ("+e.url+")")}}function EI(e,t){if(1&e&&(Jo(0,"select",20),Go(1,xI,2,2,"option",21),Xo()),2&e){const e=ua(2);ps(1),Yo("ngForOf",e.pages)}}function AI(e,t){if(1&e){const e=ra();Jo(0,"div",11),Jo(1,"form",12),aa("submit",function(){return Rt(e),ua().sendNewPage()}),Jo(2,"label",13),Na(3,"Name:"),Xo(),ea(4,"input",14),Jo(5,"label",15),Na(6,"URL:"),Xo(),ea(7,"input",16),Jo(8,"label",17),Na(9,"Parent:"),Xo(),Go(10,EI,2,1,"select",18),Jo(11,"button",19),Na(12," anlegen "),Xo(),Xo(),Xo()}if(2&e){const e=ua();ps(1),Yo("formGroup",e.newPageForm),ps(9),Yo("ngIf",e.pages.length>0)}}function TI(e,t){if(1&e&&(Jo(0,"th"),Na(1),Xo()),2&e){const e=ua().$implicit;ps(1),La(e)}}function OI(e,t){if(1&e&&(ta(0),Go(1,TI,2,1,"th",27),na()),2&e){const e=t.$implicit;ps(1),Yo("ngIf","htmlContent"!=e)}}function II(e,t){if(1&e&&(Jo(0,"td"),Na(1),hu(2,"tablePrettyPrint"),Xo()),2&e){const e=ua().$implicit,t=ua().$implicit;ps(1),La(du(2,1,t[e]))}}function PI(e,t){if(1&e&&(ta(0),Go(1,II,3,3,"td",27),na()),2&e){const e=t.$implicit;ps(1),Yo("ngIf","htmlContent"!=e)}}const FI=function(e){return["/admin/editPage",e]},MI=function(){return{exact:!0}};function RI(e,t){if(1&e){const e=ra();
1Jo(0,"tr"),Jo(1,"td"),Jo(2,"a",28),ea(3,"app-icon",29),Xo(),Xo(),Jo(4,"td"),Jo(5,"a",30),aa("click",function(){Rt(e);const n=t.$implicit;return ua(2).duplicatePage(n.id)}),ea(6,"app-icon",25),Xo(),Xo(),Jo(7,"td"),Jo(8,"a",31),ea(9,"app-icon",10),Xo(),Xo(),Go(10,PI,2,1,"ng-container",26),Xo()}if(2&e){const e=t.$implicit,n=t.index,r=ua(2);ps(2),Yo("routerLink",ru(3,FI,e.id))("routerLinkActiveOptions",nu(5,MI)),ps(8),Yo("ngForOf",r.Object.keys(r.pages[n]))}}function NI(e,t){if(1&e&&(Jo(0,"table",23),Jo(1,"thead"),Jo(2,"th"),ea(3,"app-icon",24),Xo(),Jo(4,"th"),ea(5,"app-icon",25),Xo(),Jo(6,"th"),ea(7,"app-icon",10),Xo(),Go(8,OI,2,1,"ng-container",26),Xo(),Jo(9,"tbody"),Go(10,RI,11,6,"tr",26),Xo(),Xo()),2&e){const e=ua();ps(8),Yo("ngForOf",e.Object.keys(e.pages[0])),ps(2),Yo("ngForOf",e.pages)}}let LI=(()=>{class e{constructor(e,t){this.apiService=e,this.toastrService=t,this.pages=[],this.parentPage=[],this.Object=Object,this.newPageForm=new yS({name:new gS("",[bC.required]),url:new gS("",[bC.required]),parent:new gS("",[bC.required])})}ngOnInit(){this.refreshPages()}sendNewPage(){this.apiService.adminPostNewPage(this.newPageForm.value).pipe(ey()).subscribe(e=>{console.log(e),e&&e.status&&"OK"==e.status&&this.refreshPages()})}duplicatePage(e){confirm("Wollen Sie diese Seite duplizieren?")&&this.apiService.adminDuplicatePage(e).pipe(ey()).subscribe(e=>{e.errors?this.toastrService.error(e.errors,"Fehler"):e&&e.length>0&&(this.pages=e,this.toastrService.success("Seite erfolgreich dupliziert"))})}refreshPages(){this.pages=[],this.parentPage=[],this.apiService.adminGetPages().pipe(ey()).subscribe(e=>{e&&e.length>0&&(this.pages=e)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-admin-pages"]],decls:14,vars:4,consts:[["id","adminWrapper"],[1,"d-flex","flex-row"],[1,"mr-3"],["popTitle",""],["popContent",""],["type","button","placement","right","triggers","manual",1,"btn","btn-outline-primary","btn-sm","mt-1",2,"height","fit-content",3,"ngbPopover","autoClose","popoverTitle","click"],["p","ngbPopover"],[1,"mt-4","w-100","overflow-auto"],["class","table table-striped table-bordered table-hover ",4,"ngIf"],["href","javascript:void(0)",3,"click"],["name","x"],[1,"d-flex","flex-column"],[3,"formGroup","submit"],["for","newPageName",1,"mb-1"],["id","newPageName","type","text","placeholder","Name","aria-label","Name","formControlName","name",1,"form-control","mr-sm-2","mb-1"],["for","newPageURL",1,"mb-1"],["id","newPageURL","type","text","placeholder","URL","aria-label","URL","formControlName","url",1,"form-control","mr-sm-2","mb-1"],["for","newPageParent",1,"mb-1"],["id","newPageParent","class","form-control mb-3","formControlName","parent",4,"ngIf"],["type","submit",1,"btn","primaryBg","text-white","text-right",2,"margin-left","auto"],["id","newPageParent","formControlName","parent",1,"form-control","mb-3"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"table","table-striped","table-bordered","table-hover"],["name","pencil-square"],["name","back"],[4,"ngFor","ngForOf"],[4,"ngIf"],["href","#","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions"],["name","pencil-square",1,"cursor-pointer"],["href","javascript:void(0);",3,"click"],["href",""]],template:function(e,t){if(1&e){const e=ra();ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"div",1),Jo(3,"h3",2),Na(4,"Seiten"),Xo(),Go(5,DI,3,0,"ng-template",null,3,Ru),Go(7,AI,13,2,"ng-template",null,4,Ru),Jo(9,"button",5,6),aa("click",function(){return Rt(e),Zo(10).toggle()}),Na(11," + Neue Seite "),Xo(),Xo(),Jo(12,"div",7),Go(13,NI,11,2,"table",8),Xo(),Xo()}if(2&e){const e=Zo(6),n=Zo(8);ps(9),Yo("ngbPopover",n)("autoClose",!1)("popoverTitle",e),ps(4),Yo("ngIf",t.pages.length>0)}},directives:[CI,BE,qd,sA,DS,RC,AS,dC,MC,OS,qC,Ud,WC,YC,Pv,Mv],pipes:[kI],styles:[""]}),e})(),BI=(()=>{class e{constructor(){this.fileDropped=new gu}onDragOver(e){e.preventDefault(),e.stopPropagation()}onDragLeave(e){e.preventDefault(),e.stopPropagation()}onDrop(e){e.preventDefault(),e.stopPropagation(),console.log("dropped"),this.fileOver=!1;let t=e.dataTransfer.files;t.length>0&&this.fileDropped.emit(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ze({type:e,selectors:[["","appDnd",""]],hostVars:2,hostBindings:function(e,t){1&e&&aa("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.onDrop(e)}),2&e&&ka("fileover",t.fileOver)},outputs:{fileDropped:"fileDropped"}}
1),e})();const VI=["content"];function zI(e,t){if(1&e&&(Jo(0,"option",21),Na(1),Xo()),2&e){const e=t.$implicit;Yo("value",e.id),ps(1),La(e.name)}}function $I(e,t){if(1&e&&(ta(0),ea(1,"app-icon",29),Jo(2,"div",30),Na(3),Xo(),na()),2&e){const e=ua().$implicit;ps(1),Yo("name","video"==e.type?"video":e.extension),ps(2),La(e.name)}}const jI=function(e){return[e]};function UI(e,t){if(1&e){const e=ra();Jo(0,"div",26),Jo(1,"app-icon",27),aa("click",function(){Rt(e);const n=t.$implicit;return ua(4).deleteUploadMedia(n)}),Xo(),Go(2,$I,4,2,"ng-container",28),Xo()}if(2&e){const e=t.$implicit,n=ua(4);Sa("background-image","image"==e.type?n.getbackgroundURL(e.data,!1):"none"),Yo("ngClass",ru(4,jI,e.type)),ps(2),Yo("ngIf","image"!=e.type)}}function HI(e,t){if(1&e&&(ta(0),Jo(1,"div",24),Go(2,UI,3,6,"div",25),Xo(),na()),2&e){const e=ua(3);ps(2),Yo("ngForOf",e.previewFiles)}}function qI(e,t){1&e&&(Jo(0,"span"),Na(1,"Medien hierherziehen"),ea(2,"br"),Na(3,"um sie f\xfcr die ausgew\xe4hlte Seite hochzuladen."),Xo())}function WI(e,t){if(1&e){const e=ra();Jo(0,"div",22),Jo(1,"div",23),aa("fileDropped",function(t){return Rt(e),ua(2).onFilesDrop(t)}),Go(2,HI,3,1,"ng-container",19),Go(3,qI,4,0,"ng-template",null,20,Ru),Xo(),Xo()}if(2&e){const e=Zo(4),t=ua(2);ps(2),Yo("ngIf",(null==t.previewFiles?null:t.previewFiles.length)>0)("ngIfElse",e)}}const GI=function(e){return{selected:e}};function ZI(e,t){if(1&e){const e=ra();Jo(0,"div",33),aa("click",function(){Rt(e);const n=t.$implicit;return ua(4).selectedMedia=n}),Jo(1,"div",30),Na(2),Xo(),Xo()}if(2&e){const e=t.$implicit,n=ua(4);Sa("background-image",n.getbackgroundURL(e.path,!1)),Yo("ngClass",ru(4,GI,n.selectedMedia==e)),ps(2),La(e.name)}}function KI(e,t){if(1&e&&(ta(0),Jo(1,"div",31),Go(2,ZI,3,6,"div",32),Xo(),na()),2&e){const e=ua(3);ps(2),Yo("ngForOf",e.media.images)}}function YI(e,t){1&e&&(Jo(0,"div",22),Na(1,"Keine Bilder vorhanden."),Xo())}function QI(e,t){if(1&e&&(Go(0,KI,3,1,"ng-container",19),Go(1,YI,2,0,"ng-template",null,20,Ru)),2&e){const e=Zo(2);Yo("ngIf",ua(2).media.images.length>0)("ngIfElse",e)}}function JI(e,t){if(1&e){const e=ra();Jo(0,"div"),Jo(1,"div",35),aa("click",function(){Rt(e);const n=t.$implicit;return ua(4).selectedMedia=n}),ea(2,"app-icon",36),Jo(3,"div",30),Na(4),Xo(),Xo(),Xo()}if(2&e){const e=t.$implicit,n=ua(4);ps(1),Yo("ngClass",ru(2,GI,n.selectedMedia==e)),ps(3),La(e.name)}}function XI(e,t){if(1&e&&(ta(0),Jo(1,"div",31),Go(2,JI,5,4,"div",34),Xo(),na()),2&e){const e=ua(3);ps(2),Yo("ngForOf",e.media.videos)}}function eP(e,t){1&e&&(Jo(0,"div",22),Na(1,"Keine Videos vorhanden."),Xo())}function tP(e,t){if(1&e&&(Go(0,XI,3,1,"ng-container",19),Go(1,eP,2,0,"ng-template",null,20,Ru)),2&e){const e=Zo(2);Yo("ngIf",ua(2).media.videos.length>0)("ngIfElse",e)}}function nP(e,t){if(1&e){const e=ra();Jo(0,"div"),Jo(1,"div",37),aa("click",function(){Rt(e);const n=t.$implicit;return ua(4).selectedMedia=n}),ea(2,"app-icon",38),Jo(3,"div",30),Na(4),Xo(),Xo(),Xo()}if(2&e){const e=t.$implicit,n=ua(4);ps(1),Yo("ngClass",ru(3,GI,n.selectedMedia==e)),ps(1),Yo("name",e.ext.replace(".","")),ps(2),La(e.name)}}function rP(e,t){if(1&e&&(ta(0),Jo(1,"div",31),Go(2,nP,5,5,"div",34),Xo(),na()),2&e){const e=ua(3);ps(2),Yo("ngForOf",e.media.documents)}}function iP(e,t){1&e&&(Jo(0,"div",22),Na(1,"Keine Dokumente vorhanden."),Xo())}function sP(e,t){if(1&e&&(Go(0,rP,3,1,"ng-container",19),Go(1,iP,2,0,"ng-template",null,20,Ru)),2&e){const e=Zo(2);Yo("ngIf",ua(2).media.documents.length>0)("ngIfElse",e)}}function oP(e,t){if(1&e){const e=ra();ta(0),Jo(1,"div"),Jo(2,"button",39),aa("click",function(){return Rt(e),ua(2).previewMedia()}),Na(3," Vorschau "),Xo(),Jo(4,"button",40),aa("click",function(){return Rt(e),ua(2).deleteMedia()}),Na(5," L\xf6schen "),Xo(),Xo(),Jo(6,"div",41),Jo(7,"button",42),aa("click",function(){return Rt(e),ua().$implicit.dismiss()}),Na(8," Abbrechen "),Xo(),Jo(9,"button",43),aa("click",function(){return Rt(e),ua(2).copyURL()}),Na(10," URL der Datei kopieren "),Xo(),Xo(),na()}if(2&e){const e=ua(2);ps(2),Yo("disabled",!e.selectedMedia),ps(2),Yo("disabled",!e.selectedMedia),ps(5),Yo("disabled",!e.selectedMedia)}}function aP(e,t){1&e&&ea(0,"span",46)}function lP(e,t){if(1&e){const e=ra();Jo(0,"button",44),aa("click",function(){return Rt(e),ua(2).previewFiles=[]}),Na(1," L\xf6schen "),Xo(),Jo(2,"button",43),aa("click",function(){return Rt(e),ua(2).upload()}),Na(3," Dateien hochladen "),Go(4,aP,1,0,"span",45),Xo()}if(2&e){const e=ua(2);Yo("disabled",0==e.previewFiles.length),ps(2),Yo("disabled",0==e.previewFiles.length||e.uploading),ps(2),Yo("ngIf",e.uploading)}}function cP(e,t){if(1&e){const e=ra();Jo(0,"div",2),Jo(1,"div",3),Jo(2,"div",4),Jo(3,"label",5),Na(4,"Medien der Seite"),Xo(),Xo(),Jo(5,"select",6),aa("change",function(t){return Rt(e),ua().pageSelection(t)}),Go(6,zI,2,2,"option",7),Xo(),Xo(),Jo(7,"button",8),aa("click",function(){return t.$implicit.dismiss()}),Jo(8,"span",9),Na(9,"\xd7"),Xo(),Xo(),Xo(),Jo(10,"div",10),Jo(11,"ul",11,12),aa("activeIdChange",function(t){return Rt(e),ua().activeTab=t}),Jo(13,"li",13),Jo(14,"a",14),Na(15,"Medien hochladen"),Xo(),Go(16,WI,5,2,"ng-template",15),Xo(),Jo(17,"li",13),Jo(18,"a",14),Na(19,"Bilder\xa0\xa0"),Jo(20,"span",16),Na(21),Xo(),Xo(),Go(22,QI,3,2,"ng-template",15),Xo(),Jo(23,"li",13),Jo(24,"a",14),Na(25,"Videos\xa0\xa0"),Jo(26,"span",16),Na(27),Xo(),Xo(),Go(28,tP,3,2,"ng-template",15),Xo(),Jo(29,"li",13),Jo(30,"a",14),Na(31,"Dokumente\xa0\xa0"),Jo(32,"span",16),Na(33),Xo(),Xo(),Go(34,sP,3,2,"ng-template",15),Xo(),Xo(),ea(35,"div",17),Xo(),Jo(36,"div",18),Go(37,oP,11,3,"ng-container",19),Go(38,lP,5,3,"ng-template",null,20,Ru),Xo()}if(2&e){const e=Zo(12),t=Zo(39),n=ua();ps(6),Yo("ngForOf",n.pages),ps(5),Yo("activeId",n.activeTab),ps(2),Yo("ngbNavItem",0),ps(4),Yo("ngbNavItem",1),ps(4),La(n.media.images.length),ps(2),Yo("ngbNavItem",2),ps(4),La(n.media.videos.length),ps(2),Yo("ngbNavItem",3),ps(4),La(n.media.documents.length),ps(2),Yo("ngbNavOutlet",e),ps(2),Yo("ngIf",n.activeTab>0)("ngIfElse",t)}}let uP=(()=>{class e{constructor(e,t,n,r){this.modalService=e,this.toastrService=t,this.apiService=n,this.changeDet=r,this.extensions={image:["jpg","jpeg","png","gif","svg","bmp","webp"],video:["mp4","webm","ogg"],document:["pdf","zip"]},this.uploading=!1,this._activeTab=1,this.previewFiles=[],this.selectedMedia=null}set activeTab(e){console.log(e),this._activeTab=e}get activeTab(){return this._activeTab}ngOnInit(){}openModal(){this.modalService.open(this.content,{ariaLabelledBy:"modal-basic-title",size:"lg",centered:!0,windowClass:"fade",scrollable:!0,beforeDismiss:()=>(console.log("beforeDismiss"),!0)}),setTimeout(()=>{this.changeDet.detectChanges(),this.activeTab=1})}copyURL(){tA(this.selectedMedia.path,this.toastrService),this.modalService.dismissAll()}upload(){this.uploading=!0;const e=this.previewFiles.map(e=>({name:e.name,data:e.data.replace(/^data:[a-z]+\/[a-z]+;base64,/,"")})),t={pageId:this.pageId,media:e};this.apiService.adminUploadPagesMedia(t).pipe(ey()).subscribe(e=>{this.uploading=!1,"OK"==(null==e?void 0:e.status)?(this.loadMedia(),this.previewFiles=[],this.toastrService.success("Medien erfolgreich hochgeladen.")):this.toastrService.error(null==e?void 0:e.error,"Fehler beim Hochladen der Medien.")}),console.log(t)}loadMedia(){this.media={images:[],videos:[],documents:[]},this.apiService.adminGetPageMedia(this.pageId).pipe(ey()).subscribe(e=>{e&&!e.error&&(this.media=e)})}getFileDataURL(e){console.log(this.previewFiles)}getbackgroundURL(e,t=!0){return`url('${t?encodeURIComponent(e):e}')`}onFilesDrop(e){console.log(e),this.previewFiles=[];for(const t in e)if(e[t]instanceof Blob){const n=e[t].name.split(".").pop();console.log(n);let r=new FileReader;r.onload=r=>{this.previewFiles.push({name:e[t].name,data:r.target.result,extension:n,type:this.getFileType(n)})}
1,r.readAsDataURL(e[t])}}deleteUploadMedia(e){this.previewFiles.splice(this.previewFiles.indexOf(e),1)}previewMedia(){console.log(window.location.origin+this.selectedMedia.path);var e=window.location.origin+this.selectedMedia.path;window.open(e,"_blank")}deleteMedia(){confirm("M\xf6chten Sie die ausgew\xe4hlte Datei wirklich l\xf6schen?")&&this.apiService.adminDeletePagesMedia(this.pageId,{file:this.selectedMedia.name}).pipe(ey()).subscribe(e=>{"OK"!=(null==e?void 0:e.status)||e.error||(this.loadMedia(),this.toastrService.success("Datei erfolgreich gel\xf6scht."))})}pageSelection(e){const t=parseInt(e.target.value);this.pageId=t,this.loadMedia(),console.log(t)}getFileType(e){return this.extensions.image.includes(e)?"image":this.extensions.video.includes(e)?"video":this.extensions.document.includes(e)?"document":"unknown"}}return e.\u0275fac=function(t){return new(t||e)(Ko(aE),Ko(g_),Ko(Hw),Ko(Ac))},e.\u0275cmp=je({type:e,selectors:[["app-media-picker"]],viewQuery:function(e,t){if(1&e&&(Tu(VI,1),Tu(VI,1)),2&e){let e;Au(e=Iu())&&(t.content=e.first),Au(e=Iu())&&(t.modal=e.first)}},inputs:{media:"media",pageId:"pageId",pages:"pages"},decls:4,vars:0,consts:[["type","button",1,"btn","btn-primary","primaryBg",3,"click"],["content",""],[1,"modal-header"],[1,"input-group","w-50"],[1,"input-group-prepend"],["for","inputGroupSelect01",1,"input-group-text"],["id","inputGroupSelect01",1,"custom-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["ngbNav","",1,"nav-tabs",3,"activeId","activeIdChange"],["nav","ngbNav"],[3,"ngbNavItem"],["ngbNavLink",""],["ngbNavContent",""],[1,"badge","badge-secondary"],[3,"ngbNavOutlet"],[1,"modal-footer"],[4,"ngIf","ngIfElse"],["elseTemplate",""],[3,"value"],[1,"noMediaWrapper"],["id","mediaDropZone","align","center","appDnd","",3,"fileDropped"],["id","mediaPreviewGrid",2,"width","100%","padding","1em"],["class","mediaPreview border-radius",3,"background-image","ngClass",4,"ngFor","ngForOf"],[1,"mediaPreview","border-radius",3,"ngClass"],["name","x",1,"deleteX",3,"click"],[4,"ngIf"],[1,"placeHolderIcon","upload",3,"name"],[1,"mediaTitle"],["id","mediaPreviewGrid"],["class","mediaPreview image border-radius",3,"background-image","ngClass","click",4,"ngFor","ngForOf"],[1,"mediaPreview","image","border-radius",3,"ngClass","click"],[4,"ngFor","ngForOf"],[1,"mediaPreview","video","border-radius","border","border-dark",3,"ngClass","click"],["name","video",1,"placeHolderIcon"],[1,"mediaPreview","document","border-radius","border","border-dark",3,"ngClass","click"],[1,"placeHolderIcon",3,"name"],["type","button",1,"btn","secondaryBg","text-white","py-1",3,"disabled","click"],["type","button",1,"btn","text-danger","py-1","mr-1",3,"disabled","click"],[1,"ml-auto"],["type","button",1,"btn","py-1",3,"click"],["type","button",1,"btn","primaryBg","text-white","py-1",3,"disabled","click"],["type","button",1,"btn","py-1",3,"disabled","click"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"]],template:function(e,t){1&e&&(Jo(0,"button",0),aa("click",function(){return t.openModal()}),Na(1," Medien\n"),Xo(),Go(2,cP,40,12,"ng-template",null,1,Ru))},directives:[Ud,fE,pE,mE,dE,vE,qd,WC,YC,BI,$d,sA],styles:[".modal-body[_ngcontent-%COMP%]{max-height:674px}#mediaPreviewGrid[_ngcontent-%COMP%]{padding-top:1em;display:grid;gap:1em 1em;grid-template-columns:repeat(4,1fr);min-height:600px}#mediaDropZone[_ngcontent-%COMP%]   .mediaPreview[_ngcontent-%COMP%]{cursor:unset}#mediaDropZone[_ngcontent-%COMP%]   .deleteX[_ngcontent-%COMP%], .mediaPreview[_ngcontent-%COMP%]{cursor:pointer}.mediaPreview[_ngcontent-%COMP%]{aspect-ratio:1/1;width:100%;background-size:cover}.mediaPreview.document[_ngcontent-%COMP%], .mediaPreview.video[_ngcontent-%COMP%]{background:rgba(0,0,0,.1);display:flex;flex-direction:column;justify-content:space-between;align-items:center}.mediaPreview.document[_ngcontent-%COMP%]   .placeHolderIcon[_ngcontent-%COMP%], .mediaPreview.video[_ngcontent-%COMP%]   .placeHolderIcon[_ngcontent-%COMP%]{margin-top:2em}.mediaPreview.document[_ngcontent-%COMP%]   .placeHolderIcon.upload[_ngcontent-%COMP%], .mediaPreview.video[_ngcontent-%COMP%]   .placeHolderIcon.upload[_ngcontent-%COMP%]{margin-top:-.5em}.mediaPreview.document[_ngcontent-%COMP%]   .mediaTitle[_ngcontent-%COMP%], .mediaPreview.video[_ngcontent-%COMP%]   .mediaTitle[_ngcontent-%COMP%]{display:block;position:unset;word-break:break-all;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.deleteX[_ngcontent-%COMP%]{position:relative;
1left:calc(50% - 10px);top:1px;background:hsla(0,0%,100%,.8);border-radius:7px}.mediaPreview.selected[_ngcontent-%COMP%]{border:4px solid #ff6818!important}.mediaTitle[_ngcontent-%COMP%]{display:none;position:relative;font-size:.9em;overflow-y:hidden;width:100%;background:hsla(0,0%,100%,.7);padding:.5em;top:calc(100% - 2.5em);border-bottom-left-radius:3px;border-bottom-right-radius:3px}#mediaDropZone[_ngcontent-%COMP%]{margin-top:1em;height:100%;border:1px dashed grey;border-radius:7px}#mediaDropZone[_ngcontent-%COMP%], .noMediaWrapper[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center}.noMediaWrapper[_ngcontent-%COMP%]{height:600px}  .placeHolderIcon svg.bi{width:100px!important;height:auto!important}.mediaPreview.selected[_ngcontent-%COMP%]   .mediaTitle[_ngcontent-%COMP%], .mediaPreview[_ngcontent-%COMP%]:hover   .mediaTitle[_ngcontent-%COMP%]{display:block}ul.nav-tabs[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:after{display:none}"]}),e})();const hP=function(e){return["/admin/previewPage",e]},dP=function(e){return["/page",e]};function pP(e,t){if(1&e){const e=ra();Jo(0,"div",19),Jo(1,"button",20),aa("click",function(){return Rt(e),ua().savePage()}),Na(2," Speichern "),Xo(),Jo(3,"a",21),Jo(4,"button",22),ea(5,"app-icon",23),Xo(),Xo(),Jo(6,"a",21),Jo(7,"button",24),ea(8,"app-icon",25),Xo(),Xo(),Xo()}if(2&e){const e=ua();ps(3),Yo("routerLink",ru(2,hP,e.page.id)),ps(3),Yo("routerLink",ru(4,dP,e.page.url.replace("/","")))}}function fP(e,t){if(1&e&&(Jo(0,"option",28),Na(1),Xo()),2&e){const e=t.$implicit;Yo("value",e.id),ps(1),La(e.name+" ("+e.url+")")}}function mP(e,t){if(1&e&&(Jo(0,"select",26),Go(1,fP,2,2,"option",27),Xo()),2&e){const e=ua();ps(1),Yo("ngForOf",e.pages)}}let gP=(()=>{class e{constructor(e,t,n,r){this.route=e,this.apiService=t,this.sanitizer=n,this.toastrService=r,this.htmlContent="",this.media={images:[],videos:[],documents:[]},this.pageForm=new yS({name:new gS("",[bC.required]),url:new gS("",[bC.required]),parent:new gS("",[bC.required]),password:new gS("",[bC.required]),active:new gS(!1,[bC.required])}),this.displayBuilder=!1,this.loadExternalScript("assets/contentbuilder/contentbuilder/contentbuilder.min.js").then(()=>{console.log("1 loaded"),this.loadExternalScript("assets/contentbuilder/assets/minimalist-blocks/content.js").then(()=>{console.log("2 loaded")}).catch(e=>{console.error(e.message)})}).catch(e=>{console.error(e.message)})}ngOnDestroy(){this.builder.destroy()}ngOnInit(){this.pageid=parseInt(this.route.snapshot.paramMap.get("id")),this.apiService.adminGetPages().pipe(ey()).subscribe(e=>{e&&e.length>0&&(this.pages=e)}),this.loadMedia(),this.apiService.getPageById(this.pageid).pipe(ey()).subscribe(e=>{console.log("res",e),e&&(e.htmlContent&&(this.htmlContent=this.sanitizer.bypassSecurityTrustHtml(e.htmlContent)),e.htmlContent=void 0,this.pageForm.controls.name.setValue(e.name),this.pageForm.controls.url.setValue(e.url),this.pageForm.controls.parent.setValue(e.parent),this.pageForm.controls.active.setValue(e.active),this.pageForm.controls.password.setValue(e.password),this.page=e,this.createBuilder())})}loadMedia(){this.apiService.adminGetPageMedia(this.pageid).pipe(ey()).subscribe(e=>{e&&!e.error&&(this.media=e)})}createBuilder(){this.loadExternalStyles("assets/contentbuilder/contentbuilder/contentbuilder.css",()=>{setTimeout(()=>{this.builder=new ContentBuilder({container:"#contentContainer",snippetOpen:!1,scriptPath:"assets/contentbuilder/contentbuilder/",assetPath:"assets/contentbuilder/assets/",pluginPath:"assets/contentbuilder/contentbuilder/",fontAssetPath:"assets/contentbuilder/assets/fonts/",snippetPath:"assets/contentbuilder/assets/minimalist-blocks/",snippetUrl:"assets/contentbuilder/assets/minimalist-blocks/content.js",snippetPathReplace:["assets/minimalist-blocks/","assets/contentbuilder/assets/minimalist-blocks/"],row:"row",cols:["col-md-1","col-md-2","col-md-3","col-md-4","col-md-5","col-md-6","col-md-7","col-md-8","col-md-9","col-md-10","col-md-11","col-md-12"],clearPreferences:!0})},100)})}loadExternalScript(e){return new Promise(t=>{const n=document.createElement("script");n.src=e,n.onload=t,document.body.appendChild(n)})}loadExternalStyles(e,t){const n=document.createElement("link");n.href=e,n.rel="stylesheet",document.head.appendChild(n),t()}savePage(){this.page.name=this.pageForm.controls.name.value,this.page.url=this.pageForm.controls.url.value,this.page.active=this.pageForm.controls.active.value?1:0,this.page.parent=this.pageForm.controls.parent.value,this.page.password=this.pageForm.controls.password.value,this.page.htmlContent=this.builder.html();let e=[],t=document.getElementById("contentContainer").getElementsByTagName("img");for(let r=0;r<t.length;r++){const n=t[r];n.id="img-"+(r+1),n&&n.src&&-1!=n.src.indexOf("base64")&&e.push({count:r+1,src:n.src,name:n.dataset.f
1ilename})}const n={pageId:this.pageid,images:e};console.log("uploadImages",n),e.length>0?this.apiService.adminUploadContentBuilderImages(n).pipe(ey()).subscribe(e=>{if(e&&e.length>0){for(const t of e)document.getElementById("img-"+t.count).src=t.src;this.page.htmlContent=this.builder.html(),this.apiService.adminPostPage(this.page).pipe(ey()).subscribe(e=>{e&&e.status&&"OK"==e.status&&(this.toastrService.success("Seite erfolgreich gespeichert."),this.loadMedia())})}}):this.apiService.adminPostPage(this.page).pipe(ey()).subscribe(e=>{e&&e.status&&"OK"==e.status&&(this.toastrService.success("Seite erfolgreich gespeichert."),this.loadMedia())})}}return e.\u0275fac=function(t){return new(t||e)(Ko(hb),Ko(Hw),Ko(Np),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-admin-edit-page"]],decls:28,vars:7,consts:[["id","adminWrapper"],[3,"formGroup","submit"],[1,"d-flex","flex-row","mb-2"],[1,"mr-auto",2,"padding-left","1em"],[3,"media","pageId","pages"],["class","ml-auto",4,"ngIf"],[1,"d-flex","flex-row","align-items-baseline","mb-3"],["for","newPageURL",1,""],["id","newPageName","type","text","placeholder","Name","aria-label","name","formControlName","name",1,"form-control","mr-sm-2","ml-2",2,"max-width","15%"],["for","newPageURL",1,"ml-4"],["id","newPageURL","type","text","placeholder","URL","aria-label","URL","formControlName","url",1,"form-control","mr-sm-2","ml-2",2,"max-width","15%"],["for","newPageParent",1,"ml-4"],["id","newPageParent","class","form-control ml-2","formControlName","parent","style","max-width: 15%;",4,"ngIf"],["for","newPagePassword",1,"ml-4"],["id","newPagePassword","type","text","placeholder","Passwort","aria-label","Passwort","formControlName","password",1,"form-control","mr-sm-2","ml-2",2,"max-width","15%"],[1,"custom-control","custom-switch","ml-4"],["type","checkbox","formControlName","active","id","customSwitch1",1,"custom-control-input"],["for","customSwitch1",1,"custom-control-label",2,"line-height","135%"],["id","contentContainer",1,"container",3,"innerHTML"],[1,"ml-auto"],["type","button",1,"btn","btn-primary","primaryBg",3,"click"],["routerLinkActive","active","target","_blank",3,"routerLink"],["type","button",1,"btn","btn-primary","ml-1"],["name","glasses"],["type","button",1,"btn","btn-secondary","ml-1"],["name","bullseye"],["id","newPageParent","formControlName","parent",1,"form-control","ml-2",2,"max-width","15%"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"form",1),aa("submit",function(){return t.savePage()}),Jo(3,"div",2),Jo(4,"h3"),Na(5,"Seite bearbeiten: "),Xo(),Jo(6,"div",3),ea(7,"app-media-picker",4),Xo(),Go(8,pP,9,6,"div",5),Xo(),Jo(9,"div",6),Jo(10,"label",7),Na(11,"Name:"),Xo(),ea(12,"input",8),Jo(13,"label",9),Na(14,"Permalink:"),Xo(),ea(15,"input",10),Jo(16,"label",11),Na(17,"Parent:"),Xo(),Go(18,mP,2,1,"select",12),Jo(19,"label",13),Na(20,"Passwort:"),Xo(),ea(21,"input",14),Jo(22,"div",15),ea(23,"input",16),Jo(24,"label",17),Na(25,"Aktiv"),Xo(),Xo(),Xo(),Xo(),ea(26,"hr"),ea(27,"div",18),Xo()),2&e&&(ps(2),Yo("formGroup",t.pageForm),ps(5),Yo("media",t.media)("pageId",t.pageid)("pages",t.pages),ps(1),Yo("ngIf",t.page),ps(10),Yo("ngIf",t.pages&&t.pages.length>0),ps(9),Yo("innerHTML",t.htmlContent,oi))},directives:[CI,DS,RC,AS,uP,qd,dC,MC,OS,cC,Pv,Mv,sA,qC,Ud,WC,YC],styles:['@charset "UTF-8";#contentContainer[_ngcontent-%COMP%]{width:97%;margin-left:auto;margin-right:auto}.btn[_ngcontent-%COMP%]{border:0}  #contentContainer img{margin-top:.7rem}  #contentContainer p+ul{margin-top:-15px}  #contentContainer ul{list-style:none!important;padding-left:0!important}  #contentContainer ul li:before{display:inline-block;font-size:normal;content:"\u25b8 ";margin:0 5px 0 10px}  #_cbhtml #divSnippetHandle{top:212px}  #_cbhtml .is-elementrte-tool,   #_cbhtml .is-rte-tool{top:15px}']}),e})();function yP(e,t){if(1&e&&(Jo(0,"th"),Na(1),hu(2,"titlecase"),Xo()),2&e){const e=t.$implicit;ps(1),La(du(2,1,e))}}function bP(e,t){if(1&e&&(Jo(0,"td"),Na(1),hu(2,"tablePrettyPrint"),Xo()),2&e){const e=t.$implicit,n=ua().$implicit;ps(1),La(du(2,1,n[e]))}}function vP(e,t){if(1&e&&(Jo(0,"tr"),Go(1,bP,3,3,"td",4),Xo()),2&e){const e=t.index,n=ua(2);ps(1),Yo("ngForOf",n.Object.keys(n.orders[e]))}}function wP(e,t){if(1&e&&(Jo(0,"table",3),Jo(1,"thead"),Go(2,yP,3,3,"th",4),Xo(),Jo(3,"tbody"),Go(4,vP,2,1,"tr",4),Xo(),Xo()),2&e){const e=ua();ps(2),Yo("ngForOf",e.Object.keys(e.orders[0])),ps(2),Yo("ngForOf",e.orders)}}let _P=(()=>{class e{constructor(e){this.apiService=e,this.orders=[],this.Object=Object}ngOnInit(){this.apiService.adminGetOrders().pipe(ey()).subscribe(e=>{e&&e.length>0&&(this.orders=e)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw))}
1,e.\u0275cmp=je({type:e,selectors:[["app-admin-orders"]],decls:6,vars:1,consts:[["id","adminWrapper"],[1,"mt-4","w-100","overflow-auto"],["class","table table-striped table-bordered table-hover ",4,"ngIf"],[1,"table","table-striped","table-bordered","table-hover"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"h3"),Na(3,"Bestellungen"),Xo(),Jo(4,"div",1),Go(5,wP,5,2,"table",2),Xo(),Xo()),2&e&&(ps(5),Yo("ngIf",t.orders.length>0))},directives:[CI,qd,Ud],pipes:[rp,kI],styles:[""]}),e})(),CP=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["app-admin-menu"]],decls:4,vars:0,consts:[["id","adminWrapper"]],template:function(e,t){1&e&&(ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"h3"),Na(3,"Men\xfc"),Xo(),Xo())},directives:[CI],styles:[""]}),e})(),SP=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=je({type:e,selectors:[["app-admin-media"]],decls:4,vars:0,consts:[["id","adminWrapper"]],template:function(e,t){1&e&&(ea(0,"app-admin-navbar"),Jo(1,"div",0),Jo(2,"h3"),Na(3,"Medien"),Xo(),Xo())},directives:[CI],styles:[""]}),e})();function kP(e,t){if(1&e&&(ta(0),ea(1,"div",5),na()),2&e){const e=ua(2);ps(1),Yo("innerHTML",e.htmlContent,oi)}}const DP=function(){return{standalone:!0}};function xP(e,t){if(1&e){const e=ra();Jo(0,"div",6),Jo(1,"div",7),Na(2,"Dieser Inhalt ist passwortgesch\xfctzt. Um ihn anzuschauen, geben Sie bitte Ihr Passwort unten ein:"),ea(3,"br"),Jo(4,"form",8),aa("submit",function(){return Rt(e),ua(2).authorizePasswordPage()}),Jo(5,"div",9),Jo(6,"input",10),aa("ngModelChange",function(t){return Rt(e),ua(2).passwordInput=t}),Xo(),Jo(7,"button",11),Na(8," absenden "),Xo(),Xo(),Xo(),Xo(),Xo()}if(2&e){const e=ua(2);ps(6),Yo("ngModel",e.passwordInput)("ngModelOptions",nu(2,DP))}}function EP(e,t){if(1&e&&(Jo(0,"div",1),Jo(1,"h3",2),Na(2),Xo(),Go(3,kP,2,1,"ng-container",3),Go(4,xP,9,3,"ng-template",null,4,Ru),Xo()),2&e){const e=Zo(5),t=ua();ps(2),La(t.page.name),ps(1),Yo("ngIf",!t.showPasswordProtected)("ngIfElse",e)}}let AP=(()=>{class e{constructor(e,t,n,r){this.apiService=e,this.sanitizer=t,this.route=n,this.router=r,this.htmlContent="",this.passwordInput="",this.showPasswordProtected=!1,this.router.events.pipe(Lg(e=>e instanceof cy)).subscribe(e=>{this.initialize()})}initialize(){let e=this.route.snapshot.paramMap.get("id"),t=this.route.snapshot.paramMap.get("firstPath"),n=this.route.snapshot.paramMap.get("secondPath");e||"0"===e?(this.pageid=parseInt(this.route.snapshot.paramMap.get("id")),this.apiService.getPageById(this.pageid).pipe(ey()).subscribe(e=>{console.log("res",e),e&&(e.htmlContent&&(this.htmlContent=this.sanitizer.bypassSecurityTrustHtml(e.htmlContent)),e.htmlContent=void 0,this.page=e)})):t&&""!=t&&this.apiService.getPage(t,n).pipe(ey()).subscribe(e=>{this.handlePage(e)})}handlePage(e){e&&e.id?(this.showPasswordProtected=!1,e.htmlContent&&(this.htmlContent=this.sanitizer.bypassSecurityTrustHtml(e.htmlContent)),e.htmlContent=void 0,this.page=e):"password-protected"==e.status&&(this.page={},this.page.name=e.name,this.showPasswordProtected=!0)}authorizePasswordPage(){let e=this.route.snapshot.paramMap.get("firstPath"),t=this.route.snapshot.paramMap.get("secondPath");this.apiService.getPWPage(e,t,this.passwordInput).pipe(ey()).subscribe(e=>{this.handlePage(e)})}ngOnInit(){this.initialize()}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw),Ko(Np),Ko(hb),Ko(Ov))},e.\u0275cmp=je({type:e,selectors:[["app-render-page"]],decls:1,vars:1,consts:[["class","renderPageContainer my-md-5 my-3",4,"ngIf"],[1,"renderPageContainer","my-md-5","my-3"],[1,"mb-md-3","mb-2"],[4,"ngIf","ngIfElse"],["elseTemplate",""],[3,"innerHTML"],[1,"row"],[1,"col"],[3,"submit"],[2,"display","flex","max-width","400px","margin-top","20px"],["id","pagePassword","type","text","placeholder","Passwort","aria-label","Passwort",1,"form-control","mr-sm-2","mb-1",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"btn","primaryBg","text-white","text-right",2,"margin-left","auto"]],template:function(e,t){1&e&&Go(0,EP,6,3,"div",0),2&e&&Yo("ngIf",t.page)},directives:[qd,DS,RC,_S,dC,MC,kS],styles:['@charset "UTF-8";  .renderPageContainer p+ul{margin-top:-15px}  .renderPageContainer ul{list-style:none!important;padding-left:0!important}  .renderPageContainer ul li:before{display:inline-block;font-size:normal;content:"\u25b8 ";margin:0 5px 0 10px}  .container img{margin-top:.7rem!important}']}),e})(),TP=(()=>{class e{constructor(e,t){this.toastr=e,this.apiService=t,this.kontaktGroup=new yS({anrede:new gS(""),vorname:new gS("",[bC.required]),nachname:new gS("",[bC.required]),email:new gS("",[bC.required]),firma:new gS(""),strasse:new gS(""),plz
1:new gS(""),ort:new gS(""),telefon:new gS(""),fax:new gS(""),nachricht:new gS("",[bC.required]),broschuere:new gS(""),datenschutz:new gS(!1,[bC.requiredTrue])})}sendForm(){console.log(this.kontaktGroup.value);let e=this.kontaktGroup.value;if(""!=e.vorname&&""!=e.nachname&&""!=e.email&&""!=e.nachricht){const t=new RegExp("^[+0-9- ]+$");if(""!=e.fax)return;t.test(e.telefon)&&t.test(e.plz)?!0===e.datenschutz?this.apiService.sendContactForm(e).pipe(ey()).subscribe(e=>{e&&e.status&&"OK"==e.status&&(this.toastr.success("Email erfolgreich versendet!"),this.kontaktGroup.reset())}):this.toastr.warning("Bitte den Datenschutzhinweis akzeptieren."):this.toastr.warning("Telefonnummer nicht g\xfcltig. Nur numerische Zahlen, + und - erlaubt")}else this.toastr.warning("Bitte mind. Vorname, Nachname, Email, und Nachricht angeben.")}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ko(g_),Ko(Hw))},e.\u0275cmp=je({type:e,selectors:[["app-kontakt"]],decls:69,vars:2,consts:[[1,"mb-md-3","mb-2","mt-5"],[1,"row"],[1,"col-md-7"],["id","kontaktForm",1,"mb-5",3,"formGroup","submit"],[1,"form-group"],["for","anredeInput"],["id","anredeInput","formControlName","anrede",1,"form-control"],[1,"d-f"],[1,"form-group","w-100"],["for","vornameInput"],["type","text","id","vornameInput","formControlName","vorname",1,"form-control"],[1,"form-group","w-100","ml-1"],["for","nachnameInput"],["type","text","id","nachnameInput","formControlName","nachname",1,"form-control"],["for","emailInput"],["type","email","id","emailInput","formControlName","email",1,"form-control"],["for","firmaInput"],["type","text","id","firmaInput","formControlName","firma",1,"form-control"],["for","strasseInput"],["type","text","id","strasseInput","formControlName","strasse",1,"form-control"],["for","plzInput"],["type","text","id","plzInput","formControlName","plz",1,"form-control"],["for","ortInput"],["type","text","id","ortInput","formControlName","ort",1,"form-control"],[1,"form-group","w-100","\xb4"],["for","telefonInput"],["type","text","id","telefonInput","formControlName","telefon",1,"form-control"],[1,"form-group","w-100","ml-1",2,"display","none"],["for","faxInput"],["type","text","id","faxInput","formControlName","fax",1,"form-control"],["for","messageInput"],["id","messageInput","rows","6","formControlName","nachricht",1,"form-control"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","inputDatenschutz","required","","formControlName","datenschutz",1,"custom-control-input"],["for","inputDatenschutz",1,"custom-control-label"],[3,"routerLink"],["type","submit",1,"bwsButton","text-white","mt-3"],[1,"col-md-5"],["src","../assets/img/kontakt.jpg","alt","",2,"border","1px solid #666"]],template:function(e,t){1&e&&(Jo(0,"h3",0),Na(1,"Kontakt"),Xo(),Jo(2,"div",1),Jo(3,"div",2),Jo(4,"form",3),aa("submit",function(){return t.sendForm()}),Jo(5,"div",4),Jo(6,"label",5),Na(7,"Anrede"),Xo(),Jo(8,"select",6),Jo(9,"option"),Na(10,"Herr"),Xo(),Jo(11,"option"),Na(12,"Frau"),Xo(),Jo(13,"option"),Na(14,"keine Angabe"),Xo(),Xo(),Xo(),Jo(15,"div",7),Jo(16,"div",8),Jo(17,"label",9),Na(18,"Vorname"),Xo(),ea(19,"input",10),Xo(),Jo(20,"div",11),Jo(21,"label",12),Na(22,"Nachname"),Xo(),ea(23,"input",13),Xo(),Xo(),Jo(24,"div",4),Jo(25,"label",14),Na(26,"Email"),Xo(),ea(27,"input",15),Xo(),Jo(28,"div",4),Jo(29,"label",16),Na(30,"Firma"),Xo(),ea(31,"input",17),Xo(),Jo(32,"div",4),Jo(33,"label",18),Na(34,"Stra\xdfe"),Xo(),ea(35,"input",19),Xo(),Jo(36,"div",7),Jo(37,"div",8),Jo(38,"label",20),Na(39,"PLZ"),Xo(),ea(40,"input",21),Xo(),Jo(41,"div",11),Jo(42,"label",22),Na(43,"Ort"),Xo(),ea(44,"input",23),Xo(),Xo(),Jo(45,"div",7),Jo(46,"div",24),Jo(47,"label",25),Na(48,"Telefon"),Xo(),ea(49,"input",26),Xo(),Jo(50,"div",27),Jo(51,"label",28),Na(52,"Fax"),Xo(),ea(53,"input",29),Xo(),Xo(),Jo(54,"div",4),Jo(55,"label",30),Na(56,"Ihre Nachricht"),Xo(),ea(57,"textarea",31),Xo(),Jo(58,"div",32),ea(59,"input",33),Jo(60,"label",34),Na(61," Ich erkl\xe4re mich mit der "),Jo(62,"a",35),Na(63,"Datenschutzerkl\xe4rung"),Xo(),Na(64," einverstanden (Pflichtfeld) Bitte akzeptieren Sie die Bedingungen, um fortzufahren. "),Xo(),Xo(),Jo(65,"button",36),Na(66,"Senden"),
1Xo(),Xo(),Xo(),Jo(67,"div",37),ea(68,"img",38),Xo(),Xo()),2&e&&(ps(4),Yo("formGroup",t.kontaktGroup),ps(58),Yo("routerLink","/page/datenschutzerkl\xe4rung"))},directives:[DS,RC,AS,qC,MC,OS,WC,YC,dC,MS,cC,Pv],styles:["#kontaktForm[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{margin-bottom:.5rem}#kontaktForm[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:0}"]}),e})(),OP=(()=>{class e{constructor(e,t,n){this.route=e,this.apiService=t,this.toastr=n,this.requestGroup=new yS({veranstaltungsart:new gS(""),anmerkungen:new gS(""),vorschlagVon:new gS(""),vorschlagBis:new gS(""),teilnehmerZahl:new gS(""),anrede:new gS(""),vorname:new gS("",[bC.required]),nachname:new gS("",[bC.required]),email:new gS("",[bC.required]),firma:new gS(""),strasse:new gS(""),plz:new gS(""),ort:new gS(""),telefon:new gS(""),fax:new gS(""),datenschutz:new gS(!1,[bC.requiredTrue]),ansprechpartneranrede:new gS(""),ansprechpartnervorname:new gS("",[bC.required]),ansprechpartnernachname:new gS("",[bC.required]),ansprechpartneremail:new gS("",[bC.required]),ansprechpartnertelefon:new gS(""),ansprechpartnerposition:new gS("")}),this.mode=1;let r=this.route.snapshot.paramMap,i=r.get("seminar")?JSON.parse(r.get("seminar")):JSON.parse(r.get("inhouseseminar"));i&&(this.seminar=i,r.get("inhouseseminar")&&(this.mode=2))}ngOnInit(){}sendForm(){let e=this.requestGroup.value;e.mode=this.mode,e.SeminarBeschreibung=this.seminar.Beschreibung,e.SeminarTyp=this.seminar.Typ,""!=e.vorname&&""!=e.nachname&&""!=e.email&&""!=e?!0===e.datenschutz?this.apiService.sendRequestForm(e).pipe(ey()).subscribe(e=>{e&&e.status&&"OK"==e.status&&(this.toastr.success("Anfrage erfolgreich versendet"),this.requestGroup.reset(),window.scrollTo(0,0))}):this.toastr.warning("Bitte den Datenschutzhinweis akzeptieren."):this.toastr.warning("Bitte mind. Vorname, Nachname, Email angeben.")}}return e.\u0275fac=function(t){return new(t||e)(Ko(hb),Ko(Hw),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-request-seminar"]],decls:143,vars:4,consts:[[1,"mb-3","mt-5"],[1,"row"],[1,"col"],["id","requestSeminarForm",1,"mb-5",3,"formGroup","submit"],[1,"mb-1"],[1,"custom-control","custom-radio"],["type","radio","id","veranstaltungsartInput1","name","veranstaltungsart","formControlName","veranstaltungsart","value","Pr\xe4senz",1,"custom-control-input"],["for","veranstaltungsartInput1",1,"custom-control-label"],["type","radio","id","veranstaltungsartInput2","name","veranstaltungsart","formControlName","veranstaltungsart","value","Online",1,"custom-control-input"],["for","veranstaltungsartInput2",1,"custom-control-label"],[1,"form-group","w-100","mt-2"],["for","anmerkungenInput"],["id","anmerkungenInput","rows","6","formControlName","anmerkungen",1,"form-control"],["for","vorschlagDateInput"],["id","vorschlagDateInput",1,"d-f"],[1,"dategroup","input-group"],["for","vorschlagVonInput",1,"mr-1","mt-1"],["id","vorschlagVonInput","placeholder","DD.MM.YYYY","name","dp","formControlName","vorschlagVon","ngbDatepicker","","container","body",1,"form-control"],["d","ngbDatepicker"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary","calendar",3,"click"],["name","calendar"],[1,"dategroup","input-group","ml-2"],["for","vorschlagBisInput",1,"mr-1","mt-1"],["id","vorschlagBisInput","placeholder","DD.MM.YYYY","name","dpBis","formControlName","vorschlagBis","ngbDatepicker","","container","body",1,"form-control"],["dBis","ngbDatepicker"],[1,"form-group","w-100","mt-3"],["for","teilnehmerZahlInput"],["type","text","id","teilnehmerZahlInput","formControlName","teilnehmerZahl",1,"form-control"],[1,"mt-4"],[1,"form-group","w-50"],["for","anredeInput"],["id","anredeInput","formControlName","anrede",1,"form-control"],[1,"d-f"],[1,"form-group","w-100"],["for","vornameInput"],["type","text","id","vornameInput","formControlName","vorname",1,"form-control"],[1,"form-group","w-100","ml-1"],["for","nachnameInput"],["type","text","id","nachnameInput","formControlName","nachname",1,"form-control"],[1,"form-group"],["for","emailInput"],["type","email","id","emailInput","formControlName","email",1,"form-control"],["for","firmaInput"],["type","text","id","firmaInput","formControlName","firma",1,"form-control"],["for","strasseInput"],["type","text","id","strasseInput","formControlName","strasse",1,"form-control"],["for","plzInput"],["type","text","id","plzInput","formControlName","plz",1,"form-control"],["for","ortInput"],["type","text","id","ortInput","formControlName","ort",1,"form-control"],[1,"form-group","w-100","\xb4"],["for","telefonInput"],["type","text","id","telefonInput","formControlName","telefon",1,"form-control"],["for","faxInput"],["type","text","id","faxInput","formControlName","fax",1,"form-control"],["for","ansprechpartneranredeInput"],["id","ans
1prechpartneranredeInput","formControlName","ansprechpartneranrede",1,"form-control"],["for","ansprechpartnervornameInput"],["type","text","id","ansprechpartnervornameInput","formControlName","ansprechpartnervorname",1,"form-control"],["for","ansprechpartnernachnameInput"],["type","text","id","ansprechpartnernachnameInput","formControlName","ansprechpartnernachname",1,"form-control"],["for","ansprechpartneremailInput"],["type","email","id","ansprechpartneremailInput","formControlName","ansprechpartneremail",1,"form-control"],["for","ansprechpartnertelefonInput"],["type","text","id","ansprechpartnertelefonInput","formControlName","ansprechpartnertelefon",1,"form-control"],["for","ansprechpartnerpositionInput"],["type","text","id","ansprechpartnerpositionInput","formControlName","ansprechpartnerposition",1,"form-control"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","inputDatenschutz","required","","formControlName","datenschutz",1,"custom-control-input"],["for","inputDatenschutz",1,"custom-control-label"],[3,"routerLink"],["type","submit",1,"bwsButton","text-white","mt-3"]],template:function(e,t){if(1&e){const e=ra();Jo(0,"h3",0),Na(1),Xo(),Jo(2,"div",1),Jo(3,"div",2),Jo(4,"small"),Na(5,"Ausgew\xe4hltes Seminar:"),Xo(),Jo(6,"h5"),Na(7),Xo(),Jo(8,"form",3),aa("submit",function(){return t.sendForm()}),Jo(9,"label",4),Na(10,"Veranstaltungsart"),Xo(),Jo(11,"div",5),ea(12,"input",6),Jo(13,"label",7),Na(14,"Pr\xe4senz"),Xo(),Xo(),Jo(15,"div",5),ea(16,"input",8),Jo(17,"label",9),Na(18,"Online"),Xo(),Xo(),Jo(19,"div",10),Jo(20,"label",11),Na(21,"Anmerkungen"),Xo(),ea(22,"textarea",12),Xo(),Jo(23,"label",13),Na(24,"Gew\xfcnschter Durchf\xfchrungszeitraum"),Xo(),Jo(25,"div",14),Jo(26,"div",15),Jo(27,"label",16),Na(28,"von:"),Xo(),ea(29,"input",17,18),Jo(31,"div",19),Jo(32,"button",20),aa("click",function(){return Rt(e),Zo(30).toggle()}),ea(33,"app-icon",21),Xo(),Xo(),Xo(),Jo(34,"div",22),Jo(35,"label",23),Na(36,"bis:"),Xo(),ea(37,"input",24,25),Jo(39,"div",19),Jo(40,"button",20),aa("click",function(){return Rt(e),Zo(38).toggle()}),ea(41,"app-icon",21),Xo(),Xo(),Xo(),Xo(),Jo(42,"div",26),Jo(43,"label",27),Na(44,"Voraussichtliche Teilnehmerzahl"),Xo(),ea(45,"input",28),Xo(),ea(46,"hr",29),Jo(47,"h5"),Na(48,"Ihre Kontaktdaten"),Xo(),Jo(49,"div",30),Jo(50,"label",31),Na(51,"Anrede"),Xo(),Jo(52,"select",32),Jo(53,"option"),Na(54,"Herr"),Xo(),Jo(55,"option"),Na(56,"Frau"),Xo(),Jo(57,"option"),Na(58,"keine Angabe"),Xo(),Xo(),Xo(),Jo(59,"div",33),Jo(60,"div",34),Jo(61,"label",35),Na(62,"Vorname"),Xo(),ea(63,"input",36),Xo(),Jo(64,"div",37),Jo(65,"label",38),Na(66,"Nachname"),Xo(),ea(67,"input",39),Xo(),Xo(),Jo(68,"div",40),Jo(69,"label",41),Na(70,"Email"),Xo(),ea(71,"input",42),Xo(),Jo(72,"div",40),Jo(73,"label",43),Na(74,"Firma"),Xo(),ea(75,"input",44),Xo(),Jo(76,"div",40),Jo(77,"label",45),Na(78,"Stra\xdfe"),Xo(),ea(79,"input",46),Xo(),Jo(80,"div",33),Jo(81,"div",34),Jo(82,"label",47),Na(83,"PLZ"),Xo(),ea(84,"input",48),Xo(),Jo(85,"div",37),Jo(86,"label",49),Na(87,"Ort"),Xo(),ea(88,"input",50),Xo(),Xo(),Jo(89,"div",33),Jo(90,"div",51),Jo(91,"label",52),Na(92,"Telefon"),Xo(),ea(93,"input",53),Xo(),Jo(94,"div",37),Jo(95,"label",54),Na(96,"Fax"),Xo(),ea(97,"input",55),Xo(),Xo(),ea(98,"hr"),Jo(99,"h5"),Na(100," Ansprechpartner der Firma "),Xo(),Jo(101,"div",30),Jo(102,"label",56),Na(103,"Anrede"),Xo(),Jo(104,"select",57),Jo(105,"option"),Na(106,"Herr"),Xo(),Jo(107,"option"),Na(108,"Frau"),Xo(),Jo(109,"option"),Na(110,"keine Angabe"),Xo(),Xo(),Xo(),Jo(111,"div",33),Jo(112,"div",34),Jo(113,"label",58),Na(114,"Vorname"),Xo(),ea(115,"input",59),Xo(),Jo(116,"div",37),Jo(117,"label",60),Na(118,"Nachname"),Xo(),ea(119,"input",61),Xo(),Xo(),Jo(120,"div",33),Jo(121,"div",34),Jo(122,"label",62),Na(123,"Email"),Xo(),ea(124,"input",63),Xo(),Jo(125,"div",34),Jo(126,"label",64),Na(127,"Telefon"),Xo(),ea(128,"input",65),Xo(),Xo(),Jo(129,"div",34),Jo(130,"label",66),Na(131,"Position"),Xo(),ea(132,"input",67),Xo(),ea(133,"hr",29),Jo(134,"div",68),ea(135,"input",69),Jo(136,"label",70),Na(137," Ich erkl\xe4re mich mit der "),Jo(138,"a",71),Na(139,"Datenschutzerkl\xe4rung"),Xo(),Na(140," einverstanden (Pflichtfeld) Bitte akzeptieren Sie die Bedingungen, um fortzufahren. "),Xo(),Xo(),Jo(141,"button",72),Na(142,"Senden"),
1Xo(),Xo(),Xo(),Xo()}2&e&&(ps(1),La(1==t.mode?"Seminar auf Anfrage":"Inhouse-Seminar anfragen"),ps(6),Ba(" ",t.seminar.Beschreibung," "),ps(1),Yo("formGroup",t.requestGroup),ps(130),Yo("routerLink","/page/datenschutzerkl\xe4rung"))},directives:[DS,RC,AS,zC,dC,MC,OS,Bx,sA,qC,WC,YC,MS,cC,Pv],styles:["#requestSeminarForm[_ngcontent-%COMP%]   .btn.calendar[_ngcontent-%COMP%]{height:calc(1.5em + .75rem + 2px)}"]}),e})();function IP(e,t){1&e&&(Jo(0,"div",23),Jo(1,"strong"),Na(2,"Allgemeine Informationen:"),Xo(),Jo(3,"div",2),Jo(4,"select",24),Jo(5,"option",4),Na(6,"Anrede"),Xo(),Jo(7,"option",5),Na(8,"Frau"),Xo(),Jo(9,"option",5),Na(10,"Herr"),Xo(),Jo(11,"option",5),Na(12,"keine Angabe"),Xo(),Xo(),ea(13,"input",25),ea(14,"input",26),Xo(),Jo(15,"div",8),ea(16,"input",27),ea(17,"input",28),Xo(),Jo(18,"strong"),Na(19,"Kontaktinformationen:"),Xo(),Jo(20,"div",2),ea(21,"input",29),ea(22,"input",30),Xo(),Jo(23,"strong"),Na(24,"Anschrift:"),Xo(),Jo(25,"div",2),ea(26,"input",31),ea(27,"input",32),Xo(),Jo(28,"div",8),ea(29,"input",33),ea(30,"input",34),Xo(),Xo()),2&e&&(ps(5),Yo("value",""),ps(2),Yo("value","Frau"),ps(2),Yo("value","Herr"),ps(2),Yo("value","keine Angabe"))}let PP=(()=>{class e{constructor(e,t,n){this.authService=e,this.apiService=t,this.toastr=n,this.accountForm=new yS({anrede:new gS("",[bC.required]),vorname:new gS("",[bC.required]),nachname:new gS("",[bC.required]),firma:new gS("",[bC.required]),firmenzusatz:new gS("",[]),ustdid:new gS("",[bC.required]),email:new gS("",[bC.required]),telefon:new gS("",[bC.required]),land:new gS("",[bC.required]),adresse:new gS("",[bC.required]),plz:new gS("",[bC.required]),ort:new gS("",[bC.required]),alt_adresse_ein:new gS(!1,[bC.required]),alt_anrede:new gS("",[bC.required]),alt_vorname:new gS("",[bC.required]),alt_nachname:new gS("",[bC.required]),alt_firma:new gS("",[bC.required]),alt_ustdid:new gS("",[bC.required]),alt_email:new gS("",[bC.required]),alt_telefon:new gS("",[bC.required]),alt_land:new gS("",[bC.required]),alt_adresse:new gS("",[bC.required]),alt_plz:new gS("",[bC.required]),alt_ort:new gS("",[bC.required])})}submitForm(){console.log(this.accountForm.value),this.apiService.saveCustomerData(this.accountForm.value).pipe(ey()).subscribe(e=>{e&&!e.error&&e.token?(this.authService.setToken(e),this.toastr.success("Accountdaten erfolgreich gespeichert.")):this.toastr.warning("Bitte versuchen Sie es erneut.","Ein Fehler ist aufgetreten.")})}ngOnInit(){this.authService.$token.subscribe(e=>{if(e&&e.decoded)for(const t of Object.keys(e.decoded))this.accountForm.get(t)&&this.accountForm.get(t).setValue(e.decoded[t])})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Uw),Ko(Hw),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-account-data"]],decls:42,vars:6,consts:[[1,"mt-md-3","mt-2"],["autocomplete","organization",1,"mt-2","mb-4",3,"formGroup","submit"],[1,"d-flex","flex-row","my-3"],["formControlName","anrede",1,"form-control","mr-sm-2"],["selected","","disabled","",3,"value"],[3,"value"],["type","text","placeholder","Vorname *","aria-label","Vorname *","formControlName","vorname",1,"form-control","mr-sm-2"],["type","text","placeholder","Nachname *","aria-label","Nachname *","formControlName","nachname",1,"form-control","mr-sm-2"],[1,"d-flex","flex-row","mb-3"],["type","text","placeholder","Firma *","aria-label","Firma *","formControlName","firma",1,"form-control","mr-sm-2"],["type","text","placeholder","Firmenzusatz","aria-label","Firmenzusatz","formControlName","firmenzusatz",1,"form-control","mr-sm-2"],["type","text","placeholder","USt-IdNr. *","aria-label","USt-IdNr. *","formControlName","ustdid",1,"form-control","mr-sm-2"],["type","text","placeholder","Email *","aria-label","Email *","formControlName","email","disabled","",1,"form-control","mr-sm-2"],["type","text","placeholder","Telefon *","aria-label","Telefon *","formControlName","telefon",1,"form-control","mr-sm-2"],["type","text","placeholder","Stra\xdfe und Hausnummer *","aria-label","Stra\xdfe und Hausnummer *","formControlName","adresse",1,"form-control","mr-sm-2"],["type","text","placeholder","PLZ *","aria-label","PLZ *","formControlName","plz",1,"form-control","mr-sm-2"],["type","text","placeholder","Ort *","aria-label","Ort *","formControlName","ort",1,"form-control","mr-sm-2"],["type","text","placeholder","Land (falls nicht Deutschland)","aria-label","Land  (falls nicht Deutschland)","formControlName","land",1,"form-control","mr-sm-2"],[1,"checkbox"],["type","checkbox","formControlName","alt_adresse_ein","autocomplete","on"],["class","d-flex flex-column my-3 ml-auto","style","width: calc(100% - 2em);",4,"ngIf"],[1,"d-flex"],["type","submit",1,"ml-auto","mr-sm-2","btn","primaryBg","text-white"],[1,"d-flex","flex-column","my-3","ml-auto",2,"width","calc(100% - 2em)"],["formControlName","alt_anrede",1,"form-control","mr-sm-2"],["type","text","placeholder","Vorname","aria-label","Vorname *","formControlName","alt_vorname","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Nachname","aria-label","Nachname *","formControlName","alt_nachname","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Firma *","aria-label","Firma *","formControlName","alt_firma","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","USt-I
1dNr.","aria-label","USt-IdNr. *","formControlName","alt_ustdid","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Email","aria-label","Email *","formControlName","alt_email","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Telefon","aria-label","Telefon *","formControlName","alt_telefon","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Stra\xdfe und Hausnummer *","aria-label","Stra\xdfe und Hausnummer *","formControlName","alt_adresse","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","PLZ *","aria-label","PLZ *","formControlName","alt_plz","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Ort *","aria-label","Ort *","formControlName","alt_ort","autocomplete","on",1,"form-control","mr-sm-2"],["type","text","placeholder","Land (falls nicht Deutschland)","aria-label","Land (falls nicht Deutschland)","formControlName","alt_land","autocomplete","on",1,"form-control","mr-sm-2"]],template:function(e,t){1&e&&(Jo(0,"h3",0),Na(1,"Pers\xf6nliche Daten verwalten"),Xo(),Jo(2,"form",1),aa("submit",function(){return t.submitForm()}),Jo(3,"strong"),Na(4,"Allgemeine Informationen:"),Xo(),Jo(5,"div",2),Jo(6,"select",3),Jo(7,"option",4),Na(8,"Anrede *"),Xo(),Jo(9,"option",5),Na(10,"Frau"),Xo(),Jo(11,"option",5),Na(12,"Herr"),Xo(),Jo(13,"option",5),Na(14,"keine Angabe"),Xo(),Xo(),ea(15,"input",6),ea(16,"input",7),Xo(),Jo(17,"div",8),ea(18,"input",9),ea(19,"input",10),ea(20,"input",11),Xo(),Jo(21,"strong"),Na(22,"Kontaktinformationen:"),Xo(),Jo(23,"div",2),ea(24,"input",12),ea(25,"input",13),Xo(),Jo(26,"strong"),Na(27,"Anschrift:"),Xo(),Jo(28,"div",2),ea(29,"input",14),ea(30,"input",15),Xo(),Jo(31,"div",8),ea(32,"input",16),ea(33,"input",17),Xo(),Jo(34,"div",18),Jo(35,"label"),ea(36,"input",19),Na(37,"\xa0\xa0Abweichende Rechnungsanschrift"),Xo(),Xo(),Go(38,IP,31,4,"div",20),Jo(39,"div",21),Jo(40,"button",22),Na(41," Speichern "),Xo(),Xo(),Xo()),2&e&&(ps(2),Yo("formGroup",t.accountForm),ps(5),Yo("value",""),ps(2),Yo("value","Frau"),ps(2),Yo("value","Herr"),ps(2),Yo("value","keine Angabe"),ps(25),Yo("ngIf",t.accountForm.value.alt_adresse_ein))},directives:[DS,RC,AS,qC,MC,OS,WC,YC,dC,cC,qd],styles:[""]}),e})();function FP(e,t){if(1&e&&(Jo(0,"td"),Jo(1,"strong"),Na(2,"Abweichende Rechnungsadresse:"),Xo(),ea(3,"br"),Na(4),ea(5,"br"),Na(6),ea(7,"br"),Na(8),ea(9,"br"),Na(10),ea(11,"br"),Na(12),ea(13,"br"),Na(14),ea(15,"br"),Na(16),Xo()),2&e){const e=ua(2);ps(4),Ba(" ",e.order.alt_firma,""),ps(2),Ba(" ",e.order.alt_adresse,""),ps(2),Va(" ",e.order.alt_plz," ",e.order.alt_ort,""),ps(2),za(" ",e.order.alt_anrede," ",e.order.alt_vorname," ",e.order.alt_nachname,""),ps(2),Ba(" ",e.order.alt_land,""),ps(2),Ba(" ",e.order.alt_email,""),ps(2),Ba(" ",e.order.alt_ustidnr," ")}}function MP(e,t){if(1&e&&(Jo(0,"tr"),Jo(1,"td",6),Jo(2,"strong"),Na(3,"Anmerkung:"),Xo(),Na(4),Xo(),Xo()),2&e){const e=ua(2);ps(4),Ba(" ",e.order.anmerkung,"")}}function RP(e,t){if(1&e&&(Jo(0,"table",4),Jo(1,"tr"),Jo(2,"td"),Jo(3,"strong"),Na(4,"Auftraggeber:"),Xo(),ea(5,"br"),Na(6),ea(7,"br"),Na(8),ea(9,"br"),Na(10),ea(11,"br"),Na(12),ea(13,"br"),Na(14),ea(15,"br"),Na(16),ea(17,"br"),Na(18),ea(19,"br"),Na(20),ea(21,"br"),Na(22),Xo(),Go(23,FP,17,10,"td",5),Xo(),Go(24,MP,5,1,"tr",5),Xo()),2&e){const e=ua();ps(6),Ba(" ",e.order.firma," "),ps(2),Ba(" ",e.order.firmenzusatz?e.order.firmenzusatz:"",""),ps(2),Ba(" ",e.order.adresse,""),ps(2),Va(" ",e.order.plz," ",e.order.ort,""),ps(2),za(" ",e.order.anrede," ",e.order.vorname," ",e.order.nachname,""),ps(2),Ba(" ",e.order.land,""),ps(2),Ba(" ",e.order.telefon,""),ps(2),Ba(" ",e.order.email,""),ps(2),Ba(" ",e.order.ustidnr," "),ps(1),Yo("ngIf",e.order.alt_adresse_ein),ps(1),Yo("ngIf",!e.oldOrderTemplate)}}function NP(e,t){if(1&e&&(Jo(0,"span"),Na(1),ea(2,"br"),Xo()),2&e){const e=ua().$implicit;ps(1),Va("",e.SeminarBeginn," - ",e.SeminarEnde,"")}}function LP(e,t){if(1&e&&(Jo(0,"span"),Na(1),Xo()),2&e){const e=ua().$implicit;ps(1),Va("",e.SeminarPLZ," ",e.SeminarOrt,"")}}function BP(e,t){if(1&e&&(Jo(0,"li"),Na(1),ea(2,"br"),Jo(3,"p"),Jo(4,"small"),Jo(5,"strong"),Na(6,"\xdcbernachtungsoptionen:"),Xo(),ea(7,"br"),ea(8,"span",24),Xo(),Xo(),Xo()),2&e){const e=t.$implicit,n=ua(5);ps(1),Ba(" ",e.anrede+" "+e.vorname+" "+e.nachname+", "+e.email,""),ps(7),Yo("innerHTML",n.getUebernachtungsInfo(e),oi)}}function VP(e,t){if(1&e&&(Jo(0,"ol",23),Go(1,BP,9,2,"li",9),Xo()),2&e){const e=ua().$implicit;ps(1),Yo("ngForOf",e.Teilnehmer)}}function zP(e,t){if(1&e&&(ta(0),Na(1),na()),2&e){const e=ua(2).uebernacht,t=ua(2).$implicit;ps(1),Va(" ",e," \xd7 ",t.uebernachtungspreis.toFixed(2).replace(".",",")," \u20ac ")}}function $P(e,t){1&e&&Na(0," 0 \u20ac ")}function jP(e,t){if(1&e&&(Jo(0,"div",27),Jo(1,"span",28),Na(2,"+"),Xo(),Jo(3,"div",29),Jo(4,"small",30),Na(5
1),Xo(),ea(6,"br"),Go(7,zP,2,2,"ng-container",2),Go(8,$P,1,0,"ng-template",null,3,Ru),Xo(),Xo()),2&e){const e=Zo(9),t=ua().uebernacht,n=ua().index;ps(5),Ba("\xdcbernachtungen Teilnehmer ",n+1,""),ps(2),Yo("ngIf",t>0)("ngIfElse",e)}}function UP(e,t){1&e&&Go(0,jP,10,3,"div",26),2&e&&Yo("ngIf",t.uebernacht>0)}function HP(e,t){1&e&&ea(0,"div")}const qP=function(e){return{uebernacht:e}};function WP(e,t){if(1&e&&(ta(0),Go(1,UP,1,1,"ng-template",null,25,Ru),Go(3,HP,1,0,"div",12),na()),2&e){const e=t.$implicit,n=Zo(2),r=ua(4);ps(3),Yo("ngTemplateOutlet",n)("ngTemplateOutletContext",ru(2,qP,r.getUebernachtungAmount(e)))}}const GP=function(e){return["/seminare",e]};function ZP(e,t){if(1&e&&(Jo(0,"tr"),Jo(1,"td"),Na(2),Xo(),Jo(3,"td"),Jo(4,"div",13),ea(5,"img",14),Jo(6,"div",15),Jo(7,"span",16),Na(8),Xo(),ea(9,"br"),Go(10,NP,3,2,"span",5),Go(11,LP,2,2,"span",5),Xo(),Xo(),Xo(),Jo(12,"td",17),Go(13,VP,2,1,"ol",18),Xo(),Jo(14,"td",19),Jo(15,"p",20),Jo(16,"small",21),Na(17),Xo(),ea(18,"br"),Na(19),Xo(),Go(20,WP,4,4,"ng-container",9),Jo(21,"strong",22),Na(22),Xo(),Xo(),Xo()),2&e){const e=t.$implicit,n=ua(3);ps(2),Ba(" ",e.amount," "),ps(2),Yo("routerLink",ru(12,GP,e.semtype)),ps(1),Yo("src",n.cartService.getCatImage(e.KategorieBildCode),ai),ps(3),La(e.Beschreibung),ps(2),Yo("ngIf",0==e.ProduktArt),ps(1),Yo("ngIf",0==e.ProduktArt),ps(2),Yo("ngIf",0==e.ProduktArt),ps(4),La(0==e.ProduktArt?"Seminarpreis":"Preis"),ps(2),Va("",e.amount," \xd7 ",e.seminarpreis.toFixed(2).replace(".",",")," \u20ac "),ps(1),Yo("ngForOf",e.Teilnehmer),ps(2),Ba("",n.calculateProductPrice(e).toFixed(2).replace(".",",")," \u20ac")}}function KP(e,t){if(1&e&&(Na(0),ea(1,"br"),Jo(2,"small",31),Na(3,"+ 19% ges. MwSt."),Xo(),Na(4),ea(5,"br"),Jo(6,"strong",32),Na(7),Xo()),2&e){const e=t.cartSum;Ba(" ",e.toFixed(2).replace(".",",")," \u20ac"),ps(4),Ba("+ ",(.19*e).toFixed(2).replace(".",",")," \u20ac"),ps(3),Ba("",(e+.19*e).toFixed(2).replace(".",",")," \u20ac")}}function YP(e,t){1&e&&ea(0,"div")}const QP=function(e){return{cartSum:e}};function JP(e,t){if(1&e&&(Jo(0,"table",8),Jo(1,"thead"),Jo(2,"th"),Na(3,"Anzahl"),Xo(),Jo(4,"th"),Na(5,"Beschreibung"),Xo(),Jo(6,"th"),Na(7,"Teilnehmerinformationen"),Xo(),Jo(8,"th"),Na(9,"Preis"),Xo(),Xo(),Jo(10,"tbody"),Go(11,ZP,23,14,"tr",9),Jo(12,"tr"),Jo(13,"td",10),Go(14,KP,8,3,"ng-template",null,11,Ru),Go(16,YP,1,0,"div",12),Xo(),Xo(),Xo(),Xo()),2&e){const e=Zo(15),t=ua(2);ps(11),Yo("ngForOf",t.order.Produkte),ps(5),Yo("ngTemplateOutlet",e)("ngTemplateOutletContext",ru(3,QP,t.calculatePrice()))}}function XP(e,t){if(1&e&&(ta(0),Go(1,JP,17,5,"table",7),na()),2&e){const e=ua();ps(1),Yo("ngIf",e.order&&e.order.Produkte)}}function eF(e,t){1&e&&(Jo(0,"th"),Na(1,"Preis"),Xo())}function tF(e,t){if(1&e&&(Jo(0,"li"),Na(1),Xo()),2&e){const e=t.$implicit;ps(1),Ba(" ",e.vorname+" "+e.nachname+", "+e.email,"")}}function nF(e,t){if(1&e&&(Jo(0,"small",36),Na(1),Xo()),2&e){const e=ua().$implicit,t=ua(2).$implicit;ps(1),Va(" Folge-Termin ",e,": ",t["uebernachtungsdatumFolge"+e],"")}}function rF(e,t){if(1&e&&(Jo(0,"div"),Go(1,nF,2,2,"small",35),Xo()),2&e){const e=t.$implicit,n=ua(2).$implicit;ps(1),Yo("ngIf",n["uebernachtungsdatumFolge"+e])}}const iF=function(){return[1,2,3,4]};function sF(e,t){if(1&e&&(Jo(0,"span"),ea(1,"br"),Jo(2,"small"),Na(3),ea(4,"br"),Xo(),Go(5,rF,2,1,"div",9),Jo(6,"small"),Na(7),Xo(),ea(8,"br"),Jo(9,"small"),Na(10),Xo(),Xo()),2&e){const e=ua().$implicit;ps(3),Ba("Anfahrtsdatum: ",e.uebernachtungsdatum," "),ps(2),Yo("ngForOf",nu(4,iF)),ps(2),Ba("Anzahl der \xdcbernachtungen: ",e.uebernachtungsanzahl,""),ps(3),Ba("\xdcbernachtungspreis jeweils: ",e.uebernachtungspreis.toFixed(2).replace(".",","),"\u20ac")}}function oF(e,t){if(1&e&&(Jo(0,"div"),Jo(1,"div",27),Jo(2,"span",28),Na(3,"+"),Xo(),Jo(4,"p",37),Jo(5,"small",21),Na(6),Xo(),ea(7,"br"),Na(8),Xo(),Xo(),Jo(9,"strong",22),Na(10),Xo(),Xo()),2&e){const e=ua(2).$implicit,t=ua(3);ps(6),La(e.uebernachtungsanzahl>1?"\xdcbernachtungen":"\xdcbernachtung"),ps(2),Va("",e.amount," \xd7 ",(e.uebernachtungsanzahl*e.uebernachtungspreis).toFixed(2).replace(".",",")," \u20ac "),ps(2),Ba("",t.calculateProductPriceOld(e).toFixed(2).replace(".",",")," \u20ac")}}function aF(e,t){if(1&e&&(Jo(0,"td",19),Jo(1,"p",20),Jo(2,"small",21),Na(3,"Seminarpreis"),Xo(),ea(4,"br"),Na(5),Xo(),Go(6,oF,11,4,"div",5),Xo()),2&e){const e=ua().$implicit;ps(5),Va("",e.amount," \xd7 ",e.seminarpreis.toFixed(2).replace(".",",")," \u20ac "),ps(1),Yo("ngIf",1==e.uebernachtung)}
1}function lF(e,t){if(1&e&&(Jo(0,"tr"),Jo(1,"td"),Na(2),Xo(),Jo(3,"td"),Jo(4,"div",13),ea(5,"img",14),Jo(6,"div",15),Jo(7,"span",16),Na(8),Xo(),ea(9,"br"),Jo(10,"span"),Na(11),Xo(),ea(12,"br"),Jo(13,"span"),Na(14),Xo(),Xo(),Xo(),Xo(),Jo(15,"td"),Jo(16,"ol",23),Go(17,tF,2,1,"li",9),Xo(),Xo(),Jo(18,"td",33),Na(19),Go(20,sF,11,5,"span",5),Xo(),Go(21,aF,7,3,"td",34),Xo()),2&e){const e=t.$implicit,n=ua(3);ps(2),Ba(" ",e.amount," "),ps(2),Yo("routerLink",ru(12,GP,e.semtype)),ps(1),Yo("src",n.cartService.getCatImage(e.KategorieBildCode),ai),ps(3),La(e.Beschreibung),ps(3),Va("",e.SeminarBeginn," - ",e.SeminarEnde,""),ps(3),Va("",e.SeminarPLZ," ",e.SeminarOrt,""),ps(3),Yo("ngForOf",e.Teilnehmer),ps(2),Ba(" ",1==e.uebernachtung?"\xdcbernachtung":2==e.uebernachtung?"\xdcbernachtung nicht gew\xfcnscht":"\xdcbernachtung wird nachgereicht"," "),ps(1),Yo("ngIf",1==e.uebernachtung),ps(1),Yo("ngIf",n.order.Produkte[0].seminarpreis>0&&n.order.Produkte[0].uebernachtungspreis>0)}}function cF(e,t){if(1&e&&(Jo(0,"table",8),Jo(1,"thead"),Jo(2,"th"),Na(3,"Anzahl"),Xo(),Jo(4,"th"),Na(5,"Beschreibung"),Xo(),Jo(6,"th"),Na(7,"Teilnehmerinformationen"),Xo(),Jo(8,"th"),Na(9,"\xdcbernachtungsoption"),Xo(),Go(10,eF,2,0,"th",5),Xo(),Jo(11,"tbody"),Go(12,lF,22,14,"tr",9),Xo(),Xo()),2&e){const e=ua(2);ps(10),Yo("ngIf",e.order.Produkte[0].seminarpreis>0&&e.order.Produkte[0].uebernachtungspreis>0),ps(2),Yo("ngForOf",e.order.Produkte)}}function uF(e,t){if(1&e&&Go(0,cF,13,2,"table",7),2&e){const e=ua();Yo("ngIf",e.order&&e.order.Produkte)}}nw.locale("de"),nw.extend(rw);let hF=(()=>{class e{constructor(e,t){this.cartService=e,this.sanitizer=t,this.showOrder=!1,this.oldOrderTemplate=!1,this._order={},this.parseFloat=parseFloat}set order(e){this.showOrder=!1,null!==e.Produkte[0].uebernachtung&&(this.oldOrderTemplate=!0),this._order=e,this.showOrder=!0}get order(){return this._order}ngOnInit(){}calculateProductPriceOld(e){let t=parseFloat(e.seminarpreis.toString());return 1==e.uebernachtung&&(t+=parseInt(e.uebernachtungsanzahl.toString())*parseFloat(e.uebernachtungspreis.toString())),e.amount*t}getUebernachtungAmount(e){let t=0;if(null!==e.uebernachtung&&NaN===parseInt(e.uebernachtung.toString())){for(const n of e.uebernachtung)if(1===n.uebernachtung&&""!==n.uebernachtungStart&&""!==n.uebernachtungEnde){let e=nw(n.uebernachtungStart,"DD.MM.YYYY");t+=nw(n.uebernachtungEnde,"DD.MM.YYYY").diff(e,"d")}}else{if(1==e.uebernachtung&&""!=e.uebernachtungStart&&""!=e.uebernachtungEnde){let n=nw(e.uebernachtungStart,"DD.MM.YYYY");t+=nw(e.uebernachtungEnde,"DD.MM.YYYY").diff(n,"d")}for(const n of[1,2,3,4]){let r="uebernachtungFolge"+n+"Start",i="uebernachtungFolge"+n+"Ende";if(1==e["uebernachtungFolge"+n]&&""!=e[r]&&""!=e[i]){let n=nw(e[r],"DD.MM.YYYY"),s=nw(e[i],"DD.MM.YYYY").diff(n,"d");t+=s>0?s:0}}}return t}getUebernachtungsInfo(e){let t="";if(null!==e.uebernachtung&&NaN===parseInt(e.uebernachtung.toString()))for(const n of e.uebernachtung){const r=e.uebernachtung.indexOf(n);0===r?(t+="Termin: <br>",0==n.uebernachtung?t="&nbsp;&nbsp;keine \xdcbernachtung":t+=1==n.uebernachtung?`&nbsp;&nbsp;\xdcbernachtungszeitraum ${n.uebernachtungStart} - ${n.uebernachtungEnde}`:2==n.uebernachtung?"&nbsp;&nbsp;\xdcbernachtung nicht gew\xfcnscht":"&nbsp;&nbsp;\xdcbernachtung wird nachgereicht",t+="<br>"):(t+=`Folge-Termin ${r}: <br>`,t+=1===n.uebernachtung?`&nbsp;&nbsp;\xdcbernachtungszeitraum ${n.uebernachtungStart} - ${n.uebernachtungEnde}`:2===n.uebernachtung?"&nbsp;&nbsp;\xdcbernachtung nicht gew\xfcnscht":"&nbsp;&nbsp;\xdcbernachtung wird nachgereicht",r!==e.uebernachtung.length-1&&(t+="<br>"))}else for(const n of[0,1,2,3,4])0==n?(t+="Termin: <br>",0==e.uebernachtung?t="&nbsp;&nbsp;keine \xdcbernachtung":t+=1==e.uebernachtung?`&nbsp;&nbsp;\xdcbernachtungszeitraum ${e.uebernachtungStart} - ${e.uebernachtungEnde}`:2==e.uebernachtung?"&nbsp;&nbsp;\xdcbernachtung nicht gew\xfcnscht":"&nbsp;&nbsp;\xdcbernachtung wird nachgereicht",t+="<br>"):null!==e["uebernachtungFolge"+n]&&(t+=`Folge-Termin ${n}: <br>`,t+=1==e["uebernachtungFolge"+n]?`&nbsp;&nbsp;\xdcbernachtungszeitraum ${e["uebernachtungFolge"+n+"Start"]} - ${e["uebernachtungFolge"+n+"Ende"]}`:2==e.uebernachtung?"&nbsp;&nbsp;\xdcbernachtung nicht gew\xfcnscht":"&nbsp;&nbsp;\xdcbernachtung wird nachgereicht",4!=n&&(t+="<br>"));return this.sanitizer.bypassSecurityTrustHtml(t)}calculateProductPrice(e){let t=e.amount*parseFloat(e.seminarpreis.toString());for(const n of e.Teilnehmer)t+=this.getUebernachtungAmount(n)*parseFloat(e.uebernachtungspreis.toString());return t}calculatePrice(){let e=0;for(const t of this.order.Produkte)e+=this.calculateProductPrice(t);return e}}return e.\u0275fac=function(t){return new(t||e)(Ko(XE),Ko(Np))},e.\u0275cmp=je({type:e,selectors:[["app-history-order"]],inputs:{order:"order"},decls:5,vars:3,consts:[["id","historyOrderDetail"],["style","width:100%;",4,"ngIf"],[4,"ngIf","ngIfElse"],["elseTemplate",""],[2,"width","100%"],[4,"ngIf"],["colspan","2",1,"pt-3"],["class","table table-bordered mt-3",4,"ngIf"],[1,"table","table-bordered","mt-3"],[4,"ngFor","ngForOf"],["colspan","4",1,"text-right"],["priceCalc",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","router-link-active",1,"d-flex","flex-row","cursor-pointer",3,"routerLink"],["width","100px","height","auto","alt","",1,"border-radius",3,"src"],[1,"ml-2"],[1,"h6"],[2,"min-width","330px"],["class","mb-0 pl-3",4,"ngIf"],[1,"text-right"],[1,"pricecol","mb-0",2,"margin-top","-7px"],[2,"position","relative","top","4px"],[1,"w-100","d-block",2,"padding-top","5px","border-top","1px solid lightgray"],[1,"mb-0","pl-3"],[3,"innerHTML"],["uebernachtungssumme",""],["class","d-flex flex-row",4,"ngIf"],[1,"d-flex","flex-row"],[1,"mr-1","align-self-end","ml-auto"],[1,"pricecol","mb-0","mt-2"],[1,"uebernachtungTeilnehmerLabel"],[1,"mr-3"],[2,"border-top","1px solid lightgray"],[2,"min-width","240px"],["class","text-right",4,"ngIf"],["class","mb-2 ml-3",4,"ngIf"],[1,"mb-2","ml-3"],[1,"pricecol","mb-0"]],template:function(e,t){if(1&e&&(Jo(0,"div",0),Go(1,RP,25,14,"table",1),Go(2,XP,2,1,"ng-container",2),Go(3,uF,1,1,"ng-template",null,3,Ru),Xo()),2&e){const e=Zo(4);ps(1),Yo("ngIf",t.order),ps(1),Yo("ngIf",!t.oldOrderTemplate)("ngIfElse",e)}},directives:[qd,Ud,Kd,Mv,Iv],styles:["#historyOrderDetail[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], #historyOrderDetail[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:.5rem;border-color:#7c7c7d}#historyOrderDetail[_ngcontent-%COMP%]   .pricecol[_ngcontent-%COMP%]{margin-left:auto;max-width:7.5em;line-height:normal}"]}),e})();function dF(e,t){if(1&e){const e=ra();Jo(0,"button",4),aa("click",function(){return Rt(e),ua().detailOrder=void 0}),ea(1,"app-icon",5),Xo()}}function pF(e,t){if(1&e){const e=ra();Jo(0,"a",9),aa("click",function(){Rt(e);
1const n=t.$implicit;return ua(3).detailOrder=n}),Jo(1,"strong"),Na(2),Xo(),Na(3),Xo()}if(2&e){const e=t.$implicit;ps(2),Ba("Bestellung #",e.id,""),ps(1),Ba(" - ",e.timestamp," ")}}function fF(e,t){if(1&e&&(Jo(0,"div",7),Go(1,pF,4,2,"a",8),Xo()),2&e){const e=ua(2);ps(1),Yo("ngForOf",e.orders)}}function mF(e,t){if(1&e&&(ta(0),Go(1,fF,2,1,"div",6),na()),2&e){const e=ua();ps(1),Yo("ngIf",e.orders.length>0)}}function gF(e,t){1&e&&ea(0,"app-history-order",10),2&e&&Yo("order",ua().detailOrder)}const yF=function(e){return{"d-inline-block":e}};let bF=(()=>{class e{constructor(e){this.apiService=e,this.detailOrder=void 0,this.orders=[],this.Object=Object}ngOnInit(){this.apiService.getOrderHistory().pipe(ey()).subscribe(e=>{e&&!e.error&&e.length>0&&(this.orders=e)})}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw))},e.\u0275cmp=je({type:e,selectors:[["app-account-history"]],decls:6,vars:7,consts:[["type","button","class","btn btn-primary btn-sm d-inline-block primaryBg",3,"click",4,"ngIf"],[1,"orderDetailHeadline","mt-md-3","mt-2",3,"ngClass"],[4,"ngIf","ngIfElse"],["detailOrderView",""],["type","button",1,"btn","btn-primary","btn-sm","d-inline-block","primaryBg",3,"click"],["name","arrow-left-circle"],["class","list-group mt-3",4,"ngIf"],[1,"list-group","mt-3"],["href","javascript:void(0);","class","list-group-item list-group-item-action",3,"click",4,"ngFor","ngForOf"],["href","javascript:void(0);",1,"list-group-item","list-group-item-action",3,"click"],[1,"d-block","mt-3",3,"order"]],template:function(e,t){if(1&e&&(Go(0,dF,2,0,"button",0),Jo(1,"h3",1),Na(2),Xo(),Go(3,mF,2,1,"ng-container",2),Go(4,gF,1,1,"ng-template",null,3,Ru)),2&e){const e=Zo(5);Yo("ngIf",t.detailOrder),ps(1),Yo("ngClass",ru(5,yF,null!=t.detailOrder)),ps(1),Ba(" ",null==t.detailOrder?"Bestellhistorie":"Bestellung #"+t.detailOrder.id,"\n"),ps(1),Yo("ngIf",null==t.detailOrder)("ngIfElse",e)}},directives:[qd,$d,sA,Ud,hF],styles:[".orderDetailHeadline.d-inline-block[_ngcontent-%COMP%]{position:relative;top:5px;left:7px}"]}),e})(),vF=(()=>{class e{constructor(e,t,n,r){this.route=e,this.apiservice=t,this.router=n,this.toastrservice=r,this.resetGroup=new yS({password:new gS("",[bC.required]),password2:new gS("",[bC.required])})}ngOnInit(){let e=this.route.snapshot.queryParams.key;e&&""!=e&&(this.resetKey=e)}resetPassword(){let e=this.resetGroup.value;if(e.password!=e.password2)return this.toastrservice.warning("Die beiden Passw\xf6rter stimmen nicht \xfcberein.");let t=tO("sha256").update(e.password).digest("hex"),n={reset:encodeURIComponent(this.resetKey),pwhash:t};console.log(n);try{this.apiservice.passwordReset(n).pipe(ey(),zg(e=>(this.router.navigateByUrl("/"),this.toastrservice.error("Bitte versuchen Sie es erneut.","Ein Fehler ist aufgetreten."),Sg))).subscribe(e=>{console.log(e),e&&"OK"==e.status?(this.toastrservice.success("Passwort erfolgreich ge\xe4ndert."),this.router.navigateByUrl("/")):(this.router.navigateByUrl("/"),this.toastrservice.error("Bitte versuchen Sie es erneut.","Ein Fehler ist aufgetreten."))})}catch(r){this.router.navigateByUrl("/"),this.toastrservice.error("Bitte versuchen Sie es erneut.","Ein Fehler ist aufgetreten.")}}}return e.\u0275fac=function(t){return new(t||e)(Ko(hb),Ko(Hw),Ko(Ov),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-account-reset"]],decls:14,vars:1,consts:[["id","resetWrapper"],[1,"form-signin","text-center",3,"formGroup","ngSubmit"],[1,"mb-3","font-weight-normal"],["for","inputPassword",1,"sr-only"],["type","password","id","inputPassword","placeholder","Passwort","required","","autofocus","","formControlName","password",1,"form-control","mb-2"],["for","inputPassword2",1,"sr-only"],["type","password","id","inputPassword2","placeholder","Passwort wiederholen","required","","formControlName","password2",1,"form-control"],[1,"mb-3"],["type","submit",1,"btn","btn-sm","btn-lg","primaryBg","text-white","btn-block"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"form",1),aa("ngSubmit",function(){return t.resetPassword()}),Jo(2,"h4",2),Na(3,"Neues Passwort eingeben"),Xo(),Jo(4,"label",3),Na(5,"Passwort"),Xo(),ea(6,"input",4),Jo(7,"label",5),Na(8,"Passwort wiederholen"),Xo(),ea(9,"input",6),Jo(10,"span",7),Na(11,"\xa0"),Xo(),Jo(12,"button",8),Na(13,"Passwort \xe4ndern"),Xo(),Xo(),Xo()),2&e&&(ps(1),Yo("formGroup",t.resetGroup))},directives:[DS,RC,AS,dC,FS,MC,OS],styles:["#resetWrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;min-height:calc(100vh - 78px);flex-direction:column}#resetWrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;width:30%}"]}),e})();function wF(e,t){if(1&e&&(Jo(0,"option",27),Na(1),Xo()),2&e){const e=t.$implicit;Yo("value",e.id),ps(1),La(e.name)}}let _F=(()=>{class e{constructor(e,t){this.apiService=e,this.toastr=t,this.newsletter=[],this.newsletterGroup=new yS({anrede:new gS(""),firstname:new gS("",[bC.required]),name:new gS("",[bC.required]),email:new gS("",[bC.required,bC.email]),newsletterId:new gS(void 0),fax:new gS(""),datenschutz:new gS(!1)}),this.getNewsletter()}getNewsletter(){this.apiService.getNewsletter().pipe(ey()).subscribe(e=>this.newsletter=e)}sendForm(){console.log(this.newsletterGroup.value);let e=this.newsletterGroup.value;if(""!=e.vorname&&""!=e.nachname&&""!=e.email&&""!=e.nachricht){if(""!=e.fax)return;
1!0===e.datenschutz?this.apiService.sendNewsletterForm(e).pipe(ey()).subscribe(e=>{e&&e.status&&"OK"==e.status?this.toastr.success("Newsletteranmeldung erfolgreich versendet!"):this.toastr.warning("Ein Fehler ist aufgetreten, Oder Sie Sind bereits f\xfcr dieses Newsletterthema registriert.")}):this.toastr.warning("Bitte den Datenschutzhinweis akzeptieren.")}else this.toastr.warning("Bitte mind. Anrede, Vorname, Nachname, Email, und ein Newsletterthema angeben.")}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw),Ko(g_))},e.\u0275cmp=je({type:e,selectors:[["app-newsletter"]],decls:46,vars:3,consts:[[1,"row"],[1,"col-md-7"],["id","newsletterForm",1,"mb-5",3,"formGroup","submit"],[1,"form-group"],["for","anredeInput"],["id","anredeInput","formControlName","anrede",1,"form-control"],[1,"d-f"],[1,"form-group","w-100"],["for","vornameInput"],["type","text","id","vornameInput","formControlName","firstname",1,"form-control"],[1,"form-group","w-100","ml-1"],["for","nachnameInput"],["type","text","id","nachnameInput","formControlName","name",1,"form-control"],["for","emailInput"],["type","email","id","emailInput","formControlName","email",1,"form-control"],[1,"form-group","w-100","ml-1",2,"display","none"],["for","faxInput"],["type","text","id","faxInput","formControlName","fax",1,"form-control"],["id","anredeInput","formControlName","newsletterId",1,"form-control"],[3,"value",4,"ngFor","ngForOf"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","inputDatenschutz","required","","formControlName","datenschutz",1,"custom-control-input"],["for","inputDatenschutz",1,"custom-control-label"],["target","_blank",3,"routerLink"],["type","submit",1,"bwsButton","text-white","mt-3"],[1,"col-md-5"],["src","../assets/img/newsletter.jpg","alt","",2,"border","1px solid #666"],[3,"value"]],template:function(e,t){1&e&&(Jo(0,"div",0),Jo(1,"div",1),Jo(2,"form",2),aa("submit",function(){return t.sendForm()}),Jo(3,"div",3),Jo(4,"label",4),Na(5,"Anrede *"),Xo(),Jo(6,"select",5),Jo(7,"option"),Na(8,"Herr"),Xo(),Jo(9,"option"),Na(10,"Frau"),Xo(),Jo(11,"option"),Na(12,"keine Angabe"),Xo(),Xo(),Xo(),Jo(13,"div",6),Jo(14,"div",7),Jo(15,"label",8),Na(16,"Vorname *"),Xo(),ea(17,"input",9),Xo(),Jo(18,"div",10),Jo(19,"label",11),Na(20,"Nachname *"),Xo(),ea(21,"input",12),Xo(),Xo(),Jo(22,"div",3),Jo(23,"label",13),Na(24,"Email *"),Xo(),ea(25,"input",14),Xo(),Jo(26,"div",15),Jo(27,"label",16),Na(28,"Fax"),Xo(),ea(29,"input",17),Xo(),Jo(30,"div",3),Jo(31,"label",4),Na(32,"Newsletterkategorien *"),Xo(),Jo(33,"select",18),Go(34,wF,2,2,"option",19),Xo(),Xo(),Jo(35,"div",20),ea(36,"input",21),Jo(37,"label",22),Na(38," Ich bin mit der Verarbeitung meiner pers\xf6nlichen Angaben gem\xe4\xdf der "),Jo(39,"a",23),Na(40,"Datenschutzerkl\xe4rung"),Xo(),Na(41," einverstanden. (Pflichtfeld) "),Xo(),Xo(),Jo(42,"button",24),Na(43,"Senden"),Xo(),Xo(),Xo(),Jo(44,"div",25),ea(45,"img",26),Xo(),Xo()),2&e&&(ps(2),Yo("formGroup",t.newsletterGroup),ps(32),Yo("ngForOf",t.newsletter),ps(5),Yo("routerLink","/page/datenschutzerkl\xe4rung"))},directives:[DS,RC,AS,qC,MC,OS,WC,YC,dC,Ud,MS,cC,Pv],styles:[""]}),e})();function CF(e,t){1&e&&(ta(0),Na(1," Newsletteranmeldung wird best\xe4tigt"),ea(2,"br"),ea(3,"span",3),na())}function SF(e,t){1&e&&(ta(0),ea(1,"app-icon",4),ea(2,"br"),Jo(3,"p"),Na(4," Wir bedanken uns f\xfcr Ihre Anmeldung zu unserem Newsletter. "),ea(5,"br"),Na(6," Sie werden nun automatisch zu unseren vergangenen Newslettern weitergeleitet. "),Xo(),na())}function kF(e,t){1&e&&(ta(0),ea(1,"app-icon",5),ea(2,"br"),Jo(3,"p"),Na(4," Ihre Anmeldung ist bereits aktiv."),ea(5,"br"),Na(6," Sie werden in 4 Sek. automatisch weitergeleitet. "),Xo(),na())}function DF(e,t){1&e&&(ea(0,"app-icon",5),ea(1,"br"),Jo(2,"p"),Na(3," Ein Fehler ist aufgetreten. "),ea(4,"br"),Na(5," Sie werden in 4 Sek. automatisch weitergeleitet. "),Xo())}function xF(e,t){if(1&e&&(Go(0,kF,7,0,"ng-container",1),Go(1,DF,6,0,"ng-template",null,2,Ru)),2&e){const e=Zo(2),t=ua(2);Yo("ngIf",t.res.error&&"registration already active"==t.res.error)("ngIfElse",e)}}function EF(e,t){if(1&e&&(Go(0,SF,7,0,"ng-container",1),Go(1,xF,3,2,"ng-template",null,2,Ru)),2&e){const e=Zo(2);Yo("ngIf","OK"==ua().res.status)("ngIfElse",e)}}let AF=(()=>{class e{constructor(e,t,n){this.route=e,this.router=t,this.apiService=n,this.res=void 0;
1let r=this.route.snapshot.paramMap.get("activateId"),i=JSON.parse(atob(r)).activateNewsletterAnmeldung;this.apiService.sendNewsletterActivation(i).pipe(ey()).subscribe(e=>{this.res=e,this.redirect(),console.log(e)})}ngOnInit(){}redirect(){setTimeout(()=>{"OK"==this.res.status?window.location.href="https://rsv.gmbh/bereich/bahnwege-seminare/":this.router.navigateByUrl("/newsletter")},4e3)}}return e.\u0275fac=function(t){return new(t||e)(Ko(hb),Ko(Ov),Ko(Hw))},e.\u0275cmp=je({type:e,selectors:[["app-activate"]],decls:4,vars:2,consts:[[1,"text-center","d-flex","flex-column",2,"height","calc(100vh - 80px)","align-items","center","justify-content","center"],[4,"ngIf","ngIfElse"],["elseTemplate",""],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["name","check-circle-fill",2,"font-size","250%","color","green","margin-bottom","20px"],["name","x-circle-fill",2,"font-size","250%","color","red","margin-bottom","20px"]],template:function(e,t){if(1&e&&(Jo(0,"div",0),Go(1,CF,4,0,"ng-container",1),Go(2,EF,3,2,"ng-template",null,2,Ru),Xo()),2&e){const e=Zo(3);ps(1),Yo("ngIf",!t.res)("ngIfElse",e)}},directives:[qd,sA],styles:[""]}),e})();function TF(e,t){1&e&&(ta(0),Jo(1,"p",9),Na(2," Aktuell sind keine Produkte in unserem Literatur-Shop verf\xfcgbar. "),Xo(),na())}function OF(e,t){1&e&&ea(0,"app-seminar-cards",10),2&e&&Yo("displayedSeminare",ua().literaturprodukte)("pageSize",10)}const IF=[{path:"home",component:zT,data:{animation:!0}},{path:"seminare",component:TT,data:{animation:!0}},{path:"e-learning-shop",component:(()=>{class e{constructor(e){this.seminarService=e,this.elearningproducts=[]}ngOnInit(){this.seminarService.getELearning().pipe(ey(e=>void 0!==e)).subscribe(e=>{e&&e.length>0&&(this.elearningproducts=cw(e,!0))})}}return e.\u0275fac=function(t){return new(t||e)(Ko(eA))},e.\u0275cmp=je({type:e,selectors:[["app-e-learning-shop"]],decls:3,vars:2,consts:[[2,"margin","2em 0em 1.5em 0em"],[3,"displayedSeminare","pageSize"]],template:function(e,t){1&e&&(Jo(0,"h3",0),Na(1,"E-Learning-Shop"),Xo(),ea(2,"app-seminar-cards",1)),2&e&&(ps(2),Yo("displayedSeminare",t.elearningproducts)("pageSize",10))},directives:[dT],styles:[""]}),e})(),data:{animation:!0}},{path:"merchandise-shop",component:(()=>{class e{constructor(e){this.seminarService=e,this.merchandiseproducts=[]}ngOnInit(){this.seminarService.getMerchandise().pipe(ey(e=>void 0!==e)).subscribe(e=>{e&&e.length>0&&(this.merchandiseproducts=cw(e,!0))})}}return e.\u0275fac=function(t){return new(t||e)(Ko(eA))},e.\u0275cmp=je({type:e,selectors:[["app-merchandise-shop"]],decls:3,vars:2,consts:[[2,"margin","2em 0em 1.5em 0em"],[3,"displayedSeminare","pageSize"]],template:function(e,t){1&e&&(Jo(0,"h3",0),Na(1,"Merchandise-Shop"),Xo(),ea(2,"app-seminar-cards",1)),2&e&&(ps(2),Yo("displayedSeminare",t.merchandiseproducts)("pageSize",10))},directives:[dT],styles:[""]}),e})(),data:{animation:!0}},{path:"literatur-shop",component:(()=>{class e{constructor(e){this.seminarService=e,this.literaturprodukte=[]}ngOnInit(){this.seminarService.getLiteratur().pipe(ey(e=>void 0!==e)).subscribe(e=>{this.literaturprodukte=e&&e.length>0?cw(e,!0):null})}}return e.\u0275fac=function(t){return new(t||e)(Ko(eA))},e.\u0275cmp=je({type:e,selectors:[["app-literatur-shop"]],decls:24,vars:2,consts:[[2,"margin","2em 0em 1.5em 0em"],[4,"ngIf","ngIfElse"],["elseTemplate",""],["href","https://shop.bahn-fachverlag.de/","target","new"],["href","https://www.system-bahn.net/","target","new"],["href","https://www.bahn-fachverlag.de/programm/","target","new"],[2,"display","flex","justify-content","center","margin-top","2em"],["href","https://www.bahn-fachverlag.de/shop/","target","new",2,"width","70%"],["src","/media/pages/literatur-shop/bahn_fachverlag.jpg","alt","Bahn Fachverlag"],[2,"margin-bottom","1em"],[3,"displayedSeminare","pageSize"]],template:function(e,t){if(1&e&&(Jo(0,"h3",0),Na(1,"Literatur-Shop"),Xo(),Go(2,TF,3,0,"ng-container",1),Go(3,OF,1,2,"ng-template",null,2,Ru),ea(5,"hr"),Jo(6,"div"),Jo(7,"p"),Jo(8,"strong"),Na(9,"Fachpublikationen unseres Partners: Bahn Fachverlag"),Xo(),Xo(),Jo(10,"p"),Na(11," Als etablierter Bildungsdienstleister f\xfcr das System Bahn und den \xd6PNV stellt der Bahn Fachverlag wertvolle Ressourcen f\xfcr die Aus- und Weiterbildung, den Quereinstieg sowie den Berufsalltag bereit. Mit Fachb\xfccher, Fachzeitschriften und digitalen Bildungsmaterialien liefert er praxisnahes Wissen und eine fundierte Grundlage, um Anforderungen im Lern- und Berufsalltag vorbereitet entgegentreten zu k\xf6nnen. "),Xo(),Jo(12,"p"),Jo(13,"a",3),Na(14,"Fachbuchshop Bahn Fachverlag"),Xo(),ea(15,"br"),Jo(16,"a",4),Na(17,"Fachportal SYSTEM||BAHN"),Xo(),ea(18,"br"),Jo(19,"a",5),Na(20,"Verlagsprogramm Bahn Fachverlag "),Xo(),Xo(),Jo(21,"div",6),Jo(22,"a",7),ea(23,"img",8),Xo(),Xo(),Xo()),2&e){const e=Zo(4);ps(2),Yo("ngIf",null===t.literaturprodukte)("ngIfElse",e)}},directives:[qd,dT],styles:[""]}),e})(),data:{animation:!0}},{path:"karriereplan",component:eO},{path:"kontakt",component:TP},{path:"newsletter",component:_F},{path:"newsletter/activate",component:AF},{path:"newsletter/activate/:activateId",component:AF},{path:"foren/:iframeurl",component:$T,data:{animation:!0}},{path:"admin/login",component:nO},{path:"admin/home",component:SI},{path:"admin/pages",component:LI},{path:"admin/orders",component:_P},{path:"admin/menu",component:CP},{path:"admin/media",component:SP},{path:"admin/editPage/:id",component:gP},{path:"admin/previewPage/:id",component:AP},{path:"seminare/:number",component:TT},{path:"page/:firstPath",component:AP},{path:"page/:firstPath/:secondPath",component:AP},{path:"anfrage/inhouse/:inhouseseminar",component:OP},{path:"anfrage/seminar/:seminar",component:OP},{path:"kasse",component:bI},{path:"account",component:PP},{path:"passwortReset",component:vF},{path:"account/historie",component:bF},{path:"",redirectTo:"/home",pathMatch:"full"}];let PF=(()=>{class e{}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[qv.forRoot(IF,{useHash:!1,relativeLinkResolution:"legacy"})],qv]}),e})();const FF=function(){return["/admin/home"]};function MF(e,t){if(1&e){const e=ra();Jo(0,"button",52),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(1,"Admin"),Xo()}2&e&&Yo("routerLink",nu(1,FF))}function RF(e,t){if(1&e){const e=ra();Jo(0,"app-cart",53),aa("openState",function(t){Rt(e);const n=ua(),r=Zo(16);return n.closePop(t,r)}
1)("navigate",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Xo()}}function NF(e,t){if(1&e){const e=ra();Na(0,"Warenkorb "),Jo(1,"a",54),aa("click",function(){return Rt(e),ua(),Zo(16).close()}),ea(2,"app-icon",55),Xo()}}function LF(e,t){if(1&e&&(Jo(0,"span",56),Na(1),Xo()),2&e){const e=ua();ps(1),La(e.cartAmount)}}const BF=function(){return["/account"]},VF=function(){return["/account/historie"]};function zF(e,t){if(1&e){const e=ra();ta(0),Jo(1,"p",59),Na(2,"Willkommen "),Jo(3,"i"),Na(4),Xo(),Na(5,"!"),Xo(),Jo(6,"div",60),Jo(7,"a",61),aa("click",function(){Rt(e);const t=ua(2),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(8,"Pers\xf6nliche Daten verwalten"),Xo(),Jo(9,"a",61),aa("click",function(){Rt(e);const t=ua(2),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(10,"Bestellhistorie"),Xo(),Jo(11,"a",62),aa("click",function(){Rt(e);const t=ua(2),n=Zo(25),r=Zo(16);return[t.collapseMenus(!0,[n,r]),t.logoutCustomer()]}),Na(12,"Ausloggen"),Xo(),Xo(),na()}if(2&e){const e=ua(2);ps(4),La(e.token.decoded.vorname+" "+e.token.decoded.nachname),ps(3),Yo("routerLink",nu(3,BF)),ps(2),Yo("routerLink",nu(4,VF))}}const $F=function(){return{standalone:!0}};function jF(e,t){if(1&e){const e=ra();Jo(0,"div",63),Jo(1,"form",64),aa("ngSubmit",function(){return Rt(e),ua(2).loginCustomer()}),Jo(2,"input",65),aa("ngModelChange",function(t){return Rt(e),ua(2).accountInput.email=t}),Xo(),Jo(3,"input",66),aa("ngModelChange",function(t){return Rt(e),ua(2).accountInput.passwort=t}),Xo(),Jo(4,"a",67),aa("click",function(){return Rt(e),ua(2).forgotPassword()}),Jo(5,"small"),Na(6,"Passwort vergessen?"),Xo(),Xo(),ea(7,"br"),Jo(8,"button",68),Na(9,"einloggen"),Xo(),Xo(),Xo()}if(2&e){const e=ua(2);ps(2),Yo("ngModel",e.accountInput.email)("ngModelOptions",nu(4,$F)),ps(1),Yo("ngModel",e.accountInput.passwort)("ngModelOptions",nu(5,$F))}}function UF(e,t){if(1&e&&(Go(0,zF,13,5,"ng-container",57),Go(1,jF,10,6,"ng-template",null,58,Ru)),2&e){const e=Zo(2),t=ua();Yo("ngIf",t.token&&t.token.decoded)("ngIfElse",e)}}function HF(e,t){if(1&e){const e=ra();Na(0,"Konto "),Jo(1,"a",54),aa("click",function(){return Rt(e),ua(),Zo(25).close()}),ea(2,"app-icon",55),Xo()}}const qF=function(){return["/page/eisenbahn-und-stadtbahnforen"]},WF=function(){return["/page/punktforen"]},GF=function(){return["/page/foren-archiv"]},ZF=function(){return["page/interner-bereich"]};function KF(e,t){if(1&e){const e=ra();Jo(0,"li",69,70),Jo(2,"a",71),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!1,[n,r])}),Na(3,"Foren"),Xo(),Jo(4,"div",72),Jo(5,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(6,"Stadtbahn- und Eisenbahnforen"),Xo(),Jo(7,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(8,"Punktforen"),Xo(),Jo(9,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(10,"Archiv"),Xo(),Jo(11,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(12,"Login"),Xo(),Xo(),Xo()}2&e&&(ps(5),Yo("routerLink",nu(4,qF)),ps(2),Yo("routerLink",nu(5,WF)),ps(2),Yo("routerLink",nu(6,GF)),ps(2),Yo("routerLink",nu(7,ZF)))}const YF=function(){return["/page/inhouse-und-firmenseminare"]},QF=function(){return["/page/virtuelles-klassenzimmer"]},JF=function(){return["/page/praesenzschulungen"]},XF=function(){return["/page/voraussetzung-funktionsausbildung"]};function eM(e,t){if(1&e){const e=ra();Jo(0,"li",69,70),Jo(2,"a",71),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!1,[n,r])}),Na(3,"Leistungen"),Xo(),Jo(4,"div",72),Jo(5,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(6,"Inhouse- und Firmenschulungen"),Xo(),Jo(7,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(8,"Virtuelles Klassenzimmer"),Xo(),Jo(9,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(10,"Pr\xe4senzschulungen"),Xo(),Jo(11,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(12,"Nachhaltige Funktionsausbildungen"),Xo(),Xo(),Xo()}2&e&&(ps(5),Yo("routerLink",nu(4,YF)),ps(2),Yo("routerLink",nu(5,QF)),ps(2),Yo("routerLink",nu(6,JF)),ps(2),Yo("routerLink",nu(7,XF)))}const tM=function(){return["/e-learning-shop"]}
1,nM=function(){return["/literatur-shop"]};function rM(e,t){if(1&e){const e=ra();Jo(0,"li",69,70),Jo(2,"a",74),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(3,"Shops"),Xo(),Jo(4,"div",72),Jo(5,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(6,"E-Learning"),Xo(),Jo(7,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(8,"Literatur"),Xo(),Xo(),Xo()}2&e&&(ps(5),Yo("routerLink",nu(2,tM)),ps(2),Yo("routerLink",nu(3,nM)))}const iM=function(){return["/page/unser-team"]},sM=function(){return["/page/imagefilm"]},oM=function(){return["/page/Serviceangebot"]};function aM(e,t){if(1&e){const e=ra();Jo(0,"li",69,70),Jo(2,"a",71),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!1,[n,r])}),Na(3,"\xdcber uns"),Xo(),Jo(4,"div",72),Jo(5,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(6,"Team"),Xo(),Jo(7,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(8,"Imagefilm"),Xo(),Jo(9,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(10,"Serviceangebot"),Xo(),Xo(),Xo()}2&e&&(ps(5),Yo("routerLink",nu(3,iM)),ps(2),Yo("routerLink",nu(4,sM)),ps(2),Yo("routerLink",nu(5,oM)))}const lM=function(){return["/newsletter"]};function cM(e,t){if(1&e){const e=ra();Jo(0,"li",69,70),Jo(2,"a",71),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!1,[n,r])}),Na(3,"Aktuelles"),Xo(),Jo(4,"div",72),Jo(5,"button",73),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(6,"Newsletter"),Xo(),Jo(7,"button",75),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Jo(8,"a",76),Na(9,"Blog"),Xo(),Xo(),Jo(10,"button",77),aa("click",function(){Rt(e);const t=ua(),n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Jo(11,"a",78),Na(12,"Jahresprogramm 2026"),Xo(),Xo(),Xo(),Xo()}2&e&&(ps(5),Yo("routerLink",nu(1,lM)))}const uM=function(){return{exact:!0}},hM=function(){return["seminare"]},dM=function(){return["/kontakt"]},pM=function(){return["/page/zertifizierung"]},fM=function(){return["/page/teilnahme-und-zahlungsbedingungen"]},mM=function(){return["/page/datenschutzerkl\xe4rung"]},gM=function(){return["/page/impressum"]};let yM=(()=>{class e{constructor(e,t,n,r,i,s){this.apiService=e,this.toastrService=t,this.authService=n,this.cartService=r,this.router=i,this.seminarService=s,this.date=new Date,this.claim="",this.isLoggedIn=!1,this.isMenuCollapsed=!0,this.accountInput={email:void 0,passwort:void 0},this.pages=[],this.router.events.pipe(Lg(e=>e instanceof cy)).subscribe(e=>{window.scrollTo(0,0)}),this.authService.$token.subscribe(e=>{e&&Object.keys(e).length>0&&(this.token=e,e.decoded.admin&&(this.claim="Admin",this.isLoggedIn=!0))}),this.cartService.$cartContent.pipe(x(e=>e.length)).subscribe(e=>{this.cartAmount=e}),this.apiService.getPages().pipe(ey()).subscribe(e=>{e&&(this.pages=e)})}loginCustomer(){let e=this.accountInput.email,t=this.accountInput.passwort;e&&""!=e&&t&&""!=t&&(t=tO("sha256").update(t).digest("hex"),this.authService.login(e,t,"customer").subscribe(e=>{console.log("res",e),!0===e?this.toastrService.success("Der Login war erfolgreich."):this.toastrService.warning("Bitte \xfcberpr\xfcfen Sie die eingegebenen Daten.","Der Login war nicht erfolgreich.")}))}forgotPassword(){this.accountInput.email?this.apiService.requestPasswordReset(this.accountInput.email).pipe(ey()).subscribe(e=>{e&&"OK"==e.status&&this.toastrService.success("Bitte kontrollieren Sie Ihr Emailpostfach und folgen Sie den Anweisungen in der Email.","Passwort zur\xfccksetzen angefragt")}):this.toastrService.warning("Bitte geben Sie die Email zu ihrem Kundenkonto ein")}collapseMenus(e,t){e&&(this.isMenuCollapsed=!0),t&&t.length>0&&t.forEach(e=>{e.close()})}logoutCustomer(){this.router.navigateByUrl("/"),setTimeout(()=>{this.authService.logout(!0)})}searchSeminar(){}ngOnInit(){}closePop(e,t){e||t.close()}
1openPop(e,t){e&&t.toggle()}prepareRoute(e){return e&&e.activatedRouteData&&e.activatedRouteData.animation}share(e){switch(e){case"copy":tA(window.location.href,this.toastrService);break;case"mail":window.open("mailto:?subject="+document.title+"&body="+window.location.href)}}}return e.\u0275fac=function(t){return new(t||e)(Ko(Hw),Ko(g_),Ko(Uw),Ko(XE),Ko(Ov),Ko(eA))},e.\u0275cmp=je({type:e,selectors:[["app-root"]],decls:107,vars:36,consts:[[1,"fixed-top"],[1,"navbar","navbar-expand-md","navbar-light","bg-light","shadow","pt-0","pr-0"],["href","#",1,"navbar-brand"],["src","../assets/BWS_Logo.svg","alt","",1,"mr-3",2,"height","50px","margin-left","-3px"],["type","button",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],["id","navWrapper",1,"ml-auto","d-flex","flex-column"],["id","navbarsExampleDefault",1,"collapse","navbar-collapse","justify-content-end",3,"ngbCollapse"],["id","miniNav",1,"text-right"],["class","btn btn-sm noradius border border-top-0 border-right-0","routerLinkActive","active",3,"routerLink","click",4,"ngIf"],["cartPopContent",""],["cartPopTitle",""],["placement","bottom-right","triggers","manual","routerLinkActive","active",1,"btn","btn-sm","cartBtn","noradius","border","border-top-0","border-right-0",3,"ngbPopover","popoverTitle","popoverClass","autoClose","click"],["cartPop","ngbPopover"],["name","bag"],["class","cartCounter",4,"ngIf"],["accountPopContent",""],["accountPopTitle",""],["placement","bottom-right","popoverClass","cartPopover account","triggers","manual","routerLinkActive","active",1,"btn","btn-sm","noradius","border","border-top-0","border-right-0",3,"ngbPopover","popoverTitle","autoClose","click"],["accountPop","ngbPopover"],["href","https://rsv.gmbh",1,"btn","btn-sm","noradius","border","border-top-0"],["src","../assets/img/rsv_logo.png",2,"height","25px","min-width","104px !important","max-width","104px"],[1,"navbar-nav"],[1,"nav-item"],["href","#","routerLink","home","routerLinkActive","active",1,"nav-link",3,"routerLinkActiveOptions","click"],["href","#","routerLinkActive","active",1,"nav-link",3,"routerLink","routerLinkActiveOptions","click"],["class","nav-item d-inline-block","ngbDropdown","",4,"ngIf"],["role","main",1,"container"],["id","mainRouter"],["o","outlet"],["id","sharePage",1,"shadow-top"],[1,"d-flex","container","h-100","align-items-center","justify-content-between"],[1,"mb-0","text-white"],[1,"d-flex"],["href","https://www.xing.com/pages/rhombergsersavosslohgmbh",1,"sociallink"],["name","xing",1,"socialicon"],["href","https://www.linkedin.com/company/bahnwege-seminare/",1,"sociallink"],["name","linkedin",1,"socialicon"],["href","https://www.facebook.com/groups/312836082626316",1,"sociallink"],["name","facebook",1,"socialicon"],[1,"container","py-5"],[1,"row"],[1,"col-md-3","col-12"],[1,"mb-0"],[1,"col-md-9","col-12"],[1,"row","mt-4"],[1,"col-12","text-justify"],[1,"copyright","py-4","border","border-right-0","border-left-0","border-bottom-0"],[1,"container",2,"display","flex"],["id","footerMenu",1,"list-unstyled",2,"display","flex","width","75%","margin-bottom","0px","justify-content","space-between"],["href","#","routerLinkActive","active",3,"routerLink","click"],[1,"text-right","text-muted","border-secondary",2,"width","25%"],["routerLinkActive","active",1,"btn","btn-sm","noradius","border","border-top-0","border-right-0",3,"routerLink","click"],[3,"openState","navigate"],["href","javascript:void(0)",3,"click"],["name","x"],[1,"cartCounter"],[4,"ngIf","ngIfElse"],["noToken",""],[1,"mb-2"],[1,"list-group"],["href","#",1,"list-group-item","list-group-item-action",3,"routerLink","click"],["href","#",1,"list-group-item","list-group-item-action",3,"click"],[1,"text-right"],[3,"ngSubmit"],["type","text","placeholder","Email","aria-label","Email",1,"form-control","mr-sm-2",3,"ngModel","ngModelOptions","ngModelChange"],["type","password","placeholder","Passwort","aria-label","Passwort",1,"form-control","mr-sm-2","mt-2",3,"ngModel","ngModelOptions","ngModelChange"],["href","javascript:void(0);",3,"click"],["type","submit",1,"mt-2","btn","primaryBg","text-white"],["ngbDropdown","",1,"nav-item","d-inline-block"],["myDrop2","ngbDropdown"],["href","javascript:void(0)","id","dropdownManual3","ngbDropdownToggle","",1,"nav-link",3,"click"],["ngbDropdownMenu","","aria-labelledby","dropdownManual",1,"shadow","mt-2","dropdown-menu-right",2,"z-index","-1"],["ngbDropdownItem","","routerLinkActive","active",3,"routerLink","click"],["href","javascript:void(0)","id","dropdownManual4","ngbDropdownToggle","",1,"nav-link",3,"click"],["ngbDropdownItem","",3,"click"],["href","https://blog.rsv.gmbh/",2,"color","#000"],["ngbDropdownItem","","routerLinkActive","active",3,"click"],["href","/media/pages/home/BWS_Jahresuebersicht_2026.pdf","target","_new",2,"color","#000"]],template:function(e,t){if(1&e){const e=ra();Jo(0,"div",0),Jo(1,"nav",1),Jo(2,"a",2),ea(3,"img",3),Na(4),Xo(),Jo(5,"button",4),aa("click",function(){return t.isMenuCollapsed=!t.isMenuCollapsed}),ea(6,"span",5),Xo(),Jo(7,"div",6),Jo(8,"div",7),Jo(9,"div",8),Go(10,MF,2,2,"button",9),Go(11,RF,1,0,"ng-template",null,10,Ru),Go(13,NF,3,0,"ng-template",null,11,Ru),Jo(15,"button",12,13),aa("click",function(){Rt(e);const n=Zo(16),r=Zo(25);return[t.openPop(!0,n),t.collapseMenus(!1,[r])]}),Na(17,"Warenkorb \xa0"),ea(18,"app-icon",14),Go(19,LF,2,1,"span",15),Xo(),Go(20,UF,3,2,"ng-template",null,16,Ru),Go(22,HF,3,0,"ng-template",null,17,Ru),Jo(24,"button",18,19),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return[t.openPop(!0,n),t.collapseMenus(!1,[r])]}),Na(26,"Konto"),Xo(),Jo(27,"a",20),ea(28,"img",21),Xo(),Xo(),Jo(29,"ul",22),Jo(30,"li",23),Jo(31,"a",24),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(32,"Home"),Xo(),Xo(),Jo(33,"li",23),Jo(34,"a",25),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(35,"Seminare"),Xo(),Xo(),Go(36,KF,13,8,"li",26),Go(37,eM,13,8,"li",26),Go(38,rM,9,4,"li",26),Go(39,aM,11,6,"li",26),Go(40,cM,13,2,"li",26),Xo(),Xo(),Xo(),Xo(),Xo(),Jo(41,"main",27),ea(42,"router-outlet",28,29),Xo(),Jo(44,"section",30),Jo(45,"div",31),Jo(46,"p",32),Na(47," Folgen Sie uns auf: "),Xo(),Jo(48,"div",33),Jo(49,"a",34),ea(50,"app-icon",35),Xo(),Jo(51,"a",36),ea(52,"app-icon",37),Xo(),Jo(53,"a",38),ea(54,"app-icon",39),Xo(),Xo(),Xo(),Xo(),Jo(55,"footer"),Jo(56,"div",40),Jo(57,"div",41),Jo(58,"div",42),Jo(59,"p",43),Jo(60,"strong"),Na(61,"Schulungszentrum"),Xo(),ea(62,"br"),Na(63," Rhomberg Sersa Vossloh GmbH"),ea(64,"br"),Na(6
15," Industriepark Region Trier"),ea(66,"br"),Na(67," Jean-Monnet-Stra\xdfe 14"),ea(68,"br"),Na(69," D \u2013 54343 F\xf6hren"),Xo(),Xo(),Jo(70,"div",44),Jo(71,"p",43),ea(72,"br"),ea(73,"br"),Na(74," Tel: +49 6502 98790 \u2013 00"),ea(75,"br"),Na(76," Email: info(at)bahnwege-seminare.de "),Xo(),Xo(),Xo(),Jo(77,"div",45),Jo(78,"div",46),Jo(79,"small"),Jo(80,"strong"),Na(81,"Gender-Hinweis:"),Xo(),ea(82,"br"),Na(83," Aus Gr\xfcnden der besseren Lesbarkeit wird bei Personenbezeichnungen und personenbezogenen Hauptw\xf6rtern auf unserer Homepage das generische Maskulinum verwendet. Entsprechende Begriffe gelten im Sinne der Gleichbehandlung grunds\xe4tzlich f\xfcr alle Geschlechter. Die verk\xfcrzte Sprachform beinhaltet keine Wertung."),Xo(),Xo(),Xo(),Xo(),Jo(84,"div",47),Jo(85,"div",48),Jo(86,"ul",49),Jo(87,"li"),Jo(88,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(89,"Kontakt"),Xo(),Xo(),Jo(90,"li"),Jo(91,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(92,"Newsletter"),Xo(),Xo(),Jo(93,"li"),Jo(94,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(95,"Zertifizierung"),Xo(),Xo(),Jo(96,"li"),Jo(97,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(98,"Teilnahme und Zahlungsbedingungen"),Xo(),Xo(),Jo(99,"li"),Jo(100,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(101,"Datenschutz"),Xo(),Xo(),Jo(102,"li"),Jo(103,"a",50),aa("click",function(){Rt(e);const n=Zo(25),r=Zo(16);return t.collapseMenus(!0,[n,r])}),Na(104,"Impressum"),Xo(),Xo(),Xo(),Jo(105,"div",51),Na(106),Xo(),Xo(),Xo(),Xo()}if(2&e){const e=Zo(12),n=Zo(14),r=Zo(21),i=Zo(23),s=Zo(43);ps(4),Ba(" ",t.claim,""),ps(4),Yo("ngbCollapse",t.isMenuCollapsed),ps(2),Yo("ngIf",t.isLoggedIn),ps(5),Yo("ngbPopover",e)("popoverTitle",n)("popoverClass",0==t.cartAmount?"cartPopover empty":"cartPopover")("autoClose",!1),ps(4),Yo("ngIf",t.cartAmount>0),ps(5),Yo("ngbPopover",r)("popoverTitle",i)("autoClose",!1),ps(7),Yo("routerLinkActiveOptions",nu(27,uM)),ps(3),Yo("routerLink",nu(28,hM))("routerLinkActiveOptions",nu(29,uM)),ps(2),Yo("ngIf",t.pages.length>0),ps(1),Yo("ngIf",t.pages.length>0),ps(1),Yo("ngIf",t.pages.length>0),ps(1),Yo("ngIf",t.pages.length>0),ps(1),Yo("ngIf",t.pages.length>0),ps(1),Yo("@myAnimation",s.isActivated?s.activatedRoute:""),ps(47),Yo("routerLink",nu(30,dM)),ps(3),Yo("routerLink",nu(31,lM)),ps(3),Yo("routerLink",nu(32,pM)),ps(3),Yo("routerLink",nu(33,fM)),ps(3),Yo("routerLink",nu(34,mM)),ps(3),Yo("routerLink",nu(35,gM)),ps(3),Ba(" \xa9 ",t.date.getFullYear()," Bahnwege-Seminare ")}},directives:[Ux,ZD,qd,Mv,BE,sA,Pv,Rv,Iv,ZO,DS,RC,_S,dC,MC,kS,Zx,Gx,qx,Hx],styles:["#sharePage .sociallink .socialicon{max-height:32px;width:32px;margin-left:1em;color:#fff}  #sharePage .sociallink .socialicon svg{fill:#fff}  #sharePage .sociallink:hover .socialicon svg{fill:hsla(0,0%,100%,.8)}"],data:{animation:[jp("myAnimation",[Zp("* => *",[Wp({position:"relative"}),Yp(":enter",[Wp({top:0,right:0,width:"100%"})],{optional:!0}),Yp(":leave",[Wp({position:"absolute",top:0,right:0,width:"100%"})],{optional:!0}),Yp(":enter",[Wp({opacity:0})],{optional:!0}),Yp(":leave",Kp(),{optional:!0}),Hp([Yp(":leave",[Up("0.1s ease-out",Wp({opacity:0}))],{optional:!0}),Yp(":enter",[Up("0.6s ease-out",Wp({opacity:1}))],{optional:!0})]),Yp(":enter",Kp(),{optional:!0})])])]}}),e})();const bM="Service workers are disabled or not supported by this browser";class vM{constructor(e){if(this.serviceWorker=e,e){const t=C_(e,"controllerchange").pipe(x(()=>e.controller)),n=Cg(Dg(()=>dg(e.controller)),t);this.worker=n.pipe(Lg(e=>!!e)),this.registration=this.worker.pipe(xg(()=>e.getRegistration()));const r=C_(e,"message").pipe(x(e=>e.data)).pipe(Lg(e=>e&&e.type)).pipe(J(new S));r.connect(),this.events=r}else this.worker=this.events=this.registration=Dg(()=>Q_(new Error("Service workers are disabled or not supported by this browser")))}postMessage(e,t){return this.worker.pipe(Og(1),ny(n=>{n.postMessage(Object.assign({action:e},t))})).toPromise().then(()=>{})}
1postMessageWithStatus(e,t,n){const r=this.waitForStatus(n),i=this.postMessage(e,t);return Promise.all([r,i]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(e){return this.events.pipe(Lg(t=>t.type===e))}nextEventOfType(e){return this.eventsOfType(e).pipe(Og(1))}waitForStatus(e){return this.eventsOfType("STATUS").pipe(Lg(t=>t.nonce===e),Og(1),x(e=>{if(!e.status)throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let wM=(()=>{class e{constructor(e){if(this.sw=e,this.subscriptionChanges=new S,!e.isEnabled)return this.messages=R_,this.notificationClicks=R_,void(this.subscription=R_);this.messages=this.sw.eventsOfType("PUSH").pipe(x(e=>e.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(x(e=>e.data)),this.pushManager=this.sw.registration.pipe(x(e=>e.pushManager));const t=this.pushManager.pipe(xg(e=>e.getSubscription()));this.subscription=q(t,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(e){if(!this.sw.isEnabled)return Promise.reject(new Error(bM));const t={userVisibleOnly:!0};let n=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),r=new Uint8Array(new ArrayBuffer(n.length));for(let i=0;i<n.length;i++)r[i]=n.charCodeAt(i);return t.applicationServerKey=r,this.pushManager.pipe(xg(e=>e.subscribe(t)),Og(1)).toPromise().then(e=>(this.subscriptionChanges.next(e),e))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Og(1),xg(e=>{if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then(e=>{if(!e)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(bM))}decodeBase64(e){return atob(e)}}return e.\u0275fac=function(t){return new(t||e)(pr(vM))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})(),_M=(()=>{class e{constructor(e){if(this.sw=e,!e.isEnabled)return this.available=R_,this.activated=R_,void(this.unrecoverable=R_);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(bM));const e=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(bM));const e=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:e},e)}}return e.\u0275fac=function(t){return new(t||e)(pr(vM))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();class CM{}const SM=new Yn("NGSW_REGISTER_SCRIPT");function kM(e,t,n,r){return()=>{if(!ap(r)||!("serviceWorker"in navigator)||!1===n.enabled)return;let i;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)i=n.registrationStrategy();else{const[t,...r]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(t){case"registerImmediately":i=dg(null);break;case"registerWithDelay":i=DM(+r[0]||0);break;case"registerWhenStable":i=r[0]?q(xM(e),DM(+r[0])):xM(e);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}e.get(rh).runOutsideAngular(()=>i.pipe(Og(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:n.scope}).catch(e=>console.error("Service worker registration failed with:",e))))}}function DM(e){return dg(null).pipe(eC(e))}function xM(e){return e.get(kh).isStable.pipe(Lg(e=>e))}function EM(e,t){return new vM(ap(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}let AM=(()=>{class e{static register(t,n={}){return{ngModule:e,providers:[{provide:SM,useValue:t},{provide:CM,useValue:n},{provide:vM,useFactory:EM,deps:[CM,ju]},{provide:Nu,useFactory:kM,deps:[Ao,SM,CM,ju],multi:!0}]}}}return e.\u0275mod=We({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[wM,_M]}),e})();var TM=n("VLs4"),OM=n.n(TM),IM=n("qnrZ"),PM=n.n(IM);let FM=(()=>{class e extends px{constructor(){super(...arguments),this.DELIMITER="."}fromModel(e){if(e){let t=e.split(this.DELIMITER);return{day:parseInt(t[0],10),month:parseInt(t[1],10),year:parseInt(t[2],10)}}return null}toModel(e){return e?(1==e.day.toString().length?`0${e.day}`:e.day)+this.DELIMITER+(1==e.month.toString().length?`0${e.month}
1`:e.month)+this.DELIMITER+e.year:null}}return e.\u0275fac=function(t){return MM(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const MM=Gn(FM);let RM=(()=>{class e extends Fx{constructor(){super(...arguments),this.DELIMITER="."}parse(e){if(e){let t=e.split(this.DELIMITER);return{day:parseInt(t[0],10),month:parseInt(t[1],10),year:parseInt(t[2],10)}}return null}format(e){return e?(1==e.day.toString().length?`0${e.day}`:e.day)+this.DELIMITER+(1==e.month.toString().length?`0${e.month}`:e.month)+this.DELIMITER+e.year:""}}return e.\u0275fac=function(t){return NM(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e})();const NM=Gn(RM);var LM,BM,VM;LM=OM.a,VM=PM.a,"string"!=typeof(BM="de-DE")&&(VM=BM,BM=LM[Ya.LocaleId]),BM=BM.toLowerCase().replace(/_/g,"-"),Wa[BM]=LM,VM&&(Wa[BM][Ya.ExtraData]=VM);let zM=(()=>{class e{}return e.\u0275mod=We({type:e,bootstrap:[yM]}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:qu,useValue:"de-DE"},{provide:Wu,useValue:"EUR"},{provide:px,useClass:FM},{provide:Fx,useClass:RM}],imports:[[zp,hg,PF,$w,BS,VS,w_.forRoot({positionClass:"toast-bottom-right"}),AM.register("/ngsw-worker.js",{enabled:!0}),QE]]}),e})();(function(){if(gh)throw new Error("Cannot enable prod mode after platform setup.");mh=!1})(),Bp().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]]]);

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