1/*! For license information please see main-es2015.9d4605b85652929eaf7a.js.LICENSE.txt */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},kYxd:function(t,e){},zUnb:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.r(e);let o=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function s(t){setTimeout(()=>{throw t})}const l={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;s(t)},complete(){}},a=Array.isArray||(t=>t&&"number"==typeof t.length);function c(t){return null!==t&&"object"==typeof t}function u(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}u.prototype=Object.create(Error.prototype);const h=u;let d=(()=>{class t{constructor(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let t,e=!1;if(this.closed)return;let{_parent:n,_parents:o,_unsubscribe:r,_subscriptions:s}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let l=-1,u=o?o.length:0;for(;n;)n.remove(this),n=++l<u&&o[l]||null;if(i(r))try{r.call(this)}catch(d){e=!0,t=d instanceof h?g(d.errors):[d]}if(a(s))for(l=-1,u=s.length;++l<u;){const n=s[l];if(c(n))try{n.unsubscribe()}catch(d){e=!0,t=t||[],d instanceof h?t=t.concat(g(d.errors)):t.push(d)}}if(e)throw new h(t)}add(e){let n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){const t=this._subscriptions;t?t.push(n):this._subscriptions=[n]}return n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}_addParent(t){let{_parent:e,_parents:n}=this;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function g(t){return t.reduce((t,e)=>t.concat(e instanceof h?e.errors:e),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class m extends d{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof m?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,t,e,n)}}[p](){return this}static create(t,e,n){const i=new m(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:t,_parents:e}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this}}class f extends m{constructor(t,e,n,o){let r;super(),this._parentSubscriber=t;let s=this;i(e)?r=e:e&&(r=e.next,n=e.error,o=e.complete,e!==l&&(s=Object.create(e),i(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=r,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=r;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):s(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;s(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(t,e,n){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(s(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const _="function"==typeof Symbol&&Symbol.observable||"@@observable";function v(){}function y(...t){return C(t)}function C(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:v}let b=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:i}=this,o=function(t,e,n){if(t){if(t instanceof m)return t;if(t[p])return t[p]()}return t||e||n?new m(t,e,n):new m(l)}(t,e,n);if(o.add(i?i.call(o,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),r.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof m?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=P(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(o){n(o),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[_](){return this}pipe(...t){return 0===t.length?this:C(t)(this)}toPromise(t){return new(t=P(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function P(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function x(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}x.prototype=Object.create(Error.prototype);const O=x;class M extends d{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}
2unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class w extends m{constructor(t){super(t),this.destination=t}}let k=(()=>{class t extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new w(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new O;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let o=0;o<n;o++)i[o].next(t)}}error(t){if(this.closed)throw new O;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let o=0;o<n;o++)i[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new O;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new O;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new O;return this.hasError?(t.error(this.thrownError),d.EMPTY):this.isStopped?(t.complete(),d.EMPTY):(this.observers.push(t),new M(this,t))}asObservable(){const t=new b;return t.source=this,t}}return t.create=(t,e)=>new S(t,e),t})();class S extends k{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):d.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class T extends m{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const A=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()},I=t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s),e);function D(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const L=D(),N=t=>e=>{const n=t[L]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e},R=t=>e=>{const n=t[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)},j=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function z(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const F=t=>{if(t instanceof b)return e=>t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e);if(t&&"function"==typeof t[_])return R(t);if(j(t))return A(t);if(z(t))return I(t);if(t&&"function"==typeof t[L])return N(t);{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}};function V(t,e,n,i,o=new T(t,n,i)){if(!o.closed)return F(e)(o)}class B extends m{notifyNext(t,e,n,i,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function H(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new $(t,e))}}class ${constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new U(t,this.project,this.thisArg))}}class U extends m{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function W(t,e){return new b(e?n=>{const i=new d;let o=0;return i.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()}
2))),i}:A(t))}function q(t,e){if(!e)return t instanceof b?t:new b(F(t));if(null!=t){if(function(t){return t&&"function"==typeof t[_]}(t))return function(t,e){return new b(e?n=>{const i=new d;return i.add(e.schedule(()=>{const o=t[_]();i.add(o.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i}:R(t))}(t,e);if(z(t))return function(t,e){return new b(e?n=>{const i=new d;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i}:I(t))}(t,e);if(j(t))return W(t,e);if(function(t){return t&&"function"==typeof t[L]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new b(e?n=>{const i=new d;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(e.schedule(()=>{o=t[L](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=o.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i}:N(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function G(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(G((n,i)=>q(t(n,i)).pipe(H((t,o)=>e(n,t,i,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new K(t,n)))}class K{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new X(t,this.project,this.concurrent))}}class X extends B{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const i=new T(this,void 0,void 0);this.destination.add(i),V(this,t,e,n,i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,i,o){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Q(t){return t}function Z(t=Number.POSITIVE_INFINITY){return G(Q,t)}function Y(...t){let e=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return E(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof b?t[0]:Z(e)(W(t,n))}function J(){return function(t){return t.lift(new tt(t))}}class tt{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new et(t,n),o=e.subscribe(i);return i.closed||(i.connection=n.connect()),o}}class et extends m{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}const nt=class extends b{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new d,t.add(this.source.subscribe(new ot(this.getSubject(),this))),t.closed?(this._connection=null,t=d.EMPTY):this._connection=t),t}refCount(){return J()(this)}}.prototype,it={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:nt._subscribe},_isComplete:{value:nt._isComplete,writable:!0},getSubject:{value:nt.getSubject},connect:{value:nt.connect},refCount:{value:nt.refCount}};class ot extends w{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function rt(){return new k}function st(t,e,n){const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return i.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,i){const o=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;o.length<=i;)o.push(null);return(o[i]=o[i]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}const lt=st("Inject",t=>({token:t})),at=st("Optional"),ct=st("Self"),ut=st("SkipSelf");var ht=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function dt(t){for(let e in t)if(t[e]===dt)return e;throw Error("Could not find renamed property on target object.")}function gt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pt(t){const e=t[mt];return e&&e.token===t?e:null}const mt=dt({ngInjectableDef:dt});function ft(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(ft).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const _t=dt({__forward_ref__:dt});function vt(t){return t.__forward_ref__=vt,t.toString=function(){return ft(this())},t}function yt(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(_t)&&e.__forward_ref__===vt?e():t}const Ct="undefined"!=typeof globalThis&&globalThis,bt="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,xt="undefined"!=typeof global&&global,Ot=Ct||xt||bt||Pt;class Mt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=gt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const wt=new Mt("INJECTOR",-1),kt=new Object,St=/\n/gm,Et=dt({provide:String,useValue:dt});let Tt=void 0;function At(t){const e=Tt;return Tt=t,e}function It(t,e=ht.Default){return function(t,e=ht.Default){if(void 0===Tt)throw new Error("inject() must be called from an injection context");return null===Tt?function(t,e,n){const i=pt(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&ht.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ft(t)}]`)}(t,0,e):Tt.get(t,e&ht.Optional?null:void 0,e)}(t,e)}const Dt=It;class Lt{get(t,e=kt){if(e===kt){const e=new Error(`NullInjectorError: No provider for ${ft(t)}!`);throw e.name="NullInjectorError",e}return e}}function Nt(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=ft(e);if(e instanceof Array)o=e.map(ft).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];
vendor: 4,385 bytes, line 2
2t.push(n+":"+("string"==typeof i?JSON.stringify(i):ft(i)))}o=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${t.replace(St,"\n ")}`}class Rt{}class jt{}function zt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ft(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Vt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Bt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ot))();function Ht(t){return t.ngDebugContext}function $t(t){return t.ngOriginalError}function Ut(t,...e){t.error(...e)}class Wt{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Ut}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Ht(t)?Ht(t):this._findContext($t(t)):null}_findOriginalError(t){let e=$t(t);for(;e&&$t(e);)e=$t(e);return e}}let qt=!0,Gt=!1;function Kt(){return Gt=!0,qt}class Xt{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(i){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Qt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Zt=/^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 Yt(t){return(t=String(t)).match(Qt)||t.match(Zt)?t:(Kt()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function Jt(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function te(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ee=Jt("area,br,col,hr,img,wbr"),ne=Jt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ie=Jt("rp,rt"),oe=te(ie,ne),re=te(ee,te(ne,Jt("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")),te(ie,Jt("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")),oe),se=Jt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),le=Jt("srcset"),ae=te(se,le,Jt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
2olspan,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"),Jt("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")),ce=Jt("script,style,template");class ue{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!re.hasOwnProperty(e))return this.sanitizedSomething=!0,!ce.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let o=0;o<n.length;o++){const t=n.item(o),e=t.name,r=e.toLowerCase();if(!ae.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;se[r]&&(s=Yt(s)),le[r]&&(i=s,s=(i=String(i)).split(",").map(t=>Yt(t.trim())).join(", ")),this.buf.push(" ",e,'="',ge(s),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();re.hasOwnProperty(e)&&!ee.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(ge(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const he=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,de=/([^\#-~ |!])/g;function ge(t){return t.replace(/&/g,"&").replace(he,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(de,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let pe;function me(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const fe=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class _e{}const ve=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ye=/^url\(([^)]+)\)$/,Ce=/([A-Z])/g;function be(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}let Pe=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xe(),t})();const xe=(...t)=>{},Oe=new Mt("The presence of this token marks an injector as being the root injector."),Me=function(t,e,n){return new Ae(t,e,n)};let we=(()=>{class t{static create(t,e){return Array.isArray(t)?Me(t,e,""):Me(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=kt,t.NULL=new Lt,t.ngInjectableDef=gt({token:t,providedIn:"any",factory:()=>It(wt)}),t.__NG_ELEMENT_ID__=-1,t})();const ke=function(t){return t},Se=[],Ee=ke,Te=function(){return Array.prototype.slice.call(arguments)};class Ae{constructor(t,e=we.NULL,n=null){this.parent=e,this.source=n;const i=this._records=new Map;i.set(we,{token:we,fn:ke,deps:Se,value:this,useNew:!1}),i.set(wt,{token:wt,fn:ke,deps:Se,value:this,useNew:!1}),function t(e,n){if(n)if((n=yt(n))instanceof Array)for(let i=0;i<n.length;i++)t(e,n[i]);else{if("function"==typeof n)throw De("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw De("Unexpected provider",n);{let t=yt(n.provide);const i=function(t){const e=function(t){let e=Se;const n=t.deps;if(n&&n.length){e=[];for(let t=0;t<n.length;t++){let i=6,o=yt(n[t]);if(o instanceof Array)for(let t=0,e=o;t<e.length;t++){const n=e[t];n instanceof at||n==at?i|=1:n instanceof ut||n==ut?i&=-3:n instanceof ct||n==ct?i&=-5:o=n instanceof lt?n.token:yt(n)}
vendor: 37,439 bytes, line 2
2e.push({token:o,options:i})}}else if(t.useExisting)e=[{token:yt(t.useExisting),options:6}];else if(!n&&!(Et in t))throw De("'deps' required",t);return e}(t);let n=ke,i=Se,o=!1,r=yt(t.provide);if(Et in t)i=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=yt(t.useClass);else{if("function"!=typeof r)throw De("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=r}return{deps:e,fn:n,useNew:o,value:i}}(n);if(!0===n.multi){let i=e.get(t);if(i){if(i.fn!==Te)throw Ie(t)}else e.set(t,i={token:n.provide,deps:[],useNew:!1,fn:Te,value:Se});t=n,i.deps.push({token:t,options:6})}const o=e.get(t);if(o&&o.fn==Te)throw Ie(t);e.set(t,i)}}}(i,t)}get(t,e,n=ht.Default){const i=this._records.get(t);try{return function t(e,n,i,o,r,s){try{return function(e,n,i,o,r,s){let l;if(!n||s&ht.SkipSelf)s&ht.Self||(l=o.get(e,r,ht.Default));else{if(l=n.value,l==Ee)throw Error("\u0275Circular dependency");if(l===Se){n.value=Ee;let e=void 0,r=n.useNew,s=n.fn,a=n.deps,c=Se;if(a.length){c=[];for(let e=0;e<a.length;e++){const n=a[e],r=n.options,s=2&r?i.get(n.token):void 0;c.push(t(n.token,s,i,s||4&r?o:we.NULL,1&r?null:we.THROW_IF_NOT_FOUND,ht.Default))}}n.value=l=r?new s(...c):s.apply(e,c)}}return l}(e,n,i,o,r,s)}catch(l){throw l instanceof Error||(l=new Error(l)),(l.ngTempTokenPath=l.ngTempTokenPath||[]).unshift(e),n&&n.value==Ee&&(n.value=Se),l}}(t,i,this._records,this.parent,e,n)}catch(o){return function(t,e,n,i){const o=t.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),t.message=Nt("\n"+t.message,o,"StaticInjectorError",i),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(o,t,0,this.source)}}toString(){const t=[];return this._records.forEach((e,n)=>t.push(ft(n))),`StaticInjector[${t.join(", ")}]`}}function Ie(t){return De("Cannot mix multi providers and regular providers",t)}function De(t,e){return new Error(Nt(t,e,"StaticInjectorError"))}const Le=new Mt("AnalyzeForEntryComponents");let Ne=null;function Re(){if(!Ne){const t=Ot.Symbol;if(t&&t.iterator)Ne=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ne=n)}}}return Ne}function je(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function ze(t,e){const n=Ve(t),i=Ve(e);if(n&&i)return function(t,e,n){const i=t[Re()](),o=e[Re()]();for(;;){const t=i.next(),e=o.next();if(t.done&&e.done)return!0;if(t.done||e.done)return!1;if(!n(t.value,e.value))return!1}}(t,e,ze);{const o=t&&("object"==typeof t||"function"==typeof t),r=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||i||!r)||je(t,e)}}class Fe{constructor(t){this.wrapped=t}static wrap(t){return new Fe(t)}static unwrap(t){return Fe.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Fe}}function Ve(t){return!!Be(t)&&(Array.isArray(t)||!(t instanceof Map)&&Re()in t)}function Be(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function He(t){return!!t&&"function"==typeof t.then}function $e(t){return!!t&&"function"==typeof t.subscribe}class Ue{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}class We{}function qe(t){const e=Error(`No component factory found for ${ft(t)}. Did you add it to @NgModule.entryComponents?`);return e[Ge]=t,e}const Ge="ngComponent";class Ke{resolveComponentFactory(t){throw qe(t)}}let Xe=(()=>{class t{}return t.NULL=new Ke,t})();class Qe{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let i=0;i<t.length;i++){const e=t[i];this._factories.set(e.componentType,e)}}resolveComponentFactory(t){let e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw qe(t);return new Ze(e,this._ngModule)}}class Ze extends We{constructor(t,e){super(),this.factory=t,this.ngModule=e,this.selector=t.selector,this.componentType=t.componentType,this.ngContentSelectors=t.ngContentSelectors,this.inputs=t.inputs,this.outputs=t.outputs}create(t,e,n,i){return this.factory.create(t,e,n,i||this.ngModule)}}function Ye(...t){}let Je=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>tn(t),t})();const tn=Ye;class en{}class nn{}const on=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let rn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>sn(),t})();const sn=Ye;class ln{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const an=new ln("8.2.14");class cn{constructor(){}supports(t){return Ve(t)}create(t){return new hn(t)}}const un=(t,e)=>e;class hn{constructor(t){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=t||un}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,o=null;for(;e||n;){const r=!n||e&&e.currentIndex<mn(n,i,o)?e:n,s=mn(r,i,o),l=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{o||(o=[]);const t=s-i,e=l-i;if(t!=e){for(let n=0;n<t;n++){const i=n<o.length?o[n]:o[n]=0,r=i+n;e<=r&&r<t&&(o[n]=i+1)}o[r.previousIndex]=e-t}}s!==l&&t(r,s,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ve(t))throw new Error(`Error trying to diff '${ft(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,o=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==o&&je(o.trackById,i)?(r&&(o=this._verifyReinsertion(o,n,i,e)),je(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,i,e),r=!0),o=o._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Re()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==o&&je(o.trackById,i)?(r&&(o=this._verifyReinsertion(o,t,i,e)),je(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,i,e),r=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(je(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(je(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,i)):t=this._addAfter(new dn(e,n),o,i),t}_verifyReinsertion(t,e,n,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new pn),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pn),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class dn{constructor(t,e){this.item=t,this.trackById=e,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 gn{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&je(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class pn{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new gn,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mn(t,e,n){const i=t.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+e+o}class fn{constructor(){}supports(t){return t instanceof Map||Be(t)}create(){return new _n}}class _n{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Be(t)))throw new Error(`Error trying to diff '${ft(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,o=n._next;return i&&(i._next=o),o&&(o._prev=i),n._next=null,n._prev=null,n}const n=new vn(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){je(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class vn{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let yn=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ut,new at]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=gt({token:t,providedIn:"root",factory:()=>new t([new cn])}),t})(),Cn=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ut,new at]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=gt({token:t,providedIn:"root",factory:()=>new t([new fn])}),t})();const bn=[new fn],Pn=new yn([new cn]),xn=new Cn(bn);let On=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Mn(t,Je),t})();const Mn=Ye;let wn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>kn(t,Je),t})();const kn=Ye;function Sn(t,e,n,i){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return i&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return En(n,e),n}(o,t)}function En(t,e){t.ngDebugContext=e,t.ngErrorLogger=e.logError.bind(e)}function Tn(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function An(t,e,n){const i=t.state,o=1792&i;return o===e?(t.state=-1793&i|n,t.initIndex=-1,!0):o===n}function In(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Dn(t,e){return t.nodes[e]}function Ln(t,e){return t.nodes[e]}function Nn(t,e){return t.nodes[e]}function Rn(t,e){return t.nodes[e]}function jn(t,e){return t.nodes[e]}const zn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Fn=()=>{},Vn=new Map;function Bn(t){let e=Vn.get(t);return e||(e=ft(t)+"_"+Vn.size,Vn.set(t,e)),e}function Hn(t){return{id:"$$undefined",styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let $n=0;function Un(t,e,n,i){return!(!(2&t.state)&&je(t.oldValues[e.bindingIndex+n],i))}function Wn(t,e,n,i){return!!Un(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function qn(t,e,n,i){const o=t.oldValues[e.bindingIndex+n];if(1&t.state||!ze(o,i)){const r=e.bindings[n].name;throw Sn(zn.createDebugContext(t,e.nodeIndex),`${r}: ${o}`,`${r}: ${i}`,0!=(1&t.state))}}function Gn(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Kn(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Xn(t,e,n,i){try{return Gn(33554432&t.def.nodes[e].flags?Ln(t,e).componentView:t),zn.handleEvent(t,e,n,i)}catch(o){t.root.errorHandler.handleError(o)}}function Qn(t){return t.parent?Ln(t.parent,t.parentNodeDef.nodeIndex):null}function Zn(t){return t.parent?t.parentNodeDef.parent:null}function Yn(t,e){switch(201347067&e.flags){case 1:return Ln(t,e.nodeIndex).renderElement;case 2:return Dn(t,e.nodeIndex).renderText}}function Jn(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ti(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function ei(t){return 1<<t%32}function ni(t){const e={};let n=0;const i={};return t&&t.forEach(([t,o])=>{"number"==typeof t?(e[t]=o,n|=ei(t)):i[t]=o}),{matchedQueries:e,references:i,matchedQueryIds:n}}function ii(t,e){return t.map(t=>{let n,i;return Array.isArray(t)?[i,n]=t:(i=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,"__source",{value:e,configurable:!0}),{flags:i,token:n,tokenKey:Bn(n)}})}function oi(t,e,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===Vt.Native?Ln(t,n.renderParent.nodeIndex).renderElement:void 0:e}const ri=new WeakMap;function si(t){let e=ri.get(t);return e||(e=t(()=>Fn),e.factory=t,ri.set(t,e)),e}function li(t,e,n,i,o){3===e&&(n=t.renderer.parentNode(Yn(t,t.def.lastRenderRootNode))),ai(t,e,0,t.def.nodes.length-1,n,i,o)}function ai(t,e,n,i,o,r,s){for(let l=n;l<=i;l++){const n=t.def.nodes[l];11&n.flags&&ui(t,n,e,o,r,s),l+=n.childCount}}function ci(t,e,n,i,o,r){let s=t;for(;s&&!Jn(s);)s=s.parent;const l=s.parent,a=Zn(s),c=a.nodeIndex+a.childCount;for(let u=a.nodeIndex+1;u<=c;u++){const t=l.def.nodes[u];t.ngContentIndex===e&&ui(l,t,n,i,o,r),u+=t.childCount}if(!l.parent){const s=t.root.projectableNodes[e];if(s)for(let e=0;e<s.length;e++)hi(t,s[e],n,i,o,r)}}function ui(t,e,n,i,o,r){if(8&e.flags)ci(t,e.ngContent.index,n,i,o,r);else{const s=Yn(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&hi(t,s,n,i,o,r),32&e.bindingFlags&&hi(Ln(t,e.nodeIndex).componentView,s,n,i,o,r)):hi(t,s,n,i,o,r),16777216&e.flags){const s=Ln(t,e.nodeIndex).viewContainer._embeddedViews;for(let t=0;t<s.length;t++)li(s[t],n,i,o,r)}1&e.flags&&!e.element.name&&ai(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,i,o,r)}}function hi(t,e,n,i,o,r){const s=t.renderer;switch(n){case 1:s.appendChild(i,e);break;case 2:s.insertBefore(i,e,o);break;case 3:s.removeChild(i,e);break;case 0:r.push(e)}}const di=/^:([^:]+):(.+)$/;function gi(t){if(":"===t[0]){const e=t.match(di);return[e[1],e[2]]}return["",t]}function pi(t){let e=0;for(let n=0;n<t.length;n++)e|=t[n].flags;return e}function mi(t,e,n,i,o,r,s,l,a,c,u,h,d,g,p,m,f,_,v,y){switch(t){case 1:return e+fi(n)+i;case 2:return e+fi(n)+i+fi(o)+r;case 3:return e+fi(n)+i+fi(o)+r+fi(s)+l;case 4:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c;case 5:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c+fi(u)+h;case 6:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c+fi(u)+h+fi(d)+g;case 7:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c+fi(u)+h+fi(d)+g+fi(p)+m;case 8:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c+fi(u)+h+fi(d)+g+fi(p)+m+fi(f)+_;case 9:return e+fi(n)+i+fi(o)+r+fi(s)+l+fi(a)+c+fi(u)+h+fi(d)+g+fi(p)+m+fi(f)+_+fi(v)+y;default:throw new Error("Does not support more than 9 expressions")}}function fi(t){return null!=t?t.toString():""}const _i=new Object,vi=Bn(we),yi=Bn(wt),Ci=Bn(Rt);function bi(t,e,n,i){return n=yt(n),{index:-1,deps:ii(i,ft(e)),flags:t,token:e,value:n}}function Pi(t,e,n=we.THROW_IF_NOT_FOUND){const i=At(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);const s=e.tokenKey;switch(s){case vi:case yi:case Ci:return t}const l=t._def.providersByKey[s];let a;if(l){let e=t._providers[l.index];return void 0===e&&(e=t._providers[l.index]=xi(t,l)),e===_i?void 0:e}if((a=pt(e.token))&&(o=t,null!=(r=a).providedIn&&(function(t,e){return t._def.modules.indexOf(e)>-1}(o,r.providedIn)||"root"===r.providedIn&&o._def.isRoot))){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:e.token},t._providers[n]=_i,t._providers[n]=xi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{At(i)}var o,r}function xi(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const i=n.length;switch(i){case 0:return new e;case 1:return new e(Pi(t,n[0]));case 2:return new e(Pi(t,n[0]),Pi(t,n[1]));case 3:return new e(Pi(t,n[0]),Pi(t,n[1]),Pi(t,n[2]));default:const o=new Array(i);for(let e=0;e<i;e++)o[e]=Pi(t,n[e]);return new e(...o)}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){const i=n.length;switch(i){case 0:return e();case 1:return e(Pi(t,n[0]));case 2:return e(Pi(t,n[0]),Pi(t,n[1]));case 3:return e(Pi(t,n[0]),Pi(t,n[1]),Pi(t,n[2]));default:const o=Array(i);for(let e=0;e<i;e++)o[e]=Pi(t,n[e]);return e(...o)}}(t,e.value,e.deps);break;case 2048:n=Pi(t,e.deps[0]);break;case 256:n=e.value}return n===_i||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?_i:n}function Oi(t,e){const n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;const i=n[e];return i.viewContainerParent=null,Ft(n,e),zn.dirtyParentQueries(i),wi(i),i}function Mi(t,e,n){const i=e?Yn(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(i),r=n.renderer.nextSibling(i);li(n,2,o,r,void 0)}function wi(t){li(t,3,null,null,void 0)}const ki=new Object;function Si(t,e,n,i,o,r){return new Ei(t,e,n,i,o,r)}class Ei extends We{constructor(t,e,n,i,o,r){super(),this.selector=t,this.componentType=e,this._inputs=i,this._outputs=o,this.ngContentSelectors=r,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,i){if(!i)throw new Error("ngModule should be provided");const o=si(this.viewDefFactory),r=o.nodes[0].element.componentProvider.nodeIndex,s=zn.createRootView(t,e||[],n,o,i,ki),l=Nn(s,r).instance;return n&&s.renderer.setAttribute(Ln(s,0).renderElement,"ng-version",an.full),new Ti(s,new Li(s),l)}}class Ti extends class{}{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new Je(Ln(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new zi(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function Ai(t,e,n){return new Ii(t,e,n)}class Ii{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new Je(this._data.renderElement)}get injector(){return new zi(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=Zn(t),t=t.parent;return t?new zi(t,e):new zi(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Oi(this._data,t);zn.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Li(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,o){const r=n||this.parentInjector;o||t instanceof Ze||(o=r.get(Rt));const s=t.create(r,i,void 0,o);return this.insert(s.hostView,e),s}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,i){let o=e.viewContainer._embeddedViews;null==n&&(n=o.length),i.viewContainerParent=t,zt(o,n,i),function(t,e){const n=Qn(e);if(!n||n===t||16&e.state)return;e.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,i),zn.dirtyParentQueries(i),Mi(e,n>0?o[n-1]:null,i)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const i=t.viewContainer._embeddedViews,o=i[e];Ft(i,e),null==n&&(n=i.length),zt(i,n,o),zn.dirtyParentQueries(o),wi(o),Mi(t,n>0?i[n-1]:null,o)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Oi(this._data,t);e&&zn.destroyView(e)}detach(t){const e=Oi(this._data,t);return e?new Li(e):null}}function Di(t){return new Li(t)}class Li{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return li(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Gn(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{zn.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){zn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),zn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,wi(this._view),zn.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function Ni(t,e){return new Ri(t,e)}class Ri extends On{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Li(zn.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new Je(Ln(this._parentView,this._def.nodeIndex).renderElement)}}function ji(t,e){return new zi(t,e)}class zi{constructor(t,e){this.view=t,this.elDef=e}get(t,e=we.THROW_IF_NOT_FOUND){return zn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Bn(t)},e)}}function Fi(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Ln(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Dn(t,n.nodeIndex).renderText;if(20240&n.flags)return Nn(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Vi(t){return new Bi(t.renderer)}class Bi{constructor(t){this.delegate=t}selectRootElement(t){return this.delegate.selectRootElement(t)}createElement(t,e){const[n,i]=gi(e),o=this.delegate.createElement(i,n);return t&&this.delegate.appendChild(t,o),o}createViewRoot(t){return t}createTemplateAnchor(t){const e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e}createText(t,e){const n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n}projectNodes(t,e){for(let n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])}attachViewAfter(t,e){const n=this.delegate.parentNode(t),i=this.delegate.nextSibling(t);for(let o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],i)}detachView(t){for(let e=0;e<t.length;e++){const n=t[e],i=this.delegate.parentNode(n);this.delegate.removeChild(i,n)}}destroyView(t,e){for(let n=0;n<e.length;n++)this.delegate.destroyNode(e[n])}listen(t,e,n){return this.delegate.listen(t,e,n)}listenGlobal(t,e,n){return this.delegate.listen(t,e,n)}setElementProperty(t,e,n){this.delegate.setProperty(t,e,n)}setElementAttribute(t,e,n){const[i,o]=gi(e);null!=n?this.delegate.setAttribute(t,o,n,i):this.delegate.removeAttribute(t,o,i)}setBindingDebugInfo(t,e,n){}setElementClass(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)}setElementStyle(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)}invokeElementMethod(t,e,n){t[e].apply(t,n)}setText(t,e){this.delegate.setValue(t,e)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Hi(t,e,n,i){return new $i(t,e,n,i)}class $i{constructor(t,e,n,i){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){const e=t._def,n=t._providers=new Array(e.providers.length);for(let i=0;i<e.providers.length;i++){const o=e.providers[i];4096&o.flags||void 0===n[i]&&(n[i]=xi(t,o))}}(this)}get(t,e=we.THROW_IF_NOT_FOUND,n=ht.Default){let i=0;return n&ht.SkipSelf?i|=1:n&ht.Self&&(i|=4),Pi(this,{token:t,tokenKey:Bn(t),flags:i},e)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Xe)}destroy(){if(this._destroyed)throw new Error(`The ng module ${ft(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(t,e){const n=t._def,i=new Set;for(let o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){const e=t._providers[o];if(e&&e!==_i){const t=e.ngOnDestroy;"function"!=typeof t||i.has(e)||(t.apply(e),i.add(e))}}}(this),this._destroyListeners.forEach(t=>t())}onDestroy(t){this._destroyListeners.push(t)}}const Ui=Bn(en),Wi=Bn(rn),qi=Bn(Je),Gi=Bn(wn),Ki=Bn(On),Xi=Bn(Pe),Qi=Bn(we),Zi=Bn(wt);function Yi(t,e,n,i,o,r,s,l){const a=[];if(s)for(let u in s){const[t,e]=s[u];a[t]={flags:8,name:u,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const c=[];if(l)for(let u in l)c.push({type:1,propName:u,target:null,eventName:l[u]});return to(t,e|=16384,n,i,o,o,r,a,c)}function Ji(t,e,n,i,o){return to(-1,t,e,0,n,i,o)}function to(t,e,n,i,o,r,s,l,a){const{matchedQueries:c,references:u,matchedQueryIds:h}=ni(n);a||(a=[]),l||(l=[]),r=yt(r);const d=ii(s,ft(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:u,ngContentIndex:-1,childCount:i,bindings:l,bindingFlags:pi(l),outputs:a,element:null,provider:{token:o,value:r,deps:d},text:null,query:null,ngContent:null}}function eo(t,e){return ro(t,e)}function no(t,e){let n=t;for(;n.parent&&!Jn(n);)n=n.parent;return so(n.parent,Zn(n),!0,e.provider.value,e.provider.deps)}function io(t,e){const n=so(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let i=0;i<e.outputs.length;i++){const o=e.outputs[i],r=n[o.propName];if(!$e(r))throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=r.subscribe(oo(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+i]=n.unsubscribe.bind(n)}}return n}function oo(t,e,n){return i=>Xn(t,e,n,i)}function ro(t,e){const n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return so(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,o){const r=o.length;switch(r){case 0:return i();case 1:return i(ao(t,e,n,o[0]));case 2:return i(ao(t,e,n,o[0]),ao(t,e,n,o[1]));case 3:return i(ao(t,e,n,o[0]),ao(t,e,n,o[1]),ao(t,e,n,o[2]));default:const s=Array(r);for(let i=0;i<r;i++)s[i]=ao(t,e,n,o[i]);return i(...s)}}(t,e.parent,n,i.value,i.deps);case 2048:return ao(t,e.parent,n,i.deps[0]);case 256:return i.value}}function so(t,e,n,i,o){const r=o.length;switch(r){case 0:return new i;case 1:return new i(ao(t,e,n,o[0]));case 2:return new i(ao(t,e,n,o[0]),ao(t,e,n,o[1]));case 3:return new i(ao(t,e,n,o[0]),ao(t,e,n,o[1]),ao(t,e,n,o[2]));default:const s=new Array(r);for(let i=0;i<r;i++)s[i]=ao(t,e,n,o[i]);return new i(...s)}}const lo={};function ao(t,e,n,i,o=we.THROW_IF_NOT_FOUND){if(8&i.flags)return i.token;const r=t;2&i.flags&&(o=null);const s=i.tokenKey;s===Xi&&(n=!(!e||!e.element.componentView)),e&&1&i.flags&&(n=!1,e=e.parent);let l=t;for(;l;){if(e)switch(s){case Ui:return Vi(co(l,e,n));case Wi:return co(l,e,n).renderer;case qi:return new Je(Ln(l,e.nodeIndex).renderElement);case Gi:return Ln(l,e.nodeIndex).viewContainer;case Ki:if(e.element.template)return Ln(l,e.nodeIndex).template;break;case Xi:return Di(co(l,e,n));case Qi:case Zi:return ji(l,e);default:const t=(n?e.element.allProviders:e.element.publicProviders)[s];if(t){let e=Nn(l,t.nodeIndex);return e||(e={instance:ro(l,t)},l.nodes[t.nodeIndex]=e),e.instance}}n=Jn(l),e=Zn(l),l=l.parent,4&i.flags&&(l=null)}const a=r.root.injector.get(i.token,lo);return a!==lo||o===lo?a:r.root.ngModule.injector.get(i.token,o)}function co(t,e,n){let i;if(n)i=Ln(t,e.nodeIndex).componentView;else for(i=t;i.parent&&!Jn(i);)i=i.parent;return i}function uo(t,e,n,i,o,r){if(32768&n.flags){const e=Ln(t,n.parent.nodeIndex).componentView;2&e.def.flags&&(e.state|=8)}if(e.instance[n.bindings[i].name]=o,524288&n.flags){r=r||{};const e=Fe.unwrap(t.oldValues[n.bindingIndex+i]);r[n.bindings[i].nonMinifiedName]=new Ue(e,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+i]=o,r}function ho(t,e){if(!(t.def.nodeFlags&e))return;const n=t.def.nodes;let i=0;for(let o=0;o<n.length;o++){const r=n[o];let s=r.parent;for(!s&&r.flags&e&&po(t,o,r.flags&e,i++),0==(r.childFlags&e)&&(o+=r.childCount);s&&1&s.flags&&o===s.nodeIndex+s.childCount;)s.directChildFlags&e&&(i=go(t,s,e,i)),s=s.parent}}function go(t,e,n,i){for(let o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){const e=t.def.nodes[o];e.flags&n&&po(t,o,e.flags&n,i++),o+=e.childCount}return i}function po(t,e,n,i){const o=Nn(t,e);if(!o)return;const r=o.instance;r&&(zn.setCurrentNode(t,e),1048576&n&&In(t,512,i)&&r.ngAfterContentInit(),2097152&n&&r.ngAfterContentChecked(),4194304&n&&In(t,768,i)&&r.ngAfterViewInit(),8388608&n&&r.ngAfterViewChecked(),131072&n&&r.ngOnDestroy())}const mo=new Mt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Bt}),fo={},_o=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),vo=void 0;var yo=["en",[["a","p"],["AM","PM"],vo],[["AM","PM"],vo,vo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],vo,[["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"]],vo,[["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}",vo,"{1} 'at' {0}",vo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];class Co extends k{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,o=t=>null,r=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(r=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(r=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(i,o,r);return t instanceof d&&t.add(s),s}}function bo(){return this._results[Re()]()}class Po{constructor(){this.dirty=!0,this._results=[],this.changes=new Co,this.length=0;const t=Re(),e=Po.prototype;e[t]||(e[t]=bo)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let i=0;i<e.length;i++){let o=e[i];Array.isArray(o)?(n===e&&(n=e.slice(0,i)),t(o,n)):n!==e&&n.push(o)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const xo=new Mt("Application Initializer");class Oo{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();He(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}const Mo=new Mt("AppId");function wo(){return`${ko()}${ko()}${ko()}`}function ko(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const So=new Mt("Platform Initializer"),Eo=new Mt("Platform ID"),To=new Mt("appBootstrapListener");class Ao{log(t){console.log(t)}warn(t){console.warn(t)}}const Io=new Mt("LocaleId");function Do(){throw new Error("Runtime compiler is not loaded")}const Lo=Do,No=Do,Ro=Do,jo=Do;class zo{constructor(){this.compileModuleSync=Lo,this.compileModuleAsync=No,this.compileModuleAndAllComponentsSync=Ro,this.compileModuleAndAllComponentsAsync=jo}clearCache(){}clearCacheFor(t){}getModuleId(t){}}class Fo{}let Vo,Bo;function Ho(){const t=Ot.wtf;return!(!t||(Vo=t.trace,!Vo)||(Bo=Vo.events,0))}const $o=Ho();function Uo(t,e){return null}const Wo=$o?function(t,e=null){return Bo.createScope(t,e)}:(t,e)=>Uo,qo=$o?function(t,e){return Vo.leaveScope(t,e),e}:(t,e)=>e,Go=(()=>Promise.resolve(0))();function Ko(t){"undefined"==typeof Zone?Go.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Xo{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Co(!1),this.onMicrotaskEmpty=new Co(!1),this.onStable=new Co(!1),this.onError=new Co(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,i,o,r,s)=>{try{return Jo(e),t.invokeTask(i,o,r,s)}finally{tr(e)}},onInvoke:(t,n,i,o,r,s,l)=>{try{return Jo(e),t.invoke(i,o,r,s,l)}finally{tr(e)}},onHasTask:(t,n,i,o)=>{t.hasTask(i,o),n===i&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Yo(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}
vendor: 4,521 bytes, line 2
2static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xo.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xo.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const o=this._inner,r=o.scheduleEventTask("NgZoneEvent: "+i,t,Zo,Qo,Qo);try{return o.runTask(r,e,n)}finally{o.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Qo(){}const Zo={};function Yo(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Jo(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function tr(t){t._nesting--,Yo(t)}class er{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Co,this.onMicrotaskEmpty=new Co,this.onStable=new Co,this.onError=new Co}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}class nr{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Xo.assertNotInAngularZone(),Ko(()=>{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())Ko(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,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(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}class ir{constructor(){this._applications=new Map,sr.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return sr.findTestabilityInTree(this,t,e)}}class or{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let rr,sr=new or;const lr=new Mt("AllowMultipleToken");class ar{constructor(t,e){this.name=t,this.token=e}}function cr(t,e,n=[]){const i="Platform: "+e,o=new Mt(i);return(e=[])=>{let r=ur();if(!r||r.injector.get(lr,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(rr&&!rr.destroyed&&!rr.injector.get(lr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");rr=t.get(hr);const e=t.get(So,null);e&&e.forEach(t=>t())}(we.create({providers:t,name:i}))}return function(t){const e=ur();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different c
2onfiguration has been created. Please destroy it first.");return e}(o)}}function ur(){return rr&&!rr.destroyed?rr:null}class hr{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t){let e;return e="noop"===t?new er:("zone.js"===t?void 0:t)||new Xo({enableLongStackTrace:Kt()}),e}(e?e.ngZone:void 0),i=[{provide:Xo,useValue:n}];return n.run(()=>{const e=we.create({providers:i,parent:this.injector,name:t.moduleType.name}),o=t.create(e),r=o.injector.get(Wt,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>pr(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,n){try{const i=n();return He(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=o.injector.get(Oo);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=dr({},e);return function(t,e,n){return t.get(Fo).createCompiler([e]).compileModuleAsync(n)}(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(gr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${ft(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}function dr(t,e){return Array.isArray(e)?e.reduce(dr,t):Object.assign({},t,e)}let gr=(()=>{class t{constructor(t,e,n,i,o,r){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Kt(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new b(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new b(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Xo.assertNotInAngularZone(),Ko(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Xo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Y(s,l.pipe(t=>{return J()((e=rt,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,it);return i.source=t,i.subjectFactory=n,i})(t));var e}))}bootstrap(t,e){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=t instanceof We?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n instanceof Ze?null:this._injector.get(Rt),o=n.create(we.NULL,[],e||n.selector,i);o.onDestroy(()=>{this._unloadComponent(o)});const r=o.injector.get(nr,null);return r&&o.injector.get(ir).registerApplication(o.location.nativeElement,r),this._loadComponent(o),Kt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,qo(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;pr(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(To,[]).concat(this._bootstrapListeners).forEac
2h(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),pr(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t._tickScope=Wo("ApplicationRef#tick()"),t})();function pr(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class mr{}class fr{}const _r={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class vr{constructor(t,e){this._compiler=t,this._config=e||_r}load(t){return this._compiler instanceof zo?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>yr(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),o="NgFactory";return void 0===i&&(i="default",o=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+o]).then(t=>yr(t,e,i))}}function yr(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Cr{constructor(t,e){this.name=t,this.callback=e}}class br{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Pr&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Pr extends br{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return function t(e,n,i){e.childNodes.forEach(e=>{e instanceof Pr&&(n(e)&&i.push(e),t(e,n,i))})}(this,t,e),e}queryAllNodes(t){const e=[];return function t(e,n,i){e instanceof Pr&&e.childNodes.forEach(e=>{n(e)&&i.push(e),e instanceof Pr&&t(e,n,i)})}(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof Pr)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}const xr=new Map,Or=function(t){return xr.get(t)||null};function Mr(t){xr.set(t.nativeNode,t)}const wr=cr(null,"core",[{provide:Eo,useValue:"unknown"},{provide:hr,deps:[we]},{provide:ir,deps:[]},{provide:Ao,deps:[]}]);function kr(){return Pn}function Sr(){return xn}function Er(t){return t||"en-US"}function Tr(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}class Ar{constructor(t){}}function Ir(t,e,n,i,o,r){t|=1;const{matchedQueries:s,references:l,matchedQueryIds:a}=ni(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a,references:l,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?si(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Fn},provider:null,text:null,query:null,ngContent:null}}function Dr(t,e,n,i,o,r,s=[],l,a,c,u,h){c||(c=Fn);const{matchedQueries:d,references:g,matchedQueryIds:p}=ni(n);let m=null,f=null;r&&([m,f]=gi(r)),l=l||[];const _=new Array(l.length);for(let C=0;C<l.length;C++){const[t,e,n]=l[C],[i,o]=gi(e);let r=void 0,s=void 0;switch(15&t){case 4:s=n;break;case 1:case 8:r=n}_[C]={flags:t,ns:i,name:o,nonMinifiedName:o,securityContext:r,suffix:s}}a=a||[];const v=new Array(a.length);for(let C=0;C<a.length;C++){const[t,e]=a[C];v[C]={type:0,target:t,eventName:e,propName:null}}const y=(s=s||[]).map(([t,e])=>{const[n,i]=gi(t);return[n,i,e]});return h=function(t){if(t&&"$$undefined"===t.id){const e=null!=t.encapsulation&&t.encapsulation!==Vt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+$n++:"$$empty"}return t&&"$$empty"===t.id&&(t=null),t||null}(h),u&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 28,909 bytes, line 2
2checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:g,ngContentIndex:i,childCount:o,bindings:_,bindingFlags:pi(_),outputs:v,element:{ns:m,name:f,attrs:y,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||Fn},provider:null,text:null,query:null,ngContent:null}}function Lr(t,e,n){const i=n.element,o=t.root.selectorOrNode,r=t.renderer;let s;if(t.parent||!o){s=i.name?r.createElement(i.name,i.ns):r.createComment("");const o=oi(t,e,n);o&&r.appendChild(o,s)}else s=r.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===Vt.ShadowDom);if(i.attrs)for(let l=0;l<i.attrs.length;l++){const[t,e,n]=i.attrs[l];r.setAttribute(s,e,n,t)}return s}function Nr(t,e,n,i){for(let s=0;s<n.outputs.length;s++){const l=n.outputs[s],a=Rr(t,n.nodeIndex,(r=l.eventName,(o=l.target)?`${o}:${r}`:r));let c=l.target,u=t;"component"===l.target&&(c=null,u=e);const h=u.renderer.listen(c||i,l.eventName,a);t.disposables[n.outputIndex+s]=h}var o,r}function Rr(t,e,n){return i=>Xn(t,e,n,i)}function jr(t,e,n,i){if(!Wn(t,e,n,i))return!1;const o=e.bindings[n],r=Ln(t,e.nodeIndex),s=r.renderElement,l=o.name;switch(15&o.flags){case 1:!function(t,e,n,i,o,r){const s=e.securityContext;let l=s?t.root.sanitizer.sanitize(s,r):r;l=null!=l?l.toString():null;const a=t.renderer;null!=r?a.setAttribute(n,o,l,i):a.removeAttribute(n,o,i)}(t,o,s,o.ns,l,i);break;case 2:!function(t,e,n,i){const o=t.renderer;i?o.addClass(e,n):o.removeClass(e,n)}(t,s,l,i);break;case 4:!function(t,e,n,i,o){let r=t.root.sanitizer.sanitize(fe.STYLE,o);if(null!=r){r=r.toString();const t=e.suffix;null!=t&&(r+=t)}else r=null;const s=t.renderer;null!=r?s.setStyle(n,i,r):s.removeStyle(n,i)}(t,o,s,l,i);break;case 8:!function(t,e,n,i,o){const r=e.securityContext;let s=r?t.root.sanitizer.sanitize(r,o):o;t.renderer.setProperty(n,i,s)}(33554432&e.flags&&32&o.flags?r.componentView:t,o,s,l,i)}return!0}function zr(t,e,n){let i=[];for(let o in n)i.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:ei(e),bindings:i},ngContent:null}}function Fr(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&ti(t);){let n=t.parentNodeDef;t=t.parent;const i=n.nodeIndex+n.childCount;for(let o=0;o<=i;o++){const i=t.def.nodes[o];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&jn(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}}if(134217728&t.def.nodeFlags)for(let n=0;n<t.def.nodes.length;n++){const e=t.def.nodes[n];134217728&e.flags&&536870912&e.flags&&jn(t,n).setDirty(),n+=e.childCount}}function Vr(t,e){const n=jn(t,e.nodeIndex);if(!n.dirty)return;let i,o=void 0;if(67108864&e.flags){const n=e.parent.parent;o=Br(t,n.nodeIndex,n.nodeIndex+n.childCount,e.query,[]),i=Nn(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Br(t,0,t.def.nodes.length-1,e.query,[]),i=t.component);n.reset(o);const r=e.query.bindings;let s=!1;for(let l=0;l<r.length;l++){const t=r[l];let e;switch(t.bindingType){case 0:e=n.first;break;case 1:e=n,s=!0}i[t.propName]=e}s&&n.notifyOnChanges()}function Br(t,e,n,i,o){for(let r=e;r<=n;r++){const e=t.def.nodes[r],n=e.matchedQueries[i.id];if(null!=n&&o.push(Hr(t,e,n)),1&e.flags&&e.element.template&&(e.element.template.nodeMatchedQueries&i.filterId)===i.filterId){const n=Ln(t,r);if((e.childMatchedQueries&i.filterId)===i.filterId&&(Br(t,r+1,r+e.childCount,i,o),r+=e.childCount),16777216&e.flags){const t=n.viewContainer._embeddedViews;for(let e=0;e<t.length;e++){const r=t[e],s=Qn(r);s&&s===n&&Br(r,0,r.def.nodes.length-1,i,o)}}const s=n.template._projectedViews;if(s)for(let t=0;t<s.length;t++){const e=s[t];Br(e,0,e.def.nodes.length-1,i,o)}}(e.childMatchedQueries&i.filterId)!==i.filterId&&(r+=e.childCount)}return o}function Hr(t,e,n){if(null!=n)switch(n){case 1:return Ln(t,e.nodeIndex).renderElement;case 0:return new Je(Ln(t,e.nodeIndex).renderElement);case 2:return Ln(t,e.nodeIndex).template;case 3:return Ln(t,e.nodeIndex).viewContainer;case 4:return Nn(t,e.nodeIndex).instance}}function $r(t,e,n){const i=oi(t,e,n);i&&ci(t,n.ngContent.index,1,i,null,void 0)}function Ur(t,e){return qr(32,t,new Array(e))}function Wr(t,e){const n=Object.keys(e),i=n.length,o=new Array(i);for(let r=0;r<i;r++){const t=n[r];o[e[t]]=t}return qr(64,t,o)}function qr(t,e,n){const i=new Array(n.length);for(let o=0;o<n.length;o++){const t=n[o];i[o]={flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:pi(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Gr(t,e,n){const i=new Array(n.length-1);for(let o=1;o<n.length;o++)i[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Kr(t,e,n){let i;const o=t.renderer;i=o.createText(n.text.prefix);const r=oi(t,e,n);return r&&o.appendChild(r,i),{renderText:i}}function Xr(t,e){return(null!=t?t.toString():"")+e.suffix}function Qr(t,e,n,i){let o=0,r=0,s=0,l=0,a=0,c=null,u=null,h=!1,d=!1,g=null;for(let p=0;p<e.length;p++){const t=e[p];if(t.nodeIndex=p,t.parent=c,t.bindingIndex=o,t.outputIndex=r,t.renderParent=u,s|=t.flags,a|=t.matchedQueryIds,t.element){const e=t.element;e.publicProviders=c?c.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,h=!1,d=!1,t.element.template&&(a|=t.element.template.nodeMatchedQueries)}if(Yr(c,t,e.length),o+=t.bindings.length,r+=t.outputs.length,!u&&3&t.flags&&(g=t),20224&t.flags){h||(h=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const e=0!=(32768&t.flags);0==(8192&t.flags)||e?c.element.publicProviders[Bn(t.provider.token)]=t:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Bn(t.provider.token)]=t),e&&(c.element.componentProvider=t)}if(c?(c.childFlags|=t.flags,c.directChildFlags|=t.flags,c.childMatchedQueries|=t.matchedQueryIds,t.element&&t.element.template&&(c.childMatchedQueries|=t.element.template.nodeMatchedQueries)):l|=t.flags,t.childCount>0)c=t,Zr(t)||(u=t);else for(;c&&p===c.nodeIndex+c.childCount;){const t=c.parent;t&&(t.childFlags|=c.childFlags,t.childMatchedQueries|=c.childMatchedQueries),c=t,u=c&&Zr(c)?c.renderParent:c}}return{factory:null,nodeFlags:s,rootNodeFlags:l,nodeMatchedQueries:a,flags:t,nodes:e,updateDirectives:n||Fn,updateRenderer:i||Fn,handleEvent:(t,n,i,o)=>e[n].element.handleEvent(t,i,o),bindingCount:o,outputCount:r,lastRenderRootNode:g}}function Zr(t){return 0!=(1&t.flags)&&null===t.element.name}function Yr(t,e,n){const i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function Jr(t,e,n,i){const o=ns(t.root,t.renderer,t,e,n);return is(o,t.component,i),os(o),o}function ts(t,e,n){const i=ns(t,t.renderer,null,null,e);return is(i,n,n),os(i),i}function es(t,e,n,i){const o=e.element.componentRendererType;let r;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,ns(t.root,r,t,e.element.componentProvider,n)}function ns(t,e,n,i,o){const r=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:r,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:s,initIndex:-1}}function is(t,e,n){t.component=e,t.context=n}function os(t){let e;Jn(t)&&(e=Ln(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,i=t.nodes;for(let o=0;o<n.nodes.length;o++){const r=n.nodes[o];let s;switch(zn.setCurrentNode(t,o),201347067&r.flags){case 1:const n=Lr(t,e,r);let l=void 0;if(33554432&r.flags){const e=si(r.element.componentView);l=zn.createComponentView(t,r,e,n)}Nr(t,l,r,n),s={renderElement:n,componentView:l,viewContainer:null,template:r.element.template?Ni(t,r):void 0},16777216&r.flags&&(s.viewContainer=Ai(t,r,s));break;case 2:s=Kr(t,e,r);break;case 512:case 1024:case 2048:case 256:s=i[o],s||4096&r.flags||(s={instance:eo(t,r)});break;case 16:s={instance:no(t,r)};break;case 16384:s=i[o],s||(s={instance:io(t,r)}),32768&r.flags&&is(Ln(t,r.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Po;break;case 8:$r(t,e,r),s=void 0}i[o]=s}gs(t,ds.CreateViewNodes),_s(t,201326592,268435456,0)}function rs(t){as(t),zn.updateDirectives(t,1),ps(t,ds.CheckNoChanges),zn.updateRenderer(t,1),gs(t,ds.CheckNoChanges),t.state&=-97}function ss(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,An(t,0,256),as(t),zn.updateDirectives(t,0),ps(t,ds.CheckAndUpdate),_s(t,67108864,536870912,0);let e=An(t,256,512);ho(t,2097152|(e?1048576:0)),zn.updateRenderer(t,0),gs(t,ds.CheckAndUpdate),_s(t,134217728,536870912,0),e=An(t,512,768),ho(t,8388608|(e?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,An(t,768,1024)}function ls(t,e,n,i,o,r,s,l,a,c,u,h,d){return 0===n?function(t,e,n,i,o,r,s,l,a,c,u,h){switch(201347067&e.flags){case 1:return function(t,e,n,i,o,r,s,l,a,c,u,h){const d=e.bindings.length;let g=!1;return d>0&&jr(t,e,0,n)&&(g=!0),d>1&&jr(t,e,1,i)&&(g=!0),d>2&&jr(t,e,2,o)&&(g=!0),d>3&&jr(t,e,3,r)&&(g=!0),d>4&&jr(t,e,4,s)&&(g=!0),d>5&&jr(t,e,5,l)&&(g=!0),d>6&&jr(t,e,6,a)&&(g=!0),d>7&&jr(t,e,7,c)&&(g=!0),d>8&&jr(t,e,8,u)&&(g=!0),d>9&&jr(t,e,9,h)&&(g=!0),g}(t,e,n,i,o,r,s,l,a,c,u,h);case 2:return function(t,e,n,i,o,r,s,l,a,c,u,h){let d=!1;const g=e.bindings,p=g.length;if(p>0&&Wn(t,e,0,n)&&(d=!0),p>1&&Wn(t,e,1,i)&&(d=!0),p>2&&Wn(t,e,2,o)&&(d=!0),p>3&&Wn(t,e,3,r)&&(d=!0),p>4&&Wn(t,e,4,s)&&(d=!0),p>5&&Wn(t,e,5,l)&&(d=!0),p>6&&Wn(t,e,6,a)&&(d=!0),p>7&&Wn(t,e,7,c)&&(d=!0),p>8&&Wn(t,e,8,u)&&(d=!0),p>9&&Wn(t,e,9,h)&&(d=!0),d){let d=e.text.prefix;p>0&&(d+=Xr(n,g[0])),p>1&&(d+=Xr(i,g[1])),p>2&&(d+=Xr(o,g[2])),p>3&&(d+=Xr(r,g[3])),p>4&&(d+=Xr(s,g[4])),p>5&&(d+=Xr(l,g[5])),p>6&&(d+=Xr(a,g[6])),p>7&&(d+=Xr(c,g[7])),p>8&&(d+=Xr(u,g[8])),p>9&&(d+=Xr(h,g[9]));const m=Dn(t,e.nodeIndex).renderText;t.renderer.setValue(m,d)}return d}(t,e,n,i,o,r,s,l,a,c,u,h);case 16384:return function(t,e,n,i,o,r,s,l,a,c,u,h){const d=Nn(t,e.nodeIndex),g=d.instance;let p=!1,m=void 0;const f=e.bindings.length;return f>0&&Un(t,e,0,n)&&(p=!0,m=uo(t,d,e,0,n,m)),f>1&&Un(t,e,1,i)&&(p=!0,m=uo(t,d,e,1,i,m)),f>2&&Un(t,e,2,o)&&(p=!0,m=uo(t,d,e,2,o,m)),f>3&&Un(t,e,3,r)&&(p=!0,m=uo(t,d,e,3,r,m)),f>4&&Un(t,e,4,s)&&(p=!0,m=uo(t,d,e,4,s,m)),f>5&&Un(t,e,5,l)&&(p=!0,m=uo(t,d,e,5,l,m)),f>6&&Un(t,e,6,a)&&(p=!0,m=uo(t,d,e,6,a,m)),f>7&&Un(t,e,7,c)&&(p=!0,m=uo(t,d,e,7,c,m)),f>8&&Un(t,e,8,u)&&(p=!0,m=uo(t,d,e,8,u,m)),f>9&&Un(t,e,9,h)&&(p=!0,m=uo(t,d,e,9,h,m)),m&&g.ngOnChanges(m),65536&e.flags&&In(t,256,e.nodeIndex)&&g.ngOnInit(),262144&e.flags&&g.ngDoCheck(),p}(t,e,n,i,o,r,s,l,a,c,u,h);case 32:case 64:case 128:return function(t,e,n,i,o,r,s,l,a,c,u,h){const d=e.bindings;let g=!1;const p=d.length;if(p>0&&Wn(t,e,0,n)&&(g=!0),p>1&&Wn(t,e,1,i)&&(g=!0),p>2&&Wn(t,e,2,o)&&(g=!0),p>3&&Wn(t,e,3,r)&&(g=!0),p>4&&Wn(t,e,4,s)&&(g=!0),p>5&&Wn(t,e,5,l)&&(g=!0),p>6&&Wn(t,e,6,a)&&(g=!0),p>7&&Wn(t,e,7,c)&&(g=!0),p>8&&Wn(t,e,8,u)&&(g=!0),p>9&&Wn(t,e,9,h)&&(g=!0),g){const g=Rn(t,e.nodeIndex);let m;switch(201347067&e.flags){case 32:m=new Array(d.length),p>0&&(m[0]=n),p>1&&(m[1]=i),p>2&&(m[2]=o),p>3&&(m[3]=r),p>4&&(m[4]=s),p>5&&(m[5]=l),p>6&&(m[6]=a),p>7&&(m[7]=c),p>8&&(m[8]=u),p>9&&(m[9]=h);break;case 64:m={},p>0&&(m[d[0].name]=n),p>1&&(m[d[1].name]=i),p>2&&(m[d[2].name]=o),p>3&&(m[d[3].name]=r),p>4&&(m[d[4].name]=s),p>5&&(m[d[5].name]=l),p>6&&(m[d[6].name]=a),p>7&&(m[d[7].name]=c),p>8&&(m[d[8].name]=u),p>9&&(m[d[9].name]=h);break;case 128:const t=n;switch(p){case 1:m=t.transform(n);break;case 2:m=t.transform(i);break;case 3:m=t.transform(i,o);break;case 4:m=t.transform(i,o,r);break;case 5:m=t.transform(i,o,r,s);break;case 6:m=t.transform(i,o,r,s,l);break;case 7:m=t.transform(i,o,r,s,l,a);break;case 8:m=t.transform(i,o,r,s,l,a,c);break;case 9:m=t.transform(i,o,r,s,l,a,c,u);break;case 10:m=t.transform(i,o,r,s,l,a,c,u,h)}}g.value=m}return g}(t,e,n,i,o,r,s,l,a,c,u,h);default:throw"unreachable"}}(t,e,i,o,r,s,l,a,c,u,h,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let i=!1;for(let o=0;o<n.length;o++)jr(t,e,o,n[o])&&(i=!0);return i}(t,e,n);case 2:return function(t,e,n){const i=e.bindings;let o=!1;for(let r=0;r<n.length;r++)Wn(t,e,r,n[r])&&(o=!0);if(o){let o="";for(let t=0;t<n.length;t++)o+=Xr(n[t],i[t]);o=e.text.prefix+o;const r=Dn(t,e.nodeIndex).renderText;t.renderer.setValue(r,o)}return o}(t,e,n);case 16384:return function(t,e,n){const i=Nn(t,e.nodeIndex),o=i.instance;let r=!1,s=void 0;for(let l=0;l<n.length;l++)Un(t,e,l,n[l])&&(r=!0,s=uo(t,i,e,l,n[l],s));return s&&o.ngOnChanges(s),65536&e.flags&&In(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),r}(t,e,n);case 32:case 64:case 128:return function(t,e,n){const i=e.bindings;let o=!1;for(let r=0;r<n.length;r++)Wn(t,e,r,n[r])&&(o=!0);if(o){const o=Rn(t,e.nodeIndex);let r;switch(201347067&e.flags){case 32:r=n;break;case 64:r={};for(let o=0;o<n.length;o++)r[i[o].name]=n[o];break;case 128:const t=n[0],e=n.slice(1);r=t.transform(...e)}o.value=r}return o}(t,e,n);default:throw"unreachable"}}(t,e,i)}function as(t){const e=t.def;if(4&e.nodeFlags)for(let n=0;n<e.nodes.length;n++){const i=e.nodes[n];if(4&i.flags){const e=Ln(t,n).template._projectedViews;if(e)for(let n=0;n<e.length;n++){const i=e[n];i.state|=32,Kn(i,t)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function cs(t,e,n,i,o,r,s,l,a,c,u,h,d){return 0===n?function(t,e,n,i,o,r,s,l,a,c,u,h){const d=e.bindings.length;d>0&&qn(t,e,0,n),d>1&&qn(t,e,1,i),d>2&&qn(t,e,2,o),d>3&&qn(t,e,3,r),d>4&&qn(t,e,4,s),d>5&&qn(t,e,5,l),d>6&&qn(t,e,6,a),d>7&&qn(t,e,7,c),d>8&&qn(t,e,8,u),d>9&&qn(t,e,9,h)}(t,e,i,o,r,s,l,a,c,u,h,d):function(t,e,n){for(let i=0;i<n.length;i++)qn(t,e,i,n[i])}(t,e,i),!1}function us(t,e){if(jn(t,e.nodeIndex).dirty)throw Sn(zn.createDebugContext(t,e.nodeIndex),`Query ${e.query.id} not dirty`,`Query ${e.query.id} dirty`,0!=(1&t.state))}function hs(t){if(!(128&t.state)){if(ps(t,ds.Destroy),gs(t,ds.Destroy),ho(t,131072),t.disposables)for(let e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(!(16&t.state))return;const e=Qn(t);if(e){const n=e.template._projectedViews;n&&(Ft(n,n.indexOf(t)),zn.dirtyParentQueries(t))}}(t),t.renderer.destroyNode&&function(t){const e=t.def.nodes.length;for(let n=0;n<e;n++){const e=t.def.nodes[n];1&e.flags?t.renderer.destroyNode(Ln(t,n).renderElement):2&e.flags?t.renderer.destroyNode(Dn(t,n).renderText):(67108864&e.flags||134217728&e.flags)&&jn(t,n).destroy()}}(t),Jn(t)&&t.renderer.destroy(),t.state|=128}}const ds=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}();function gs(t,e){const n=t.def;if(33554432&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];33554432&o.flags?ms(Ln(t,i).componentView,e):0==(33554432&o.childFlags)&&(i+=o.childCount)}}function ps(t,e){const n=t.def;if(16777216&n.nodeFlags)for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];if(16777216&o.flags){const n=Ln(t,i).viewContainer._embeddedViews;for(let t=0;t<n.length;t++)ms(n[t],e)}else 0==(16777216&o.childFlags)&&(i+=o.childCount)}}function ms(t,e){const n=t.state;switch(e){case ds.CheckNoChanges:0==(128&n)&&(12==(12&n)?rs(t):64&n&&fs(t,ds.CheckNoChangesProjectedViews));break;case ds.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?rs(t):64&n&&fs(t,e));break;case ds.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ss(t):64&n&&fs(t,ds.CheckAndUpdateProjectedViews));break;case ds.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ss(t):64&n&&fs(t,e));break;case ds.Destroy:hs(t);break;case ds.CreateViewNodes:os(t)}}function fs(t,e){ps(t,e),gs(t,e)}function _s(t,e,n,i){if(!(t.def.nodeFlags&e&&t.def.nodeFlags&n))return;const o=t.def.nodes.length;for(let r=0;r<o;r++){const o=t.def.nodes[r];if(o.flags&e&&o.flags&n)switch(zn.setCurrentNode(t,o.nodeIndex),i){case 0:Vr(t,o);break;case 1:us(t,o)}o.childFlags&e&&o.childFlags&n||(r+=o.childCount)}}let vs=!1;function ys(t,e,n,i,o,r){const s=o.injector.get(nn);return ts(bs(t,o,s,e,n),i,r)}function Cs(t,e,n,i,o,r){const s=o.injector.get(nn),l=bs(t,o,new Js(s),e,n),a=As(i);return Zs(js.create,ts,null,[l,a,r])}function bs(t,e,n,i,o){const r=e.injector.get(_e),s=e.injector.get(Wt),l=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:i,selectorOrNode:o,sanitizer:r,rendererFactory:n,renderer:l,errorHandler:s}}function Ps(t,e,n,i){const o=As(n);return Zs(js.create,Jr,null,[t,e,o,i])}function xs(t,e,n,i){return n=ks.get(e.element.componentProvider.provider.token)||As(n),Zs(js.create,es,null,[t,e,n,i])}function Os(t,e,n,i){return Hi(t,e,n,function(t){const{hasOverrides:e,hasDeprecatedOverrides:n}=function(t){let e=!1,n=!1;return 0===Ms.size||(t.providers.forEach(t=>{const i=Ms.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(t=>{ws.forEach((i,o)=>{pt(o).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})})),{hasOverrides:e,hasDeprecatedOverrides:n}}(t);return e?(function(t){for(let e=0;e<t.providers.length;e++){const i=t.providers[e];n&&(i.flags|=4096);const o=Ms.get(i.token);o&&(i.flags=-3841&i.flags|o.flags,i.deps=ii(o.deps),i.value=o.value)}if(ws.size>0){let e=new Set(t.modules);ws.forEach((i,o)=>{if(e.has(pt(o).providedIn)){let e={token:o,flags:i.flags|(n?4096:0),deps:ii(i.deps),value:i.value,index:t.providers.length};t.providers.push(e),t.providersByKey[Bn(o)]=e}})}}(t=t.factory(()=>Fn)),t):t}(i))}const Ms=new Map,ws=new Map,ks=new Map;function Ss(t){let e;Ms.set(t.token,t),"function"==typeof t.token&&(e=pt(t.token))&&"function"==typeof e.providedIn&&ws.set(t.token,t)}function Es(t,e){const n=si(e.viewDefFactory),i=si(n.nodes[0].element.componentView);ks.set(t,i)}function Ts(){Ms.clear(),ws.clear(),ks.clear()}function As(t){if(0===Ms.size)return t;const e=function(t){const e=[];let n=null;for(let i=0;i<t.nodes.length;i++){const o=t.nodes[i];1&o.flags&&(n=o),n&&3840&o.flags&&Ms.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(()=>Fn);for(let i=0;i<e.length;i++)n(t,e[i]);return t;function n(t,e){for(let n=e+1;n<t.nodes.length;n++){const e=t.nodes[n];if(1&e.flags)return;if(3840&e.flags){const t=e.provider,n=Ms.get(t.token);n&&(e.flags=-3841&e.flags|n.flags,t.deps=ii(n.deps),t.value=n.value)}}}}function Is(t,e,n,i,o,r,s,l,a,c,u,h,d){const g=t.def.nodes[e];return ls(t,g,n,i,o,r,s,l,a,c,u,h,d),224&g.flags?Rn(t,e).value:void 0}function Ds(t,e,n,i,o,r,s,l,a,c,u,h,d){const g=t.def.nodes[e];return cs(t,g,n,i,o,r,s,l,a,c,u,h,d),224&g.flags?Rn(t,e).value:void 0}function Ls(t){return Zs(js.detectChanges,ss,null,[t])}function Ns(t){return Zs(js.checkNoChanges,rs,null,[t])}function Rs(t){return Zs(js.destroy,hs,null,[t])}const js=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}();let zs,Fs,Vs;function Bs(t,e){Fs=t,Vs=e}function Hs(t,e,n,i){return Bs(t,e),Zs(js.handleEvent,t.def.handleEvent,null,[t,e,n,i])}function $s(t,e){if(128&t.state)throw Tn(js[zs]);return Bs(t,Gs(t,0)),t.def.updateDirectives((function(t,n,i,...o){const r=t.def.nodes[n];return 0===e?Ws(t,r,i,o):qs(t,r,i,o),16384&r.flags&&Bs(t,Gs(t,n)),224&r.flags?Rn(t,r.nodeIndex).value:void 0}),t)}function Us(t,e){if(128&t.state)throw Tn(js[zs]);return Bs(t,Ks(t,0)),t.def.updateRenderer((function(t,n,i,...o){const r=t.def.nodes[n];return 0===e?Ws(t,r,i,o):qs(t,r,i,o),3&r.flags&&Bs(t,Ks(t,n)),224&r.flags?Rn(t,r.nodeIndex).value:void 0}),t)}function Ws(t,e,n,i){if(ls(t,e,n,...i)){const r=1===n?i[0]:i;if(16384&e.flags){const n={};for(let t=0;t<e.bindings.length;t++){const i=e.bindings[t],s=r[t];8&i.flags&&(n[(o=i.nonMinifiedName,"ng-reflect-"+o.replace(/[$@]/g,"_").replace(Ce,(...t)=>"-"+t[1].toLowerCase()))]=be(s))}const i=e.parent,s=Ln(t,i.nodeIndex).renderElement;if(i.element.name)for(let e in n){const i=n[e];null!=i?t.renderer.setAttribute(s,e,i):t.renderer.removeAttribute(s,e)}else t.renderer.setValue(s,"bindings="+JSON.stringify(n,null,2))}}var o}function qs(t,e,n,i){cs(t,e,n,...i)}function Gs(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(16384&e.flags&&e.bindings&&e.bindings.length)return n}return null}function Ks(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(3&e.flags&&e.bindings&&e.bindings.length)return n}return null}class Xs{constructor(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];let n=this.nodeDef,i=t;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=Zn(i),i=i.parent;this.elDef=n,this.elView=i}get elOrCompView(){return Ln(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return ji(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const t=[];if(this.elDef)for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t}get references(){const t={};if(this.elDef){Qs(this.elView,this.elDef,t);for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&Qs(this.elView,n,t),e+=n.childCount}}return t}get componentRenderElement(){const t=function(t){for(;t&&!Jn(t);)t=t.parent;return t.parent?Ln(t.parent,Zn(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Yn(this.view,this.nodeDef):Yn(this.elView,this.elDef)}logError(t,...e){let n,i;2&this.nodeDef.flags?(n=this.view.def,i=this.nodeDef.nodeIndex):(n=this.elView.def,i=this.elDef.nodeIndex);const o=function(t,e){let n=-1;for(let i=0;i<=e;i++)3&t.nodes[i].flags&&n++;return n}(n,i);let r=-1;n.factory(()=>(r++,r===o?t.error.bind(t,...e):Fn)),r<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error(...e))}}function Qs(t,e,n){for(let i in e.references)n[i]=Hr(t,e,e.references[i])}function Zs(t,e,n,i){const o=zs,r=Fs,s=Vs;try{zs=t;const l=e.apply(n,i);return Fs=r,Vs=s,zs=o,l}catch(l){if(Ht(l)||!Fs)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),En(t,e),t}(l,Ys())}}function Ys(){return Fs?new Xs(Fs,Vs):null}class Js{constructor(t){this.delegate=t}createRenderer(t,e){return new tl(this.delegate.createRenderer(t,e))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class tl{constructor(t){this.delegate=t,this.debugContextFactory=Ys,this.data=this.delegate.data}createDebugContext(t){return this.debugContextFactory(t)}destroyNode(t){const e=Or(t);!function(t){xr.delete(t.nativeNode)}(e),e instanceof br&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(t)}destroy(){this.delegate.destroy()}createElement(t,e){const n=this.delegate.createElement(t,e),i=this.createDebugContext(n);if(i){const e=new Pr(n,null,i);e.name=t,Mr(e)}return n}createComment(t){const e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&Mr(new br(e,null,n)),e}createText(t){const e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Mr(new br(e,null,n)),e}appendChild(t,e){const n=Or(t),i=Or(e);n&&i&&n instanceof Pr&&n.addChild(i),this.delegate.appendChild(t,e)}insertBefore(t,e,n){const i=Or(t),o=Or(e),r=Or(n);i&&o&&i instanceof Pr&&i.insertBefore(r,o),this.delegate.insertBefore(t,e,n)}removeChild(t,e){const n=Or(t),i=Or(e);n&&i&&n instanceof Pr&&n.removeChild(i),this.delegate.removeChild(t,e)}selectRootElement(t,e){const n=this.delegate.selectRootElement(t,e),i=Ys();return i&&Mr(new Pr(n,null,i)),n}setAttribute(t,e,n,i){const o=Or(t);o&&o instanceof Pr&&(o.attributes[i?i+":"+e:e]=n),this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){const i=Or(t);i&&i instanceof Pr&&(i.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)}addClass(t,e){const n=Or(t);n&&n instanceof Pr&&(n.classes[e]=!0),this.delegate.addClass(t,e)}removeClass(t,e){const n=Or(t);n&&n instanceof Pr&&(n.classes[e]=!1),this.delegate.removeClass(t,e)}setStyle(t,e,n,i){const o=Or(t);o&&o instanceof Pr&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){const i=Or(t);i&&i instanceof Pr&&(i.styles[e]=null),this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){const i=Or(t);i&&i instanceof Pr&&(i.properties[e]=n),this.delegate.setProperty(t,e,n)}listen(t,e,n){if("string"!=typeof t){const i=Or(t);i&&i.listeners.push(new Cr(e,n))}return this.delegate.listen(t,e,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setValue(t,e){return this.delegate.setValue(t,e)}}function el(t,e,n){return new nl(t,e,n)}class nl extends jt{constructor(t,e,n){super(),this.moduleType=t,this._bootstrapComponents=e,this._ngModuleDefFactory=n}create(t){!function(){if(vs)return;vs=!0;const t=Kt()?{setCurrentNode:Bs,createRootView:Cs,createEmbeddedView:Ps,createComponentView:xs,createNgModuleRef:Os,overrideProvider:Ss,overrideComponentView:Es,clearOverrides:Ts,checkAndUpdateView:Ls,checkNoChangesView:Ns,destroyView:Rs,createDebugContext:(t,e)=>new Xs(t,e),handleEvent:Hs,updateDirectives:$s,updateRenderer:Us}:{setCurrentNode:()=>{},createRootView:ys,createEmbeddedView:Jr,createComponentView:es,createNgModuleRef:Hi,overrideProvider:Fn,overrideComponentView:Fn,clearOverrides:Fn,checkAndUpdateView:ss,checkNoChangesView:rs,destroyView:hs,createDebugContext:(t,e)=>new Xs(t,e),handleEvent:(t,e,n,i)=>t.def.handleEvent(t,e,n,i),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?Is:Ds,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?Is:Ds,t)};zn.setCurrentNode=t.setCurrentNode,zn.createRootView=t.createRootView,zn.createEmbeddedView=t.createEmbeddedView,zn.createComponentView=t.createComponentView,zn.createNgModuleRef=t.createNgModuleRef,zn.overrideProvider=t.overrideProvider,zn.overrideComponentView=t.overrideComponentView,zn.clearOverrides=t.clearOverrides,zn.checkAndUpdateView=t.checkAndUpdateView,zn.checkNoChangesView=t.checkNoChangesView,zn.destroyView=t.destroyView,zn.resolveDep=ao,zn.createDebugContext=t.createDebugContext,zn.handleEvent=t.handleEvent,zn.updateDirectives=t.updateDirectives,zn.updateRenderer=t.updateRenderer,zn.dirtyParentQueries=Fr}();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),i={};for(const o in t.providersByKey)i[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:i}}
2(si(this._ngModuleDefFactory));return zn.createNgModuleRef(this.moduleType,t||we.NULL,this._bootstrapComponents,e)}}class il{}var ol=function(){return(ol=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function rl(t,e,n,i){return new(n||(n=Promise))((function(o,r){function s(t){try{a(i.next(t))}catch(e){r(e)}}function l(t){try{a(i.throw(t))}catch(e){r(e)}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,l)}a((i=i.apply(t,e||[])).next())}))}function sl(t,e){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(l){r=[6,l],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}function ll(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var r=arguments[e],s=0,l=r.length;s<l;s++,o++)i[o]=r[s];return i}function al(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function cl(t,e){try{var n=t();(i=n)&&"function"==typeof i.then?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(o){e(!1,o)}var i}function ul(t,e,n){return void 0===n&&(n=16),rl(this,void 0,void 0,(function(){var i,o,r;return sl(this,(function(s){switch(s.label){case 0:i=Date.now(),o=0,s.label=1;case 1:return o<t.length?(e(t[o],o),(r=Date.now())>=i+n?(i=r,[4,al(0)]):[3,3]):[3,4];case 2:s.sent(),s.label=3;case 3:return++o,[3,1];case 4:return[2]}}
2))}))}function hl(t,e){var n=[0,0,0,0];return n[3]+=(t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]])[3]+(e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]])[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function dl(t,e){var n=[0,0,0,0];return n[3]+=(t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]])[3]*(e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]])[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function gl(t,e){return 32==(e%=64)?[t[1],t[0]]:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e|t[0]>>>32-e]:[t[1]<<(e-=32)|t[0]>>>32-e,t[0]<<e|t[1]>>>32-e]}function pl(t,e){return 0==(e%=64)?t:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e]:[t[1]<<e-32,0]}function ml(t,e){return[t[0]^e[0],t[1]^e[1]]}function fl(t){return t=ml(t,[0,t[0]>>>1]),t=ml(t=dl(t,[4283543511,3981806797]),[0,t[0]>>>1]),ml(t=dl(t,[3301882366,444984403]),[0,t[0]>>>1])}function _l(t){return parseInt(t)}function vl(t){return parseFloat(t)}function yl(t,e){return"number"==typeof t&&isNaN(t)?e:t}function Cl(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function bl(t){return t&&"object"==typeof t&&"message"in t?t:{message:t}}function Pl(){var t=window,e=navigator;return Cl(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function xl(){var t=window,e=navigator;return Cl(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function Ol(){var t=window,e=navigator;return Cl(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function Ml(){var t=window;return Cl(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])>=3}function wl(){var t=document;return(t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t)}function kl(t){var e=new Error(t);return e.name=t,e}function Sl(t,e,n){var i,o;return void 0===n&&(n=50),rl(this,void 0,void 0,(function(){var r,s;return sl(this,(function(l){switch(l.label){case 0:r=document,l.label=1;case 1:return r.body?[3,3]:[4,al(n)];case 2:return l.sent(),[3,1];case 3:s=r.createElement("iframe"),l.label=4;case 4:return l.trys.push([4,,10,11]),[4,new Promise((function(t,n){s.onload=t,s.onerror=n;var i=s.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",e&&"srcdoc"in s?s.srcdoc=e:s.src="about:blank",r.body.appendChild(s);var o=function(){var e;"complete"===(null===(e=s.contentWindow)||void 0===e?void 0:e.document.readyState)?t():setTimeout(o,10)};o()}))];case 5:l.sent(),l.label=6;case 6:return(null===(i=s.contentWindow)||void 0===i?void 0:i.document.body)?[3,8]:[4,al(n)];case 7:return l.sent(),[3,6];case 8:return[4,t(s,s.contentWindow)];case 9:return[2,l.sent()];case 10:return null===(o=s.parentNode)||void 0===o||o.removeChild(s),[7];case 11:return[2]}}
2))}))}function El(t){for(var e=function(t){for(var e,n,i="Unexpected syntax '"+t+"'",o=/^\s*([a-z-]*)(.*)$/i.exec(t),r=o[1]||void 0,s={},l=/([.:#][\w-]+|\[.+?\])/gi,a=function(t,e){s[t]=s[t]||[],s[t].push(e)};;){var c=l.exec(o[2]);if(!c)break;var u=c[0];switch(u[0]){case".":a("class",u.slice(1));break;case"#":a("id",u.slice(1));break;case"[":var h=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(!h)throw new Error(i);a(h[1],null!==(n=null!==(e=h[4])&&void 0!==e?e:h[5])&&void 0!==n?n:"");break;default:throw new Error(i)}}return[r,s]}(t),n=e[0],i=e[1],o=document.createElement(null!=n?n:"div"),r=0,s=Object.keys(i);r<s.length;r++){var l=s[r];o.setAttribute(l,i[l].join(" "))}return o}var Tl,Al,Il=["monospace","sans-serif","serif"],Dl=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Ll(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}function Nl(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly "+String.fromCharCode(55357,56835);return e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45),jl(t)}function Rl(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,i=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<i.length;n++){var o=i[n],r=o[1],s=o[2];e.fillStyle=o[0],e.beginPath(),e.arc(r,s,40,0,2*Math.PI,!0),e.closePath(),e.fill()}return e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd"),jl(t)}function jl(t){return t.toDataURL()}function zl(){var t=screen;return[yl(vl(t.availTop),null),yl(vl(t.width)-vl(t.availWidth)-yl(vl(t.availLeft),0),null),yl(vl(t.height)-vl(t.availHeight)-yl(vl(t.availTop),0),null),yl(vl(t.availLeft),null)]}function Fl(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}var Vl={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'a[title="7naga poker" i]','[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",".i-said-no-thing-can-stop-me-warning.dark",".quangcao",'[href^="https://r88.vn/"]','[href^="https://zbet.vn/"]'],adBlockFinland:[".mainostila",".sponsorit",".ylamainos",'a[href*="/clickthrgh.asp?"]','a[href^="https://app.readpeak.com/ads"]'],adBlockPersian:["#navbar_notice_50",'a[href^="https://iqoption.com/lp/mobile-partner/?aff="]',".kadr",'TABLE[width="140px"]',"#divAgahi"],adBlockWarningRemoval:["#adblock_message",".adblockInfo",".deadblocker-header-bar",".no-ad-reminder","#AdBlockDialog"],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:["#gads_middle",".tjads",".BetterJsPopOverlay","#ad_300X250","#bannerfloat22"],adGuardChinese:['a[href*=".123ch.cn"]','a[href*=".ttz5.cn"]','a[href*=".yabovip2027.com/"]',".tm3all2h4b","#j-new-ad"],adGuardFrench:["#div_banniere_pub",'a[href^="https://secure.securitetotale.fr/"]','a[href*="fducks.com/"]','a[href^="http://frtyd.com/"]',".publicite1"],adGuardGerman:[".banneritemwerbung_head_1",".boxstartwerbung",".werbung3",'a[href^="http://www.ichwuerde.com/?ref="]','a[href^="http://partners.adklick.de/tracking.php?"]'],adGuardJapanese:[".ad-text-blockA01","._popIn_infinite_video","[class^=blogroll_wrapper]",'a[href^="http://ad2.trafficgate.net/"]','a[href^="http://www.rssad.jp/"]'],adGuardMobile:["amp-auto-ads","#mgid_iframe",".amp_ad","amp-sticky-ad",".plugin-blogroll"],adGuardRussian:['a[href^="https://ya-distrib.ru/r/"]','[onclick*=".twkv.ru"]',".reclama",'div[
2id^="smi2adblock"]','div[id^="AdFox_banner_"]'],adGuardSocial:['a[href^="//www.stumbleupon.com/submit?url="]','a[href^="//telegram.me/share/url?"]',".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",'[href^="http://ads.glispa.com/"]'],adGuardTrackingProtection:['amp-embed[type="taboola"]',"#qoo-counter",'a[href^="http://click.hotlog.ru/"]','a[href^="http://hitcounter.ru/top/stat.php"]','a[href^="http://top.mail.ru/jump"]'],adGuardTurkish:["#backkapat","#reklami",'a[href^="http://adserv.ontek.com.tr/"]','a[href^="http://izlenzi.com/campaign/"]','a[href^="http://www.installads.net/"]'],bulgarian:["td#freenet_table_ads","#newAd","#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:['[lazy-ad="leftthin_banner"]',"#ad_300x250_2","#interstitialAd","#wide_ad_unit",".showcaseAd"],easyListChina:['a[href*=".wensixuetang.com/"]','A[href*="/hth107.com/"]','.appguide-wrap[onclick*="bcebos.com"]',".frontpageAdvM","#taotaole"],easyListCookie:["#CookieEU","#__cookies_","#les_cookies",".asset_balaNotification",".gdpr-tab"],easyListCzechSlovak:["#onlajny-stickers","#reklamni-box",".reklama-megaboard",".sklik",'[id^="sklikReklama"]'],easyListDutch:["#advertentie","#vipAdmarktBannerBlock",".adstekst",'a[href^="http://adserver.webads.nl/adclick/"]',"#semilo-lrectangle"],easyListGermany:["#LxWerbeteaser",'a[href^="http://www.kontakt-vermittler.de/?wm="]',".werbung301",".ads_bueroklammer","#Werbung_Sky"],easyListItaly:[".box_adv_annunci",".sb-box-pubbliredazionale",'a[href^="http://affiliazioniads.snai.it/"]','a[href^="https://adserver.html.it/"]','a[href^="https://affiliazioniads.snai.it/"]'],easyListLithuania:[".reklamos_tarpas",".reklamos_nuorodos",'img[alt="Reklaminis skydelis"]','img[alt="Dedikuoti.lt serveriai"]','img[alt="Hostingas Serveriai.lt"]'],estonian:['A[href*="http://pay4results24.eu"]'],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag",'div[style*="box-shadow: rgb(136, 136, 136) 0px 0px 12px; color: "]','div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:['a[href*="casinopro.se"][target="_blank"]','a[href*="doktor-se.onelink.me"]',"article.category-samarbete","div.holidAds","ul.adsmodern"],greekAdBlock:['A[href*="adman.otenet.gr/click?"]','A[href*="http://axiabanners.exodus.gr/"]','A[href*="http://interactive.forthnet.gr/click?"]',"DIV.agores300","TABLE.advright"],hungarian:['A[href*="ad.eval.hu"]','A[href*="ad.netmedia.hu"]','A[href*="daserver.ultraweb.hu"]',"#cemp_doboz",".optimonk-iframe-container"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:['A[href^="/framework/resources/forms/ads.aspx"]'],latvian:['a[href="http://www.salidzini.lv/"][style="display: block; width: 120px; height: 40px; overflow: hidden; position: relative;"]','a[href="http://www.salidzini.lv/"][style="display: block; width: 88px; height: 31px; overflow: hidden; position: relative;"]'],listKr:['a[href*="//kingtoon.slnk.kr"]','a[href*="//playdsb.com/kr"]',"div.logly-lift-adz",'div[data-widget_id="ml6EJ074"]',"ins.daum_ddn_area"],listeAr:[".geminiLB1Ad",".right-and-left-sponsers",'a[href*=".aflam.info"]','a[href*="booraq.org"]','a[href*="dubizzle.com/ar/?utm_source="]'],listeFr:['a[href^="http://promo.vador.com/"]',"#adcontainer_recherche",'a[href*="weborama.fr/fcgi-bin/"]',".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",'[href^="https://aff.sendhub.pl/"]','a[href^="http://advmanager.techfun.pl/redirect/"]','a[href^="http://www.trizer.pl/?utm_source"]',"div#skapiec_ad"],ro:['a[href^="//afftrk.altex.ro/Counter/Click"]','a[href^="/magazin/"]','a[href^="https://blackfri
2daysales.ro/trk/shop/"]','a[href^="https://event.2performant.com/events/click"]','a[href^="https://l.profitshare.ro/"]'],ruAd:['a[href*="//febrare.ru/"]','a[href*="//utimg.ru/"]','a[href*="://chikidiki.ru"]',"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]","#ads-google-middle_rectangle-group",".ads300s",".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",".ctpl-fullbanner",".zergnet-recommend",".yt.btn-link.btn-md.btn"]},Bl=Object.keys(Vl);function Hl(t){var e;return rl(this,void 0,void 0,(function(){var n,i,o,r,s,l,a;return sl(this,(function(c){switch(c.label){case 0:for(n=document,i=n.createElement("div"),o=new Array(t.length),r={},$l(i),a=0;a<t.length;++a)s=El(t[a]),$l(l=n.createElement("div")),l.appendChild(s),i.appendChild(l),o[a]=s;c.label=1;case 1:return n.body?[3,3]:[4,al(50)];case 2:return c.sent(),[3,1];case 3:n.body.appendChild(i);try{for(a=0;a<t.length;++a)o[a].offsetParent||(r[t[a]]=!0)}finally{null===(e=i.parentNode)||void 0===e||e.removeChild(i)}return[2,r]}}))}))}function $l(t){t.style.setProperty("display","block","important")}function Ul(t){return matchMedia("(inverted-colors: "+t+")").matches}function Wl(t){return matchMedia("(forced-colors: "+t+")").matches}function ql(t){return matchMedia("(prefers-contrast: "+t+")").matches}function Gl(t){return matchMedia("(prefers-reduced-motion: "+t+")").matches}function Kl(t){return matchMedia("(dynamic-range: "+t+")").matches}var Xl=Math,Ql=function(){return 0},Zl=Xl.acos||Ql,Yl=Xl.acosh||Ql,Jl=Xl.asin||Ql,ta=Xl.asinh||Ql,ea=Xl.atanh||Ql,na=Xl.atan||Ql,ia=Xl.sin||Ql,oa=Xl.sinh||Ql,ra=Xl.cos||Ql,sa=Xl.cosh||Ql,la=Xl.tan||Ql,aa=Xl.tanh||Ql,ca=Xl.exp||Ql,ua=Xl.expm1||Ql,ha=Xl.log1p||Ql,da=function(t){return Xl.pow(Xl.PI,t)},ga=function(t){return Xl.log(t+Xl.sqrt(t*t+1))},pa=function(t){return Xl.log((1+t)/(1-t))/2},ma=function(t){return Xl.exp(t)-1/Xl.exp(t)/2},fa=function(t){return(Xl.exp(t)+1/Xl.exp(t))/2},_a=function(t){return Xl.exp(t)-1},va=function(t){return(Xl.exp(2*t)-1)/(Xl.exp(2*t)+1)},ya=function(t){return Xl.log(1+t)},Ca={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ba={fonts:function(){return Sl((function(t,e){var n=e.document,i=n.body;i.style.fontSize="48px";var o=n.createElement("div"),r={},s={},l=function(t){var e=n.createElement("span"),i=e.style;return i.position="absolute",i.top="0",i.left="0",i.fontFamily=t,e.textContent="mmMwWLliI0O&1",o.appendChild(e),e},a=Il.map(l),c=function(){for(var t={},e=function(e){t[e]=Il.map((function(t){return function(t,e){return l("'"+t+"',"+e)}(e,t)}))},n=0,i=Dl;n<i.length;n++)e(i[n]);return t}();i.appendChild(o);for(var u=0;u<Il.length;u++)r[Il[u]]=a[u].offsetWidth,s[Il[u]]=a[u].offsetHeight;return Dl.filter((function(t){return e=c[t],Il.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==s[t]}));var e}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return rl(this,void 0,void 0,(function(){var t,n,i;return sl(this,(function(o){switch(o.label){case 0:return Ol()||function(){var t=xl(),e=function(){var t,e,n=window;return Cl(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"MediaRecorderErrorEvent"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!t&&!e)return!1;var n=window;return Cl(["onorientationchange"in n,"orientation"in n,t&&"SharedWorker"in n,e&&/android/i.test(navigator.appVersion)])>=2}()?[4,Hl((i=[]).concat.apply(i,Bl.map((function(t){return Vl[t]}))))]:[2,void 0];case 1:return t=o.sent(),e&&function(t){for(var e="DOM blockers debug:\n```",n=0,i=Bl;n<i.length;n++){var o=i[n];e+="\n"+o+":";for(var r=0,s=Vl[o];r<s.length;r++){var l=s[r];e+="\n "+l+" "+(t[l]?"\u{1f6ab}":"\u27a1\ufe0f")}}console.log(e+"\n```")}(t),(n=Bl.filter((function(e){var n=Vl[e];return Cl(n.map((function(e){return t[e]})))>.5*n.length}))).sort(),[2,n]}}))}))},fontPreferences:function(){return void 0===t&&(t=4e3),Sl((function(e,n){var i=n.document,o=i.body,r=o.style;r.width=t+"px",r.webkitTextSizeAdjust=r.textSizeAdjust="none",xl()?o.style.zoom=""+1/n.devicePixelRatio:Ol()&&(o.style.zoom="reset");var s=i.createElement("div");return s.textContent=ll(Array(t/20<<0)).map((function(){return"word"})).join(" "),o.appendChild(s),function(t,e){for(var n={},i={},o=0,r=Object.keys(Ca);o<r.length;o++){var s=Ca[v=r[o]],l=s[0],a=void 0===l?{}:l,c=s[1],u=void 0===c?"mmMwWLliI0fiflO&1":c,h=t.createElement("span");h.textContent=u,h.style.whiteSpace="nowrap";for(var d=0,g=Object.keys(a);d<g.length;d++){var p=g[d],m=a[p];void 0!==m&&(h.style[p]=m)}n[v]=h,e.appendChild(t.createElement("br")),e.appendChild(h)}for(var f=0,_=Object.keys(Ca);f<_.length;f++){var v;i[v=_[f]]=n[v].getBoundingClientRect().width}return i}(i,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var t},audio:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(Ol()&&!Ml()&&!function(){var t=window;return Cl(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}())return-1;var n=new e(1,5e3,44100),i=n.createOscillator();i.type="triangle",i.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,i.connect(o),o.connect(n.destination),i.start(0);var r=function(t){var e=function(){};return[new Promise((function(n,i){var o=!1,r=0,s=0;t.oncomplete=function(t){return n(t.renderedBuffer)};var l=function(){setTimeout((function(){return i(kl("timeout"))}),Math.min(500,s+5e3-Date.now()))}
2,a=function(){try{switch(t.startRendering(),t.state){case"running":s=Date.now(),o&&l();break;case"suspended":document.hidden||r++,o&&r>=3?i(kl("suspended")):setTimeout(a,500)}}catch(e){i(e)}};a(),e=function(){o||(o=!0,s>0&&l())}})),e]}(n),s=r[1],l=r[0].then((function(t){return function(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return l.catch((function(){})),function(){return s(),l}},screenFrame:function(){var t=this,e=function(){var t=this;return function(){if(void 0===Al){var t=function(){var e=zl();Fl(e)?Al=setTimeout(t,2500):(Tl=e,Al=void 0)};t()}}(),function(){return rl(t,void 0,void 0,(function(){var t;return sl(this,(function(e){switch(e.label){case 0:return Fl(t=zl())?Tl?[2,ll(Tl)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,wl()]:[3,2]:[3,2];case 1:e.sent(),t=zl(),e.label=2;case 2:return Fl(t)||(Tl=t),[2,t]}var n}))}))}}();return function(){return rl(t,void 0,void 0,(function(){var t,n;return sl(this,(function(i){switch(i.label){case 0:return[4,e()];case 1:return t=i.sent(),[2,[(n=function(t){return null===t?null:function(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],i=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==i&&n.push([i]),Array.isArray(e.languages))xl()&&Cl([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3||n.push(e.languages);else if("string"==typeof e.languages){var o=e.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return yl(vl(navigator.deviceMemory),void 0)},screenResolution:function(){var t=screen,e=function(t){return yl(_l(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return yl(_l(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var i,o=(i=(new Date).getFullYear(),-Math.max(vl(new Date(i,0,1).getTimezoneOffset()),vl(new Date(i,6,1).getTimezoneOffset())));return"UTC"+(o>=0?"+":"")+Math.abs(o)},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){var t,e;if(!(Pl()||(t=window,e=navigator,Cl(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!Pl())))try{return!!window.indexedDB}catch(n){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&&Ol()&&!Ml()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return Cl(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>2/3&&e<1.5])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var i=t[n];if(i){for(var o=[],r=0;r<i.length;++r){var s=i[r];o.push({type:s.type,suffixes:s.suffixes})}e.push({name:i.name,description:i.description,mimeTypes:o})}}return e}},canvas:function(){var t=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),e=t[0],n=t[1];return function(t,e){return!(!e||!t.toDataURL)}(e,n)?{winding:Ll(n),geometry:Rl(e,n),text:Nl(e,n)}:{winding:!1,geometry:"",text:""}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=_l(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(i){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var i=n[e],o=window[i];o&&"object"==typeof o&&t.push(i)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(n){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: "+n+")").matches)return n}},invertedColors:function(){return!!Ul("inverted")||!Ul("none")&&void 0},forcedColors:function(){return!!Wl("active")||!Wl("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=100;++t)if(matchMedia("(max-monochrome: "+t+")").matches)return t;throw new Error("Too high value")}},contrast:function(){return ql("no-preference")?0:ql("high")||ql("more")?1:ql("low")||ql("less")?-1:ql("forced")?10:void 0},reducedMotion:function(){return!!Gl("reduce")||!Gl("no-preference")&&void 0},hdr:function(){return!!Kl("high")||!Kl("standard")&&void 0},math:function(){return{acos:Zl(.12312423423423424),acosh:Yl(1e308),acoshPf:(t=1e154,Xl.log(t+Xl.sqrt(t*t-1))),asin:Jl(.12312423423423424),asinh:ta(1),asinhPf:ga(1),atanh:ea(.5),atanhPf:pa(.5),atan:na(.5),sin:ia(-1e300),sinh:oa(1),sinhPf:ma(1),cos:ra(10.000000000123),cosh:sa(1),coshPf:fa(1),tan:la(-1e300),tanh:aa(1),tanhPf:va(1),exp:ca(1),expm1:ua(1),expm1Pf:_a(1),log1p:ha(10),log1pPf:ya(10),powPI:da(-100)};var t}};function Pa(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?ol({name:(n=e).name,message:n.message,stack:null===(i=n.stack)||void 0===i?void 0:i.split("\n")},n):e;var n,i}),2)}function xa(t){return function(t,e){var n,i=(t=t||"").length%16,o=t.length-i,r=[0,e=e||0],s=[0,e],l=[0,0],a=[0,0],c=[2277735313,289559509],u=[1291169091,658871167];for(n=0;n<o;n+=16)l=[255&t.charCodeAt(n+4)|(255&t.charCodeAt(n+5))<<8|(255&t.charCodeAt(n+6))<<16|(255&t.charCodeAt(n+7))<<24,255&t.charCodeAt(n)|(255&t.charCodeAt(n+1))<<8|(255&t.charCodeAt(n+2))<<16|(255&t.charCodeAt(n+3))<<24],a=[255&t.charCodeAt(n+12)|(255&t.charCodeAt(n+13))<<8|(255&t.charCodeAt(n+14))<<16|(255&t.charCodeAt(n+15))<<24,255&t.charCodeAt(n+8)|(255&t.charCodeAt(n+9))<<8|(255&t.charCodeAt(n+10))<<16|(255&t.charCodeAt(n+11))<<24],l=gl(l=dl(l,c),31),r=hl(r=gl(r=ml(r,l=dl(l,u)),27),s),r=hl(dl(r,[0,5]),[0,1390208809]),a=gl(a=dl(a,u),33),s=hl(s=gl(s=ml(s,a=dl(a,c)),31),r),s=hl(dl(s,[0,5]),[0,944331445]);switch(l=[0,0],a=[0,0],i){case 15:a=ml(a,pl([0,t.charCodeAt(n+14)],48));case 14:a=ml(a,pl([0,t.charCodeAt(n+13)],40));case 13:a=ml(a,pl([0,t.charCodeAt(n+12)],32));case 12:a=ml(a,pl([0,t.charCodeAt(n+11)],24));case 11:a=ml(a,pl([0,t.charCodeAt(n+10)],16));case 10:a=ml(a,pl([0,t.charCodeAt(n+9)],8));case 9:a=dl(a=ml(a,[0,t.charCodeAt(n+8)]),u),s=ml(s,a=dl(a=gl(a,33),c));case 8:l=ml(l,pl([0,t.charCodeAt(n+7)],56));case 7:l=ml(l,pl([0,t.charCodeAt(n+6)],48));case 6:l=ml(l,pl([0,t.charCodeAt(n+5)],40));case 5:l=ml(l,pl([0,t.charCodeAt(n+4)],32));case 4:l=ml(l,pl([0,t.charCodeAt(n+3)],24));case 3:l=ml(l,pl([0,t.charCodeAt(n+2)],16));case 2:l=ml(l,pl([0,t.charCodeAt(n+1)],8));
2case 1:l=dl(l=ml(l,[0,t.charCodeAt(n)]),c),r=ml(r,l=dl(l=gl(l,31),u))}return r=hl(r=ml(r,[0,t.length]),s=ml(s,[0,t.length])),s=hl(s,r),r=hl(r=fl(r),s=fl(s)),s=hl(s,r),("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}(function(t){for(var e="",n=0,i=Object.keys(t).sort();n<i.length;n++){var o=i[n],r=t[o],s=r.error?"error":JSON.stringify(r.value);e+=(e?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+s}return e}(t))}function Oa(t){return void 0===t&&(t=50),function(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n((function(){return t()}),{timeout:e})})):al(Math.min(t,e))}(t,2*t)}function Ma(t,e){var n=Date.now();return{get:function(i){return rl(this,void 0,void 0,(function(){var o,r,s;return sl(this,(function(l){switch(l.label){case 0:return o=Date.now(),[4,t()];case 1:return r=l.sent(),s=function(t){var e;return{components:t,get visitorId(){return void 0===e&&(e=xa(this.components)),e},set visitorId(t){e=t},version:"3.2.0"}}(r),(e||(null==i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: "+s.version+"\nuserAgent: "+navigator.userAgent+"\ntimeBetweenLoadAndGet: "+(o-n)+"\nvisitorId: "+s.visitorId+"\ncomponents: "+Pa(r)+"\n```"),[2,s]}}))}))}}}var wa={load:function(t){var e=void 0===t?{}:t,n=e.delayFallback,i=e.debug;return rl(this,void 0,void 0,(function(){return sl(this,(function(t){switch(t.label){case 0:return[4,Oa(n)];case 1:return t.sent(),[2,Ma((e=ba,o={debug:i},r=[],s=Object.keys(e).filter((function(t){return!function(t,e){for(var n=0,i=t.length;n<i;++n)if(t[n]===e)return!0;return!1}(r,t)})),l=Array(s.length),ul(s,(function(t,n){l[n]=function(t,e){var n=function(t){return"function"!=typeof t},i=new Promise((function(i){var o=Date.now();cl(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Date.now()-o;if(!t[0])return i((function(){return{error:bl(t[1]),duration:r}}));var s=t[1];if(n(s))return i((function(){return{value:s,duration:r}}));i((function(){return new Promise((function(t){var e=Date.now();cl(s,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=r+Date.now()-e;if(!n[0])return t({error:bl(n[1]),duration:o});t({value:n[1],duration:o})}))}))}))}))}));return function(){return i.then((function(t){return t()}))}}(e[t],o)})),function(){return rl(this,void 0,void 0,(function(){var t,e,n,i,o;return sl(this,(function(r){switch(r.label){case 0:for(t={},e=0,n=s;e<n.length;e++)t[n[e]]=void 0;i=Array(s.length),o=function(){var e;return sl(this,(function(n){switch(n.label){case 0:return e=!0,[4,ul(s,(function(n,o){i[o]||(l[o]?i[o]=l[o]().then((function(e){return t[n]=e})):e=!1)}))];case 1:return n.sent(),e?[2,"break"]:[4,al(1)];case 2:return n.sent(),[2]}}))},r.label=1;case 1:return[5,o()];case 2:if("break"===r.sent())return[3,4];r.label=3;case 3:return[3,1];case 4:return[4,Promise.all(i)];case 5:return r.sent(),[2,t]}}))}))}),i)]}var e,o,r,s,l}))}))},hashComponents:xa,componentsToDebugString:Pa};class ka{constructor(){this.title="Apollon",localStorage.getItem("hid")?localStorage.getItem("hid").length>13&&this.getVisitorID():this.getVisitorID()}getVisitorID(){wa.load().then(t=>t.get()).then(t=>{localStorage.setItem("hid","apollon-"+t.visitorId.slice(-6))})}}class Sa{}const Ea=new Mt("Location Initialized");class Ta{}const Aa=new Mt("appBaseHref");class Ia{constructor(t,e){this._subject=new Co,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Ia.stripTrailingSlash(Da(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Ia.normalizeQueryParams(e))}normalize(t){return Ia.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Da(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}
vendor: 1,280 bytes, line 2
2go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ia.normalizeQueryParams(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ia.normalizeQueryParams(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}function Da(t){return t.replace(/\/index.html$/,"")}class La extends Ta{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}
2getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Ia.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let o=this.prepareExternalUrl(n+Ia.normalizeQueryParams(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,i){let o=this.prepareExternalUrl(n+Ia.normalizeQueryParams(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class Na extends Ta{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ia.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Ia.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const o=this.prepareExternalUrl(n+Ia.normalizeQueryParams(i));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,i){const o=this.prepareExternalUrl(n+Ia.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const Ra=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),ja=new Mt("UseV4Plurals");class za{}class Fa extends za{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){const e=t.toLowerCase().replace(/_/g,"-");let n=fo[e];if(n)return n;const i=e.split("-")[0];if(n=fo[i],n)return n;if("en"===i)return yo;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[_o.PluralCase]}(e||this.locale)(t)){case Ra.Zero:return"zero";case Ra.One:return"one";case Ra.Two:return"two";case Ra.Few:return"few";case Ra.Many:return"many";default:return"other"}}}function Va(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}class Ba{}class Ha{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}getValue(){return null}setClass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Ve(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ft(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>
2this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}let $a=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class Ua extends $a{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}class Wa{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class qa{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Kt()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}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(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Wa(null,this._ngForOf,-1,-1),null===i?void 0:i),o=new Ga(t,n);e.push(o)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,i);const r=new Ga(t,o);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);
2t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}class Ga{constructor(t,e){this.record=t,this.view=e}}class Ka{constructor(t,e){this._viewContainer=t,this._context=new Xa,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Qa("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Qa("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}class Xa{constructor(){this.$implicit=null,this.ngIf=null}}function Qa(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${ft(e)}'.`)}class Za{}class Ya{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}getValue(){return null}setNgStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}applyChanges(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}let Ja=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=void 0,t})();class tc extends Ja{constructor(t){super(t)}set ngStyle(t){this._delegate.setNgStyle(t)}ngDoCheck(){this._delegate.applyChanges()}}class ec{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class nc{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const ic=new nc,oc=new ec;class rc{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):je(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Fe.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(t){if(He(t))return ic;if($e(t))return oc;throw Error(`InvalidPipeArgument: '${t}' for pipe '${ft(rc)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}class sc{}const lc=new Mt("DocumentToken");function ac(t){return"server"===t}let cc=(()=>{class t{}return t.ngInjectableDef=gt({token:t,providedIn:"root",factory:()=>new uc(It(lc),window,It(Wt))}),t})();class uc{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}const hc=new b(t=>t.complete());function dc(t){return t?function(t){return new b(e=>t.schedule(()=>e.complete()))}(t):hc}function gc(t){const e=new b(e=>{e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function pc(...t){let e=t[t.length-1];switch(E(e)?t.pop():e=void 0,t.length){case 0:return dc(e);case 1:return e?W(t,e):gc(t[0]);default:return W(t,e)}}class mc extends k{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new O;return this._value}next(t){super.next(this._value=t)}}function fc(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}fc.prototype=Object.create(Error.prototype);const _c=fc,vc={};function yc(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&a(t[0])&&(t=t[0]),W(t,n).lift(new Cc(e))}class Cc{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new bc(t,this.resultSelector))}}class bc extends B{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(vc),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(V(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,i,o){const r=this.values,s=this.toRespond?r[n]===vc?--this.toRespond:this.toRespond:0;r[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function Pc(t){return new b(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?q(n):dc()).subscribe(e)})}function xc(){return Z(1)}function Oc(t,e){return function(n){return n.lift(new Mc(t,e))}}class Mc{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new wc(t,this.predicate,this.thisArg))}}class wc extends m{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}function kc(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}kc.prototype=Object.create(Error.prototype);const Sc=kc;function Ec(t){return function(e){return 0===t?dc():e.lift(new Tc(t))}}class Tc{constructor(t){if(this.total=t,this.total<0)throw new Sc}call(t,e){return e.subscribe(new Ac(t,this.total))}}class Ac extends m{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;o<n;o++){const o=e++%n;t.next(i[o])}}t.complete()}}function Ic(t,e,n){return function(i){return i.lift(new Dc(t,e,n))}}class Dc{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Lc(t,this.nextOrObserver,this.error,this.complete))}}class Lc extends m{constructor(t,e,n,o){super(t),this._tapNext=v,this._tapError=v,this._tapComplete=v,this._tapError=n||v,this._tapComplete=o||v,i(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||v,this._tapError=e.error||v,this._tapComplete=e.complete||v)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}const Nc=(t=Rc)=>Ic({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw t()}});function Rc(){return new _c}function jc(t=null){return e=>e.lift(new zc(t))}class zc{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Fc(t,this.defaultValue))}}class Fc extends m{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Vc(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Oc((e,n)=>t(e,n,i)):Q,Ec(1),n?jc(e):Nc(()=>new _c))}function Bc(t){return function(e){const n=new Hc(t),i=e.lift(n);return n.caught=i}}class Hc{constructor(t){this.selector=t}call(t,e){return e.subscribe(new $c(t,this.selector,this.caught))}}class $c extends B{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new T(this,void 0,void 0);this.add(i),V(this,n,void 0,void 0,i)}}}function Uc(t){return e=>0===t?dc():e.lift(new Wc(t))}class Wc{constructor(t){if(this.total=t,this.total<0)throw new Sc}call(t,e){return e.subscribe(new qc(t,this.total))}}class qc extends m{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Gc(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Oc((e,n)=>t(e,n,i)):Q,Uc(1),n?jc(e):Nc(()=>new _c))}class Kc{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new Xc(t,this.predicate,this.thisArg,this.source))}}class Xc extends m{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Qc(t,e){return"function"==typeof e?n=>n.pipe(Qc((n,i)=>q(t(n,i)).pipe(H((t,o)=>e(n,t,i,o))))):e=>e.lift(new Zc(t))}class Zc{constructor(t){this.project=t}call(t,e){return e.subscribe(new Yc(t,this.project))}}class Yc extends B{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)}_innerSub(t,e,n){const i=this.innerSubscription;i&&i.unsubscribe();const o=new T(this,void 0,void 0);this.destination.add(o),this.innerSubscription=V(this,t,e,n,o)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,i,o){this.destination.next(e)}}
2function Jc(...t){return xc()(pc(...t))}function tu(...t){return e=>{let n=t[t.length-1];E(n)?t.pop():n=null;const i=t.length;return Jc(1!==i||n?i>0?W(t,n):dc(n):gc(t[0]),e)}}function eu(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new nu(t,e,n))}}class nu{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new iu(t,this.accumulator,this.seed,this.hasSeed))}}class iu extends m{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function ou(t,e){return G(t,e,1)}class ru{constructor(t){this.callback=t}call(t,e){return e.subscribe(new su(t,this.callback))}}class su extends m{constructor(t,e){super(t),this.add(new d(e))}}let lu=null;function au(){return lu}const cu={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},uu={"\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"},hu={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"},du=(()=>{if(Ot.Node)return Ot.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class gu extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(e).forEach(n=>{null!=this.getStyle(t,n)&&(this._transitionEnd=e[n])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new gu,lu||(lu=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return cu}contains(t,e){return du.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let i=0;i<e.length;i++)n[i]=e[i];return n}clearNodes(t){for(;t.firstChild;)t.removeChild(t.firstChild)}appendChild(t,e){t.appendChild(e)}removeChild(t,e){t.removeChild(e)}replaceChild(t,e,n){t.replaceChild(e,n)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}insertBefore(t,e,n){t.insertBefore(n,e)}
vendor: 23,617 bytes, line 2
2insertAllBefore(t,e,n){n.forEach(n=>t.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(t,e),i}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const i=this.getStyle(t,e)||"";return n?i==n:i.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i);e.set(t.name,t.value)}return e}hasAttribute(t,e){return t.hasAttribute(e)}hasAttributeNS(t,e,n){return t.hasAttributeNS(e,n)}getAttribute(t,e){return t.getAttribute(e)}getAttributeNS(t,e,n){return t.getAttributeNS(e,n)}setAttribute(t,e,n){t.setAttribute(e,n)}setAttributeNS(t,e,n,i){t.setAttributeNS(e,n,i)}removeAttribute(t,e){t.removeAttribute(e)}removeAttributeNS(t,e,n){t.removeAttributeNS(e,n)}templateAwareRoot(t){return this.isTemplateElement(t)?this.content(t):t}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(t){return t.title}setTitle(t,e){t.title=e||""}elementMatches(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))}isTemplateElement(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName}isTextNode(t){return t.nodeType===Node.TEXT_NODE}isCommentNode(t){return t.nodeType===Node.COMMENT_NODE}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}hasShadowRoot(t){return null!=t.shadowRoot&&t instanceof HTMLElement}isShadowRoot(t){return t instanceof DocumentFragment}importIntoDoc(t){return document.importNode(this.templateAwareRoot(t),!0)}adoptNode(t){return document.adoptNode(t)}getHref(t){return t.getAttribute("href")}getEventKey(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&hu.hasOwnProperty(e)&&(e=hu[e]))}return uu[e]||e}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=mu||(mu=document.querySelector("base"),mu)?mu.getAttribute("href"):null;return null==e?null:(n=e,pu||(pu=document.createElement("a")),pu.setAttribute("href",n),"/"===pu.pathname.charAt(0)?pu.pathname:"/"+pu.pathname);var n}resetBaseElement(){mu=null}getUserAgent(){return window.navigator.userAgent}setData(t,e,n){this.setAttribute(t,"data-"+e,n)}getData(t,e){return this.getAttribute(t,"data-"+e)}getComputedStyle(t){return getComputedStyle(t)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Va(document.cookie,t)}setCookie(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)}}let pu,mu=null;function fu(){return!!window.history.pushState}const _u=new Mt("TRANSITION_ID"),vu=[{provide:xo,useFactory:function(t,e,n){return()=>{n.get(Oo).donePromise.then(()=>{const n=au();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[_u,lc,we],multi:!0}];class yu{static init(){var t;t=new yu,sr=t}addToWindow(t){Ot.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Ot.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ot.getAllAngularRootElements=()=>t.getAllRootElements(),Ot.frameworkStabilizers||(Ot.frameworkStabilizers=[]),Ot.frameworkStabilizers.push(t=>{const e=Ot.getAllAngularTestabilities();let n=e.length,i=!1;const o=function(e){i=i||e,n--,0==n&&t(i)};e.forEach((function(t){t.whenStable(o)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?au().isShadowRoot(e)?this.findTestabilityInTree(t,au().getHost(e),!0):this.findTestabilityInTree(t,au().parentElement(e),!0):null}}function Cu(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Ot.ng=Ot.ng||{})[t]=e)}const bu=(()=>({ApplicationRef:gr,NgZone:Xo}))();function Pu(t){return Or(t)}const xu=new Mt("EventManagerPlugins");class Ou{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}class Mu{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=au().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}class wu{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}class ku extends wu{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>au().remove(t))}}const Su={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/"},Eu=/%COMP%/g;function Tu(t,e,n){for(let i=0;i<e.length;i++){let o=e[i];Array.isArray(o)?Tu(t,o,n):(o=o.replace(Eu,t),n.push(o))}return n}function Au(t){return e=>{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class Iu{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Du(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Vt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Ru(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Vt.Native:case Vt.ShadowDom:return new ju(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Tu(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class Du{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Su[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const o=Su[i];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=Su[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&on.DashCase?t.style.setProperty(e,n,i&on.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&on.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){Nu(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return Nu(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Au(n)):this.eventManager.addEventListener(t,e,Au(n))}}const Lu=(()=>"@".charCodeAt(0))();function Nu(t,e){if(t.charCodeAt(0)===Lu)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Ru extends Du{constructor(t,e,n,i){super(t),this.component=n;const o=Tu(i+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Eu,i+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Eu,t)}(i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class ju extends Du{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===Vt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=Tu(i.id,i.styles,[]);for(let r=0;r<o.length;r++){const t=document.createElement("style");t.textContent=o[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}const zu=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),Fu=zu("addEventListener"),Vu=zu("removeEventListener"),Bu={},Hu="__zone_symbol__propagationStopped",$u=(()=>{const t="undefined"!=typeof Zone&&Zone[zu("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),Uu=function(t){return!!$u&&$u.hasOwnProperty(t)},Wu=function(t){const e=Bu[t.type];if(!e)return;const n=this[e];if(!n)return;const i=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,i):t.handler.apply(this,i)}{const e=n.slice();for(let n=0;n<e.length&&!0!==t[Hu];n++){const t=e[n];t.zone!==Zone.current?t.zone.run(t.handler,this,i):t.handler.apply(this,i)}}};class qu extends Mu{constructor(t,e,n){super(t),this.ngZone=e,n&&ac(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Hu]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let i=n;if(!t[Fu]||Xo.isInAngularZone()&&!Uu(e))t.addEventListener(e,i,!1);else{let n=Bu[e];n||(n=Bu[e]=zu("ANGULAR"+e+"FALSE"));let o=t[n];const r=o&&o.length>0;o||(o=t[n]=[]);const s=Uu(e)?Zone.root:Zone.current;if(0===o.length)o.push({zone:s,handler:i});else{let t=!1;for(let e=0;e<o.length;e++)if(o[e].handler===i){t=!0;break}t||o.push({zone:s,handler:i})}r||t[Fu](e,Wu,!1)}return()=>this.removeEventListener(t,e,i)}removeEventListener(t,e,n){let i=t[Vu];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);let o=Bu[e],r=o&&t[o];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);let s=!1;for(let l=0;l<r.length;l++)if(r[l].handler===n){s=!0,r.splice(l,1);break}s?0===r.length&&i.apply(t,[e,Wu,!1]):t.removeEventListener.apply(t,[e,n,!1])}}const Gu={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Ku=new Mt("HammerGestureConfig"),Xu=new Mt("HammerLoader");class Qu extends Mu{constructor(t,e,n,i){super(t),this._config=e,this.console=n,this.loader=i}supports(t){return!(!Gu.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(t,e,n){const i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let i=!1,o=()=>{i=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=()=>{});i||(o=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),o=()=>{}}),()=>{o()}}return i.runOutsideAngular(()=>{const o=this._config.buildHammer(t),r=function(t){i.runGuarded((function(){n(t)}))};return o.on(e,r),()=>{o.off(e,r),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}const Zu=["alt","control","meta","shift"],Yu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class Ju extends Mu{constructor(t){super(t)}supports(t){return null!=Ju.parseEventName(t)}addEventListener(t,e,n){const i=Ju.parseEventName(e),o=Ju.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>au().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const i=Ju._normalizeKey(e.pop());let o="";if(Zu.forEach(t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;const r={};return r.domEventName=n,r.fullKey=o,r}static getEventFullKey(t){let e="",n=au().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Zu.forEach(i=>{i!=n&&(0,Yu[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(t,e,n){return i=>{Ju.getEventFullKey(i)===t&&n.runGuarded(()=>e(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}class th{}class eh extends th{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case fe.NONE:return e;case fe.HTML:return e instanceof ih?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){let n=null;try{pe=pe||new Xt(t);let i=e?String(e):"";n=pe.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=n.innerHTML,n=pe.getInertBodyElement(i)}while(i!==r);const s=new ue,l=s.sanitizeChildren(me(n)||n);return Kt()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const t=me(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}(this._doc,String(e)));case fe.STYLE:return e instanceof oh?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";const e=t.match(ye);return e&&Yt(e[1])===e[1]||t.match(ve)&&function(t){let e=!0,n=!0;for(let i=0;i<t.length;i++){const o=t.charAt(i);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(Kt()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}(e));case fe.SCRIPT:if(e instanceof rh)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case fe.URL:return e instanceof lh||e instanceof sh?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Yt(String(e)));case fe.RESOURCE_URL:if(e instanceof lh)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof nh)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(t){return new ih(t)}bypassSecurityTrustStyle(t){return new oh(t)}bypassSecurityTrustScript(t){return new rh(t)}bypassSecurityTrustUrl(t){return new sh(t)}bypassSecurityTrustResourceUrl(t){return new lh(t)}}class nh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class ih extends nh{getTypeName(){return"HTML"}}class oh extends nh{getTypeName(){return"Style"}}class rh extends nh{getTypeName(){return"Script"}}class sh extends nh{getTypeName(){return"URL"}}class lh extends nh{getTypeName(){return"ResourceURL"}}const ah=cr(wr,"browser",[{provide:Eo,useValue:"browser"},{provide:So,useValue:function(){gu.makeCurrent(),yu.init()},multi:!0},{provide:Sa,useClass:class extends Sa{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=au().getLocation(),this._history=au().getHistory()}getBaseHrefFromDOM(){return au().getBaseHref(this._doc)}onPopState(t){au().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){au().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!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(t){this.location.pathname=t}pushState(t,e,n){fu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){fu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[lc]},{provide:lc,useFactory:function(){return document},deps:[]}]);function ch(){return new Wt}class uh{constructor(t){if(t)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:uh,providers:[{provide:Mo,useValue:t.appId},{provide:_u,useExisting:Mo},vu]}}}"undefined"!=typeof window&&window;class hh{constructor(t,e){this.id=t,this.url=e}}class dh extends hh{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class gh extends hh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ph extends hh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class mh extends hh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fh extends hh{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _h extends hh{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vh extends hh{constructor(t,e,n,i,o){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yh extends hh{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ch extends hh{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ph{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xh{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mh{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kh{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sh{}class Eh{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Th(t){return new Eh(t)}function Ah(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Ih(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const o={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];
2if(e.startsWith(":"))o[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:o}}class Dh{constructor(t,e){this.routes=t,this.module=e}}function Lh(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];Nh(i,Rh(e,i))}}function Nh(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&Lh(t.children,e)}function Rh(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function jh(t){const e=t.children&&t.children.map(jh),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Sh),n}function zh(t,e){const n=Object.keys(t),i=Object.keys(e);if(!n||!i||n.length!=i.length)return!1;let o;for(let r=0;r<n.length;r++)if(o=n[r],t[o]!==e[o])return!1;return!0}function Fh(t){return Array.prototype.concat.apply([],t)}function Vh(t){return t.length>0?t[t.length-1]:null}function Bh(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Hh(t){return $e(t)?t:He(t)?q(Promise.resolve(t)):pc(t)}function $h(t,e,n){return n?function(t,e){return zh(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Gh(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,o){if(n.segments.length>o.length)return!!Gh(n.segments.slice(0,o.length),o)&&!i.hasChildren();if(n.segments.length===o.length){if(!Gh(n.segments,o))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=o.slice(0,n.segments.length),r=o.slice(n.segments.length);return!!Gh(n.segments,t)&&!!n.children.primary&&e(n.children.primary,i,r)}}(e,n,n.segments)}(t.root,e.root)}class Uh{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Th(this.queryParams)),this._queryParamMap}toString(){return Zh.serialize(this)}}class Wh{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Bh(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yh(this)}}class qh{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Th(this.parameters)),this._parameterMap}toString(){return od(this)}}function Gh(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Kh(t,e){let n=[];return Bh(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),Bh(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}class Xh{}class Qh{parse(t){const e=new cd(t);return new Uh(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Yh(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",i=[];return Bh(e.children,(e,n)=>{"primary"!==n&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=Kh(e,(n,i)=>"primary"===i?[t(e.children.primary,!1)]:[`${i}:${t(n,!1)}`]);return`${Yh(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${td(e)}=${td(t)}`).join("&"):`${td(e)}=${td(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Zh=new Qh;function Yh(t){return t.segments.map(t=>od(t)).join("/")}function Jh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function td(t){return Jh(t).replace(/%3B/gi,";")}function ed(t){return Jh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}
vendor: 35,605 bytes, line 2
2function nd(t){return decodeURIComponent(t)}function id(t){return nd(t.replace(/\+/g,"%20"))}function od(t){return`${ed(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${ed(t)}=${ed(e[t])}`).join("")}`;var e}const rd=/^[^\/()?;=#]+/;function sd(t){const e=t.match(rd);return e?e[0]:""}const ld=/^[^=?&#]+/,ad=/^[^?&#]+/;class cd{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Wh([],{}):new Wh([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Wh(t,e)),n}parseSegment(){const t=sd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new qh(nd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=sd(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=sd(this.remaining);t&&(n=t,this.capture(n))}t[nd(e)]=nd(n)}parseQueryParam(t){const e=function(t){const e=t.match(ld);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(ad);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=id(e),o=id(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(o)}else t[i]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=sd(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o="primary");const r=this.parseChildren();e[o]=1===Object.keys(r).length?r.primary:new Wh([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class ud{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=hd(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=hd(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=dd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return dd(t,this._root).map(t=>t.value)}}function hd(t,e){if(t===e.value)return e;for(const n of e.children){const e=hd(t,n);if(e)return e}return null}function dd(t,e){if(t===e.value)return[e];for(const n of e.children){const i=dd(t,n);if(i.length)return i.unshift(e),i}return[]}class gd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function pd(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class md extends ud{constructor(t,e){super(t),this.snapshot=e,bd(this,t)}toString(){return this.snapshot.toString()}}function fd(t,e){const n=function(t,e){const n=new yd([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Cd("",new gd(n,[]))}(t,e),i=new mc([new qh("",{})]),o=new mc({}),r=new mc({}),s=new mc({}),l=new mc(""),a=new _d(i,o,s,l,r,"primary",e,n.root);return a.snapshot=n.root,new md(new gd(a,[]),n)}class _d{constructor(t,e,n,i,o,r,s,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=r,this.component=s,this._futureSnapshot=l}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(H(t=>Th(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(t=>Th(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vd(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class yd{constructor(t,e,n,i,o,r,s,l,a,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=r,this.component=s,this.routeConfig=l,this._urlSegment=a,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=Th(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Th(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Cd extends ud{constructor(t,e){super(e),this.url=t,bd(this,e)}toString(){return Pd(this._root)}}function bd(t,e){e.value._routerState=t,e.children.forEach(e=>bd(t,e))}function Pd(t){const e=t.children.length>0?` { ${t.children.map(Pd).join(", ")} } `:"";return`${t.value}${e}`}function xd(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,zh(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),zh(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!zh(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),zh(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Od(t,e){var n,i;return zh(t.params,e.params)&&Gh(n=t.url,i=e.url)&&n.every((t,e)=>zh(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Od(t.parent,e.parent))}function Md(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function wd(t,e,n,i,o){let r={};return i&&Bh(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Uh(n.root===t?e:function t(e,n,i){const o={};return Bh(e.children,(e,r)=>{o[r]=e===n?i:t(e,n,i)}),new Wh(e.segments,o)}(n.root,t,e),r,o)}class kd{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Md(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(i&&i!==Vh(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sd{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Ed(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Td(t,e,n){if(t||(t=new Wh([],{})),0===t.segments.length&&t.hasChildren())return Ad(t,e,n);const i=function(t,e,n){let i=0,o=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(i>=n.length)return r;const e=t.segments[o],s=Ed(n[i]),l=i<n.length-1?n[i+1]:null;if(o>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Nd(s,l,e))return r;i+=2}else{if(!Nd(s,{},e))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,e,n),o=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Wh(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Wh(t.segments.slice(i.pathIndex),t.children),Ad(e,0,o)}return i.match&&0===o.length?new Wh(t.segments,{}):i.match&&!t.hasChildren()?Id(t,e,n):i.match?Ad(t,0,o):Id(t,e,n)}function Ad(t,e,n){if(0===n.length)return new Wh(t.segments,{});{const i=function(t){return"object"!=typeof t[0]||void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),o={};return Bh(i,(n,i)=>{null!==n&&(o[i]=Td(t.children[i],e,n))}),Bh(t.children,(t,e)=>{void 0===i[e]&&(o[e]=t)}),new Wh(t.segments,o)}}function Id(t,e,n){const i=t.segments.slice(0,e);let o=0;for(;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){const t=Dd(n[o].outlets);return new Wh(i,t)}if(0===o&&Md(n[0])){i.push(new qh(t.segments[e].path,n[0])),o++;continue}const r=Ed(n[o]),s=o<n.length-1?n[o+1]:null;r&&s&&Md(s)?(i.push(new qh(r,Ld(s))),o+=2):(i.push(new qh(r,{})),o++)}return new Wh(i,{})}function Dd(t){const e={};return Bh(t,(t,n)=>{null!==t&&(e[n]=Id(new Wh([],{}),0,t))}),e}function Ld(t){const e={};return Bh(t,(t,n)=>e[n]=""+t),e}function Nd(t,e,n){return t==n.path&&zh(e,n.parameters)}class Rd{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),xd(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=pd(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),Bh(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,o=e?e.value:null;if(i===o)if(i.component){const o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=pd(t),o=t.value.component?n.children:e;Bh(i,(t,e)=>this.deactivateRouteAndItsChildren(t,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=pd(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new wh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Oh(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,o=e?e.value:null;if(xd(i),i===o)if(i.component){const o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),jd(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),o=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=o,e.outlet&&e.outlet.activateWith(i,o),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function jd(t){xd(t.value),t.children.forEach(jd)}function zd(t){return"function"==typeof t}function Fd(t){return t instanceof Uh}class Vd{constructor(t){this.segmentGroup=t||null}}class Bd{constructor(t){this.urlTree=t}}function Hd(t){return new b(e=>e.error(new Vd(t)))}function $d(t){return new b(e=>e.error(new Bd(t)))}function Ud(t){return new b(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Wd{constructor(t,e,n,i,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Rt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(H(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Bc(t=>{if(t instanceof Bd)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Vd)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(H(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Bc(t=>{if(t instanceof Vd)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Wh([],{primary:t}):t;return new Uh(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(H(t=>new Wh([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return pc({});const n=[],i=[],o={};return Bh(t,(t,r)=>{const s=e(r,t).pipe(H(t=>o[r]=t));"primary"===r?n.push(s):i.push(s)}),pc.apply(null,n.concat(i)).pipe(xc(),Vc(),H(()=>o))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,o,r){return pc(...n).pipe(H(s=>this.expandSegmentAgainstRoute(t,e,n,s,i,o,r).pipe(Bc(t=>{if(t instanceof Vd)return pc(null);throw t}))),xc(),Gc(t=>!!t),Bc((t,n)=>{if(t instanceof _c||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,o))return pc(new Wh([],{}));throw new Vd(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,o,r,s){return Xd(i)!==r?Hd(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r):Hd(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$d(o):this.lineralizeSegments(n,o).pipe(G(n=>{const o=new Wh(n,{});return this.expandSegment(t,o,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,o,r){const{matched:s,consumedSegments:l,lastChild:a,positionalParamSegments:c}=qd(e,i,o);if(!s)return Hd(e);const u=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?$d(u):this.lineralizeSegments(i,u).pipe(G(i=>this.expandSegment(t,e,n,i.concat(o.slice(a)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(H(t=>(n._loadedConfig=t,new Wh(i,{})))):pc(new Wh(i,{}));const{matched:o,consumedSegments:r,lastChild:s}=qd(e,n,i);if(!o)return Hd(e);const l=i.slice(s);return this.getChildConfig(t,n,i).pipe(G(t=>{const n=t.module,i=t.routes,{segmentGroup:o,slicedSegments:s}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>Kd(t,e,n)&&"primary"!==Xd(n))}(t,n,i)?{segmentGroup:Gd(new Wh(e,function(t,e){const n={};n.primary=e;for(const i of t)""===i.path&&"primary"!==Xd(i)&&(n[Xd(i)]=new Wh([],{}));return n}(i,new Wh(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Kd(t,e,n))}(t,n,i)?{segmentGroup:Gd(new Wh(t.segments,function(t,e,n,i){const o={};for(const r of n)Kd(t,e,r)&&!i[Xd(r)]&&(o[Xd(r)]=new Wh([],{}));return Object.assign({},i,o)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,r,l,i);return 0===s.length&&o.hasChildren()?this.expandChildren(n,i,o).pipe(H(t=>new Wh(r,t))):0===i.length&&0===s.length?pc(new Wh(r,{})):this.expandSegment(n,o,i,s,"primary",!0).pipe(H(t=>new Wh(r.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?pc(new Dh(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?pc(e._loadedConfig):function(t,e,n){const i=e.canLoad;return i&&0!==i.length?q(i).pipe(H(i=>{const o=t.get(i);let r;if(function(t){return t&&zd(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!zd(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return Hh(r)})).pipe(xc(),(o=t=>!0===t,t=>t.lift(new Kc(o,void 0,t)))):pc(!0);var o}(t.injector,e,n).pipe(G(n=>n?this.configLoader.load(t.injector,e).pipe(H(t=>(e._loadedConfig=t,t))):function(t){return new b(e=>e.error(Ah(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):pc(new Dh([],t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return pc(n);if(i.numberOfChildren>1||!i.children.primary)return Ud(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const o=this.createSegmentGroup(t,e.root,n,i);return new Uh(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Bh(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const o=t.substring(1);n[i]=e[o]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const o=this.createSegments(t,e.segments,n,i);let r={};return Bh(e.children,(e,o)=>{r[o]=this.createSegmentGroup(t,e,n,i)}),new Wh(o,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function qd(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||Ih)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Gd(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Wh(t.segments.concat(e.segments),e.children)}return t}function Kd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Xd(t){return t.outlet||"primary"}class Qd{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Zd{constructor(t,e){this.component=t,this.route=e}}function Yd(t,e,n){const i=t._root;return function t(e,n,i,o,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=pd(n);return e.children.forEach(e=>{!function(e,n,i,o,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,l=n?n.value:null,a=i?i.getContext(e.value.outlet):null;if(l&&s.routeConfig===l.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Gh(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Gh(t.url,e.url)||!zh(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Od(t,e)||!zh(t.queryParams,e.queryParams);case"paramsChange":default:return!Od(t,e)}}(l,s,s.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Qd(o)):(s.data=l.data,s._resolvedData=l._resolvedData),t(e,n,s.component?a?a.children:null:i,o,r),c&&r.canDeactivateChecks.push(new Zd(a&&a.outlet&&a.outlet.component||null,l))}else l&&tg(n,a,r),r.canActivateChecks.push(new Qd(o)),t(e,null,s.component?a?a.children:null:i,o,r)}(e,s[e.value.outlet],i,o.concat([e.value]),r),delete s[e.value.outlet]}),Bh(s,(t,e)=>tg(t,i.getContext(e),r)),r}(i,e?e._root:null,n,[i.value])}function Jd(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function tg(t,e,n){const i=pd(t),o=t.value;Bh(i,(t,i)=>{tg(t,o.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Zd(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}const eg=Symbol("INITIAL_VALUE");function ng(){return Qc(t=>yc(...t.map(t=>t.pipe(Uc(1),tu(eg)))).pipe(eu((t,e)=>{let n=!1;return e.reduce((t,i,o)=>{if(t!==eg)return t;if(i===eg&&(n=!0),!n){if(!1===i)return i;if(o===e.length-1||Fd(i))return i}return t},t)},eg),Oc(t=>t!==eg),H(t=>Fd(t)?t:!0===t),Uc(1)))}function ig(t,e){return null!==t&&e&&e(new Mh(t)),pc(!0)}function og(t,e){return null!==t&&e&&e(new xh(t)),pc(!0)}function rg(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?pc(i.map(i=>Pc(()=>{const o=Jd(i,e,n);let r;if(function(t){return t&&zd(t.canActivate)}(o))r=Hh(o.canActivate(e,t));else{if(!zd(o))throw new Error("Invalid CanActivate guard");r=Hh(o(e,t))}return r.pipe(Gc())}))).pipe(ng()):pc(!0)}function sg(t,e,n){const i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Pc(()=>pc(e.guards.map(o=>{const r=Jd(o,e.node,n);let s;if(function(t){return t&&zd(t.canActivateChild)}(r))s=Hh(r.canActivateChild(i,t));else{if(!zd(r))throw new Error("Invalid CanActivateChild guard");s=Hh(r(i,t))}return s.pipe(Gc())})).pipe(ng())));return pc(o).pipe(ng())}class lg{}class ag{constructor(t,e,n,i,o,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=r}recognize(){try{const t=hg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new yd([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new gd(n,e),o=new Cd(this.url,i);return this.inheritParamsAndData(o._root),pc(o)}catch(t){return new b(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=vd(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Kh(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,i)}catch(o){if(!(o instanceof lg))throw o}if(this.noLeftoversInUrl(e,n,i))return[];throw new lg}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new lg;if((t.outlet||"primary")!==i)throw new lg;let o,r=[],s=[];if("**"===t.path){const r=n.length>0?Vh(n).parameters:{};o=new yd(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pg(t),i,t.component,t,cg(e),ug(e)+n.length,mg(t))}else{const l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new lg;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||Ih)(n,t,e);if(!i)throw new lg;const o={};Bh(i.posParams,(t,e)=>{o[e]=t.path});const r=i.consumed.length>0?Object.assign({},o,i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:r}}(e,t,n);r=l.consumedSegments,s=n.slice(l.lastChild),o=new yd(r,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pg(t),i,t.component,t,cg(e),ug(e)+r.length,mg(t))}const l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:a,slicedSegments:c}=hg(e,r,s,l,this.relativeLinkResolution);if(0===c.length&&a.hasChildren()){const t=this.processChildren(l,a);return[new gd(o,t)]}if(0===l.length&&0===c.length)return[new gd(o,[])];const u=this.processSegment(l,a,c,"primary");return[new gd(o,u)]}}function cg(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function ug(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function hg(t,e,n,i,o){if(n.length>0&&function(t,e,n){return n.some(n=>dg(t,e,n)&&"primary"!==gg(n))}(t,n,i)){const o=new Wh(e,function(t,e,n,i){const o={};o.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==gg(r)){const n=new Wh([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,o[gg(r)]=n}return o}(t,e,i,new Wh(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>dg(t,e,n))}(t,n,i)){const r=new Wh(t.segments,function(t,e,n,i,o,r){const s={};for(const l of i)if(dg(t,n,l)&&!o[gg(l)]){const n=new Wh([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,s[gg(l)]=n}return Object.assign({},o,s)}(t,e,n,i,t.children,o));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Wh(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function dg(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function gg(t){return t.outlet||"primary"}function pg(t){return t.data||{}}function mg(t){return t.resolve||{}}function fg(t,e,n,i){const o=Jd(t,e,i);return Hh(o.resolve?o.resolve(e,n):o(e,n))}function _g(t){return function(e){return e.pipe(Qc(e=>{const n=t(e);return n?q(n).pipe(H(()=>e)):q([e])}))}}class vg{}class yg{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const Cg=new Mt("ROUTES");class bg{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(H(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new Dh(Fh(i.injector.get(Cg)).map(jh),i)}))}loadModuleFactory(t){return"string"==typeof t?q(this.loader.load(t)):Hh(t()).pipe(G(t=>t instanceof jt?pc(t):q(this.compiler.compileModuleAsync(t))))}}class Pg{}class xg{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Og(t){throw t}function Mg(t,e,n){return e.parse("/")}function wg(t,e){return pc(null)}class kg{constructor(t,e,n,i,o,r,s,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new k,this.errorHandler=Og,this.malformedUriErrorHandler=Mg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wg,afterPreactivation:wg},this.urlHandlingStrategy=new xg,this.routeReuseStrategy=new yg,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Rt),this.console=o.get(Ao);const a=o.get(Xo);this.isNgZoneEnabled=a instanceof Xo,this.resetConfig(l),this.currentUrlTree=new Uh(new Wh([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new bg(r,s,t=>this.triggerEvent(new bh(t)),t=>this.triggerEvent(new Ph(t))),this.routerState=fd(this.currentUrlTree,this.rootComponentType),this.transitions=new mc({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(t){const e=this.events;return t.pipe(Oc(t=>0!==t.id),H(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Qc(t=>{let n=!1,i=!1;return pc(t).pipe(Ic(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Qc(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return pc(t).pipe(Qc(t=>{const n=this.transitions.getValue();return e.next(new dh(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?hc:[t]}),Qc(t=>Promise.resolve(t)),(i=this.ngModule.injector,o=this.configLoader,r=this.urlSerializer,s=this.config,function(t){return t.pipe(Qc(t=>function(t,e,n,i,o){return new Wd(t,e,n,i,o).apply()}(i,o,r,t.extractedUrl,s).pipe(H(e=>Object.assign({},t,{urlAfterRedirects:e})))))}),Ic(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,o){return function(r){return r.pipe(G(r=>function(t,e,n,i,o="emptyOnly",r="legacy"){return new ag(t,e,n,i,o,r).recognize()}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,o).pipe(H(t=>Object.assign({},r,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ic(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Ic(t=>{const n=new fh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,o,r,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:o,restoredState:r,extras:s}=t,l=new dh(n,this.serializeUrl(i),o,r);e.next(l);const a=fd(i,this.rootComponentType).snapshot;return pc(Object.assign({},t,{targetSnapshot:a,urlAfterRedirects:i,extras:Object.assign({},s,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),hc}),_g(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:o,extras:{skipLocationChange:r,replaceUrl:s}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!r,replaceUrl:!!s})}),Ic(t=>{const e=new _h(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),H(t=>Object.assign({},t,{guards:Yd(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(G(n=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=n;return 0===s.length&&0===r.length?pc(Object.assign({},n,{guardsResult:!0})):function(t,e,n,i){return q(t).pipe(G(t=>function(t,e,n,i,o){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?pc(r.map(r=>{const s=Jd(r,e,o);let l;if(function(t){return t&&zd(t.canDeactivate)}(s))l=Hh(s.canDeactivate(t,e,n,i));else{if(!zd(s))throw new Error("Invalid CanDeactivate guard");l=Hh(s(t,e,n,i))}return l.pipe(Gc())})).pipe(ng()):pc(!0)}(t.component,t.route,n,e,i)),Gc(t=>!0!==t,!0))}(s,i,o,t).pipe(G(n=>n&&"boolean"==typeof n?function(t,e,n,i){return q(e).pipe(ou(e=>q([og(e.route.parent,i),ig(e.route,i),sg(t,e.path,n),rg(t,e.route,n)]).pipe(xc(),Gc(t=>!0!==t,!0))),Gc(t=>!0!==t,!0))}(i,r,t,e):pc(n)),H(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Ic(t=>{if(Fd(t.guardsResult)){const e=Ah(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Ic(t=>{const e=new vh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Oc(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new ph(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),_g(t=>{if(t.guards.canActivateChecks.length)return pc(t).pipe(Ic(t=>{const e=new yh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(G(t=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=t;return o.length?q(o).pipe(ou(t=>function(t,e,n,i){return function(t,e,n,i){const o=Object.keys(t);if(0===o.length)return pc({});if(1===o.length){const r=o[0];return fg(t[r],e,n,i).pipe(H(t=>({[r]:t})))}const r={};return q(o).pipe(G(o=>fg(t[o],e,n,i).pipe(H(t=>(r[o]=t,t))))).pipe(Vc(),H(()=>r))}(t._resolve,t,e,i).pipe(H(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,vd(t,n).resolve),null)))}(t.route,i,e,n)),function(t,e){return arguments.length>=2?function(n){return y(eu(t,e),Ec(1),jc(e))(n)}:function(e){return y(eu((e,n,i)=>t(e,n,i+1)),Ec(1))(e)}}((t,e)=>t),H(e=>t)):pc(t)}))}),Ic(t=>{const e=new Ch(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),_g(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:o,extras:{skipLocationChange:r,replaceUrl:s}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!r,replaceUrl:!!s})}),H(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const o=i.value;o._futureSnapshot=n.value;const r=function(e,n,i){return n.children.map(n=>{for(const o of i.children)if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o);return t(e,n)})}(e,n,i);return new gd(o,r)}{const i=e.retrieve(n.value);if(i){const t=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
2if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,t),t}{const i=new _d(new mc((o=n.value).url),new mc(o.params),new mc(o.queryParams),new mc(o.fragment),new mc(o.data),o.outlet,o.component,o),r=n.children.map(n=>t(e,n));return new gd(i,r)}}var o}(t,e._root,n?n._root:void 0);return new md(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Ic(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,l=t=>this.triggerEvent(t),H(t=>(new Rd(s,t.targetRouterState,t.currentRouterState,l).activate(r),t))),Ic({next(){n=!0},complete(){n=!0}}),(o=()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new ph(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new ru(o))),Bc(n=>{if(i=!0,(o=n)&&o.ngNavigationCancelingError){const i=Fd(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const o=new ph(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(o),t.resolve(!1),i&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new mh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var o;return hc}));var o,r,s,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,i,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Lh(t),this.config=t.map(jh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:o,preserveQueryParams:r,queryParamsHandling:s,preserveFragment:l}=e;Kt()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const a=n||this.routerState.root,c=l?this.currentUrlTree.fragment:o;let u=null;if(s)switch(s){case"merge":u=Object.assign({},this.currentUrlTree.queryParams,i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}else u=r?this.currentUrlTree.queryParams:i||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,i,o){if(0===n.length)return wd(e.root,e.root,e,i,o);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new kd(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,o)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Bh(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===o?(i.split("/").forEach((i,o)=>{0==o&&"."===i||(0==o&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new kd(n,e,i)}(n);if(r.toRoot())return wd(e.root,new Wh([],{}),e,i,o);const s=function(t,e,n){if(t.isAbsolute)return new Sd(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Sd(n.snapshot._urlSegment,!0,0);const i=Md(t.commands[0])?0:1;return function(t,e,n){let i=t,o=e,r=n;for(;r>o;){if(r-=o,i=i.parent,!i)throw new Error("Invalid number of '../'");o=i.segments.length}return new Sd(i,!1,o-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),l=s.processChildren?Ad(s.segmentGroup,s.index,r.commands):Td(s.segmentGroup,s.index,r.commands);return wd(s.segmentGroup,l,e,i,o)}(a,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){Kt()&&this.isNgZoneEnabled&&!Xo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did
2you forget to call 'ngZone.run()'?");const n=Fd(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(Fd(t))return $h(this.currentUrlTree,t,e);const n=this.parseUrl(t);return $h(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new gh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i){const o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);let r=null,s=null;const l=new Promise((t,e)=>{r=t,s=e}),a=++this.navigationId;return this.setTransition({id:a,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:r,reject:s,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const o=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object.assign({},i,{navigationId:n})):this.location.go(o,"",Object.assign({},i,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class Sg{constructor(t,e,n,i,o){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(o.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Kt()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Tg(this.skipLocationChange),replaceUrl:Tg(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tg(this.preserveFragment)})}}class Eg{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof gh&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Kt()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i){if(0!==t||e||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:Tg(this.skipLocationChange),replaceUrl:Tg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tg(this.preserveFragment)})}}function Tg(t){return""===t||!!t}class Ag{constructor(t,e,n,i,o){this.router=t,this.element=e,this.renderer=n,this.link=i,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof gh&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();
2this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}class Ig{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Dg,this.attachRef=null}}class Dg{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ig,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Lg{constructor(t,e,n,i,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Co,this.deactivateEvents=new Co,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,o=new Ng(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class Ng{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===_d?this.route:t===Dg?this.childContexts:this.parent.get(t,e)}}class Rg{}class jg{preload(t,e){return e().pipe(Bc(()=>pc(null)))}}class zg{preload(t,e){return pc(null)}}class Fg{constructor(t,e,n,i,o){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new bg(e,n,e=>t.triggerEvent(new bh(e)),e=>t.triggerEvent(new Ph(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Oc(t=>t instanceof gh),ou(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Rt);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return q(n).pipe(Z(),H(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(G(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}class Vg{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
vendor: 5,053 bytes, line 2
2orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof dh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof gh&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof kh&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new kh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Bg=new Mt("ROUTER_CONFIGURATION"),Hg=new Mt("ROUTER_FORROOT_GUARD"),$g=[Ia,{provide:Xh,useClass:Qh},{provide:kg,useFactory:Qg,deps:[gr,Xh,Dg,Ia,we,mr,zo,Cg,Bg,[Pg,new at],[vg,new at]]},Dg,{provide:_d,useFactory:Zg,deps:[kg]},{provide:mr,useClass:vr},Fg,zg,jg,{provide:Bg,useValue:{enableTracing:!1}}];function Ug(){return new ar("Router",kg)}class Wg{constructor(t,e){}static forRoot(t,e){return{ngModule:Wg,providers:[$g,Xg(t),{provide:Hg,useFactory:Kg,deps:[[kg,new at,new ut]]},{provide:Bg,useValue:e||{}},{provide:Ta,useFactory:Gg,deps:[Sa,[new lt(Aa),new at],Bg]},{provide:Vg,useFactory:qg,deps:[kg,cc,Bg]},{provide:Rg,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:zg},{provide:ar,multi:!0,useFactory:Ug},[Yg,{provide:xo,multi:!0,useFactory:Jg,deps:[Yg]},{provide:ep,useFactory:tp,deps:[Yg]},{provide:To,multi:!0,useExisting:ep}]]}}static forChild(t){return{ngModule:Wg,providers:[Xg(t)]}}}function qg(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Vg(t,e,n)}function Gg(t,e,n={}){return n.useHash?new La(t,e):new Na(t,e)}function Kg(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Xg(t){return[{provide:Le,multi:!0,useValue:t},{provide:Cg,multi:!0,useValue:t}]}function Qg(t,e,n,i,o,r,s,l,a={},c,u){const h=new kg(null,e,n,i,o,r,s,Fh(l));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),a.errorHandler&&(h.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(h.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=au();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(h.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(h.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(h.relativeLinkResolution=a.relativeLinkResolution),h}function Zg(t){return t.routerState.root}class Yg{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new k}appInitializer(){return this.injector.get(Ea,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(kg),i=this.injector.get(Bg);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?pc(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Bg),n=this.injector.get(Fg),i=this.injector.get(Vg),o=this.injector.get(kg),r=this.injector.get(gr);t===r.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),o.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Jg(t){return t.appInitializer.bind(t)}function tp(t){return t.bootstrapListener.bind(t)}const ep=new Mt("Router Initializer");var np=Hn({encapsulation:2,styles:[],data:{}});function ip(t){return Qr(0,[(t()(),Dr(0,16777216,null,null,1,"router-outlet",[],null,
2null,null,null,null)),Yi(1,212992,null,0,Lg,[Dg,wn,Xe,[8,null],Pe],null,null)],(function(t,e){t(e,1,0)}),null)}function op(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"ng-component",[],null,null,null,ip,np)),Yi(1,49152,null,0,Sh,[],null,null)],null,null)}var rp=Si("ng-component",Sh,op,{},{},[]);class sp{constructor(){}ngOnInit(){}}var lp=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;color:#fff}h1[_ngcontent-%COMP%]{font-size:42px}h2[_ngcontent-%COMP%]{font-size:32px;margin-bottom:15px}h3[_ngcontent-%COMP%]{font-family:AvenirNext-Medium;font-size:16px}h4[_ngcontent-%COMP%]{font-size:16px;text-transform:uppercase}p[_ngcontent-%COMP%]{font-family:AvenirNext-Medium;font-size:16px;color:#fff}button[_ngcontent-%COMP%]{width:190px;height:50px;padding-top:2px;background:#ac0204;font-family:AvenirNext-Bold;font-size:14px;text-transform:uppercase;color:#fff;border:0;border-radius:35px;outline:0;cursor:pointer;text-align:center;margin:25px auto 0;transition:all .1s ease-out}button[_ngcontent-%COMP%]:hover{background:#950102;transform:scale(1.1);transition:all .1s ease-in-out}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:0 0;border:2px solid #ac0204;font-family:AvenirNext-Bold;font-size:12px;text-transform:uppercase;color:#fff;width:130px;position:absolute;right:20px;top:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{border:none;background:#ac0204}.bd-bgd[_ngcontent-%COMP%]{background:center/cover #000;height:100%}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:89vh;overflow:hidden;display:block;position:relative;padding-bottom:143px}.container[_ngcontent-%COMP%]{margin:60px auto 0;max-width:1630px;padding:0 15px}.hero-section[_ngcontent-%COMP%]{background:url(hero-bgd.f632cef7d40c24c0297d.png) center/cover;min-height:calc(100vh - 301px)}.hero-section[_ngcontent-%COMP%] .overlay-dark[_ngcontent-%COMP%]{background:#000;background:linear-gradient(180deg,#000 0,rgba(0,0,0,.5396533613) 100%);min-height:calc(100vh - 301px)}.hero-section[_ngcontent-%COMP%] .overlay-dark[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{margin:0 auto;display:flex;flex-direction:column;max-width:1530px;color:#fff;text-align:center;align-content:center;justify-content:center;min-height:calc(100vh - 401px);padding:50px 25px 80px}.hero-section[_ngcontent-%COMP%] .overlay-dark[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-family:AvenirNext-Bold;font-size:12px;text-align:center;padding-bottom:30px;margin:0 25px}.hero-section[_ngcontent-%COMP%] .overlay-dark[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.hero-section[_ngcontent-%COMP%] .overlay-dark[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#950102}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .faq-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .movies-section[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{margin:0 auto;padding:0 35px;max-width:1530px;display:flex}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{flex-direction:row}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%], .mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-content:center;flex:50%}.tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%]{margin:50px 0}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:25px}.tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:0;margin:0}.mobile-section[_ngcontent-%COMP%]{background:url(blury-bgd.4c64198f58561a8698a8.png) center/cover}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:0;margin:0}.devices-section[_ngcontent-%COMP%]{background:url(blury-bgd.4c64198f58561a8698a8.png) center/cover;margin-top:-20vw;padding-top:20vw;padding-bottom:60px}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .faq-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{flex-direction:column;justify-content:center;align-content:center;text-align:center;margin-top:30px}.movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .flex-gallery[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;padding:5px;justify-content:center}.movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .flex-gallery[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:5px;width:24%;height:100%}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .faq-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .devices-wrapper[_ngcontent-%COMP%]{text-align:center;width:inherit}.movies-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .devices-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:relative;margin:auto;max-width:970px;width:80vw}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .devices-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-evenly;margin-top:50px}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .devices-wrapper[_ngcontent-%COMP%] .device[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:110px}.faq-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{margin-bottom:25px}.inner-wrapper[_ngcontent-%COMP%]{margin-bottom:10px}.accordion-heading[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;position:relative;transition:.4s;padding:0 20px;color:#fff;border:none;background:#222;outline:0}.accordion-heading[_ngcontent-%COMP%]:after{content:"+";color:#fff;font-weight:700;float:right;margin-left:5px;font-size:24px;display:flex;align-items:center}.accordion-heading[_ngcontent-%COMP%]:after .active[_ngcontent-%COMP%]:after{content:"\u2212"}.accordion-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}.accordion-content[_ngcontent-%COMP%]{padding:15px 20px;transition:max-height .2s ease-out;background:#222;border-top:1px solid #333;display:none}.accordion-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;text-align:left;margin:0;
2color:#777}footer[_ngcontent-%COMP%]{width:100%;height:143px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{flex-basis:50%}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;color:#555;margin:0;padding:0}.mobile[_ngcontent-%COMP%]{display:none!important}.desktop[_ngcontent-%COMP%]{display:flex!important}@media only screen and (min-width:1530px){.devices-section[_ngcontent-%COMP%]{margin-top:-300px;padding-top:300px;padding-bottom:60px}}@media screen and (max-width:767px){header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:23px 20px 0;width:60px}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{flex-direction:column;text-align:center}.mobile-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 auto}.tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-left[_ngcontent-%COMP%], .tv-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .container-right[_ngcontent-%COMP%]{margin:20px 0}.devices-section[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%] .devices[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:50vw;margin:20px 0}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}.mobile[_ngcontent-%COMP%]{display:block!important}.desktop[_ngcontent-%COMP%]{display:none!important}}']],data:{}});function ap(t){return Qr(0,[(t()(),Dr(0,0,null,null,162,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,20,"section",[["class","hero-section"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,19,"div",[["class","overlay-dark"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,5,"header",[],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,2,"button",[["class","svelte-19ku4s9"],["type","button"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,7).onClick()&&i),i}),null,null)),Yi(7,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Prijavi se"])),(t()(),Dr(9,0,null,null,7,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(10,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Holivudski i doma\u0107i filmovi i serije bez reklama"])),(t()(),Dr(12,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Gr(-1,null,["U\u017eivajte u najboljoj ponudi doma\u0107ih / stranih filmova i serija online! Po ceni od 499 rsd mese\u010dno."])),(t()(),Dr(14,0,null,null,2,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Dr(15,0,null,null,1,"button",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Registruj se"])),(t()(),Dr(17,0,null,null,4,"p",[["class","note"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslove kori\u0161\u0107enja i cenovnik usluga mo\u017eete pogledati "])),(t()(),Dr(19,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["ovde"])),(t()(),Gr(-1,null,["."])),(t()(),Dr(22,0,null,null,14,"section",[["class","tv-section"]],null,null,null,null,null)),(t()(),Dr(23,0,null,null,13,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(24,0,null,null,1,"div",[["class","container-left desktop"]],null,null,null,null,null)),(t()(),Dr(25,0,null,null,0,"img",[["alt","Smart TV Dunkirk film"],["src","../../assets/images/landing-page/apollon-smart-tv.png"]],null,null,null,null,null)),(t()(),Dr(26,0,null,null,8,"div",[["class","container-right"]],null,null,null,null,null)),(t()(),Dr(27,0,null,null,1,"h2",[],null,
2null,null,null,null)),(t()(),Gr(-1,null,["Brzo i lako"])),(t()(),Dr(29,0,null,null,2,"div",[["class","description"]],null,null,null,null,null)),(t()(),Dr(30,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Otvori svet filmova i serija za sve uzraste jednostavnom registracijom na sajtu ili slanjem SMS poruke APOLLON na 7700. U\u017eivaj u neograni\u010denom izboru za samo 499 dinara mese\u010dno."])),(t()(),Dr(32,0,null,null,2,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Dr(33,0,null,null,1,"button",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Registruj se"])),(t()(),Dr(35,0,null,null,1,"div",[["class","container-left mobile"]],null,null,null,null,null)),(t()(),Dr(36,0,null,null,0,"img",[["alt","Smart TV Dunkirk film"],["src","../../assets/images/landing-page/apollon-smart-tv.png"]],null,null,null,null,null)),(t()(),Dr(37,0,null,null,12,"section",[["class","mobile-section"]],null,null,null,null,null)),(t()(),Dr(38,0,null,null,11,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(39,0,null,null,8,"div",[["class","container-left"]],null,null,null,null,null)),(t()(),Dr(40,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Tvoji omiljeni filmovi, bind\u017euj najpopularnije serije"])),(t()(),Dr(42,0,null,null,2,"div",[["class","description"]],null,null,null,null,null)),(t()(),Dr(43,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Pristupite najve\u0107oj online bazi doma\u0107ih i stranih filmova i serija sa prevodima i titlovima. Prona\u0111ite \u017eanrove i kategorije koje Vam odgovaraju i u\u017eivajte u beskrajnom izboru filmskih i televijskih dostignu\u0107a koje Vam nudi Apollon."])),(t()(),Dr(45,0,null,null,2,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Dr(46,0,null,null,1,"button",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Registruj se"])),(t()(),Dr(48,0,null,null,1,"div",[["class","container-right"]],null,null,null,null,null)),(t()(),Dr(49,0,null,null,0,"img",[["alt","Gledaj Apollon na telefonu"],["src","../../assets/images/landing-page/Apollon-gledaj-na-telefonu.png"]],null,null,null,null,null)),(t()(),Dr(50,0,null,null,21,"section",[["class","movies-section"]],null,null,null,null,null)),(t()(),Dr(51,0,null,null,20,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(52,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Istra\u017eite na\u0161u ponudu"])),(t()(),Dr(54,0,null,null,2,"div",[["class","description"]],null,null,null,null,null)),(t()(),Dr(55,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Od doma\u0107ih filmskih ostvarenja do stranih serija i holivudskih blokbastera, nudimo Vam vi\u0161e od 10 000 sati filmova i serija sa prevodom online."])),(t()(),Dr(57,0,null,null,12,"div",[["class","flex-gallery"]],null,null,null,null,null)),(t()(),Dr(58,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/accountant.png"]],null,null,null,null,null)),(t()(),Dr(59,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/argo.png"]],null,null,null,null,null)),(t()(),Dr(60,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/thedeparted.png"]],null,null,null,null,null)),(t()(),Dr(61,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/geostorm.png"]],null,null,null,null,null)),(t()(),Dr(62,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/kong.png"]],null,null,null,null,null)),(t()(),Dr(63,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/pan.png"]],null,null,null,null,null)),(t()(),Dr(64,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/sherlock.png"]],null,null,null,null,null)),(t()(),Dr(65,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/thejudge.png"]],null,null,null,null,null)),(t()(),Dr(66,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/keanu.png"]],null,null,null,null,null)),(t()(),Dr(6
27,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/arthur.png"]],null,null,null,null,null)),(t()(),Dr(68,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/it.png"]],null,null,null,null,null)),(t()(),Dr(69,0,null,null,0,"img",[["alt","Example image"],["class","item"],["src","../../assets/images/landing-page/movies/wrathofthetitans.png"]],null,null,null,null,null)),(t()(),Dr(70,0,null,null,1,"div",[["class","devices-wrapper"]],null,null,null,null,null)),(t()(),Dr(71,0,null,null,0,"img",[["alt","Gledaj Apollon na telefonu"],["src","../../assets/images/landing-page/apollon-online-bioskop-uredjaji.png"]],null,null,null,null,null)),(t()(),Dr(72,0,null,null,30,"section",[["class","devices-section"]],null,null,null,null,null)),(t()(),Dr(73,0,null,null,29,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(74,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Apollon je tamo gde si ti"])),(t()(),Dr(76,0,null,null,2,"div",[["class","description"]],null,null,null,null,null)),(t()(),Dr(77,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Na bilo kojoj lokaciji sa internet konekcijom, na tvom televizoru, ra\u010dunaru, tabletu ili telefonu - aktiviraj, gledaj, u\u017eivaj."])),(t()(),Dr(79,0,null,null,16,"div",[["class","devices-wrapper desktop"]],null,null,null,null,null)),(t()(),Dr(80,0,null,null,3,"div",[["class","device"]],null,null,null,null,null)),(t()(),Dr(81,0,null,null,0,"img",[["alt","Smart TV ikonica"],["src","../../assets/images/landing-page/television.png"]],null,null,null,null,null)),(t()(),Dr(82,0,null,null,1,"h4",[],null,
2null,null,null,null)),(t()(),Gr(-1,null,["Smart TV"])),(t()(),Dr(84,0,null,null,3,"div",[["class","device"]],null,null,null,null,null)),(t()(),Dr(85,0,null,null,0,"img",[["alt","Ra\u010dunar ikonica"],["src","../../assets/images/landing-page/laptop.png"]],null,null,null,null,null)),(t()(),Dr(86,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Ra\u010dunar"])),(t()(),Dr(88,0,null,null,3,"div",[["class","device"]],null,null,null,null,null)),(t()(),Dr(89,0,null,null,0,"img",[["alt","Tablet ikonica"],["src","../../assets/images/landing-page/tablet.png"]],null,null,null,null,null)),(t()(),Dr(90,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Tablet"])),(t()(),Dr(92,0,null,null,3,"div",[["class","device"]],null,null,null,null,null)),(t()(),Dr(93,0,null,null,0,"img",[["alt","Smartphone ikonica"],["src","../../assets/images/landing-page/smartphone.png"]],null,null,null,null,null)),(t()(),Dr(94,0,null,null,1,"h4",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Mobilni"])),(t()(),Dr(96,0,null,null,3,"div",[["class","devices mobile"]],null,null,null,null,null)),(t()(),Dr(97,0,null,null,0,"img",[["alt","Svi redjaji"],["src","../../assets/images/landing-page/apollon-devices-icon.png"]],null,null,null,null,null)),(t()(),Dr(98,0,null,null,1,"h4",[],null,
2null,null,null,null)),(t()(),Gr(-1,null,["Smart TV, ra\u010dunar, tablet i mobilni"])),(t()(),Dr(100,0,null,null,2,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Dr(101,0,null,null,1,"button",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Registruj se"])),(t()(),Dr(103,0,null,null,59,"div",[["class","faq-section"]],null,null,null,null,null)),(t()(),Dr(104,0,null,null,41,"div",[["class","content-wrapper"]],null,null,null,null,null)),(t()(),Dr(105,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Naj\u010de\u0161\u0107e postavljana pitanja."])),(t()(),Dr(107,0,null,null,2,"div",[["class","description"]],null,null,null,null,null)),(t()(),Dr(108,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Saznajte sve \u0161to Vas interesuje o Apollonu putem nekih od naj\u010de\u0161\u0107e postavljanih pitanja."])),(t()(),Dr(110,0,null,null,35,"div",[["class","accordion-wrapper"]],null,null,null,null,null)),(t()(),Dr(111,0,null,null,6,"div",[["class","inner-wrapper"]],null,null,null,null,null)),(t()(),Dr(112,0,null,null,2,"div",[["class","accordion-heading"],["onclick","toggle('p1')"]],null,null,null,null,null)),(t()(),Dr(113,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\u0160ta je Apollon?"])),(t()(),Dr(115,0,null,null,2,"div",[["class","accordion-content"],["id","p1"]],null,null,null,null,null)),(t()(),Dr(116,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Apollon je SVOD platforma i jedini lokalizovani servis putem kog korisnici mogu u svakom trenutku da pristupe bazi sa vi\u0161e od 10 000 sati, holivudskog i doma\u0107eg filmskog i serijskog programa sa prevodom na srpski jezik. Pored najve\u0107eg izbora holivudskih filmova, ovaj servis nudi bezgrani\u010dan broj ameri\u010dkih serija kao i celokupan opus serijskog programa u produkciji. Telekom Srbija i Pinka, kao i sve kultne filmove doma\u0107e kinematografije."])),(t()(),Dr(118,0,null,null,6,"div",[["class","inner-wrapper"]],null,null,null,null,null)),(t()(),Dr(119,0,null,null,2,"div",[["class","accordion-heading"],["onclick","toggle('p2')"]],null,null,null,null,null)),(t()(),Dr(120,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Kako Apollon funkcioni\u0161e?"])),(t()(),Dr(122,0,null,null,2,"div",[["class","accordion-content"],["id","p2"]],null,null,null,null,null)),(t()(),Dr(123,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Apollon funkcioni\u0161e po principu mese\u010dne pretplate. Sa aktiviranom pretplatom ceo sadr\u017eaj vam je na raspolaganju za gledanje bez ograni\u010denja."])),(t()(),Dr(125,0,null,null,6,"div",[["class","inner-wrapper"]],null,null,null,null,null)),(t()(),Dr(126,0,null,null,2,"div",[["class","accordion-heading"],["onclick","toggle('p3')"]],null,null,null,null,null)),(t()(),Dr(127,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Da li je Apollon dostupan iz inostranstva?"])),(t()(),Dr(129,0,null,null,2,"div",[["class","accordion-content"],["id","p3"]],null,null,null,null,null)),(t()(),Dr(130,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Apollon je trenutno dostupan samo za korisnike iz Bosne i Hercegovine, Crne Gore, Makedonije, Albanije i Kosova."])),(t()(),Dr(132,0,null,null,6,"div",[["class","inner-wrapper"]],null,null,null,null,null)),(t()(),Dr(133,0,null,null,2,"div",[["class","accordion-heading"],["onclick","toggle('p4')"]],null,null,null,null,null)),(t()(),Dr(134,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Koje metode za pla\u0107anje podr\u017eava Apollon?"])),(t()(),Dr(136,0,null,null,2,"div",[["class","accordion-content"],["id","p4"]],null,null,null,null,null)),(t()(),Dr(137,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Apollon trenutno podr\u017eava pla\u0107anje kreditnim i debitnim karticama kao \u0161to su MasterCard, Maestro i Visa, kao pretplatu putem SMS poruka."])),(t()(),Dr(139,0,null,null,6,"div",[["class","inner-wrapper"]],null,null,null,null,null)),(t()(),Dr(140,0,null,null,2,"div",[["class","accordion-heading"],["onclick","toggle('p5')"]],null,null,null,null,null)),(t()(),Dr(141,0,null,null,1,"p",[],null,
2null,null,null,null)),(t()(),Gr(-1,null,["Koliko ko\u0161ta pretplata na Apollon?"])),(t()(),Dr(143,0,null,null,2,"div",[["class","accordion-content"],["id","p5"]],null,null,null,null,null)),(t()(),Dr(144,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Mese\u010dna pretplata na Apollon ko\u0161ta 499 RSD (pribli\u017eno \u20ac4.20). Nema nikakvih dodatnih tro\u0161kova, niti ugovornih obaveza. U svakom trenutku mo\u017eete otkazati svoju pretplatu."])),(t()(),Dr(146,0,null,null,16,"footer",[],null,null,null,null,null)),(t()(),Dr(147,0,null,null,11,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(148,0,null,null,1,"a",[["href",""]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(150,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(152,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(154,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,155).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(155,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(157,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Pravila o kola\u010di\u0107ima"])),(t()(),Dr(159,0,null,null,3,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(160,0,null,null,0,"p",[],null,null,null,null,null)),(t()(),Dr(161,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){t(e,7,0,"log-in"),t(e,155,0,"/contact-apollon")}),(function(t,e){t(e,154,0,Fi(e,155).target,Fi(e,155).href)}))}function cp(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-landing-page",[],null,null,null,ap,lp)),Yi(1,114688,null,0,sp,[],null,null)],(function(t,e){t(e,1,0)}),null)}var up=Si("app-landing-page",sp,cp,{},{},[]);class hp extends B{constructor(t,e){super(t),this.sources=e,this.completed=0,this.haveValues=0;const n=e.length;this.values=new Array(n);for(let i=0;i<n;i++){const t=V(this,e[i],null,i);t&&this.add(t)}}notifyNext(t,e,n,i,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)}notifyComplete(t){const{destination:e,haveValues:n,values:i}=this,o=i.length;t._hasValue?(this.completed++,this.completed===o&&(n===o&&e.next(i),e.complete())):e.complete()}}const dp=new Mt("NgValueAccessor"),gp=new Mt("CompositionEventMode");class pp{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=au()?au().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}class mp{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class fp extends mp{get formDirective(){return null}get path(){return null}}function _p(){throw new Error("unimplemented")}class vp extends mp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return _p()}get asyncValidator(){return _p()}}class yp{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}class Cp extends yp{constructor(t){super(t)}}class bp extends yp{constructor(t){super(t)}}function Pp(t){return null==t||0===t.length}const xp=/^(?=.{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 Op{static min(t){return e=>{if(Pp(e.value)||Pp(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(Pp(e.value)||Pp(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Pp(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Pp(t.value)||xp.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Pp(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return Op.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Pp(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Mp);return 0==e.length?null:function(t){return kp(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Mp);return 0==e.length?null:function(t){return function t(...e){let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&a(e[0])&&(e=e[0]),0===e.length?hc:n?t(e).pipe(H(t=>n(...t))):new b(t=>new hp(t,e))}(function(t,e){return e.map(e=>e(t))}(t,e).map(wp)).pipe(H(kp))}}}function Mp(t){return null!=t}function wp(t){const e=He(t)?q(t):t;if(!$e(e))throw new Error("Expected validator to return Promise or Observable.");return e}function kp(t){const e=t.reduce((t,e)=>null!=e?Object.assign({},t,e):t,{});return 0===Object.keys(e).length?null:e}function Sp(t){return t.validate?e=>t.validate(e):t}function Ep(t){return t.validate?e=>t.validate(e):t}class Tp{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}
2select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}const Ap='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Ip='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Dp='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';class Lp{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Ap)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${Ip}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${Dp}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Ap)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Ip)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(t){console.warn(`\n It looks like you're using ngModel on the same form field as ${t}. \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"
2===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function Np(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Rp{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=je}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Np(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}class jp{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Np(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function zp(t,e){return null==t?""+e:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Fp{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(zp(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(zp(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function Vp(t,e){return[...e.path,t]}function Bp(t,e){t||Wp(e,"Cannot find control with"),e.valueAccessor||Wp(e,"No value accessor for form control with"),t.validator=Op.compose([t.validator,e.validator]),t.asyncValidator=Op.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Hp(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Hp(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Hp(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $p(t,e){null==t&&Wp(e,"Cannot find control with"),t.validator=Op.compose([t.validator,e.validator]),t.asyncValidator=Op.composeAsync([t.asyncValidator,e.asyncValidator])}function Up(t){return Wp(t,"There is no FormControl instance attached to form control element with")}function Wp(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function qp(t){return null!=t?Op.compose(t.map(Sp)):null}function Gp(t){return null!=t?Op.composeAsync(t.map(Ep)):null}function Kp(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!je(e,n.currentValue)}const Xp=[class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},class{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},Rp,class{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=je}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};
2this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),o=this._getOptionValue(i.value);n.push(o)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}},class{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(vp),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}];function Qp(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Zp(t,e){if(!e)return null;Array.isArray(e)||Wp(t,"Value accessor was not provided as an array for form control with");let n=void 0,i=void 0,o=void 0;return e.forEach(e=>{var r;e.constructor===pp?n=e:(r=e,Xp.some(t=>r.constructor===t)?(i&&Wp(t,"More than one built-in value accessor matches form control with"),i=e):(o&&Wp(t,"More than one custom value accessor matches form control with"),o=e))}),o||i||n||(Wp(t,"No valid value accessor for form control with"),null)}function Yp(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Jp(t){const e=em(t)?t.validators:t;return Array.isArray(e)?qp(e):e||null}function tm(t,e){const n=em(e)?e.asyncValidators:t;return Array.isArray(n)?Gp(n):n||null}function em(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class nm{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=Jp(t)}setAsyncValidators(t){this.asyncValidator=tm(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}
2){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=wp(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((t,e)=>t instanceof om?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof rm&&t.at(e)||null,t))}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Co,this.statusChanges=new Co}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){em(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class im extends nm{constructor(t=null,e,n){super(Jp(e),tm(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}
2),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class om extends nm{constructor(t,e,n){super(Jp(e),tm(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof im?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,i)=>{e=e||this.contains(i)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class rm extends nm{constructor(t,e,n){super(Jp(e),tm(n,e)),this.controls=t,this._initOb
2servables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof im?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const sm=(()=>Promise.resolve(null))();class lm extends fp{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Co,this.form=new om({},qp(t),Gp(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){sm.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Bp(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}
2removeControl(t){sm.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Yp(this._directives,t)})}addFormGroup(t){sm.then(()=>{const e=this._findContainer(t.path),n=new om({});$p(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){sm.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){sm.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Qp(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}class am{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${Ap}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${Ip}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${Dp}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${Ip}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${Dp}`)}static ngFormWarning(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")}}const cm=new Mt("NgFormSelectorWarning");class um extends fp{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Vp(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return qp(this._validators)}get asyncValidator(){return Gp(this._asyncValidators)}_checkParentType(){}}class hm extends um{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof hm||this._parent instanceof lm||am.modelGroupParentException()}}const dm=(()=>Promise.resolve(null))();class gm extends vp{constructor(t,e,n,i){super(),this.control=new im,this._registered=!1,this.update=new Co,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=Zp(this,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Kp(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Vp(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return qp(this._rawValidators)}get asyncValidator(){return Gp(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){Bp(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof hm)&&this._parent instanceof um?am.formGroupNameException():this._parent instanceof hm||this._parent instanceof lm||am.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||am.missingNameException()}_updateValue(t){dm.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;dm.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}class pm{}const mm=new Mt("NgModelWithFormControlWarning");
2class fm extends fp{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Co}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Bp(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Yp(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);$p(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);$p(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Qp(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Up(e)),e.valueAccessor.registerOnTouched(()=>Up(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Bp(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=qp(this._validators);this.form.validator=Op.compose([this.form.validator,t]);const e=Gp(this._asyncValidators);this.form.asyncValidator=Op.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||Lp.missingFormException()}}class _m extends um{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){ym(this._parent)&&Lp.groupParentException()}}class vm extends fp{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Vp(this.name,this._parent)}get validator(){return qp(this._validators)}get asyncValidator(){return Gp(this._asyncValidators)}_checkParentType(){ym(this._parent)&&Lp.arrayParentException()}}function ym(t){return!(t instanceof _m||t instanceof fm||t instanceof vm)}let Cm,bm=(()=>{class t extends vp{constructor(t,e,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new Co,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=Zp(this,i)}set isDisabled(t){Lp.disabledAttrWarning()}ngOnChanges(e){var n,i;this._added||this._setUpControl(),Kp(e,this.viewModel)&&("formControlName",n=t,this,i=this._ngModelWarningConfig,Kt()&&"never"!==i&&((null!==i&&"once"!==i||n._ngModelWarningSentOnce)&&("always"!==i||this._ngModelWarningSent)||(Lp.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Vp(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return qp(this._rawValidators)}get asyncValidator(){return Gp(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof _m)&&this._parent instanceof um?Lp.ngModelGroupException():this._parent instanceof _m||this._parent instanceof fm||this._parent instanceof vm||Lp.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t._ngModelWarningSentOnce=!1,t})();class Pm{}class xm{group(t,e=null){const n=this._reduceControls(t);let i=null,o=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new om(n,{asyncValidators:o,updateOn:r,validators:i})}control(t,e,n){return new im(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new rm(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof im||t instanceof om||t instanceof rm?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}class Om{static withConfig(t){return{ngModule:Om,providers:[{provide:cm,useValue:t.warnOnDeprecatedNgFormSelector}]}}}class Mm{static withConfig(t){return{ngModule:Mm,providers:[{provide:mm,useValue:t.warnOnNgModelWithFormControl}]}}}try{Cm="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(CO){Cm=!1}let wm=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
vendor: 4,753 bytes, line 2
2sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Cm)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.ngInjectableDef=gt({factory:function(){return new t(It(Eo,8))},token:t,providedIn:"root"}),t})();class km{}class Sm{constructor(t){this.total=t}call(t,e){return e.subscribe(new Em(t,this.total))}}class Em extends m{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}class Tm extends d{constructor(t,e){super()}schedule(t,e=0){return this}}class Am extends Tm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(o){n=!0,i=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Im=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Dm extends Im{constructor(t,e=Im.now){super(t,()=>Dm.delegate&&Dm.delegate!==this?Dm.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Dm.delegate&&Dm.delegate!==this?Dm.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const Lm=new Dm(Am);class Nm{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Rm(t,this.dueTime,this.scheduler))}}class Rm extends m{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(jm,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function jm(t){t.debouncedNext()}function zm(t){return e=>e.lift(new Fm(t))}class Fm{constructor(t){this.notifier=t}call(t,e){const n=new Vm(t),i=V(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class Vm extends B{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,i,o){this.seenValue=!0,this.complete()}notifyComplete(){}}function Bm(t){return Array.isArray(t)?t:[t]}function Hm(t){return null==t?"":"string"==typeof t?t:t+"px"}const $m=new Set;let Um,Wm=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):qm}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!$m.has(t))try{Um||(Um=document.createElement("style"),Um.setAttribute("type","text/css"),document.head.appendChild(Um)),Um.sheet&&(Um.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),$m.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(wm))},token:t,providedIn:"root"}),t})();function qm(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Gm=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=ne
2w k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Km(Bm(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=yc(Km(Bm(t)).map(t=>this._registerQuery(t).observable));return e=Jc(e.pipe(Uc(1)),e.pipe(t=>t.lift(new Sm(1)),function(t,e=Lm){return n=>n.lift(new Nm(t,e))}(0))),e.pipe(H(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new b(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(tu(e),H(e=>({query:t,matches:e.matches})),zm(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.ngInjectableDef=gt({factory:function(){return new t(It(Wm),It(Xo))},token:t,providedIn:"root"}),t})();function Km(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Xm="(min-width: 600px) and (max-width: 959.99px)",Qm="(min-width: 960px) and (max-width: 1279.99px)",Zm="(min-width: 1280px) and (max-width: 1919.99px)";class Ym{constructor(t,e){this.breakPointObserver=t,this.rotuer=e}ngOnInit(){this.subscription=this.breakPointObserver.observe([Xm,"(max-width: 599.99px)"]).subscribe(t=>{t.breakpoints["(max-width: 599.99px)"]&&this.rotuer.navigate(["/mobile"])})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}var Jm=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:280px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:55px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;height:100%;text-decoration:none;color:#fff;margin-left:0;margin-right:0;padding-left:0;padding-right:0;display:flex;justify-content:center;align-items:center;text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function tf(t){return Qr(0,[(t()(),Dr(0,0,null,null,35,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,34,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,16,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["LOGIN"])),(t()(),Dr(8,0,null,null,13,"form",[["class","form-info"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Fi(t,10).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,10).onReset()&&i),i}),null,null)),Yi(9,16384,null,0,pm,[],null,null),Yi(10,4210688,null,0,lm,[[8,null],[8,null]],null,null),Ji(2048,null,fp,null,[lm]),Yi(12,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(13,0,null,null,2,"button",[["routerLink","/sign-in"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,14).onClick()&&i),i}),null,null)),Yi(14,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["STANDARDNI LOG IN"])),(t()(),Dr(16,0,null,null,2,"button",[["routerLink","/partner-log-in"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,17).onClick()&&i),i}),null,null)),Yi(17,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["PARTNER LOG IN"])),(t()(),Dr(19,0,null,null,2,"button",[],null,
2null,null,null,null)),(t()(),Dr(20,0,null,null,1,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" NOVI KORISNIK"])),(t()(),Dr(22,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(23,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(24,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(26,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(28,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(30,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,31).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(31,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(33,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(34,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){t(e,14,0,"/sign-in"),t(e,17,0,"/partner-log-in"),t(e,31,0,"/contact-apollon")}),(function(t,e){t(e,8,0,Fi(e,12).ngClassUntouched,Fi(e,12).ngClassTouched,Fi(e,12).ngClassPristine,Fi(e,12).ngClassDirty,Fi(e,12).ngClassValid,Fi(e,12).ngClassInvalid,Fi(e,12).ngClassPending),t(e,30,0,Fi(e,31).target,Fi(e,31).href)}))}function ef(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-log-in",[],null,null,null,tf,Jm)),Yi(1,245760,null,0,Ym,[Gm,kg],null,null)],(function(t,e){t(e,1,0)}),null)}var nf=Si("app-log-in",Ym,ef,{},{},[]);class of{constructor(t,e){this.authService=t,this.router=e,this.registerSiteUrl="https://register.apollon.rs"}ngOnInit(){this.initForm()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}initForm(){this.form=new om({username:new im("",[Op.required]),password:new im("",[Op.required])})}onSubmit(){this.errorMessage="";const t=this.form.value.username,e=this.form.value.password;t&&e?(document.getElementById("submit").innerHTML='<i class="fa fa-spinner fa-spin"></i> Molimo sa\u010dekajte',this.subscription=this.authService.logInUser(t,e).pipe(Qc(n=>n.sid?(this.router.navigate(["/home"]),hc):this.authService.isSubscriptionExpiredOttResponse(n)?this.authService.requestPaymentTokenForExpiredSubscription(t,e):(this.errorMessage=n.error.message,document.getElementById("submit").innerHTML="PRIJAVI SE",hc))).subscribe(t=>
2{if(t.token){const e=new URLSearchParams({step:"card",token:t.token,subscriptionExpired:"1"});window.location.href=`${this.registerSiteUrl}/kartica.html?${e.toString()}`}else this.errorMessage=t.error_message||"Servis trenutno nije dostupan. Poku\u0161ajte ponovo.",document.getElementById("submit").innerHTML="PRIJAVI SE"},t=>{const e=t.error;this.errorMessage=e&&e.error_message||e&&e.message||"Servis trenutno nije dostupan. Poku\u0161ajte ponovo.",document.getElementById("submit").innerHTML="PRIJAVI SE"})):""!==t&&""!==e||(this.errorMessage="Niste uneli sve potrebne podatke")}}class rf{}class sf{}class lf{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),o=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(o):this.headers.set(i,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof lf?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new lf;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof lf?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const o=t.value;if(o){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===o.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class af{encodeKey(t){return cf(t)}encodeValue(t){return cf(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function cf(t){return encodeURIComponent(t).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 uf{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new af,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[o,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],s=n.get(o)||[];s.push(r),n.set(o,s)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new uf({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}
vendor: 6,615 bytes, line 2
2init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function hf(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function df(t){return"undefined"!=typeof Blob&&t instanceof Blob}function gf(t){return"undefined"!=typeof FormData&&t instanceof FormData}class pf{constructor(t,e,n,i){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new lf),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new uf,this.urlWithParams=e}serializeBody(){return null===this.body?null:hf(this.body)||df(this.body)||gf(this.body)||"string"==typeof this.body?this.body:this.body instanceof uf?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||gf(this.body)?null:df(this.body)?this.body.type||null:hf(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof uf?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,a=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(a=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),a)),new pf(e,n,o,{params:a,headers:l,reportProgress:s,responseType:i,withCredentials:r})}}const mf=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class ff{constructor(t,e=200,n="OK"){this.headers=t.headers||new lf,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class _f extends ff{constructor(t={}){super(t),this.type=mf.ResponseHeader}clone(t={}){return new _f({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class vf extends ff{constructor(t={}){super(t),this.type=mf.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new vf({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class yf extends ff{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Cf(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class bf{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof pf)i=t;else{let o=void 0;o=n.headers instanceof lf?n.headers:new lf(n.headers);let r=void 0;n.params&&(r=n.params instanceof uf?n.params:new uf({fromObject:n.params})),i=new pf(t,e,void 0!==n.body?n.body:null,{headers:o,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=pc(i).pipe(ou(t=>this.handler.handle(t)));if(t instanceof pf||"events"===n.observe)return o;const r=o.pipe(Oc(t=>t instanceof vf));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return r.pipe(H(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(H(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(H(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(H(t=>t.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new uf).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Cf(n,e))}post(t,e,n={}){return this.request("POST",t,Cf(n,e))}put(t,e,n={}){return this.request("PUT",t,Cf(n,e))}}class Pf{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const xf=new Mt("HTTP_INTERCEPTORS");class Of{intercept(t,e){return e.handle(t)}}const Mf=/^\)\]\}',?\n/;class wf{}class kf{constructor(){}build(){return new XMLHttpRequest}}class Sf{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new b(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEac
2h((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let o=null;const r=()=>{if(null!==o)return o;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new lf(n.getAllResponseHeaders()),s=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return o=new _f({headers:r,status:e,statusText:i,url:s}),o},s=()=>{let{headers:i,status:o,statusText:s,url:l}=r(),a=null;204!==o&&(a=void 0===n.response?n.responseText:n.response),0===o&&(o=a?200:0);let c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof a){const t=a;a=a.replace(Mf,"");try{a=""!==a?JSON.parse(a):null}catch(u){a=t,c&&(c=!1,a={error:u,text:a})}}c?(e.next(new vf({body:a,headers:i,status:o,statusText:s,url:l||void 0})),e.complete()):e.error(new yf({error:a,headers:i,status:o,statusText:s,url:l||void 0}))},l=t=>{const{url:i}=r(),o=new yf({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(o)};let a=!1;const c=i=>{a||(e.next(r()),a=!0);let o={type:mf.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(o.total=i.total),"text"===t.responseType&&n.responseText&&(o.partialText=n.responseText),e.next(o)},u=t=>{let n={type:mf.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",s),n.addEventListener("error",l),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:mf.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("load",s),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}const Ef=new Mt("XSRF_COOKIE_NAME"),Tf=new Mt("XSRF_HEADER_NAME");class Af{}class If{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Va(t,this.cookieName),this.lastCookieString=t),this.lastToken}}class Df{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}class Lf{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(xf,[]);this.chain=t.reduceRight((t,e)=>new Pf(t,e),this.backend)}return this.chain.handle(t)}}class Nf{static disable(){return{ngModule:Nf,providers:[{provide:Df,useClass:Of}]}}static withOptions(t={}){return{ngModule:Nf,providers:[t.cookieName?{provide:Ef,useValue:t.cookieName}:[],t.headerName?{provide:Tf,useValue:t.headerName}:[]]}}}class Rf{}let jf=(()=>{class t{constructor(t,e){this.http=t,this.router=e,this.data=new k,this.httpOptions={headers:new lf({Accept:"application/json"})},this.vote="https://apollon.ott.solutions/vods/vote?sid_name=token&",this.mylist="https://apollon.ott.solutions/vods/my_list?sid_name=token&",this.my_list_manage="https://apollon.ott.solutions/vods/manage_my_list?sid_name=token&",this.all_votes="https://apollon.ott.solutions/vods/vote_list?sid_name=token&",this.genres="https://apollon.ott.solutions/vod_genres/get_list?lang=SR&request_type=json&sid_name=token&type=mobile",this.movies="https://apollon.ott.solutions/vods/genre_list_offset?lang=SR&request_type=json&sid_name=token&type=mobile",this.movie="https://apollon.ott.solutions/vods/vod?&lang=SR&request_type=json&sid_name=token&type=mobile",this.home_screen="https://apollon.ott.solutions//vods/home_screen_list/?sid_name=token&lang=sr",this.search="https://apollon.ott.solutions/vods/search?sid_name=token&per_page=500&offset=0&lang=sr",this.stream_url="https://apollon.ott.solutions/vods/get_url?vid=7917&request_type=json&sid_name=token"}getGenres(){return this.http.get(this.genres,this.httpOptions)}getMovieSeries(t,e,n){let i=t?"genre_id="+t+"&":"";return i+="limit="+e+"&",i+="offset="+n+"&","&"===i.charAt(i.length-1)&&(i=i.substr(0,i.length-1)),this.http.get(this.movies+(i?"&"+i:""))}getSingleMovieSeries(t){let e=t?"id="+t+"&":"";return"&"===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),this.http.get(this.movie+(e?"&"+e:""))}getHomepageMoviesSeries(){return this.http.get(this.home_screen)}searchMoviesSeries(t){const e=t?" &query="+t+"&":"";return this.http.get(this.search+(e?"&"+e:""))}getStreamUrl(t){const e=t?" &vid="+t+"&":"";return this.http.get(this.stream_url+(e?"&"+e:""))}getAllLikes(){return this.http.get(this.all_votes)}addLike(t){let e="vid="+t+"&";return e+="set=1&",e+="vote=1",this.http.get(this.vote+(e?"&"+e:""))}deleteLike(t){let e="vid="+t+"&";return e+="set=0&",e+="vote=1",this.http.get(this.vote+(e?"&"+e:""))}addDislike(t){let e="vid="+t+"&";return e+="set=1&",e+="vote=0",this.http.get(this.vote+(e?"&"+e:""))}deleteDislike(t){let e="vid="+t+"&";return e+="set=0&",e+="vote=0",this.http.get(this.vote+(e?"&"+e:""))}getMyList(){let t="limit=600&";return t+="offset=0&",this.http.get(this.mylist+"&limit=600&offset=0&")}addToMyList(t){let e="vid="+t+"&";return e+="set=1",this.http.get(this.my_list_manage+(e?"&"+e:""))}deleteFromMyList(t){let e="vid="+t+"&";return e+="set=0",this.http.get(this.my_list_manage+(e?"&"+e:""))}}return t.ngInjectableDef=gt({factory:function(){return new t(It(bf),It(kg))},token:t,providedIn:"root"}),t})(),zf=(()=>{class t{constructor(t,e,n){this.http=t,this.router=e,this.dataStorage=n,this.httpOptions={headers:new lf({Accept:"application/json"})}}logInUser(t,e,n){const i=localStorage.getItem("hid"),o=n?"partner_id="+n:"",r=`https://apollon.ott.solutions/login?login=${encodeURIComponent(t)}&password=${encodeURIComponent(e)}&type=mobile&request_type=json&hid=${i}`;return this.http.get(r+(o?"&"+o:""),this.httpOptions).pipe(Ic(t=>{t.sid&&(this.token=t.sid,this.setToken(this.token),this.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})}))},t=>console.log(t)))}logOutUser(){this.deleteToken()}setToken(t){localStorage.setItem("token",t)}getToken(){return localStorage.getItem("token")}deleteToken(){localStorage.removeItem("token"),this.router.navigate([""])}isSubscriptionExpiredOttResponse(t){if(!t||!t.error)return!1;if(3===t.error.message_code)return!0;const e=t.error.message;return"string"==typeof e&&/istek/i.test(e)}
2requestPaymentTokenForExpiredSubscription(t,e){return this.http.post("https://payment.apollon.video/signup/2",{email:t,password:e,status:"existing",market:"RS"},{headers:new lf({"Content-Type":"application/json",Accept:"application/json"})})}}return t.ngInjectableDef=gt({factory:function(){return new t(It(bf),It(kg),It(jf))},token:t,providedIn:"root"}),t})();var Ff=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:400px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:75px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function Vf(t){return Qr(0,[(t()(),Dr(0,0,null,null,56,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,55,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,37,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Prijava"])),(t()(),Dr(8,0,null,null,34,"form",[["class","form-info"],["method","post"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,o=t.component;return"submit"===e&&(i=!1!==Fi(t,10).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,10).onReset()&&i),"ngSubmit"===e&&(i=!1!==o.onSubmit()&&i),i}),null,null)),Yi(9,16384,null,0,pm,[],null,null),Yi(10,540672,null,0,fm,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),Ji(2048,null,fp,null,[fm]),Yi(12,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(13,0,null,null,5,"input",[["formControlName","username"],["name","account-email"],["placeholder","Korisni\u010dko ime"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,14)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,14).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,14)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,14)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(14,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(16,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]}
2,null),Ji(2048,null,vp,null,[bm]),Yi(18,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(19,0,null,null,5,"input",[["formControlName","password"],["name","account-password"],["placeholder","Lozinka"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,20)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,20).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,20)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,20)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(20,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(22,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(24,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(25,0,null,null,3,"label",[["class","checkbox"]],null,null,null,null,null)),(t()(),Dr(26,0,null,null,0,"input",[["type","checkbox"]],null,null,null,null,null)),(t()(),Dr(27,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Zapamti me"])),(t()(),Dr(29,0,null,null,4,"div",[["class","error"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(31,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(32,{display:0}),(t()(),Gr(33,null,["",""])),(t()(),Dr(34,0,null,null,1,"button",[["id","submit"],["type","submit"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Prijavi se"])),(t()(),Dr(36,0,null,null,1,"a",[["class","link-right"],["href","#"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Zaboravljena lozinka?"])),(t()(),Dr(38,0,null,null,4,"p",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Jo\u0161 uvek nemate nalog na Apollon-u? "])),(t()(),Dr(40,0,null,null,1,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Registrujte se"])),(t()(),Gr(-1,null,[". "])),(t()(),Dr(43,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(44,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(45,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(47,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(49,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(51,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,52).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(52,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(54,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(55,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){var n=e.component;t(e,10,0,n.form),t(e,16,0,"username"),t(e,22,0,"password");var i=t(e,32,0,n.errorMessage?"unset":"none");t(e,31,0,i),t(e,52,0,"/contact-apollon")}),(function(t,e){var n=e.component;t(e,8,0,Fi(e,12).ngClassUntouched,Fi(e,12).ngClassTouched,Fi(e,12).ngClassPristine,Fi(e,12).ngClassDirty,Fi(e,12).ngClassValid,Fi(e,12).ngClassInvalid,Fi(e,12).ngClassPending),t(e,13,0,Fi(e,18).ngClassUntouched,Fi(e,18).ngClassTouched,Fi(e,18).ngClassPristine,Fi(e,18).ngClassDirty,Fi(e,18).ngClassValid,Fi(e,18).ngClassInvalid,Fi(e,18).ngClassPending),t(e,19,0,Fi(e,24).ngClassUntouched,Fi(e,24).ngClassTouched,Fi(e,24).ngClassPristine,Fi(e,24).ngClassDirty,Fi(e,24).ngClassValid,Fi(e,24).ngClassInvalid,Fi(e,24).ngClassPending),t(e,33,0,n.errorMessage),t(e,51,0,Fi(e,52).target,Fi(e,52).href)}))}function Bf(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-sign-in",[],null,
2null,null,Vf,Ff)),Yi(1,245760,null,0,of,[zf,kg],null,null)],(function(t,e){t(e,1,0)}),null)}var Hf=Si("app-sign-in",of,Bf,{},{},[]);class $f{constructor(){}ngOnInit(){}}var Uf=Hn({encapsulation:0,styles:[['h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:280px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] .contact-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-direction:column}.container[_ngcontent-%COMP%] .contact-section[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute!important;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function Wf(t){return Qr(0,[(t()(),Dr(0,0,null,null,26,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,25,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,7,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["KONTAKT"])),(t()(),Dr(8,0,null,null,4,"div",[["class","contact-section"]],null,null,null,null,null)),(t()(),Dr(9,0,null,null,1,"a",[["href","tel:+381117777444"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" Broj telefona: +381117777444"])),(t()(),Dr(11,0,null,null,1,"a",[["href","mailto:[email protected]"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Email: [email protected]"])),(t()(),Dr(13,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(14,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(15,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(17,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(19,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(21,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,22).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(22,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(24,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(25,0,null,null,1,"p",[],null,
2null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){t(e,22,0,"/contact-apollon")}),(function(t,e){t(e,21,0,Fi(e,22).target,Fi(e,22).href)}))}function qf(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-contact-apollon",[],null,null,null,Wf,Uf)),Yi(1,114688,null,0,$f,[],null,null)],(function(t,e){t(e,1,0)}),null)}var Gf=Si("app-contact-apollon",$f,qf,{},{},[]);class Kf{constructor(){}ngOnInit(){}}var Xf=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:280px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:55px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;text-decoration:none;color:#fff;margin-left:0;margin-right:0;padding-left:0;padding-right:0;display:block;text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function Qf(t){return Qr(0,[(t()(),Dr(0,0,null,null,38,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,37,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,19,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Partner login"])),(t()(),Dr(8,0,null,null,16,"form",[["class","form-info"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Fi(t,10).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,10).onReset()&&i),i}),null,null)),Yi(9,16384,null,0,pm,[],null,null),Yi(10,4210688,null,0,lm,[[8,null],[8,null]],null,null),Ji(2048,null,fp,null,[lm]),Yi(12,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(13,0,null,null,2,"button",[["routerLink","../partner-prijava/mts"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,14).onClick()&&i),i}),null,null)),Yi(14,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["MTS"])),(t()(),Dr(16,0,null,null,2,"button",[["routerLink","../partner-prijava/mtel-bh"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,17).onClick()&&i),i}),null,null)),Yi(17,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["M:TEL BH"])),(t()(),Dr(19,0,null,null,2,"button",[["routerLink","../partner-prijava/mtel-ch"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,20).onClick()&&i),i}),null,null)),Yi(20,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["M:TEL CG"])),(t()(),Dr(22,0,null,null,2,"button",[["routerLink","../partner-prijava/supernova"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,23).onClick()&&i),i}),null,null)),Yi(23,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["SUPERNOVA"])),(t()(),Dr(25,0,null,null,13,"footer",[],null,
2null,null,null,null)),(t()(),Dr(26,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(27,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(29,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(31,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(33,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,34).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(34,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(36,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(37,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){t(e,14,0,"../partner-prijava/mts"),t(e,17,0,"../partner-prijava/mtel-bh"),t(e,20,0,"../partner-prijava/mtel-ch"),t(e,23,0,"../partner-prijava/supernova"),t(e,34,0,"/contact-apollon")}),(function(t,e){t(e,8,0,Fi(e,12).ngClassUntouched,Fi(e,12).ngClassTouched,Fi(e,12).ngClassPristine,Fi(e,12).ngClassDirty,Fi(e,12).ngClassValid,Fi(e,12).ngClassInvalid,Fi(e,12).ngClassPending),t(e,33,0,Fi(e,34).target,Fi(e,34).href)}))}function Zf(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-partner-login",[],null,null,null,Qf,Xf)),Yi(1,114688,null,0,Kf,[],null,null)],(function(t,e){t(e,1,0)}),null)}var Yf=Si("app-partner-login",Kf,Zf,{},{},[]);class Jf{constructor(t,e,n){this.route=t,this.router=e,this.authService=n}initForm(){this.form=new om({username:new im("",[Op.required]),password:new im("",Op.required)})}ngOnInit(){this.initForm(),"supernova"===this.route.snapshot.params.name?(this.partner_id="4",this.name=this.route.snapshot.params.name):"mts"===this.route.snapshot.params.name?(this.partner_id="1",this.name=this.route.snapshot.params.name):"mtel-bh"===this.route.snapshot.params.name?(this.partner_id="3",this.name=this.route.snapshot.params.name):"mtel-ch"===this.route.snapshot.params.name?(this.partner_id="2",this.name=this.route.snapshot.params.name):this.router.navigate([""])}onSubmit(){this.errorMessage="";const t=this.form.value.username,e=this.form.value.password;t&&e?(document.getElementById("submit").innerHTML='<i class="fa fa-spinner fa-spin"></i> Molimo sa\u010dekajte',this.subscription=this.authService.logInUser(t,e,this.partner_id).subscribe(t=>{t.sid?this.router.navigate(["/home"]):(this.errorMessage=t.error.message,document.getElementById("submit").innerHTML="PRIJAVI SE")},t=>{this.errorMessage=t.error.message,document.getElementById("submit").innerHTML="PRIJAVI SE"})):""!==t&&""!==e||(this.errorMessage="Niste uneli sve potrebne podatke")}prevent(t){t.preventDefault()}}var t_=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:410px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:55px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;height:100%;text-decoration:none;color:#fff;margin-left:0;margin-right:0;padding-left:0;padding-right:0;display:flex;justify-content:center;align-items:center;text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;text-align:center;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function e_(t){return Qr(0,[(t()(),Dr(0,0,null,null,58,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,57,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,39,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Prijava Preko Partnera"])),(t()(),Dr(8,0,null,null,1,"h2",[["style","font-size: 22px"]],null,null,null,null,null)),(t()(),Gr(9,null,["",""])),(t()(),Dr(10,0,null,null,34,"form",[["class","form-info"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,o=t.component;return"submit"===e&&(i=!1!==Fi(t,12).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,12).onReset()&&i),"ngSubmit"===e&&(i=!1!==o.onSubmit()&&i),i}),null,null)),Yi(11,16384,null,0,pm,[],null,null),Yi(12,540672,null,0,fm,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),Ji(2048,null,fp,null,[fm]),Yi(14,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(15,0,null,null,5,"input",[["formControlName","username"],["name","account-email"],["placeholder","Korisni\u010dko ime"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,16)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,16).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,16)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,16)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(16,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(18,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]}
2,null),Ji(2048,null,vp,null,[bm]),Yi(20,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(21,0,null,null,5,"input",[["formControlName","password"],["name","account-password"],["placeholder","Lozinka"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,22)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,22).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,22)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,22)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(22,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(24,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(26,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(27,0,null,null,3,"label",[["class","checkbox"]],null,null,null,null,null)),(t()(),Dr(28,0,null,null,0,"input",[["type","checkbox"]],null,null,null,null,null)),(t()(),Dr(29,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Zapamti me"])),(t()(),Dr(31,0,null,null,4,"div",[["class","error"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(33,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(34,{display:0}),(t()(),Gr(35,null,["",""])),(t()(),Dr(36,0,null,null,1,"button",[["id","submit"],["type","submit"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Prijavi se"])),(t()(),Dr(38,0,null,null,1,"a",[["class","link-right"],["href","#"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Zaboravljena lozinka?"])),(t()(),Dr(40,0,null,null,1,"p",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Nemate aktivan apollon?"])),(t()(),Dr(42,0,null,null,2,"button",[["style","background: none; border: 2px solid white"],["type","button"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(t.component.prevent("s"),i=!1!==n.preventDefault()&&i),i}),null,null)),(t()(),Dr(43,0,null,null,1,"a",[["href","https://moj.mts.rs"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" AKTIVIRAJ OVDE"])),(t()(),Dr(45,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(46,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(47,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(49,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(51,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(53,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,54).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(54,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(56,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(57,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){var n=e.component;t(e,12,0,n.form),t(e,18,0,"username"),t(e,24,0,"password");var i=t(e,34,0,n.errorMessage?"unset":"none");t(e,33,0,i),t(e,54,0,"/contact-apollon")}),(function(t,e){var n=e.component;t(e,9,0,n.name),t(e,10,0,Fi(e,14).ngClassUntouched,Fi(e,14).ngClassTouched,Fi(e,14).ngClassPristine,Fi(e,14).ngClassDirty,Fi(e,14).ngClassValid,Fi(e,14).ngClassInvalid,Fi(e,14).ngClassPending),t(e,15,0,Fi(e,20).ngClassUntouched,Fi(e,20).ngClassTouched,Fi(e,20).ngClassPristine,Fi(e,20).ngClassDirty,Fi(e,20).ngClassValid,Fi(e,20).ngClassInvalid,Fi(e,20).ngClassPending),t(e,21,0,Fi(e,26).ngClassUntouched,Fi(e,26).ngClassTouched,Fi(e,26).ngClassPristine,Fi(e,26).ngClassDirty,Fi(e,26).ngClassValid,Fi(e,26).ngClassInvalid,Fi(e,26).ngClassPending),t(e,35,0,n.errorMessage),t(e,53,0,Fi(e,54).target,Fi(e,54).href)}))}function n_(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-partner-prijava",[],null,
2null,null,e_,t_)),Yi(1,114688,null,0,Jf,[_d,kg,zf],null,null)],(function(t,e){t(e,1,0)}),null)}var i_=Si("app-partner-prijava",Jf,n_,{},{},[]);class o_{constructor(){}ngOnInit(){}}var r_=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:26px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:320px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{text-align:center;color:#fff}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:55px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;height:100%;text-decoration:none;color:#fff;margin-left:0;margin-right:0;padding-left:0;padding-right:0;display:flex;justify-content:center;align-items:center;text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}']],data:{}});function s_(t){return Qr(0,[(t()(),Dr(0,0,null,null,44,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,43,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,25,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\u017deli\u0161 da gleda\u0161 Apollon na mobilnom"])),(t()(),Dr(8,0,null,null,1,"p",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u017deli\u0161 da gleda\u0161 filmove na tvom mobilnom ure\u0111aju?"])),(t()(),Dr(10,0,null,null,1,"p",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Preuzmi Apollon aplikaciju iz App Store/Play Store"])),(t()(),Dr(12,0,null,null,1,"p",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["za najbolje korisni\u010dko iskustvo"])),(t()(),Dr(14,0,null,null,16,"form",[["class","form-info"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0;return"submit"===e&&(i=!1!==Fi(t,16).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,16).onReset()&&i),i}),null,null)),Yi(15,16384,null,0,pm,[],null,null),Yi(16,4210688,null,0,lm,[[8,null],[8,null]],null,null),Ji(2048,
2null,fp,null,[lm]),Yi(18,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(19,0,null,null,2,"button",[],null,null,null,null,null)),(t()(),Dr(20,0,null,null,1,"a",[["href","https://play.google.com/store/apps/details?id=com.gss_media.iptv.apollon"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PREUZMI SA GOOGLE PLAY"])),(t()(),Dr(22,0,null,null,2,"button",[],null,null,null,null,null)),(t()(),Dr(23,0,null,null,1,"a",[["href","https://apps.apple.com/us/app/apollon/id1545923877"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PREUZMI SA APP STORE"])),(t()(),Dr(25,0,null,null,2,"button",[],null,null,null,null,null)),(t()(),Dr(26,0,null,null,1,"a",[["href","https://appgallery.huawei.com/#/app/C104343107"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PREUZMI SA HUAWEI APPGALLERY"])),(t()(),Dr(28,0,null,null,2,"button",[],null,null,null,null,null)),(t()(),Dr(29,0,null,null,1,"a",[["href","https://register.apollon.rs"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" REGISTRUJ SE"])),(t()(),Dr(31,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(32,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(33,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(35,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(37,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(39,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,40).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(40,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(42,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(43,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){t(e,40,0,"/contact-apollon")}),(function(t,e){t(e,14,0,Fi(e,18).ngClassUntouched,Fi(e,18).ngClassTouched,Fi(e,18).ngClassPristine,Fi(e,18).ngClassDirty,Fi(e,18).ngClassValid,Fi(e,18).ngClassInvalid,Fi(e,18).ngClassPending),t(e,39,0,Fi(e,40).target,Fi(e,40).href)}))}function l_(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-mobile-page",[],null,null,null,s_,r_)),Yi(1,114688,null,0,o_,[],null,null)],(function(t,e){t(e,1,0)}),null)}var a_=Si("app-mobile-page",o_,l_,{},{},[]);class c_{constructor(t,e,n){this.authService=t,this.router=e,this.activatedRoute=n,this.show_search=!1,this.search="",this.token=this.authService.getToken(),this.token&&(this.token=this.token.replace(/['"]+/g,""))}ngOnInit(){}ngOnDestroy(){clearTimeout(this.timeout_hide)}ShowSearch(){this.show_search=!this.show_search,this.searchInput.changes.subscribe(()=>{this.setFocus()})}setFocus(){this.searchInput.length>0&&this.searchInput.first.nativeElement.focus()}logOut(){this.authService.logOutUser()}Search(){this.search&&this.router.navigate(["/search",this.search])}handleKeyboardEvent(t){"Enter"===t.key&&this.search&&this.router.navigate(["/search",this.search])}valueChange(t){this.search=t}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}var u_=Hn({encapsulation:0,styles:[[".navigation[_ngcontent-%COMP%]{display:flex;width:100%;z-index:100;align-items:center;height:80px;background-image:linear-gradient(to bottom,rgba(0,0,0,.7) 10%,rgba(0,0,0,0) 70%,transparent);border-bottom:2px solid rgba(255,255,255,.75)}.navigation[_ngcontent-%COMP%] .apollon-logo-beli[_ngcontent-%COMP%]{cursor:pointer;width:60px;margin:5px 2%;-o-object-fit:contain;object-fit:contain}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%]{display:flex;position:relative;-webkit-padding-start:0;padding-inline-start:0;font-family:AvenirNext;font-weight:500;font-style:normal;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.36);font-size:18px;font-stretch:normal;line-height:normal;height:80px;letter-spacing:normal;margin:0}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0 20px;display:flex;justify-content:center;align-items:center;list-style-type:none;float:left;cursor:pointer;height:80px;box-sizing:content-box}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{border-bottom:3px solid rgba(186,0,0,.85)}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{border-bottom:3px solid rgba(186,0,0,.85)}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.profile-and-search[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:auto;margin-right:80px}@media screen and (max-width:1150px){.navigation[_ngcontent-%COMP%]{height:70px}.navigation[_ngcontent-%COMP%] .apollon-logo-beli[_ngcontent-%COMP%]{width:45px}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%]{font-size:13px;height:70px}.navigation[_ngcontent-%COMP%] .Home-TV-shows-Movies[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{height:70px}.profile-and-search[_ngcontent-%COMP%]{margin-right:75px}}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;display:flex;align-items:center;float:left;margin-left:15px;cursor:pointer}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{position:relative}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .search-icon-input[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:7px}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{background-color:rgba(33,33,33,.86)}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .dropdown-content[_ngcontent-%COMP%]{display:none;margin-top:75px;border-radius:7.5px;position:absolute;justify-content:center;align-items:center;color:#fff;background-color:#000;width:100px;height:50px;z-index:3;font-family:AvenirNext;font-size:16px;font-weight:500;font-style:normal}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:active .dropdown-content[_ngcontent-%COMP%], .profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover .dropdown-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:4.5px 30px 4px 9.5px;border-radius:15px;height:30px;color:#fff;background:0 0;border:.5px solid #464646;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:16px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;outline:0}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder:focus{color:red}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder:focus{color:red}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-input-placeholder:focus{color:red}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder:focus{color:red}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{font-size:24px;color:#fff}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .notification-icon[_ngcontent-%COMP%]{width:24px;height:24px;-o-object-fit:contain;object-fit:contain}@media screen and (max-width:1150px){.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .notification-icon[_ngcontent-%COMP%]{width:20px;height:20px}}.profile-and-search[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%]{font-size:32px;width:30px;height:30px;color:#fff}"]],data:{}});function h_(t){return Qr(0,[(t()(),Dr(0,0,null,null,7,"li",[["class","search-item"]],null,null,null,null,null)),(t()(),Dr(1,0,[[1,0],["searchFocus",1]],null,5,"input",[["class","search-input"],["placeholder","Search..."],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0,o=t.component;return"input"===e&&(i=!1!==Fi(t,2)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,2).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,2)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,2)._compositionEnd(n.target.value)&&i),"ngModelChange"===e&&(i=!1!==(o.search=n)&&i),"keyup"===e&&(i=!1!==o.handleKeyboardEvent(n)&&i),"ngModelChange"===e&&(i=!1!==o.valueChange(n)&&i),i}),null,null)),Yi(2,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(4,671744,null,0,gm,[[8,null],[8,null],[8,null],[6,dp]],{model:[0,"model"]},{update:"ngModelChange"}
2),Ji(2048,null,vp,null,[gm]),Yi(6,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(7,0,null,null,0,"img",[["class","search-icon search-icon-input"],["src","../../assets/images/profile-and-search/search.svg"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.Search()&&i),i}),null,null))],(function(t,e){t(e,4,0,e.component.search)}),(function(t,e){t(e,1,0,Fi(e,6).ngClassUntouched,Fi(e,6).ngClassTouched,Fi(e,6).ngClassPristine,Fi(e,6).ngClassDirty,Fi(e,6).ngClassValid,Fi(e,6).ngClassInvalid,Fi(e,6).ngClassPending)}))}function d_(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"li",[["class","search-icon-field"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.ShowSearch()&&i),i}),null,null)),(t()(),Dr(1,0,null,null,1,"a",[],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"i",[["class","fas fa-search search-icon "]],null,null,null,null,null))],null,null)}function g_(t){return Qr(0,[zr(671088640,1,{searchInput:1}),(t()(),Dr(1,0,null,null,49,"nav",[],null,[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),(t()(),Dr(2,0,null,null,48,"div",[["class","navigation"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"img",[["class","apollon-logo-beli"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,4).onClick()&&i),i}),null,null)),Yi(4,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Dr(5,0,null,null,32,"ul",[["class","Home-TV-shows-Movies"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,7,"li",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,7).onClick()&&i),i}),null,null)),Yi(7,16384,[[2,4]],0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),Yi(8,1720320,null,2,Ag,[kg,Je,rn,[2,Sg],[2,Eg]],{routerLinkActive:[0,"routerLinkActive"]},null),zr(603979776,2,{links:1}),zr(603979776,3,{linksWithHrefs:1}),Ur(11,1),(t()(),Dr(12,0,null,null,1,"a",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Po\u010detna"])),(t()(),Dr(14,0,null,null,7,"li",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,15).onClick()&&i),i}),null,null)),Yi(15,16384,[[4,4]],0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),Yi(16,1720320,null,2,Ag,[kg,Je,rn,[2,Sg],[2,Eg]],{routerLinkActive:[0,"routerLinkActive"]},null),zr(603979776,4,{links:1}),zr(603979776,5,{linksWithHrefs:1}),Ur(19,1),(t()(),Dr(20,0,null,null,1,"a",[],null,null,null,null,null)),(t()(),Gr(-1,null,["TV"])),(t()(),Dr(22,0,null,null,7,"li",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,23).onClick()&&i),i}),null,null)),Yi(23,16384,[[6,4]],0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),Yi(24,1720320,null,2,Ag,[kg,Je,rn,[2,Sg],[2,Eg]],{routerLinkActive:[0,"routerLinkActive"]},null),zr(603979776,6,{links:1}),zr(603979776,7,{linksWithHrefs:1}),Ur(27,1),(t()(),Dr(28,0,null,null,1,"a",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Serije"])),(t()(),Dr(30,0,null,null,7,"li",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,31).onClick()&&i),i}),null,null)),Yi(31,16384,[[8,4]],0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),Yi(32,1720320,null,2,Ag,[kg,Je,rn,[2,Sg],[2,Eg]],{routerLinkActive:[0,"routerLinkActive"]},null),zr(603979776,8,{links:1}),zr(603979776,9,{linksWithHrefs:1}),Ur(35,1),(t()(),Dr(36,0,null,null,1,"a",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Filmovi"])),(t()(),Dr(38,0,null,null,12,"ul",[["class","profile-and-search"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,h_)),Yi(40,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,d_)),Yi(42,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(43,0,null,null,7,"li",[["class","profile-image"]],null,null,null,null,null)),(t()(),Dr(44,0,null,null,0,"i",[["class","fas fa-user-circle profile-icon"]],null,null,null,null,null)),(t()(),Dr(45,0,null,null,5,"div",[["class","dropdown-content"]],null,null,null,null,null)),(t()(),Dr(46,0,null,null,2,"div",[],null,
2null,null,null,null)),(t()(),Dr(47,0,null,null,1,"a",[["style","text-decoration: none;color:white"]],[[8,"href",4]],null,null,null,null)),(t()(),Gr(-1,null,["Moj profil"])),(t()(),Dr(49,0,null,null,1,"div",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.logOut()&&i),i}),null,null)),(t()(),Gr(-1,null,["Izloguj me"]))],(function(t,e){var n=e.component;t(e,4,0,"/home"),t(e,7,0,"/home");var i=t(e,11,0,"active");t(e,8,0,i),t(e,15,0,"/live-tv");var o=t(e,19,0,"active");t(e,16,0,o),t(e,23,0,"/series");var r=t(e,27,0,"active");t(e,24,0,r),t(e,31,0,"/movies");var s=t(e,35,0,"active");t(e,32,0,s),t(e,40,0,n.show_search),t(e,42,0,!n.show_search)}),(function(t,e){t(e,47,0,mi(1,"https://register.apollon.rs/account?sid=",e.component.token,""))}))}class p_ extends Am{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}class m_ extends Dm{}const f_=new m_(p_);let __=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return pc(this.value);case"E":return t=this.error,new b(e=>e.error(t));case"C":return dc()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class v_ extends m{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(v_.dispatch,this.delay,new y_(t,this.destination)))}_next(t){this.scheduleMessage(__.createNext(t))}_error(t){this.scheduleMessage(__.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(__.createComplete()),this.unsubscribe()}}class y_{constructor(t,e){this.notification=t,this.destination=e}}class C_ extends k{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new b_(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;let r;if(this.closed)throw new O;if(this.isStopped||this.hasError?r=d.EMPTY:(this.observers.push(t),r=new M(this,t)),i&&t.add(t=new v_(t,i)),e)for(let s=0;s<o&&!t.closed;s++)t.next(n[s]);else for(let s=0;s<o&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||f_).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,o=i.length;let r=0;for(;r<o&&!(t-i[r].time<n);)r++;return o>e&&(r=Math.max(r,o-e)),r>0&&i.splice(0,r),i}}class b_{constructor(t,e){this.time=t,this.value=e}}const P_=new b(v);function x_(t){return Boolean(t.parentElement&&"picture"===t.parentElement.nodeName.toLowerCase())}function O_(t){return"img"===t.nodeName.toLowerCase()}function M_(t,e,n){return O_(t)?n&&"srcset"in t?t.srcset=e:t.src=e:t.style.backgroundImage=`url('${e}')`,t}function w_(t){return e=>{const n=e.parentElement.getElementsByTagName("source");for(let i=0;i<n.length;i++){const e=n[i].getAttribute(t);e&&("srcset"in n[i]?n[i].srcset=e:n[i].src=e)}}}const k_=w_("defaultImage"),S_=w_("lazyLoad"),E_=w_("errorImage");function T_(t){return(e,n,i)=>{O_(e)&&x_(e)&&t(e),n&&M_(e,n,i)}}const A_=T_(k_),I_=T_(S_),D_=T_(E_);function L_(t,e){t.className=t.className.replace(e,"")}function N_(t,e){t.className.includes(e)||(t.className+=" "+e)}class R_ extends class extends class{constructor(){this.navigator="undefined"!=typeof window?window.navigator:void 0}setPlatformId(t){this.platformId=t}onDestroy(t){}onAttributeChange(t){}}{setup(t){var e;A_(t.element,t.defaultImagePath,t.useSrcset),N_(t.element,"ng-lazyloading"),(e=t.element).className&&e.className.includes("ng-lazyloaded")&&L_(t.element,"ng-lazyloaded")}finally(t){N_(t.element,"ng-lazyloaded"),L_(t.element,"ng-lazyloading")}loadImage(t){if(this.skipLazyLoading(t))return[t.imagePath];const{element:e,useSrcset:n,imagePath:i,decode:o}=t;let r;if(O_(e)&&x_(e)){const t=e.parentNode.cloneNode(!0);r=t.getElementsByTagName("img")[0],S_(r),M_(r,i,n)}else r=new Image,O_(e)&&e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),O_(e)&&e.sizes&&(r.sizes=e.sizes),n&&"srcset"in r?r.srcset=i:r.src=i;return o&&r.decode?r.decode().then(()=>i):new Promise((t,e)=>{r.onload=()=>t(i),r.onerror=()=>e(null)})}setErrorImage(t,e){const{element:n,useSrcset:i,errorImagePath:o}=e;D_(n,o,i),N_(n,"ng-failed-lazyloaded")}setLoadedImage(t,e){const{element:n,useSrcset:i}=e;I_(n,t,i)}isDisabled(){return ac(this.platformId)&&!this.isBot()}skipLazyLoading(t){return this.isBot(t)}isBot(t){var e;return!!(null===(e=this.navigator)||void 0===e?void 0:e.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=ne
2w k,this.uniqKey={}}getObservable(t){if(this.skipLazyLoading(t))return pc({isIntersecting:!0});if(t.customObservable)return t.customObservable;const e=t.scrollContainer||this.uniqKey,n={root:t.scrollContainer||null};t.offset&&(n.rootMargin=t.offset+"px");let i=this.observers.get(e);return i||(i=new IntersectionObserver(t=>this.loadingCallback(t),n),this.observers.set(e,i)),i.observe(t.element),b.create(e=>{const n=this.intersectionSubject.pipe(Oc(e=>e.target===t.element)).subscribe(e);return()=>{n.unsubscribe(),i.unobserve(t.element)}})}isVisible(t){return t.isIntersecting}loadingCallback(t){t.forEach(t=>this.intersectionSubject.next(t))}}const j_=new Mt("LazyLoadImageHooks");class z_{constructor(t,e,n,i){this.onStateChange=new Co,this.elementRef=t,this.ngZone=e,this.propertyChanges$=new C_,this.hooks=i,this.hooks.setPlatformId(n),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(t=>console.log(t))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(Ic(t=>this.hooks.onAttributeChange(t)),Ic(t=>t.onStateChange.emit({reason:"setup"})),Ic(t=>this.hooks.setup(t)),Qc(t=>t.imagePath?this.hooks.getObservable(t).pipe(function(t,e){return n=>n.pipe(Ic(t=>e.onStateChange.emit({reason:"observer-emit",data:t})),Oc(n=>t.isVisible(n,e)),Uc(1),Ic(()=>e.onStateChange.emit({reason:"start-loading"})),G(()=>t.loadImage(e)),Ic(()=>e.onStateChange.emit({reason:"mount-image"})),Ic(n=>t.setLoadedImage(n,e)),Ic(()=>e.onStateChange.emit({reason:"loading-succeeded"})),H(()=>!0),Bc(n=>(e.onStateChange.emit({reason:"loading-failed",data:n}),t.setErrorImage(n,e),pc(!1))),Ic(()=>{e.onStateChange.emit({reason:"finally"}),t.finally(e)}))}(this.hooks,t)):P_)).subscribe({next:()=>null})})}ngOnDestroy(){var t,e;this.propertyChanges$.pipe(Uc(1)).subscribe({next:t=>this.hooks.onDestroy(t)}).unsubscribe(),null===(t=this.loadSubscription)||void 0===t||t.unsubscribe(),null===(e=this.debugSubscription)||void 0===e||e.unsubscribe()}}class F_{}class V_{constructor(t){this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this._touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this._mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this._otherListeners={resize:"handleResize"},this.handleTouchstart=t=>{this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getTouchstartPosition(t),this.runHandler("touchstart",t)},this.handleTouchmove=t=>{switch(this.detectPan(t.touches)&&this.runHandler("pan",t),this.detectPinch(t)&&this.runHandler("pinch",t),this.detectLinearSwipe(t)){case"horizontal-swipe":t.swipeType="horizontal-swipe",this.runHandler("horizontal-swipe",t);break;case"vertical-swipe":t.swipeType="vertical-swipe",this.runHandler("vertical-swipe",t)}(this.detectLinearSwipe(t)||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.handleLinearSwipe(t)},this.handleTouchend=t=>{const e=t.touches;this.detectDoubleTap()&&this.runHandler("double-tap",t),this.detectTap(),this.runHandler("touchend",t),this.eventType="touchend",e&&0===e.length&&(this.eventType=void 0,this.i=0)},this.handleMousedown=t=>{this.isMousedown=!0,this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getMousedownPosition(t),this.runHandler("mousedown",t)},this.handleMousemove=t=>{if(this.isMousedown){switch(this.runHandler("pan",t),this.detectLinearSwipe(t)){case"horizontal-swipe":t.swipeType="horizontal-swipe",this.runHandler("horizontal-swipe",t);break;
2case"vertical-swipe":t.swipeType="vertical-swipe",this.runHandler("vertical-swipe",t)}(this.detectLinearSwipe(t)||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.handleLinearSwipe(t)}},this.handleMouseup=t=>{this.detectTap(),this.isMousedown=!1,this.runHandler("mouseup",t),this.eventType=void 0,this.i=0},this.handleWheel=t=>{this.runHandler("wheel",t)},this.handleResize=t=>{this.runHandler("resize",t)},this.properties=t,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}get touchListeners(){return this.properties.touchListeners?this.properties.touchListeners:this._touchListeners}get mouseListeners(){return this.properties.mouseListeners?this.properties.mouseListeners:this._mouseListeners}get otherListeners(){return this.properties.otherListeners?this.properties.otherListeners:this._otherListeners}destroy(){this.toggleEventListeners("removeEventListener")}toggleEventListeners(t){let e;for(var n in e="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(e=Object.assign(e,this.otherListeners)),e){const i=e[n];"resize"===n?("addEventListener"===t&&window.addEventListener(n,this[i],!1),"removeEventListener"===t&&window.removeEventListener(n,this[i],!1)):"mouseup"===n||"mousemove"===n?("addEventListener"===t&&document.addEventListener(n,this[i],!1),"removeEventListener"===t&&document.removeEventListener(n,this[i],!1)):("addEventListener"===t&&this.element.addEventListener(n,this[i],!1),"removeEventListener"===t&&this.element.removeEventListener(n,this[i],!1))}}addEventListeners(t,e){window.addEventListener(t,this[e],!1)}removeEventListeners(t,e){window.removeEventListener(t,this[e],!1)}handleLinearSwipe(t){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(t)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",t),"vertical-swipe"===this.eventType&&this.runHandler("vertical-swipe",t)}runHandler(t,e){this.handlers[t]&&this.handlers[t](e)}detectPan(t){return 1===t.length&&!this.eventType||"pan"===this.eventType}detectDoubleTap(){if(null!=this.eventType)return;const t=(new Date).getTime(),e=t-this.lastTap;if(clearTimeout(this.doubleTapTimeout),e<this.doubleTapMinTimeout&&e>0)return!0;this.doubleTapTimeout=setTimeout(()=>{clearTimeout(this.doubleTapTimeout)},this.doubleTapMinTimeout),this.lastTap=t}detectTap(){if(null!=this.eventType)return;const t=(new Date).getTime()-this.touchstartTime;t>0&&this.runHandler(t<this.tapMinTimeout?"tap":"longtap",event)}detectPinch(t){return 2===t.touches.length&&void 0===this.eventType||"pinch"===this.eventType}detectLinearSwipe(t){const e=t.touches;if(e){if(1===e.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(t)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(t)}getLinearSwipeType(t){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){const e=Math.abs(this.moveLeft(0,t)-this.startX);return 3*Math.abs(this.moveTop(0,t)-this.startY)>e?"vertical-swipe":"horizontal-swipe"}return this.eventType}getElementPosition(){return this.element.getBoundingClientRect()}getTouchstartPosition(t){this.startX=t.touches[0].clientX-this.elementPosition.left,this.startY=t.touches[0].clientY-this.elementPosition.top}getMousedownPosition(t){this.startX=t.clientX-this.elementPosition.left,this.startY=t.clientY-this.elementPosition.top}moveLeft(t,e){const n=e.touches;return n?n[t].clientX-this.elementPosition.left:e.clientX-this.elementPosition.left}moveTop(t,e){const n=e.touches;return n?n[t].clientY-this.elementPosition.top:e.clientY-this.elementPosition.top}detectTouchScreen(){var t,e=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||(t=["(",e.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(t).matches)}on(t,e){t&&(this.handlers[t]=e)}}class B_{constructor(t,e,n,i,o){this.properties=t,this.utils=e,this.cells=n,this.container=i,this.slide=o,this.isContentImages=!0,this.isLazyLoad=!0,this.isContainerLocked=!0,this.alignCells="left",this.initialContainerPosition=0,this.containerPullLimit=100,this.handleTouchstart=t=>{this.container.handleTouchstart(),this.slide.handleTouchstart(t)},this.handleHorizontalSwipe=t=>{this.container.handleHorizontalSwipe()},this.handleTouchend=t=>{this.properties.freeScroll?this.container.handleTouchend():(this.container.handleTouchend(!0),this.slide.handleTouchend(t))},this.isNextArrowDisabled=()=>this.slide.isNextArrowDisabled(),this.isPrevArrowDisabled=()=>this.slide.isPrevArrowDisabled(),this.init()}get cellLength(){return this.cells.cellLength}get cellLengthInLightDOMMode(){if(this.images){let t=this.visibleCellsCount+2*this.overflowCellsLimit;return t>this.images.length&&(t=this.images.length),t}return this.cellLength}get lastCellIndex(){return this.images.length?this.images.length-1:this.cells.cellLength-1}get overflowCellsLimit(){return this.images&&this.isImagesLessCellLimit?Math.floor((this.images.length-this.visibleCellsCount)/2):this.properties.overflowCellsLimit}get isImagesLessCellLimit(){return 2*this.properties.overflowCellsLimit+this.visibleCellsCount>this.images.length}get cellLimit(){return this.isLightDOM?this.visibleCellsCount+2*this.overflowCellsLimit:this.properties.images.length}get isLightDOM(){return this.properties.lightDOM||this.properties.loop}get images(){return this.properties.images}get margin(){return this.properties.margin}get minSwipeDistance(){return this.properties.minSwipeDistance}get transitionDuration(){return this.properties.transitionDuration}get transitionTimingFunction(){return this.properties.transitionTimingFunction}get fullCellWidth(){return this.properties.cellWidth+this.margin}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get lapCounter(){return Math.floor(this.slide.counter/this.cellLengthInLightDOMMode)}get slideCounter(){return this.slide.counter}init(){this.cellsElement=this.properties.cellsElement,this.visibleWidth=this.properties.visibleWidth||this.cellsElement.parentElement.clientWidth}lineUpCells(){this.cells.lineUp()}handleTransitionend(){this.slide.handleTransitionend()}getImage(t){return this.cells.getImage(t)}next(t=1){this.isNextArrowDisabled()||this.slide.next(t)}prev(t=1){this.slide.prev(t)}
2autoplay(){this.autoplayId=setInterval(()=>{this.next()},this.properties.autoplayInterval)}stopAutoplay(){this.autoplayId&&clearInterval(this.autoplayId)}}class H_{constructor(t,e,n){this.carouselProperties=t,this.utils=e,this.cells=n,this.newPositionIndex=0,this.initialPositionX=0,this.initialElementPositionX=0,this.isLocked=!0,this.pullLimit=100,this.init()}get visibleWidth(){return this.utils.visibleWidth}get overflowCellsLimit(){return this.utils.overflowCellsLimit}get images(){return this.carouselProperties.images}get element(){return this.carouselProperties.cellsElement}get freeScroll(){return this.carouselProperties.freeScroll}get fullCellWidth(){return this.carouselProperties.cellWidth+this.carouselProperties.margin}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get transitionDuration(){return this.carouselProperties.transitionDuration}get transitionTimingFunction(){return this.carouselProperties.transitionTimingFunction}get cellLength(){return this.images?this.images.length:this.cells.cellLength}get cellLengthInLightDOMMode(){if(this.images){let t=this.visibleCellsCount+2*this.overflowCellsLimit;return t>this.images.length&&(t=this.images.length),t}return this.cellLength}get tooFewCells(){return this.visibleCellsCount>this.cellLength}get disabled(){return this.tooFewCells}get margin(){return this.carouselProperties.margin}get isLightDOM(){return this.carouselProperties.lightDOM||this.carouselProperties.loop}init(){this.setWidth()}handleTouchstart(){this.startX=this.utils.getStartX(event),this.startTime=(new Date).getTime(),this.initialElementPositionX=this.getInitialElementPositionX()}handleHorizontalSwipe(){this.disabled||(this.isSwipeInProgress||(this.startX=this.utils.getStartX(event),this.startTime=(new Date).getTime(),this.initialElementPositionX=this.getInitialElementPositionX()),this.isSwipeInProgress=!0,this.moveX=this.utils.getMoveX(event),this.move())}handleTouchend(t=!1){this.disabled||(t?this.isSwipeInProgress=!1:(this.isSwipeInProgress=!1,this.finishMoving(),this.clearInitialValues()))}move(){let t=this.getMovePositionX();const e=this.detectPulled(),n=this.getDirection();e&&("left"===e.edge&&"right"===n||"right"===e.edge&&"left"===n)&&(t=this.slowdownOnPull(t)),this.transformPositionX(t,0),this.freeScroll&&(this.initialPositionX=t),e&&("left"===e.edge&&e.overflowX>this.pullLimit&&(this.initialPositionX=0),"right"===e.edge&&e.overflowX>this.pullLimit&&(this.initialPositionX=t))}getMovePositionX(){const t=this.getDistance();return this.initialElementPositionX-t}getDistance(){return this.startX-this.moveX}detectPulled(){const t=this.getCurrentPositionX();return t>0?{edge:"left",positionX:t,overflowX:Math.abs(t)}:t<this.getEndPosition()?{edge:"right",positionX:t,overflowX:Math.abs(t-this.getEndPosition())}:void 0}slowdownOnPull(t){let e=Math.abs(this.getDistance());const n=this.getEndPosition(),i=this.detectPulled(),o=3+i.overflowX/50;let r;if("left"===i.edge){this.initialElementPositionX<0&&(e-=Math.abs(this.initialElementPositionX));const t=e/o;r=t,this.initialElementPositionX>0&&(r=this.initialElementPositionX+t),r>this.pullLimit&&(r=this.pullLimit)}if("right"===i.edge){const t=n+(this.initialElementPositionX-e-n)/o,i=this.getWidth();r=t,this.initialElementPositionX<-(i-this.visibleWidth)&&(r=i-this.visibleWidth+this.initialElementPositionX+t),r<n-this.pullLimit&&(r=n-this.pullLimit)}return r}finishMoving(){const t=this.getMovePositionX();let e;this.freeScroll&&(e=this.getInertia()),e=this.getAlignedPositionOnPull(e),this.transformPositionX(e),this.setInitialPosition(t)}getInertia(){const t=this.getDistance(),e=(new Date).getTime();return this.initialPositionX-t/(e-this.startTime)*100}getAlignedPositionOnPull(t){const e=this.getDirection();if("left"===e){let e=this.getEndPosition();if(t<e)return e}return"right"===e&&t>0?0:t}getCurrentPositionX(){const t=this.element.parentElement.getBoundingClientRect();return this.element.getBoundingClientRect().left-t.left}getEndPosition(){if(this.isLightDOM)return-(this.cells.imageUtils.getImages().length*this.fullCellWidth-this.visibleWidth-this.margin);{const t=this.getWidth();return this.element.parentElement.clientWidth-t}}transformPositionX(t,e=this.transitionDuration){void 0!==t&&(this.element.style.transition="transform "+e+"ms "+this.transitionTimingFunction,this.element.style.transform="translateX("+t+"px)")}getWidth(){let t=this.cellLengthInLightDOMMode*this.fullCellWidth,e=this.cellLength*this.fullCellWidth;return e<t&&(t=e),this.isLightDOM?t:e}setWidth(){const t=this.getWidth();this.element.style.width=t+"px"}setInitialPosition(t){this.initialPositionX=t}getElementPosition(){return this.element.getBoundingClientRect()}getInitialElementPositionX(){const t=this.utils.getCarouselElementPosition().left;return this.getElementPosition().left-t}clearInitialValues(){this.startX=this.moveX=void 0}getDirection(){const t=Math.sign(this.startX-this.moveX);return-1===t?"right":1===t?"left":void 0}}class $_{constructor(t){this.element=t}getImages(){return this.cellStack.filter(this.filter)}comparePositions(t,e){return t.positionX<e.positionX?-1:t.positionX>e.positionX?1:0}filter(t){return void 0!==t.img}}class U_{constructor(t,e){this.carouselProperties=t,this.utils=e,this.counter=0,this.imageUtils=new $_(this.element),this.init(t)}get images(){return this.carouselProperties.images}get cellLength(){return this.cells.length}get fullCellWidth(){return this.carouselProperties.cellWidth+this.carouselProperties.margin}get cellLengthInLightDOMMode(){if(this.images){let t=this.visibleCellsCount+2*this.utils.overflowCellsLimit;return t>this.images.length&&(t=this.images.length),t}return this.cellLength}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get overflowCellsLimit(){return this.carouselProperties.overflowCellsLimit}get isLightDOM(){return this.carouselProperties.lightDOM||this.carouselProperties.loop}lineUp(){const t=this.element.children;this.imageUtils.cellStack=[];for(var e=0;e<t.length;e++){let n=t[e],i=this.getCellPositionInContainer(e);n.style.transform="translateX("+i+"px)",n.style.width=this.carouselProperties.cellWidth+"px",this.getImage(e)&&this.imageUtils.cellStack.push({index:e,positionX:i,img:this.getImage(e).image})}}ifSequenceOfCellsIsChanged(){return"translateX(0px)"!==this.element.children[0].style.transform}getCellPositionInContainer(t){return this.getCellIndexInContainer(t)*this.fullCellWidth}getCellIndexInContainer(t){let e;if(!this.isLightDOM)return t;let n=this.cellLengthInLightDOMMode,i=this.counter-this.carouselProperties.overflowCellsLimit;return i>n&&(i%=n),i<0?t:(e=t-i,e<0&&(e=n+e),e)}getImage(t){if(!this.images)return;let e=this.getImageIndex(t),n=this.images[e];return n&&!n.type&&(n.type="image"),{image:this.images[e],imageIndex:e}}getImageIndex(t){const e=this.getCellIndexInContainer(t);let n,i=this.carouselProperties.overflowCellsLimit;return this.counter>i?(n=e+(this.counter-i),this.images&&this.carouselProperties.loop&&(n%=this.images.length)):n=t,n}setCounter(t){this.counter=t}init(t){this.element=this.carouselProperties.cellsElement,this.cells=this.element.children,this.visibleWidth=this.carouselProperties.visibleWidth||this.element.parentElement.clientWidth}}class W_{constructor(t,e,n,i){this.carouselProperties=t,this.utils=e,this.cells=n,this.container=i,this.counter=0,this._counter=0,this.initialPositionX=0,this.currentPositionX=0,this.init()}get fullCellWidth(){return this.carouselProperties.cellWidth+this.carouselProperties.margin}get margin(){return this.carouselProperties.margin}get minSwipeDistance(){return this.carouselProperties.minSwipeDistance}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get visibleCellsOverflowContainer(){return this.visibleCellsCount*this.fullCellWidth-this.margin>this.visibleWidth}get fixedContainerPosition(){return-this.overflowCellsLimit*this.fullCellWidth}get overflowCellsLimit(){return this.carouselProperties.overflowCellsLimit}get images(){return this.carouselProperties.images}get cellLength(){return this.isLightDOM?this.cells.cellLengthInLightDOMMode:this.images?this.images.length:this.cells.cellLength}get isLightDOM(){return this.carouselProperties.lightDOM||this.carouselProperties.loop}init(){this.visibleWidth=this.carouselProperties.visibleWidth||this.carouselProperties.hostElement.clientWidth}handleTouchstart(t){this.isNotClickOnArrow=!0,this.isSlideLengthLimited=void 0,this.isSlideInProgress||(this.initialPositionX=this.container.getCurrentPositionX())}handleTouchend(t){this.isNotClickOnArrow&&(this.currentPositionX=this.container.getCurrentPositionX(),this.distanceAbs=Math.abs(this.initialPositionX-this.currentPositionX),this.distance=this.initialPositionX-this.currentPositionX,this.direction=this.getDirection(),this.isNotClickOnArrow=void 0,this.handleSlide())}handleTransitionend(){this.setCounter(),this.isSlideInProgress=!1,this.isLightDOM&&this.alignContainerFast()}detectClickOnArrow(t){return t.target.classList.contains("carousel-arrow")}handleSlide(t){let e;
2if(!(t&&this.isSlideInProgress||!this.direction)){if(t?(this.slideLength=this.limitSlideLength(t),this.isSlideInProgress||(this.initialPositionX=this.container.getCurrentPositionX())):this.slideLength=this.getSlideLength(this.distanceAbs),this._counter=this.getPreliminaryCounter(),"left"===this.direction){t||(this.slideLength=this.limitSlideLength(this.getSlideLength(this.distanceAbs))),this._counter=this.getPreliminaryCounter();let n=this.isSlidesEnd(this._counter);e=this.getPositionByIndex(this._counter),n&&(this._counter=this.counter,e=this.getPositionByIndex(this.counter),this.slideLength=0)}"right"===this.direction&&(t||(this.slideLength=this.getSlideLength(this.distanceAbs)),this._counter<0&&(this._counter=this.counter,this.slideLength=this.counter),e=this.getPositionByIndex(this.counter-this.slideLength)),this.container.getCurrentPositionX()!==e&&(this.isSlideInProgress=!0,this.container.transformPositionX(e))}}next(t=1){this.direction="left",this.handleSlide(t)}prev(t=1){this.direction="right",this.handleSlide(t)}select(t){t>this.cellLength-1||(t>this.counter&&this.next(t-this.counter),t<this.counter&&this.prev(this.counter-t))}getPreliminaryCounter(){return"left"===this.direction?this.counter+this.slideLength:"right"===this.direction?this.counter-this.slideLength:void 0}limitSlideLength(t){if(t>1)for(var e=0;e<t;e++)if(!this.isSlidesEnd(this.counter+(t-e))){t-=e,this.isSlideLengthLimited=e>0;break}return t}getPositionCorrection(t){let e=0,n=this.isLastSlide(t);return this.carouselProperties.loop||"right"===this.direction?0:((this.isSlideLengthLimited||n)&&(this.visibleWidth<this.cells.cellLengthInLightDOMMode*this.fullCellWidth&&(e=-(this.visibleCellsCount*this.fullCellWidth-this.visibleWidth-this.margin)),e>=-this.margin&&(e=0)),e)}getSlideLength(t){this.isLastSlide(this.counter)&&"right"===this.direction&&(t+=this.visibleWidth%this.fullCellWidth);let e=Math.floor(t/this.fullCellWidth);return t%this.fullCellWidth>=this.minSwipeDistance&&e++,e}getDistanceAbs(){return Math.abs(this.initialPositionX-this.currentPositionX)}getDirection(){const t=Math.sign(this.initialPositionX-this.currentPositionX);return-1===t?"right":1===t?"left":void 0}isSlidesEnd(t){return!this.carouselProperties.loop&&(this.images?this.images.length:this.cells.cellLength)-t+(this.visibleCellsOverflowContainer?1:0)<this.visibleCellsCount}isLastSlide(t){return this.isSlidesEnd(t+1)}setCounter(){"left"===this.direction&&(this.counter=this.counter+this.slideLength),"right"===this.direction&&(this.counter=this.counter-this.slideLength)}getPositionByIndex(t){let e,n=this.getPositionCorrection(this.counter+this.slideLength);return 0!==n&&(n+=this.fullCellWidth),"right"===this.direction&&(n=0),e=this.isLightDOM&&this.isLightDOMMode(t)||this.isLightDOM&&this.ifLeftDOMModeAtEnd(t)?this.getPositionWithoutCorrection(this.initialPositionX)-((t-this.counter)*this.fullCellWidth-n):-(t*this.fullCellWidth-n),e=this.provideSafePosition(e),e}provideSafePosition(t){const e=this.container.getEndPosition();return"left"===this.direction&&t>0&&(t=0),"right"===this.direction&&t<e&&(t=e),t}getPositionWithoutCorrection(t){let e=t%this.fullCellWidth;return 0!==e?t-(this.fullCellWidth+e):t}isNextArrowDisabled(){return this.isLastSlide(this.counter)}isPrevArrowDisabled(){return 0===this.counter}alignContainerFast(){if(this.isLightDOMMode(this.counter))this.container.transformPositionX(this.fixedContainerPosition,0),this.cells.setCounter(this.counter),this.cells.lineUp();else if(this.ifLeftDOMModeToBeginning(this.counter))this.cells.ifSequenceOfCellsIsChanged()&&(this.container.transformPositionX(-this.counter*this.fullCellWidth,0),this.cells.setCounter(this.counter),this.cells.lineUp());else if(this.ifLeftDOMModeAtEnd(this.counter)){let t=this.container.getCurrentPositionX(),e=this.container.getWidth();if(this.isLastSlide(this.counter)&&e+t>=this.visibleWidth)return;let n=this.getPositionCorrection(this.counter);0!==n&&(n+=this.fullCellWidth),"right"===this.direction&&(n=0),this.container.transformPositionX(this.fixedContainerPosition+n,0),this.cells.setCounter(this.counter),this.cells.lineUp()}}isLightDOMMode(t){let e,n=this.images.length-this.overflowCellsLimit-this.visibleCellsCount;return!!this.isLightDOM&&(t>this.overflowCellsLimit&&"left"===this.direction&&t<=n&&(e=!0),t>=this.overflowCellsLimit&&"right"===this.direction&&t<n&&(e=!0),this.counter>this.overflowCellsLimit&&"left"===this.direction&&this.counter<=n&&(e=!0),this.counter>=this.overflowCellsLimit&&"right"===this.direction&&this.counter<n&&(e=!0),e)}ifLeftDOMModeAtEnd(t){let e,n=this.images.length-this.overflowCellsLimit-this.visibleCellsCount;return t>=n&&(e=!0),this.counter>=n&&(e=!0),e}ifLeftDOMModeToBeginning(t){let e;return t<=this.overflowCellsLimit&&(e=!0),this.counter<=this.overflowCellsLimit&&(e=!0),e}}class q_{constructor(t){this.carouselProperties=t}get images(){return this.carouselProperties.images}get overflowCellsLimit(){return this.images&&this.isImagesLessCellLimit?Math.floor((this.images.length-this.visibleCellsCount)/2):this.carouselProperties.overflowCellsLimit}get isImagesLessCellLimit(){return 2*this.carouselProperties.overflowCellsLimit+this.visibleCellsCount>this.images.length}get visibleCellsCount(){return Math.ceil(this.visibleWidth/this.fullCellWidth)}get fullCellWidth(){return this.carouselProperties.cellWidth+this.carouselProperties.margin}get visibleWidth(){return this.carouselProperties.visibleWidth||this.carouselProperties.cellsElement.parentElement.clientWidth}getStartX(t){const e=t.touches,n=this.getCarouselElementPosition().left;let i;return i=e?e[0].clientX-n:t.clientX-n,i}getMoveX(t){const e=t.touches,n=this.getCarouselElementPosition().left;return e?e[0].clientX-n:t.clientX-n}getCarouselElementPosition(){return this.carouselProperties.hostElement.getBoundingClientRect()}}class G_{constructor(t,e){this.elementRef=t,this.ref=e,this.minTimeout=30,this._cellWidth=200,this._loop=!1,this._lightDOM=!1,this.events=new Co,this.height=200,this.autoplay=!1,this.autoplayInterval=5e3,this.pauseOnHover=!0,this.dots=!1,this.margin=10,this.objectFit="cover",this.minSwipeDistance=10,this.transitionDuration=200,this.transitionTimingFunction="ease-
2out",this.counterSeparator=" / ",this.overflowCellsLimit=3,this.listeners="mouse and touch",this.cellsToScroll=1,this.freeScroll=!1,this.arrows=!0,this.arrowsTheme="light",this.hostClassCarousel=!0,this.handleTouchstart=t=>{this.touches.addEventListeners("mousemove","handleMousemove"),this.carousel.handleTouchstart(t),this.isMoving=!0},this.handleHorizontalSwipe=t=>{t.preventDefault(),this.carousel.handleHorizontalSwipe(t)},this.handleTouchend=t=>{this.carousel.handleTouchend(t),this.touches.removeEventListeners("mousemove","handleMousemove"),this.isMoving=!1},this.handleTap=t=>{let e=Array.prototype.slice.call(this.cellsElement.children),n=t.srcElement.closest(".carousel-cell");e.indexOf(n),e.indexOf(n)}}get isContainerLocked(){return this.carousel.isContainerLocked}get slideCounter(){return this.carousel.slideCounter}get lapCounter(){return this.carousel.lapCounter}get isLandscape(){return window.innerWidth>window.innerHeight}get isSafari(){const t=navigator.userAgent.toLowerCase();if(-1!==t.indexOf("safari"))return!(t.indexOf("chrome")>-1)}get counter(){let t;return t=this.loop?this.slideCounter%this.cellLength:this.slideCounter,t+1+this.counterSeparator+this.cellLength}get cellsElement(){return this.elementRef.nativeElement.querySelector(".carousel-cells")}get isArrows(){return this.arrows&&!this.freeScroll}get isCounter(){return this._isCounter&&this.cellLength>1}get activeDotIndex(){return this.slideCounter%this.cellLength}get cellLimit(){if(this.carousel)return this.carousel.cellLimit}set images(t){this._images=t}get images(){return this._images}set cellWidth(t){t&&(this._cellWidth=t)}set isCounter(t){t&&(this._isCounter=t)}set loop(t){t&&(this._loop=t)}get loop(){return!!this.images&&this._loop}set lightDOM(t){t&&(this._lightDOM=t)}get lightDOM(){return!!this.images&&this._lightDOM}onWindowResize(t){this.landscapeMode=this.isLandscape,this.ref.detectChanges(),this.initCarousel(),this.carousel.lineUpCells()}onMousemove(t){this.autoplay&&this.pauseOnHover&&this.carousel.stopAutoplay()}onMouseleave(t){this.autoplay&&this.pauseOnHover&&this.carousel.autoplay()}ngOnInit(){this.isNgContent=this.cellsElement.children.length>0,this.touches=new V_({element:this.cellsElement,listeners:this.listeners,mouseListeners:{mousedown:"handleMousedown",mouseup:"handleMouseup"}}),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("horizontal-swipe",this.handleHorizontalSwipe),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("tap",this.handleTap),this.setDimensions()}ngAfterViewInit(){this.initCarousel(),this.autoplay&&this.carousel.autoplay(),this.cellLength=this.getCellLength(),this.dotsArr=Array(this.cellLength).fill(1),this.ref.detectChanges(),this.carousel.lineUpCells(),this.detectDomChanges()}ngOnChanges(t){(t.width||t.height||t.images)&&(this.setDimensions(),this.initCarousel(),this.carousel.lineUpCells(),this.ref.detectChanges())}ngOnDestroy(){this.touches.destroy()}initCarousel(){let t={id:this.id,cellsElement:this.elementRef.nativeElement.querySelector(".carousel-cells"),hostElement:this.elementRef.nativeElement,images:this.images,cellWidth:this.getCellWidth(),loop:this.loop,autoplayInterval:this.autoplayInterval,overflowCellsLimit:this.overflowCellsLimit,visibleWidth:this.width,margin:this.margin,minSwipeDistance:this.minSwipeDistance,transitionDuration:this.transitionDuration,transitionTimingFunction:this.transitionTimingFunction,videoProperties:this.videoProperties,eventHandler:this.events,freeScroll:this.freeScroll,lightDOM:this.lightDOM};this.utils=new q_(t),this.cells=new U_(t,this.utils),this.container=new H_(t,this.utils,this.cells),this.slide=new W_(t,this.utils,this.cells,this.container),this.carousel=new B_(t,this.utils,this.cells,this.container,this.slide)}detectDomChanges(){new MutationObserver(t=>{this.onDomChanges()}).observe(this.elementRef.nativeElement,{attributes:!0,childList:!0,characterData:!0})}onDomChanges(){this.cellLength=this.getCellLength(),this.carousel.lineUpCells(),this.ref.detectChanges()}setDimensions(){this.hostStyleHeight=this.height+"px",this.hostStyleWidth=this.width+"px"}getImage(t){return this.carousel.getImage(t)}handleTransitionendCellContainer(t){this.carousel.handleTransitionend()}toggleVideo(t){event.preventDefault(),this.videoProperties.noPlay||(t.paused?(t.play(),this.isVideoPlaying=!0):(t.pause(),this.isVideoPlaying=!1),this.ref.detectChanges())}getCellWidth(){let t=this.elementRef.nativeElement.clientWidth;return this.cellsToShow?(t-(this.cellsToShow>1?this.margin:0)*(this.cellsToShow-1))/this.cellsToShow:"100%"===this._cellWidth?t:this._cellWidth}next(){this.carousel.next(this.cellsToScroll),this.carousel.stopAutoplay()}prev(){this.carousel.prev(this.cellsToScroll),this.carousel.stopAutoplay()}isNextArrowDisabled(){if(this.carousel)return this.carousel.isNextArrowDisabled()}isPrevArrowDisabled(){if(this.carousel)return this.carousel.isPrevArrowDisabled()}getCellLength(){return this.images?this.images.length:this.cellsElement.children.length}}class K_{}var X_=Hn({encapsulation:0,styles:["[_nghost-%COMP%]{-moz-user-select:none;-webkit-user-select:none;box-sizing:border-box;display:block;height:100%;left:0;position:relative;top:0;transform-origin:top left;user-select:none;width:100%;z-index:10000}[_nghost-%COMP%] .carousel-container[_ngcontent-%COMP%]{cursor:grab;height:100%;overflow:hidden;width:100%}[_nghost-%COMP%] .carousel-container.carousel-moving[_ngcontent-%COMP%]{cursor:grabbing}[_nghost-%COMP%] .carousel-counter[_ngcontent-%COMP%]{background-color:rgba(23,37,68,.3);border-radius:13px;color:#fff;font-size:11px;line-height:normal;padding:5px 7px;position:absolute;right:24px;text-align:right;top:8px;transition:opacity .2s;z-index:30}[_nghost-%COMP%] .carousel-cells{display:block;height:100%;transition:transform .2s;width:100%;will-change:transform}[_nghost-%COMP%] .carousel-cells .carousel-cell.swiper-prev-image{transform:translate3d(-100%,0,0)}[_nghost-%COMP%] .carousel-cells .carousel-cell.swiper-next-image{transform:translate3d(100%,0,0)}[_nghost-%COMP%] .carousel-cells .carousel-cell{height:100%;overflow:hidden;position:absolute;width:100%}[_nghost-%COMP%] .carousel-cells .carousel-cell img, [_nghost-%COMP%] .carousel-cells .carousel-cell video{he
2ight:100%;object-fit:contain;position:relative;width:100%}[_nghost-%COMP%] .carousel-cells .carousel-cell img.swiper-hide{display:none}[_nghost-%COMP%] .carousel-cells .carousel-cell .carousel-play{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}[_nghost-%COMP%] .carousel-arrow[_ngcontent-%COMP%]{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:31px;border-radius:100px;box-shadow:0 0 5px rgba(0,0,0,.15);cursor:pointer;height:40px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:10}[_nghost-%COMP%] .carousel-arrow-prev[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNMTUuNDEgMTYuNTlMMTAuODMgMTJsNC41OC00LjU5TDE0IDZsLTYgNiA2IDYgMS40MS0xLjQxeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);left:10px}[_nghost-%COMP%] .carousel-arrow-next[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNOC41OSAxNi41OUwxMy4xNyAxMiA4LjU5IDcuNDEgMTAgNmw2IDYtNiA2LTEuNDEtMS40MXoiLz48cGF0aCBkPSJNMCAwaDI0djI0SDBWMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=);right:10px}[_nghost-%COMP%] .carousel-arrows-outside[_ngcontent-%COMP%] .carousel-arrow-prev[_ngcontent-%COMP%]{left:-60px}[_nghost-%COMP%] .carousel-arrows-outside[_ngcontent-%COMP%] .carousel-arrow-next[_ngcontent-%COMP%]{right:-60px}[_nghost-%COMP%] .carousel-dark-arrows[_ngcontent-%COMP%] .carousel-arrow[_ngcontent-%COMP%]{filter:invert(1)}[_nghost-%COMP%] .carousel-arrow-disabled[_ngcontent-%COMP%]{cursor:default;opacity:.5}[_nghost-%COMP%] .carousel-dots[_ngcontent-%COMP%]{bottom:0;left:0;position:absolute;right:0;text-align:center;z-index:10}[_nghost-%COMP%] .carousel-dots[_ngcontent-%COMP%] .carousel-dot[_ngcontent-%COMP%]{border:2px solid #fff;border-radius:100px;display:inline-block;height:8px;margin:4px;width:8px}[_nghost-%COMP%] .carousel-dots[_ngcontent-%COMP%] .carousel-dot-active[_ngcontent-%COMP%]{background-color:#fff}"],data:{}});function Q_(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","carousel-counter"]],null,null,null,null,null)),(t()(),Gr(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.counter)}))}function Z_(t){return Qr(0,[(t()(),Dr(0,0,null,null,0,"img",[["draggable","false"]],[[8,"src",4],[4,"object-fit",null]],null,null,null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n.getImage(e.parent.parent.context.index).image.path,n.objectFit)}))}function Y_(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","carousel-cell"]],[[4,"width",null],[4,"border-radius",null]],null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,Z_)),Yi(2,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.getImage(e.parent.context.index)&&n.getImage(e.parent.context.index).image)}),(function(t,e){var n=e.component;t(e,0,0,n.getCellWidth()+"px",n.borderRadius+"px")}))}function J_(t){return Qr(0,[(t()(),Ir(16777216,null,null,1,null,Y_)),Yi(1,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(0,null,null,0))],(function(t,e){t(e,1,0,e.context.index<e.component.cellLimit)}),null)}function tv(t){return Qr(0,[(t()(),Dr(0,0,null,null,0,"div",[["class","carousel-dot"]],[[2,"carousel-dot-active",null]],null,null,null,null))],null,(function(t,e){t(e,0,0,e.context.index===e.component.activeDotIndex)}))}function ev(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","carousel-dots"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,tv)),Yi(2,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.dotsArr)}),null)}function nv(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","carousel-arrows"]],[[2,"carousel-arrows-outside",null],[2,"carousel-dark-arrows",null]],null,null,null,null)),(t()(),Dr(1,0,null,null,0,"div",[["class","carousel-arrow carousel-arrow-prev"]],[[2,"carousel-arrow-disabled",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.prev()&&i),i}),null,null)),(t()(),Dr(2,0,null,null,0,"div",[["class","carousel-arrow carousel-arrow-next"]],[[2,"carousel-arrow-disabled",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.next()&&i),i}),null,null))],null,(function(t,e){var n=e.component;t(e,0,0,n.arrowsOutside,"dark"===n.arrowsTheme),t(e,1,0,n.isPrevArrowDisabled()),t(e,2,0,n.isNextArrowDisabled())}))}function iv(t){return Qr(0,[(t()(),Ir(16777216,null,null,1,null,Q_)),Yi(1,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(2,0,null,null,6,"div",[["class","carousel-container"]],[[2,"carousel-moving",null]],null,null,null,null)),(t()(),Dr(3,0,[["cells",1]],null,3,"div",[["class","carousel-cells"]],null,[[null,"transitionend"]],(function(t,e,n){var i=!0;return"transitionend"===e&&(i=!1!==t.component.handleTransitionendCellContainer(n)&&i),i}),null,null)),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
2checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:null,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:0}},(t()(),Ir(16777216,null,null,1,null,J_)),Yi(6,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ir(16777216,null,null,1,null,ev)),Yi(8,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,nv)),Yi(10,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.isCounter),t(e,6,0,n.images),t(e,8,0,n.dots),t(e,10,0,n.isArrows)}),(function(t,e){t(e,2,0,e.component.isMoving)}))}function ov(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"carousel",[],[[2,"carousel",null],[4,"height",null],[4,"width",null]],[["window","resize"],[null,"mousemove"],[null,"mouseleave"]],(function(t,e,n){var i=!0;return"window:resize"===e&&(i=!1!==Fi(t,1).onWindowResize(n)&&i),"mousemove"===e&&(i=!1!==Fi(t,1).onMousemove(n)&&i),"mouseleave"===e&&(i=!1!==Fi(t,1).onMouseleave(n)&&i),i}),iv,X_)),Yi(1,4964352,null,0,G_,[Je,Pe],null,null)],(function(t,e){t(e,1,0)}),(function(t,e){t(e,0,0,Fi(e,1).hostClassCarousel,Fi(e,1).hostStyleHeight,Fi(e,1).hostStyleWidth)}))}var rv=Si("carousel, [carousel]",G_,ov,{id:"id",height:"height",width:"width",autoplay:"autoplay",autoplayInterval:"autoplayInterval",pauseOnHover:"pauseOnHover",dots:"dots",borderRadius:"borderRadius",margin:"margin",objectFit:"objectFit",minSwipeDistance:"minSwipeDistance",transitionDuration:"transitionDuration",transitionTimingFunction:"transitionTimingFunction",videoProperties:"videoProperties",counterSeparator:"counterSeparator",overflowCellsLimit:"overflowCellsLimit",listeners:"listeners",cellsToShow:"cellsToShow",cellsToScroll:"cellsToScroll",freeScroll:"freeScroll",arrows:"arrows",arrowsOutside:"arrowsOutside",arrowsTheme:"arrowsTheme",images:"images",cellWidth:"cellWidth",isCounter:"counter",loop:"loop",lightDOM:"lightDOM"},{events:"events"},["*"]);class sv{constructor(){}ngOnInit(){}ngOnDestroy(){}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}var lv=Hn({encapsulation:0,styles:[["footer[_ngcontent-%COMP%]{width:100%;height:210px;bottom:0;margin:0 auto;border-top:1px solid #181818;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}"]],data:{}});function av(t){return Qr(0,[(t()(),Dr(0,0,null,null,29,"footer",[],null,[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{position:0}),(t()(),Dr(4,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(7,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(9,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(11,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,12).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(12,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(14,0,null,null,15,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(15,0,null,null,14,"p",[],null,
2null,null,null,null)),(t()(),Dr(16,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Gr(-1,null,["APOLLON MEDIA d.o.o."])),(t()(),Dr(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Dr(19,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Neznanog junaka 1, 11040 Beograd, Srbija"])),(t()(),Dr(21,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Gr(-1,null,[" Mati\u010dni broj: "])),(t()(),Dr(23,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Gr(-1,null,["21629090"])),(t()(),Gr(-1,null,[", PIB: "])),(t()(),Dr(26,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),Gr(-1,null,["112218689"])),(t()(),Dr(28,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Gr(-1,null,[" \xa9 2022 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){var n=t(e,3,0,e.component.position);t(e,2,0,n),t(e,12,0,"/contact-apollon")}),(function(t,e){t(e,11,0,Fi(e,12).target,Fi(e,12).href)}))}function cv(t,e,n,o){return i(n)&&(o=n,n=void 0),o?cv(t,e,n).pipe(H(t=>a(t)?o(...t):o(t))):new b(i=>{!function t(e,n,i,o,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,r),s=()=>t.removeEventListener(n,i,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,i),s=()=>t.off(n,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),s=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,l=e.length;s<l;s++)t(e[s],n,i,o,r)}o.add(s)}(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)})}class uv{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new hv(t,this.durationSelector))}}class hv extends B{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=V(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function dv(t){return!a(t)&&t-parseFloat(t)+1>=0}function gv(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function pv(t,e=Lm){return n=()=>function(t=0,e,n){let i=-1;return dv(e)?i=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=Lm),new b(e=>{const o=dv(t)?t:+t-n.now();return n.schedule(gv,o,{index:0,period:i,subscriber:e})})}(t,e),function(t){return t.lift(new uv(n))};var n}let mv=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new b(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(pv(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):pc()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Oc(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>cv(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(Xo),It(wm))},token:t,providedIn:"root"}),t})();class fv{}let _v=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Y(cv(window,"resize"),cv(window,"orientationchange")):pc(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();
2return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(pv(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.ngInjectableDef=gt({factory:function(){return new t(It(wm),It(Xo))},token:t,providedIn:"root"}),t})();function vv(){throw Error("Host already has a portal attached")}class yv{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&vv(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Cv extends yv{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class bv extends yv{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Pv{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&vv(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Cv?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof bv?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class xv extends Pv{constructor(t,e,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class Ov extends Pv{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new Co}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.
2injector);return super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}class Mv{}class wv{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}class kv{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Hm(-this._previousScrollPosition.left),t.style.top=Hm(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function Sv(){return Error("Scroll strategy has already been attached.")}class Ev{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw Sv();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Tv{enable(){}disable(){}attach(){}}function Av(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function Iv(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class Dv{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw Sv();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();Av(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Lv=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new Tv,this.close=t=>new Ev(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new kv(this._viewportRuler,this._document),this.reposition=t=>new Dv(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.ngInjectableDef=gt({factory:function(){return new t(It(mv),It(_v),It(Xo),It(lc))},token:t,providedIn:"root"}),t})();class Nv{constructor(t){if(this.scrollStrategy=new Tv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class Rv{constructor(t,e,n,i,o){this.offsetX=n,this.offsetY=i,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class jv{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function zv(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function Fv(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let Vv=(()=>
2{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(lc))},token:t,providedIn:"root"}),t})(),Bv=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return t.ngInjectableDef=gt({factory:function(){return new t(It(lc))},token:t,providedIn:"root"}),t})();class Hv{constructor(t,e,n,i,o,r,s,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=s,this._location=l,this._backdropElement=null,this._backdropClick=new k,this._attachments=new k,this._detachments=new k,this._locationChanges=d.EMPTY,this._backdropClickHandler=t=>
2this._backdropClick.next(t),this._keydownEventsObservable=new b(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new k,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Uc(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Hm(this._config.width),t.height=Hm(this._config.height),t.minWidth=Hm(this._config.minWidth),t.minHeight=Hm(this._config.minHeight),t.maxWidth=Hm(this._config.maxWidth),t.maxHeight=Hm(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Bm(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(zm(Y(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}
2class $v{constructor(t,e,n,i,o){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=d.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let o;for(let r of this._preferredPositions){let s=this._getOriginPoint(t,r),l=this._getOverlayPoint(s,e,r),a=this._getOverlayFit(l,e,n,r);if(a.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,s);this._canFitWithFlexibleDimensions(a,l,n)?i.push({position:r,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,r)}):(!o||o.overlayFit.visibleArea<a.visibleArea)&&(o={overlayFit:a,overlayPoint:l,originPoint:s,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Uv(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,o=this._isRtl()?t.left:t.right;n="start"==e.originX?i:o}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,o;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,e,n,i){let{x:o,y:r}
2=t,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(o+=s),l&&(r+=l);let a=0-r,c=r+e.height-n.height,u=this._subtractOverflows(e.width,0-o,o+e.width-n.width),h=this._subtractOverflows(e.height,a,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,o=n.right-e.x,r=this._overlayRef.getConfig().minHeight,s=this._overlayRef.getConfig().minWidth,l=t.fitsInViewportHorizontally||null!=s&&s<=o;return(t.fitsInViewportVertically||null!=r&&r<=i)&&l}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,o=Math.max(t.x+e.width-i.right,0),r=Math.max(t.y+e.height-i.bottom,0),s=Math.max(i.top-n.top-t.y,0),l=Math.max(i.left-n.left-t.x,0);let a=0,c=0;return a=e.width<=i.width?l||-o:t.x<this._viewportMargin?i.left-n.left-t.x:0,c=e.height<=i.height?s||-r:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:a,y:c},{x:t.x+a,y:t.y+c}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new jv(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let o,r,s,l,a,c;if("top"===e.overlayY)r=t.y,o=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)s=n.height-t.y+2*this._viewportMargin,o=n.height-s+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;o=2*e,r=t.y-e,o>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)a=t.x,l=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;l=2*e,a=t.x-e,l>i&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-i/2)}return{top:r,left:a,bottom:s,right:c,width:l,height:o}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Hm(n.height),i.top=Hm(n.top),i.bottom=Hm(n.bottom),i.width=Hm(n.width),i.left=Hm(n.left),i.right=Hm(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Hm(t)),o&&(i.maxWidth=Hm(o))}this._lastBoundingBoxSize=n,Uv(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Uv(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Uv(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const i=this._viewportRuler.getViewportScrollPosition();Uv(n,this._getExactOverlayY(e,t,i)),Uv(n,this._getExactOverlayX(e,t,i))}else n.position="static";let i="",o=this._getOffset(e,"x"),r=this._getOffset(e,"y");o&&(i+=`translateX(${o}px) `),r&&(i+=`translateY(${r}px)`),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Uv(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Hm(o.y),i}_getExactOverlayX(t,e,n){let i,o={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Hm(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Iv(t,n),isOriginOutsideView:Av(t,n),isOverlayClipped:Iv(e,n),isOverlayOutsideView:Av(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{Fv("originX",t.originX),zv("originY",t.originY),Fv("overlayX",t.overlayX),zv("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Bm(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
2h(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Je)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Uv(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class Wv{constructor(t,e,n,i,o,r,s){this._preferredPositions=[],this._positionStrategy=new $v(n,i,o,r,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const o=new Rv(t,e,n,i);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class qv{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Gv=(()=>
2{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new qv}connectedTo(t,e,n){return new Wv(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new $v(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(_v),It(lc),It(wm),It(Bv))},token:t,providedIn:"root"}),t})(),Kv=0;class Xv{constructor(t,e,n,i,o,r,s,l,a,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=o,this._injector=r,this._ngZone=s,this._document=l,this._directionality=a,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),o=new Nv(t);return o.direction=o.direction||this._directionality.value,new Hv(i,e,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Kv++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(gr)),new xv(t,this._componentFactoryResolver,this._appRef,this._injector)}}const Qv=new Mt("cdk-connected-overlay-scroll-strategy");function Zv(t){return()=>t.scrollStrategies.reposition()}class Yv{}class Jv{constructor(t,e,n,i,o,r){this.dialog=t,this.elementRef=e,this.breakPointObserver=n,this.dataStorageService=i,this.router=o,this.liveTvService=r,this.subscription=[],this.genres=[],this.width=395,this.limit=1,this.height=250,this.width_trending=395,this.height_trending=790,this.featured=[],this.featured_item_index=0,this.number_of_items=[],this.continue_watching=[],this.liveTvChannels=[],this.loader="https://miro.medium.com/max/441/1*9EBHIOzhE1XfMYoKz1JcsQ.gif",this.img="https://occ-0-1567-1123.1.nflxso.net/dnm/api/v5/rendition/412e4119fb212e3ca9f1add558e2e7fed42f8fb4/AAAABRvngexxF8H1-OzRWFSj6ddD-aB93tTBP9kMNz3cIVfuIfLEP1E_0saiNAwOtrM6xSOXvoiSCMsihWSkW0dq808-R7_lBnr6WHbjkKBX6I3sD0uCcS8kSPbRjEDdG8CeeVXEAEV6spQ.webp"}ngOnInit(){this.subscription.push(this.breakPointObserver.observe([Xm,Zm,Qm]).subscribe(t=>{t.breakpoints[Xm]?(this.limit=1,this.width=230,this.height=130,this.width_trending=230,this.height_trending=490):t.breakpoints[Zm]||t.breakpoints[Qm]?(this.limit=3,this.width=285,this.height=160,this.width_trending=285,this.height_trending=590):(this.limit=6,this.width=395,this.height=250,this.width_trending=395,this.height_trending=790)})),this.getGenres(),this.getHomepageFeatured(),this.getLiveTvChannels()}dispose(){this.subscription.forEach(t=>t.unsubscribe())}ngOnDestroy(){this.dispose(),clearInterval(this.interval)}LastPlayedTime(t){let e=localStorage.getItem("vod_"+t.id);if(!e)return 0;{t.seasons&&e&&(e=localStorage.getItem("vod_"+e));const n=e.split("#");if(n.length>1){let t=parseFloat(n[0]);const e=parseFloat(n[1]);return t<=30&&(t=0),t/e*100}}}getMyList(){this.subscription.push(this.dataStorageService.getMyList().subscribe(t=>{this.myList=t,this.myList.vods.forEach(t=>{t.lastPlayedTime=this.LastPlayedTime(t)})}))}getGenres(){this.subscription.push(this.dataStorageService.getGenres().subscribe(t=>{this.getMyList(),this.genres=t.filter(t=>t.has_movies||t.has_series),this.genres.forEach(t=>{this.dataStorageService.getMovieSeries(t.id,50,0).subscribe(e=>{t.movies=e,t.movies.vods.forEach(t=>{t.lastPlayedTime=this.LastPlayedTime(t)})})})}))}getHomepageFeatured(){this.subscription.push(this.dataStorageService.getHomepageMoviesSeries().subscribe(t=>{this.featured=t,this.number_of_items=Array.from(Array(this.featured.length).keys())})),this.SetFeaturedItem()}getLiveTvChannels(){this.subscription.push(this.liveTvService.getChannelList().subscribe(t=>{const e=t.filter(t=>t.channels&&t.channels.length>0);this.liveTvChannels=[];for(const n of e){if(this.liveTvChannels.length>=12)break;const t=n.channels.slice(0,4);this.liveTvChannels=this.liveTvChannels.concat(t)}this.liveTvChannels.length>12&&(this.liveTvChannels=this.liveTvChannels.slice(0,12))}))}
2playChannel(t){this.router.navigate(["/player",0],{queryParams:{cid:t.id,channelName:t.name,is_360:t.is_360}})}SetFeaturedItem(){this.interval=setInterval(()=>{this.featured_item_index<this.featured.length-1?this.featured_item_index++:this.featured_item_index=0},2e4)}SetActiveBackground(t){this.featured_item_index=t,clearInterval(this.interval),this.SetFeaturedItem()}OpenDialogMovieOverview(t,e){let n;e?(e.movies.vods=e.movies.vods.slice(0,Math.min(7,t.length)),n={movieSeries:t,movies:e}):n={movieSeries:t,category_id:t.vod_genre_ids[0]},this.dialog.open(ty,{data:n,scrollStrategy:new Tv,height:"95vh",backdropClass:"backdropBackground",panelClass:"movie-modal"})}StopShowingDialog(){clearTimeout(this.timeout_container)}ShowMovieDialog(t,e,n){this.timeout_container=setTimeout(()=>{const i=document.querySelector(t);if(!i||230===this.width)return;const o=i.getBoundingClientRect(),r=document.body.getBoundingClientRect(),s=o.top-r.top,l=o.left-r.left;let a="center";if(o.left-r.left<this.width?a="bottom left":r.right-o.right<this.width&&(a="bottom right"),r.right-o.right<0)return;let c="",u=0,h=1,d=localStorage.getItem("vod_"+e.id);if(e.seasons&&d&&(d=localStorage.getItem("vod_"+d)),d){const t=d.split("#");t.length>1&&(u=parseFloat(t[0]),h=parseFloat(t[1]),u<=30&&(u=0))}const g=u/h*100;c=g>0?`<div id="progressbar" > <div style="width:${g+"%"}";></div></div>`:"";let p,m,f,_,v=localStorage.getItem("like_id_"+e.id);"1"===v?(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'):"0"===v?(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> </div>'):(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'),this.subscription.push(this.dataStorageService.getSingleMovieSeries(e.id).subscribe(t=>{_=t,_.inMyList?f='<div class="actions tooltip"><img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span> </div>':_.inMyList||(f='<div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span> </div>');const i=`<div style="top:${s+"px"}; left: ${l+"px"}; width: ${o.width+"px"}; transform-origin: ${a} " class="item-show">\n <a>\n <img class="movie-image"\n src="${e.seasons?e.thumb_landscape_poster2_url.replace("http://","https://"):e.thumb_landscape_poster_url.replace("http://","https://")}"\n alt="Describe Image">\n\n <div class="movie-info">\n\n ${c}\n\n <div class="play-and-action">\n <div class="play-button play-video">\n <img class="icon" src="../../assets/images/dunkrik/play.svg">\n <div class="text">PLAY</div>\n </div>\n\x3c!-- <div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span></div>--\x3e\n ${f}\n ${p}\n ${m}\n <div id="more-info" class="actions tooltip"><img src="../../assets/images/actions/arrow.svg"><span class="tooltiptext">Vi\u0161e informacija</span></div>\n </div>\n <div class="movie-heading">\n ${e.title}\n </div>\n <div class="movie-descritpion">\n ${e.year} | Imdb: ${e.imdb_rating} | Likes: ${_?_.likesPerc+"%":""} | ${e.seasons_count?e.seasons_count+" sezona":function(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}(e.length)}\n\n </div>\n </div>\n </a>\n </div>`;document.body.insertAdjacentHTML("beforeend",i);const r=this,u=this,h=this,d=this,g=function(){r.PlayerPlay(e)};document.getElementsByClassName("play-video")[0].addEventListener("click",(function(){g()})),document.getElementsByClassName("movie-image")[0].addEventListener("click",(function(){g()})),document.getElementById("more-info").addEventListener("click",(function(){h.HideMovieDialog(1),u.OpenDialogMovieOverview(e,e.seasons?null:n)})),document.getElementsByClassName("actions")[0].addEventListener("click",(function(){_.inMyList?(_.inMyList=!1,d.subscription.push(d.dataStorageService.deleteFromMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span>'):_.inMyList||(_.inMyList=!0,d.subscription.push(d.dataStorageService.addToMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span>')})),document.getElementsByClassName("actions")[1].addEventListener("click",(function(){"0"!==v&&v?"1"===v&&(d.subscription.push(d.dataStorageService.deleteLike(e.id).subscribe(t=>{v=null,localStorage.removeItem("like_id_"+e.id),d.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>'):(d.subscription.push(d.dataStorageService.addLike(e.id).subscribe(t=>{v="1",d.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>')})),document.getElementsByClassName("actions")[2].addEventListener("click",(function(){"1"!==v&&v?"0"===v&&(d.subscription.push(d.dataStorageService.deleteDislike(e.id).subscribe(t=>{v=null,localStorage.removeItem("like_id_"+e.id),d.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>'):(d.subscription.push(d.dataStorageService.addDislike(e.id).subscribe(t=>{v="0",d.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>')}))}
2))},500)}PlayerPlay(t,e){if(230!==this.width){if(t.seasons){const e=localStorage.getItem("vod_"+t.id);e?this.router.navigate(["player/"+t.id],{queryParams:{episode_id:e}}):t.seasons.length>0&&t.seasons[0].episodes.length>0&&this.router.navigate(["player/"+t.id],{queryParams:{episode_id:t.seasons[0].episodes[0].id}})}else this.router.navigate(["player/"+t.id]);this.HideMovieDialog(0)}else this.OpenDialogMovieOverview(t,e)}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}class ty{constructor(t,e,n,i,o){this.renderer=t,this.dialogRef=e,this.data=n,this.router=i,this.dataStorageService=o,this.subscription=[],this.similarMovies=[],t.setStyle(document.body,"overflow-y","hidden")}getSimilarMovies(t){this.subscription.push(this.dataStorageService.getMovieSeries(t,7,0).subscribe(t=>{this.similarMovies=t.vods,this.similarMovies=this.similarMovies.filter(t=>t.id!==this.data.movieSeries.id),this.similarMovies.length>6&&(this.similarMovies=this.similarMovies.slice(0,6))}))}ngOnInit(){this.data.category_id?this.getSimilarMovies(this.data.category_id):this.data.movies&&!this.data.movieSeries.seasons&&(this.similarMovies=this.data.movies.movies.vods,this.similarMovies=this.similarMovies.filter(t=>t.id!=this.data.movieSeries.id),this.similarMovies.length>6&&(this.similarMovies=this.similarMovies.slice(0,6))),this.episodes=this.data.movieSeries.seasons,this.season=this.data.movieSeries.seasons?this.data.movieSeries.seasons[0].season_number:1,this.seasonCount=Array.from(Array(this.data.movieSeries.seasons_count).keys()),this.item_liked=localStorage.getItem("like_id_"+this.data.movieSeries.id),this.subscription.push(this.dataStorageService.getSingleMovieSeries(this.data.movieSeries.id).subscribe(t=>{this.in_my_list=t.inMyList,this.likes_percentage=t.likesPerc}))}dispose(){this.subscription.forEach(t=>t.unsubscribe())}ngOnDestroy(){this.dispose(),this.renderer.setStyle(document.body,"overflow-y","visible")}getEpisodes(t){this.episodes=this.data.movieSeries.seasons.filter(e=>e.season_number==t)}AddLike(){this.subscription.push(this.dataStorageService.addLike(this.data.movieSeries.id).subscribe(t=>{this.item_liked="1",localStorage.removeItem("like_id_"+this.data.movieSeries.id),this.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})}))}RemoveLike(){this.subscription.push(this.dataStorageService.deleteLike(this.data.movieSeries.id).subscribe(t=>{this.item_liked=null,localStorage.removeItem("like_id_"+this.data.movieSeries.id),this.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})}))}AddDislike(){this.subscription.push(this.dataStorageService.addDislike(this.data.movieSeries.id).subscribe(t=>{this.item_liked="0",this.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})}))}RemoveDislike(){this.subscription.push(this.dataStorageService.deleteDislike(this.data.movieSeries.id).subscribe(t=>{this.item_liked=null,localStorage.removeItem("like_id_"+this.data.movieSeries.id),this.dataStorageService.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})}))}AddToMyList(){this.in_my_list=!0,this.subscription.push(this.dataStorageService.addToMyList(this.data.movieSeries.id).subscribe())}RemoveFromyMyList(){this.in_my_list=!1,this.subscription.push(this.dataStorageService.deleteFromMyList(this.data.movieSeries.id).subscribe())}PlayerPlay(t){if(t.seasons){const e=localStorage.getItem("vod_"+t.id);e?this.router.navigate(["player/"+t.id],{queryParams:{episode_id:e}}):t.seasons.length>0&&t.seasons[0].episodes.length>0&&this.router.navigate(["player/"+t.id],{queryParams:{episode_id:t.seasons[0].episodes[0].id}})}else this.router.navigate(["player/"+t.id]);this.dialogRef.close()}PlayerPlayMovieSeries(t,e){e?this.router.navigate(["player/"+t],{queryParams:{episode_id:e}}):this.router.navigate(["player/"+t]),this.dialogRef.close()}time_convert(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}onNoClick(){this.dialogRef.close()}}class ey{}function ny(t,e=null){return{type:2,steps:t,options:e}}function iy(t){return{type:6,styles:t,offset:null}}function oy(t){Promise.resolve(null).then(t)}class ry{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){oy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class sy{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const o=this.players.length;0==o?oy(()=>
2this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==o&&this._onFinish()}),t.onDestroy(()=>{++n==o&&this._onDestroy()}),t.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const ly=new Mt("cdk-dir-doc",{providedIn:"root",factory:function(){return Dt(lc)}});let ay=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Co,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.ngInjectableDef=gt({factory:function(){return new t(It(ly,8))},token:t,providedIn:"root"}),t})();class cy{}class uy{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}function hy(){throw Error("Attempting to attach dialog content after content is already attached")}class dy extends Pv{constructor(t,e,n,i,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=i,this._config=o,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new Co,this._ariaLabelledBy=o.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&hy(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&hy(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}let gy=0;class py{constructor(t,e,n,i="mat-dialog-"+gy++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new k,this._afterClosed=new k,this._beforeClosed=new k,this._state=0,e._id=i,e._animationStateChanged.pipe(Oc(t=>
2"done"===t.phaseName&&"enter"===t.toState),Uc(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Oc(t=>"done"===t.phaseName&&"exit"===t.toState),Uc(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Oc(t=>27===t.keyCode&&!this.disableClose&&!function(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Oc(t=>"start"===t.phaseName),Uc(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const my=new Mt("MatDialogData"),fy=new Mt("mat-dialog-default-options"),_y=new Mt("mat-dialog-scroll-strategy");function vy(t){return()=>t.scrollStrategies.block()}class yy{constructor(t,e,n,i,o,r,s){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=Pc(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(tu(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new uy)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),o=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(()=>this._removeOpenDialog(o)),this.afterOpened.next(o),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new Nv({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new wv(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[uy,e]])),i=new Cv(dy,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new py(n,e,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(()=>{o.disableClose||o.close()}),t instanceof On)e.attachTemplatePortal(new bv(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new Cv(t,void 0,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,o=new WeakMap([[dy,n],[my,t.data],[py,e]]);return!t.direction||i&&i.get(ay,null)||o.set(ay,{value:t.direction,change:pc()}),new wv(i||this._injector,o)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
2h((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}class Cy{}let by=(()=>{class t{constructor(t){this.http=t,this.baseUrl="https://apollon.ott.solutions",this.epgUrl="https://epg-apollon.ott.solutions:8443",this.httpOptions={headers:new lf({Accept:"application/json"})}}getChannelList(){return this.http.get(this.baseUrl+"/channels/get_channel_list_v2/tv.json?lang=rs&s=1&type=mobile&single=1&sid_name=token",this.httpOptions).pipe(H(t=>t.filter(t=>!t.adult)))}getChannelUrl(t,e){let n=`${this.baseUrl}/channels/get_url?cid=${t}&request_type=json&sid_name=token`;return void 0!==e&&(n+="&delay="+e),this.http.get(n,this.httpOptions)}getEPG(t,e,n){return this.http.get(`${this.epgUrl}/channels/get_epg/${t}/${e}/${n}`,this.httpOptions).pipe(H(e=>e&&e[t]&&e[t].programme?e[t].programme:Array.isArray(e)?e:e&&e.programs?e.programs:e&&e.epg?e.epg:[]),Bc(t=>(console.error("Error fetching EPG:",t),pc([]))))}formatDateForEPG(t){return`${t.getFullYear()}${String(t.getMonth()+1).padStart(2,"0")}${String(t.getDate()).padStart(2,"0")}${String(t.getHours()).padStart(2,"0")}${String(t.getMinutes()).padStart(2,"0")}${String(t.getSeconds()).padStart(2,"0")}`}formatEPGDateForDisplay(t){return!t||t.length<8?"":`${t.substring(0,2)}.${t.substring(3,5)}.${t.substring(6,10)}`}}return t.ngInjectableDef=gt({factory:function(){return new t(It(bf))},token:t,providedIn:"root"}),t})();var Py=Hn({encapsulation:0,styles:[["#home-page[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-position:center center;background-origin:padding-box;background-size:cover;box-shadow:inset 0 0 0 1000px rgba(0,0,0,.49);height:100%;width:100%;z-index:-100}#home-page[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:100px}#home-page[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{display:none}#home-page[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{height:15px;margin:0 2px;cursor:pointer;width:15px;border-radius:50%;display:inline-block;padding:0}#home-page[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background:red;display:inline-block;padding:0}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:auto;margin-left:5%;margin-bottom:auto}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:38px;max-width:580px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff;margin-bottom:24px}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .about[_ngcontent-%COMP%]{text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:24px;max-width:580px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff;margin-bottom:24px}@media screen and (max-width:1800px){#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .about[_ngcontent-%COMP%]{margin-bottom:24px;font-size:17px}}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:32px;max-width:700px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1800px){#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:22px}}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:17.5px}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%]{display:flex;justify-content:center;cursor:pointer;align-items:center;margin-right:10px;width:110px;height:40px;padding:9px 17px 8px 14.5px;border-radius:30px;box-shadow:0 1px 5px 0 rgba(0,0,0,.21);background-color:#ac0204}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:18px;height:22px;-o-object-fit:contain;object-fit:contain;margin:0 10px 1.5px 0}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{width:46px;height:23px;margin:.5px 0 0 10px;font-family:AvenirNext;font-size:18px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#fff}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%]{display:flex;justify-content:center;cursor:pointer;align-items:center;width:220px;height:40px;font-family:AvenirNext;padding:8px 16px 8px 15.5px;border-radius:30px;box-shadow:0 1px 5px 0 rgba(0,0,0,.21);border:.5px solid rgba(255,255,255,.25);background-color:rgba(0,0,0,.25)}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:11px;height:24px;margin:0 20px 4px 0;-o-object-fit:contain;object-fit:contain}#home-page[_ngcontent-%COMP%] .home-page-descripton[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:18px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.my-list-background[_ngcontent-%COMP%]{margin-top:43px;background-color:#373737}.genre-section[_ngcontent-%COMP%]{display:flex;position:relative;flex-direction:column;overflow:hidden;margin-left:2%}.genre-section.popular[_ngcontent-%COMP%]{margin-top:-6vh}.genre-section.action-movies[_ngcontent-%COMP%]{margin-top:47px}.genre-section.family-movies[_ngcontent-%COMP%]{margin-top:0;margin-bottom:42px}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%]{height:22px;
2cursor:pointer;margin:0 10px 13px 0;font-family:AvenirNext;font-size:32px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{display:inline;opacity:0;transition:.5s;font-size:18px;color:#fff;font-weight:800}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%]:hover .show-more[_ngcontent-%COMP%]{opacity:1}.genre-section[_ngcontent-%COMP%] .genre-title.my-list-title[_ngcontent-%COMP%]{margin-top:21.5px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%]{z-index:1;margin-bottom:20px;margin-top:20px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-radius:7.5px!important;height:auto;z-index:5}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;display:block;border-radius:7.5px!important}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%]{bottom:0;z-index:100;width:100%;position:absolute;background-color:#ccc;height:5px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#ac0204;height:5px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item.channel-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;
2cursor:pointer;background-color:#1a1a1a}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item.channel-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;display:block;-o-object-fit:contain;object-fit:contain;padding:15px;box-sizing:border-box}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item.channel-item[_ngcontent-%COMP%] .channel-name[_ngcontent-%COMP%]{margin-top:8px;padding:0 8px 8px;font-family:AvenirNext;font-size:14px;font-weight:600;color:#fff;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]],data:{animation:[{type:7,name:"opacity-animate",definitions:[{type:1,expr:"* <=> *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:2e3}],options:null}],options:{}}]}});function xy(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","about"]],null,null,null,null,null)),(t()(),Gr(1,null,["",""]))],null,(function(t,e){var n=e.component;t(e,1,0,n.featured[n.featured_item_index].description)}))}function Oy(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),Dr(1,0,null,null,0,"input",[["name","group"],["type","radio"]],[[8,"id",0]],null,null,null,null)),(t()(),Dr(2,0,null,null,4,"label",[],[[8,"htmlFor",0]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.SetActiveBackground(t.context.$implicit)&&i),i}),null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(4,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(5,{"background-color":0}),Wr(6,{"background-color":0})],(function(t,e){var n=e.component.featured_item_index==e.context.$implicit?t(e,5,0,"#ac0204"):t(e,6,0,"#DDDDDD");t(e,4,0,n)}),(function(t,e){t(e,1,0,mi(1,"",e.context.$implicit,"")),t(e,2,0,mi(1,"",e.context.$implicit,""))}))}function My(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","image-slider"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,Oy)),Yi(2,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.number_of_items)}),null)}function wy(t){return Qr(0,[(t()(),Dr(0,0,null,null,21,"div",[["id","home-page"]],null,[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{"background-image":0}),(t()(),Dr(4,0,null,null,1,"app-navigation",[],null,null,null,g_,u_)),Yi(5,245760,null,0,c_,[zf,kg,_d],null,null),(t()(),Dr(6,0,null,null,13,"div",[["class","home-page-descripton"]],[[24,"@opacity-animate",0]],null,null,null,null)),(t()(),Dr(7,0,null,null,1,"div",[["class","title"]],null,null,null,null,null)),(t()(),Gr(8,null,["",""])),(t()(),Ir(16777216,null,null,1,null,xy)),Yi(10,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(11,0,null,null,8,"div",[["class","buttons"]],null,null,null,null,null)),(t()(),Dr(12,0,null,null,3,"div",[["class","play-button"]],null,[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==o.PlayerPlay(o.featured[o.featured_item_index])&&i),i}),null,null)),(t()(),Dr(13,0,null,null,0,"img",[["class","icon"],["src","../../assets/images/dunkrik/play.svg"]],null,null,null,null,null)),(t()(),Dr(14,0,null,null,1,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PLAY"])),(t()(),Dr(16,0,null,null,3,"div",[["class","info-button"]],null,[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==o.OpenDialogMovieOverview(o.featured[o.featured_item_index])&&i),"mouseenter"===e&&(i=!1!==o.HideMovieDialog(100)&&i),i}),null,null)),(t()(),Dr(17,0,null,null,0,"img",[["class","icon"],["src","../../assets/images/dunkrik/info.svg"]],null,null,null,null,null)),(t()(),Dr(18,0,null,null,1,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["JO\u0160 INFORMACIJA"])),(t()(),Ir(16777216,null,null,1,null,My)),Yi(21,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,"url("+n.featured[n.featured_item_index].landscape_poster2_url.replace("http://","https://")+")");t(e,2,0,i),t(e,5,0),t(e,10,0,n.featured.length),t(e,21,0,n.number_of_items.length)}),(function(t,e){var n=e.component;t(e,6,0,void 0),t(e,8,0,n.featured[n.featured_item_index].title)}))}function ky(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[["class","channel-item"]],null,[[null,"click"]],(function(t,e,n){var i=!0;
2return"click"===e&&(i=!1!==t.component.playChannel(t.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],[[8,"alt",0]],null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Dr(5,0,null,null,1,"div",[["class","channel-name"]],null,null,null,null,null)),(t()(),Gr(6,null,["",""]))],(function(t,e){t(e,2,0,"channel-item","carousel-cell item item-hover-channel-"+e.context.index+"-"+e.context.$implicit.id),t(e,4,0,(e.context.$implicit.logo1||e.context.$implicit.logo2||"").replace("http://","https://"),"../../assets/images/apollon_logo/Apollon-loading.png")}),(function(t,e){t(e,3,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.name)}))}function Sy(t){return Qr(0,[(t()(),Dr(0,0,null,null,9,"div",[["class","genre-section"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{"margin-top":0}),(t()(),Dr(4,0,null,null,1,"div",[["class","genre-title"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" TV KANALI "])),(t()(),Dr(6,0,null,null,3,"carousel",[["arrowsTheme","dark"]],[[2,"carousel",null],[4,"height",null],[4,"width",null]],[[null,"mouseenter"],["window","resize"],[null,"mousemove"],[null,"mouseleave"]],(function(t,e,n){var i=!0,o=t.component;return"window:resize"===e&&(i=!1!==Fi(t,7).onWindowResize(n)&&i),"mousemove"===e&&(i=!1!==Fi(t,7).onMousemove(n)&&i),"mouseleave"===e&&(i=!1!==Fi(t,7).onMouseleave(n)&&i),"mouseenter"===e&&(i=!1!==o.HideMovieDialog(350)&&i),i}),iv,X_)),Yi(7,4964352,null,0,G_,[Je,Pe],{height:[0,"height"],margin:[1,"margin"],overflowCellsLimit:[2,"overflowCellsLimit"],cellsToScroll:[3,"cellsToScroll"],arrowsTheme:[4,"arrowsTheme"],cellWidth:[5,"cellWidth"]},null),(t()(),Ir(16777216,null,0,1,null,ky)),Yi(9,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,"40px");t(e,2,0,i),t(e,7,0,n.height,5,n.limit,n.limit,"dark",n.width),t(e,9,0,n.liveTvChannels)}),(function(t,e){t(e,6,0,Fi(e,7).hostClassCarousel,Fi(e,7).hostStyleHeight,Fi(e,7).hostStyleWidth)}))}function Ey(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","progressbar"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(3,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(4,{width:0})],(function(t,e){var n=t(e,4,0,e.parent.context.$implicit.lastPlayedTime+"%");t(e,3,0,n)}),null)}function Ty(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,[[null,"mouseenter"],[null,"mouseout"],[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"mouseenter"===e&&(i=!1!==o.ShowMovieDialog(".item-hover-"+t.context.index+"-"+t.context.$implicit.id,t.context.$implicit,null)&&i),"mouseout"===e&&(i=!1!==o.StopShowingDialog()&&i),"click"===e&&(i=!1!==o.PlayerPlay(t.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{ngClass:[0,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],null,null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Ir(16777216,null,null,1,null,Ey)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"carousel-cell item item-hover-"+e.context.index+"-"+e.context.$implicit.id);var n=e.context.$implicit.seasons?e.context.$implicit.thumb_landscape_poster2_url.replace("http://","https://"):e.context.$implicit.thumb_landscape_poster_url.replace("http://","https://");t(e,4,0,n,"../../assets/images/apollon_logo/Apollon-loading.png"),t(e,6,0,e.context.$implicit.lastPlayedTime>0)}),null)}function Ay(t){return Qr(0,[(t()(),Dr(0,0,null,null,9,"div",[["class","genre-section"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{"margin-top":0}),(t()(),Dr(4,0,null,null,1,"div",[["class","genre-title"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" MOJA LISTA "])),(t()(),Dr(6,0,null,null,3,"carousel",[["arrowsTheme","dark"]],[[2,"carousel",null],[4,"height",null],[4,"width",null]],[[null,"mouseenter"],["window","resize"],[null,"mousemove"],[null,"mouseleave"]],(function(t,e,n){var i=!0,o=t.component;return"window:resize"===e&&(i=!1!==Fi(t,7).onWindowResize(n)&&i),"mousemove"===e&&(i=!1!==Fi(t,7).onMousemove(n)&&i),"mouseleave"===e&&(i=!1!==Fi(t,7).onMouseleave(n)&&i),"mouseenter"
2===e&&(i=!1!==o.HideMovieDialog(350)&&i),i}),iv,X_)),Yi(7,4964352,null,0,G_,[Je,Pe],{height:[0,"height"],margin:[1,"margin"],overflowCellsLimit:[2,"overflowCellsLimit"],cellsToScroll:[3,"cellsToScroll"],arrowsTheme:[4,"arrowsTheme"],cellWidth:[5,"cellWidth"]},null),(t()(),Ir(16777216,null,0,1,null,Ty)),Yi(9,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,n.liveTvChannels.length>0?"0%":"-3%");t(e,2,0,i),t(e,7,0,n.height,5,n.limit,n.limit,"dark",n.width),t(e,9,0,n.myList.vods)}),(function(t,e){t(e,6,0,Fi(e,7).hostClassCarousel,Fi(e,7).hostStyleHeight,Fi(e,7).hostStyleWidth)}))}function Iy(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","progressbar"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(3,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(4,{width:0})],(function(t,e){var n=t(e,4,0,e.parent.context.$implicit.lastPlayedTime+"%");t(e,3,0,n)}),null)}function Dy(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,[[null,"mouseenter"],[null,"mouseout"],[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"mouseenter"===e&&(i=!1!==o.ShowMovieDialog(".item-hover-"+t.context.index+"-"+t.parent.parent.context.$implicit.id,t.context.$implicit,t.parent.parent.context.$implicit)&&i),"mouseout"===e&&(i=!1!==o.StopShowingDialog()&&i),"click"===e&&(i=!1!==o.PlayerPlay(t.context.$implicit,t.parent.parent.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{ngClass:[0,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],null,null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Ir(16777216,null,null,1,null,Iy)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"carousel-cell item item-hover-"+e.context.index+"-"+e.parent.parent.context.$implicit.id);var n=e.context.$implicit.seasons?e.context.$implicit.thumb_landscape_poster2_url.replace("http://","https://"):e.context.$implicit.thumb_landscape_poster_url.replace("http://","https://");t(e,4,0,n,"../../assets/images/apollon_logo/Apollon-loading.png"),t(e,6,0,e.context.$implicit.lastPlayedTime>0)}),null)}function Ly(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"carousel",[["arrowsTheme","dark"]],[[2,"carousel",null],[4,"height",null],[4,"width",null]],[[null,"mouseenter"],["window","resize"],[null,"mousemove"],[null,"mouseleave"]],(function(t,e,n){var i=!0,o=t.component;return"window:resize"===e&&(i=!1!==Fi(t,1).onWindowResize(n)&&i),"mousemove"===e&&(i=!1!==Fi(t,1).onMousemove(n)&&i),"mouseleave"===e&&(i=!1!==Fi(t,1).onMouseleave(n)&&i),"mouseenter"===e&&(i=!1!==o.HideMovieDialog(350)&&i),i}),iv,X_)),Yi(1,4964352,null,0,G_,[Je,Pe],{height:[0,"height"],margin:[1,"margin"],overflowCellsLimit:[2,"overflowCellsLimit"],cellsToScroll:[3,"cellsToScroll"],arrowsTheme:[4,"arrowsTheme"],cellWidth:[5,"cellWidth"]},null),(t()(),Ir(16777216,null,0,1,null,Dy)),Yi(3,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.height,5,n.limit,n.limit,"dark",n.width),t(e,3,0,e.parent.context.$implicit.movies.vods.length?e.parent.context.$implicit.movies.vods:null)}),(function(t,e){t(e,0,0,Fi(e,1).hostClassCarousel,Fi(e,1).hostStyleHeight,Fi(e,1).hostStyleWidth)}))}function Ny(t){return Qr(0,[(t()(),Dr(0,0,null,null,10,"div",[["class","genre-section"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{"margin-top":0}),(t()(),Dr(4,0,null,null,4,"div",[["class","genre-title"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,5).onClick()&&i),i}),null,null)),Yi(5,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(6,null,[" "," "])),(t()(),Dr(7,0,null,null,1,"div",[["class","show-more"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PRIKA\u017dI JO\u0160 >"])),(t()(),Ir(16777216,null,null,1,null,Ly)),Yi(10,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,0===e.context.
2index&&n.myList&&0===n.myList.total&&0===n.continue_watching.length&&0===n.liveTvChannels.length?"-3%":"0%");t(e,2,0,i),t(e,5,0,mi(1,"/categories/",e.context.$implicit.id,"")),t(e,10,0,e.context.$implicit.movies&&e.context.$implicit.movies.vods.length)}),(function(t,e){var n=e.context.$implicit.name.toUpperCase();t(e,6,0,n)}))}function Ry(t){return Qr(0,[(t()(),Ir(16777216,null,null,1,null,wy)),Yi(1,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Sy)),Yi(3,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Ay)),Yi(5,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Ny)),Yi(7,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Dr(8,0,null,null,1,"app-footer",[],null,null,null,av,lv)),Yi(9,245760,null,0,sv,[],null,null)],(function(t,e){var n=e.component;t(e,1,0,n.featured.length),t(e,3,0,n.liveTvChannels.length>0),t(e,5,0,n.myList&&n.myList.total>0),t(e,7,0,n.genres),t(e,9,0)}),null)}function jy(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-homepage",[],null,null,null,Ry,Py)),Yi(1,245760,null,0,Jv,[yy,Je,Gm,jf,kg,by],null,null)],(function(t,e){t(e,1,0)}),null)}var zy=Si("app-homepage",Jv,jy,{},{},[]),Fy=Hn({encapsulation:0,styles:[[".modal-image-background[_ngcontent-%COMP%]{background-color:#000;background-repeat:no-repeat;background-size:100%;width:1001px;height:562px;z-index:-1}.modal-image-background[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:relative;cursor:pointer;float:right;width:28px;height:28px;margin-top:12.5px;margin-right:12.5px;border:.5px solid rgba(255,255,255,.2);border-radius:60%;box-shadow:0 1px 5px 5px rgba(0,0,0,.1);background-color:#222}.modal-image-background[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{width:14px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center}.movie-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 100%;padding-bottom:5px;border-bottom-left-radius:7.5px;border-bottom-right-radius:7.5px;background-color:#222}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:15.8px;margin-left:30px}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .item-liked-disliked[_ngcontent-%COMP%]{display:flex}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%]{display:flex;width:87px;height:30px;justify-content:center;cursor:pointer;align-items:center;padding:9px 17px 8px 16.5px;border-radius:30px;box-shadow:0 1px 5px 0 rgba(0,0,0,.21);background-color:#ac0204}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:16px;height:18px;margin:0 10px 1.5px 0}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .play-button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-family:AvenirNext;font-size:14px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#fff}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{position:relative;width:40px;height:40px;margin-left:10px;border:.5px solid #fff;border-radius:30px;text-align:center;cursor:pointer;background-color:rgba(0,0,0,.25)}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]:hover .tooltiptext[_ngcontent-%COMP%]{visibility:visible}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;bottom:120%;left:50%;width:120px;margin-left:-60px;position:absolute;background-color:rgba(59,59,59,.84);color:#fff;text-align:center;border-radius:6px;padding:5px 0}.movie-info[_ngcontent-%COMP%] .play-and-action[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:14px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center}.movie-info[_ngcontent-%COMP%] .movie-heading[_ngcontent-%COMP%]{margin-top:11px;margin-left:30px;font-family:AvenirNext;font-size:35px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1150px){.modal-image-background[_ngcontent-%COMP%]{width:615px;height:346px}.movie-info[_ngcontent-%COMP%] .movie-heading[_ngcontent-%COMP%]{font-size:28px}}.movie-info[_ngcontent-%COMP%] .movie-descritpion[_ngcontent-%COMP%]{margin-top:2px;margin-left:30px;width:373px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;
2color:#777;font-size:17px}.movie-info[_ngcontent-%COMP%] .movie-information[_ngcontent-%COMP%]{width:960.5px;margin-top:10px;margin-left:30px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1150px){.movie-info[_ngcontent-%COMP%] .movie-information[_ngcontent-%COMP%]{width:560px;font-size:15px}}.movie-info[_ngcontent-%COMP%] .movie-roles[_ngcontent-%COMP%]{width:960.5px;margin-left:30px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1150px){.movie-info[_ngcontent-%COMP%] .movie-roles[_ngcontent-%COMP%]{width:560px;font-size:15px}}.movie-info[_ngcontent-%COMP%] .movie-roles[_ngcontent-%COMP%] .role-name[_ngcontent-%COMP%]{color:#777}.movie-info[_ngcontent-%COMP%] .movie-roles[_ngcontent-%COMP%] .role-name[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:inline;color:#fff}.more-like-this[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.more-like-this[_ngcontent-%COMP%] .episodes-picker[_ngcontent-%COMP%]{display:flex;width:100%;align-self:baseline}.more-like-this[_ngcontent-%COMP%] .seasons[_ngcontent-%COMP%]{background-color:#111;cursor:pointer;font-size:18px;height:45px;border-radius:7.5px!important;padding:.5em 1em;color:#fff;outline:0;margin-left:auto;margin-top:26.5px;margin-right:28px}@media screen and (max-width:1150px){.more-like-this[_ngcontent-%COMP%] .seasons[_ngcontent-%COMP%]{font-size:15px}}.more-like-this[_ngcontent-%COMP%] .more-like-this-heading[_ngcontent-%COMP%]{height:13.5px;padding:5px;margin:26.5px 13.5px 24.5px 28px;font-family:AvenirNext;font-size:28px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%]{display:flex;width:990px;flex-wrap:wrap}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%]{margin:5px;position:relative;cursor:pointer;border-radius:7.5px;background-color:#2e2e2e}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .play-icon-layer[_ngcontent-%COMP%]{position:relative}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .play-icon-layer[_ngcontent-%COMP%]:hover .play-icon[_ngcontent-%COMP%]{display:block}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .play-icon-layer[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:320px;height:180px;border-top-left-radius:7.5px;border-top-right-radius:7.5px}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .play-icon-layer[_ngcontent-%COMP%] .play-icon[_ngcontent-%COMP%]{display:none;position:absolute;font-size:43px;color:#fff;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-heading-like-this[_ngcontent-%COMP%]{width:300px;margin-top:6px;margin-left:6px;font-family:AvenirNext;font-size:22px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1150px){.more-like-this[_ngcontent-%COMP%] .more-like-this-heading[_ngcontent-%COMP%]{font-size:21px}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%]{width:580px}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .play-icon-layer[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:180px;height:101px}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-heading-like-this[_ngcontent-%COMP%]{width:160px;font-size:18px}}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-descritpion-like-this[_ngcontent-%COMP%]{width:300px;margin-left:6px;margin-top:6px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:20px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;
2color:#777}@media screen and (max-width:1150px){.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-descritpion-like-this[_ngcontent-%COMP%]{width:170px;font-size:16px}}.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-information-like-this[_ngcontent-%COMP%]{width:300px;margin-left:6px;margin-top:6px;padding-bottom:6px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}@media screen and (max-width:1150px){.more-like-this[_ngcontent-%COMP%] .more-movies[_ngcontent-%COMP%] .movie[_ngcontent-%COMP%] .movie-information-like-this[_ngcontent-%COMP%]{width:170px;font-size:15px}}.more-like-this[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{display:flex;align-self:center;cursor:pointer;margin-top:5px;margin-bottom:5px;justify-content:center;align-items:center;width:30px;height:30px;padding:13.1px 10.8px 11.6px 10.5px;border:.5px solid #fff;border-radius:50%;background-color:rgba(0,0,0,.25)}"]],data:{}});function Vy(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.AddToMyList()&&i),i}),null,null)),(t()(),Dr(1,0,null,null,0,"img",[["src","../../../assets/images/actions/plus.svg"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Dodaj"]))],null,null)}function By(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.RemoveFromyMyList()&&i),i}),null,null)),(t()(),Dr(1,0,null,null,0,"img",[["src","../../../assets/images/actions/x.svg"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Izbri\u0161i"]))],null,null)}function Hy(t){return Qr(0,[(t()(),Dr(0,0,null,null,8,"div",[["class","item-liked-disliked"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.AddLike()&&i),i}),null,null)),(t()(),Dr(2,0,null,null,0,"img",[["src","../../../assets/images/actions/like-1.svg"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Svi\u0111a mi se"])),(t()(),Dr(5,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.AddDislike()&&i),i}),null,null)),(t()(),Dr(6,0,null,null,0,"img",[["src","../../../assets/images/actions/dislike.svg"]],null,null,null,null,null)),(t()(),Dr(7,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Ne svi\u0111a mi se"]))],null,null)}function $y(t){return Qr(0,[(t()(),Dr(0,0,null,null,8,"div",[["class","item-liked-disliked"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.RemoveLike()&&i),i}),null,null)),(t()(),Dr(2,0,null,null,0,"img",[["src","../../../assets/images/actions/like-green.svg"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Ocenjeno"])),(t()(),Dr(5,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.AddDislike()&&i),i}),null,null)),(t()(),Dr(6,0,null,null,0,"img",[["src","../../../assets/images/actions/dislike.svg"]],null,null,null,null,null)),(t()(),Dr(7,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Ne svi\u0111a mi se"]))],null,null)}function Uy(t){return Qr(0,[(t()(),Dr(0,0,null,null,8,"div",[["class","item-liked-disliked"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.AddLike()&&i),i}),null,null)),(t()(),Dr(2,0,null,null,0,"img",[["src","../../../assets/images/actions/like-1.svg"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Svi\u0111a mi se"])),(t()(),Dr(5,0,null,null,3,"div",[["class","actions"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.RemoveDislike()&&i),i}),null,null)),(t()(),Dr(6,0,null,null,0,"img",[["src","../../../assets/images/actions/dislike-red.svg"]],null,null,null,null,null)),(t()(),Dr(7,0,null,null,1,"span",[["class","tooltiptext"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Ocenjeno"]))],null,null)}function Wy(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"div",[["class","role-name"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Producent:"])),(t()(),Dr(2,0,null,null,1,"p",[],null,
2null,null,null,null)),(t()(),Gr(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component.data.movieSeries.director)}))}function qy(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"option",[],null,null,null,null,null)),Yi(1,147456,null,0,jp,[Je,rn,[2,Rp]],{value:[0,"value"]},null),Yi(2,147456,null,0,Fp,[Je,rn,[8,null]],{value:[0,"value"]},null),(t()(),Gr(3,null,["Sezona ",""]))],(function(t,e){t(e,1,0,mi(1,"",e.context.$implicit.season_number,"")),t(e,2,0,mi(1,"",e.context.$implicit.season_number,""))}),(function(t,e){t(e,3,0,e.context.$implicit.season_number)}))}function Gy(t){return Qr(0,[(t()(),Dr(0,0,null,null,9,"div",[["class","movie"]],null,[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==o.PlayerPlayMovieSeries(o.data.movieSeries.id,t.context.$implicit.id)&&i),i}),null,null)),(t()(),Dr(1,0,null,null,2,"div",[["class","play-icon-layer"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"img",[["alt","Describe Image"],["class","movie-image"]],[[8,"src",4]],null,null,null,null)),(t()(),Dr(3,0,null,null,0,"i",[["class","far fa-play-circle play-icon"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","movie-heading-like-this"]],null,null,null,null,null)),(t()(),Gr(5,null,[" "," "])),(t()(),Dr(6,0,null,null,1,"div",[["class","movie-descritpion-like-this"]],null,null,null,null,null)),(t()(),Gr(7,null,[" "," | "," "])),(t()(),Dr(8,0,null,null,1,"div",[["class","movie-information-like-this"]],null,null,null,null,null)),(t()(),Gr(9,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,2,0,n.data.movieSeries.thumb_landscape_poster_url),t(e,5,0,e.context.$implicit.title),t(e,7,0,e.context.$implicit.year,n.time_convert(e.context.$implicit.length)),t(e,9,0,n.data.movieSeries.description&&n.data.movieSeries.description.length>150?n.data.movieSeries.description.substring(0,150)+"...":n.data.movieSeries.description)}))}function Ky(t){return Qr(0,[(t()(),Dr(0,0,null,null,14,"div",[["class","more-like-this"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,10,"div",[["class","episodes-picker"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,1,"div",[["class","more-like-this-heading"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Epizode"])),(t()(),Dr(4,0,null,null,7,"select",[["class","seasons"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],(function(t,e,n){var i=!0,o=t.component;return"change"===e&&(i=!1!==Fi(t,5).onChange(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,5).onTouched()&&i),"ngModelChange"===e&&(i=!1!==o.getEpisodes(n)&&i),i}),null,null)),Yi(5,16384,null,0,Rp,[rn,Je],null,null),Ji(1024,null,dp,(function(t){return[t]}),[Rp]),Yi(7,671744,null,0,gm,[[8,null],[8,null],[8,null],[6,dp]],{model:[0,"model"]},{update:"ngModelChange"}),Ji(2048,null,vp,null,[gm]),Yi(9,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Ir(16777216,null,null,1,null,qy)),Yi(11,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Dr(12,0,null,null,2,"div",[["class","more-movies"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,Gy)),Yi(14,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,7,0,n.season),t(e,11,0,n.data.movieSeries.seasons),t(e,14,0,n.episodes[0].episodes)}),(function(t,e){t(e,4,0,Fi(e,9).ngClassUntouched,Fi(e,9).ngClassTouched,Fi(e,9).ngClassPristine,Fi(e,9).ngClassDirty,Fi(e,9).ngClassValid,Fi(e,9).ngClassInvalid,Fi(e,9).ngClassPending)}))}function Xy(t){return Qr(0,[(t()(),Dr(0,0,null,null,9,"div",[["class","movie"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.PlayerPlayMovieSeries(t.context.$implicit.id)&&i),i}),null,null)),(t()(),Dr(1,0,null,null,2,"div",[["class","play-icon-layer"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"img",[["alt","Describe Image"],["class","movie-image"]],[[8,"src",4]],null,null,null,null)),(t()(),Dr(3,0,null,null,0,"i",[["class","far fa-play-circle play-icon"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","movie-heading-like-this"]],null,null,null,null,null)),(t()(),Gr(5,null,[" "," "])),(t()(),Dr(6,0,null,null,1,"div",[["class","movie-descritpion-like-this"]],null,null,null,null,null)),(t()(),Gr(7,null,[" "," | "," "])),(t()(),Dr(8,0,null,null,1,"div",[["class","movie-information-like-this"]],null,null,null,null,null)),(t()(),Gr(9,null,[" "," "]))],null,(function(t,e){var n=e.component;t(e,2,0,e.context.$implicit.thumb_landscape_poster_url),t(e,5,0,e.context.$implicit.title),t(e,7,0,e.context.$implicit.year,n.time_convert(e.context.$implicit.length));var i=e.context.$implicit.description&&e.context.$implicit.description.length>150?e.context.$implicit.description.substring(0,150)+"...":e.context.$implicit.description;t(e,9,0,i)}))}function Qy(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[["class","more-like-this"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,2,"div",[["class","episodes-picker"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,1,"div",[["class","more-like-this-heading"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Mo\u017eda vas jo\u0161 zanima"])),(t()(),Dr(4,0,null,null,2,"div",[["class","more-movies"]
2],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,Xy)),Yi(6,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,6,0,e.component.similarMovies)}),null)}function Zy(t){return Qr(0,[(t()(),Dr(0,0,null,null,5,"div",[["class","modal-image-background"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(2,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(3,{"background-image":0}),(t()(),Dr(4,0,null,null,1,"div",[["aria-label","Close"],["class","close-button"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onNoClick()&&i),i}),null,null)),(t()(),Dr(5,0,null,null,0,"img",[["class","close-icon"],["src","../../../assets/images/actions/close-image.svg"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,28,"div",[["class","movie-info"]],null,null,null,null,null)),(t()(),Dr(7,0,null,null,14,"div",[["class","play-and-action"]],null,null,null,null,null)),(t()(),Dr(8,0,null,null,3,"div",[["class","play-button"]],null,[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==o.PlayerPlay(o.data.movieSeries)&&i),i}),null,null)),(t()(),Dr(9,0,null,null,0,"img",[["class","icon"],["src","../../../assets/images/dunkrik/play.svg"]],null,null,null,null,null)),(t()(),Dr(10,0,null,null,1,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PLAY"])),(t()(),Ir(16777216,null,null,1,null,Vy)),Yi(13,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,By)),Yi(15,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Hy)),Yi(17,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,$y)),Yi(19,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Uy)),Yi(21,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(22,0,null,null,1,"div",[["class","movie-heading"]],null,null,null,null,null)),(t()(),Gr(23,null,[" ","\n"])),(t()(),Dr(24,0,null,null,1,"div",[["class","movie-descritpion"]],null,null,null,null,null)),(t()(),Gr(25,null,[" "," | Imdb: "," | Likes: ","% | ","\n"])),(t()(),Dr(26,0,null,null,1,"div",[["class","movie-information"]],null,null,null,null,null)),(t()(),Gr(27,null,[" "," "])),(t()(),Dr(28,0,null,null,6,"div",[["class","movie-roles"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,Wy)),Yi(30,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(31,0,null,null,3,"div",[["class","role-name"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" Glumci: "])),(t()(),Dr(33,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(34,null,["",""])),(t()(),Ir(16777216,null,null,1,null,Ky)),Yi(36,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,Qy)),Yi(38,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component,i=t(e,3,0,"url("+n.data.movieSeries.thumb_landscape_poster_url+")");t(e,2,0,i),t(e,13,0,!n.in_my_list),t(e,15,0,n.in_my_list),t(e,17,0,!n.item_liked),t(e,19,0,"1"===n.item_liked),t(e,21,0,"0"===n.item_liked),t(e,30,0,n.data.movieSeries.director),t(e,36,0,n.data.movieSeries.seasons),t(e,38,0,!n.data.movieSeries.seasons)}),(function(t,e){var n=e.component;t(e,23,0,n.data.movieSeries.title),t(e,25,0,n.data.movieSeries.year,n.data.movieSeries.imdb_rating,n.likes_percentage,n.data.movieSeries.seasons_count?n.data.movieSeries.seasons_count+" sezona":n.time_convert(n.data.movieSeries.length)),t(e,27,0,n.data.movieSeries.description),t(e,34,0,n.data.movieSeries.cast_members)}))}function Yy(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"ng-component",[],null,
2null,null,Zy,Fy)),Yi(1,245760,null,0,ty,[rn,py,my,kg,jf],null,null)],(function(t,e){t(e,1,0)}),null)}var Jy=Si("ng-component",ty,Yy,{},{},[]);n("kYxd");class tC{constructor(t,e,n){this.liveTvService=t,this.router=e,this.route=n,this.channelCategories=[],this.channelsWithEPG=[],this.selectedCategory=null,this.loading=!0,this.error=!1,this.errorMessage="",this.subscriptions=[]}ngOnInit(){this.loadChannels()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}loadChannels(){this.loading=!0,this.error=!1;const t=this.liveTvService.getChannelList().subscribe(t=>{if(this.channelCategories=t.filter(t=>t.channels.length>0),this.channelCategories.length>0){const t=this.route.snapshot.queryParams.category;if(t){const e=this.channelCategories.find(e=>e.category===t);e?this.selectCategory(e,!1):this.selectCategory(this.channelCategories[0],!0)}else this.selectCategory(this.channelCategories[0],!0)}this.loading=!1},t=>{this.error=!0,this.errorMessage="Gre\u0161ka pri u\u010ditavanju kanala",this.loading=!1,console.error("Error loading channels:",t)});this.subscriptions.push(t)}selectCategory(t,e=!0){this.selectedCategory=t,this.channelsWithEPG=t.channels.map(t=>Object.assign({},t)),this.loadEPGForChannels(),e&&this.router.navigate([],{relativeTo:this.route,queryParams:{category:t.category},queryParamsHandling:"merge"})}loadEPGForChannels(){const t=new Date,e=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),n=new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59),i=this.liveTvService.formatDateForEPG(e),o=this.liveTvService.formatDateForEPG(n);this.channelsWithEPG.forEach(e=>{if(e.xmltv_id&&""!==e.xmltv_id.trim()){const n=this.liveTvService.getEPG(e.id,i,o).subscribe(n=>{if(n&&n.length>0){const i=t.getTime(),o=n.find(t=>{const e=this.parseEPGDate(t.start),n=this.parseEPGDate(t.stop);return e<=i&&i<=n});if(o){e.currentProgram=o;const t=n.indexOf(o);t<n.length-1&&(e.nextProgram=n[t+1])}else{const t=n.find(t=>this.parseEPGDate(t.start)>i);t&&(e.nextProgram=t)}}},t=>{console.error("Error in EPG subscription for channel "+e.id,t)});this.subscriptions.push(n)}})}parseEPGDate(t){if(!t||14!==t.length)return 0;const e=t.substring(0,4),n=t.substring(4,6),i=t.substring(6,8),o=t.substring(8,10),r=t.substring(10,12),s=t.substring(12,14);return new Date(`${e}-${n}-${i}T${o}:${r}:${s}`).getTime()}playChannel(t){this.router.navigate(["/player",0],{queryParams:{cid:t.id,channelName:t.name,is_360:t.is_360}})}getChannelLogo(t){return t.logo1||t.logo2||""}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());setTimeout(()=>{n(document.querySelectorAll("div.item-hide"))},t)}}}var eC=Hn({encapsulation:0,styles:[[".live-tv-container[_ngcontent-%COMP%]{min-height:100vh;overflow:hidden;display:block;margin:0 auto;position:relative;padding-bottom:210px;box-sizing:border-box}.live-tv-header[_ngcontent-%COMP%]{margin:50px 2% 40px}.live-tv-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-family:AvenirNext;font-size:32px;font-weight:900;color:#fff}.error-container[_ngcontent-%COMP%], .loading-container[_ngcontent-%COMP%], .no-channels[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 20px;text-align:center;font-family:AvenirNext}.error-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .loading-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .no-channels[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;font-weight:500;margin-bottom:20px;color:#fff}.error-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .loading-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .no-channels[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#ac0204;color:#fff;border:none;padding:12px 24px;font-size:16px;font-family:AvenirNext;font-weight:700;border-radius:7.5px;cursor:pointer;box-shadow:0 1px 5px 0 rgba(0,0,0,.21)}.spinner[_ngcontent-%COMP%]{display:block;position:absolute;top:40%;right:50%;color:#fff;font-family:AvenirNext;font-size:32px;font-weight:900}.content[_ngcontent-%COMP%]{margin-left:2%;margin-right:2%}.content[_ngcontent-%COMP%] .category-tabs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.content[_ngcontent-%COMP%] .category-tabs[_ngcontent-%COMP%] .category-tab[_ngcontent-%COMP%]{padding:8px 16px;border-radius:4px;border:1px solid rgba(255,255,255,.4);background:0 0;color:#fff;cursor:pointer}.content[_ngcontent-%COMP%] .category-tabs[_ngcontent-%COMP%] .category-tab.active[_ngcontent-%COMP%]{background:#ac0204;border-color:#ac0204}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%]{background-color:#222;border-radius:7.5px;overflow:hidden;cursor:pointer}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-logo[_ngcontent-%COMP%]{width:100%;height:160px;background-color:#2a2a2a;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto;height:auto;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%]{padding:15px;font-family:AvenirNext}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .channel-name[_ng
2content-%COMP%]{font-size:18px;font-weight:900;margin:0 0 12px;color:#fff}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .current-program[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .next-program[_ngcontent-%COMP%]{margin-bottom:8px;display:flex;flex-direction:column}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .current-program[_ngcontent-%COMP%] .program-label[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .next-program[_ngcontent-%COMP%] .program-label[_ngcontent-%COMP%]{font-size:10px;font-weight:500;color:#999;text-transform:uppercase;margin-bottom:4px}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .current-program[_ngcontent-%COMP%] .program-title[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .epg-info[_ngcontent-%COMP%] .next-program[_ngcontent-%COMP%] .program-title[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:#e0e0e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-info[_ngcontent-%COMP%] .no-epg[_ngcontent-%COMP%] .program-label[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:#666;font-style:italic}@media (max-width:768px){.live-tv-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:24px}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:15px}.content[_ngcontent-%COMP%] .channels-grid[_ngcontent-%COMP%] .channel-card[_ngcontent-%COMP%] .channel-logo[_ngcontent-%COMP%]{height:120px}}"]],data:{}});function nC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","spinner"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"]],null,null,null,null,null))],null,null)}function iC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(2,null,["",""])),(t()(),Dr(3,0,null,null,1,"button",[],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.loadChannels()&&i),i}),null,null)),(t()(),Gr(-1,null,["Poku\u0161aj ponovo"]))],null,(function(t,e){t(e,2,0,e.component.errorMessage)}))}function oC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"button",[["class","category-tab"]],[[2,"active",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.selectCategory(t.context.$implicit)&&i),i}),null,null)),(t()(),Gr(1,null,[" "," "]))],null,(function(t,e){t(e,0,0,e.component.selectedCategory===e.context.$implicit),t(e,1,0,e.context.$implicit.category)}))}function rC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","current-program"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"span",[["class","program-label"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Sada:"])),(t()(),Dr(3,0,null,null,1,"span",[["class","program-title"]],null,null,null,null,null)),(t()(),Gr(4,null,["",""]))],null,(function(t,e){t(e,4,0,e.parent.parent.context.$implicit.currentProgram.title)}))}function sC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","next-program"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"span",[["class","program-label"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Sledi:"])),(t()(),Dr(3,0,null,null,1,"span",[["class","program-title"]],null,null,null,null,null)),(t()(),Gr(4,null,["",""]))],null,(function(t,e){t(e,4,0,e.parent.parent.context.$implicit.nextProgram.title)}))}function lC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","epg-info"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,rC)),Yi(2,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,sC)),Yi(4,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.parent.context.$implicit.currentProgram),t(e,4,0,e.parent.context.$implicit.nextProgram)}),null)}function aC(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","no-epg"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"span",[["class","program-label"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Program nije dostupan"]))],null,null)}function cC(t){return Qr(0,[(t()(),Dr(0,0,null,null,9,"div",[["class","channel-card"]],null,[[null,"click"]],(function(t,e,n){var i=!0;
2return"click"===e&&(i=!1!==t.component.playChannel(t.context.$implicit)&&i),i}),null,null)),(t()(),Dr(1,0,null,null,1,"div",[["class","channel-logo"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"img",[],[[8,"src",4],[8,"alt",0]],null,null,null,null)),(t()(),Dr(3,0,null,null,6,"div",[["class","channel-info"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"h3",[["class","channel-name"]],null,null,null,null,null)),(t()(),Gr(5,null,["",""])),(t()(),Ir(16777216,null,null,1,null,lC)),Yi(7,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,aC)),Yi(9,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,7,0,e.context.$implicit.currentProgram||e.context.$implicit.nextProgram),t(e,9,0,!e.context.$implicit.currentProgram&&!e.context.$implicit.nextProgram)}),(function(t,e){t(e,2,0,e.component.getChannelLogo(e.context.$implicit),e.context.$implicit.name),t(e,5,0,e.context.$implicit.name)}))}function uC(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","channels-grid"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,cC)),Yi(2,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){t(e,2,0,e.component.channelsWithEPG)}),null)}function hC(t){return Qr(0,[(t()(),Dr(0,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,2,"div",[["class","category-tabs"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,oC)),Yi(3,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ir(16777216,null,null,1,null,uC)),Yi(5,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,3,0,n.channelCategories),t(e,5,0,n.selectedCategory)}),null)}function dC(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","no-channels"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Nema dostupnih kanala"]))],null,null)}function gC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-navigation",[],null,null,null,g_,u_)),Yi(1,245760,null,0,c_,[zf,kg,_d],null,null),(t()(),Dr(2,0,null,null,13,"div",[["class","live-tv-container"]],null,[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),(t()(),Dr(3,0,null,null,2,"div",[["class","live-tv-header"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Gr(-1,null,["TV"])),(t()(),Ir(16777216,null,null,1,null,nC)),Yi(7,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,iC)),Yi(9,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,hC)),Yi(11,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,dC)),Yi(13,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(14,0,null,null,1,"app-footer",[],null,null,null,av,lv)),Yi(15,245760,null,0,sv,[],{position:[0,"position"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,7,0,n.loading),t(e,9,0,n.error&&!n.loading),t(e,11,0,!n.loading&&!n.error&&n.channelCategories.length>0),t(e,13,0,!n.loading&&!n.error&&0===n.channelCategories.length),t(e,15,0,"absolute")}),null)}function pC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-live-tv",[],null,null,null,gC,eC)),Yi(1,245760,null,0,tC,[by,kg,_d],null,null)],(function(t,e){t(e,1,0)}),null)}var mC=Si("app-live-tv",tC,pC,{},{},[]);class fC{constructor(t,e,n,i,o){this.dialog=t,this.elementRef=e,this.breakPointObserver=n,this.dataStorage=i,this.router=o,this.spinner=!1,this.genres=[],this.subscription=[],this.limit=1,this.width=395,this.height=250,this.width_trending=395,this.height_trending=790}ngOnInit(){this.getGenres(),this.subscription.push(this.breakPointObserver.observe([Xm,Zm,Qm]).subscribe(t=>{t.breakpoints[Xm]?(this.limit=1,this.width=230,this.height=130,this.width_trending=230,this.height_trending=490):t.breakpoints[Zm]||t.breakpoints[Qm]?(this.limit=3,this.width=285,this.height=160,this.width_trending=285,this.height_trending=590):(this.limit=6,this.width=395,this.height=250,this.width_trending=395,this.height_trending=790)}))}dispose(){this.subscription.forEach(t=>t.unsubscribe())}ngOnDestroy(){this.dispose()}getGenres(){this.spinner=!0,this.subscription.push(this.dataStorage.getGenres().subscribe(t=>{this.genres=t.filter(t=>{if(!t.has_series||!t.has_movies)return"/series"===this.router.url&&t?t.has_series:"/movies"===this.router.url?t.has_movies:void this.router.navigate([""]);t=null}
2),this.genres.forEach(t=>{this.dataStorage.getMovieSeries(t.id,1e3,0).subscribe(e=>{t.movies=e,t.movies.vods.forEach(t=>{t.lastPlayedTime=this.LastPlayedTime(t)})}),this.spinner=!1})}))}LastPlayedTime(t){let e=localStorage.getItem("vod_"+t.id);if(e){t.seasons&&e&&(e=localStorage.getItem("vod_"+e));const n=e.split("#");if(n.length>1){let t=parseFloat(n[0]);const e=parseFloat(n[1]);return t<=30&&(t=0),t/e*100}}}StopShowingDialog(){clearTimeout(this.timeout_call)}OpenDialogMovieOverview(t,e){this.dialog.open(ty,{data:t?{movieSeries:t,movies:e}:{movie:null},scrollStrategy:new Tv,height:"95vh",backdropClass:"backdropBackground",panelClass:"movie-modal"})}ShowMovieDialog(t,e,n){this.timeout_call=setTimeout(()=>{const i=document.querySelector(t);if(!i||230===this.width)return;const o=i.getBoundingClientRect(),r=document.body.getBoundingClientRect(),s=o.top-r.top,l=o.left-r.left;let a="center";if(o.left-r.left<this.width?a="bottom left":r.right-o.right<this.width&&(a="bottom right"),r.right-o.right<0)return;let c=0,u=1,h=localStorage.getItem("vod_"+e.id);if(e.seasons&&h&&(h=localStorage.getItem("vod_"+h)),h){const t=h.split("#");t.length>1&&(c=parseFloat(t[0]),u=parseFloat(t[1]),c<=30&&(c=0))}const d=c/u*100;let g="";g=d>0?`<div id="progressbar" > <div style="width:${d+"%"}";></div></div>`:"";let p,m,f,_,v=localStorage.getItem("like_id_"+e.id);"1"===v?(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'):"0"===v?(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> </div>'):(p='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',m='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'),this.subscription.push(this.dataStorage.getSingleMovieSeries(e.id).subscribe(t=>{_=t,_.inMyList?f='<div class="actions tooltip"><img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span> </div>':_.inMyList||(f='<div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span> </div>');const i=`<div style="top:${s+"px"}; left: ${l+"px"}; width: ${o.width+"px"}; transform-origin: ${a} " class="item-show">\n <a>\n <img class="movie-image"\n src="${e.seasons?e.thumb_landscape_poster2_url.replace("http://","https://"):e.thumb_landscape_poster_url.replace("http://","https://")}"\n alt="Describe Image">\n\n <div class="movie-info">\n\n ${g}\n\n <div class="play-and-action">\n <div class="play-button play-video">\n <img class="icon" src="../../assets/images/dunkrik/play.svg">\n <div class="text">PLAY</div>\n </div>\n\x3c!-- <div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span></div>--\x3e\n ${f}\n ${p}\n ${m}\n <div id="more-info" class="actions tooltip"><img src="../../assets/images/actions/arrow.svg"><span class="tooltiptext">Vi\u0161e informacija</span></div>\n </div>\n <div class="movie-heading">\n ${e.title}\n </div>\n <div class="movie-descritpion">\n ${e.year} | Imdb: ${e.imdb_rating} | Likes: ${_?_.likesPerc+"%":""} | ${e.seasons_count?e.seasons_count+" sezona":function(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}(e.length)}\n\n </div>\n </div>\n </a>\n </div>`;document.body.insertAdjacentHTML("beforeend",i);const r=this,c=this,u=this,h=this,d=function(){r.PlayerPlay(e,n)};document.getElementsByClassName("play-video")[0].addEventListener("click",(function(){d()})),document.getElementsByClassName("movie-image")[0].addEventListener("click",(function(){d()})),document.getElementById("more-info").addEventListener("click",(function(){u.HideMovieDialog(1),c.OpenDialogMovieOverview(e,e.seasons?null:n)})),document.getElementsByClassName("actions")[0].addEventListener("click",(function(){_.inMyList?(_.inMyList=!1,h.subscription.push(h.dataStorage.deleteFromMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span>'):_.inMyList||(_.inMyList=!0,h.subscription.push(h.dataStorage.addToMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span>')})),document.getElementsByClassName("actions")[1].addEventListener("click",(function(){"0"!==v&&v?"1"===v&&(h.subscription.push(h.dataStorage.deleteLike(e.id).subscribe(t=>{v=null,localStorage.removeItem("like_id_"+e.id),h.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>'):(h.subscription.push(h.dataStorage.addLike(e.id).subscribe(t=>{v="1",h.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>')})),document.getElementsByClassName("actions")[2].addEventListener("click",(function(){"1"!==v&&v?"0"===v&&(h.subscription.push(h.dataStorage.deleteDislike(e.id).subscribe(t=>{v=null,localStorage.removeItem("like_id_"+e.id),h.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>'):(h.subscription.push(h.dataStorage.addDislike(e.id).subscribe(t=>{v="0",h.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>')}))}
2))},500)}PlayerPlay(t,e){if(230!==this.width){if(t.seasons){const e=localStorage.getItem("vod_"+t.id);e?this.router.navigate(["player/"+t.id],{queryParams:{episode_id:e}}):t.seasons.length>0&&t.seasons[0].episodes.length>0&&this.router.navigate(["player/"+t.id],{queryParams:{episode_id:t.seasons[0].episodes[0].id}})}else this.router.navigate(["player/"+t.id]);this.HideMovieDialog(0)}else this.OpenDialogMovieOverview(t,e)}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}var _C=Hn({encapsulation:0,styles:[[".overlay[_ngcontent-%COMP%]{min-height:100vh;overflow:hidden;display:block;margin:0 auto;position:relative;padding-bottom:210px;box-sizing:border-box}.genre-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden;margin-top:50px;margin-left:2%;margin-right:2%}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%]{height:22px;margin:0 10px 40px 0;font-family:AvenirNext;font-size:32px;cursor:pointer;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{display:inline;opacity:0;transition:.5s;font-size:18px;color:#fff;font-weight:800}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%]:hover .show-more[_ngcontent-%COMP%]{opacity:1}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%]{z-index:1;margin-bottom:20px;margin-top:20px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-radius:7.5px!important;height:auto;z-index:5}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;display:block;border-radius:7.5px!important}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%]{bottom:0;z-index:100;width:100%;position:absolute;background-color:#ccc;height:5px}.genre-section[_ngcontent-%COMP%] carousel[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#ac0204;height:5px}.spinner[_ngcontent-%COMP%]{display:block;position:absolute;top:40%;right:50%;color:#fff;font-family:AvenirNext;font-size:32px;font-weight:900}"]],data:{animation:[{type:7,name:"opacity-animate",definitions:[{type:1,expr:"* <=> *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:2e3}],options:null}],options:{}}]}});function vC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","progressbar"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(3,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(4,{width:0})],(function(t,e){var n=t(e,4,0,e.parent.context.$implicit.lastPlayedTime+"%");t(e,3,0,n)}),null)}function yC(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,[[null,"mouseenter"],[null,"mouseout"],[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"mouseenter"===e&&(i=!1!==o.ShowMovieDialog(".item-hover-"+t.context.index+"-"+t.parent.parent.context.$implicit.id,t.context.$implicit,t.parent.parent.context.$implicit)&&i),"mouseout"===e&&(i=!1!==o.StopShowingDialog()&&i),"click"===e&&(i=!1!==o.PlayerPlay(t.context.$implicit,t.parent.parent.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{ngClass:[0,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],null,null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Ir(16777216,null,null,1,null,vC)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"carousel-cell item item-hover-"+e.context.index+"-"+e.parent.parent.context.$implicit.id);var n=e.context.$implicit.seasons?e.context.$implicit.thumb_landscape_poster2_url.replace("http://","https://"):e.context.$implicit.thumb_landscape_poster_url.replace("http://","https://");t(e,4,0,n,"../../assets/images/apollon_logo/Apollon-loading.png"),t(e,6,0,e.context.$implicit.lastPlayedTime>0)}),null)}function CC(t){return Qr(0,[(t()(),Dr(0,0,null,null,3,"carousel",[["arrowsTheme","dark"]],[[2,"carousel",null],[4,"height",null],[4,"width",null]],[[null,"mouseenter"],["window","resize"],[null,"mousemove"],[null,"mouseleave"]],(function(t,e,n){var i=!0,o=t.component;return"window:resize"===e&&(i=!1!==Fi(t,1).onWindowResize(n)&&i),"mousemove"===e&&(i=!1!==Fi(t,1).onMousemove(n)&&i),"mouseleave"===e&&(i=!1!==Fi(t,1).onMouseleave(n)&&i),"mouseenter"
2===e&&(i=!1!==o.HideMovieDialog(350)&&i),i}),iv,X_)),Yi(1,4964352,null,0,G_,[Je,Pe],{height:[0,"height"],margin:[1,"margin"],overflowCellsLimit:[2,"overflowCellsLimit"],cellsToScroll:[3,"cellsToScroll"],arrowsTheme:[4,"arrowsTheme"],cellWidth:[5,"cellWidth"]},null),(t()(),Ir(16777216,null,0,1,null,yC)),Yi(3,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,1,0,n.height,5,n.limit,n.limit,"dark",n.width),t(e,3,0,e.parent.context.$implicit.movies.vods.length?e.parent.context.$implicit.movies.vods:null)}),(function(t,e){t(e,0,0,Fi(e,1).hostClassCarousel,Fi(e,1).hostStyleHeight,Fi(e,1).hostStyleWidth)}))}function bC(t){return Qr(0,[(t()(),Dr(0,0,null,null,7,"div",[["class","genre-section"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,4,"div",[["class","genre-title"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,2).onClick()&&i),i}),null,null)),Yi(2,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Gr(3,null,[" "," "])),(t()(),Dr(4,0,null,null,1,"div",[["class","show-more"]],null,null,null,null,null)),(t()(),Gr(-1,null,["PRIKA\u017dI JO\u0160 >"])),(t()(),Ir(16777216,null,null,1,null,CC)),Yi(7,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,mi(1,"/categories/",e.context.$implicit.id,"")),t(e,7,0,e.context.$implicit.movies&&e.context.$implicit.movies.vods.length)}),(function(t,e){var n=e.context.$implicit.name.toUpperCase();t(e,3,0,n)}))}function PC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","spinner"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"]],null,null,null,null,null))],null,null)}function xC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-navigation",[],null,null,null,g_,u_)),Yi(1,245760,null,0,c_,[zf,kg,_d],null,null),(t()(),Dr(2,0,null,null,6,"div",[["class","overlay"]],[[24,"@opacity-animate",0]],[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),(t()(),Ir(16777216,null,null,1,null,bC)),Yi(4,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ir(16777216,null,null,1,null,PC)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(7,0,null,null,1,"app-footer",[],null,null,null,av,lv)),Yi(8,245760,null,0,sv,[],{position:[0,"position"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,4,0,n.genres),t(e,6,0,n.spinner),t(e,8,0,"absolute")}),(function(t,e){t(e,2,0,void 0)}))}function OC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-movies-series",[],null,null,null,xC,_C)),Yi(1,245760,null,0,fC,[yy,Je,Gm,jf,kg],null,null)],(function(t,e){t(e,1,0)}),null)}var MC=Si("app-movies-series",fC,OC,{},{},[]);class wC{constructor(t,e,n,i,o,r){this.dialog=t,this.elementRef=e,this.breakPointObserver=n,this.dataStorage=i,this.router=o,this.activatedRoute=r,this.spinner=!1,this.category_name="",this.moviesSeries=[],this.subscription=[],this.width=395,this.height=250,this.width_trending=395,this.height_trending=790}getCategory(t){this.spinner=!0,this.moviesSeries=[],this.subscription.push(this.dataStorage.getMovieSeries(t,1e3,0).subscribe(t=>{this.category_name=t.name,this.moviesSeries=t.vods,this.moviesSeries.forEach(t=>{t.lastPlayedTime=this.LastPlayedTime(t)}),this.spinner=!1}))}ngOnInit(){window.scroll(0,0),this.subscription.push(this.activatedRoute.params.subscribe(t=>{this.category_id=t.id,this.message="",this.getCategory(this.category_id)})),this.subscription.push(this.breakPointObserver.observe([Xm,Zm,Qm]).subscribe(t=>{t.breakpoints[Xm]?(this.width=230,this.height=130,this.width_trending=230,this.height_trending=490):t.breakpoints[Zm]||t.breakpoints[Qm]?(this.width=285,this.height=160,this.width_trending=285,this.height_trending=590):(this.width=395,this.height=250,this.width_trending=395,this.height_trending=790)}))}dispose(){this.subscription.forEach(t=>t.unsubscribe())}ngOnDestroy(){this.dispose()}StopShowingDialog(){clearTimeout(this.timeout_call)}LastPlayedTime(t){let e=localStorage.getItem("vod_"+t.id);if(e){t.seasons&&e&&(e=localStorage.getItem("vod_"+e));const n=e.split("#");if(n.length>1){let t=parseFloat(n[0]);const e=parseFloat(n[1]);return t<=30&&(t=0),t/e*100}}}OpenDialogMovieOverview(t){this.dialog.open(ty,{data:{movieSeries:t,category_id:this.category_id},scrollStrategy:new Tv,height:"95vh",backdropClass:"backdropBackgroun
2d",panelClass:"movie-modal"})}ShowMovieDialog(t,e){this.timeout_call=setTimeout(()=>{const n=document.querySelector(t);if(!n||230===this.width)return;const i=n.getBoundingClientRect(),o=document.body.getBoundingClientRect(),r=i.top-o.top,s=i.left-o.left;let l="center";i.left-o.left<this.width?l="bottom left":o.right-i.right<this.width&&(l="bottom right");let a=0,c=1,u=localStorage.getItem("vod_"+e.id);if(e.seasons&&u&&(u=localStorage.getItem("vod_"+u)),u){const t=u.split("#");t.length>1&&(a=parseFloat(t[0]),c=parseFloat(t[1]),a<=30&&(a=0))}const h=a/c*100;let d="";d=h>0?`<div id="progressbar" > <div style="width:${h+"%"}";></div></div>`:"";let g,p,m,f,_=localStorage.getItem("like_id_"+e.id);"1"===_?(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'):"0"===_?(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> </div>'):(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'),this.subscription.push(this.dataStorage.getSingleMovieSeries(e.id).subscribe(t=>{f=t,f.inMyList?m='<div class="actions tooltip"><img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span> </div>':f.inMyList||(m='<div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span> </div>');const n=`<div style="top:${r+"px"}; left: ${s+"px"}; width: ${i.width+"px"}; transform-origin: ${l} " class="item-show">\n <a>\n <img class="movie-image"\n src="${e.seasons?e.thumb_landscape_poster2_url.replace("http://","https://"):e.thumb_landscape_poster_url.replace("http://","https://")}"\n alt="Describe Image">\n\n <div class="movie-info">\n\n ${d}\n\n <div class="play-and-action">\n <div class="play-button play-video">\n <img class="icon" src="../../assets/images/dunkrik/play.svg">\n <div class="text">PLAY</div>\n </div>\n\x3c!-- <div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span></div>--\x3e\n ${m}\n ${g}\n ${p}\n <div id="more-info" class="actions tooltip"><img src="../../assets/images/actions/arrow.svg"><span class="tooltiptext">Vi\u0161e informacija</span></div>\n </div>\n <div class="movie-heading">\n ${e.title}\n </div>\n <div class="movie-descritpion">\n ${e.year} | Imdb: ${e.imdb_rating} | Likes: ${f?f.likesPerc+"%":""} | ${e.seasons_count?e.seasons_count+" sezona":function(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}(e.length)}\n\n </div>\n </div>\n </a>\n </div>`;document.body.insertAdjacentHTML("beforeend",n);const o=this,a=this,c=this,u=this,h=function(){o.PlayerPlay(e)};document.getElementsByClassName("play-video")[0].addEventListener("click",(function(){h()})),document.getElementsByClassName("movie-image")[0].addEventListener("click",(function(){h()})),document.getElementById("more-info").addEventListener("click",(function(){c.HideMovieDialog(1),a.OpenDialogMovieOverview(e)})),document.getElementsByClassName("actions")[0].addEventListener("click",(function(){f.inMyList?(f.inMyList=!1,u.subscription.push(u.dataStorage.deleteFromMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span>'):f.inMyList||(f.inMyList=!0,u.subscription.push(u.dataStorage.addToMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span>')})),document.getElementsByClassName("actions")[1].addEventListener("click",(function(){"0"!==_&&_?"1"===_&&(u.subscription.push(u.dataStorage.deleteLike(e.id).subscribe(t=>{_=null,localStorage.removeItem("like_id_"+e.id),u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>'):(u.subscription.push(u.dataStorage.addLike(e.id).subscribe(t=>{_="1",u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>')})),document.getElementsByClassName("actions")[2].addEventListener("click",(function(){"1"!==_&&_?"0"===_&&(u.subscription.push(u.dataStorage.deleteDislike(e.id).subscribe(t=>{_=null,localStorage.removeItem("like_id_"+e.id),u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>'):(u.subscription.push(u.dataStorage.addDislike(e.id).subscribe(t=>{_="0",u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>')}))}
2))},500)}PlayerPlay(t){if(230!==this.width){if(t.seasons){const e=localStorage.getItem("vod_"+t.id);e?this.router.navigate(["player/"+t.id],{queryParams:{episode_id:e}}):t.seasons.length>0&&t.seasons[0].episodes.length>0&&this.router.navigate(["player/"+t.id],{queryParams:{episode_id:t.seasons[0].episodes[0].id}})}else this.router.navigate(["player/"+t.id]);this.HideMovieDialog(0)}else this.OpenDialogMovieOverview(t)}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}var kC=Hn({encapsulation:0,styles:[[".overlay[_ngcontent-%COMP%]{min-height:100vh;overflow:hidden;display:block;margin:0 auto;position:relative;padding-bottom:210px;box-sizing:border-box}.genre-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden;margin-top:100px;margin-left:2%;margin-right:1%}.genre-section[_ngcontent-%COMP%] .genre-title[_ngcontent-%COMP%]{height:22px;margin:0 10px 40px 0;font-family:AvenirNext;font-size:32px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:20px;row-gap:42px}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{cursor:pointer;overflow:hidden;margin:5px;border-collapse:collapse;border-radius:7.5px!important;height:auto;position:relative}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;overflow:hidden;position:relative}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%]{bottom:0;width:100%;position:absolute;background-color:#ccc;height:5px}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#ac0204;height:5px}.spinner[_ngcontent-%COMP%]{display:block;position:absolute;top:40%;right:50%;color:#fff;font-family:AvenirNext;font-size:32px;font-weight:900}"]],data:{animation:[{type:7,name:"opacity-animate",definitions:[{type:1,expr:"* <=> *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:2e3}],options:null}],options:{}}]}});function SC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","progressbar"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(3,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(4,{width:0})],(function(t,e){var n=t(e,4,0,e.parent.context.$implicit.lastPlayedTime+"%");t(e,3,0,n)}),null)}function EC(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,[[null,"mouseenter"],[null,"mouseout"],[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"mouseenter"===e&&(i=!1!==o.HideMovieDialog(350)&&i),"mouseenter"===e&&(i=!1!==o.ShowMovieDialog(".item-hover"+t.context.index+"-"+t.context.index+1,t.context.$implicit)&&i),"mouseout"===e&&(i=!1!==o.StopShowingDialog()&&i),"click"===e&&(i=!1!==o.PlayerPlay(t.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{ngClass:[0,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],[[8,"width",0],[8,"height",0]],null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Ir(16777216,null,null,1,null,SC)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"item item-hover"+e.context.index+"-"+e.context.index+1),t(e,4,0,e.context.$implicit.seasons?e.context.$implicit.thumb_landscape_poster2_url:e.context.$implicit.thumb_landscape_poster_url,"../../assets/images/apollon_logo/Apollon-loading.png"),t(e,6,0,e.context.$implicit.lastPlayedTime>0)}),(function(t,e){var n=e.component;t(e,3,0,n.width,n.height)}))}function TC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","spinner"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"]],null,null,null,null,null))],null,null)}function AC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-navigation",[],null,
2null,null,g_,u_)),Yi(1,245760,null,0,c_,[zf,kg,_d],null,null),(t()(),Dr(2,0,null,null,10,"div",[["class","overlay"]],[[24,"@opacity-animate",0]],[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),(t()(),Dr(3,0,null,null,5,"div",[["class","genre-section"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","genre-title"]],null,null,null,null,null)),(t()(),Gr(5,null,[" "," "])),(t()(),Dr(6,0,null,null,2,"div",[["class","items"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,EC)),Yi(8,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ir(16777216,null,null,1,null,TC)),Yi(10,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(11,0,null,null,1,"app-footer",[],null,null,null,av,lv)),Yi(12,245760,null,0,sv,[],{position:[0,"position"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,8,0,n.moviesSeries),t(e,10,0,n.spinner),t(e,12,0,"absolute")}),(function(t,e){var n=e.component;t(e,2,0,void 0),t(e,5,0,n.category_name.toUpperCase())}))}function IC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-categories",[],null,null,null,AC,kC)),Yi(1,245760,null,0,wC,[yy,Je,Gm,jf,kg,_d],null,null)],(function(t,e){t(e,1,0)}),null)}var DC=Si("app-categories",wC,IC,{},{},[]);class LC{constructor(t,e,n,i,o,r,s){this.dialog=t,this.elementRef=e,this.breakPointObserver=n,this.dataStorage=i,this.router=o,this.activatedRoute=r,this.authService=s,this.spinner=!1,this.message="",this.subscription=[]}searchMovieSeries(t){this.spinner=!0,this.subscription.push(this.dataStorage.searchMoviesSeries(t).subscribe(t=>{this.moviesSeries=null,t.total_pages>0?(this.moviesSeries=t.vods,this.moviesSeries.forEach(t=>{t.lastPlayedTime=this.LastPlayedTime(t)})):(this.moviesSeries=null,this.message="Nema Rezultata"),this.spinner=!1}))}ngOnInit(){this.subscription.push(this.activatedRoute.params.subscribe(t=>{this.search_term=t.term,this.message="",this.searchMovieSeries(t.term)})),this.subscription.push(this.breakPointObserver.observe([Xm,Zm,Qm]).subscribe(t=>{t.breakpoints[Xm]?(this.width=230,this.height=130,this.width_trending=230,this.height_trending=490):t.breakpoints[Zm]||t.breakpoints[Qm]?(this.width=285,this.height=160,this.width_trending=285,this.height_trending=590):(this.width=395,this.height=250,this.width_trending=395,this.height_trending=790)}))}dispose(){this.subscription.forEach(t=>t.unsubscribe())}ngOnDestroy(){this.dispose()}LastPlayedTime(t){let e=localStorage.getItem("vod_"+t.id);if(e){t.seasons&&e&&(e=localStorage.getItem("vod_"+e));const n=e.split("#");if(n.length>1){let t=parseFloat(n[0]);const e=parseFloat(n[1]);return t<=30&&(t=0),t/e*100}}}StopShowingDialog(){clearTimeout(this.timeout_call)}OpenDialogMovieOverview(t,e){this.dialog.open(ty,{data:{movieSeries:t,category_id:e?e.vod_genre_ids[0]:null},scrollStrategy:new Tv,height:"95vh",backdropClass:"backdropBackground",panelClass:"movie-modal"})}ShowMovieDialog(t,e){this.timeout_call=setTimeout(()=>{const n=document.querySelector(t);if(!n||230===this.width)return;const i=n.getBoundingClientRect(),o=document.body.getBoundingClientRect(),r=i.top-o.top,s=i.left-o.left;let l="center";i.left-o.left<this.width?l="bottom left":o.right-i.right<this.width&&(l="bottom right");let a=0,c=1,u=localStorage.getItem("vod_"+e.id);if(e.seasons&&u&&(u=localStorage.getItem("vod_"+u)),u){const t=u.split("#");t.length>1&&(a=parseFloat(t[0]),c=parseFloat(t[1]),a<=30&&(a=0))}const h=a/c*100;let d="";d=h>0?`<div id="progressbar" > <div style="width:${h+"%"}";></div></div>`:"";let g,p,m,f,_=localStorage.getItem("like_id_"+e.id);"1"===_?(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se </span> </div>'):"0"===_?(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> </div>'):(g='<div class="actions tooltip"><img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> </div>',p='<div class="actions tooltip"><img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span> </div>'),this.subscription.push(this.dataStorage.getSingleMovieSeries(e.id).subscribe(t=>{f=t,f.inMyList?m='<div class="actions tooltip"><img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span> </div>':f.inMyList||(m='<div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span> </div>');const n=`<div style="top:${r+"px"}; left: ${s+"px"}; width: ${i.width+"px"}; transform-origin: ${l} " class="item-show">\n <a>\n <img class="movie-image"\n src="${e.seasons?e.thumb_landscape_poster2_url.replace("http://","https://"):e.thumb_landscape_poster_url.replace("http://","https://")}"\n alt="Describe Image">\n\n <div class="movie-info">\n\n ${d}\n\n <div class="play-and-action">\n <div class="play-button play-video">\n <img class="icon" src="../../assets/images/dunkrik/play.svg">\n <div class="text">
2PLAY</div>\n </div>\n\x3c!-- <div class="actions tooltip"><img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span></div>--\x3e\n ${m}\n ${g}\n ${p}\n <div id="more-info" class="actions tooltip"><img src="../../assets/images/actions/arrow.svg"><span class="tooltiptext">Vi\u0161e informacija</span></div>\n </div>\n <div class="movie-heading">\n ${e.title}\n </div>\n <div class="movie-descritpion">\n ${e.year} | Imdb: ${e.imdb_rating} | Likes: ${f?f.likesPerc+"%":""} | ${e.seasons_count?e.seasons_count+" sezona":function(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}(e.length)}\n\n </div>\n </div>\n </a>\n </div>`;document.body.insertAdjacentHTML("beforeend",n);const o=this,a=this,c=this,u=this,h=function(){o.PlayerPlay(e)};document.getElementsByClassName("play-video")[0].addEventListener("click",(function(){h()})),document.getElementsByClassName("movie-image")[0].addEventListener("click",(function(){h()})),document.getElementById("more-info").addEventListener("click",(function(){c.HideMovieDialog(1),a.OpenDialogMovieOverview(e,e.seasons?null:e)})),document.getElementsByClassName("actions")[0].addEventListener("click",(function(){f.inMyList?(f.inMyList=!1,u.subscription.push(u.dataStorage.deleteFromMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/plus.svg"> <span class="tooltiptext">Dodaj</span>'):f.inMyList||(f.inMyList=!0,u.subscription.push(u.dataStorage.addToMyList(e.id).subscribe(t=>{})),document.getElementsByClassName("actions")[0].innerHTML='<img src="../../assets/images/actions/x.svg"> <span class="tooltiptext">Izbri\u0161i</span>')})),document.getElementsByClassName("actions")[1].addEventListener("click",(function(){"0"!==_&&_?"1"===_&&(u.subscription.push(u.dataStorage.deleteLike(e.id).subscribe(t=>{_=null,localStorage.removeItem("like_id_"+e.id),u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>'):(u.subscription.push(u.dataStorage.addLike(e.id).subscribe(t=>{_="1",u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-green.svg"> <span class="tooltiptext">Ocenjeno</span>',document.getElementsByClassName("actions")[2].innerHTML=' <img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>')})),document.getElementsByClassName("actions")[2].addEventListener("click",(function(){"1"!==_&&_?"0"===_&&(u.subscription.push(u.dataStorage.deleteDislike(e.id).subscribe(t=>{_=null,localStorage.removeItem("like_id_"+e.id),u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike.svg"> <span class="tooltiptext">Svi\u0111a mi se</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Ne svi\u0111a mi se</span>'):(u.subscription.push(u.dataStorage.addDislike(e.id).subscribe(t=>{_="0",u.dataStorage.getAllLikes().subscribe(t=>{t.forEach(t=>{localStorage.setItem("like_id_"+t.vod_vote.vod_id,String(t.vod_vote.vote))})})})),document.getElementsByClassName("actions")[2].innerHTML='<img src="../../assets/images/actions/dislike-red.svg"> <span class="tooltiptext">Ocenjeno</span> ',document.getElementsByClassName("actions")[1].innerHTML='<img src="../../assets/images/actions/like-1.svg"> <span class="tooltiptext">Svi\u0111a mi se</span>')}))}
2))},500)}PlayerPlay(t){if(230!==this.width){if(t.seasons){const e=localStorage.getItem("vod_"+t.id);e?this.router.navigate(["player/"+t.id],{queryParams:{episode_id:e}}):t.seasons.length>0&&t.seasons[0].episodes.length>0&&this.router.navigate(["player/"+t.id],{queryParams:{episode_id:t.seasons[0].episodes[0].id}})}else this.router.navigate(["player/"+t.id]);this.HideMovieDialog(0)}else this.OpenDialogMovieOverview(t,t.seasons?null:t)}HideMovieDialog(t){const e=document.getElementsByClassName("item-show");if(e.length>0){e[0].classList.replace("item-show","item-hide");const n=t=>t.forEach(t=>t.remove());this.timeout_hide=setTimeout((function(){n(document.querySelectorAll("div.item-hide"))}),t)}}}var NC=Hn({encapsulation:0,styles:[[".overlay[_ngcontent-%COMP%]{min-height:100vh;overflow:hidden;display:block;margin:0 auto;position:relative;padding-bottom:210px;box-sizing:border-box}.genre-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:hidden;margin-top:100px;margin-left:2%;margin-right:2%}.genre-section[_ngcontent-%COMP%] .search-term[_ngcontent-%COMP%]{height:22px;margin-bottom:40px;font-family:AvenirNext;font-size:32px;font-weight:900;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#fff}.genre-section[_ngcontent-%COMP%] .search-term[_ngcontent-%COMP%] .search-term-name[_ngcontent-%COMP%]{display:inline;color:#ac0204}.genre-section[_ngcontent-%COMP%] .example-viewport[_ngcontent-%COMP%]{height:auto;overflow:hidden}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;row-gap:42px}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{cursor:pointer;overflow:hidden;margin:5px;border-collapse:collapse;border-radius:7.5px!important;height:auto;position:relative}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;overflow:hidden;position:relative}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%]{bottom:0;width:100%;position:absolute;background-color:#ccc;height:5px}.genre-section[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .progressbar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#ac0204;height:5px}.message[_ngcontent-%COMP%]{display:block;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);color:#fff;font-family:AvenirNext;font-size:32px;font-weight:900}.spinner[_ngcontent-%COMP%]{display:block;position:absolute;top:40%;right:50%;color:#fff;font-family:AvenirNext;font-size:32px;font-weight:900}footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;background-image:linear-gradient(to bottom,rgba(0,0,0,.7) 10%,rgba(0,0,0,0) 70%,transparent);border-top:2px solid rgba(24,24,24,.75);gap:32px;justify-content:center}footer[_ngcontent-%COMP%] .terms-of-use[_ngcontent-%COMP%]{margin-top:30px;display:flex;flex-direction:row;gap:22px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#fff}footer[_ngcontent-%COMP%] .apolon-rights[_ngcontent-%COMP%]{margin-bottom:10px;text-shadow:0 1px 2px rgba(0,0,0,.36);font-family:AvenirNext;font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#333}"]],data:{animation:[{type:7,name:"opacity-animate",definitions:[{type:1,expr:"* <=> *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:2e3}],options:null}],options:{}}]}});function RC(t){return Qr(0,[(t()(),Dr(0,0,null,null,4,"div",[["class","progressbar"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,3,"div",[],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(3,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(4,{width:0})],(function(t,e){var n=t(e,4,0,e.parent.context.$implicit.lastPlayedTime+"%");t(e,3,0,n)}),null)}function jC(t){return Qr(0,[(t()(),Dr(0,0,null,null,6,"div",[],null,[[null,"mouseenter"],[null,"mouseout"],[null,"click"]],(function(t,e,n){var i=!0,o=t.component;
2return"mouseenter"===e&&(i=!1!==o.HideMovieDialog(350)&&i),"mouseenter"===e&&(i=!1!==o.ShowMovieDialog(".item-hover"+t.context.index+"-"+t.context.index+1,t.context.$implicit)&&i),"mouseout"===e&&(i=!1!==o.StopShowingDialog()&&i),"click"===e&&(i=!1!==o.PlayerPlay(t.context.$implicit)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{ngClass:[0,"ngClass"]},null),(t()(),Dr(3,0,null,null,1,"img",[],[[8,"width",0],[8,"height",0]],null,null,null,null)),Yi(4,1720320,null,0,z_,[Je,Xo,Eo,j_],{lazyImage:[0,"lazyImage"],defaultImage:[1,"defaultImage"]},null),(t()(),Ir(16777216,null,null,1,null,RC)),Yi(6,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,"item item-hover"+e.context.index+"-"+e.context.index+1),t(e,4,0,e.context.$implicit.seasons?e.context.$implicit.thumb_landscape_poster2_url:e.context.$implicit.thumb_landscape_poster_url,"../../assets/images/apollon_logo/Apollon-loading.png"),t(e,6,0,e.context.$implicit.lastPlayedTime>0)}),(function(t,e){var n=e.component;t(e,3,0,n.width,n.height)}))}function zC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","spinner"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"]],null,null,null,null,null))],null,null)}function FC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"div",[["class","message"]],null,null,null,null,null)),(t()(),Gr(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.message)}))}function VC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-navigation",[],null,null,null,g_,u_)),Yi(1,245760,null,0,c_,[zf,kg,_d],null,null),(t()(),Dr(2,0,null,null,14,"div",[["class","overlay"]],[[24,"@opacity-animate",0]],[[null,"mouseenter"]],(function(t,e,n){var i=!0;return"mouseenter"===e&&(i=!1!==t.component.HideMovieDialog(350)&&i),i}),null,null)),(t()(),Dr(3,0,null,null,7,"div",[["class","genre-section"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,3,"div",[["class","search-term"]],null,null,null,null,null)),(t()(),Gr(-1,null,[" PRETRAGA: "])),(t()(),Dr(6,0,null,null,1,"div",[["class","search-term-name"]],null,null,null,null,null)),(t()(),Gr(7,null,["",""])),(t()(),Dr(8,0,null,null,2,"div",[["class","items"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,jC)),Yi(10,278528,null,0,qa,[wn,On,yn],{ngForOf:[0,"ngForOf"]},null),(t()(),Ir(16777216,null,null,1,null,zC)),Yi(12,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,FC)),Yi(14,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(15,0,null,null,1,"app-footer",[],null,null,null,av,lv)),Yi(16,245760,null,0,sv,[],{position:[0,"position"]},null)],(function(t,e){var n=e.component;t(e,1,0),t(e,10,0,n.moviesSeries),t(e,12,0,n.spinner),t(e,14,0,n.message),t(e,16,0,"absolute")}),(function(t,e){var n=e.component;t(e,2,0,void 0),t(e,7,0,n.search_term)}))}function BC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-search",[],null,null,null,VC,NC)),Yi(1,245760,null,0,LC,[yy,Je,Gm,jf,kg,_d,zf],null,null)],(function(t,e){t(e,1,0)}),null)}var HC=Si("app-search",LC,BC,{},{},[]);class $C{constructor(t,e,n,i,o,r){this.renderer=t,this.dataStorage=e,this.route=n,this.router=i,this.location=o,this.liveTvService=r,this.activeSeason=1,this.isLiveTV=!1,this.is_360=!1,this.subscription=[],this.captions=[],this.playerEnded=!1,this.errorDisplay=!1,this.errorDisplayLogedIn=!1,this.showPrelodedControls=!1}ngOnInit(){this.InitPage(),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}InitPage(){this.channel_id=this.route.snapshot.queryParams.cid,this.channel_name=this.route.snapshot.queryParams.channelName||"TV",this.episode_id=this.route.snapshot.queryParams.episode_id,this.is_360="true"===this.route.snapshot.queryParams.is_360||!0===this.route.snapshot.queryParams.is_360,this.channel_id?(this.isLiveTV=!0,this.playLiveChannel(this.channel_id)):(this.getSingleMovieSeries(this.route.snapshot.params.id),this.generatePingURL(this.route.snapshot.queryParams.episode_id?this.route.snapshot.queryParams.episode_id:this.route.snapshot.params.id),this.ping_interval=setInterval(()=>{this.pingOtt(1)},55e3))}generatePingURL(t){this.pingUrl="https://apollon.ott.solutions/ping?sid_name=token&request_type=json",this.pingUrl+="&vid="+t;const e=localStorage.getItem("hid"),n=localStorage.getItem("token").replace(/['"]+/g,"");this.pingUrl+="&hid="+e,this.pingUrl+="&sid="+n,this.pingUrl+="&status="}pingOtt(t){const e=this,n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&&0!==t)switch(this.status){case 200:e.errorDisplay=!1;break;
2case 403:e.errorDisplay=!0,e.errorMessage="403",e.playerDestroy&&(e.playerDestroy(),e.player=null,clearInterval(e.ping_interval)),e.errorDisplay=!0,e.renderer.setStyle(document.body,"overflow","hidden");break;case 401:localStorage.removeItem("token"),e.router.navigate([""])}},n.open("GET",this.pingUrl+t,t),n.send()}goBack(){this.location.back()}time_convert(t){const e=Math.floor(t/60),n=t%60;return e>0?e+"h "+n+"m":n+"m"}ngOnDestroy(){return t=this,void 0,n=function*(){this.playerDestroy&&this.player&&(yield this.playerDestroy()),this.pingOtt(0),clearInterval(this.ping_interval),document.removeEventListener("keydown",this.pressedKeyListener),this.renderer.setStyle(document.body,"overflow-y","visible"),this.dispose()},new((e=void 0)||(e=Promise))((function(i,o){function r(t){try{l(n.next(t))}catch(e){o(e)}}function s(t){try{l(n.throw(t))}catch(e){o(e)}}function l(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(r,s)}l((n=n.apply(t,[])).next())}));var t,e,n}dispose(){this.subscription.forEach(t=>t.unsubscribe())}playLiveChannel(t){this.subscription.push(this.liveTvService.getChannelUrl(t).subscribe(t=>{t.channel_url?(this.stream_url=t.channel_url,this.initPlayerForLive(this.stream_url,this.channel_name)):(this.errorMessage="Gre\u0161ka pri u\u010ditavanju kanala",this.errorDisplay=!0)},t=>{this.errorMessage="Ve\u0107 gledate na maskimalnom broju ure\u0111aja",this.errorDisplayLogedIn=!0,this.renderer.setStyle(document.body,"overflow","hidden")}))}getSingleMovieSeries(t){this.subscription.push(this.dataStorage.getSingleMovieSeries(t).subscribe(t=>{this.movieSeries=t,this.subscription.push(this.episode_id?this.dataStorage.getStreamUrl(this.episode_id).subscribe(t=>{if(1===t.type)return this.errorMessage="Status 1",void(this.errorDisplay=!0);this.stream_url=t.stream_url,this.initPlayer(this.movieSeries,this.stream_url,this.episode_id)},t=>{this.errorMessage="Ve\u0107 gledate na maskimalnom broju ure\u0111aja",this.errorDisplayLogedIn=!0,this.renderer.setStyle(document.body,"overflow","hidden"),clearInterval(this.ping_interval)}):this.dataStorage.getStreamUrl(this.movieSeries.id).subscribe(t=>{if(this.stream_url=t.stream_url,1===t.type)return this.errorMessage="Status 1",void(this.errorDisplay=!0);this.initPlayer(this.movieSeries,this.stream_url)},t=>{this.errorMessage="Ve\u0107 gledate na maskimalnom broju ure\u0111aja",this.errorDisplayLogedIn=!0,this.renderer.setStyle(document.body,"overflow","hidden"),clearInterval(this.ping_interval)})),this.movieSeries.seasons&&(this.seasonCount=Array.from(Array(this.movieSeries.seasons_count).keys()),this.seasons=this.movieSeries.seasons,this.movieSeries.seasons.forEach((t,e)=>{for(let n=0;n<t.episodes.length;n++){const i=t.episodes[n];if(i.id===this.episode_id){let o;if(this.episode_title=i.title,this.selectedItem=i,this.season_title=t.season_number.toString(),this.activeSeason=t.season_number,this.activeSeason=parseFloat(String(this.activeSeason)),this.getEpisodes(this.activeSeason),n+1===t.episodes.length){const t=e+1;t<this.movieSeries.seasons.length&&this.movieSeries.seasons[t].episodes.length>0&&(o=this.movieSeries.seasons[t].episodes[0])}else o=t.episodes[n+1];o&&(this.upNext={title:o.title,cover:this.movieSeries.thumb_landscape_poster2_url.replace("http://","https://"),vod_id:this.movieSeries.id,episode_id:o.id})}}}))},t=>{this.errorMessage="Ve\u0107 gledate na maskimalnom broju ure\u0111aja",this.errorDisplayLogedIn=!0,this.renderer.setStyle(document.body,"overflow","hidden"),clearInterval(this.ping_interval)}))}reloadPage(){location.reload()}getEpisodes(t){this.activeSeason=t,this.episodes=this.movieSeries.seasons,this.episodes=this.episodes.filter(e=>e.season_number===t),this.episodes[0].episodes.forEach(t=>{t.length=this.getEpisodeDuration(t.id)})}getEpisodeDuration(t){let e=0,n=1;const i=localStorage.getItem("vod_"+t);if(i){const t=i.split("#");if(t.length>1)return e=parseFloat(t[0]),n=parseFloat(t[1]),e<=30?0:e/n*100}}setClassActive(t){this.episode_title=t.title,this.router.navigate([],{relativeTo:this.route,queryParams:{episode_id:t.id},replaceUrl:!0,queryParamsHandling:"merge"})}playNextEpisode(){this.upNext&&this.router.navigate([],{relativeTo:this.route,queryParams:{episode_id:this.upNext.episode_id},queryParamsHandling:"merge",skipLocationChange:!0})}initPlayer(t,e,n){n&&localStorage.setItem("vod_"+t.id,n.toString());const i=localStorage.getItem("vod_"+(n||t.id));let o=i?parseFloat(i.split("#")[0]):0;o<=30&&(o=0);const r=document.querySelector(".video-container");let s;const l=this;var a,c,u;document.querySelector(".video-container"),a=e,c=t.thumb_landscape_poster2_url.replace("http://","https://"),u=t.title,s=new bitmovin.player.Player(r,{key:"c5632f1d-e0fe-4098-a43d-5fd03a18875b",playback:{autoplay:!0,muted:!1}}),s.on(bitmovin.player.PlayerEvent.PlaybackFinished,()=>{l.upNext?l.upNext&&l.router.navigate([],{relativeTo:l.route,queryParams:{episode_id:l.upNext.episode_id},queryParamsHandling:"merge",skipLocationChange:!0}):l.playerEnded=!0}),s.on(bitmovin.player.PlayerEvent.SourceLoaded,()=>{l.showPrelodedControls=!0;const t=s.subtitles.list();for(const e of t)if("srp"===e.lang){s.subtitles.enable(e.id);break}}),s.on(bitmovin.player.PlayerEvent.TimeChanged,()=>{localStorage.setItem("vod_"+(n||t.id),`${s.getCurrentTime()}#${s.getDuration()}`)}),s.load({hls:a,poster:c,title:u||""}
2),l.player=s,l.playerDestroy=s.destroy}initPlayerForLive(t,e){const n=document.querySelector(".video-container");let i;const o=this;!function(t,e,r){i=new bitmovin.player.Player(n,{key:"c5632f1d-e0fe-4098-a43d-5fd03a18875b",playback:{autoplay:!0,muted:!1}}),i.on(bitmovin.player.PlayerEvent.SourceLoaded,()=>{o.showPrelodedControls=!0}),i.on(bitmovin.player.PlayerEvent.Error,t=>{console.error("Player error:",t),o.errorMessage="Gre\u0161ka pri reprodukciji",o.errorDisplay=!0});const s={hls:t,title:e};r&&(s.vr={contentType:"single",startPosition:0,stereo:!1}),i.load(s),o.player=i,o.playerDestroy=i.destroy}(t,e,this.is_360)}}var UC=Hn({encapsulation:0,styles:[['.poster[_ngcontent-%COMP%]{display:none;width:100%;height:100%;position:absolute;z-index:200;background-repeat:no-repeat;background-position:center;background-size:cover}.player-ended[_ngcontent-%COMP%]{display:flex;z-index:300;justify-content:center;align-items:center;position:absolute;background:rgba(0,0,0,.9);top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer;width:220px;font-size:18px;height:40px;font-family:AvenirNext;padding:8px 16px 8px 15.5px;border-radius:7.5px;box-shadow:10px 10px 10px 10px rgba(0,0,0,.21);border:.5px solid rgba(255,255,255,.25);background-color:rgba(255,255,255,.99)}.player-ended[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:18px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#000}.main-wrapper[_ngcontent-%COMP%]{position:relative;padding:0;height:100vh;display:flex;justify-content:center;align-items:center}.loader[_ngcontent-%COMP%]{position:relative;font-size:60px;text-align:center;margin:0;padding:0;z-index:11}.loader[_ngcontent-%COMP%] .loader-text[_ngcontent-%COMP%]{color:#fff}.loader[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%]{margin:20px auto auto;display:flex;justify-content:center;cursor:pointer;align-items:center;width:220px;height:40px;font-family:AvenirNext;padding:8px 16px 8px 15.5px;border-radius:7.5px;box-shadow:0 1px 5px 0 rgba(0,0,0,.21);border:.5px solid rgba(255,255,255,.25);background-color:rgba(255,255,255,.99)}.loader[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%]:hover{opacity:.8}.loader[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:11px;height:24px;margin:0 20px 4px 0;-o-object-fit:contain;object-fit:contain}.loader[_ngcontent-%COMP%] .info-button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:18px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#000}.loader[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{margin-top:40px;font-size:50px;border-left:2px solid red;color:#fff}.noise-wrapper[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;height:100%;opacity:1;overflow:hidden;z-index:10}.noise-wrapper[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,rgba(0,0,0,0) 0,rgba(0,0,0,.75) 100%)}.noise[_ngcontent-%COMP%]{position:absolute;top:-500px;right:-500px;bottom:-500px;left:-500px;background:url(https://www.dropbox.com/s/h7ab1c82ctzy83n/noise.png?raw=1) 0 0/320px 320px;opacity:.35;-webkit-animation:1s steps(8,end) infinite both noise;animation:1s steps(8,end) infinite both noise}@-webkit-keyframes noise{0%{transform:translateX(0,0)}10%,100%,30%{transform:translate(-100px,100px)}20%{transform:translate(150px,-100px)}40%,80%{transform:translate(100px,-150px)}50%{transform:translate(-100px,200px)}60%{transform:translate(-200px,-100px)}70%{transform:translateY(50px,100px)}90%{transform:translate(0,200px)}}@keyframes noise{0%{transform:translateX(0,0)}10%,100%,30%{transform:translate(-100px,100px)}20%{transform:translate(150px,-100px)}40%,80%{transform:translate(100px,-150px)}50%{transform:translate(-100px,200px)}60%{transform:translate(-200px,-100px)}70%{transform:translateY(50px,100px)}90%{transform:translate(0,200px)}}.video-container[_ngcontent-%COMP%]{width:100%;height:100%;z-index:200;overflow:hidden;display:flex;justify-content:center;align-items:center}.video-container[_ngcontent-%COMP%] .theoplayer-texttracks[_ngcontent-%COMP%]{display:none!important}.video-container[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%}.video-container[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%]{position:fixed;top:1.5vw;left:1vw;z-index:5}.video-container[_ngcontent-%COMP%] .controls-container[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.9));transition:opacity .5s linear;z-index:5}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.video-container[_ngcontent-%COMP%] .time-table[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;width:100%}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .time-remaining[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .time-total[_ngcontent-%COMP%]{margin:1v
2w 2vw;text-shadow:0 2px 2px rgba(0,0,0,.4)}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%]{width:97vw;margin-left:1vw;height:1vw;max-height:7px;background-image:linear-gradient(to left,transparent 1vw,rgba(39,39,39,.5) 1vw,rgba(39,39,39,.5) 100%);background-image:-o-linear-gradient(to left,transparent 1vw,rgba(39,39,39,.5) 1vw,rgba(39,39,39,.5) 100%);display:flex;align-items:center;cursor:pointer;border-radius:35px}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] .background[_ngcontent-%COMP%]{background:#5b5b5b;padding-right:1.5vw;padding-left:1.5vw;width:100%;height:1vw;position:absolute;max-height:7px;border-radius:35px}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] .playhead[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] .watched-bar[_ngcontent-%COMP%]{background:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%) left/30px 30px repeat-x,linear-gradient(to right,red 0,#ff0 50%,green 100%) left/var(--p,100%) fixed,#d3d3d3;display:inline-block}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] .watched-bar[_ngcontent-%COMP%]{height:110%;width:.3%;border-top-left-radius:35px;border-bottom-left-radius:35px}.video-container[_ngcontent-%COMP%] .progress-controls[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] .playhead[_ngcontent-%COMP%]{height:3vw;width:3vw;max-height:26px;max-width:26px;border-radius:50%;transform:translateX(-50%)}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center}.video-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:0 0;outline:0;box-shadow:none;border:none;width:5vw;height:5vw;min-width:50px;min-height:50px;margin:0 1vw;opacity:.4;transform:scale(.9);transition:all .2s ease-in-out;cursor:pointer}.video-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{opacity:1;transform:scale(1.1)}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#fff;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.cast[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.episodes[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.full-screen[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.help[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.volume[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:none}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.fast-forward[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.rewind[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{stroke:none}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.captions[_ngcontent-%COMP%]{display:none}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] button.captions[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{stroke:none}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.8vw;width:100%;height:100%;display:flex;justify-content:flex-start;align-items:baseline}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .series[_ngcontent-%COMP%]{color:#fefefe;font-weight:700;font-size:.8em;text-shadow:0 2px 2px rgba(0,0,0,.4)}.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .episode[_ngcontent-%COMP%]{color:#a1a1a1;font-size:.5em;padding-left:1vw;text-shadow:0 2px 2px rgba(0,0,0,.4)}@media only screen and (max-width:768px){.video-container[_ngcontent-%COMP%] .controls[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:none}}.play-pause[_ngcontent-%COMP%]{margin:0 1vw 0 1.5vw!important}.full-screen[_ngcontent-%COMP%]{margin:0 1.5vw 0 1vw!important}.loader-center[_ngcontent-%COMP%]{position:fixed;z-index:3;height:40px;width:40px;overflow:visible;margin:auto;top:0;left:0;bottom:0;right:0}.sk-center[_ngcontent-%COMP%]{margin:auto}.sk-chase[_ngcontent-%COMP%]{width:40px;height:40px;position:relative;-webkit-animation:2.5s linear infinite both sk-chase;animation:2.5s linear infinite both sk-chase}
2.sk-chase-dot[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0;-webkit-animation:2s ease-in-out infinite both sk-chase-dot;animation:2s ease-in-out infinite both sk-chase-dot}.sk-chase-dot[_ngcontent-%COMP%]:before{content:"";display:block;width:25%;height:25%;background-color:#fff;border-radius:100%;-webkit-animation:2s ease-in-out infinite both sk-chase-dot-before;animation:2s ease-in-out infinite both sk-chase-dot-before}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(1){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1s;animation-delay:-1s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.8s;animation-delay:-.8s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.7s;animation-delay:-.7s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.6s;animation-delay:-.6s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(1):before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:-1s;animation-delay:-1s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(5):before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.sk-chase-dot[_ngcontent-%COMP%]:nth-child(6):before{-webkit-animation-delay:-.6s;animation-delay:-.6s}@-webkit-keyframes sk-chase{100%{transform:rotate(360deg)}}@keyframes sk-chase{100%{transform:rotate(360deg)}}@-webkit-keyframes sk-chase-dot{100%,80%{transform:rotate(360deg)}}@keyframes sk-chase-dot{100%,80%{transform:rotate(360deg)}}@-webkit-keyframes sk-chase-dot-before{50%{transform:scale(.4)}0%,100%{transform:scale(1)}}@keyframes sk-chase-dot-before{50%{transform:scale(.4)}0%,100%{transform:scale(1)}}.center-controls[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;opacity:0}.center-full-hit-zone[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;opacity:1;z-index:5}.center-controls-button[_ngcontent-%COMP%]{fill:#fff;position:absolute;opacity:.7;top:0;bottom:0;right:0;left:0;margin:auto;transform:scale(1);width:50%;height:100%;z-index:4}.nf-big-play-pause[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.nf-big-play-pause[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.4);position:relative;border:none;border-radius:50%;font-size:1em;width:2.5em;height:2.5em;padding:0;-webkit-animation-duration:750ms;animation-duration:750ms;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;cursor:pointer;transform:scale(1);transition:transform .2s}.center-controls[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;align-items:center;justify-content:center;opacity:0;font-size:4em;z-index:4;-webkit-animation-duration:750ms;animation-duration:750ms;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;cursor:pointer;transform:scale(1);transition:transform .2s}.center-controls.active[_ngcontent-%COMP%]{opacity:1}.fade-in[_ngcontent-%COMP%]{animation:.3s fadeIn;-webkit-animation:.3s fadeIn;-moz-animation:.7s fadeIn;-o-animation:.7s fadeIn;-ms-animation:fadeIn ease .7s}@keyframes fadeIn{0%{opacity:0;transform:scale(.5)}90%{opacity:1;transform:scale(1.3)}95%{opacity:.5;transform:scale(1.4)}100%{transform:scale(1.5);opacity:0}}@-webkit-keyframes fadeIn{0%,100%{opacity:0}75%{opacity:1;transform:scale(1)}}.ellipsize-text[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:normal}.thumbnail[_ngcontent-%COMP%] .info-icon[_ngcontent-%COMP%]{overflow:visible}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%]{position:absolute;background-color:#333;bottom:-1000px;visibility:hidden;text-decoration:none;border-radius:7px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-picker[_ngcontent-%COMP%]{text-align:left;padding:15px 20px;font-size:18px;display:flex;align-items:center;color:#aaa}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-picker[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:left;color:#fff}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-picker[_ngcontent-%COMP%] .carret-down[_ngcontent-%COMP%]{fill:#fff;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;width:7px;height:4px;padding-left:10px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-content[_ngcontent-%COMP%]{display:none;position:absolute;
2left:-161px;top:0;background-color:#333;min-width:160px;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);font-size:18px;z-index:1}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:12px 16px;margin:0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:hover{background:#444}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%]{height:400px;overflow-y:scroll}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container.next-episode[_ngcontent-%COMP%]{height:auto;overflow:hidden}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-content[_ngcontent-%COMP%] .active-season[_ngcontent-%COMP%]{color:#fff;background:#111}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .season-picker[_ngcontent-%COMP%]:hover .season-content[_ngcontent-%COMP%]{display:block}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%]{display:flex;padding:10px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .active-episode[_ngcontent-%COMP%]{background:#111}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%]:hover{background:#444}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%]{padding:5px;display:flex;flex-direction:column}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-width:0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%] progress[_ngcontent-%COMP%]{background-color:#5b5b5b;border:0;height:3px;width:150px;border-top-right-radius:40%}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%] progress[_ngcontent-%COMP%]::-webkit-progress-value{background-color:#ac0204}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%]{text-align:left;padding:5px;height:85px;width:210px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;color:#fff}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{height:45px;overflow-y:hidden;font-size:13px;color:#999}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%]{height:auto}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%]{display:flex;align-items:center}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%]:hover{background:#444}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%]{padding:5px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .thumbnail-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;border-width:0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%]{text-align:left;padding:5px;width:210px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#fff}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .flex-container[_ngcontent-%COMP%] .descriptions[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13px;color:#999}.thumbnail[_ngcontent-%COMP%]:hover .popup-container[_ngcontent-%COMP%]{visibility:visible;bottom:5vw;right:0;z-index:50}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .episodes-container[_ngcontent-%COMP%] .separator[_ng
2content-%COMP%]{margin:0 5px;height:1px;background:#414141;box-shadow:0 1px #2a2a2a}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .captions-container[_ngcontent-%COMP%]{width:200px;text-align:left;margin:10px 0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .captions-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#aaa;font-size:18px;font-weight:400;padding:12px 16px;margin:0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .captions-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]:hover{background:#444}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .captions-container[_ngcontent-%COMP%] .active-caption[_ngcontent-%COMP%]{background:#111;color:#fff}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .help[_ngcontent-%COMP%]{width:220px;margin:0;padding:12px 16px}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .help[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-size:18px;font-weight:400;text-decoration:none}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .help[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .volume-bar[_ngcontent-%COMP%]{width:37px;height:170px;margin:0}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .volume-bar[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{width:130px;height:7px;transform:rotate(-90deg);position:absolute;left:-48px;top:80px;border-radius:0;overflow:hidden;-webkit-appearance:none;background-color:#5b5b5b;z-index:0;outline:0;cursor:pointer}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .volume-bar[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#ac0204;width:.1px;height:.1px;border-radius:35px;box-shadow:-100vw 0 0 100vw #ac0204}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .volume-bar[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-moz-range-thumb{-webkit-appearance:none;background-color:#ac0204;width:0;height:0;border-radius:35px;box-shadow:-100vw 0 0 100vw #ac0204}.thumbnail[_ngcontent-%COMP%] .popup-container[_ngcontent-%COMP%] .volume-bar[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-ms-thumb{-webkit-appearance:none;background-color:#ac0204;width:20px;height:20px;border-radius:35px;box-shadow:-100vw 0 0 100vw #ac0204}.subtitles[_ngcontent-%COMP%]{z-index:3;position:absolute;bottom:12.5%}.text-track-container[_ngcontent-%COMP%]{white-space:nowrap;text-align:center}.text-track[_ngcontent-%COMP%]{font-size:46px;line-height:normal;color:#fff;text-shadow:#000 0 0 7px;font-family:Netflix Sans,Helvetica Nueue,Helvetica,Arial,sans-serif;font-weight:bolder}.player-gradient-top[_ngcontent-%COMP%]{top:0;background-image:linear-gradient(to bottom,rgba(0,0,0,.7) 0,rgba(0,0,0,0) 100%)}.player-gradient-bottom[_ngcontent-%COMP%]{bottom:0;background-image:linear-gradient(to top,rgba(0,0,0,.7) 0,rgba(0,0,0,0) 100%)}.player-gradient[_ngcontent-%COMP%]{position:absolute;left:0;right:0;height:20%;opacity:0;transition:opacity .3s ease;will-change:opacity;z-index:2}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%]{display:none;flex-direction:row;background-color:rgba(0,0,0,.5);position:absolute;right:0;bottom:15%;height:150px;z-index:7}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .upnext-poster[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:150px;width:266px}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .timer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .timer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto;padding:2px 10px;color:#fff;font-size:2em}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%]{margin:7px 10px;display:flex;flex-direction:column;justify-content:space-around}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.8em;font-weight:400;text-transform:uppercase;color:#da1619;margin:0}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] h4[_ng
2content-%COMP%]{font-size:1.8em;color:#fff;margin:0;width:300px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;height:40px}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%], .video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .watchnow[_ngcontent-%COMP%]{border-radius:35px;border:0;margin:5px 0;padding:0;height:45px;width:150px;min-height:25px;font-size:1.2em;color:#fff}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]:hover, .video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .watchnow[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{background:#777;opacity:1;cursor:pointer}.video-container[_ngcontent-%COMP%] .upnext-container[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .watchnow[_ngcontent-%COMP%]{background:#da1619;opacity:1;cursor:pointer} .bmpui-ui-subtitle-overlay{display:block!important;font-size:4rem!important;margin-bottom:1.5rem!important} .bmpui-ui-watermark{display:none!important} .bmpui-ui-seekbar .bmpui-seekbar-playbackposition{background-color:#ac0204!important} .bmpui-ui-seekbar .bmpui-seekbar-playbackposition-marker{background-color:#ac0204!important;border-color:#ac0204!important} .bmpui-ui-volumeslider .bmpui-seekbar-playbackposition{background-color:#ac0204!important} .bmpui-ui-volumeslider .bmpui-seekbar-playbackposition-marker{background-color:#ac0204!important;border-color:#ac0204!important}']],data:{}});function WC(t){return Qr(0,[(t()(),Dr(0,0,null,null,7,"div",[["class","loader-center"],["id","loader"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,6,"div",[["class","sk-chase"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null)),(t()(),Dr(7,0,null,null,0,"div",[["class","sk-chase-dot"]],null,null,null,null,null))],null,null)}function qC(t){return Qr(0,[(t()(),Dr(0,0,null,null,12,"div",[["class","main-wrapper"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"div",[["class","noise-wrapper"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"div",[["class","noise"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,9,"div",[["class","loader"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","loader-text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Do\u0161lo je do gre\u0161ke"])),(t()(),Dr(6,0,null,null,4,"div",[["class","info-button"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,7).onClick()&&i),i}),null,null)),Yi(7,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Dr(8,0,null,null,2,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Apolon Po\u010detna "])),(t()(),Dr(10,0,null,null,0,"img",[["class","apollon-logo-beli"],["height","30"],["src","../../assets/images/apollon_logo/apollon-logo.svg"],["width","30"]],null,null,null,null,null)),(t()(),Dr(11,0,null,null,1,"div",[["class","error-message"]],null,null,null,null,null)),(t()(),Gr(12,null,["Gre\u0161ka: ",""]))],(function(t,e){t(e,7,0,"home")}),(function(t,e){t(e,12,0,e.component.errorMessage)}))}function GC(t){return Qr(0,[(t()(),Dr(0,0,null,null,10,"div",[["class","main-wrapper"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,1,"div",[["class","noise-wrapper"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,0,"div",[["class","noise"]],null,null,null,null,null)),(t()(),Dr(3,0,null,null,7,"div",[["class","loader"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,1,"div",[["class","loader-text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Do\u0161lo je do gre\u0161ke"])),(t()(),Dr(6,0,null,null,2,"div",[["class","info-button"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.reloadPage()&&i),i}),null,null)),(t()(),Dr(7,0,null,null,1,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Poku\u0161ajte Ponovo"])),(t()(),Dr(9,0,null,null,1,"div",[["class","error-message"]],null,null,null,null,null)),(t()(),Gr(10,null,["Gre\u0161ka: ",""]))],null,(function(t,e){t(e,10,0,e.component.errorMessage)}))}function KC(t){return Qr(0,[(t()(),Dr(0,0,null,null,5,"div",[["class","player-ended"]],null,[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,1).onClick()&&i),i}),null,null)),Yi(1,16384,null,0,Sg,[kg,_d,[8,null],rn,Je],{routerLink:[0,"routerLink"]},null),(t()(),Dr(2,0,null,null,1,"div",[["class","text"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Apolon Po\u010detna"])),(t()(),Gr(-1,null,[" \xa0 "])),(t()(),Dr(5,0,null,null,0,"img",[["class","apollon-logo-beli"],["height","30"],["src","../../assets/images/apollon_logo/apollon-logo.svg"],["width","30"]],null,null,null,null,null))],(function(t,e){t(e,1,0,"home")}),null)}function XC(t){return Qr(0,[(t()(),Dr(0,0,null,null,2,"div",[["class","video-container"]],null,null,null,null,null)),(t()(),Ir(16777216,null,null,1,null,KC)),Yi(2,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){t(e,2,0,e.component.playerEnded)}),null)}function QC(t){return Qr(0,[(t()(),Ir(16777216,null,null,1,null,WC)),Yi(1,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,qC)),Yi(3,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,GC)),Yi(5,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,XC)),Yi(7,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,1,0,!n.errorDisplay&&!n.errorDisplayLogedIn),t(e,3,0,n.errorDisplay),t(e,5,0,n.errorDisplayLogedIn),t(e,7,0,!n.errorDisplay)}),null)}function ZC(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-player",[],null,
2null,null,QC,UC)),Yi(1,245760,null,0,$C,[rn,jf,_d,kg,Ia,by],null,null)],(function(t,e){t(e,1,0)}),null)}var YC=Si("app-player",$C,ZC,{},{},[]);class JC{constructor(t,e){this.apollonCCService=t,this.router=e,this.isLoading=!1,this.message=""}ngOnInit(){this.loadRecaptchaScript(),this.initForm()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}initForm(){this.form=new om({fullName:new im("",[Op.required]),email:new im("",Op.required),phone:new im("",Op.required),username:new im("",Op.required)})}onSubmit(){if(this.isLoading)return;this.isLoading=!0,this.errorMessage="";const t=this.form.value.fullName,e=this.form.value.email,n=this.form.value.phone,i=this.form.value.username;t&&e&&n&&i?window.grecaptcha.execute("6LclEsMqAAAAANr5ggTcYrtBZmAkTBnTMl-ip6Z1",{action:"submit"}).then(o=>{const r={fullName:t,email:e,phone:n,username:i,recaptchaResponse:o};document.getElementById("submit").innerHTML='<i class="fa fa-spinner fa-spin"></i> Molimo sa\u010dekajte',this.subscription=this.apollonCCService.deleteAccount(r).subscribe(t=>{this.message=t.message},t=>{this.errorMessage=t.error.message,document.getElementById("submit").innerHTML="Podnesi zahtev"}).add(()=>{this.isLoading=!1})}):""!==t&&""!==e&&""!==n&&""!==i||(this.isLoading=!1,this.errorMessage="Niste uneli sve potrebne podatke")}loadRecaptchaScript(){const t=document.createElement("script");t.src="https://www.google.com/recaptcha/api.js?render=6LclEsMqAAAAANr5ggTcYrtBZmAkTBnTMl-ip6Z1",t.async=!0,t.defer=!0,document.body.appendChild(t),t.onload=()=>{console.log("reCAPTCHA script loaded")},t.onerror=()=>{console.error("Failed to load the reCAPTCHA script")}}}let tb=(()=>{class t{constructor(t){this.http=t,this.BASE_URL="https://payment.apollon.video"}deleteAccount(t){const e=new lf({"Content-Type":"application/json"});return this.http.post(this.BASE_URL+"/delete-account",t,{headers:e})}}return t.ngInjectableDef=gt({factory:function(){return new t(It(bf))},token:t,providedIn:"root"}),t})();var eb=Hn({encapsulation:0,styles:[['@charset "UTF-8";h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy,sans-serif}h1[_ngcontent-%COMP%]{font-size:70px}h2[_ngcontent-%COMP%]{font-size:28px}.step[_ngcontent-%COMP%]{display:none;flex-direction:column}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-webkit-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-moz-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::-ms-input-placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}input[_ngcontent-%COMP%], input[_ngcontent-%COMP%]::placeholder, select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{caret-color:#ac0204}header[_ngcontent-%COMP%]{margin:0 auto;padding:0 15px;max-width:400px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;margin:20px auto 0;width:85px;height:74px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:85px;height:74px}.bd-bgd[_ngcontent-%COMP%]{background:url(bgd.fd261059d3cf7ed17c99.png) center/cover}.bgd-overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.9);min-height:100vh;overflow:hidden;display:block;position:relative;padding-bottom:210px;box-sizing:border-box}.container[_ngcontent-%COMP%]{max-width:280px;margin:60px auto 0;padding:0 15px}.container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;text-align:center}.container[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:160px;height:160px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:AvenirNext-Medium}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;gap:10px;flex-direction:row}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .half-width[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:150px;width:100%}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:31px;margin-bottom:25px;padding:20px 30px;background:rgba(70,70,70,.4);border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:25px;padding:4px 30px;background:url(arrow.fe7fa6105a97b5567bd2.svg) no-repeat;border:1px solid #666;border-radius:60px;font-size:16px;outline:0;color:#fff;font-family:AvenirNext-Medium,serif;height:73px;background-position:right 25px center;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:15px;text-align:right;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%]{color:#fff;font-size:12px;margin-bottom:25px;display:none}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .disclaimer[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .red[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%]{color:#fff;font-size:18px;margin-bottom:25px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .sms[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-family:AvenirNext-Bold,sans-serif;color:#ac0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .1s ease-out;height:55px;margin-bottom:25px;background:#ac0204;color:#fff;border:0;border-radius:60px;font-family:AvenirNext-Bold;font-size:16px;text-transform:uppercase;outline:0;cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;height:100%;text-decoration:none;color:#fff;margin-left:0;margin-right:0;padding-left:0;padding-right:0;display:flex;justify-content:center;align-items:center;text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#8e0204;transform:scale(1.1);transition:all .1s ease-in-out}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;position:relative;outline:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#7
277;padding:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border:1px solid #666;border-radius:4px;outline:0;transition-duration:.3s;background-color:rgba(70,70,70,.4);cursor:pointer}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked{border:0;background-color:#8e0204}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]::before{content:"\u2713";display:block;text-align:center;color:#fff;position:absolute;left:8px;top:3px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-top:50px;color:#fff}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{display:none;flex-direction:row;background:#f9461c;padding:15px;border-radius:5px;margin-bottom:20px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px;flex-grow:1}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:0;margin:0 15px;flex-grow:3}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding:0;margin:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0;margin:0;font-size:14px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:110px;height:110px;border-radius:50%;padding-top:10px;margin-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button-picker[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:AvenirNext-Heavy;font-size:16px;color:#fff;text-transform:uppercase}[type=radio][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:not(:checked){position:absolute;left:-9999px}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]{position:relative;padding-left:28px;cursor:pointer;line-height:20px;display:inline-block;color:#666}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before, [type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:18px;height:18px;border:1px solid #666;border-radius:100%;background:rgba(70,70,70,.4)}[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:1;transform:scale(1)}[type=radio][_ngcontent-%COMP%]:not(:checked) + label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;background:#ac0204;position:absolute;top:4px;left:4px;border-radius:100%;transition:all .2s ease;opacity:0;transform:scale(0)}.center[_ngcontent-%COMP%]{text-align:center!important}footer[_ngcontent-%COMP%]{width:100%;height:210px;margin:0 auto;border-top:1px solid #181818;position:absolute;bottom:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:AvenirNext-Medium}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;margin:0 15px;color:#fff;text-decoration:none}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ac0204}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center;font-size:14px;color:#555;margin:0;padding:15px 0}@media only screen and (max-width:415px){h1[_ngcontent-%COMP%]{font-size:36px}h2[_ngcontent-%COMP%]{font-size:20px}header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:55px;height:50px}.bgd-overlay[_ngcontent-%COMP%]{padding-bottom:110px}.container[_ngcontent-%COMP%]{margin-top:30px;padding-bottom:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=email][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=tel][_ngcontent-%COMP%], .container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{height:18px;margin-bottom:15px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{margin-bottom:15px;height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:60px}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .link-right[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{flex-direction:column}footer[_ngcontent-%COMP%]{display:block;position:relative;margin:15px 0;
2height:310px}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;padding:15px 0}footer[_ngcontent-%COMP%] .footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 0}footer[_ngcontent-%COMP%] .footer-copy[_ngcontent-%COMP%]{text-align:center;padding-bottom:15px}}.logos[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;flex-direction:row;width:100%;justify-content:center}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:45px}.logos[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:20px}@media screen and (max-width:700px){.logos[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:15px;text-align:center}}.cc-icons-container[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:10px}.cc-icons-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:35px}.tos-container[_ngcontent-%COMP%]{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:15px;color:#fff;font-family:AvenirNext-Medium,serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:25px;width:25px;background-color:#eee}.tos-container[_ngcontent-%COMP%]:hover input[_ngcontent-%COMP%] ~ .checkmark[_ngcontent-%COMP%]{background-color:#ccc}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#ac0204}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.tos-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.tos-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}.allsecure_container[_ngcontent-%COMP%]{height:73px;margin-bottom:25px}@media screen and (max-width:415px){.allsecure_container[_ngcontent-%COMP%]{height:60px;margin-bottom:15px}}.wide-container[_ngcontent-%COMP%]{margin:60px auto 0;padding:0 15%;color:#fff;font-family:AvenirNext-Medium,serif}.payment-details[_ngcontent-%COMP%]{display:none}.payment-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:gray!important}h5[_ngcontent-%COMP%]{font-family:AvenirNext-Medium,serif;color:#fff;font-size:18px}']],data:{}});function nb(t){return Qr(0,[(t()(),Dr(0,0,null,null,35,"form",[["class","form-info"],["method","post"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(t,e,n){var i=!0,o=t.component;return"submit"===e&&(i=!1!==Fi(t,2).onSubmit(n)&&i),"reset"===e&&(i=!1!==Fi(t,2).onReset()&&i),"ngSubmit"===e&&(i=!1!==o.onSubmit()&&i),i}),null,null)),Yi(1,16384,null,0,pm,[],null,null),Yi(2,540672,null,0,fm,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),Ji(2048,null,fp,null,[fm]),Yi(4,16384,null,0,bp,[[4,fp]],null,null),(t()(),Dr(5,0,null,null,5,"input",[["formControlName","fullName"],["name","account-email"],["placeholder","Ime i prezime"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,6)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,6).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,6)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,6)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(6,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(8,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(10,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(11,0,null,null,5,"input",[["formControlName","email"],["name","account-email"],["placeholder","E-mail"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,12)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,12).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,12)._c
2ompositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,12)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(12,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(14,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(16,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(17,0,null,null,5,"input",[["formControlName","phone"],["name","account-email"],["placeholder","Telefon"],["type","tel"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,18)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,18).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,18)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,18)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(18,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(20,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(22,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(23,0,null,null,5,"input",[["formControlName","username"],["name","account-password"],["placeholder","Korisni\u010dko ime"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(t,e,n){var i=!0;return"input"===e&&(i=!1!==Fi(t,24)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Fi(t,24).onTouched()&&i),"compositionstart"===e&&(i=!1!==Fi(t,24)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Fi(t,24)._compositionEnd(n.target.value)&&i),i}),null,null)),Yi(24,16384,null,0,pp,[rn,Je,[2,gp]],null,null),Ji(1024,null,dp,(function(t){return[t]}),[pp]),Yi(26,671744,null,0,bm,[[3,fp],[8,null],[8,null],[6,dp],[2,mm]],{name:[0,"name"]},null),Ji(2048,null,vp,null,[bm]),Yi(28,16384,null,0,Cp,[[4,vp]],null,null),(t()(),Dr(29,0,null,null,4,"div",[["class","error"]],null,null,null,null,null)),Ji(512,null,Za,Ya,[Je,Cn,rn]),Yi(31,278528,null,0,tc,[Za],{ngStyle:[0,"ngStyle"]},null),Wr(32,{display:0}),(t()(),Gr(33,null,["",""])),(t()(),Dr(34,0,null,null,1,"button",[["id","submit"],["type","submit"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Podnesi zahtev"]))],(function(t,e){var n=e.component;t(e,2,0,n.form),t(e,8,0,"fullName"),t(e,14,0,"email"),t(e,20,0,"phone"),t(e,26,0,"username");var i=t(e,32,0,n.errorMessage?"unset":"none");t(e,31,0,i)}),(function(t,e){var n=e.component;t(e,0,0,Fi(e,4).ngClassUntouched,Fi(e,4).ngClassTouched,Fi(e,4).ngClassPristine,Fi(e,4).ngClassDirty,Fi(e,4).ngClassValid,Fi(e,4).ngClassInvalid,Fi(e,4).ngClassPending),t(e,5,0,Fi(e,10).ngClassUntouched,Fi(e,10).ngClassTouched,Fi(e,10).ngClassPristine,Fi(e,10).ngClassDirty,Fi(e,10).ngClassValid,Fi(e,10).ngClassInvalid,Fi(e,10).ngClassPending),t(e,11,0,Fi(e,16).ngClassUntouched,Fi(e,16).ngClassTouched,Fi(e,16).ngClassPristine,Fi(e,16).ngClassDirty,Fi(e,16).ngClassValid,Fi(e,16).ngClassInvalid,Fi(e,16).ngClassPending),t(e,17,0,Fi(e,22).ngClassUntouched,Fi(e,22).ngClassTouched,Fi(e,22).ngClassPristine,Fi(e,22).ngClassDirty,Fi(e,22).ngClassValid,Fi(e,22).ngClassInvalid,Fi(e,22).ngClassPending),t(e,23,0,Fi(e,28).ngClassUntouched,Fi(e,28).ngClassTouched,Fi(e,28).ngClassPristine,Fi(e,28).ngClassDirty,Fi(e,28).ngClassValid,Fi(e,28).ngClassInvalid,Fi(e,28).ngClassPending),t(e,33,0,n.errorMessage)}))}function ib(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"h5",[],null,null,null,null,null)),(t()(),Gr(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.message)}))}function ob(t){return Qr(0,[(t()(),Dr(0,0,null,null,26,"div",[["class","bd-bgd"]],null,null,null,null,null)),(t()(),Dr(1,0,null,null,25,"div",[["class","bgd-overlay"]],null,null,null,null,null)),(t()(),Dr(2,0,null,null,2,"header",[],null,
2null,null,null,null)),(t()(),Dr(3,0,null,null,1,"div",[["class","logo"]],null,null,null,null,null)),(t()(),Dr(4,0,null,null,0,"img",[["alt","Apollon logo"],["src","../../assets/images/apollon_logo/apollon-logo.svg"]],null,null,null,null,null)),(t()(),Dr(5,0,null,null,7,"section",[["class","container"]],null,null,null,null,null)),(t()(),Dr(6,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Gr(-1,null,["Brisanje naloga"])),(t()(),Ir(16777216,null,null,1,null,nb)),Yi(9,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Ir(16777216,null,null,1,null,ib)),Yi(11,16384,null,0,Ka,[wn,On],{ngIf:[0,"ngIf"]},null),(t()(),Dr(12,0,null,null,0,"div",[],null,null,null,null,null)),(t()(),Dr(13,0,null,null,13,"footer",[],null,null,null,null,null)),(t()(),Dr(14,0,null,null,9,"div",[["class","footer-links"]],null,null,null,null,null)),(t()(),Dr(15,0,null,null,1,"a",[["href","https://register.apollon.rs/faq"]],null,null,null,null,null)),(t()(),Gr(-1,null,["\u010cesto postavljana pitanja"])),(t()(),Dr(17,0,null,null,1,"a",[["href","https://register.apollon.rs/uslovi"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Uslovi kori\u0161\u0107enja"])),(t()(),Dr(19,0,null,null,1,"a",[["href","https://register.apollon.rs/privatnost"]],null,null,null,null,null)),(t()(),Gr(-1,null,["Politika privatnosti"])),(t()(),Dr(21,0,null,null,2,"a",[["routerLink","/contact-apollon"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Fi(t,22).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),Yi(22,671744,null,0,Eg,[kg,_d,Ta],{routerLink:[0,"routerLink"]},null),(t()(),Gr(-1,null,["Kontakt"])),(t()(),Dr(24,0,null,null,2,"div",[["class","footer-copy"]],null,null,null,null,null)),(t()(),Dr(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Gr(-1,null,["\xa9 2025 Apollon. Sva prava zadr\u017eana."]))],(function(t,e){var n=e.component;t(e,9,0,!n.message),t(e,11,0,n.message),t(e,22,0,"/contact-apollon")}),(function(t,e){t(e,21,0,Fi(e,22).target,Fi(e,22).href)}))}function rb(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-delete-account",[],null,
2null,null,ob,eb)),Yi(1,245760,null,0,JC,[tb,kg],null,null)],(function(t,e){t(e,1,0)}),null)}var sb=Si("app-delete-account",JC,rb,{},{},[]);const lb=new ln("8.2.3");let ab=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(CO){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===ub(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),o=ub(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||cb(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(wm))},token:t,providedIn:"root"}),t})();function cb(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function ub(t){if(!cb(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class hb{constructor(t,e,n,i,o=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Kt()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focu
2s(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Uc(1)).subscribe(t)}}let db=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new hb(t,this._checker,this._ngZone,this._document,e)}}return t.ngInjectableDef=gt({factory:function(){return new t(It(ab),It(Xo),It(lc))},token:t,providedIn:"root"}),t})();class gb{}const pb=new ln("8.2.3"),mb=new Mt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});class fb{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Kt()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){pb.full!==lb.full&&console.warn("The Angular Material version ("+pb.full+") does not match the Angular CDK version ("+lb.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}let _b;try{_b="undefined"!=typeof Intl}catch(CO){_b=!1}const vb=new Mt("MAT_HAMMER_OPTIONS"),yb=["longpress","slide","slidestart","slideend","slideright","slideleft"],Cb={on:()=>{},off:()=>{}};class bb extends class{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}{constructor(t,e){super(),this._hammerOptions=t,this.events=yb,e&&e._checkHammerIsAvailable()}buildHammer(t){const e="undefined"!=typeof window?window.Hammer:null;if(!e)return Cb;const n=new e(t,this._hammerOptions||void 0),i=new e.Pan,o=new e.Swipe,r=new e.Press,s=this._createRecognizer(i,{event:"slide",threshold:0},o),l=this._createRecognizer(r,{event:"longpress",time:500});return i.recognizeWith(o),l.recognizeWith(s),n.add([o,r,i,s,l]),n}_createRecognizer(t,e,...n){let i=new t.constructor(e);
2return n.push(t),n.forEach(t=>i.recognizeWith(t)),i}}var Pb=Hn({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function xb(t){return Qr(0,[(t()(),Ir(0,null,null,0))],null,null)}function Ob(t){return Qr(0,[zr(402653184,1,{_portalOutlet:0}),(t()(),Ir(16777216,null,null,1,null,xb)),Yi(2,212992,[[1,4]],0,Ov,[Xe,wn],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}function Mb(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==Fi(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==Fi(t,1)._onAnimationDone(n)&&i),i}),Ob,Pb)),Yi(1,49152,null,0,dy,[Je,db,Pe,[2,lc],uy],null,null)],null,(function(t,e){t(e,0,0,Fi(e,1)._id,Fi(e,1)._config.role,Fi(e,1)._config.ariaLabel?null:Fi(e,1)._ariaLabelledBy,Fi(e,1)._config.ariaLabel,Fi(e,1)._config.ariaDescribedBy||null,Fi(e,1)._state)}))}var wb=Si("mat-dialog-container",dy,Mb,{},{},[]);const kb=new Mt("mat-tooltip-scroll-strategy");function Sb(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}class Eb{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new k,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}class Tb{}let Ab=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.ngInjectableDef=gt({factory:function(){return new t},token:t,providedIn:"root"}),t})();class Ib{}var Db=Hn({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0}
2,offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function Lb(t){return Qr(2,[(t()(),Dr(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var i=!0,o=t.component;return"@state.start"===e&&(i=!1!==o._animationStart()&&i),"@state.done"===e&&(i=!1!==o._animationDone(n)&&i),i}),null,null)),Ji(512,null,Ba,Ha,[yn,Cn,Je,rn]),Yi(2,278528,null,0,Ua,[Ba],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e=131072,n=rc,i=[Pe],to(-1,e|=16,null,0,n,n,i)),(t()(),Gr(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=function(t,e,n,i){if(Fe.isWrapped(i)){i=Fe.unwrap(i);const e=t.def.nodes[0].bindingIndex+0,n=Fe.unwrap(t.oldValues[e]);t.oldValues[e]=new Fe(n)}return i}(e,0,0,Fi(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}));var e,n,i}function Nb(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==Fi(t,1)._handleBodyInteraction()&&i),i}),Lb,Db)),Yi(1,180224,null,0,Eb,[Pe,Gm],null,null)],null,(function(t,e){t(e,0,0,"visible"===Fi(e,1)._visibility?1:null)}))}var Rb=Si("mat-tooltip-component",Eb,Nb,{},{},[]),jb=Hn({encapsulation:0,styles:[[""]],data:{}});function zb(t){return Qr(0,[(t()(),Dr(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Yi(1,212992,null,0,Lg,[Dg,wn,Xe,[8,null],Pe],null,null)],(function(t,e){t(e,1,0)}),null)}function Fb(t){return Qr(0,[(t()(),Dr(0,0,null,null,1,"app-root",[],null,
2null,null,zb,jb)),Yi(1,49152,null,0,ka,[],null,null)],null,null)}var Vb=Si("app-root",ka,Fb,{},{},[]);function Bb(){return"undefined"!=typeof process}function Hb(t){switch(t.length){case 0:return new ry;case 1:return t[0];default:return new sy(t)}}function $b(t,e,n,i,o={},r={}){const s=[],l=[];let a=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==a,u=i&&c||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case"!":l=o[n];break;case"*":l=r[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}u[i]=l}),i||l.push(u),c=u,a=n}),s.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${s.join(t)}`)}return l}function Ub(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&Wb(n,"start",t)));break;case"done":t.onDone(()=>i(n&&Wb(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&Wb(n,"destroy",t)))}}function Wb(t,e,n){const i=n.totalTime,o=qb(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(o._data=r),o}function qb(t,e,n,i,o="",r=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Gb(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function Kb(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Xb=(t,e)=>!1,Qb=(t,e)=>!1,Zb=(t,e,n)=>[];const Yb=Bb();(Yb||"undefined"!=typeof Element)&&(Xb=(t,e)=>t.contains(e),Qb=(()=>{if(Yb||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Qb}})(),Zb=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let Jb=null,tP=!1;function eP(t){Jb||(Jb=("undefined"!=typeof document?document.body:null)||{},tP=!!Jb.style&&"WebkitAppearance"in Jb.style);let e=!0;return Jb.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Jb.style,!e&&tP)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Jb.style),e}const nP=Qb,iP=Xb,oP=Zb;function rP(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}class sP{validateStyleProperty(t){return eP(t)}matchesElement(t,e){return nP(t,e)}containsElement(t,e){return iP(t,e)}query(t,e,n){return oP(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,o,r=[],s){return new ry(n,i)}}let lP=(()=>{class t{}return t.NOOP=new sP,t})();function aP(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:cP(parseFloat(e[1]),e[2])}function cP(t,e){switch(e){case"s":return 1e3*t;default:return t}}function uP(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,o=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=cP(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(o=cP(parseFloat(s),n[4]));const l=n[5];l&&(r=l)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:o,easing:r}}(t,e,n)}function hP(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function dP(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else hP(t,n);return n}function gP(t,e,n){return n?e+":"+n+";":""}function pP(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=gP(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=gP(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function mP(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const o=xP(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[o]),t.style[o]=e[i]}),Bb()&&pP(t))}
2function fP(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=xP(e);t.style[n]=""}),Bb()&&pP(t))}function _P(t){return Array.isArray(t)?1==t.length?t[0]:ny(t):t}const vP=new RegExp("{{\\s*(.+?)\\s*}}","g");function yP(t){let e=[];if("string"==typeof t){const n=t.toString();let i;for(;i=vP.exec(n);)e.push(i[1]);vP.lastIndex=0}return e}function CP(t,e,n){const i=t.toString(),o=i.replace(vP,(t,i)=>{let o=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),o=""),o.toString()});return o==i?t:o}function bP(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const PP=/-+([a-z0-9])/g;function xP(t){return t.replace(PP,(...t)=>t[1].toUpperCase())}function OP(t,e){return 0===t||0===e}function MP(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],s=[];if(i.forEach(t=>{r.hasOwnProperty(t)||s.push(t),r[t]=n[t]}),s.length)for(var o=1;o<e.length;o++){let n=e[o];s.forEach((function(e){n[e]=kP(t,e)}))}}return e}function wP(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function kP(t,e){return window.getComputedStyle(t)[e]}function SP(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const o=i[1],r=i[2],s=i[3];e.push(AP(o,s)),"<"!=r[0]||"*"==o&&"*"==s||e.push(AP(s,o))}(t,n,e)):n.push(t),n}const EP=new Set(["true","1"]),TP=new Set(["false","0"]);function AP(t,e){const n=EP.has(t)||TP.has(t),i=EP.has(e)||TP.has(e);return(o,r)=>{let s="*"==t||t==o,l="*"==e||e==r;return!s&&n&&"boolean"==typeof o&&(s=o?EP.has(t):TP.has(t)),!l&&i&&"boolean"==typeof r&&(l=r?EP.has(e):TP.has(e)),s&&l}}const IP=new RegExp("s*:selfs*,?","g");function DP(t,e,n){return new LP(t).build(e,n)}class LP{constructor(t){this._driver=t}build(t,e){const n=new NP(e);return this._resetContextStyleTimingState(n),wP(this,_P(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const o=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,o.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const o=this.visitTransition(t,e);n+=o.queryCount,i+=o.depCount,r.push(o)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,r=i||{};if(n.styles.forEach(t=>{if(RP(t)){const e=t;Object.keys(e).forEach(t=>{yP(e[t]).forEach(t=>{r.hasOwnProperty(t)||o.add(t)})})}}),o.size){const n=bP(o.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=wP(this,_P(t.animation),e);return{type:1,matchers:SP(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:jP(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>wP(this,t,e)),options:jP(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const o=t.steps.map(t=>{e.currentTime=n;const o=wP(this,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:jP(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return zP(uP(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=zP(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||uP(i,e),zP(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let o=t.styles?t.styles:iy({});if(5==o.type)i=this.visitKeyframes(o,e);else{let o=t.styles,r=!1;if(!o){r=!0;const t={};n.easing&&(t.easing=n.easing),o=iy(t)}e.currentTime+=n.duration+n.delay;const s=this.visitStyle(o,e);s.isEmptyStep=r,i=s}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);
2return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,o=null;return n.forEach(t=>{if(RP(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],s=r[n];let l=!0;s&&(o!=i&&o>=s.startTime&&i<=s.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${o}ms" and "${i}ms"`),l=!1),o=s.startTime),l&&(r[n]={startTime:o,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},o=yP(t);o.length&&o.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const o=[];let r=!1,s=!1,l=0;const a=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let a=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(RP(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(RP(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=a&&(i++,c=n.offset=a),s=s||c<0||c>1,r=r||c<l,l=c,o.push(c),n});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,g=e.currentAnimateTimings,p=g.duration;return a.forEach((t,i)=>{const r=u>0?i==h?1:u*i:o[i],s=r*p;e.currentTime=d+g.delay+s,g.duration=s,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:wP(this,_P(t.animation),e),options:jP(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:jP(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:jP(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[o,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(IP,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+o:o,Gb(e.collectedStyles,e.currentQuerySelector,{});const s=wP(this,_P(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:s,originalSelector:t.selector,options:jP(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:uP(t.timings,e.errors,!0);return{type:12,animation:wP(this,_P(t.animation),e),timings:n,options:null}}}class NP{constructor(t){this.errors=t,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 RP(t){return!Array.isArray(t)&&"object"==typeof t}function jP(t){var e;return t?(t=hP(t)).params&&(t.params=(e=t.params)?hP(e):null):t={},t}function zP(t,e,n){return{duration:t,delay:e,easing:n}}function FP(t,e,n,i,o,r,s=null,l=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:l}}class VP{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const BP=new RegExp(":enter","g"),HP=new RegExp(":leave","g");function $P(t,e,n,i,o,r={},s={},l,a,c=[]){return(new UP).buildKeyframes(t,e,n,i,o,r,s,l,a,c)}class UP{buildKeyframes(t,e,n,i,o,r,s,l,a,c=[]){a=a||new VP;const u=new qP(t,e,a,i,o,c,[]);u.options=l,u.currentTimeline.setStyles([r],null,u.errors,l),wP(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(s).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([s],null,u.errors,l)}return h.length?h.map(t=>t.buildKeyframes()):[FP(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
vendor: 3,154 bytes, line 2
2visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),o=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);o!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const o=null!=n.duration?aP(n.duration):null,r=null!=n.delay?aP(n.delay):null;return 0!==o&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,o,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),wP(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const o=t.options;if(o&&(o.params||o.delay)&&(i=e.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=WP);const t=aP(o.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>wP(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?aP(t.options.delay):0;t.steps.forEach(r=>{const s=e.createSubContext(t.options);o&&s.delayNextStep(o),wP(this,r,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return uP(e.params?CP(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,o=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*o),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+o),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?aP(i.delay):0;o&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=WP);let r=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let l=null;
2s.forEach((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);o&&s.delayNextStep(o),n===e.element&&(l=s.currentTimeline),wP(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,o=t.timings,r=Math.abs(o.duration),s=r*(e.currentQueryTotal-1);let l=r*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime}const a=e.currentTimeline;l&&a.delayNextStep(l);const c=a.currentTime;wP(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const WP={};class qP{constructor(t,e,n,i,o,r,s,l){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=r,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=WP,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new GP(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=aP(n.duration)),null!=n.delay&&(i.delay=aP(n.delay));const o=n.params;if(o){let t=i.params;t||(t=this.options.params={}),Object.keys(o).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=CP(o[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,o=new qP(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=WP,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new KP(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,r){let s=[];if(i&&s.push(this.element),t.length>0){t=(t=t.replace(BP,"."+this._enterClassName)).replace(HP,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),s.push(...e)}return o||0!=s.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class GP{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){const e=1==this._keyframes.size&&Object.keys(this._pe
2ndingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new GP(this._driver,t,e||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const o=i&&i.params||{},r=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]="*"})):dP(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=CP(r[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((o,r)=>{const s=dP(o,!0);Object.keys(s).forEach(n=>{const i=s[n];"!"==i?t.add(n):"*"==i&&e.add(n)}),n||(s.offset=r/this.duration),i.push(s)});const o=t.size?bP(t.values()):[],r=e.size?bP(e.values()):[];if(n){const t=i[0],e=hP(t);t.offset=0,e.offset=1,i=[t,e]}return FP(this.element,i,o,r,this.duration,this.startTime,this.easing,!1)}}class KP extends GP{constructor(t,e,n,i,o,r,s=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],r=n+e,s=e/r,l=dP(t[0],!1);l.offset=0,o.push(l);const a=dP(t[0],!1);a.offset=XP(s),o.push(a);const c=t.length-1;for(let i=1;i<=c;i++){let s=dP(t[i],!1);s.offset=XP((e+s.offset*n)/r),o.push(s)}n=r,e=0,i="",t=o}return FP(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function XP(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class QP{}class ZP extends QP{normalizePropertyName(t,e){return xP(t)}normalizeStyleValue(t,e,n,i){let o="";const r=n.toString().trim();if(YP[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+o}}const YP=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 JP(t,e,n,i,o,r,s,l,a,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:r,toState:i,toStyles:s,timelines:l,queriedElements:a,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const tx={};class ex{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,o){return t.some(t=>t(e,n,i,o))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],o=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return o?o.buildStyles(e,n):r}build(t,e,n,i,o,r,s,l,a,c){const u=[],h=this.ast.options&&this.ast.options.params||tx,d=this.buildStyles(n,s&&s.params||tx,u),g=l&&l.params||tx,p=this.buildStyles(i,g,u),m=new Set,f=new Map,_=new Map,v="void"===i,y={params:Object.assign({},h,g)},C=c?[]:$P(t,e,this.ast.animation,o,r,d,p,y,a,u);let b=0;if(C.forEach(t=>{b=Math.max(t.duration+t.delay,b)}),u.length)return JP(e,this._triggerName,n,i,v,d,p,[],[],f,_,b,u);
2C.forEach(t=>{const n=t.element,i=Gb(f,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const o=Gb(_,n,{});t.postStyleProps.forEach(t=>o[t]=!0),n!==e&&m.add(n)});const P=bP(m.values());return JP(e,this._triggerName,n,i,v,d,p,C,P,f,_,b)}}class nx{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=hP(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const o=t;Object.keys(o).forEach(t=>{let r=o[t];r.length>1&&(r=CP(r,i,e)),n[t]=r})}}),n}}class ix{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new nx(t.style,t.options&&t.options.params||{})}),ox(this.states,"true","1"),ox(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new ex(t,e,this.states))}),this.fallbackTransition=new ex(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(o=>o.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function ox(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const rx=new VP;class sx{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=DP(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,o=$b(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let r;const s=new Map;if(o?(r=$P(this._driver,e,o,"ng-enter","ng-leave",{},{},n,rx,i),r.forEach(t=>{const e=Gb(s,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),r=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,"*")})});const l=Hb(r.map(t=>{const e=s.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const o=qb(e,"","","");return Ub(this._getPlayer(t),n,o,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const lx=[],ax={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cx={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ux{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=hP(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const hx=new ux("void");class dx{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
2+t,yx(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(o=n)&&"done"!=o)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var o;const r=Gb(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};r.push(s);const l=Gb(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(yx(t,"ng-trigger"),yx(t,"ng-trigger-"+e),l[e]=hx),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(s);t>=0&&r.splice(t,1),this._triggers[e]||delete l[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const o=this._getTrigger(e),r=new px(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(yx(t,"ng-trigger"),yx(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));let l=s[e];const a=new ux(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&a.absorbOptions(l.options),s[e]=a,l||(l=hx),"void"!==a.value&&l.value===a.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(l.params,a.params)){const e=[],n=o.matchStyles(l.value,l.params,e),i=o.matchStyles(a.value,a.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{fP(t,n),mP(t,i)})}return}const c=Gb(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=o.matchTransition(l.value,a.value,t,a.params),h=!1;if(!u){if(!i)return;u=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:l,toState:a,player:r,isFallbackTransition:h}),h||(yx(t,"ng-animate-queued"),r.onStart(()=>{Cx(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e,n=!1){this._engine.driver.query(t,".ng-trigger",!0).forEac
2h(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)})}triggerLeaveAnimation(t,e,n,i){const o=this._engine.statesByElement.get(t);if(o){const r=[];if(Object.keys(o).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Hb(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const o=this._triggers[i].fallbackTransition,r=this._engine.statesByElement.get(t)[i]||hx,s=new ux("void"),l=new px(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:o,fromState:r,toState:s,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}this.prepareLeaveAnimationListeners(t),i?n.markElementAsRemoved(this.id,t,!1,e):(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}insertNode(t,e){yx(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const o=n.element,r=this._elementListeners.get(o);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=qb(o,n.triggerName,n.fromState.value,n.toState.value);i._data=t,Ub(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class gx{constructor(t,e,n){this.bodyNode=t,this.driver=e,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new dx(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const o=n[t[i]].namespaceId;if(o){const t=this._fetchNamespace(o);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(mx(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!mx(e))return;const o=e.__ng_removed;if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),yx(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Cx(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(mx(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,o){return mx(e)?this._fetchNamespace(t).listen(e,n,i,o):()=>{}}_buildInstruction(t,e,n,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.o
2ptions,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Hb(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=ax,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];
2if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)yx(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}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(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Hb(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new VP,i=[],o=new Map,r=[],s=new Map,l=new Map,a=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=vx(h,this.collectedEnterElements),g=new Map;let p=0;d.forEach((t,e)=>{const n="ng-enter"+p++;g.set(e,n),t.forEach(t=>yx(t,n))});const m=[],f=new Set,_=new Set;for(let T=0;T<this.collectedLeaveElements.length;T++){const t=this.collectedLeaveElements[T],e=t.__ng_removed;e&&e.setForRemoval&&(m.push(t),f.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>f.add(t)):_.add(t))}const v=new Map,y=vx(h,Array.from(f));y.forEach((t,e)=>{const n="ng-leave"+p++;v.set(e,n),t.forEach(t=>yx(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Cx(t,n))}),y.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Cx(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const C=[],b=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(e).forEach(t=>{const e=t.player,o=t.element;if(C.push(e),this.collectedEnterElements.length){const t=o.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,o),h=v.get(o),d=g.get(o),p=this._buildInstruction(t,n,d,h,c);if(p.errors&&p.errors.length)b.push(p);else{if(c)return e.onStart(()=>fP(o,p.fromStyles)),e.onDestroy(()=>mP(o,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>fP(o,p.fromStyles)),e.onDestroy(()=>mP(o,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(o,p.timelines),r.push({instruction:p,player:e,element:o}),p.queriedElements.forEach(t=>Gb(s,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=l.get(e);t||l.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=a.get(e);i||a.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(b.length){const t=[];b.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const P=new Map,x=new Map;r.forEach(t=>{const e=t.element;n.has(e)&&(x.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))}
vendor: 1,088 bytes, line 2
2),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Gb(P,e,[]).push(t),t.destroy()})});const O=m.filter(t=>Px(t,l,a)),M=new Map;_x(M,this.driver,_,a,"*").forEach(t=>{Px(t,l,a)&&O.push(t)});const w=new Map;d.forEach((t,e)=>{_x(w,this.driver,new Set(t),l,"!")}),O.forEach(t=>{const e=M.get(t),n=w.get(t);M.set(t,Object.assign({},e,n))});const k=[],S=[],E={};r.forEach(t=>{const{element:e,player:r,instruction:s}=t;if(n.has(e)){if(c.has(e))return r.onDestroy(()=>mP(e,s.toStyles)),r.disabled=!0,r.overrideTotalTime(s.totalTime),void i.push(r);let t=E;if(x.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=x.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>x.set(e,t))}const n=this._buildAnimation(r.namespaceId,s,P,o,w,M);if(r.setRealPlayer(n),t===E)k.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Hb(e)),i.push(r)}}else fP(e,s.fromStyles),r.onDestroy(()=>mP(e,s.toStyles)),S.push(r),c.has(e)&&i.push(r)}),S.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=Hb(e);t.setRealPlayer(n)}}
2),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let T=0;T<m.length;T++){const t=m[T],e=t.__ng_removed;if(Cx(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(s.size){let e=s.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,".ng-animating",!0);for(let t=0;t<i.length;t++){let e=s.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?bx(this,t,i):this.processLeaveNode(t)}return m.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,o){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!o||"void"==o;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,o=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const s of e.timelines){const t=s.element,l=t!==i,a=Gb(n,t,[]);this._getPreviousPlayers(t,l,o,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)})}fP(i,e.fromStyles)}_buildAnimation(t,e,n,i,o,r){const s=e.triggerName,l=e.element,a=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new ry(e.duration,e.delay);const g=h!==l,p=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const o=e[i];o instanceof sy?t(o.players,n):n.push(o)}}(t,e),e}((n.get(h)||lx).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=o.get(h),f=r.get(h),_=$b(0,this._normalizer,0,e.keyframes,m,f),v=this._buildPlayer(e,_,p);if(e.subTimeline&&i&&u.add(h),g){const e=new px(t,s,h);e.setRealPlayer(v),a.push(e)}return v});a.forEach(t=>{Gb(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>yx(t,"ng-animating"));const d=Hb(h);return d.onDestroy(()=>{c.forEach(t=>Cx(t,"ng-animating")),mP(l,e.toStyles)}),u.forEach(t=>{Gb(i,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ry(t.duration,t.delay)}}class px{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new ry,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
2h(e=>{this._queuedCallbacks[e].forEach(n=>Ub(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Gb(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function mx(t){return t&&1===t.nodeType}function fx(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function _x(t,e,n,i,o){const r=[];n.forEach(t=>r.push(fx(t)));const s=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,o);n&&0!=n.length||(i.__ng_removed=cx,s.push(i))}),t.set(i,r)});let l=0;return n.forEach(t=>fx(t,r[l++])),s}function vx(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),o=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=o.get(e);if(r)return r;const s=e.parentNode;return r=n.has(s)?s:i.has(s)?1:t(s),o.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}function yx(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Cx(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function bx(t,e,n){Hb(n).onDone(()=>t.processLeaveNode(e))}function Px(t,e,n){const i=n.get(t);if(!i)return!1;let o=e.get(t);return o?i.forEach(t=>o.add(t)):e.set(t,i),n.delete(t),!0}class xx{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new gx(t,e,n),this._timelineEngine=new sx(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,o){const r=t+"-"+i;let s=this._triggerCache[r];if(!s){const t=[],e=DP(this._driver,o,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);s=function(t,e){return new ix(t,e)}(i,e),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(e,i,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,o]=Kb(n);this._timelineEngine.command(t,e,o,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,o){if("@"==n.charAt(0)){const[t,i]=Kb(n);return this._timelineEngine.listen(t,e,i,o)}return this._transitionEngine.listen(t,e,n,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ox(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=wx(e[0]),e.length>1&&(i=wx(e[e.length-1]))):e&&(n=wx(e)),n||i?new Mx(t,n,i):null}let Mx=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o={}),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&mP(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(mP(this._element,this._initialStyles),this._endStyles&&(mP(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(fP(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fP(this._element,this._endStyles),this._endStyles=null),mP(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function wx(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const o=n[i];kx(o)&&(e=e||{},e[o]=t[o])}return e}function kx(t){return"display"===t||"position"===t}class Sx{constructor(t,e,n,i,o,r,s){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=o,this._fillMode=r,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Lx(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Dx(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ix(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Ex(this._element,this._name,"paused")}resume(){Ex(this._element,this._name,"running")}setPosition(t){const e=Tx(this._element,this._name);this._position=t*this._duration,Dx(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ix(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Lx(t,"").split(","),i=Ax(n,e);i>=0&&(n.splice(i,1),Dx(t,"",n.join(",")))}(this._element,this._name))}}function Ex(t,e,n){Dx(t,"PlayState",n,Tx(t,e))}function Tx(t,e){const n=Lx(t,"");return n.indexOf(",")>0?Ax(n.split(","),e):Ax([n],e)}function Ax(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Ix(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Dx(t,e,n,i){const o="animation"+e;if(null!=i){const e=t.style[o];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[o]=n}function Lx(t,e){return t.style["animation"+e]}class Nx{constructor(t,e,n,i,o,r,s,l){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+o,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>
2=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}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 Sx(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:kP(this.element,n))})}this.currentSnapshot=t}}class Rx extends ry{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=rP(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class jx{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return eP(t)}matchesElement(t,e){return nP(t,e)}containsElement(t,e){return iP(t,e)}query(t,e,n){return oP(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>rP(t));let i=`@keyframes ${e} {\n`,o="";n.forEach(t=>{o=" ";const e=parseFloat(t.offset);i+=`${o}${100*e}% {\n`,o+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${o}animation-timing-function: ${n};\n`));default:return void(i+=`${o}${e}: ${n};\n`)}}),i+=o+"}\n"}),i+="}\n";const r=document.createElement("style");return r.innerHTML=i,r}animate(t,e,n,i,o,r=[],s){s&&this._notifyFaultyScrubber();const l=r.filter(t=>t instanceof Nx),a={};OP(n,i)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=MP(t,e,a));if(0==n)return new Rx(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=Ox(t,e),g=new Nx(t,e,u,n,i,o,c,d);return g.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),g}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class zx{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};
2this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:kP(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Fx{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Vx().toString()),this._cssKeyframesDriver=new jx}validateStyleProperty(t){return eP(t)}matchesElement(t,e){return nP(t,e)}containsElement(t,e){return iP(t,e)}query(t,e,n){return oP(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,o,r=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,o,r);const l={duration:n,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const a={},c=r.filter(t=>t instanceof zx);OP(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const u=Ox(t,e=MP(t,e=e.map(t=>dP(t,!1)),a));return new zx(t,e,l,u)}}function Vx(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}class Bx extends ey{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Vt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?ny(t):t;return Ux(this._renderer,null,e,"register",[n]),new Hx(e,this._renderer)}}class Hx extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new $x(this._id,t,e||{},this._renderer)}}class $x{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Ux(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){return 0}}function Ux(t,e,n,i,o){return t.setProperty(e,`@@${n}:${i}`,o)}class Wx{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new qx("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,o=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(o,t),e.data.animation.forEach(e=>this.engine.registerTrigger(i,o,t,e.name,e)),new Gx(this,o,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class qx{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
2appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Gx extends qx{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let o=e.substr(1),r="";return"@"!=o.charAt(0)&&([o,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}class Kx extends xx{constructor(t,e,n){super(t.body,e,n)}}function Xx(){return"function"==typeof Vx()?new Fx:new jx}function Qx(){return new ZP}function Zx(t,e,n){return new Wx(t,e,n)}const Yx=new Mt("AnimationModuleType");class Jx{}class tO{}class eO{constructor(t){this.authService=t}intercept(t,e){if(!localStorage.getItem("token")||t.url.includes("apollon.ott.solutions/ping"))return e.handle(t);const n=localStorage.getItem("hid"),i=t.clone({params:(t.params?t.params:new uf).set("sid",this.authService.getToken().replace(/['"]+/g,"")).set("hid",n)});return e.handle(i).pipe(H(t=>{if(t instanceof vf&&200===t.status){if(i.url.includes("apollon.ott.solutions/vods/vote_list?sid_name=token&")&&Array.isArray(t.body)&&0===t.body.length)return;Array.isArray(t.body)&&0===t.body.length&&this.authService.logOutUser()}return t}))}}let nO=(()=>{class t{constructor(t,e){this.router=t,this.authService=e}canActivate(t,e){switch(this.token=this.authService.getToken(),t.data.name[0]){case"signin":case"login":case"landing-page":case"partner-log-in":case"mobile":case"forgot-password":case"new-password":case"partner-prijava":case"delete-account":if(!this.token)return!0;this.router.navigate(["home"]);break;case"home":case"live-tv":case"categories":case"search":case"player":case"movies":case"series":case"delete-account":if(this.token)return!0;this.router.navigate([""])}}}return t.ngInjectableDef=gt({factory:function(){return new t(It(kg),It(zf))},token:t,providedIn:"root"}),t})();const iO={name:["landing-page"]},oO={name:["login"]},rO={name:["signin"]},sO={name:["partner-log-in"]},lO={name:["partner-prijava"]},aO={name:["mobile"]},cO={name:["home"]},uO={name:["live-tv"]},hO={name:["series"]},dO={name:["movies"]},gO={name:["categories"]},pO={name:["search"]},mO={name:["player"]},fO={name:["delete-account"]};class _O{}class vO{}var yO=el(il,[ka],(function(t){return function(t){const e={},n=[];let i=!1;for(let o=0;o<t.length;o++){const r=t[o];r.token===Oe&&!0===r.value&&(i=!0),1073741824&r.flags&&n.push(r.token),r.index=o,e[Bn(r.token)]=r}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:i}}([bi(512,Xe,Qe,[[8,[rp,up,nf,Hf,Gf,Yf,i_,a_,zy,mC,MC,DC,HC,YC,sb,rv,wb,Rb,Jy,Vb]],[3,Xe],Rt]),bi(5120,Io,Er,[[3,Io]]),bi(4608,za,Fa,[Io,[2,ja]]),bi(5120,mo,Tr,[Xo]),bi(5120,Mo,wo,[]),bi(5120,yn,kr,[]),bi(5120,Cn,Sr,[]),bi(4608,th,eh,[lc]),bi(6144,_e,null,[th]),bi(4608,Ku,bb,[[2,vb],[2,fb]]),bi(5120,xu,(function(t,e,n,i,o,r,s,l){return[new qu(t,e,n),new Ju(i),new Qu(o,r,s,l)]}),[lc,Xo,Eo,lc,lc,Ku,Ao,[2,Xu]]),bi(4608,Ou,Ou,[xu,Xo]),bi(135680,ku,ku,[lc]),bi(4608,Iu,Iu,[Ou,ku,Mo]),bi(5120,lP,Xx,[]),bi(5120,QP,Qx,[]),bi(4608,xx,Kx,[lc,lP,QP]),bi(5120,nn,Zx,[Iu,xx,Xo]),bi(6144,wu,null,[ku]),bi(4608,nr,nr,[Xo]),bi(5120,_d,Zg,[kg]),bi(4608,zg,zg,[]),bi(6144,Rg,null,[zg]),bi(135680,Fg,Fg,[kg,mr,zo,we,Rg]),bi(4608,jg,jg,[]),bi(5120,Vg,qg,[kg,cc,Bg]),bi(5120,ep,tp,[Yg]),bi(5120,To,(function(t){return[t]}),[ep]),bi(4608,Xv,Xv,[Lv,Bv,Xe,Gv,Vv,we,Xo,lc,ay,[2,Ia]]),bi(5120,Qv,Zv,[Xv]),bi(5120,_y,vy,[Xv]),bi(135680,yy,yy,[Xv,we,[2,Ia],[2,fy],_y,[3,yy],Bv]),bi(4608,ey,Bx,[nn,lc]),bi(4608,Af,If,[lc,Eo,Ef]),bi(4608,Df,Df,[Af,Tf]),bi(5120,xf,(function(t,e){return[t,new eO(e)]}),[Df,zf]),bi(4608,kf,kf,[]),bi(6144,wf,null,[kf]),bi(4608,Sf,Sf,[wf]),bi(6144,sf,null,[Sf]),bi(4608,rf,Lf,[sf,we]),bi(4608,bf,bf,[rf]),bi(4608,xm,xm,[]),bi(4608,Tp,Tp,[]),bi(4608,j_,R_,[]),bi(4608,Ab,Ab,[]),bi(5120,kb,Sb,[Xv]),bi(1073742336,sc,sc,[]),bi(1024,Wt,ch,[]),bi(1024,ar,(function(){return[Ug()]}),[]),bi(512,Yg,Yg,[we]),bi(1024,xo,(function(t,e){return[(n=t,Cu("probe",Pu),Cu("coreTokens",Object.assign({},bu,(n||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>Pu),Jg(e)];var n}),[[2,ar],Yg]),bi(512,Oo,Oo,[[2,xo]]),bi(131584,gr,gr,[Xo,Ao,we,Wt,Xe,Oo]),bi(1073742336,Ar,Ar,[gr]),bi(1073742336,uh,uh,[[3,uh]]),bi(1024,Hg,Kg,[[3,kg]]),bi(512,Xh,Qh,[]),bi(512,Dg,Dg,[]),bi(256,Bg,{},[]),bi(1024,Ta,Gg,[Sa,[2,Aa],Bg]),bi(512,Ia,Ia,[Ta,Sa]),bi(512,zo,zo,[]),bi(512,mr,vr,[zo,[2,fr]]),bi(1024,Cg,(function(){return[[{path:"",canActivate:[nO],data:iO,component:sp},{path:"log-in",canActivate:[nO],data:oO,component:Ym},{path:"sign-in",canActivate:[nO],data:rO,component:of},{path:"contact-apollon",component:$f},{path:"partner-log-in",canActivate:[nO],data:sO,component:Kf},{path:"partner-prijava/:name",canActivate:[nO],data:lO,component:Jf},{path:"mobile",canActivate:[nO],data:aO,component:o_},{path:"home",canActivate:[nO],data:cO,component:Jv},{path:"live-tv",canActivate:[nO],data:uO,component:tC},{path:"series",canActivate:[nO],data:hO,component:fC},{path:"movies",canActivate:[nO],data:dO,component:fC},{path:"categories/:id",canActivate:[nO],data:gO,component:wC},{path:"search/:term",canActivate:[nO],data:pO,component:LC},{path:"player/:id",canActivate:[nO],data:mO,component:$C},{path:"delete-account",canActivate:[nO],data:fO,component:JC},{path:"**",redirectTo:"/home"}]]}),[]),bi(1024,kg,Qg,[gr,Xh,Dg,Ia,we,mr,zo,Cg,Bg,[2,Pg],[2,vg]]),bi(1073742336,Wg,Wg,[[2,Hg],[2,kg]]),bi(1073742336,_O,_O,[]),bi(1073742336,K_,K_,[]),bi(1073742336,cy,cy,[]),bi(1073742336,Mv,Mv,[]),bi(1073742336,km,km,[]),bi(1073742336,fv,fv,[]),bi(1073742336,Yv,Yv,[]),bi(1073742336,fb,fb,[[2,mb],[2,Xu]]),bi(1073742336,Cy,Cy,[]),bi(1073742336,tO,tO,[]),bi(1073742336,vO,vO,[]),bi(1073742336,Nf,Nf,[]),bi(1073742336,Rf,Rf,[]),bi(1073742336,Pm,Pm,[]),bi(1073742336,Mm,Mm,[]),bi(1073742336,Om,Om,[]),bi(1073742336,F_,F_,[]),bi(1073742336,Jx,Jx,[]),bi(1073742336,Ib,Ib,[]),bi(1073742336,gb,gb,[]),bi(1073742336,Tb,Tb,[]),bi(1073742336,il,il,[]),bi(256,Oe,!0,[]),bi(256,Yx,"BrowserAnimations",[]),bi(256,Ef,"XSRF-TOKEN",[]),bi(256,Tf,"X-XSRF-TOKEN",[])])}));(function(){if(Gt)throw new Error("Cannot enable prod mode after platform setup.");qt=!1})(),ah().bootstrapModuleFactory(yO).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]}
2,n.resolve=n,t.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.