| Server IP : 157.230.181.24 / Your IP : 216.73.216.56 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/dev-conductive-digital/public/google/ |
Upload File : |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"4+EV":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=[],i="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";e.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",i]},e.faTimes=e.definition,e.prefix="fas",e.iconName="times",e.width=352,e.height=512,e.ligatures=r,e.unicode="f00d",e.svgPathData=i},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const s={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(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}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(i))try{i.call(this)}catch(o){e=o instanceof u?d(o.errors):[o]}if(l(s)){let t=-1,n=s.length;for(;++t<n;){const n=s[t];if(c(n))try{n.unsubscribe()}catch(o){e=e||[],o instanceof u?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;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:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}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{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,i){let s;super(),this._parentSubscriber=t;let o=this;r(e)?s=e:e&&(s=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.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}=s;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):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(t){return t}function b(...t){return y(t)}function y(t){return 0===t.length?_:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let v=(()=>{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:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:y(t)(this)}toPromise(t){return new(t=w(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const C=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class S extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){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 T extends f{constructor(t){super(t),this.destination=t}}let P=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new T(this)}lift(t){const e=new M(this,this);return e.operator=t,e}next(t){if(this.closed)throw new C;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new C;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new C;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new C;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new S(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new M(t,e),t})();class M extends P{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):h.EMPTY}}function O(t){return t&&"function"==typeof t.schedule}class x extends f{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 E=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const k=A(),I=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const D=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return E(t);if(N(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[k])return e=t,t=>{const n=e[k]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),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.`)}var e,n,r};function R(t,e,n,r,i=new x(t,n,r)){if(!i.closed)return e instanceof v?e.subscribe(i):D(e)(i)}class G extends f{notifyNext(t,e,n,r,i){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 L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new V(t,this.project,this.thisArg))}}class V extends f{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 B(t,e){return new v(n=>{const r=new h;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(N(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(I(t))return B(t,e);if(function(t){return t&&"function"==typeof t[k]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[k](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof v?t:new v(D(t))}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(j((n,r)=>F(t(n,r)).pipe(H((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new U(t,n)))}class U{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new z(t,this.project,this.concurrent))}}class z extends G{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(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new x(this,e,n),i=this.destination;i.add(r);const s=R(this,t,void 0,void 0,r);s!==r&&i.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,i){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 W(t=Number.POSITIVE_INFINITY){return j(_,t)}function $(t,e){return e?B(t,e):new v(E(t))}function K(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return O(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:W(e)($(t,n))}function X(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Q(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class Q extends f{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,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Z extends v{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 h,t.add(this.source.subscribe(new J(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return X()(this)}}const Y=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class J extends T{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 tt(){return new P}function et(t){return{toString:t}.toString()}function nt(t,e,n){return et(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const rt=nt("Inject",t=>({token:t})),it=nt("Optional"),st=nt("Self"),ot=nt("SkipSelf");var at=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 lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("Could not find renamed property on target object.")}function ct(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const ht=ut;function dt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function pt(t){return ft(t,t[mt])||ft(t,t[yt])}function ft(t,e){return e&&e.token===t?e:null}function gt(t){return t&&(t.hasOwnProperty(_t)||t.hasOwnProperty(vt))?t[_t]:null}const mt=lt({"\u0275prov":lt}),_t=lt({"\u0275inj":lt}),bt=lt({"\u0275provFallback":lt}),yt=lt({ngInjectableDef:lt}),vt=lt({ngInjectorDef:lt});function wt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(wt).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)}function Ct(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const St=lt({__forward_ref__:lt});function Tt(t){return t.__forward_ref__=Tt,t.toString=function(){return wt(this())},t}function Pt(t){return Mt(t)?t():t}function Mt(t){return"function"==typeof t&&t.hasOwnProperty(St)&&t.__forward_ref__===Tt}const Ot="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,At="undefined"!=typeof global&&global,kt=Ot||At||xt||Et,It=lt({"\u0275cmp":lt}),Nt=lt({"\u0275dir":lt}),Dt=lt({"\u0275pipe":lt}),Rt=lt({"\u0275mod":lt}),Gt=lt({"\u0275loc":lt}),Ht=lt({"\u0275fac":lt}),Lt=lt({__NG_ELEMENT_ID__:lt});class Vt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Bt=new Vt("INJECTOR",-1),Ft={},jt=/\n/gm,Ut=lt({provide:String,useValue:lt});let zt,Wt=void 0;function $t(t){const e=Wt;return Wt=t,e}function Kt(t){const e=zt;return zt=t,e}function Xt(t,e=at.Default){if(void 0===Wt)throw new Error("inject() must be called from an injection context");return null===Wt?Zt(t,void 0,e):Wt.get(t,e&at.Optional?null:void 0,e)}function qt(t,e=at.Default){return(zt||Xt)(Pt(t),e)}const Qt=qt;function Zt(t,e,n){const r=pt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${wt(t)}]`)}function Yt(t){const e=[];for(let n=0;n<t.length;n++){const r=Pt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=at.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof it||"Optional"===i.ngMetadataName||i===it?n|=at.Optional:i instanceof ot||"SkipSelf"===i.ngMetadataName||i===ot?n|=at.SkipSelf:i instanceof st||"Self"===i.ngMetadataName||i===st?n|=at.Self:t=i instanceof rt||i===rt?i.token:i}e.push(qt(t,n))}else e.push(qt(r))}return e}class Jt{get(t,e=Ft){if(e===Ft){const e=new Error(`NullInjectorError: No provider for ${wt(t)}!`);throw e.name="NullInjectorError",e}return e}}class te{}class ee{}function ne(t,e){t.forEach(t=>Array.isArray(t)?ne(t,e):e(t))}function re(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ie(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function se(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function oe(t,e,n){let r=le(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function ae(t,e){const n=le(t,e);if(n>=0)return t[1|n]}function le(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),s=t[n<<1];if(e===s)return n<<1;s>e?i=n:r=n+1}return~(i<<1)}(t,e)}const ce=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),ue=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}(),he={},de=[];let pe=0;function fe(t){return et(()=>{const e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||de,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ue.Emulated,id:"c",styles:t.styles||de,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,o=t.features,a=t.pipes;return i.id+=pe++,i.inputs=ye(t.inputs,r),i.outputs=ye(t.outputs),o&&o.forEach(t=>t(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(ge):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(me):null,i})}function ge(t){return Ce(t)||function(t){return t[Nt]||null}(t)}function me(t){return function(t){return t[Dt]||null}(t)}const _e={};function be(t){const e={type:t.type,bootstrap:t.bootstrap||de,declarations:t.declarations||de,imports:t.imports||de,exports:t.exports||de,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&et(()=>{_e[t.id]=t.type}),e}function ye(t,e){if(null==t)return he;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const ve=fe;function we(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ce(t){return t[It]||null}function Se(t,e){return t.hasOwnProperty(Ht)?t[Ht]:null}function Te(t,e){const n=t[Rt]||null;if(!n&&!0===e)throw new Error(`Type ${wt(t)} does not have '\u0275mod' property.`);return n}function Pe(t){return Array.isArray(t)&&"object"==typeof t[1]}function Me(t){return Array.isArray(t)&&!0===t[1]}function Oe(t){return 0!=(8&t.flags)}function xe(t){return 2==(2&t.flags)}function Ee(t){return 1==(1&t.flags)}function Ae(t){return null!==t.template}function ke(t){return 0!=(512&t[2])}let Ie=void 0;function Ne(){return void 0!==Ie?Ie:"undefined"!=typeof document?document:void 0}function De(t){return!!t.listen}const Re={createRenderer:(t,e)=>Ne()};function Ge(t){for(;Array.isArray(t);)t=t[0];return t}function He(t,e){return Ge(e[t+20])}function Le(t,e){return Ge(e[t.index])}function Ve(t,e){return t.data[e+20]}function Be(t,e){return t[e+20]}function Fe(t,e){const n=e[t];return Pe(n)?n:n[0]}function je(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ue(t){return 4==(4&t[2])}function ze(t){return 128==(128&t[2])}function We(t,e){return null===t||null==e?null:t[e]}function $e(t){t[18]=0}function Ke(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Xe={lFrame:_n(null),bindingsEnabled:!0,checkNoChangesMode:!1};function qe(){return Xe.bindingsEnabled}function Qe(){return Xe.lFrame.lView}function Ze(){return Xe.lFrame.tView}function Ye(t){Xe.lFrame.contextLView=t}function Je(){return Xe.lFrame.previousOrParentTNode}function tn(t,e){Xe.lFrame.previousOrParentTNode=t,Xe.lFrame.isParent=e}function en(){return Xe.lFrame.isParent}function nn(){Xe.lFrame.isParent=!1}function rn(){return Xe.checkNoChangesMode}function sn(t){Xe.checkNoChangesMode=t}function on(){const t=Xe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function an(){return Xe.lFrame.bindingIndex++}function ln(t){const e=Xe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function cn(t,e){const n=Xe.lFrame;n.bindingIndex=n.bindingRootIndex=t,un(e)}function un(t){Xe.lFrame.currentDirectiveIndex=t}function hn(t){const e=Xe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function dn(){return Xe.lFrame.currentQueryIndex}function pn(t){Xe.lFrame.currentQueryIndex=t}function fn(t,e){const n=mn();Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function gn(t,e){const n=mn(),r=t[1];Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function mn(){const t=Xe.lFrame,e=null===t?null:t.child;return null===e?_n(t):e}function _n(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function bn(){const t=Xe.lFrame;return Xe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const yn=bn;function vn(){const t=bn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wn(){return Xe.lFrame.selectedIndex}function Cn(t){Xe.lFrame.selectedIndex=t}function Sn(){const t=Xe.lFrame;return Ve(t.tView,t.selectedIndex)}function Tn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function Pn(t,e,n){xn(t,e,3,n)}function Mn(t,e,n,r){(3&t[2])===n&&xn(t,e,n,r)}function On(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function xn(t,e,n,r){const i=null!=r?r:-1;let s=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(s=e[o],null!=r&&s>=r)break}else e[o]<0&&(t[18]+=65536),(s<i||-1==i)&&(En(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function En(t,e,n,r){const i=n[r]<0,s=n[r+1],o=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}class An{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function kn(t,e,n){const r=De(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];Nn(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function In(t){return 3===t||4===t||6===t}function Nn(t){return 64===t.charCodeAt(0)}function Dn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Rn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Rn(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function Gn(t){return-1!==t}function Hn(t){return 32767&t}function Ln(t){return t>>16}function Vn(t,e){let n=Ln(t),r=e;for(;n>0;)r=r[15],n--;return r}function Bn(t){return"string"==typeof t?t:null==t?"":""+t}function Fn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Bn(t)}const jn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function Un(t){return{name:"window",target:t.ownerDocument.defaultView}}function zn(t){return t instanceof Function?t():t}let Wn=!0;function $n(t){const e=Wn;return Wn=t,e}let Kn=0;function Xn(t,e){const n=Qn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,qn(r.data,t),qn(e,null),qn(r.blueprint,null));const i=Zn(t,e),s=t.injectorIndex;if(Gn(i)){const t=Hn(i),n=Vn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function qn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Zn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Yn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[Lt]:n.charCodeAt(0)||0;null==r&&(r=n[Lt]=Kn++);const i=255&r,s=1<<i,o=64&i,a=32&i,l=e.data;128&i?o?a?l[t+7]|=s:l[t+6]|=s:a?l[t+5]|=s:l[t+4]|=s:o?a?l[t+3]|=s:l[t+2]|=s:a?l[t+1]|=s:l[t]|=s}(t,e,n)}function Jn(t,e,n,r=at.Default,i){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[Lt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof i){fn(e,t);try{const t=i();if(null!=t||r&at.Optional)return t;throw new Error(`No provider for ${Fn(n)}!`)}finally{yn()}}else if("number"==typeof i){if(-1===i)return new or(t,e);let s=null,o=Qn(t,e),a=-1,l=r&at.Host?e[16][6]:null;for((-1===o||r&at.SkipSelf)&&(a=-1===o?Zn(t,e):e[o+8],sr(r,!1)?(s=e[1],o=Hn(a),e=Vn(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(ir(i,o,t.data)){const t=er(o,e,n,s,r,l);if(t!==tr)return t}sr(r,e[1].data[o+8]===l)&&ir(i,o,e)?(s=t,o=Hn(a),e=Vn(a,e)):o=-1}}}if(r&at.Optional&&void 0===i&&(i=null),0==(r&(at.Self|at.Host))){const t=e[9],s=Kt(void 0);try{return t?t.get(n,i,r&at.Optional):Zt(n,i,r&at.Optional)}finally{Kt(s)}}if(r&at.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Fn(n)}]`)}const tr={};function er(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],l=nr(a,o,n,null==r?xe(a)&&Wn:r!=o&&3===a.type,i&at.Host&&s===a);return null!==l?rr(e,o,l,a):tr}function nr(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=65535&s,l=t.directiveStart,c=s>>16,u=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(i){const t=o[l];if(t&&Ae(t)&&t.type===n)return l}return null}function rr(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof An){const o=i;if(o.resolving)throw new Error("Circular dep for "+Fn(s[n]));const a=$n(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=Kt(o.injectImpl)),fn(t,r);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:i,doCheck:s}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{o.injectImpl&&Kt(l),$n(a),o.resolving=!1,yn()}}return i}function ir(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<<t)}function sr(t,e){return!(t&at.Self||t&at.Host&&e)}class or{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Jn(this._tNode,this._lView,t,void 0,e)}}function ar(t){return et(()=>{const e=Object.getPrototypeOf(t.prototype).constructor,n=e[Ht]||function t(e){const n=e;if(Mt(e))return()=>{const e=t(Pt(n));return e?e():null};let r=Se(n);if(null===r){const t=gt(n);r=t&&t.factory}return r||null}(e);return null!==n?n:t=>new t})}function lr(t){return t.ngDebugContext}function cr(t){return t.ngOriginalError}function ur(t,...e){t.error(...e)}class hr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||ur}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?lr(t)?lr(t):this._findContext(cr(t)):null}_findOriginalError(t){let e=cr(t);for(;e&&cr(e);)e=cr(e);return e}}class dr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class pr extends dr{getTypeName(){return"HTML"}}class fr extends dr{getTypeName(){return"Style"}}class gr extends dr{getTypeName(){return"Script"}}class mr extends dr{getTypeName(){return"URL"}}class _r extends dr{getTypeName(){return"ResourceURL"}}function br(t){return t instanceof dr?t.changingThisBreaksApplicationSecurity:t}function yr(t,e){const n=vr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function vr(t){return t instanceof dr&&t.getTypeName()||null}let wr=!0,Cr=!1;function Sr(){return Cr=!0,wr}class Tr{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.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(r){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");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).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 Pr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Mr=/^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 Or(t){return(t=String(t)).match(Pr)||t.match(Mr)?t:(Sr()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function xr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Er(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Ar=xr("area,br,col,hr,img,wbr"),kr=xr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ir=xr("rp,rt"),Nr=Er(Ir,kr),Dr=Er(Ar,Er(kr,xr("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")),Er(Ir,xr("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")),Nr),Rr=xr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gr=xr("srcset"),Hr=Er(Rr,Gr,xr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xr("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")),Lr=xr("script,style,template");class Vr{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(!Dr.hasOwnProperty(e))return this.sanitizedSomething=!0,!Lr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,s=e.toLowerCase();if(!Hr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;Rr[s]&&(o=Or(o)),Gr[s]&&(r=o,o=(r=String(r)).split(",").map(t=>Or(t.trim())).join(", ")),this.buf.push(" ",e,'="',jr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Dr.hasOwnProperty(e)&&!Ar.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(jr(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 Br=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fr=/([^\#-~ |!])/g;function jr(t){return t.replace(/&/g,"&").replace(Br,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Fr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Ur;function zr(t,e){let n=null;try{Ur=Ur||new Tr(t);let r=e?String(e):"";n=Ur.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Ur.getInertBodyElement(r)}while(r!==s);const o=new Vr,a=o.sanitizeChildren(Wr(n)||n);return Sr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Wr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const $r=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}(),Kr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Xr=/^url\(([^)]+)\)$/;function qr(t){if(!(t=String(t).trim()))return"";const e=t.match(Xr);return e&&Or(e[1])===e[1]||t.match(Kr)&&function(t){let e=!0,n=!0;for(let r=0;r<t.length;r++){const i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(Sr()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}function Qr(t){const e=ni();return e?e.sanitize($r.HTML,t)||"":yr(t,"HTML")?br(t):zr(Ne(),Bn(t))}function Zr(t){const e=ni();return e?e.sanitize($r.STYLE,t)||"":yr(t,"Style")?br(t):qr(Bn(t))}function Yr(t){const e=ni();return e?e.sanitize($r.URL,t)||"":yr(t,"URL")?br(t):Or(Bn(t))}function Jr(t){const e=ni();if(e)return e.sanitize($r.RESOURCE_URL,t)||"";if(yr(t,"ResourceURL"))return br(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}const ti=function(t,e,n){if(void 0===e&&void 0===n)return Zr(t);let r=!0;return 1&(n=n||3)&&(r=ei(t)),2&n?r?Zr(e):br(e):r};function ei(t){return"background-image"===t||"backgroundImage"===t||"background"===t||"border-image"===t||"borderImage"===t||"border-image-source"===t||"borderImageSource"===t||"filter"===t||"list-style"===t||"listStyle"===t||"list-style-image"===t||"listStyleImage"===t||"clip-path"===t||"clipPath"===t}function ni(){const t=Qe();return t&&t[12]}function ri(t,e){t.__ngContext__=e}function ii(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function si(){throw new Error("Cannot mix multi providers and regular providers")}function oi(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}function ai(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==oi(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function li(t){return 0===t.type&&"ng-template"!==t.tagName}function ci(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function ui(t,e,n){let r=4;const i=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(In(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!ci(t,l,n)||""===l&&1===e.length){if(hi(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!ai(t.attrs,c,n)){if(hi(r))return!1;o=!0}continue}const u=di(8&r?"class":l,i,li(t),n);if(-1===u){if(hi(r))return!1;o=!0;continue}if(""!==c){let t;t=u>s?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==oi(e,c,0)||2&r&&c!==t){if(hi(r))return!1;o=!0}}}}else{if(!o&&!hi(r)&&!hi(l))return!1;if(o&&hi(l))continue;o=!1,r=l|1&r}}return hi(r)||o}function hi(t){return 0==(1&t)}function di(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function pi(t,e,n=!1){for(let r=0;r<e.length;r++)if(ui(t,e[r],n))return!0;return!1}function fi(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function gi(t,e){return t?":not("+e.trim()+")":e}function mi(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||hi(o)||(e+=gi(s,i),i=""),r=o,s=s||!hi(r);n++}return""!==i&&(e+=gi(s,i)),e}const _i={};function bi(t){const e=t[3];return Me(e)?e[3]:e}function yi(t){return wi(t[13])}function vi(t){return wi(t[4])}function wi(t){for(;null!==t&&!Me(t);)t=t[4];return t}function Ci(t){Si(Ze(),Qe(),wn()+t,rn())}function Si(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Pn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Mn(e,r,0,n)}Cn(n)}function Ti(t,e){return t<<17|e<<2}function Pi(t){return t>>17&32767}function Mi(t){return 2|t}function Oi(t){return(131068&t)>>2}function xi(t,e){return-131069&t|e<<2}function Ei(t){return 1|t}function Ai(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];pn(i),n.contentQueries(2,e[s],s)}}}function ki(t,e,n){return De(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Ii(t,e,n,r,i,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,$e(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function Ni(t,e,n,r,i,s){const o=n+20,a=t.data[o]||function(t,e,n,r,i,s){const o=Je(),a=en(),l=a?o:o&&o.parent,c=t.data[n]=Ui(0,l&&l!==e?l:null,r,n,i,s);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,r,i,s);return tn(a,!0),a}function Di(t,e,n){gn(e,e[6]);try{const r=t.viewQuery;null!==r&&hs(1,r,n);const i=t.template;null!==i&&Hi(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Ai(t,e),t.staticViewQueries&&hs(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)os(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,vn()}}function Ri(t,e,n,r){const i=e[2];if(256==(256&i))return;gn(e,e[6]);const s=rn();try{$e(e),Xe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Hi(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&Pn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Mn(e,n,0,null),On(e,0)}if(function(t){for(let e=yi(t);null!==e;e=vi(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Ke(r,1),n[2]|=1024}}}(e),function(t){for(let e=yi(t);null!==e;e=vi(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];ze(n)&&Ri(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Ai(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&Pn(e,n)}else{const n=t.contentHooks;null!==n&&Mn(e,n,1),On(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,s=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(s=0-o,Cn(s),r+=9+n[++t],i=r):r+=o:(null!==o&&(cn(r,i),o(2,e[i])),i++)}}}finally{Cn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)ss(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&hs(2,l,r),!s)if(o){const n=t.viewCheckHooks;null!==n&&Pn(e,n)}else{const n=t.viewHooks;null!==n&&Mn(e,n,2),On(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ke(e[3],-1))}finally{vn()}}function Gi(t,e,n,r){const i=e[10],s=!rn(),o=Ue(e);try{s&&!o&&i.begin&&i.begin(),o&&Di(t,e,r),Ri(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function Hi(t,e,n,r,i){const s=wn();try{Cn(-1),2&r&&e.length>20&&Si(t,e,0,rn()),n(r,i)}finally{Cn(s)}}function Li(t,e,n){if(Oe(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function Vi(t,e,n){qe()&&(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Xn(n,e),ri(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const r=t.data[a],s=Ae(r);s&&es(e,n,r);const l=rr(e,t,a,n);ri(l,e),null!==o&&ns(0,a-i,l,r,0,o),s&&(Fe(n.index,e)[8]=l)}}(t,e,n,Le(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=t.expandoInstructions,o=t.firstCreatePass,a=n.index-20,l=Xe.lFrame.currentDirectiveIndex;try{Cn(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];un(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?qi(r,i):o&&s.push(null)}}finally{Cn(-1),un(l)}}(t,e,n))}function Bi(t,e,n=Le){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function Fi(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ji(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function ji(t,e,n,r,i,s,o,a,l,c){const u=20+r,h=u+i,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:_i);return n}(u,h);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function Ui(t,e,n,r,i,s){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function zi(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function Wi(t,e,n,r,i,s,o,a){const l=Le(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[r])?(_s(t,n,c,r,i),xe(e)&&function(t,e){const n=Fe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,e.tagName||"",r):i,De(s)?s.setProperty(l,r,i):Nn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function $i(t,e,n,r){let i=!1;if(qe()){const s=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];pi(n,o.selectors,!1)&&(i||(i=[]),Yn(Xn(n,e),t,o.type),Ae(o)?(2&n.flags&&ii(n),Zi(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){let r=0;i=!0,Ji(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}Qi(t,n,s.length);let a=!1,l=!1;for(let i=0;i<s.length;i++){const c=s[i];n.mergedAttrs=Dn(n.mergedAttrs,c.hostAttrs),ts(t,e,c),Yi(t.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),Ki(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===i||li(e)?null:rs(n,i);s.push(c),o=zi(n,l,o),a=zi(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n),Xi(t,e,r)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,o)}return n.mergedAttrs=Dn(n.mergedAttrs,n.attrs),i}function Ki(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Xi(t,e,n){for(let r=0;r<n;r++)e.push(_i),t.blueprint.push(_i),t.data.push(null)}function qi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Qi(t,e,n){const r=20-e.index,i=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function Zi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Yi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ae(e)&&(n[""]=t)}}function Ji(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ts(t,e,n){t.data.push(n);const r=n.factory||(n.factory=Se(n.type)),i=new An(r,Ae(n),null);t.blueprint.push(i),e.push(i)}function es(t,e,n){const r=Le(e,t),i=Fi(n),s=t[10],o=as(t,Ii(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n)));t[e.index]=o}function ns(t,e,n,r,i,s){const o=s[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const i=o[e++],s=o[e++],a=o[e++];null!==t?r.setInput(n,a,i,s):n[s]=a}}}function rs(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function is(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function ss(t,e){const n=Fe(e,t);if(ze(n)){const t=n[1];80&n[2]?Ri(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=yi(e);null!==r;r=vi(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];Ri(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Fe(n[r],e);ze(i)&&i[5]>0&&t(i)}}(n)}}function os(t,e){const n=Fe(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),Di(r,n,n[8])}function as(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ls(t){for(;t;){t[2]|=64;const e=bi(t);if(ke(t)&&!e)return t;t=e}return null}function cs(t,e,n){const r=e[10];r.begin&&r.begin();try{Ri(t,e,t.template,n)}catch(i){throw ms(e,i),i}finally{r.end&&r.end()}}function us(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=je(n),i=r[1];Gi(i,r,i.template,n)}}(t[8])}function hs(t,e,n){pn(0),e(t,n)}const ds=(()=>Promise.resolve(null))();function ps(t){return t[7]||(t[7]=[])}function fs(t){return t.cleanup||(t.cleanup=[])}function gs(t,e,n){return(null===t||Ae(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function ms(t,e){const n=t[9],r=n?n.get(hr,null):null;r&&r.handleError(e)}function _s(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function bs(t,e){const n=e[3];return-1===t.index?Me(n)?n:null:n}function ys(t,e){const n=bs(t,e);return n?ks(e[11],n[7]):null}function vs(t,e,n,r,i){if(null!=r){let s,o=!1;Me(r)?s=r:Pe(r)&&(o=!0,r=r[0]);const a=Ge(r);0===t&&null!==n?null==i?Es(e,n,a):xs(e,n,a,i||null):1===t&&null!==n?xs(e,n,a,i||null):2===t?function(t,e,n){const r=ks(t,e);r&&function(t,e,n,r){De(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,i){const s=n[7];s!==Ge(n)&&vs(e,t,r,s,i);for(let o=10;o<n.length;o++){const i=n[o];Gs(i[1],i,t,e,r,s)}}(e,t,s,n,i)}}function ws(t,e,n,r){const i=ys(t.node,e);i&&Gs(t,e,e[11],n?1:2,i,r)}function Cs(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&Ke(e[3],-1),n.splice(r,1)}function Ss(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Cs(i,r),e>0&&(t[n-1][4]=r[4]);const s=ie(t,10+e);ws(r[1],r,!1,null);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Ts(t,e){if(!(256&e[2])){const n=e[11];De(n)&&n.destroyNode&&Gs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ms(t[1],t);for(;e;){let n=null;if(Pe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Pe(e)&&Ms(e[1],e),e=Ps(e,t);null===e&&(e=t),Pe(e)&&Ms(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ps(t,e){let n;return Pe(t)&&(n=t[6])&&2===n.type?bs(n,t):t[3]===e?null:t[3]}function Ms(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof An)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],s="function"==typeof i?i(e):Ge(e[i]),o=t[n[r+2]],a=n[r+3];"boolean"==typeof a?s.removeEventListener(n[r],o,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&De(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&Me(e[3])){r!==e[3]&&Cs(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Os(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?ys(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Le(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==ue.ShadowDom&&n!==ue.Native)return null}return Le(r,n)}function xs(t,e,n,r){De(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Es(t,e,n){De(t)?t.appendChild(e,n):e.appendChild(n)}function As(t,e,n,r){null!==r?xs(t,e,n,r):Es(t,e,n)}function ks(t,e){return De(t)?t.parentNode(e):e.parentNode}function Is(t,e){if(2===t.type){const n=bs(t,e);return null===n?null:Ds(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Le(t,e):null}function Ns(t,e,n,r){const i=Os(t,r,e);if(null!=i){const t=e[11],s=Is(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)As(t,i,n[e],s);else As(t,i,n,s)}}function Ds(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Le(n,e);if(0===r)return Ds(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return Me(t)?Ds(-1,t):Ge(t)}}{const r=e[16],i=r[6],s=bi(r),o=i.projection[n.projection];return null!=o?t(s,o):t(e,n.next)}}return null}(t,r)}return e[7]}function Rs(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&ri(Ge(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Rs(t,e,n.child,r,i,s,!1),vs(e,t,i,a,s)):1===l?Hs(t,e,r,n,i,s):vs(e,t,i,a,s)),n=o?n.projectionNext:n.next}}function Gs(t,e,n,r,i,s){Rs(n,r,t.node.child,e,i,s,!1)}function Hs(t,e,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)vs(e,t,i,a[l],s);else Rs(t,e,a,o[3],i,s,!0)}function Ls(t,e,n){De(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Vs(t,e,n){De(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class Bs{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,i,s=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&i.push(Ge(o)),Me(o))for(let e=10;e<o.length;e++){const n=o[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,i)}const a=r.type;if(4===a||5===a)t(e,n,r.child,i);else if(1===a){const e=n[16],s=e[6].projection[r.projection];if(Array.isArray(s))i.push(...s);else{const n=bi(e);t(n[1],n,s,i,!0)}}r=s?r.projectionNext:r.next}return i}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ts(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,ps(n=this._lView).push(r),e.firstCreatePass&&fs(e).push(n[7].length-1,null)}markForCheck(){ls(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){cs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){sn(!0);try{cs(t,e,n)}finally{sn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Gs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Fs extends Bs{constructor(t){super(t),this._view=t}detectChanges(){us(this._view)}checkNoChanges(){!function(t){sn(!0);try{us(t)}finally{sn(!1)}}(this._view)}get context(){return null}}let js,Us,zs;function Ws(t,e,n){return js||(js=class extends t{}),new js(Le(e,n))}function $s(t,e,n,r){return Us||(Us=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ii(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Di(e,n,t),new Bs(n)}}),0===n.type?new Us(r,n,Ws(e,n,r)):null}function Ks(t,e,n,r){let i;zs||(zs=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Ws(e,this._hostTNode,this._hostView)}get injector(){return new or(this._hostTNode,this._hostView)}get parentInjector(){const t=Zn(this._hostTNode,this._hostView),e=Vn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=Ln(t),i=e,s=e[6];for(;r>1;)i=i[15],s=i[6],r--;return s}(t,this._hostView,this._hostTNode);return Gn(t)&&null!=n?new or(n,e):new or(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(te,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Me(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new zs(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-10?(e[4]=n[i],re(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,i),ws(r,n,!0,Ds(i,this._lContainer)),t.attachToViewContainerRef(this),re(this._lContainer[8],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=Ss(t,e);n&&Ts(n[1],n)}(this._lContainer,e),ie(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Ss(this._lContainer,e);return n&&null!=ie(this._lContainer[8],e)?new Bs(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if(Me(s))i=s;else{let t;if(4===n.type)t=Ge(s);else if(t=r[11].createComment(""),ke(r)){const e=r[11],i=Le(n,r);xs(e,ks(e,i),t,function(t,e){return De(t)?t.nextSibling(e):e.nextSibling}(e,i))}else Ns(r[1],r,t,n);r[n.index]=i=is(s,r,t,n),as(r,i)}return new zs(i,n,r)}function Xs(t=!1){return function(t,e,n){if(!n&&xe(t)){const n=Fe(t.index,e);return new Bs(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Bs(e[16],e):null}(Je(),Qe(),t)}let qs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Qs(),t})();const Qs=Xs,Zs=new Vt("Set Injector scope."),Ys={},Js={},to=[];let eo=void 0;function no(){return void 0===eo&&(eo=new Jt),eo}function ro(t,e=null,n=null,r){return new io(t,n,e||no(),r)}class io{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&ne(e,n=>this.processProvider(n,t,e)),ne([t],t=>this.processInjectorType(t,[],i)),this.records.set(Bt,ao(void 0,this));const s=this.records.get(Zs);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:wt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Ft,n=at.Default){this.assertNotDestroyed();const r=$t(this);try{if(!(n&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Vt)&&pt(t);e=n&&this.injectableDefInScope(n)?ao(so(t),Ys):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&at.Self?no():this.parent).get(t,e=n&at.Optional&&e===Ft?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(wt(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=wt(e);if(Array.isArray(e))i=e.map(wt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):wt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(jt,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{$t(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(wt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Pt(t)))return!1;let r=gt(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=gt(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{ne(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];ne(r,t=>this.processProvider(t,n,r||to))}}this.injectorDefTypes.add(s),this.records.set(s,ao(r.factory,Ys));const a=r.providers;if(null!=a&&!o){const e=t;ne(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=co(t=Pt(t))?t:Pt(t&&t.provide);const i=function(t,e,n){return lo(t)?ao(void 0,t.useValue):ao(oo(t,e,n),Ys)}(t,e,n);if(co(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&si()}else{let e=this.records.get(r);e?void 0===e.multi&&si():(e=ao(void 0,Ys,!0),e.factory=()=>Yt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===Js?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(wt(t)):e.value===Ys&&(e.value=Js,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function so(t){const e=pt(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;const r=gt(t);if(null!==r)return r.factory;if(t instanceof Vt)throw new Error(`Token ${wt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=se(e,"?");throw new Error(`Can't resolve all parameters for ${wt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[mt]||t[yt]||t[bt]&&t[bt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function oo(t,e,n){let r=void 0;if(co(t)){const e=Pt(t);return Se(e)||so(e)}if(lo(t))r=()=>Pt(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Yt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>qt(Pt(t.useExisting));else{const i=Pt(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${wt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return Se(i)||so(i);r=()=>new i(...Yt(t.deps))}var i;return r}function ao(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function lo(t){return null!==t&&"object"==typeof t&&Ut in t}function co(t){return"function"==typeof t}const uo=function(t,e,n){return function(t,e=null,n=null,r){const i=ro(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let ho=(()=>{class t{static create(t,e){return Array.isArray(t)?uo(t,e,""):uo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Ft,t.NULL=new Jt,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>qt(Bt)}),t.__NG_ELEMENT_ID__=-1,t})();const po=new Vt("AnalyzeForEntryComponents");let fo=new Map;const go=new Set;function mo(t){return"string"==typeof t?t:t.text()}function _o(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?i=Ct(i,t):2==s&&(r=Ct(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}let bo=null;function yo(){if(!bo){const t=kt.Symbol;if(t&&t.iterator)bo=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&&(bo=n)}}}return bo}function vo(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class wo{constructor(t){this.wrapped=t}static wrap(t){return new wo(t)}static unwrap(t){return wo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof wo}}function Co(t){return!!So(t)&&(Array.isArray(t)||!(t instanceof Map)&&yo()in t)}function So(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function To(t,e,n){return t[e]=n}function Po(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Mo(t,e,n,r){const i=Qe();return Po(i,an(),e)&&(Ze(),function(t,e,n,r,i,s){const o=Le(t,e),a=e[11];if(null==r)De(a)?a.removeAttribute(o,n,s):o.removeAttribute(n);else{const e=null==i?Bn(r):i(r,t.tagName||"",n);De(a)?a.setAttribute(o,n,e,s):s?o.setAttributeNS(s,n,e):o.setAttribute(n,e)}}(Sn(),i,t,e,n,r)),Mo}function Oo(t,e,n,r,i,s,o,a){const l=Qe(),c=Ze(),u=t+20,h=c.firstCreatePass?function(t,e,n,r,i,s,o,a,l){const c=e.consts,u=Ni(e,n[6],t,0,o||null,We(c,a));$i(e,n,u,We(c,l)),Tn(e,u);const h=u.tViews=ji(2,-1,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=Ui(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(t,c,l,e,n,r,i,s,o):c.data[u];tn(h,!1);const d=l[11].createComment("");Ns(c,l,d,h),ri(d,l),as(l,l[u]=is(d,l,d,h)),Ee(h)&&Vi(c,l,h),null!=o&&Bi(l,h,a)}function xo(t){return Be(Xe.lFrame.contextLView,t)}function Eo(t,e=at.Default){const n=Qe();return null==n?qt(t,e):Jn(Je(),n,Pt(t),e)}function Ao(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const i=n[r];if(In(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}(Je(),t)}function ko(){throw new Error("invalid")}function Io(t,e,n){const r=Qe();return Po(r,an(),e)&&Wi(Ze(),Sn(),r,t,e,r[11],n,!1),Io}function No(t,e,n,r,i){const s=i?"class":"style";_s(t,n,e.inputs[s],s,r)}function Do(t,e,n,r){const i=Qe(),s=Ze(),o=20+t,a=i[11],l=i[o]=ki(e,a,Xe.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,r,i,s,o){const a=e.consts,l=We(a,s),c=Ni(e,n[6],t,3,i,l);return $i(e,n,c,We(a,o)),null!==c.attrs&&_o(c,c.attrs,!1),null!==c.mergedAttrs&&_o(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,s,i,0,e,n,r):s.data[o];tn(c,!0);const u=c.mergedAttrs;null!==u&&kn(a,l,u);const h=c.classes;null!==h&&Vs(a,l,h);const d=c.styles;null!==d&&Ls(a,l,d),Ns(s,i,l,c),0===Xe.lFrame.elementDepthCount&&ri(l,i),Xe.lFrame.elementDepthCount++,Ee(c)&&(Vi(s,i,c),Li(s,c,i)),null!==r&&Bi(i,c)}function Ro(){let t=Je();en()?nn():(t=t.parent,tn(t,!1));const e=t;Xe.lFrame.elementDepthCount--;const n=Ze();n.firstCreatePass&&(Tn(n,t),Oe(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&No(n,e,Qe(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&No(n,e,Qe(),e.stylesWithoutHost,!1)}function Go(t,e,n,r){Do(t,e,n,r),Ro()}function Ho(t,e,n){const r=Qe(),i=Ze(),s=t+20,o=i.firstCreatePass?function(t,e,n,r,i){const s=e.consts,o=We(s,r),a=Ni(e,n[6],t,4,"ng-container",o);return null!==o&&_o(a,o,!0),$i(e,n,a,We(s,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,i,r,e,n):i.data[s];tn(o,!0);const a=r[s]=r[11].createComment("");Ns(i,r,a,o),ri(a,r),Ee(o)&&(Vi(i,r,o),Li(i,o,r)),null!=n&&Bi(r,o)}function Lo(){let t=Je();const e=Ze();en()?nn():(t=t.parent,tn(t,!1)),e.firstCreatePass&&(Tn(e,t),Oe(t)&&e.queries.elementEnd(t))}function Vo(){return Qe()}function Bo(t){return!!t&&"function"==typeof t.then}function Fo(t){return!!t&&"function"==typeof t.subscribe}function jo(t,e,n=!1,r){const i=Qe(),s=Ze(),o=Je();return zo(s,i,i[11],o,t,e,n,r),jo}function Uo(t,e,n=!1,r){const i=Je(),s=Qe(),o=Ze();return zo(o,s,gs(hn(o.data),i,s),i,t,e,n,r),Uo}function zo(t,e,n,r,i,s,o=!1,a){const l=Ee(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=ps(e);let h=!0;if(3===r.type){const d=Le(r,e),p=a?a(d):he,f=p.target||d,g=u.length,m=a?t=>a(Ge(t[r.index])).target:r.index;if(De(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const t=i[s];if(t===n&&i[s+1]===r){const t=e[7],n=i[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=$o(r,e,s,!1);const t=n.listen(p.name||f,i,s);u.push(s,t),c&&c.push(i,m,g,g+1)}}else s=$o(r,e,s,!0),f.addEventListener(i,s,o),u.push(s),c&&c.push(i,m,g,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),o=u.length;u.push(s,t),c&&c.push(i,r.index,o,-(o+1))}}}function Wo(t,e,n){try{return!1!==e(n)}catch(r){return ms(t,r),!1}}function $o(t,e,n,r){return function i(s){if(s===Function)return n;const o=2&t.flags?Fe(t.index,e):e;0==(32&e[2])&&ls(o);let a=Wo(e,n,s),l=i.__ngNextListenerFn__;for(;l;)a=Wo(e,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Ko(t=1){return function(t){return(Xe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Xe.lFrame.contextLView))[8]}(t)}function Xo(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?pi(t,s,!0):fi(r,s))return i}else n=i}return n}function qo(t){const e=Qe()[16][6];if(!e.projection){const n=e.projection=se(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){const e=t?Xo(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i),i=i.next}}}function Qo(t,e=0,n){const r=Qe(),i=Ze(),s=Ni(i,r[6],t,1,null,n||null);null===s.projection&&(s.projection=e),nn(),function(t,e,n){Hs(e[11],0,e,n,Os(t,n,e),Is(n.parent||e[6],e))}(i,r,s)}const Zo=[];function Yo(t,e,n,r,i){const s=t[n+1],o=null===e;let a=r?Pi(s):Oi(s),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Jo(t[a],e)&&(l=!0,t[a+1]=r?Ei(n):Mi(n)),a=r?Pi(n):Oi(n)}l&&(t[n+1]=r?Mi(s):Ei(s))}function Jo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&le(t,e)>=0}const ta={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ea(t){return t.substring(ta.key,ta.keyEnd)}function na(t){return t.substring(ta.value,ta.valueEnd)}function ra(t,e){const n=ta.textEnd;return n===e?-1:(e=ta.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,ta.key=e,n),oa(t,e,n))}function ia(t,e){const n=ta.textEnd;let r=ta.key=oa(t,e,n);return n===r?-1:(r=ta.keyEnd=function(t,e,n){let r;for(;e<n&&(45===(r=t.charCodeAt(e))||95===r||(-33&r)>=65&&(-33&r)<=90);)e++;return e}(t,r,n),r=aa(t,r,n),r=ta.value=oa(t,r,n),r=ta.valueEnd=function(t,e,n){let r=-1,i=-1,s=-1,o=e,a=o;for(;o<n;){const l=t.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=la(t,l,o,n):e===o-4&&85===s&&82===i&&76===r&&40===l?a=o=la(t,41,o,n):l>32&&(a=o),s=i,i=r,r=-33&l}return a}(t,r,n),aa(t,r,n))}function sa(t){ta.key=0,ta.keyEnd=0,ta.value=0,ta.valueEnd=0,ta.textEnd=t.length}function oa(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function aa(t,e,n,r){return(e=oa(t,e,n))<n&&e++,e}function la(t,e,n,r){let i=-1,s=n;for(;s<r;){const n=t.charCodeAt(s++);if(n==e&&92!==i)return s;i=92==n&&92===i?0:n}throw new Error}function ca(t,e,n){return fa(t,e,n,!1),ca}function ua(t,e){return fa(t,e,null,!0),ua}function ha(t,e){for(let n=function(t){return sa(t),ia(t,oa(t,0,ta.textEnd))}(e);n>=0;n=ia(e,n))va(t,ea(e),na(e))}function da(t){ga(oe,pa,t,!0)}function pa(t,e){for(let n=function(t){return sa(t),ra(t,oa(t,0,ta.textEnd))}(e);n>=0;n=ra(e,n))oe(t,ea(e),!0)}function fa(t,e,n,r){const i=Qe(),s=Ze(),o=ln(2);if(s.firstUpdatePass&&_a(s,t,o,r),e!==_i&&Po(i,o,e)){let a;null==n&&(a=function(){const t=Xe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),wa(s,s.data[wn()+20],i,i[11],t,i[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=wt(br(t)))),t}(e,n),r,o)}}function ga(t,e,n,r){const i=Ze(),s=ln(2);i.firstUpdatePass&&_a(i,null,s,r);const o=Qe();if(n!==_i&&Po(o,s,n)){const a=i.data[wn()+20];if(Ta(a,r)&&!ma(i,s)){let t=r?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=Ct(t,n||"")),No(i,a,o,n,r)}else!function(t,e,n,r,i,s,o,a){i===_i&&(i=Zo);let l=0,c=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=l<i.length?i[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f=null,g=void 0;u===h?(l+=2,c+=2,d!==p&&(f=h,g=p)):null===h||null!==u&&u<h?(l+=2,f=u):(c+=2,f=h,g=p),null!==f&&wa(t,e,n,r,f,g,o,a),u=l<i.length?i[l]:null,h=c<s.length?s[c]:null}}(i,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return Zo;const r=[],i=br(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)t(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&t(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,s)}}function ma(t,e){return e>=t.expandoStartIndex}function _a(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[wn()+20],o=ma(t,n);Ta(s,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const i=hn(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=ya(n=ba(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=ba(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Oi(r))return t[Pi(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=ba(null,t,e,n[1],r),n=ya(n,e.attrs,r),function(t,e,n,r){t[Pi(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=ya(r,t[s].hostAttrs,n);return ya(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let o=s?e.classBindings:e.styleBindings,a=Pi(o),l=Oi(o);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||le(t,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Pi(t[a+1]);t[r+1]=Ti(e,a),0!==e&&(t[e+1]=xi(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Ti(a,0),0!==a&&(t[a+1]=xi(t[a+1],r)),a=r;else t[r+1]=Ti(l,0),0===a?a=r:t[l+1]=xi(t[l+1],r),l=r;u&&(t[r+1]=Mi(t[r+1])),Yo(t,c,r,!0),Yo(t,c,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&le(s,e)>=0&&(n[r+1]=Ei(n[r+1]))}(e,c,t,r,s),o=Ti(a,l),s?e.classBindings=o:e.styleBindings=o}(i,s,e,n,o,r)}}function ba(t,e,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],r=ya(r,s.hostAttrs,i),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function ya(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),oe(t,o,!!n||e[++s]))}return void 0===t?null:t}function va(t,e,n){ei(e)&&(n=Zr(n)),oe(t,e,n)}function wa(t,e,n,r,i,s,o,a){if(3!==e.type)return;const l=t.data,c=l[a+1];Sa(1==(1&c)?Ca(l,e,n,i,Oi(c),o):void 0)||(Sa(s)||function(t){return 2==(2&t)}(c)&&(s=Ca(l,null,n,i,a,o)),function(t,e,n,r,i){const s=De(t);if(e)i?s?t.addClass(n,r):n.classList.add(r):s?t.removeClass(n,r):n.classList.remove(r);else{const e=-1==r.indexOf("-")?void 0:2;null==i?s?t.removeStyle(n,r,e):n.style.removeProperty(r):s?t.setStyle(n,r,i,e):n.style.setProperty(r,i)}}(r,o,He(wn(),n),i,s))}function Ca(t,e,n,r,i,s){const o=null===e;let a=void 0;for(;i>0;){const e=t[i],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[i+1];u===_i&&(u=c?Zo:void 0);let h=c?ae(u,r):l===r?u:void 0;if(s&&!Sa(h)&&(h=ae(e,r)),Sa(h)&&(a=h,o))return a;const d=t[i+1];i=o?Pi(d):Oi(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=ae(t,r))}return a}function Sa(t){return void 0!==t}function Ta(t,e){return 0!=(t.flags&(e?16:32))}function Pa(t,e=""){const n=Qe(),r=Ze(),i=t+20,s=r.firstCreatePass?Ni(r,n[6],t,3,null,null):r.data[i],o=n[i]=function(t,e){return De(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Ns(r,n,o,s),tn(s,!1)}function Ma(t){return Oa("",t,""),Ma}function Oa(t,e,n){const r=Qe(),i=function(t,e,n,r){return Po(t,an(),n)?e+Bn(n)+r:_i}(r,t,e,n);return i!==_i&&function(t,e,n){const r=He(e,t),i=t[11];De(i)?i.setValue(r,n):r.textContent=n}(r,wn(),i),Oa}function xa(t,e,n){const r=Qe();return Po(r,an(),e)&&Wi(Ze(),Sn(),r,t,e,r[11],n,!0),xa}function Ea(t,e,n){const r=Qe();if(Po(r,an(),e)){const i=Ze(),s=Sn();Wi(i,s,r,t,e,gs(hn(i.data),s,r),n,!0)}return Ea}function Aa(t,e){const n=je(t)[1],r=n.data.length-1;Tn(n,{directiveStart:r,directiveEnd:r+1})}function ka(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(Ae(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Ia(t.inputs),e.declaredInputs=Ia(t.declaredInputs),e.outputs=Ia(t.outputs);const n=i.hostBindings;n&&Ra(t,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Na(t,s),o&&Da(t,o),ct(t.inputs,i.inputs),ct(t.declaredInputs,i.declaredInputs),ct(t.outputs,i.outputs),Ae(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=t.afterContentInit||i.afterContentInit,e.afterViewChecked=t.afterViewChecked||i.afterViewChecked,e.afterViewInit=t.afterViewInit||i.afterViewInit,e.doCheck=t.doCheck||i.doCheck,e.onDestroy=t.onDestroy||i.onDestroy,e.onInit=t.onInit||i.onInit}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===ka&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Dn(i.hostAttrs,n=Dn(n,i.hostAttrs))}}(r)}function Ia(t){return t===he?{}:t===de?[]:t}function Na(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Da(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Ra(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class Ga{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Ha(t){t.type.prototype.ngOnChanges&&(t.setInput=La,t.onChanges=function(){const t=Va(this),e=t&&t.current;if(e){const n=t.previous;if(n===he)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function La(t,e,n,r){const i=Va(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:he,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Ga(l&&l.currentValue,e,o===he),t[r]=e}function Va(t){return t.__ngSimpleChanges__||null}function Ba(t,e,n,r,i){if(t=Pt(t),Array.isArray(t))for(let s=0;s<t.length;s++)Ba(t[s],e,n,r,i);else{const s=Ze(),o=Qe();let a=co(t)?t:Pt(t.provide),l=oo(t);const c=Je(),u=65535&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>16;if(co(t)||!t.multi){const r=new An(l,i,Eo),p=Ua(a,e,i?u:u+d,h);-1===p?(Yn(Xn(c,o),s,a),Fa(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Ua(a,e,u+d,h),f=Ua(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){Yn(Xn(c,o),s,a);const u=function(t,e,n,r,i){const s=new An(t,n,Eo);return s.multi=[],s.index=e,s.componentProviders=0,ja(s,i,r&&!n),s}(i?Wa:za,n.length,i,r,l);!i&&m&&(n[f].providerFactory=u),Fa(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(u),o.push(u)}else Fa(s,t,p>-1?p:f,ja(n[i?f:p],l,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function Fa(t,e,n,r){const i=co(e);if(i||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function ja(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ua(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function za(t,e,n,r){return $a(this.multi,[])}function Wa(t,e,n,r){const i=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=rr(n,n[1],this.providerFactory.index,r);s=e.slice(0,t),$a(i,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],$a(i,s);return s}function $a(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ka(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Ze();if(r.firstCreatePass){const i=Ae(t);Ba(n,r.data,r.blueprint,i,!0),Ba(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}Ha.ngInherit=!0;class Xa{}class qa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${wt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Qa=(()=>{class t{}return t.NULL=new qa,t})(),Za=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Ya(t),t})();const Ya=function(t){return Ws(t,Je(),Qe())};class Ja{}const tl=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let el=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>nl(),t})();const nl=function(){const t=Qe(),e=Fe(Je().index,t);return function(t){const e=t[11];if(De(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Pe(e)?e:t)};let rl=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class il{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const sl=new il("9.1.11");class ol{constructor(){}supports(t){return Co(t)}create(t){return new ll(t)}}const al=(t,e)=>e;class ll{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||al}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex<dl(n,r,i)?e:n,o=dl(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{i||(i=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;e<=s&&s<t&&(i[n]=r+1)}i[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}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=[]),!Co(t))throw new Error(`Error trying to diff '${wt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&vo(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,e)),vo(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),s=!0),i=i._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[yo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&vo(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),vo(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),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,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(vo(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(vo(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new cl(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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 r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,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 r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new hl),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 hl),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 cl{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 ul{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)&&vo(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 hl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ul,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 dl(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class pl{constructor(){}supports(t){return t instanceof Map||So(t)}create(){return new fl}}class fl{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||So(t)))throw new Error(`Error trying to diff '${wt(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 r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),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 r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new gl(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){vo(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 gl{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 ml=(()=>{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 ot,new it]]}}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.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new ol])}),t})(),_l=(()=>{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 ot,new it]]}}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.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new pl])}),t})();const bl=[new pl],yl=new ml([new ol]),vl=new _l(bl);let wl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Cl(t,Za),t})();const Cl=function(t,e){return $s(t,e,Je(),Qe())};let Sl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Tl(t,Za),t})();const Tl=function(t,e){return Ks(t,e,Je(),Qe())},Pl={};class Ml extends Qa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ce(t);return new El(e,this.ngModule)}}function Ol(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const xl=new Vt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>jn});class El extends Xa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(mi).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ol(this.componentDef.inputs)}get outputs(){return Ol(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,Pl,i);return s!==Pl||r===Pl?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(Ja,Re),o=i.get(rl,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(De(t))return t.selectRootElement(e,n===ue.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):ki(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:jn,clean:ds,playerHandler:null,flags:0},p=ji(0,-1,null,1,0,null,null,null,null,null),f=Ii(null,p,d,u,null,null,s,a,o,i);let g,m;gn(f,null);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=Ni(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(_o(a,l,!0),null!==t&&(kn(i,t,l),null!==a.classes&&Vs(i,t,a.classes),null!==a.styles&&Ls(i,t,a.styles)));const c=r.createRenderer(t,e),u=Ii(n,Fi(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return o.firstCreatePass&&(Yn(Xn(a,n),o,e.type),Zi(o,a),Ji(a,n.length,1)),as(n,u),n[20]=u}(c,this.componentDef,f,s,a);if(c)if(n)kn(a,c,["ng-version",sl.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!hi(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&kn(a,c,t),e&&e.length>0&&Vs(a,c,e.join(" "))}if(m=Ve(p,0),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}g=function(t,e,n,r,i){const s=n[1],o=function(t,e,n){const r=Je();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Qi(t,r,1),ts(t,e,n));const i=rr(e,t,e.length-1,r);ri(i,e);const s=Le(r,e);return s&&ri(s,e),i}(s,n,e);r.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Je();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Cn(a.index-20);const t=n[1];Ki(t,e),Xi(t,n,e.hostVars),qi(e,o)}return o}(t,this.componentDef,f,d,[Aa]),Di(p,f,null)}finally{vn()}const _=new Al(this.componentType,g,Ws(Za,m,f),f,m);return n&&!h||(p.node.child=m),_}}class Al extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Fs(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=Ui(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new or(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const kl=void 0;var Il=["en",[["a","p"],["AM","PM"],kl],[["AM","PM"],kl,kl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kl,[["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"]],kl,[["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}",kl,"{1} 'at' {0}",kl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Nl={};function Dl(t){return t in Nl||(Nl[t]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[t]),Nl[t]}const Rl=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,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};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.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let Gl="en-US";function Hl(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Gl=t.toLowerCase().replace(/_/g,"-"))}const Ll=new Map;class Vl extends te{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ml(this);const n=Te(t),r=t[Gt]||null;r&&Hl(r),this._bootstrapComponents=zn(n.bootstrap),this._r3Injector=ro(t,e,[{provide:te,useValue:this},{provide:Qa,useValue:this.componentFactoryResolver}],wt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ho.THROW_IF_NOT_FOUND,n=at.Default){return t===ho||t===te||t===Bt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Bl extends ee{constructor(t){super(),this.moduleType=t,null!==Te(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${wt(e)} vs ${wt(e.name)}`)})(t,Ll.get(t),e),Ll.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Vl(this.moduleType,t)}}function Fl(t,e,n,r,i,s){return function(t,e,n,r,i,s,o,a){const l=e+n;return function(t,e,n,r,i){const s=function(t,e,n,r){const i=Po(t,e,n);return Po(t,e+1,r)||i}(t,e,n,r);return Po(t,e+2,i)||s}(t,l,i,s,o)?To(t,l+3,a?r.call(a,i,s,o):r(i,s,o)):jl(t,l+3)}(Qe(),on(),t,e,n,r,i,s)}function jl(t,e){const n=t[e];return n===_i?void 0:n}function Ul(t,e){const n=Ze();let r;const i=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Se(r.type)),o=Kt(Eo),a=$n(!1),l=s();return $n(a),Kt(o),function(t,e,n,r){const i=n+20;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(n,Qe(),t,l),l}function zl(t,e,n){const r=Qe(),i=Be(r,t);return function(t,e){return wo.isWrapped(e)&&(e=wo.unwrap(e),t[Xe.lFrame.bindingIndex]=_i),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?function(t,e,n,r,i,s){const o=e+n;return Po(t,o,i)?To(t,o+1,s?r.call(s,i):r(i)):jl(t,o+1)}(r,on(),e,i.transform,n,i):i.transform(n))}class Wl extends P{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return t instanceof h&&t.add(o),o}}function $l(){return this._results[yo()]()}class Kl{constructor(){this.dirty=!0,this._results=[],this.changes=new Wl,this.length=0;const t=yo(),e=Kl.prototype;e[t]||(e[t]=$l)}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 r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}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()}}class Xl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Xl(this.queryList)}setDirty(){this.queryList.setDirty()}}class ql{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new ql(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==uc(t,e).matches&&this.queries[e].setDirty()}}class Ql{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Zl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Zl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Yl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Yl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,Jl(e,n[r]))}else{const n=this.metadata.predicate;n===wl?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,nr(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Za||r===Sl||r===wl&&0===e.type)this.addMatch(e.index,-2);else{const n=nr(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Jl(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function tc(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?Ws(Za,t,e):0===t.type?$s(wl,Za,t,e):null}(e,t):-2===n?function(t,e,n){return n===Za?Ws(Za,e,t):n===wl?$s(wl,Za,e,t):n===Sl?Ks(Sl,Za,e,t):void 0}(t,e,r):rr(t,t[1],n,e)}function ec(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const i=s[t];o.push(i<0?null:tc(e,r[i],s[t+1],n.metadata.read))}i.matches=o}return i.matches}function nc(t){const e=Qe(),n=Ze(),r=dn();pn(r+1);const i=uc(n,r);if(t.dirty&&Ue(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?function t(e,n,r,i){const s=e.queries.getByIndex(r),o=s.matches;if(null!==o){const a=ec(e,n,s,r);for(let e=0;e<o.length;e+=2){const r=o[e];if(r>0)i.push(a[e/2]);else{const s=o[e+1],a=n[-r];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,s,i)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,s,i)}}}}}return i}(n,e,r,[]):ec(n,e,i,r);t.reset(s),t.notifyOnChanges()}return!0}return!1}function rc(t,e,n){sc(Ze(),Qe(),t,e,n,!0)}function ic(t,e,n){sc(Ze(),Qe(),t,e,n,!1)}function sc(t,e,n,r,i,s){t.firstCreatePass&&(cc(t,new Ql(n,r,s,i),-1),s&&(t.staticViewQueries=!0)),lc(t,e)}function oc(t,e,n,r){!function(t,e,n,r,i,s,o,a){t.firstCreatePass&&(cc(t,new Ql(n,r,!1,i),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a)),lc(t,e)}(Ze(),Qe(),e,n,r,0,Je(),t)}function ac(){return t=Qe(),e=dn(),t[19].queries[e].queryList;var t,e}function lc(t,e){const n=new Kl;!function(t,e,n,r){const i=ps(e);i.push(n),t.firstCreatePass&&fs(t).push(r,i.length-1)}(t,e,n,n.destroy),null===e[19]&&(e[19]=new ql),e[19].queries.push(new Xl(n))}function cc(t,e,n){null===t.queries&&(t.queries=new Zl),t.queries.track(new Yl(e,n))}function uc(t,e){return t.queries.getByIndex(e)}function hc(t,e){return $s(wl,Za,t,e)}const dc=new Vt("Application Initializer");let pc=(()=>{class t{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]();Bo(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(qt(dc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const fc=new Vt("AppId"),gc={provide:fc,useFactory:function(){return`${mc()}${mc()}${mc()}`},deps:[]};function mc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _c=new Vt("Platform Initializer"),bc=new Vt("Platform ID"),yc=new Vt("appBootstrapListener");let vc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const wc=new Vt("LocaleId"),Cc=new Vt("DefaultCurrencyCode");class Sc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Tc=function(t){return new Bl(t)},Pc=Tc,Mc=function(t){return Promise.resolve(Tc(t))},Oc=function(t){const e=Tc(t),n=zn(Te(t).declarations).reduce((t,e)=>{const n=Ce(e);return n&&t.push(new El(n)),t},[]);return new Sc(e,n)},xc=Oc,Ec=function(t){return Promise.resolve(Oc(t))};let Ac=(()=>{class t{constructor(){this.compileModuleSync=Pc,this.compileModuleAsync=Mc,this.compileModuleAndAllComponentsSync=xc,this.compileModuleAndAllComponentsAsync=Ec}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const kc=new Vt("compilerOptions"),Ic=(()=>Promise.resolve(0))();function Nc(t){"undefined"==typeof Zone?Ic.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Dc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wl(!1),this.onMicrotaskEmpty=new Wl(!1),this.onStable=new Wl(!1),this.onError=new Wl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.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)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=kt.requestAnimationFrame,e=kt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(kt,()=>{t.lastRequestAnimationFrameId=-1,Lc(t),Hc(t)}),Lc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return Vc(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Bc(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return Vc(t),e.invoke(r,i,s,o,a)}finally{Bc(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Lc(t),Hc(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Dc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Dc.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,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,Gc,Rc,Rc);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Rc(){}const Gc={};function Hc(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 Lc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Vc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Bc(t){t._nesting--,Hc(t)}class Fc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wl,this.onMicrotaskEmpty=new Wl,this.onStable=new Wl,this.onError=new Wl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let jc=(()=>{class t{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:()=>{Dc.assertNotInAngularZone(),Nc(()=>{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())Nc(()=>{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 r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,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[]}}return t.\u0275fac=function(e){return new(e||t)(qt(Dc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Uc=(()=>{class t{constructor(){this._applications=new Map,$c.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 $c.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class zc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Wc,$c=new zc,Kc=function(t,e,n){const r=t.get(kc,[]).concat(e),i=new Bl(n);if(0===fo.size)return Promise.resolve(i);const s=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===s.length)return Promise.resolve(i);const o=function(){const t=kt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=ho.create({providers:s}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(mo))}return e}return fo.forEach((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;s&&s.forEach((e,n)=>{o.push(""),i.push(r(e).then(r=>{o[a+n]=r,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(t){go.delete(t)}(n));e.push(l)}),fo=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const Xc=new Vt("AllowMultipleToken");class qc{constructor(t,e){this.name=t,this.token=e}}function Qc(t,e,n=[]){const r="Platform: "+e,i=new Vt(r);return(e=[])=>{let s=Zc();if(!s||s.injector.get(Xc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:Zs,useValue:"platform"});!function(t){if(Wc&&!Wc.destroyed&&!Wc.injector.get(Xc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Wc=t.get(Yc);const e=t.get(_c,null);e&&e.forEach(t=>t())}(ho.create({providers:t,name:r}))}return function(t){const e=Zc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function Zc(){return Wc&&!Wc.destroyed?Wc:null}let Yc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Fc:("zone.js"===t?void 0:t)||new Dc({enableLongStackTrace:Sr(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Dc,useValue:n}];return n.run(()=>{const e=ho.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(hr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>eu(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return Bo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(pc);return t.runInitializers(),t.donePromise.then(()=>(Hl(i.injector.get(wc,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Jc({},e);return Kc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(tu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${wt(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}}return t.\u0275fac=function(e){return new(e||t)(qt(ho))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Jc(t,e){return Array.isArray(e)?e.reduce(Jc,t):Object.assign(Object.assign({},t),e)}let tu=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Dc.assertNotInAngularZone(),Nc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Dc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=K(o,a.pipe(t=>{return X()((e=tt,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Y);return r.source=t,r.subjectFactory=n,r})(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 Xa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(te),i=n.create(ho.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(jc,null);return s&&i.injector.get(Uc).registerApplication(i.location.nativeElement,s),this._loadComponent(i),Sr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;eu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(yc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),eu(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(qt(Dc),qt(vc),qt(ho),qt(hr),qt(Qa),qt(pc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function eu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class nu{}class ru{}const iu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let su=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||iu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>ou(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>ou(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(qt(Ac),qt(ru,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function ou(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const au=Qc(null,"core",[{provide:bc,useValue:"unknown"},{provide:Yc,deps:[ho]},{provide:Uc,deps:[]},{provide:vc,deps:[]}]),lu=[{provide:tu,useClass:tu,deps:[Dc,vc,ho,hr,Qa,pc]},{provide:xl,deps:[Dc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:pc,useClass:pc,deps:[[new it,dc]]},{provide:Ac,useClass:Ac,deps:[]},gc,{provide:ml,useFactory:function(){return yl},deps:[]},{provide:_l,useFactory:function(){return vl},deps:[]},{provide:wc,useFactory:function(t){return Hl(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new rt(wc),new it,new ot]]},{provide:Cc,useValue:"USD"}];let cu=(()=>{class t{constructor(t){}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(tu))},providers:lu}),t})();const uu={production:!0,url:"https://salesforcevirtualadventures.com/google/",bottlesThreshold:50,stockName:"Google_bottle",showVideoCtaBars:!1,showVideoCtaOverlays:!0,disableScrubbing:!1,videos:{Zulily_Viewfinder:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",Zulily_Box:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",Yeti_Sign_L:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",Yeti_Sign_C:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/salesforce.mp4",Yeti_Sign_R:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",PWC_Sign_Top:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",PWC_Sign_Bottom:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4"},mobileVideoData:{"zulily-expert-product-demo-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"zulily-data-superhero-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"yeti-ask-the-expert-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"yeti-integration-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"pwc-salesforce-g-suite-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"},"pwc-digital-upskilling-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"}},debug:{showFormOnLoad:!1,showVideoOnLoad:!1,autofillForm:!1}};let hu=null;function du(){return hu}const pu=new Vt("DocumentToken");let fu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:gu,token:t,providedIn:"platform"}),t})();function gu(){return qt(_u)}const mu=new Vt("Location Initialized");let _u=(()=>{class t extends fu{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=du().getLocation(),this._history=du().getHistory()}getBaseHrefFromDOM(){return du().getBaseHref(this._doc)}onPopState(t){du().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){du().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){bu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){bu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({factory:yu,token:t,providedIn:"platform"}),t})();function bu(){return!!window.history.pushState}function yu(){return new _u(qt(pu))}function vu(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}function wu(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 Cu(t){return t&&"?"!==t[0]?"?"+t:t}let Su=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:Tu,token:t,providedIn:"root"}),t})();function Tu(t){const e=qt(pu).location;return new Mu(qt(fu),e&&e.origin||"")}const Pu=new Vt("appBaseHref");let Mu=(()=>{class t extends Su{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 vu(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Cu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+Cu(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+Cu(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(qt(fu),qt(Pu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Ou=(()=>{class t extends Su{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){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=vu(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+Cu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+Cu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(qt(fu),qt(Pu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),xu=(()=>{class t{constructor(t,e){this._subject=new Wl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=wu(Au(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+Cu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Au(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cu(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})}}return t.\u0275fac=function(e){return new(e||t)(qt(Su),qt(fu))},t.normalizeQueryParams=Cu,t.joinWithSlash=vu,t.stripTrailingSlash=wu,t.\u0275prov=ut({factory:Eu,token:t,providedIn:"root"}),t})();function Eu(){return new xu(qt(Su),qt(fu))}function Au(t){return t.replace(/\/index.html$/,"")}const ku=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}();class Iu{}let Nu=(()=>{class t extends Iu{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Dl(e);if(n)return n;const r=e.split("-")[0];if(n=Dl(r),n)return n;if("en"===r)return Il;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Rl.PluralCase]}(e||this.locale)(t)){case ku.Zero:return"zero";case ku.One:return"one";case ku.Two:return"two";case ku.Few:return"few";case ku.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(qt(wc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Du(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}class Ru{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Gu=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Sr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#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,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Ru(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Hu(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new Hu(t,i);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,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}}return t.\u0275fac=function(e){return new(e||t)(Eo(Sl),Eo(wl),Eo(ml))},t.\u0275dir=ve({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Hu{constructor(t,e){this.record=t,this.view=e}}let Lu=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Vu,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){Bu("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Bu("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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Eo(Sl),Eo(wl))},t.\u0275dir=ve({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Vu{constructor(){this.$implicit=null,this.ngIf=null}}function Bu(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${wt(e)}'.`)}let Fu=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(Eo(Sl))},t.\u0275dir=ve({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Ha]}),t})();class ju{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Uu{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const zu=new Uu,Wu=new ju;let $u=(()=>{class t{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)):vo(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,wo.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(e){if(Bo(e))return zu;if(Fo(e))return Wu;throw Error(`InvalidPipeArgument: '${e}' for pipe '${wt(t)}'`)}_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())}}return t.\u0275fac=function(e){return new(e||t)(function(t=at.Default){const e=Xs(!0);if(null!=e||t&at.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}())},t.\u0275pipe=we({name:"async",type:t,pure:!1}),t})(),Ku=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[{provide:Iu,useClass:Nu}]}),t})();function Xu(t){return"browser"===t}let qu=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Qu(qt(pu),window,qt(hr))}),t})();class Qu{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,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class Zu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Zu,hu||(hu=t)}getProperty(t,e){return t[e]}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()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}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=Ju||(Ju=document.querySelector("base"),Ju)?Ju.getAttribute("href"):null;return null==e?null:(n=e,Yu||(Yu=document.createElement("a")),Yu.setAttribute("href",n),"/"===Yu.pathname.charAt(0)?Yu.pathname:"/"+Yu.pathname);var n}resetBaseElement(){Ju=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Du(document.cookie,t)}}let Yu,Ju=null;const th=new Vt("TRANSITION_ID"),eh=[{provide:dc,useFactory:function(t,e,n){return()=>{n.get(pc).donePromise.then(()=>{const n=du();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[th,pu,ho],multi:!0}];class nh{static init(){var t;t=new nh,$c=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?du().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const rh=new Vt("EventManagerPlugins");let ih=(()=>{class t{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 r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(qt(rh),qt(Dc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class sh{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=du().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let oh=(()=>{class t{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)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ah=(()=>{class t extends oh{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=>du().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const lh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ch=/%COMP%/g;function uh(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?uh(t,i,n):(i=i.replace(ch,t),n.push(i))}return n}function hh(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let dh=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ph(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ue.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new fh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case ue.Native:case ue.ShadowDom:return new gh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=uh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(qt(ih),qt(ah),qt(fc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class ph{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(lh[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,r){if(r){e=r+":"+e;const i=lh[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=lh[n];r?t.removeAttributeNS(r,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,r){r&tl.DashCase?t.style.setProperty(e,n,r&tl.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&tl.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,hh(n)):this.eventManager.addEventListener(t,e,hh(n))}}class fh extends ph{constructor(t,e,n,r){super(t),this.component=n;const i=uh(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(ch,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(ch,t)}(r+"-"+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 gh extends ph{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ue.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=uh(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const t=document.createElement("style");t.textContent=i[s],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)))}}let mh=(()=>{class t extends sh{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const _h=["alt","control","meta","shift"],bh={"\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"},yh={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"},vh={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let wh=(()=>{class t extends sh{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),s=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>du().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(_h.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(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&&yh.hasOwnProperty(e)&&(e=yh[e]))}return bh[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),_h.forEach(r=>{r!=n&&(0,vh[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Ch=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return qt(Sh)},token:t,providedIn:"root"}),t})(),Sh=(()=>{class t extends Ch{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case $r.NONE:return e;case $r.HTML:return yr(e,"HTML")?br(e):zr(this._doc,String(e));case $r.STYLE:return yr(e,"Style")?br(e):qr(e);case $r.SCRIPT:if(yr(e,"Script"))return br(e);throw new Error("unsafe value used in a script context");case $r.URL:return vr(e),yr(e,"URL")?br(e):Or(String(e));case $r.RESOURCE_URL:if(yr(e,"ResourceURL"))return br(e);throw 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)`)}}bypassSecurityTrustHtml(t){return new pr(t)}bypassSecurityTrustStyle(t){return new fr(t)}bypassSecurityTrustScript(t){return new gr(t)}bypassSecurityTrustUrl(t){return new mr(t)}bypassSecurityTrustResourceUrl(t){return new _r(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({factory:function(){return t=qt(Bt),new Sh(t.get(pu));var t},token:t,providedIn:"root"}),t})();const Th=Qc(au,"browser",[{provide:bc,useValue:"browser"},{provide:_c,useValue:function(){Zu.makeCurrent(),nh.init()},multi:!0},{provide:pu,useFactory:function(){return function(t){Ie=t}(document),document},deps:[]}]),Ph=[[],{provide:Zs,useValue:"root"},{provide:hr,useFactory:function(){return new hr},deps:[]},{provide:rh,useClass:mh,multi:!0,deps:[pu,Dc,bc]},{provide:rh,useClass:wh,multi:!0,deps:[pu]},[],{provide:dh,useClass:dh,deps:[ih,ah,fc]},{provide:Ja,useExisting:dh},{provide:oh,useExisting:ah},{provide:ah,useClass:ah,deps:[pu]},{provide:jc,useClass:jc,deps:[Dc]},{provide:ih,useClass:ih,deps:[rh,Dc]},[]];let Mh=(()=>{class t{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(e){return{ngModule:t,providers:[{provide:fc,useValue:e.appId},{provide:th,useExisting:fc},eh]}}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(t,12))},providers:Ph,imports:[Ku,cu]}),t})();function Oh(...t){let e=t[t.length-1];return O(e)?(t.pop(),B(t,e)):$(t)}"undefined"!=typeof window&&window;class xh extends P{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 C;return this._value}next(t){super.next(this._value=t)}}const Eh=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Ah={};class kh{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ih(t,this.resultSelector))}}class Ih extends G{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Ah),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(R(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,i){const s=this.values,o=this.toRespond?s[n]===Ah?--this.toRespond:this.toRespond:0;s[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const Nh=new v(t=>t.complete());function Dh(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):Nh}function Rh(t){return new v(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?F(n):Dh()).subscribe(e)})}function Gh(){return W(1)}function Hh(t,e){return function(n){return n.lift(new Lh(t,e))}}class Lh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Vh(t,this.predicate,this.thisArg))}}class Vh extends f{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)}}const Bh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Fh(t){return function(e){return 0===t?Dh():e.lift(new jh(t))}}class jh{constructor(t){if(this.total=t,this.total<0)throw new Bh}call(t,e){return e.subscribe(new Uh(t,this.total))}}class Uh extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(r[i])}}t.complete()}}function zh(t=Kh){return e=>e.lift(new Wh(t))}class Wh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new $h(t,this.errorFactory))}}class $h extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Kh(){return new Eh}function Xh(t=null){return e=>e.lift(new qh(t))}class qh{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Qh(t,this.defaultValue))}}class Qh extends f{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 Zh(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Hh((e,n)=>t(e,n,r)):_,Fh(1),n?Xh(e):zh(()=>new Eh))}function Yh(t){return function(e){const n=new Jh(t),r=e.lift(n);return n.caught=r}}class Jh{constructor(t){this.selector=t}call(t,e){return e.subscribe(new td(t,this.selector,this.caught))}}class td extends G{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 r=new x(this,void 0,void 0);this.add(r);const i=R(this,n,void 0,void 0,r);i!==r&&this.add(i)}}}function ed(t){return e=>0===t?Dh():e.lift(new nd(t))}class nd{constructor(t){if(this.total=t,this.total<0)throw new Bh}call(t,e){return e.subscribe(new rd(t,this.total))}}class rd extends f{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 id(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Hh((e,n)=>t(e,n,r)):_,ed(1),n?Xh(e):zh(()=>new Eh))}class sd{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new od(t,this.predicate,this.thisArg,this.source))}}class od extends f{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,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 ad(t,e){return"function"==typeof e?n=>n.pipe(ad((n,r)=>F(t(n,r)).pipe(H((t,i)=>e(n,t,r,i))))):e=>e.lift(new ld(t))}class ld{constructor(t){this.project=t}call(t,e){return e.subscribe(new cd(t,this.project))}}class cd extends G{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(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const i=new x(this,e,n),s=this.destination;s.add(i),this.innerSubscription=R(this,t,void 0,void 0,i),this.innerSubscription!==i&&s.add(this.innerSubscription)}_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,r,i){this.destination.next(e)}}function ud(...t){return Gh()(Oh(...t))}function hd(...t){const e=t[t.length-1];return O(e)?(t.pop(),n=>ud(t,n,e)):e=>ud(t,e)}function dd(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new pd(t,e,n))}}class pd{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new fd(t,this.accumulator,this.seed,this.hasSeed))}}class fd extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,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(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function gd(t,e){return j(t,e,1)}function md(){}function _d(t,e,n){return function(r){return r.lift(new bd(t,e,n))}}class bd{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new yd(t,this.nextOrObserver,this.error,this.complete))}}class yd extends f{constructor(t,e,n,i){super(t),this._tapNext=md,this._tapError=md,this._tapComplete=md,this._tapError=n||md,this._tapComplete=i||md,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||md,this._tapError=e.error||md,this._tapComplete=e.complete||md)}_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()}}class vd{constructor(t){this.callback=t}call(t,e){return e.subscribe(new wd(t,this.callback))}}class wd extends f{constructor(t,e){super(t),this.add(new h(e))}}class Cd{constructor(t,e){this.id=t,this.url=e}}class Sd extends Cd{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Td extends Cd{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pd extends Cd{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Md extends Cd{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Od extends Cd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xd extends Cd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ed extends Cd{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ad extends Cd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kd extends Cd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Id{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nd{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Dd{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rd{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gd{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hd{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ld{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}')`}}let Vd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Go(0,"router-outlet")},directives:function(){return[zf]},encapsulation:2}),t})();class Bd{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 Fd(t){return new Bd(t)}function jd(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Ud(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let s=0;s<r.length;s++){const e=r[s],n=t[s];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}class zd{constructor(t,e){this.routes=t,this.module=e}}function Wd(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];$d(r,Kd(e,r))}}function $d(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&&Wd(t.children,e)}function Kd(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Xd(t){const e=t.children&&t.children.map(Xd),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Vd),n}function qd(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!Qd(t[i],e[i]))return!1;return!0}function Qd(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function Zd(t){return Array.prototype.concat.apply([],t)}function Yd(t){return t.length>0?t[t.length-1]:null}function Jd(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function tp(t){return Fo(t)?t:Bo(t)?F(Promise.resolve(t)):Oh(t)}function ep(t,e,n){return n?function(t,e){return qd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!sp(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))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=>Qd(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!sp(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!sp(n.segments,i))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!sp(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,s)}}(e,n,n.segments)}(t.root,e.root)}class np{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Fd(this.queryParams)),this._queryParamMap}toString(){return cp.serialize(this)}}class rp{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Jd(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return up(this)}}class ip{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Fd(this.parameters)),this._parameterMap}toString(){return mp(this)}}function sp(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function op(t,e){let n=[];return Jd(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),Jd(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class ap{}class lp{parse(t){const e=new wp(t);return new np(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return up(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return Jd(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=op(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${up(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=>`${dp(e)}=${dp(t)}`).join("&"):`${dp(e)}=${dp(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const cp=new lp;function up(t){return t.segments.map(t=>mp(t)).join("/")}function hp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dp(t){return hp(t).replace(/%3B/gi,";")}function pp(t){return hp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fp(t){return decodeURIComponent(t)}function gp(t){return fp(t.replace(/\+/g,"%20"))}function mp(t){return`${pp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${pp(t)}=${pp(e[t])}`).join("")}`;var e}const _p=/^[^\/()?;=#]+/;function bp(t){const e=t.match(_p);return e?e[0]:""}const yp=/^[^=?&#]+/,vp=/^[^?&#]+/;class wp{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rp([],{}):new rp([],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 rp(t,e)),n}parseSegment(){const t=bp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ip(fp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=bp(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=bp(this.remaining);t&&(n=t,this.capture(n))}t[fp(e)]=fp(n)}parseQueryParam(t){const e=function(t){const e=t.match(yp);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(vp);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=gp(e),i=gp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=bp(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");const s=this.parseChildren();e[i]=1===Object.keys(s).length?s.primary:new rp([],s),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 Cp{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=Sp(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Sp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Tp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Tp(t,this._root).map(t=>t.value)}}function Sp(t,e){if(t===e.value)return e;for(const n of e.children){const e=Sp(t,n);if(e)return e}return null}function Tp(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Tp(t,n);if(r.length)return r.unshift(e),r}return[]}class Pp{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Mp(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Op extends Cp{constructor(t,e){super(t),this.snapshot=e,Np(this,t)}toString(){return this.snapshot.toString()}}function xp(t,e){const n=function(t,e){const n=new kp([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Ip("",new Pp(n,[]))}(t,e),r=new xh([new ip("",{})]),i=new xh({}),s=new xh({}),o=new xh({}),a=new xh(""),l=new Ep(r,i,o,a,s,"primary",e,n.root);return l.snapshot=n.root,new Op(new Pp(l,[]),n)}class Ep{constructor(t,e,n,r,i,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(H(t=>Fd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(t=>Fd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ap(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class kp{constructor(t,e,n,r,i,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Fd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Fd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ip extends Cp{constructor(t,e){super(e),this.url=t,Np(this,e)}toString(){return Dp(this._root)}}function Np(t,e){e.value._routerState=t,e.children.forEach(e=>Np(t,e))}function Dp(t){const e=t.children.length>0?` { ${t.children.map(Dp).join(", ")} } `:"";return`${t.value}${e}`}function Rp(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,qd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),qd(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(!qd(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),qd(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Gp(t,e){var n,r;return qd(t.params,e.params)&&sp(n=t.url,r=e.url)&&n.every((t,e)=>qd(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Gp(t.parent,e.parent))}function Hp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Lp(t,e,n,r,i){let s={};return r&&Jd(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new np(n.root===t?e:function t(e,n,r){const i={};return Jd(e.children,(e,s)=>{i[s]=e===n?r:t(e,n,r)}),new rp(e.segments,i)}(n.root,t,e),s,i)}class Vp{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Hp(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Yd(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bp{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Fp(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function jp(t,e,n){if(t||(t=new rp([],{})),0===t.segments.length&&t.hasChildren())return Up(t,e,n);const r=function(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return s;const e=t.segments[i],o=Fp(n[r]),a=r<n.length-1?n[r+1]:null;if(i>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Kp(o,a,e))return s;r+=2}else{if(!Kp(o,{},e))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new rp(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new rp(t.segments.slice(r.pathIndex),t.children),Up(e,0,i)}return r.match&&0===i.length?new rp(t.segments,{}):r.match&&!t.hasChildren()?zp(t,e,n):r.match?Up(t,0,i):zp(t,e,n)}function Up(t,e,n){if(0===n.length)return new rp(t.segments,{});{const r=function(t){return"object"!=typeof t[0]||void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),i={};return Jd(r,(n,r)=>{null!==n&&(i[r]=jp(t.children[r],e,n))}),Jd(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new rp(t.segments,i)}}function zp(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const t=Wp(n[i].outlets);return new rp(r,t)}if(0===i&&Hp(n[0])){r.push(new ip(t.segments[e].path,n[0])),i++;continue}const s=Fp(n[i]),o=i<n.length-1?n[i+1]:null;s&&o&&Hp(o)?(r.push(new ip(s,$p(o))),i+=2):(r.push(new ip(s,{})),i++)}return new rp(r,{})}function Wp(t){const e={};return Jd(t,(t,n)=>{null!==t&&(e[n]=zp(new rp([],{}),0,t))}),e}function $p(t){const e={};return Jd(t,(t,n)=>e[n]=""+t),e}function Kp(t,e,n){return t==n.path&&qd(e,n.parameters)}class Xp{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Rp(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Mp(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Jd(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&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(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=Mp(t),i=t.value.component?n.children:e;Jd(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=Mp(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Hd(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Rd(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(Rp(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),qp(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}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function qp(t){Rp(t.value),t.children.forEach(qp)}function Qp(t){return"function"==typeof t}function Zp(t){return t instanceof np}class Yp{constructor(t){this.segmentGroup=t||null}}class Jp{constructor(t){this.urlTree=t}}function tf(t){return new v(e=>e.error(new Yp(t)))}function ef(t){return new v(e=>e.error(new Jp(t)))}function nf(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class rf{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(te)}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(Yh(t=>{if(t instanceof Jp)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Yp)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(Yh(t=>{if(t instanceof Yp)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new rp([],{primary:t}):t;return new np(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(H(t=>new rp([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Oh({});const n=[],r=[],i={};return Jd(t,(t,s)=>{const o=e(s,t).pipe(H(t=>i[s]=t));"primary"===s?n.push(o):r.push(o)}),Oh.apply(null,n.concat(r)).pipe(Gh(),Zh(),H(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,s){return Oh(...n).pipe(H(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,i,s).pipe(Yh(t=>{if(t instanceof Yp)return Oh(null);throw t}))),Gh(),id(t=>!!t),Yh((t,n)=>{if(t instanceof Eh||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Oh(new rp([],{}));throw new Yp(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,s,o){return lf(r)!==s?tf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s):tf(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ef(i):this.lineralizeSegments(n,i).pipe(j(n=>{const i=new rp(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=sf(e,r,i);if(!o)return tf(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?ef(u):this.lineralizeSegments(r,u).pipe(j(r=>this.expandSegment(t,e,n,r.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(H(t=>(n._loadedConfig=t,new rp(r,{})))):Oh(new rp(r,{}));const{matched:i,consumedSegments:s,lastChild:o}=sf(e,n,r);if(!i)return tf(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(j(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>af(t,e,n)&&"primary"!==lf(n))}(t,n,r)?{segmentGroup:of(new rp(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==lf(r)&&(n[lf(r)]=new rp([],{}));return n}(r,new rp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>af(t,e,n))}(t,n,r)?{segmentGroup:of(new rp(t.segments,function(t,e,n,r){const i={};for(const s of n)af(t,e,s)&&!r[lf(s)]&&(i[lf(s)]=new rp([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===o.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(H(t=>new rp(s,t))):0===r.length&&0===o.length?Oh(new rp(s,{})):this.expandSegment(n,i,r,o,"primary",!0).pipe(H(t=>new rp(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Oh(new zd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Oh(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?F(r).pipe(H(r=>{const i=t.get(r);let s;if(function(t){return t&&Qp(t.canLoad)}(i))s=i.canLoad(e,n);else{if(!Qp(i))throw new Error("Invalid CanLoad guard");s=i(e,n)}return tp(s)})).pipe(Gh(),(i=t=>!0===t,t=>t.lift(new sd(i,void 0,t)))):Oh(!0);var i}(t.injector,e,n).pipe(j(n=>n?this.configLoader.load(t.injector,e).pipe(H(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(jd(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Oh(new zd([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Oh(n);if(r.numberOfChildren>1||!r.children.primary)return nf(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new np(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Jd(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let s={};return Jd(e.children,(e,i)=>{s[i]=this.createSegmentGroup(t,e,n,r)}),new rp(i,s)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function sf(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 r=(e.matcher||Ud)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function of(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new rp(t.segments.concat(e.segments),e.children)}return t}function af(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function lf(t){return t.outlet||"primary"}class cf{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class uf{constructor(t,e){this.component=t,this.route=e}}function hf(t,e,n){const r=t._root;return function t(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=Mp(n);return e.children.forEach(e=>{!function(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!sp(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sp(t.url,e.url)||!qd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gp(t,e)||!qd(t.queryParams,e.queryParams);case"paramsChange":default:return!Gp(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new cf(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,i,s),c&&s.canDeactivateChecks.push(new uf(l&&l.outlet&&l.outlet.component||null,a))}else a&&pf(n,l,s),s.canActivateChecks.push(new cf(i)),t(e,null,o.component?l?l.children:null:r,i,s)}(e,o[e.value.outlet],r,i.concat([e.value]),s),delete o[e.value.outlet]}),Jd(o,(t,e)=>pf(t,r.getContext(e),s)),s}(r,e?e._root:null,n,[r.value])}function df(t,e,n){const r=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(r?r.module.injector:n).get(t)}function pf(t,e,n){const r=Mp(t),i=t.value;Jd(r,(t,r)=>{pf(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new uf(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const ff=Symbol("INITIAL_VALUE");function gf(){return ad(t=>function(...t){let e=null,n=null;return O(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),$(t,n).lift(new kh(e))}(...t.map(t=>t.pipe(ed(1),hd(ff)))).pipe(dd((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==ff)return t;if(r===ff&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Zp(r))return r}return t},t)},ff),Hh(t=>t!==ff),H(t=>Zp(t)?t:!0===t),ed(1)))}function mf(t,e){return null!==t&&e&&e(new Gd(t)),Oh(!0)}function _f(t,e){return null!==t&&e&&e(new Dd(t)),Oh(!0)}function bf(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Oh(r.map(r=>Rh(()=>{const i=df(r,e,n);let s;if(function(t){return t&&Qp(t.canActivate)}(i))s=tp(i.canActivate(e,t));else{if(!Qp(i))throw new Error("Invalid CanActivate guard");s=tp(i(e,t))}return s.pipe(id())}))).pipe(gf()):Oh(!0)}function yf(t,e,n){const r=e[e.length-1],i=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=>Rh(()=>Oh(e.guards.map(i=>{const s=df(i,e.node,n);let o;if(function(t){return t&&Qp(t.canActivateChild)}(s))o=tp(s.canActivateChild(r,t));else{if(!Qp(s))throw new Error("Invalid CanActivateChild guard");o=tp(s(r,t))}return o.pipe(id())})).pipe(gf())));return Oh(i).pipe(gf())}class vf{}class wf{constructor(t,e,n,r,i,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const t=Tf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new kp([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Pp(n,e),i=new Ip(this.url,r);return this.inheritParamsAndData(i._root),Oh(i)}catch(t){return new v(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Ap(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=op(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("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}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,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(i){if(!(i instanceof vf))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new vf}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new vf;if((t.outlet||"primary")!==r)throw new vf;let i,s=[],o=[];if("**"===t.path){const s=n.length>0?Yd(n).parameters:{};i=new kp(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Of(t),r,t.component,t,Cf(e),Sf(e)+n.length,xf(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new vf;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Ud)(n,t,e);if(!r)throw new vf;const i={};Jd(r.posParams,(t,e)=>{i[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),i=new kp(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Of(t),r,t.component,t,Cf(e),Sf(e)+s.length,xf(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Tf(e,s,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new Pp(i,t)]}if(0===a.length&&0===c.length)return[new Pp(i,[])];const u=this.processSegment(a,l,c,"primary");return[new Pp(i,u)]}}function Cf(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Sf(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 Tf(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>Pf(t,e,n)&&"primary"!==Mf(n))}(t,n,r)){const i=new rp(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&"primary"!==Mf(s)){const n=new rp([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Mf(s)]=n}return i}(t,e,r,new rp(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Pf(t,e,n))}(t,n,r)){const s=new rp(t.segments,function(t,e,n,r,i,s){const o={};for(const a of r)if(Pf(t,n,a)&&!i[Mf(a)]){const n=new rp([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[Mf(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new rp(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Pf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Mf(t){return t.outlet||"primary"}function Of(t){return t.data||{}}function xf(t){return t.resolve||{}}function Ef(t,e,n,r){const i=df(t,e,r);return tp(i.resolve?i.resolve(e,n):i(e,n))}function Af(t){return function(e){return e.pipe(ad(e=>{const n=t(e);return n?F(n).pipe(H(()=>e)):F([e])}))}}class kf{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const If=new Vt("ROUTES");class Nf{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(H(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new zd(Zd(r.injector.get(If)).map(Xd),r)}))}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):tp(t()).pipe(j(t=>t instanceof ee?Oh(t):F(this.compiler.compileModuleAsync(t))))}}class Df{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Rf(t){throw t}function Gf(t,e,n){return e.parse("/")}function Hf(t,e){return Oh(null)}let Lf=(()=>{class t{constructor(t,e,n,r,i,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new P,this.errorHandler=Rf,this.malformedUriErrorHandler=Gf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Hf,afterPreactivation:Hf},this.urlHandlingStrategy=new Df,this.routeReuseStrategy=new kf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(te),this.console=i.get(vc);const l=i.get(Dc);this.isNgZoneEnabled=l instanceof Dc,this.resetConfig(a),this.currentUrlTree=new np(new rp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Nf(s,o,t=>this.triggerEvent(new Id(t)),t=>this.triggerEvent(new Nd(t))),this.routerState=xp(this.currentUrlTree,this.rootComponentType),this.transitions=new xh({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(Hh(t=>0!==t.id),H(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),ad(t=>{let n=!1,r=!1;return Oh(t).pipe(_d(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ad(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Oh(t).pipe(ad(t=>{const n=this.transitions.getValue();return e.next(new Sd(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Nh:[t]}),ad(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,o=this.config,function(t){return t.pipe(ad(t=>function(t,e,n,r,i){return new rf(t,e,n,r,i).apply()}(r,i,s,t.extractedUrl,o).pipe(H(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),_d(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(s){return s.pipe(j(s=>function(t,e,n,r,i="emptyOnly",s="legacy"){return new wf(t,e,n,r,i,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(H(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),_d(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),_d(t=>{const n=new Od(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:o}=t,a=new Sd(n,this.serializeUrl(r),i,s);e.next(a);const l=xp(r,this.rootComponentType).snapshot;return Oh(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Nh}),Af(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),_d(t=>{const e=new xd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),H(t=>Object.assign(Object.assign({},t),{guards:hf(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(j(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Oh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return F(t).pipe(j(t=>function(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Oh(s.map(s=>{const o=df(s,e,i);let a;if(function(t){return t&&Qp(t.canDeactivate)}(o))a=tp(o.canDeactivate(t,e,n,r));else{if(!Qp(o))throw new Error("Invalid CanDeactivate guard");a=tp(o(t,e,n,r))}return a.pipe(id())})).pipe(gf()):Oh(!0)}(t.component,t.route,n,e,r)),id(t=>!0!==t,!0))}(o,r,i,t).pipe(j(n=>n&&"boolean"==typeof n?function(t,e,n,r){return F(e).pipe(gd(e=>F([_f(e.route.parent,r),mf(e.route,r),yf(t,e.path,n),bf(t,e.route,n)]).pipe(Gh(),id(t=>!0!==t,!0))),id(t=>!0!==t,!0))}(r,s,t,e):Oh(n)),H(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),_d(t=>{if(Zp(t.guardsResult)){const e=jd(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),_d(t=>{const e=new Ed(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Hh(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Pd(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Af(t=>{if(t.guards.canActivateChecks.length)return Oh(t).pipe(_d(t=>{const e=new Ad(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(j(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;return i.length?F(i).pipe(gd(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Oh({});if(1===i.length){const s=i[0];return Ef(t[s],e,n,r).pipe(H(t=>({[s]:t})))}const s={};return F(i).pipe(j(i=>Ef(t[i],e,n,r).pipe(H(t=>(s[i]=t,t))))).pipe(Zh(),H(()=>s))}(t._resolve,t,e,r).pipe(H(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Ap(t,n).resolve),null)))}(t.route,r,e,n)),function(t,e){return arguments.length>=2?function(n){return b(dd(t,e),Fh(1),Xh(e))(n)}:function(e){return b(dd((e,n,r)=>t(e,n,r+1)),Fh(1))(e)}}((t,e)=>t),H(e=>t)):Oh(t)}))}),_d(t=>{const e=new kd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),Af(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),H(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const s=function(e,n,r){return n.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,r);return new Pp(i,s)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(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 r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,t),t}{const r=new Ep(new xh((i=n.value).url),new xh(i.params),new xh(i.queryParams),new xh(i.fragment),new xh(i.data),i.outlet,i.component,i),s=n.children.map(n=>t(e,n));return new Pp(r,s)}}var i}(t,e._root,n?n._root:void 0);return new Op(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),_d(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)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),H(t=>(new Xp(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),_d({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Pd(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 vd(i))),Yh(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Zp(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new Pd(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Md(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var i;return Nh}));var i,s,o,a}))}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(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",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Wd(t),this.config=t.map(Xd),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:r,fragment:i,preserveQueryParams:s,queryParamsHandling:o,preserveFragment:a}=e;Sr()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:i;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=s?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,i){if(0===n.length)return Lp(e.root,e.root,e,r,i);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Vp(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Jd(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Vp(n,e,r)}(n);if(s.toRoot())return Lp(e.root,new rp([],{}),e,r,i);const o=function(t,e,n){if(t.isAbsolute)return new Bp(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Bp(n.snapshot._urlSegment,!0,0);const r=Hp(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Bp(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?Up(o.segmentGroup,o.index,s.commands):jp(o.segmentGroup,o.index,s.commands);return Lp(o.segmentGroup,a,e,r,i)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){Sr()&&this.isNgZoneEnabled&&!Dc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Zp(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"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(Zp(t))return ep(this.currentUrlTree,t,e);const n=this.parseUrl(t);return ep(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new Td(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,r,i){const s=this.getTransition();if(s&&"imperative"!==e&&"imperative"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"hashchange"==e&&"popstate"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"popstate"==e&&"hashchange"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let o,a,l;i?(o=i.resolve,a=i.reject,l=i.promise):l=new Promise((t,e)=>{o=t,a=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{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})}}return t.\u0275fac=function(t){ko()},t.\u0275dir=ve({type:t}),t})(),Vf=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Sr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Ff(this.skipLocationChange),replaceUrl:Ff(this.replaceUrl),state:this.state};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:Ff(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ff(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf),Eo(Ep),Ao("tabindex"),Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&jo("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),Bf=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof Td&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Sr()&&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,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:Ff(this.skipLocationChange),replaceUrl:Ff(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ff(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ff(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf),Eo(Ep),Eo(Su))},t.\u0275dir=ve({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&jo("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(xa("href",e.href,Yr),Mo("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ha]}),t})();function Ff(t){return""===t||!!t}class jf{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Uf,this.attachRef=null}}class Uf{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 jf,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let zf=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Wl,this.deactivateEvents=new Wl,this.name=r||"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),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Wf(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Eo(Uf),Eo(Sl),Eo(Qa),Ao("name"),Eo(qs))},t.\u0275dir=ve({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Wf{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ep?this.route:t===Uf?this.childContexts:this.parent.get(t,e)}}class $f{}class Kf{preload(t,e){return Oh(null)}}let Xf=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new Nf(e,n,e=>t.triggerEvent(new Id(e)),e=>t.triggerEvent(new Nd(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Hh(t=>t instanceof Td),gd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(te);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return F(n).pipe(W(),H(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(j(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(qt(Lf),qt(nu),qt(Ac),qt(ho),qt($f))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),qf=(()=>{class t{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.anchorScrolling||"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 Sd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Td&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ld&&(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 Ld(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(t){ko()},t.\u0275dir=ve({type:t}),t})();const Qf=new Vt("ROUTER_CONFIGURATION"),Zf=new Vt("ROUTER_FORROOT_GUARD"),Yf=[xu,{provide:ap,useClass:lp},{provide:Lf,useFactory:function(t,e,n,r,i,s,o,a={},l,c){const u=new Lf(null,t,e,n,r,i,s,Zd(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=du();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[ap,Uf,xu,ho,nu,Ac,If,Qf,[class{},new it],[class{},new it]]},Uf,{provide:Ep,useFactory:function(t){return t.routerState.root},deps:[Lf]},{provide:nu,useClass:su},Xf,Kf,class{preload(t,e){return e().pipe(Yh(()=>Oh(null)))}},{provide:Qf,useValue:{enableTracing:!1}}];function Jf(){return new qc("Router",Lf)}let tg=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Yf,ig(e),{provide:Zf,useFactory:rg,deps:[[Lf,new it,new ot]]},{provide:Qf,useValue:n||{}},{provide:Su,useFactory:ng,deps:[fu,[new rt(Pu),new it],Qf]},{provide:qf,useFactory:eg,deps:[Lf,qu,Qf]},{provide:$f,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Kf},{provide:qc,multi:!0,useFactory:Jf},[sg,{provide:dc,multi:!0,useFactory:og,deps:[sg]},{provide:lg,useFactory:ag,deps:[sg]},{provide:yc,multi:!0,useExisting:lg}]]}}static forChild(e){return{ngModule:t,providers:[ig(e)]}}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(Zf,8),qt(Lf,8))}}),t})();function eg(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new qf(t,e,n)}function ng(t,e,n={}){return n.useHash?new Ou(t,e):new Mu(t,e)}function rg(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ig(t){return[{provide:po,multi:!0,useValue:t},{provide:If,multi:!0,useValue:t}]}let sg=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new P}appInitializer(){return this.injector.get(mu,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Lf),r=this.injector.get(Qf);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Oh(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Qf),n=this.injector.get(Xf),r=this.injector.get(qf),i=this.injector.get(Lf),s=this.injector.get(tu);t===s.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.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}}return t.\u0275fac=function(e){return new(e||t)(qt(ho))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function og(t){return t.appInitializer.bind(t)}function ag(t){return t.bootstrapListener.bind(t)}const lg=new Vt("Router Initializer");let cg=(()=>{class t{constructor(){this.toggleStatus=!1,this._toggleStatus=new xh(!1),this.$toggleStatus=this._toggleStatus.asObservable()}getStatus(){return this.toggleStatus}toggle(){this.toggleStatus=!this.toggleStatus,this._toggleStatus.next(this.toggleStatus)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ug=(()=>{class t{constructor(t){this.sidenavService=t}ngOnInit(){}toggle(){this.sidenavService._toggleStatus.next(!0)}}return t.\u0275fac=function(e){return new(e||t)(Eo(cg))},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-header"]],decls:9,vars:0,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","nav"],[1,"nav-items"],["routerLink","/",1,"logo"],["src","assets/images/google-sf-lockup-color@2x.png","alt","Salesforce + Google"],[1,"menu",3,"click"],["src","assets/images/menu-1@2x.png","alt","Menu"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"div",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Go(5,"img",5),Pa(6," Virtual Adventure "),Ro(),Do(7,"div",6),jo("click",(function(){return e.toggle()})),Go(8,"img",7),Ro(),Ro(),Ro(),Ro(),Ro())},directives:[Vf],styles:["[_nghost-%COMP%]{background:#fff;position:absolute;top:0;z-index:95;padding:8px 0;box-shadow:0 1.5px 3px rgba(0,0,0,.36)}.nav-items[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;align-items:center}.nav-items[_ngcontent-%COMP%]{justify-content:space-between}.nav-items[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{font-size:11px;color:#032e61}.nav-items[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:42px;margin-right:10px}.nav-items[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:25px}"]}),t})();const hg=["*"];let dg=(()=>{class t{constructor(t){this.sidenavService=t,this.centerContent=!1,this.style=null,this.emitter=new Wl}ngOnInit(){}get backgroundImageSrc(){return this.backgroundImage?`url(${this.backgroundImage})`:"none"}}return t.\u0275fac=function(e){return new(e||t)(Eo(cg))},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-page"]],inputs:{backgroundImage:"backgroundImage",centerContent:"centerContent",style:"style"},outputs:{emitter:"emitter"},ngContentSelectors:hg,decls:6,vars:10,consts:[[1,"mobile-wrapper"],[1,"overlay"],[1,"mobile-content"]],template:function(t,e){1&t&&(qo(),Do(0,"div",0),Go(1,"app-mobile-header"),Do(2,"div",1),Ul(3,"async"),Ro(),Do(4,"div",2),Qo(5),Ro(),Ro()),2&t&&(ca("background-image",e.backgroundImageSrc,ti),Ci(2),ua("overlay--visible",zl(3,8,e.sidenavService.$toggleStatus)),Ci(2),ga(va,ha,e.style,!1),ua("mobile-content--center-content",e.centerContent))},directives:[ug],pipes:[$u],styles:["html{min-height:100%} body, html{height:100%;background:#032e61 url(mobile-bg.3f153a5e58f995144426.jpg) no-repeat 50%;background-size:cover}.mobile-wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;background:transparent none no-repeat 50%;background-size:cover}.mobile-content[_ngcontent-%COMP%]{padding:130px 0 86px;height:100%;display:flex;flex-direction:column;position:relative;overflow:auto;flex:0 1 auto}.mobile-content--center-content[_ngcontent-%COMP%]{justify-content:center}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;display:block;width:100%;height:100%;z-index:90;background:transparent;visibility:hidden;pointer-events:none;transition:background .25s ease-out,visibility .25s ease-out}.overlay--visible[_ngcontent-%COMP%]{background:rgba(0,0,0,.6);visibility:visible;pointer-events:all}"]}),t})(),pg=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}gotoMainMenu(){this.router.navigateByUrl("/menu")}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf))},t.\u0275cmp=fe({type:t,selectors:[["app-home-page"]],decls:14,vars:1,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card__before"],["src","assets/images/guy.png","alt","Salesforce"],[1,"card","card--wood"],["src","assets/images/salesforce-google.svg","alt","Salesforce + Google",1,"img-fluid","logo"],[1,"btn","btn-primary",3,"click"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Do(1,"div",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Go(5,"img",5),Ro(),Do(6,"div",6),Go(7,"img",7),Do(8,"h1"),Pa(9,"Virtual Adventure"),Ro(),Do(10,"p"),Pa(11," Welcome Trailblazers, we\u2019re glad you\u2019re here. Come learn new ways to innovate for your business, and get to know your customers even better. "),Ro(),Do(12,"button",8),jo("click",(function(){return e.gotoMainMenu()})),Pa(13,"Start exploring"),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&Io("centerContent",!0)},directives:[dg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:180px}.card__before[_ngcontent-%COMP%]{display:block}.card__before[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:240px;margin:0 auto;display:block}"]}),t})(),fg=(()=>{class t{constructor(){this.shareVisible=new xh(!1),this.videosWatched=[],this.openShare=()=>this.shareVisible.next(!0),this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS"))}get allowTracking(){return this.trackingValue}set allowTracking(t){this.trackingValue=t,null!==t&&localStorage.setItem("allowTracking",t.toString())}get regionUS(){return this.regionUSValue}set regionUS(t){this.regionUSValue=t,null!==t&&localStorage.setItem("regionUS",t.toString())}watchedVideo(t){this.videosWatched.includes(t)||this.videosWatched.push(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gg=(()=>{class t{constructor(t,e){this.router=t,this.mobileService=e}canActivate(t,e){return null===this.mobileService.allowTracking&&null===this.mobileService.regionUS&&this.router.navigateByUrl("/compliance"),!0}}return t.\u0275fac=function(e){return new(e||t)(qt(Lf),qt(fg))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function mg(t,e){return new v(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let a=0;a<r;a++){const l=F(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{s++,s!==r&&c||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const _g=new Vt("NgValueAccessor"),bg={provide:_g,useExisting:Tt(()=>yg),multi:!0};let yg=(()=>{class t{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)}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&jo("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Ka([bg])]}),t})();const vg={provide:_g,useExisting:Tt(()=>Cg),multi:!0},wg=new Vt("CompositionEventMode");let Cg=(()=>{class t{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=du()?du().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)}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za),Eo(wg,8))},t.\u0275dir=ve({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&jo("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[Ka([vg])]}),t})(),Sg=(()=>{class t{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}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t}),t})(),Tg=(()=>{class t extends Sg{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Pg(e||t)},t.\u0275dir=ve({type:t,features:[ka]}),t})();const Pg=ar(Tg);function Mg(){throw new Error("unimplemented")}class Og extends Sg{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return Mg()}get asyncValidator(){return Mg()}}class xg{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}}let Eg=(()=>{class t extends xg{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Eo(Og,2))},t.\u0275dir=ve({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[ka]}),t})(),Ag=(()=>{class t extends xg{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Eo(Tg,2))},t.\u0275dir=ve({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&ua("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[ka]}),t})();function kg(t){return null==t||0===t.length}const Ig=new Vt("NgValidators"),Ng=new Vt("NgAsyncValidators"),Dg=/^(?=.{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 Rg{static min(t){return e=>{if(kg(e.value)||kg(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(kg(e.value)||kg(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return kg(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return kg(t.value)||Dg.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(kg(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 Rg.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(kg(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Gg);return 0==e.length?null:function(t){return Lg(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Gg);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return mg(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return mg(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return mg(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(H(t=>e(...t)))}return mg(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(Hg)).pipe(H(Lg))}}}function Gg(t){return null!=t}function Hg(t){const e=Bo(t)?F(t):t;if(!Fo(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Lg(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Vg(t){return t.validate?e=>t.validate(e):t}function Bg(t){return t.validate?e=>t.validate(e):t}const Fg={provide:_g,useExisting:Tt(()=>jg),multi:!0};let jg=(()=>{class t{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)}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&jo("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ka([Fg])]}),t})();const Ug={provide:_g,useExisting:Tt(()=>Wg),multi:!0};let zg=(()=>{class t{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)}select(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}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Wg=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Og),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 ')}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za),Eo(zg),Eo(ho))},t.\u0275dir=ve({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&jo("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ka([Ug])]}),t})();const $g={provide:_g,useExisting:Tt(()=>Kg),multi:!0};let Kg=(()=>{class t{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)}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&jo("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Ka([$g])]}),t})();const Xg='\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 });',qg='\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 });';class Qg{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 "+Xg)}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 ${qg}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Xg)}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 "+qg)}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"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}const Zg={provide:_g,useExisting:Tt(()=>Yg),multi:!0};let Yg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=vo}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=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(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}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&jo("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ka([Zg])]}),t})();const Jg={provide:_g,useExisting:Tt(()=>tm),multi:!0};let tm=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=vo}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)};this._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 r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.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}}return t.\u0275fac=function(e){return new(e||t)(Eo(el),Eo(Za))},t.\u0275dir=ve({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&jo("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ka([Jg])]}),t})();function em(t,e){return[...e.path,t]}function nm(t,e){t||om(e,"Cannot find control with"),e.valueAccessor||om(e,"No value accessor for form control with"),t.validator=Rg.compose([t.validator,e.validator]),t.asyncValidator=Rg.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&&rm(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&&rm(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 rm(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function im(t,e){null==t&&om(e,"Cannot find control with"),t.validator=Rg.compose([t.validator,e.validator]),t.asyncValidator=Rg.composeAsync([t.asyncValidator,e.asyncValidator])}function sm(t){return om(t,"There is no FormControl instance attached to form control element with")}function om(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 am(t){return null!=t?Rg.compose(t.map(Vg)):null}function lm(t){return null!=t?Rg.composeAsync(t.map(Bg)):null}const cm=[yg,Kg,jg,Yg,tm,Wg];function um(t){const e=dm(t)?t.validators:t;return Array.isArray(e)?am(e):e||null}function hm(t,e){const n=dm(e)?e.asyncValidators:t;return Array.isArray(n)?lm(n):n||null}function dm(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class pm{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=um(t)}setAsyncValidators(t){this.asyncValidator=hm(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={}){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(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(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(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(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=Hg(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){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof gm?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof mm&&r.at(t)||null}),r}(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 Wl,this.statusChanges=new Wl}_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){dm(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class fm extends pm{constructor(t=null,e,n){super(um(e),hm(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),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 gm extends pm{constructor(t,e,n){super(um(e),hm(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,r)=>{n.reset(t[r],{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 fm?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,r)=>{e=e||this.contains(r)&&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,r)=>{n=e(n,t,r)}),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 mm extends pm{constructor(t,e,n){super(um(e),hm(n,e)),this.controls=t,this._initObservables(),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,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof fm?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)}}let _m=(()=>{class t extends Tg{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return em(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return am(this._validators)}get asyncValidator(){return lm(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return bm(e||t)},t.\u0275dir=ve({type:t,features:[ka]}),t})();const bm=ar(_m);let ym=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const vm=new Vt("NgModelWithFormControlWarning"),wm={provide:Tg,useExisting:Tt(()=>Cm)};let Cm=(()=>{class t extends Tg{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Wl}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 nm(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){!function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);im(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);im(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,e=this.directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}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(()=>sm(e)),e.valueAccessor.registerOnTouched(()=>sm(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&&nm(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=am(this._validators);this.form.validator=Rg.compose([this.form.validator,t]);const e=lm(this._asyncValidators);this.form.asyncValidator=Rg.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||Qg.missingFormException()}}return t.\u0275fac=function(e){return new(e||t)(Eo(Ig,10),Eo(Ng,10))},t.\u0275dir=ve({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&jo("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ka([wm]),ka,Ha]}),t})();const Sm={provide:Tg,useExisting:Tt(()=>Tm)};let Tm=(()=>{class t extends _m{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Om(this._parent)&&Qg.groupParentException()}}return t.\u0275fac=function(e){return new(e||t)(Eo(Tg,13),Eo(Ig,10),Eo(Ng,10))},t.\u0275dir=ve({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Ka([Sm]),ka]}),t})();const Pm={provide:Tg,useExisting:Tt(()=>Mm)};let Mm=(()=>{class t extends Tg{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 em(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return am(this._validators)}get asyncValidator(){return lm(this._asyncValidators)}_checkParentType(){Om(this._parent)&&Qg.arrayParentException()}}return t.\u0275fac=function(e){return new(e||t)(Eo(Tg,13),Eo(Ig,10),Eo(Ng,10))},t.\u0275dir=ve({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Ka([Pm]),ka]}),t})();function Om(t){return!(t instanceof Tm||t instanceof Cm||t instanceof Mm)}const xm={provide:Og,useExisting:Tt(()=>Em)};let Em=(()=>{class t extends Og{constructor(t,e,n,r,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new Wl,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||om(t,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return e.forEach(e=>{var s;e.constructor===Cg?n=e:(s=e,cm.some(t=>s.constructor===t)?(r&&om(t,"More than one built-in value accessor matches form control with"),r=e):(i&&om(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(om(t,"No valid value accessor for form control with"),null)}(this,r)}set isDisabled(t){Qg.disabledAttrWarning()}ngOnChanges(e){var n,r;this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!vo(e,n.currentValue)}(e,this.viewModel)&&("formControlName",n=t,this,r=this._ngModelWarningConfig,Sr()&&"never"!==r&&((null!==r&&"once"!==r||n._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(Qg.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 em(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return am(this._rawValidators)}get asyncValidator(){return lm(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Tm)&&this._parent instanceof _m?Qg.ngModelGroupException():this._parent instanceof Tm||this._parent instanceof Cm||this._parent instanceof Mm||Qg.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.\u0275fac=function(e){return new(e||t)(Eo(Tg,13),Eo(Ig,10),Eo(Ng,10),Eo(_g,10),Eo(vm,8))},t.\u0275dir=ve({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ka([xm]),ka,Ha]}),t._ngModelWarningSentOnce=!1,t})(),Am=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),km=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r=null,i=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new gm(n,{asyncValidators:i,updateOn:s,validators:r})}control(t,e,n){return new fm(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new mm(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof fm||t instanceof gm||t instanceof mm?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Im=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[zg],imports:[Am]}),t})(),Nm=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:vm,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[km,zg],imports:[Am]}),t})(),Dm=(()=>{class t{constructor(t,e,n,r){this.mobileService=t,this.formBuilder=e,this.router=n,this.sidenavService=r,this.formGroup=this.formBuilder.group({trackingAllowed:new fm(!0)})}ngOnInit(){}yes(){this.mobileService.regionUS=!0,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}no(){this.mobileService.regionUS=!1,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}next(){this.router.navigateByUrl("/")}}return t.\u0275fac=function(e){return new(e||t)(Eo(fg),Eo(km),Eo(Lf),Eo(cg))},t.\u0275cmp=fe({type:t,selectors:[["app-compliance-page"]],decls:19,vars:2,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--wood"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Do(1,"div",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Do(5,"form",5),Do(6,"h1"),Pa(7,"Are you based in the U.S.?"),Ro(),Do(8,"div",6),Do(9,"button",7),jo("click",(function(){return e.yes()})),Pa(10,"Yes"),Ro(),Do(11,"button",7),jo("click",(function(){return e.no()})),Pa(12,"No"),Ro(),Ro(),Do(13,"div",8),Go(14,"input",9),Do(15,"label",10),Pa(16," By checking this box, I consent to data processing as described in the "),Do(17,"a",11),Pa(18,"Salesforce Privacy Policy"),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&(Io("centerContent",!0),Ci(5),Io("formGroup",e.formGroup))},directives:[dg,ym,Ag,Cm,yg,Eg,Em],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%]{margin-bottom:2rem}.buttons[_ngcontent-%COMP%]{max-width:140px;margin:0 auto 2rem}.form-check[_ngcontent-%COMP%]{font-size:10px;line-height:1.3;text-align:left}"]}),t})();class Rm{}function Gm(t,e){return{type:7,name:t,definitions:e,options:{}}}function Hm(t,e=null){return{type:4,styles:e,timings:t}}function Lm(t,e=null){return{type:2,steps:t,options:e}}function Vm(t){return{type:6,styles:t,offset:null}}function Bm(t,e,n){return{type:0,name:t,styles:e,options:n}}function Fm(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function jm(t){Promise.resolve(null).then(t)}class Um{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(){jm(()=>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 zm{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,r=0;const i=this.players.length;0==i?jm(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++r==i&&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 Wm=Gm("openClose",[Bm("open",Vm({height:"*"})),Bm("closed",Vm({height:0})),Fm("open <=> closed",[Hm("0.33s ease-out")])]),$m=Gm("fadeOut",[Bm("open",Vm({opacity:0,height:0})),Bm("closed",Vm({opacity:1,height:"*"})),Fm("open <=> closed",[Hm("0.33s ease-out")])]);let Km=(()=>{class t{constructor(){this.showContent={orange:"closed",teal:"closed",purple:"closed"}}ngOnInit(){}reveal(t){this.showContent[t]="open"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-main-menu-page"]],decls:46,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--orange","card--has-inner","card--has-bg"],[1,"card__inner"],["src","assets/images/marketing-cloud-analytics-360.svg","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],[1,"card__reveal",3,"click"],["src","assets/images/chevrondown.svg","alt","Expand"],[1,"card__hidden-content"],["routerLink","/marketing-cloud-analytics-360",1,"btn","btn-primary","btn-block"],[1,"card","card--teal","card--has-inner","card--has-bg"],["src","assets/images/sales-cloud-g-suite.svg","alt","Sales Cloud + G Suite",1,"img-fluid","logo"],["routerLink","/sales-cloud-g-suite",1,"btn","btn-primary","btn-block"],[1,"card","card--purple","card--has-inner","card--has-bg","card--last"],["src","assets/images/tableau-bigquery.svg","alt","Tableau + BigQuery",1,"img-fluid","logo"],["routerLink","/tableau-big-query",1,"btn","btn-primary","btn-block"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page"),Do(1,"div",0),Do(2,"div",1),Do(3,"div",2),Do(4,"div",3),Do(5,"div",4),Go(6,"img",5),Do(7,"h2"),Pa(8,"Get personal with your marketing journeys."),Ro(),Do(9,"button",6),jo("click",(function(){return e.reveal("orange")})),Go(10,"img",7),Ro(),Do(11,"div",8),Do(12,"p"),Pa(13," Take a trail walk to see how companies can use Salesforce Marketing Cloud and Google Analytics 360 to deliver the right message, at the right time. "),Ro(),Do(14,"p"),Pa(15," As a thank you for your time, watch two sessions get a YETI Rambler Bottle delivered to your door while supplies last. Restrictions apply. "),Ro(),Do(16,"a",9),Pa(17,"Enter"),Ro(),Ro(),Ro(),Ro(),Do(18,"div",10),Do(19,"div",4),Go(20,"img",11),Do(21,"h2"),Pa(22,"Drive productivity from anywhere."),Ro(),Do(23,"button",6),jo("click",(function(){return e.reveal("teal")})),Go(24,"img",7),Ro(),Do(25,"div",8),Do(26,"p"),Pa(27," Stroll through the PwC forest to see how PwC uses Salesforce + Google to keep its global workforce productive while keeping the customer at the enter of everything it does. "),Ro(),Do(28,"p"),Pa(29," Bonus time: You can also take a closer look into PwC and see how it empowers its employees with digital tools to keep them doing their best work. "),Ro(),Do(30,"a",12),Pa(31,"Enter"),Ro(),Ro(),Ro(),Ro(),Do(32,"div",13),Do(33,"div",4),Go(34,"img",14),Do(35,"h2"),Pa(36,"Know your customers with integrated data insights."),Ro(),Do(37,"button",6),jo("click",(function(){return e.reveal("purple")})),Go(38,"img",7),Ro(),Do(39,"div",8),Do(40,"p"),Pa(41," Hike to this lookout to learn how Zulily uses Tableau and BigQuery to make sense of its data and make better business decisions that earn customer loyalty. "),Ro(),Do(42,"p"),Pa(43," You will also hear the story of a single Zulily analyst and hear the giant data impact she\u2019s made at the company. "),Ro(),Do(44,"a",15),Pa(45,"Enter"),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(9),Io("@fadeOut",e.showContent.orange),Ci(2),Io("@openClose",e.showContent.orange),Ci(12),Io("@fadeOut",e.showContent.teal),Ci(2),Io("@openClose",e.showContent.teal),Ci(12),Io("@fadeOut",e.showContent.purple),Ci(2),Io("@openClose",e.showContent.purple))},directives:[dg,Bf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{background-image:url(mobile-bg.3f153a5e58f995144426.jpg)!important}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;max-height:40px}"],data:{animation:[Wm,$m]}}),t})(),Xm=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}click(){this.routerLink?this.router.navigateByUrl(this.routerLink):window.history.back()}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf))},t.\u0275cmp=fe({type:t,selectors:[["app-back-button"]],inputs:{routerLink:"routerLink"},decls:2,vars:0,consts:[[1,"back-button",3,"click"]],template:function(t,e){1&t&&(Do(0,"a",0),jo("click",(function(){return e.click()})),Pa(1,"Back"),Ro())},styles:[".back-button[_ngcontent-%COMP%]{position:fixed;top:70px;left:5px;width:50px;height:50px;background:transparent url(back-button@2x.4a7e29b12ceb75cb2a93.png) no-repeat 0 0;background-size:50px;text-indent:-9999rem;overflow:hidden;z-index:88}"]}),t})();const qm=["*"];let Qm=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-speaker"]],inputs:{img:"img",name:"name"},ngContentSelectors:qm,decls:6,vars:3,consts:[[1,"headshot"],[1,"content"]],template:function(t,e){1&t&&(qo(),Go(0,"div",0),Do(1,"div",1),Do(2,"h3"),Pa(3),Ro(),Do(4,"p"),Qo(5),Ro(),Ro()),2&t&&(ca("background-image","url(assets/images/speakers/"+e.img+")",ti),Ci(3),Ma(e.name))},styles:["[_nghost-%COMP%]{width:100%;max-width:300px;display:flex;text-align:left;font-size:14px}*[_ngcontent-%COMP%], [_nghost-%COMP%]{box-sizing:border-box}.headshot[_ngcontent-%COMP%]{width:60px;height:60px;position:relative;overflow:hidden;border:1px solid #fff;border-radius:9999rem;background:transparent none no-repeat 50%;background-size:cover;margin:0 14px 20px 0;flex:0 0 auto;flex-basis:60px}.content[_ngcontent-%COMP%]{flex:0 1 auto}h3[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:0}"]}),t})();function Zm(t,e){1&t&&(Ho(0),Do(1,"div",6),Go(2,"img",7),Do(3,"p"),Pa(4," Difficulty accessing and understanding data is one of the biggest barriers to delivering positive customer experiences. That\u2019s why Salesforce Marketing Cloud and Google Analytics 360 have come together to help you tackle data challenges. "),Ro(),Do(5,"p"),Pa(6," Keep moving down the path and hear how companies, including retailers, work with us to drive thoughtful and personalized customer journeys while staying nimble in this rapidly changing environment. "),Ro(),Do(7,"button",8),Pa(8,"Start exploring"),Ro(),Ro(),Lo())}function Ym(t,e){1&t&&(Ho(0),Do(1,"div",9),Do(2,"app-speaker",10),Pa(3," Product Management"),Go(4,"br"),Pa(5," Google Marketing Platform "),Ro(),Do(6,"app-speaker",11),Pa(7," Senior Director, Strategic"),Go(8,"br"),Pa(9," Partnerships, Salesforce "),Ro(),Do(10,"h2"),Pa(11,"Ask the Expert Session"),Ro(),Do(12,"p"),Pa(13," Get actionable tips on how to maximize Analytics 360 and Marketing Cloud together, plus the answers to the toughest questions we\u2019ve ever heard from customers. "),Ro(),Do(14,"a",12),Pa(15,"Watch Demo"),Ro(),Ro(),Do(16,"div",9),Do(17,"app-speaker",13),Pa(18," VP, Product Management"),Go(19,"br"),Pa(20," Salesforce "),Ro(),Do(21,"h2"),Pa(22,"Integration Product Demo"),Ro(),Do(23,"p"),Pa(24," See how retailers create personalized customer experiences with the Analytics 360 Integration for Marketing Cloud. "),Ro(),Do(25,"a",14),Pa(26,"Watch Demo"),Ro(),Ro(),Do(27,"div",9),Do(28,"p"),Pa(29," See more Marketing Cloud and Analytics 360 features and use cases here. "),Ro(),Do(30,"a",15),Pa(31," Read Data Sheet "),Ro(),Ro(),Lo())}let Jm=(()=>{class t{constructor(t,e,n){this.router=t,this.mobileService=e,this.sidenavService=n,this.showVideos=this.router.url.includes("/videos"),this.environment=uu,this.showCongrats=!1}ngOnInit(){this.mobileService.videosWatched.includes("yeti-ask-the-expert-session")&&this.mobileService.videosWatched.includes("yeti-integration-product-demo")&&this.router.navigateByUrl("/yeti/congratulations")}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf),Eo(fg),Eo(cg))},t.\u0275cmp=fe({type:t,selectors:[["app-yeti-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/marketing-cloud-analytics-360-white-text.png","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--orange"],["img","matt-jacobson@2x.png","name","Matt Jacobson"],["img","hannah-brown@2x.png","name","Hannah Brown"],["routerLink","/video/yeti-ask-the-expert-session",1,"btn","btn-white"],["img","armita-peymandoust@2x.png","name","Armita Peymandoust"],["routerLink","/video/yeti-integration-product-demo",1,"btn","btn-white"],["href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Go(1,"app-back-button",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Oo(5,Zm,9,0,"ng-container",5),Oo(6,Ym,32,0,"ng-container",5),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(5),Io("ngIf",!e.showVideos),Ci(1),Io("ngIf",e.showVideos))},directives:[dg,Xm,Vf,Lu,Qm,Bf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})();function t_(t,e){1&t&&(Ho(0),Do(1,"div",6),Go(2,"img",7),Do(3,"p"),Pa(4," PwC is a global powerhouse delivering world-class experiences in assurance, advisory, and tax services. "),Ro(),Do(5,"p"),Pa(6," Enter the forest to learn how PwC is using Salesforce and Google to drive productivity and keep its global workforce connected and skilled up. "),Ro(),Do(7,"button",8),Pa(8,"Start exploring"),Ro(),Ro(),Lo())}function e_(t,e){1&t&&(Ho(0),Do(1,"div",9),Do(2,"app-speaker",10),Pa(3," PwC Advisory Partner "),Ro(),Do(4,"app-speaker",11),Pa(5," Sr. Director, Product"),Go(6,"br"),Pa(7," Management, Salesforce "),Ro(),Do(8,"h2"),Pa(9,"Salesforce + G Suite Product Demo"),Ro(),Do(10,"p"),Pa(11," Walk through exactly how PwC uses this integration to meet customer needs in days not weeks, even though the global workforce is now remote. "),Ro(),Do(12,"a",12),Pa(13,"Watch Demo"),Ro(),Ro(),Do(14,"div",9),Do(15,"app-speaker",13),Pa(16," VP Trailhead Evangelism"),Go(17,"br"),Pa(18," Salesforce "),Ro(),Do(19,"app-speaker",14),Pa(20," Head of Clients and Markets"),Go(21,"br"),Pa(22," PwC UK "),Ro(),Do(23,"h2"),Pa(24,"Digital Upskilling Session"),Ro(),Do(25,"p"),Pa(26," Hear PwC\u2019s practical advice for how they upskilled more than 276,000 employees on the digital technology of today, including Salesforce and Google. "),Ro(),Do(27,"a",15),Pa(28,"Watch Session"),Ro(),Ro(),Do(29,"div",9),Do(30,"p"),Pa(31," Learn new skills from anywhere with Trailhead. "),Ro(),Do(32,"a",16),Pa(33,"Visit Trailhead"),Ro(),Ro(),Do(34,"div",9),Do(35,"p"),Pa(36," Test your technology knowledge with PwC\u2019s Digital Fitness app. "),Ro(),Do(37,"a",17),Pa(38,"Download"),Ro(),Ro(),Lo())}let n_=(()=>{class t{constructor(t){this.router=t,this.showVideos=this.router.url.includes("/videos")}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf))},t.\u0275cmp=fe({type:t,selectors:[["app-sales-cloud-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-pwc.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/sales-cloud-white-text.png","alt","Salesforce Sales Cloud + G Suite Featuring PWC",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--teal"],["img","mike-hoodyx@2x.png","name","Mike Hoody"],["img","austin-tam@2x.png","name","Austin Tam"],["routerLink","/video/pwc-salesforce-g-suite-product-demo",1,"btn","btn-white"],["img","leah-mcgowen-hare@2x.png","name","Leah McGowen-Hare"],["img","marco-amitrano@2x.png","name","Marco Amitrano"],["routerLink","/video/pwc-digital-upskilling-session",1,"btn","btn-white"],["href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure","target","_blank",1,"btn","btn-white"],["href","https://www.pwc.com/us/en/products/digital-fitness.html","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Go(1,"app-back-button",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Oo(5,t_,9,0,"ng-container",5),Oo(6,e_,39,0,"ng-container",5),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(5),Io("ngIf",!e.showVideos),Ci(1),Io("ngIf",e.showVideos))},directives:[dg,Xm,Vf,Lu,Qm,Bf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})();function r_(t,e){1&t&&(Ho(0),Do(1,"div",6),Go(2,"img",7),Do(3,"p"),Pa(4," Founded in 2010, Zulily offers millions of people a different way to shop. The brand is always launching new sales featuring the latest fashion for adults and kids, home d\xe9cor, toys, gifts and more. "),Ro(),Do(5,"p"),Pa(6," Predicting and responding to customer preferences is key to building lifetime loyalty. Enter Zulily Lookout to see how Tableau and BigQuery help the company drive repeat business and cultivate data superheroes within. "),Ro(),Do(7,"button",8),Pa(8,"Start exploring"),Ro(),Ro(),Lo())}function i_(t,e){1&t&&(Ho(0),Do(1,"div",9),Do(2,"app-speaker",10),Pa(3," Director of Product"),Go(4,"br"),Pa(5," Management, Google Cloud "),Ro(),Do(6,"app-speaker",11),Pa(7," Senior Director, Strategic"),Go(8,"br"),Pa(9," Partnerships, Salesforce "),Ro(),Do(10,"h2"),Pa(11,"Expert Product Demo Session"),Ro(),Do(12,"p"),Pa(13," Learn the major benefits of the Tableau and BigQuery integration. from a deep product expert. You\u2019ll also see a step-by-step product demo. "),Ro(),Do(14,"a",12),Pa(15,"Watch Demo"),Ro(),Ro(),Do(16,"div",9),Do(17,"app-speaker",13),Pa(18," Lead Analyst"),Go(19,"br"),Pa(20," Marketing Analytics, Zulily "),Ro(),Do(21,"app-speaker",14),Pa(22," Director, Strategic Partnerships"),Go(23,"br"),Pa(24," Marketing, Salesforce "),Ro(),Do(25,"h2"),Pa(26,"Data Superhero Session"),Ro(),Do(27,"p"),Pa(28," Hear the story of a single Zulily analyst and how she has made data an inherent part of business decisions, turning insights into action and creating Zulily customers for life. "),Ro(),Do(29,"a",15),Pa(30,"Watch Session"),Ro(),Ro(),Do(31,"div",9),Do(32,"p"),Pa(33," Learn additional best practices for optimizing Tableau and BigQuery. "),Ro(),Do(34,"a",16),Pa(35,"Read White Paper"),Ro(),Ro(),Lo())}let s_=(()=>{class t{constructor(t){this.router=t,this.showVideos=this.router.url.includes("/videos")}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(Eo(Lf))},t.\u0275cmp=fe({type:t,selectors:[["app-zulily-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-zulily.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/tableau-white-text.png","alt","Tableau + Big Query featuring Zulily",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--purple"],["img","sudhir-hasbe@2x.png","name","Sudhir Hasbe"],["img","madeleine-corneli@2x.png","name","Madeleine Corneli"],["routerLink","/video/zulily-expert-product-demo-session",1,"btn","btn-white"],["img","angela-wu@2x.png","name","Angela Wu"],["img","laura-fagan@2x.png","name","Laura Fagan"],["routerLink","/video/zulily-data-superhero-session",1,"btn","btn-white"],["href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Go(1,"app-back-button",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Oo(5,r_,9,0,"ng-container",5),Oo(6,i_,36,0,"ng-container",5),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(5),Io("ngIf",!e.showVideos),Ci(1),Io("ngIf",e.showVideos))},directives:[dg,Xm,Vf,Lu,Qm,Bf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})(),o_=(()=>{class t{constructor(t,e,n){this.route=t,this.router=e,this.mobileService=n}ngOnInit(){this.paramSubscription=this.route.params.subscribe(t=>{this.videoId=t.id,this.src=uu.mobileVideoData[this.videoId].src,this.background=uu.mobileVideoData[this.videoId].background,this.previousUrl=uu.mobileVideoData[this.videoId].menuPage,this.mobileService.watchedVideo(this.videoId)})}ngOnDestroy(){this.paramSubscription.unsubscribe()}close(){this.router.navigateByUrl(this.previousUrl)}}return t.\u0275fac=function(e){return new(e||t)(Eo(Ep),Eo(Lf),Eo(fg))},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-video-player"]],decls:6,vars:3,consts:[[3,"centerContent","backgroundImage"],[1,"video-wrapper"],[1,"close-video",3,"click"],["width","820","height","461","autoplay","","controls","","playsinline","",3,"src"],["video",""]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Do(1,"div",1),Do(2,"button",2),jo("click",(function(){return e.close()})),Pa(3,"Close"),Ro(),Go(4,"video",3,4),Ro(),Ro()),2&t&&(Io("centerContent",!0)("backgroundImage",e.background),Ci(4),Io("src",e.src,Yr))},directives:[dg],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.video-wrapper[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 0 0;background-size:cover;width:100%;max-width:1280px;padding-bottom:calc(56.25% + 56px);position:relative;border-radius:12px;margin:0 auto}.video-wrapper[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:calc(100% - 56px);position:absolute;top:28px}.video-wrapper[_ngcontent-%COMP%] .close-video[_ngcontent-%COMP%]{width:28px;height:28px;position:absolute;top:0;right:0;background:transparent url(x.3ad636551768e809bba0.svg) no-repeat 0 0;background-size:cover;text-indent:-9999rem;border:0}"]}),t})(),a_=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-yeti-congrats"]],decls:12,vars:1,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",3,"centerContent"],["routerLink","/marketing-cloud-analytics-360/videos"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--has-bg","card--orange"],["routerLink","/yeti/form",1,"btn","btn-white"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Go(1,"app-back-button",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Do(5,"div",5),Do(6,"h2"),Pa(7,"Congratulations"),Ro(),Do(8,"p"),Pa(9," You\u2019ve earned a YETI Rambler\xae Bottle. "),Ro(),Do(10,"a",6),Pa(11,"Enter Shipping info"),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&Io("centerContent",!0)},directives:[dg,Xm,Vf,Bf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-transform:uppercase;align-self:center}"]}),t})();var l_=n("4+EV");class c_{}class u_{}class h_{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),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}: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 h_?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 h_;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h_?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 r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.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 d_{encodeKey(t){return p_(t)}encodeValue(t){return p_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p_(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 f_{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d_,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 r=t.indexOf("="),[i,s]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)}),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("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new f_({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){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 g_(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function m_(t){return"undefined"!=typeof Blob&&t instanceof Blob}function __(t){return"undefined"!=typeof FormData&&t instanceof FormData}class b_{constructor(t,e,n,r){let i;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)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h_),this.params){const 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 f_,this.urlWithParams=e}serializeBody(){return null===this.body?null:g_(this.body)||m_(this.body)||__(this.body)||"string"==typeof this.body?this.body:this.body instanceof f_?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||__(this.body)?null:m_(this.body)?this.body.type||null:g_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof f_?"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,r=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new b_(e,n,i,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}const y_=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 v_{constructor(t,e=200,n="OK"){this.headers=t.headers||new h_,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 w_ extends v_{constructor(t={}){super(t),this.type=y_.ResponseHeader}clone(t={}){return new w_({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 C_ extends v_{constructor(t={}){super(t),this.type=y_.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new C_({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 S_ extends v_{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 T_(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let P_=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof b_)r=t;else{let i=void 0;i=n.headers instanceof h_?n.headers:new h_(n.headers);let s=void 0;n.params&&(s=n.params instanceof f_?n.params:new f_({fromObject:n.params})),r=new b_(t,e,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Oh(r).pipe(gd(t=>this.handler.handle(t)));if(t instanceof b_||"events"===n.observe)return i;const s=i.pipe(Hh(t=>t instanceof C_));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.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 s.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 s.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 s.pipe(H(t=>t.body))}case"response":return s;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 f_).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,T_(n,e))}post(t,e,n={}){return this.request("POST",t,T_(n,e))}put(t,e,n={}){return this.request("PUT",t,T_(n,e))}}return t.\u0275fac=function(e){return new(e||t)(qt(c_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class M_{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O_=new Vt("HTTP_INTERCEPTORS");let x_=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const E_=/^\)\]\}',?\n/;class A_{}let k_=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),I_=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new v(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((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 r=t.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=n.statusText||"OK",s=new h_(n.getAllResponseHeaders()),o=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 i=new w_({headers:s,status:e,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(E_,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new C_({body:l,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new S_({error:l,headers:r,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=s(),i=new S_({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let l=!1;const c=r=>{l||(e.next(s()),l=!0);let i={type:y_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:y_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:y_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(qt(A_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const N_=new Vt("XSRF_COOKIE_NAME"),D_=new Vt("XSRF_HEADER_NAME");class R_{}let G_=(()=>{class t{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=Du(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(qt(pu),qt(bc),qt(N_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),H_=(()=>{class t{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 r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(R_),qt(D_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),L_=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(O_,[]);this.chain=t.reduceRight((t,e)=>new M_(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(u_),qt(ho))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),V_=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H_,useClass:x_}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:N_,useValue:e.cookieName}:[],e.headerName?{provide:D_,useValue:e.headerName}:[]]}}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[H_,{provide:O_,useExisting:H_,multi:!0},{provide:R_,useClass:G_},{provide:N_,useValue:"XSRF-TOKEN"},{provide:D_,useValue:"X-XSRF-TOKEN"}]}),t})(),B_=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[P_,{provide:c_,useClass:L_},I_,{provide:u_,useExisting:I_},k_,{provide:A_,useExisting:k_}],imports:[[V_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class F_ extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class j_ extends F_{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,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,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,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let U_=(()=>{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 z_ extends U_{constructor(t,e=U_.now){super(t,()=>z_.delegate&&z_.delegate!==this?z_.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return z_.delegate&&z_.delegate!==this?z_.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 W_=new z_(j_);function $_(t,e=W_){return n=>n.lift(new K_(t,e))}class K_{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new X_(t,this.dueTime,this.scheduler))}}class X_ extends f{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(q_,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 q_(t){t.debouncedNext()}function Q_(t,e){return n=>n.lift(new Z_(t,e))}class Z_{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Y_(t,this.compare,this.keySelector))}}class Y_ extends f{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}function J_(t,e){return new v(e?n=>e.schedule(tb,0,{error:t,subscriber:n}):e=>e.error(t))}function tb({error:t,subscriber:e}){e.error(t)}class eb{constructor(t){t&&Object.assign(this,{product:t.product,stockRemaining:t.stock_remaining,date:new Date(t.date)})}}let nb=(()=>{class t{constructor(t){this.http=t,this.endpoint="https://salesforcevirtualadventures.com/stock",this.environment=uu,this.jsonHeader={headers:new h_({"Content-Type":"application/json"})},this.get=()=>this.http.get(this.endpoint,Object.assign({},this.jsonHeader)).pipe(Yh(t=>this.handleError(t))),this.getBottlesRemaining=()=>new Promise(t=>{this.get().pipe(H(t=>new eb(t.filter(t=>t.product===this.environment.stockName)[0]))).subscribe(e=>{t(e.stockRemaining>=this.environment.bottlesThreshold)})})}handleError(t){return t.error instanceof ErrorEvent?console.log("An error occurred:",t.error.message):console.log(`Backend returned code ${t.status}, body was: ${t.error}`),J_("API Service has failed.")}}return t.\u0275fac=function(e){return new(e||t)(qt(P_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rb=(()=>{class t{constructor(t,e,n){this.googleTagManagerId=t,this.googleTagManagerAuth=e,this.googleTagManagerPreview=n,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.gtmId=t,this.gtmAuth=e,this.gtmPreview=n}getDataLayer(){const t=this.browserGlobals.windowRef();return t.dataLayer=t.dataLayer||[],t.dataLayer}pushOnDataLayer(t){this.getDataLayer().push(t)}addGtmToDom(){const t=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const e=t.createElement("script");e.id="GTMscript",e.async=!0,e.src=this.applyGtmQueryParams("//www.googletagmanager.com/gtm.js"),t.head.insertBefore(e,t.head.firstChild);const n=t.createElement("iframe");n.setAttribute("src",this.applyGtmQueryParams("//www.googletagmanager.com/ns.html")),n.style.width="0",n.style.height="0",n.style.display="none",n.style.visibility="hidden";const r=t.createElement("noscript");r.id="GTMiframe",r.appendChild(n),t.body.insertBefore(r,t.body.firstChild),this.isLoaded=!0}pushTag(t){this.isLoaded||this.addGtmToDom(),this.pushOnDataLayer(t)}applyGtmQueryParams(t){const e=["id="+this.gtmId];return this.gtmAuth&&e.push("gtm_auth="+this.gtmAuth),this.gtmPreview&&e.push("gtm_preview="+this.gtmPreview),-1===t.indexOf("?")&&(t+="?"),t+e.join("&")}}return t.\u0275fac=function(e){return new(e||t)(qt("googleTagManagerId"),qt("googleTagManagerAuth",8),qt("googleTagManagerPreview",8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ut({factory:function(){return new t(qt("googleTagManagerId"),qt("googleTagManagerAuth",8),qt("googleTagManagerPreview",8))},token:t,providedIn:"root"}),t})(),ib=(()=>{class t{constructor(t,e,n){this.http=t,this.stockService=e,this.gtmService=n,this.lastMessage=new xh(null),this.sendToParent=(t,e)=>{window.parent.postMessage({message:t,params:e},"http://localhost:4200")},this.sendToPlayCanvas=(t,e={})=>{var n,r;(null===(r=null===(n=this.target)||void 0===n?void 0:n.contentWindow)||void 0===r?void 0:r.tellPlayCanvas)&&this.target.contentWindow.tellPlayCanvas({event:t,params:e})},this.getProgressData=()=>JSON.parse(localStorage.getItem("progressData"))||{},this.sendStatus=()=>this.sendToPlayCanvas("sendStatus",{allowTracking:this.allowTracking,regionUS:this.regionUS,bottlesAvailable:this.bottlesAvailable,formSubmitted:this.formSubmitted,progressData:this.getProgressData()}),this.getStatus=()=>setTimeout(()=>this.sendStatus(),1)}get formSubmitted(){return this.formSubmittedValue}set formSubmitted(t){this.formSubmittedValue=t,null!==t&&localStorage.setItem("formSubmitted",t.toString())}get regionUS(){return this.regionValue}set regionUS(t){this.regionValue=t,null!==t&&localStorage.setItem("regionUS",t.toString())}get allowTracking(){return this.trackingValue}set allowTracking(t){this.trackingValue=t,null!==t&&localStorage.setItem("allowTracking",t.toString())}init(t){this.target=t.nativeElement,this.receiveEventsFromPlayCanvas(),this.stockService.getBottlesRemaining().then(t=>{this.bottlesAvailable=t,this.sendStatus()})}receiveEventsFromPlayCanvas(){window.playcanvas_says=(t,e,n,r)=>{this.lastMessage.next({message:t,param1:e,param2:n,param3:r}),this.sendToParent(t,[e,n,r])}}setProgress(t,e){const n=this.getProgressData();n[t]=e,localStorage.setItem("progressData",JSON.stringify(n))}trackEvent(t,e){this.allowTracking&&this.gtmService.pushTag({event:t,data:e})}shareItem(t,e){e||(e=window.location.href),e=encodeURIComponent(e.trim()),"facebook"===t?this.popup("https://www.facebook.com/sharer/sharer.php?u="+e):"twitter"===t?this.popup(`https://twitter.com/intent/tweet?text=${encodeURIComponent("We\u2019re bringing Salesforce + Google to you in a new, on-demand event. Tune in to hear from product experts & thought leaders, plus get practical tips on how to adapt & innovate for your business in today\u2019s climate.")} ${e}`):"linkedin"===t&&this.popup(`https://www.linkedin.com/shareArticle?url=${e}&summary=${encodeURIComponent("Salesforce + Google are headed your way in a new, on-demand event. Tune in for tips on how companies can innovate in today\u2019s climate.")}`)}popup(t){const e=void 0!==window.screenLeft?window.screenLeft:window.screenX,n=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,i=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,s=r/window.screen.availWidth;window.open(t,"_blank",`\n\t\t\ttoolbar=no,\n\t\t\tlocation=no,\n\t\t\tstatus=no,\n\t\t\tmenubar=no,\n\t\t\tscrollbars=yes,\n\t\t\tresizable=yes,\n\t\t\twidth=626,\n\t\t\theight=490,\n\t\t\ttop=${(i-490)/2/s+n},\n\t\t\tleft=${(r-626)/2/s+e}\n\t\t`)}evaluatePopups(){return this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS")),null===this.allowTracking||null===this.regionUS?"compliance":null}}return t.\u0275fac=function(e){return new(e||t)(qt(P_),qt(nb),qt(rb))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sb(t){return!l(t)&&t-parseFloat(t)+1>=0}function ob(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function ab(t,e,n,i){return r(n)&&(i=n,n=void 0),i?ab(t,e,n).pipe(H(t=>l(t)?i(...t):i(t))):new v(r=>{!function t(e,n,r,i,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,s),o=()=>t.removeEventListener(n,r,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),o=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),o=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,r,i,s)}i.add(o)}(t,e,(function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),r,n)})}class lb{call(t,e){return e.subscribe(new cb(t))}}class cb extends G{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){let e=t[n],r=R(this,e,e,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}function ub(t){return e=>e.lift(new hb(t))}class hb{constructor(t){this.notifier=t}call(t,e){const n=new db(t),r=R(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class db extends G{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,i){this.seenValue=!0,this.complete()}notifyComplete(){}}function pb(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new fb(t,n))}}class fb{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new gb(t,this.observables,this.project))}}class gb extends G{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let i=0;i<r;i++)this.toRespond.push(i);for(let i=0;i<r;i++){let t=e[i];this.add(R(this,t,t,i))}}notifyNext(t,e,n,r,i){this.values[n]=e;const s=this.toRespond;if(s.length>0){const t=s.indexOf(n);-1!==t&&s.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}let mb=(()=>{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 Oh(this.value);case"E":return J_(this.error);case"C":return Dh()}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 _b{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new bb(t,this.delay,this.scheduler))}}class bb extends f{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,r=t.scheduler,i=t.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const e=Math.max(0,n[0].time-r.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(bb.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new yb(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(mb.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(mb.createComplete()),this.unsubscribe()}}class yb{constructor(t,e){this.time=t,this.notification=e}}$localize`:@@ngb.alert.close␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`;const vb=["*"];$localize`:@@ngb.carousel.previous␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,$localize`:@@ngb.carousel.next␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`,$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`;const wb=["dialog"];function Cb(t,e){if(1&t&&(Do(0,"span"),Pa(1),Ro()),2&t){const t=Ko().$implicit;da(Ko().highlightClass),Ci(1),Ma(t)}}function Sb(t,e){1&t&&Pa(0),2&t&&Ma(Ko().$implicit)}function Tb(t,e){if(1&t&&(Oo(0,Cb,2,3,"span",1),Oo(1,Sb,1,1,"ng-template",null,2,hc)),2&t){const t=e.odd,n=xo(2);Io("ngIf",t)("ngIfElse",n)}}function Pb(t,e){if(1&t&&Go(0,"ngb-highlight",2),2&t){const t=e.term;Io("result",(0,e.formatter)(e.result))("term",t)}}function Mb(t,e){}$localize`:@@ngb.pagination.first␟656506dfd46380956a655f919f1498d018f75ca0␟6867721956102594380:««`,$localize`:@@ngb.pagination.previous␟6e52b6ee77a4848d899dd21b591c6fd499e3aef3␟6479320895410098858:«`,$localize`:@@ngb.pagination.next␟ba9cbb4ff311464308a3627e4f1c3345d9fe6d7d␟5458177150283468089:»`,$localize`:@@ngb.pagination.last␟49f27a460bc97e7e00be5b37098bfa79884fc7d9␟5277020320267646988:»»`,$localize`:@@ngb.pagination.first-aria␟f2f852318759c6396b5d3d17031d53817d7b38cc␟2241508602425256033:First`,$localize`:@@ngb.pagination.previous-aria␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,$localize`:@@ngb.pagination.next-aria␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,$localize`:@@ngb.pagination.last-aria␟5c729788ba138508aca1bec050b610f7bf81db3e␟4882268002141858767:Last`,$localize`:@@ngb.progressbar.value␟f8e9a947b9db4252c0e9905765338712f2fd032f␟3720830768741091151:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.timepicker.HH␟ce676ab1d6d98f85c836381cf100a4a91ef95a1f␟4043638465245303811:HH`,$localize`:@@ngb.timepicker.hours␟3bbce5fef7e1151da052a4e529453edb340e3912␟8070396816726827304:Hours`,$localize`:@@ngb.timepicker.MM␟72c8edf6a50068a05bde70991e36b1e881f4ca54␟1647282246509919852:MM`,$localize`:@@ngb.timepicker.minutes␟41e62daa962947c0d23ded0981975d1bddf0bf38␟5531237363767747080:Minutes`,$localize`:@@ngb.timepicker.increment-hours␟cb74bc1d625a6c1742f0d7d47306cf495780c218␟5939278348542933629:Increment hours`,$localize`:@@ngb.timepicker.decrement-hours␟147c7a19429da7d999e247d22e33fee370b1691b␟3651829882940481818:Decrement hours`,$localize`:@@ngb.timepicker.increment-minutes␟f5a4a3bc05e053f6732475d0e74875ec01c3a348␟180147720391025024:Increment minutes`,$localize`:@@ngb.timepicker.decrement-minutes␟c1a6899e529c096da5b660385d4e77fe1f7ad271␟7447789825403243588:Decrement minutes`,$localize`:@@ngb.timepicker.SS␟ebe38d36a40a2383c5fefa9b4608ffbda08bd4a3␟3628127143071124194:SS`,$localize`:@@ngb.timepicker.seconds␟4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c␟8874012390997067175:Seconds`,$localize`:@@ngb.timepicker.increment-seconds␟912322ecee7d659d04dcf494a70e22e49d334b26␟5364772110539092174:Increment seconds`,$localize`:@@ngb.timepicker.decrement-seconds␟5db47ac104294243a70eb9124fbea9d0004ddf69␟753633511487974857:Decrement seconds`,$localize`:@@ngb.timepicker.PM␟8d6e691e10306c1b34c6b26805151aaea320ef7f␟3564199131264287502:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.timepicker.AM␟69a1f176a93998876952adac57c3bc3863b6105e␟4592818992509942761:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.toast.close-aria␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`;const Ob=function(t,e,n){return{result:t,term:e,formatter:n}};function xb(t,e){if(1&t){const t=Vo();Do(0,"button",3),jo("mouseenter",(function(){Ye(t);const n=e.index;return Ko().markActive(n)}))("click",(function(){Ye(t);const n=e.$implicit;return Ko().select(n)})),Oo(1,Mb,0,0,"ng-template",4),Ro()}if(2&t){const t=e.$implicit,n=e.index,r=Ko(),i=xo(1);ua("active",n===r.activeIdx),Io("id",r.id+"-"+n),Ci(1),Io("ngTemplateOutlet",r.resultTemplate||i)("ngTemplateOutletContext",Fl(5,Ob,t,r.term,r.formatter))}}function Eb(t){return null!=t?""+t:""}function Ab(t){return null!=t}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){let e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});let kb=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),Ib=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),Nb=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),Db=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),Rb=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();var Gb=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",t}({});const Hb=(t,e)=>!!e&&e.some(e=>e.contains(t)),Lb=(t,e)=>!e||null!=function(t,e){return e?void 0===t.closest?null:t.closest(e):null}(t,e),Vb=(()=>"undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)))();const Bb=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Fb(t){const e=Array.from(t.querySelectorAll(Bb)).filter(t=>-1!==t.tabIndex);return[e[0],e[e.length-1]]}class jb{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let n,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const e=this.offsetParent(t);n=this.offset(t,!1),e!==document.documentElement&&(r=this.offset(e,!1)),r.top+=e.clientTop,r.left+=e.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(t,e=!0){const n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(t,e,n,r){const[i="top",s="center"]=n.split("-"),o=r?this.offset(t,!1):this.position(t,!1),a=this.getAllStyles(e),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,p=0;switch(i){case"top":d=o.top-(e.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":p=o.left-(e.offsetWidth+u+h);break;case"right":p=o.left+o.width}switch(s){case"top":d=o.top;break;case"bottom":d=o.top+o.height-e.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-e.offsetWidth;break;case"center":"top"===i||"bottom"===i?p=o.left+o.width/2-e.offsetWidth/2:d=o.top+o.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(p)}px, ${Math.round(d)}px)`;const f=e.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,_=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=_&&f.bottom<=m}}const Ub=/\s+/,zb=new jb;let Wb=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku,Im]]}),t})(),$b=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),Kb=(()=>{let t=class{constructor(){this.backdrop=!0,this.keyboard=!0}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();class Xb{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}class qb{constructor(t,e,n,r,i,s){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=r,this._componentFactoryResolver=i,this._applicationRef=s,this._windowRef=null,this._contentRef=null}open(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}close(){var t;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(t=this._contentRef)||void 0===t?void 0:t.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}_getContentRef(t,e){if(t){if(t instanceof wl){const n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new Xb([n.rootNodes],n)}return new Xb([[this._renderer.createText(""+t)]])}return new Xb([])}}const Qb=()=>{};let Zb=(()=>{let t=class{constructor(t){this._document=t}compensate(){const t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):Qb}_adjustBody(t){const e=this._document.body,n=e.style.paddingRight,r=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=r+t+"px",()=>e.style["padding-right"]=n}_isPresent(t){const e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}_getWidth(){const t=this._document.createElement("div");t.className="modal-scrollbar-measure";const e=this._document.body;e.appendChild(t);const n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}};return t.\u0275fac=function(e){return new(e||t)(qt(pu))},t.\u0275prov=ut({factory:function(){return new t(qt(pu))},token:t,providedIn:"root"}),t})(),Yb=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(t,e){2&t&&da("modal-backdrop fade show"+(e.backdropClass?" "+e.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();class Jb{close(t){}dismiss(t){}}class ty{constructor(t,e,n,r){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,t.instance.dismissEvent.subscribe(t=>{this.dismiss(t)}),this.result=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}close(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())}_dismiss(t){this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();e&&e.then?e.then(e=>{!1!==e&&this._dismiss(t)},()=>{}):!1!==e&&this._dismiss(t)}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){const t=this._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}}var ey=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}({});let ny=(()=>{let t=class{constructor(t,e,n){this._document=t,this._elRef=e,this._zone=n,this._closed$=new P,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Wl}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement}ngAfterViewInit(){const{nativeElement:t}=this._elRef;if(this._zone.runOutsideAngular(()=>{ab(t,"keydown").pipe(ub(this._closed$),Hh(t=>t.which===Gb.Escape&&this.keyboard)).subscribe(t=>requestAnimationFrame(()=>{t.defaultPrevented||this._zone.run(()=>this.dismiss(ey.ESC))}));let e=!1;ab(this._dialogEl.nativeElement,"mousedown").pipe(ub(this._closed$),_d(()=>e=!1),ad(()=>ab(t,"mouseup").pipe(ub(this._closed$),ed(1))),Hh(({target:e})=>t===e)).subscribe(()=>{e=!0}),ab(t,"click").pipe(ub(this._closed$)).subscribe(({target:n})=>{!0!==this.backdrop||t!==n||e||this._zone.run(()=>this.dismiss(ey.BACKDROP_CLICK)),e=!1})}),!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),n=Fb(t)[0];(e||n||t).focus()}}ngOnDestroy(){const t=this._document.body,e=this._elWithFocus;let n;n=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null}),this._closed$.next()}};return t.\u0275fac=function(e){return new(e||t)(Eo(pu),Eo(Za),Eo(Dc))},t.\u0275cmp=fe({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){var n;1&t&&rc(wb,!0),2&t&&nc(n=ac())&&(e._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(t,e){2&t&&(Mo("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),da("modal fade show d-block"+(e.windowClass?" "+e.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:vb,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(qo(),Do(0,"div",0,1),Do(2,"div",2),Qo(3),Ro(),Ro()),2&t&&da("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),t})(),ry=(()=>{let t=class{constructor(t,e,n,r,i,s){this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=r,this._rendererFactory=i,this._ngZone=s,this._activeWindowCmptHasChanged=new P,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new Wl,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const t=this._windowCmpts[this._windowCmpts.length-1];((t,e,n,r=!1)=>{this._ngZone.runOutsideAngular(()=>{const t=ab(e,"focusin").pipe(ub(n),H(t=>t.target));ab(e,"keydown").pipe(ub(n),Hh(t=>t.which===Gb.Tab),pb(t)).subscribe(([t,n])=>{const[r,i]=Fb(e);n!==r&&n!==e||!t.shiftKey||(i.focus(),t.preventDefault()),n!==i||t.shiftKey||(r.focus(),t.preventDefault())}),r&&ab(e,"click").pipe(ub(n),pb(t),H(t=>t[1])).subscribe(t=>t.focus())})})(0,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}open(t,e,n,r){const i=r.container instanceof HTMLElement?r.container:Ab(r.container)?this._document.querySelector(r.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!i)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);const l=new Jb,c=this._getContentRef(t,r.injector||e,n,l,r);let u=!1!==r.backdrop?this._attachBackdrop(t,i):void 0,h=this._attachWindowComponent(t,i,c),d=new ty(h,c,u,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),l.close=t=>{d.close(t)},l.dismiss=t=>{d.dismiss(t)},this._applyWindowOptions(h.instance,r),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&this._applyBackdropOptions(u.instance,r),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let n=t.resolveComponentFactory(Yb).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(t,e,n){let r=t.resolveComponentFactory(ny).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_applyWindowOptions(t,e){this._windowAttributes.forEach(n=>{Ab(e[n])&&(t[n]=e[n])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(n=>{Ab(e[n])&&(t[n]=e[n])})}_getContentRef(t,e,n,r,i){return n?n instanceof wl?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(t,e,n,r,i):new Xb([])}_createFromTemplateRef(t,e){const n=t.createEmbeddedView({$implicit:e,close(t){e.close(t)},dismiss(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new Xb([n.rootNodes],n)}_createFromString(t){const e=this._document.createTextNode(""+t);return new Xb([[e]])}_createFromComponent(t,e,n,r,i){const s=t.resolveComponentFactory(n),o=ho.create({providers:[{provide:Jb,useValue:r}],parent:e}),a=s.create(o),l=a.location.nativeElement;return i.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new Xb([[l]],a.hostView,a)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(e=>{e!==t&&"SCRIPT"!==e.nodeName&&(this._ariaHiddenValues.set(e,e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const e=this._modalRefs.indexOf(t);e>-1&&(this._modalRefs.splice(e,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}};return t.\u0275fac=function(e){return new(e||t)(qt(tu),qt(ho),qt(pu),qt(Zb),qt(Ja),qt(Dc))},t.\u0275prov=ut({factory:function(){return new t(qt(tu),qt(Bt),qt(pu),qt(Zb),qt(Ja),qt(Dc))},token:t,providedIn:"root"}),t})(),iy=(()=>{let t=class{constructor(t,e,n,r){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=r}open(t,e={}){const n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}};return t.\u0275fac=function(e){return new(e||t)(qt(Qa),qt(ho),qt(ry),qt(Kb))},t.\u0275prov=ut({factory:function(){return new t(qt(Qa),qt(Bt),qt(ry),qt(Kb))},token:t,providedIn:"root"}),t})(),sy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[iy]}),t})(),oy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),ay=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),ly=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),cy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),uy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),hy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),dy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),py=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),fy=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),gy=(()=>{let t=class{constructor(){this.highlightClass="ngb-highlight"}ngOnChanges(t){const e=Eb(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map(t=>Eb(t).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")).filter(t=>t);this.parts=n.length?e.split(new RegExp(`(${n.join("|")})`,"gmi")):[e]}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[Ha],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(t,e){1&t&&Oo(0,Tb,3,2,"ng-template",0),2&t&&Io("ngForOf",e.parts)},directives:[Gu,Lu],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),t})(),my=(()=>{let t=class{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=Eb,this.selectEvent=new Wl,this.activeChangeEvent=new Wl}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(t){this.activeIdx=t,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(t){this.selectEvent.emit(t)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(t,e){1&t&&jo("mousedown",(function(t){return t.preventDefault()})),2&t&&xa("id",e.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(Oo(0,Pb,1,2,"ng-template",null,0,hc),Oo(2,xb,2,9,"ng-template",1)),2&t&&(Ci(2),Io("ngForOf",e.results))},directives:[Gu,gy,Fu],encapsulation:2}),t})();const _y=new Vt("live announcer delay",{providedIn:"root",factory:function(){return 100}});function by(t,e=!1){let n=t.body.querySelector("#ngb-live");return null==n&&e&&(n=t.createElement("div"),n.setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),t.body.appendChild(n)),n}let yy=(()=>{let t=class{constructor(t,e){this._document=t,this._delay=e}ngOnDestroy(){const t=by(this._document);t&&t.parentElement.removeChild(t)}say(t){const e=by(this._document,!0),n=this._delay;if(null!=e){e.textContent="";const r=()=>e.textContent=t;null===n?r():setTimeout(r,n)}}};return t.\u0275fac=function(e){return new(e||t)(qt(pu),qt(_y))},t.\u0275prov=ut({factory:function(){return new t(qt(pu),qt(_y))},token:t,providedIn:"root"}),t})(),vy=(()=>{let t=class{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const wy={provide:_g,useExisting:Tt(()=>Sy),multi:!0};let Cy=0,Sy=(()=>{let t=class{constructor(t,e,n,r,i,s,o,a,l,c,u,h){this._elementRef=t,this._renderer=n,this._live=a,this._document=l,this._ngZone=c,this._changeDetector=u,this._subscription=null,this._closed$=new P,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new Wl,this.activeDescendant=null,this.popupId="ngb-typeahead-"+Cy++,this._onTouched=()=>{},this._onChange=t=>{},this.container=s.container,this.editable=s.editable,this.focusFirst=s.focusFirst,this.showHint=s.showHint,this.placement=s.placement,this._valueChanges=ab(t.nativeElement,"input").pipe(H(t=>t.target.value)),this._resubscribeTypeahead=new xh(null),this._popupService=new qb(my,r,e,n,i,h),this._zoneSubscription=o.onStable.subscribe(()=>{this.isPopupOpen()&&function(t,e,n,r,i){let s=Array.isArray(n)?n:n.split(Ub);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t=>{const[e,n]=t.split("-"),r=[];return r};let l=s.findIndex(t=>"auto"===t);l>=0&&o.forEach((function(t){null==s.find(e=>-1!==e.search("^"+t))&&s.splice(l++,1,t)}));const c=e.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";let u=null,h=!1;for(u of s){a(u);if(zb.positionElements(t,e,u,r)){h=!0;break}}h||(u=s[0],a(u),zb.positionElements(t,e,u,r))}(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)})}ngOnInit(){const t=this._valueChanges.pipe(_d(t=>{this._inputValueBackup=this.showHint?t:null,this._onChange(this.editable?t:void 0)})).pipe(this.ngbTypeahead),e=this._resubscribeTypeahead.pipe(ad(()=>t));this._subscription=this._subscribeToUserInput(e)}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}writeValue(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(t){if(this.isPopupOpen())switch(t.which){case Gb.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Gb.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Gb.Enter:case Gb.Tab:const e=this._windowRef.instance.getActive();Ab(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup()}}_openPopup(){this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(t=>this._selectResultClosePopup(t)),this._windowRef.instance.activeChangeEvent.subscribe(t=>this.activeDescendant=t),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),function(t,e,n,r,i,s,o,a){var c;n&&t.runOutsideAngular((c=()=>{const c=ab(e,"keydown").pipe(ub(i),Hh(t=>t.which===Gb.Escape),_d(t=>t.preventDefault())),u=ab(e,"mousedown").pipe(H(t=>{const e=t.target;return 2!==t.button&&!Hb(e,o)&&("inside"===n?Hb(e,s)&&Lb(e,a):"outside"===n?!Hb(e,s):Lb(e,a)||!Hb(e,s))}),ub(i)),h=ab(e,"mouseup").pipe(pb(u),Hh(([t,e])=>e),function(t,e=W_){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new _b(r,e))}(0),ub(i));(function(...t){if(1===t.length){if(!l(t[0]))return t[0];t=t[0]}return $(t,void 0).lift(new lb)})([c.pipe(H(t=>0)),h.pipe(H(t=>1))]).subscribe(e=>t.run(()=>r(e)))},Vb?()=>setTimeout(()=>c(),100):c))}(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}_closePopup(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}_selectResult(t){let e=!1;this.selectItem.emit({item:t,preventDefault:()=>{e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))}_selectResultClosePopup(t){this._selectResult(t),this._closePopup()}_showHint(){var t;if(this.showHint&&(null===(t=this._windowRef)||void 0===t?void 0:t.instance.hasActive())&&null!=this._inputValueBackup){const t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this._writeInputValue(e)}}_formatItemForInput(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):Eb(t)}_writeInputValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",Eb(t))}_subscribeToUserInput(t){return t.subscribe(t=>{t&&0!==t.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=t,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const e=t?t.length:0;this._live.say(0===e?"No results available":`${e} result${1===e?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};return t.\u0275fac=function(e){return new(e||t)(Eo(Za),Eo(Sl),Eo(el),Eo(ho),Eo(Qa),Eo(vy),Eo(Dc),Eo(yy),Eo(pu),Eo(Dc),Eo(qs),Eo(tu))},t.\u0275dir=ve({type:t,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(t,e){1&t&&jo("blur",(function(){return e.handleBlur()}))("keydown",(function(t){return e.handleKeyDown(t)})),2&t&&(xa("autocomplete",e.autocomplete),Mo("aria-autocomplete",e.showHint?"both":"list")("aria-activedescendant",e.activeDescendant)("aria-owns",e.isPopupOpen()?e.popupId:null)("aria-expanded",e.isPopupOpen()),ua("open",e.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[Ka([wy])]}),t})(),Ty=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})();const Py=[kb,Ib,Nb,Db,Rb,Wb,$b,sy,oy,ay,ly,cy,uy,dy,py,fy,Ty,hy];let My=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[Py,kb,Ib,Nb,Db,Rb,Wb,$b,sy,oy,ay,ly,cy,uy,dy,py,fy,Ty,hy]}),t})();const Oy=["instance"];function xy(t,e){if(1&t&&(Do(0,"div"),Pa(1),Ro()),2&t){const t=e.$implicit;Ci(1),Oa(" ",t," ")}}function Ey(t,e){if(1&t&&(Do(0,"div",39),Oo(1,xy,2,1,"div",40),Ro()),2&t){const t=Ko();Ci(1),Io("ngForOf",t.errors)}}function Ay(t,e){1&t&&(Do(0,"div",41),Pa(1," Zipcode must be at least 5 characters long. "),Ro())}const ky=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Iy=[{path:"compliance",component:Dm},{path:"",component:pg,canActivate:[gg]},{path:"menu",component:Km,canActivate:[gg]},{path:"marketing-cloud-analytics-360",component:Jm,canActivate:[gg]},{path:"marketing-cloud-analytics-360/videos",component:Jm,canActivate:[gg]},{path:"sales-cloud-g-suite",component:n_,canActivate:[gg]},{path:"sales-cloud-g-suite/videos",component:n_,canActivate:[gg]},{path:"tableau-big-query",component:s_,canActivate:[gg]},{path:"tableau-big-query/videos",component:s_,canActivate:[gg]},{path:"video/:id",component:o_,canActivate:[gg]},{path:"yeti/congratulations",component:a_,canActivate:[gg]},{path:"yeti/form",component:(()=>{class t{constructor(t,e,n){this.playCanvasService=t,this.formBuilder=e,this.http=n,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=uu,this.jsonHeader={headers:new h_({"Content-Type":"application/json"})},this.icons={close:l_.faTimes},this.focus$=new P,this.click$=new P,this.formGroup=this.formBuilder.group({first_name:new fm(null),last_name:new fm(null),home_address:new fm(null),home_address_2:new fm(null),city:new fm(null),state:new fm(null),zipcode:new fm(null,{validators:[Rg.required,Rg.minLength(5)],updateOn:"blur"}),phone_number:new fm(null),email:new fm(null),privacy:new fm(!1,[Rg.requiredTrue])}),this.search=t=>{const e=t.pipe($_(50),Q_()),n=this.click$.pipe(Hh(()=>!this.instance.isPopupOpen()));return K(e,this.focus$,n).pipe(H(t=>""===t?ky:ky.filter(e=>e.toLowerCase().indexOf(t.toLowerCase())>-1).slice(0,10)))}}get zipcode(){return this.formGroup.get("zipcode")}ngOnInit(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}submit(t){t.product=this.environment.stockName,t.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,t,this.jsonHeader).pipe(Yh(t=>{var e,n;return this.errors="string"==typeof t.error?[t.error]:null===(n=null===(e=t.error)||void 0===e?void 0:e.errors)||void 0===n?void 0:n.map(t=>this.humanizeError(t)),this.status="ready",J_(t.error)})).subscribe(t=>{this.status="ready",this.playCanvasService.formSubmitted=!0,this.playCanvasService.sendStatus(),this.visible=!1}))}humanizeError(t){let e;if("Invalid value"===t.msg){let n=t.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),e=`The ${n} field is required.`}return e||(e="An unknown error has occurred."),e}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib),Eo(km),Eo(P_))},t.\u0275cmp=fe({type:t,selectors:[["app-yeti-form"]],viewQuery:function(t,e){var n;1&t&&rc(Oy,!0),2&t&&nc(n=ac())&&(e.instance=n.first)},hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},inputs:{visible:"visible"},decls:78,vars:10,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",2,"padding","58px 0 0"],[1,"container"],[1,"row"],[1,"col-lg-12","col-lg-12--no-padding-sm"],[1,"card","card--orange"],["routerLink","/yeti/congratulations",1,"card__close"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","text","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],["for","phone_number",1,"sr-only"],["type","search","id","phone_number","formControlName","phone_number","placeholder","Phone",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"buttons"],["type","button","routerLink","/yeti/congratulations",1,"btn","btn-primary"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"fine-print"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Do(1,"div",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Go(5,"button",5),Do(6,"h1"),Pa(7," Please tell us where to ship your YETI"),Do(8,"sup"),Pa(9,"\xae"),Ro(),Pa(10,". "),Ro(),Do(11,"form",6),jo("submit",(function(){return e.submit(e.formGroup.value)})),Oo(12,Ey,2,1,"div",7),Oo(13,Ay,2,0,"div",8),Do(14,"div",2),Do(15,"div",9),Do(16,"label",10),Pa(17,"First Name"),Ro(),Go(18,"input",11),Ro(),Ro(),Do(19,"div",2),Do(20,"div",9),Do(21,"label",12),Pa(22,"Last Name"),Ro(),Go(23,"input",13),Ro(),Ro(),Do(24,"div",2),Do(25,"div",14),Do(26,"label",15),Pa(27,"Address Line 1"),Ro(),Go(28,"input",16),Ro(),Ro(),Do(29,"div",2),Do(30,"div",14),Do(31,"label",17),Pa(32,"Address Line 2 (optional)"),Ro(),Go(33,"input",18),Ro(),Ro(),Do(34,"div",2),Do(35,"div",19),Do(36,"label",20),Pa(37,"City"),Ro(),Go(38,"input",21),Ro(),Ro(),Do(39,"div",2),Do(40,"div",19),Do(41,"label",22),Pa(42,"State"),Ro(),Do(43,"input",23,24),jo("focus",(function(t){return e.focus$.next(t.target.value)}))("click",(function(t){return e.click$.next(t.target.value)})),Ro(),Ro(),Ro(),Do(45,"div",2),Do(46,"div",19),Do(47,"label",25),Pa(48,"Zip"),Ro(),Go(49,"input",26),Ro(),Ro(),Do(50,"div",2),Do(51,"div",9),Do(52,"label",27),Pa(53,"Phone"),Ro(),Go(54,"input",28),Ro(),Ro(),Do(55,"div",2),Do(56,"div",9),Do(57,"label",29),Pa(58,"Email"),Ro(),Go(59,"input",30),Ro(),Ro(),Do(60,"div",2),Do(61,"div",31),Do(62,"div",32),Do(63,"label"),Go(64,"input",33),Pa(65," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Do(66,"a",34),Pa(67,"Privacy Statement"),Ro(),Pa(68,". "),Ro(),Ro(),Ro(),Ro(),Do(69,"div",2),Do(70,"div",31),Do(71,"div",35),Do(72,"button",36),Pa(73," Opt Out "),Ro(),Do(74,"button",37),Pa(75," Submit "),Ro(),Ro(),Ro(),Ro(),Do(76,"p",38),Pa(77," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Ro(),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(11),ua("loading","loading"===e.status),Io("formGroup",e.formGroup),Ci(1),Io("ngIf",(null==e.errors?null:e.errors.length)>0),Ci(1),Io("ngIf",e.zipcode.invalid&&(e.zipcode.dirty||e.zipcode.touched)&&e.zipcode.errors.minlength),Ci(30),Io("ngbTypeahead",e.search)("editable",!1),Ci(31),ua("disabled",!e.formGroup.valid),Io("disabled",!e.formGroup.valid))},directives:[dg,Vf,ym,Ag,Cm,Lu,Cg,Eg,Em,Sy,yg,Gu],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.mobile-content[_ngcontent-%COMP%]{padding-top:58px}.card[_ngcontent-%COMP%]{border-radius:0}.card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:8px}@media (max-width:767.98px){.col-lg-12--no-padding-sm[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px;margin-top:1rem}.buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;margin:0 1rem;text-transform:uppercase}"]}),t})(),canActivate:[gg]},{path:"yeti/confirmation",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-yeti-confirmation"]],decls:7,vars:1,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",3,"centerContent"],["routerLink","/yeti/form"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--orange"]],template:function(t,e){1&t&&(Do(0,"app-mobile-page",0),Go(1,"app-back-button",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Do(5,"div",5),Pa(6," --confirmation-- "),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&Io("centerContent",!0)},directives:[dg,Xm,Vf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}"]}),t})(),canActivate:[gg]}];let Ny=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[tg.forRoot(Iy)],tg]}),t})();const Dy={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},Ry={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},Gy={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},Hy={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},Ly=Object.assign({},Ry,Gy,{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),Vy={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},By={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},Fy=Object.keys(Vy).reduce((function(t,e){return t[e]=Vy[e],t}),{}),jy=Object.keys(By).reduce((function(t,e){return t[Dy[e]]=By[e],t}),{});var Uy=Object.freeze({BROWSERS:Dy,MOBILES_RE:Ry,TABLETS_RE:Gy,DEVICES:Hy,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:Ly,OS_VERSIONS_RE_MAP:Vy,BROWSER_VERSIONS_RE_MAP:By,OS_VERSIONS_RE:Fy,BROWSER_VERSIONS_RE:jy});class zy{constructor(){}test(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.test(t):e&&Array.isArray(e.and)?e.and.every((function(e){return n.test(t,e)})):e&&Array.isArray(e.or)?e.or.some((function(e){return n.test(t,e)})):!(!e||!e.not||n.test(t,e.not))}exec(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.exec(t):e&&Array.isArray(e)?e.reduce((function(e,r){return e||n.exec(t,r)}),null):null}}let Wy=(()=>{let t=class{constructor(t){this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new zy,Xu(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(t=this.userAgent){t!==this.userAgent&&(this.userAgent=t);let e=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(e.forEach(e=>{this[e.prop]=Object.keys(Uy[e.const]).reduce((n,r)=>"device"===Uy[e.const][r]&&Xu(this.platformId)&&(this.reTree.test(this.userAgent,Gy.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(n[Uy[e.const][r]]="iPad",Object):(n[Uy[e.const][r]]=this.reTree.test(t,Uy[e.const+"_RE"][r]),n),{})}),e.forEach(t=>{this[t.prop]=Object.keys(Uy[t.const]).map(e=>Uy[t.const][e]).reduce((e,n)=>"device"===t.prop&&e===Uy[t.const].ANDROID?this[t.prop][n]?n:e:e===Uy[t.const].UNKNOWN&&this[t.prop][n]?n:e,Uy[t.const].UNKNOWN)}),this.browser_version="0",this.browser!==Dy.UNKNOWN){let e=this.reTree.exec(t,jy[this.browser]);e&&(this.browser_version=e[1])}}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}isMobile(t=this.userAgent){return!this.isTablet(t)&&!!Object.keys(Ry).find(e=>this.reTree.test(t,Ry[e]))}isTablet(t=this.userAgent){return!(!Xu(this.platformId)||!(this.reTree.test(this.userAgent,Gy.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(Gy).find(e=>!!this.reTree.test(t,Gy[e]))}isDesktop(t=this.userAgent){const e=[Hy.PS4,Hy.CHROME_BOOK,Hy.UNKNOWN];return(this.device!==Hy.UNKNOWN||!this.isMobile(t)&&!this.isTablet(t))&&e.indexOf(this.device)>-1}};return t.\u0275fac=function(e){return new(e||t)(qt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ht({factory:function(){return new t(Qt(bc))},token:t,providedIn:"root"}),t})();var $y;let Ky=(()=>{let t=$y=class{static forRoot(){return{ngModule:$y,providers:[Wy]}}};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),Xy=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-header"]],decls:2,vars:0,consts:[["href","https://www.salesforce.com/campaign/google/","target","_blank"]],template:function(t,e){1&t&&(Do(0,"a",0),Pa(1," See More from Salesforce\n"),Ro())},styles:["[_nghost-%COMP%]{height:38px;text-align:right;padding:0 1.8rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:12px}a[_ngcontent-%COMP%]{text-decoration:underline}a[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),t})(),qy=(()=>{class t{constructor(t,e){this.playCanvasService=t,this.formBuilder=e,this.closed=new Wl,this.visible=!1,this.formGroup=this.formBuilder.group({trackingAllowed:new fm(!0)})}ngOnInit(){this.playCanvasService.formSubmitted=JSON.parse(localStorage.getItem("formSubmitted")),this.playCanvasService.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.playCanvasService.regionUS=JSON.parse(localStorage.getItem("regionUS")),this.playCanvasService.allowTracking||(this.visible=!0)}open(){this.visible=!0}close(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}yes(){this.playCanvasService.regionUS=!0,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}no(){this.playCanvasService.regionUS=!1,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib),Eo(km))},t.\u0275cmp=fe({type:t,selectors:[["app-compliance"]],hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:16,vars:1,consts:[[1,"backdrop"],[1,"popup"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(t,e){1&t&&(Go(0,"div",0),Do(1,"div",1),Do(2,"form",2),Do(3,"h1"),Pa(4,"Are you based in the U.S.?"),Ro(),Do(5,"div",3),Do(6,"button",4),jo("click",(function(){return e.yes()})),Pa(7,"Yes"),Ro(),Do(8,"button",4),jo("click",(function(){return e.no()})),Pa(9,"No"),Ro(),Ro(),Do(10,"div",5),Go(11,"input",6),Do(12,"label",7),Pa(13," By checking this box, I consent to data processing as described in the "),Do(14,"a",8),Pa(15,"Salesforce Privacy Policy"),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(2),Io("formGroup",e.formGroup))},directives:[ym,Ag,Cm,yg,Eg,Em],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{cursor:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:680px}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{margin:2rem 0}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}h1[_ngcontent-%COMP%]{margin-bottom:1rem;font-weight:700}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px}"]}),t})();function Qy(t,e){if(1&t&&(Do(0,"dl"),Do(1,"dt"),Pa(2,"Message:"),Ro(),Do(3,"dd"),Pa(4),Ro(),Do(5,"dt"),Pa(6,"Param 1:"),Ro(),Do(7,"dd"),Pa(8),Ro(),Do(9,"dt"),Pa(10,"Param 2:"),Ro(),Do(11,"dd"),Pa(12),Ro(),Do(13,"dt"),Pa(14,"Param 3:"),Ro(),Do(15,"dd"),Pa(16),Ro(),Ro()),2&t){const t=Ko();Ci(4),Ma(t.data.message),Ci(4),Ma(t.data.param1),Ci(4),Ma(t.data.param2),Ci(4),Ma(t.data.param3)}}let Zy=(()=>{class t{constructor(t){this.playCanvasService=t,this.closed=new Wl,this.visible=!1}ngOnInit(){}open(t){this.data=t,this.visible=!0}close(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-message"]],hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},outputs:{closed:"closed"},decls:7,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],[4,"ngIf"],[3,"click"]],template:function(t,e){1&t&&(Do(0,"div",0),jo("click",(function(){return e.close()})),Ro(),Do(1,"div",1),Do(2,"p"),Pa(3,"popup-message works!"),Ro(),Oo(4,Qy,17,4,"dl",2),Do(5,"button",3),jo("click",(function(){return e.close()})),Pa(6,"Close me"),Ro(),Ro()),2&t&&(Ci(4),Io("ngIf",e.data))},directives:[Lu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:640px}"]}),t})();function Yy(t){return(Yy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){Jy(t,e,n[e])}))}return t}function ev(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(l){i=!0,s=l}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var nv={},rv={};try{"undefined"!=typeof window&&(nv=window),"undefined"!=typeof document&&(rv=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(uP){}var iv=(nv.navigator||{}).userAgent,sv=void 0===iv?"":iv,ov=nv,av=rv,lv=!!av.documentElement&&!!av.head&&"function"==typeof av.addEventListener&&"function"==typeof av.createElement,cv=(~sv.indexOf("MSIE")||sv.indexOf("Trident/"),[1,2,3,4,5,6,7,8,9,10]),uv=cv.concat([11,12,13,14,15,16,17,18,19,20]),hv={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},dv=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",hv.GROUP,hv.SWAP_OPACITY,hv.PRIMARY,hv.SECONDARY].concat(cv.map((function(t){return"".concat(t,"x")}))).concat(uv.map((function(t){return"w-".concat(t)}))),ov.FontAwesomeConfig||{});av&&"function"==typeof av.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=ev(t,2),n=e[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=av.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(e[0]));null!=r&&(dv[n]=r)}));var pv=tv({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},dv);pv.autoReplaceSvg||(pv.observeMutations=!1);var fv=tv({},pv);ov.FontAwesomeConfig=fv;var gv=ov||{};gv.___FONT_AWESOME___||(gv.___FONT_AWESOME___={}),gv.___FONT_AWESOME___.styles||(gv.___FONT_AWESOME___.styles={}),gv.___FONT_AWESOME___.hooks||(gv.___FONT_AWESOME___.hooks={}),gv.___FONT_AWESOME___.shims||(gv.___FONT_AWESOME___.shims=[]);var mv=gv.___FONT_AWESOME___,_v=[];lv&&((av.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(av.readyState)||av.addEventListener("DOMContentLoaded",(function t(){av.removeEventListener("DOMContentLoaded",t),_v.map((function(t){return t()}))})));var bv,yv=function(){},vv="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,wv="undefined"==typeof setImmediate?setTimeout:setImmediate,Cv=[];function Sv(){for(var t=0;t<Cv.length;t++)Cv[t][0](Cv[t][1]);Cv=[],bv=!1}function Tv(t,e){Cv.push([t,e]),bv||(bv=!0,wv(Sv,0))}function Pv(t){var e=t.owner,n=e._state,r=e._data,i=t[n],s=t.then;if("function"==typeof i){n="fulfilled";try{r=i(r)}catch(uP){Ev(s,uP)}}Mv(s,r)||("fulfilled"===n&&Ov(s,r),"rejected"===n&&Ev(s,r))}function Mv(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===Yy(e))){var r=e.then;if("function"==typeof r)return r.call(e,(function(r){n||(n=!0,e===r?xv(t,r):Ov(t,r))}),(function(e){n||(n=!0,Ev(t,e))})),!0}}catch(uP){return n||Ev(t,uP),!0}return!1}function Ov(t,e){t!==e&&Mv(t,e)||xv(t,e)}function xv(t,e){"pending"===t._state&&(t._state="settled",t._data=e,Tv(kv,t))}function Ev(t,e){"pending"===t._state&&(t._state="settled",t._data=e,Tv(Iv,t))}function Av(t){t._then=t._then.forEach(Pv)}function kv(t){t._state="fulfilled",Av(t)}function Iv(t){t._state="rejected",Av(t),!t._handled&&vv&&global.process.emit("unhandledRejection",t._data,t)}function Nv(t){global.process.emit("rejectionHandled",t)}function Dv(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof Dv==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){Ev(e,t)}try{t((function(t){Ov(e,t)}),n)}catch(uP){n(uP)}}(t,this)}Dv.prototype={constructor:Dv,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(yv),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&vv&&Tv(Nv,this)),"fulfilled"===this._state||"rejected"===this._state?Tv(Pv,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},Dv.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new Dv((function(e,n){var r=[],i=0;function s(t){return i++,function(n){r[t]=n,--i||e(r)}}for(var o,a=0;a<t.length;a++)(o=t[a])&&"function"==typeof o.then?o.then(s(a),n):r[a]=o;i||e(r)}))},Dv.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new Dv((function(e,n){for(var r,i=0;i<t.length;i++)(r=t[i])&&"function"==typeof r.then?r.then(e,n):e(r)}))},Dv.resolve=function(t){return t&&"object"===Yy(t)&&t.constructor===Dv?t:new Dv((function(e){e(t)}))},Dv.reject=function(t){return new Dv((function(e,n){n(t)}))};var Rv={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gv(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Hv(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Lv(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Vv(t){return t.size!==Rv.size||t.x!==Rv.x||t.y!==Rv.y||t.rotate!==Rv.rotate||t.flipX||t.flipY}function Bv(t){var e=t.transform,n=t.iconWidth,r={transform:"translate(".concat(t.containerWidth/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Fv={x:0,y:0,width:"100%",height:"100%"};function jv(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Uv(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,s=t.iconName,o=t.transform,a=t.symbol,l=t.title,c=t.maskId,u=t.titleId,h=t.extra,d=t.watchable,p=void 0!==d&&d,f=r.found?r:n,g=f.width,m=f.height,_="fa-w-".concat(Math.ceil(g/m*16)),b=[fv.replacementClass,s?"".concat(fv.familyPrefix,"-").concat(s):"",_].filter((function(t){return-1===h.classes.indexOf(t)})).concat(h.classes).join(" "),y={children:[],attributes:tv({},h.attributes,{"data-prefix":i,"data-icon":s,class:b,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(m)})};p&&(y.attributes["data-fa-i2svg"]=""),l&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Gv())},children:[l]});var v=tv({},y,{prefix:i,iconName:s,main:n,mask:r,maskId:c,transform:o,symbol:a,styles:h.styles}),w=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,i=t.main,s=t.mask,o=t.maskId,a=i.icon,l=s.icon,c=Bv({transform:t.transform,containerWidth:s.width,iconWidth:i.width}),u={tag:"rect",attributes:tv({},Fv,{fill:"white"})},h=a.children?{children:a.children.map(jv)}:{},d={tag:"g",attributes:tv({},c.inner),children:[jv(tv({tag:a.tag,attributes:tv({},a.attributes,c.path)},h))]},p={tag:"g",attributes:tv({},c.outer),children:[d]},f="mask-".concat(o||Gv()),g="clip-".concat(o||Gv()),m={tag:"mask",attributes:tv({},Fv,{id:f,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(e=l,"g"===e.tag?e.children:[e])},m]};return n.push(_,{tag:"rect",attributes:tv({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(f,")")},Fv)}),{children:n,attributes:r}}(v):function(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,s=Lv(t.styles);if(s.length>0&&(n.style=s),Vv(i)){var o=Bv({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:tv({},o.outer),children:[{tag:"g",attributes:tv({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:tv({},r.icon.attributes,o.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(v),C=w.attributes;return v.children=w.children,v.attributes=C,a?function(t){var e=t.iconName,n=t.children,r=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tv({},t.attributes,{id:!0===r?"".concat(t.prefix,"-").concat(fv.familyPrefix,"-").concat(e):r}),children:n}]}]}(v):function(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,s=t.styles,o=t.transform;if(Vv(o)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=Lv(tv({},s,{"transform-origin":"".concat(a.x+o.x/16,"em ").concat(a.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(v)}var zv=function(t,e,n,r){var i,s,o,a=Object.keys(t),l=a.length,c=void 0!==r?function(t,e){return function(n,r,i,s){return t.call(e,n,r,i,s)}}(e,r):e;for(void 0===n?(i=1,o=t[a[0]]):(i=0,o=n);i<l;i++)o=c(o,t[s=a[i]],s,t);return o};function Wv(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,s=Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof mv.hooks.addPack||i?mv.styles[t]=tv({},mv.styles[t]||{},s):mv.hooks.addPack(t,s),"fas"===t&&Wv("fa",e)}var $v=mv.styles,Kv=mv.shims,Xv=function(){var t=function(t){return zv($v,(function(e,n,r){return e[r]=zv(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in $v;zv(Kv,(function(t,n){var r=n[1];return"far"!==r||e||(r="fas"),t[n[0]]={prefix:r,iconName:n[2]},t}),{})};function qv(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Qv(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,s=void 0===i?[]:i;return"string"==typeof t?Hv(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(Hv(t[n]),'" ')}),"").trim()}(r),">").concat(s.map(Qv).join(""),"</").concat(e,">")}function Zv(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}Xv(),(Zv.prototype=Object.create(Error.prototype)).constructor=Zv;var Yv={fill:"currentColor"},Jv={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},tw=(tv({},Yv,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),tv({},Jv,{attributeName:"opacity"}));function ew(t){var e=t[0],n=t[1],r=ev(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(fv.familyPrefix,"-").concat(hv.GROUP)},children:[{tag:"path",attributes:{class:"".concat(fv.familyPrefix,"-").concat(hv.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(fv.familyPrefix,"-").concat(hv.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function nw(){fv.autoAddCss&&!aw&&(function(t){if(t&&lv){var e=av.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=av.head.childNodes,r=null,i=n.length-1;i>-1;i--){var s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}av.head.insertBefore(e,r)}}(function(){var t="svg-inline--fa",e=fv.familyPrefix,n=fv.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||n!==t){var i=new RegExp("\\.".concat("fa","\\-"),"g"),s=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");r=r.replace(i,".".concat(e,"-")).replace(s,"--".concat(e,"-")).replace(o,".".concat(n))}return r}()),aw=!0)}function rw(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Qv(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(lv){var e=av.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function iw(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return qv(ow.definitions,n,r)||qv(mv.styles,n,r)}tv({},Yv,{cx:"256",cy:"364",r:"28"}),tv({},Jv,{attributeName:"r",values:"28;14;28;28;14;28;"}),tv({},tw,{values:"1;0;1;1;0;1;"}),tv({},Yv,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),tv({},tw,{values:"1;0;0;0;0;1;"}),tv({},Yv,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),tv({},tw,{values:"0;0;1;1;0;0;"});var sw,ow=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(e){t.definitions[e]=tv({},t.definitions[e]||{},i[e]),Wv(e,i[e]),Xv()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],i=r.prefix,s=r.iconName,o=r.icon;t[i]||(t[i]={}),t[i][s]=o})),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),t}()),aw=!1,lw=(sw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Rv:n,i=e.symbol,s=void 0!==i&&i,o=e.mask,a=void 0===o?null:o,l=e.maskId,c=void 0===l?null:l,u=e.title,h=void 0===u?null:u,d=e.titleId,p=void 0===d?null:d,f=e.classes,g=void 0===f?[]:f,m=e.attributes,_=void 0===m?{}:m,b=e.styles,y=void 0===b?{}:b;if(t){var v=t.prefix,w=t.iconName,C=t.icon;return rw(tv({type:"icon"},t),(function(){return nw(),fv.autoA11y&&(h?_["aria-labelledby"]="".concat(fv.replacementClass,"-title-").concat(p||Gv()):(_["aria-hidden"]="true",_.focusable="false")),Uv({icons:{main:ew(C),mask:a?ew(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:w,transform:tv({},Rv,r),symbol:s,title:h,maskId:c,titleId:p,extra:{attributes:_,styles:y,classes:g}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:iw(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:iw(r||{})),sw(n,tv({},e,{mask:r}))});let cw=(()=>{let t=class{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),uw=(()=>{let t=class{constructor(){this.definitions={}}addIcons(...t){for(const e of t)e.prefix in this.definitions||(this.definitions[e.prefix]={}),this.definitions[e.prefix][e.iconName]=e}addIconPacks(...t){for(const e of t){const t=Object.keys(e).map(t=>e[t]);this.addIcons(...t)}}getIconDefinition(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const hw=t=>{const e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip,["fa-"+t.size]:null!==t.size,["fa-rotate-"+t.rotate]:null!==t.rotate,["fa-pull-"+t.pull]:null!==t.pull,["fa-stack-"+t.stackItemSize]:null!=t.stackItemSize};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)};let dw=(()=>{let t=class{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Ha]}),t})(),pw=(()=>{let t=class{constructor(t,e,n,r){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=r,this.classes=[]}ngOnChanges(t){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){const t=this.findIconDefinition(e);if(null!=t){const e=this.buildParams();this.renderIcon(t,e)}}}render(){this.ngOnChanges({})}findIconDefinition(t){const e=((t,e)=>{return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n})(t,this.config.defaultPrefix);if("icon"in e)return e;const n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;const r=iw(e);if(null!=r){const t="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+t);else if(!this.config.globalLibrary)throw new Error(t);return r}return(t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)})(e),null}buildParams(){const t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t}),e):e}(this.transform):this.transform;return{title:this.title,transform:e,classes:[...hw(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,e){const n=lw(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}};return t.\u0275fac=function(e){return new(e||t)(Eo(Ch),Eo(cw),Eo(uw),Eo(dw,8))},t.\u0275cmp=fe({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,e){2&t&&(xa("innerHTML",e.renderedIconHTML,Qr),Mo("title",e.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[Ha],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),fw=(()=>{let t=class{};return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();const gw=["video"];function mw(t,e){1&t&&(Do(0,"div",9),Do(1,"a",10),Pa(2," Read White Paper "),Ro(),Ro())}function _w(t,e){1&t&&(Do(0,"div",9),Do(1,"a",10),Pa(2," Read White Paper "),Ro(),Ro())}function bw(t,e){1&t&&(Do(0,"div",9),Do(1,"a",11),Pa(2," Read Data Sheet "),Ro(),Ro())}function yw(t,e){1&t&&(Do(0,"div",12),Do(1,"a",13),Pa(2," Visit Trailhead "),Ro(),Do(3,"a",14),Pa(4," Download "),Ro(),Ro())}function vw(t,e){if(1&t&&(Ho(0),Oo(1,mw,3,0,"div",7),Oo(2,_w,3,0,"div",7),Oo(3,bw,3,0,"div",7),Oo(4,yw,5,0,"div",8),Lo()),2&t){const t=Ko();Ci(1),Io("ngIf","Zulily_Box"===t.videoKey),Ci(1),Io("ngIf","Zulily_Viewfinder"===t.videoKey),Ci(1),Io("ngIf","Yeti_Sign_R"===t.videoKey),Ci(1),Io("ngIf","PWC_Sign_Bottom"===t.videoKey)}}function ww(t,e){1&t&&(Do(0,"div",17),Do(1,"div",18),Do(2,"div",19),Do(3,"div",20),Do(4,"p"),Pa(5," Learn additional best practices for optimizing Tableau and BigQuery "),Ro(),Do(6,"a",21),Pa(7," READ WHITE PAPER "),Ro(),Ro(),Ro(),Ro(),Ro())}function Cw(t,e){1&t&&(Do(0,"div",22),Do(1,"div",18),Do(2,"div",19),Do(3,"div",23),Do(4,"p"),Pa(5," Learn new skills from anywhere with Trailhead "),Ro(),Do(6,"a",24),Pa(7," VISIT TRAILHEAD "),Ro(),Ro(),Do(8,"div",23),Do(9,"p"),Pa(10," Test your technology knowledge with PwC's Digital Fitness app "),Ro(),Do(11,"a",24),Pa(12," DOWNLOAD "),Ro(),Ro(),Ro(),Ro(),Ro())}function Sw(t,e){if(1&t&&(Ho(0),Oo(1,ww,8,0,"div",15),Oo(2,Cw,13,0,"div",16),Lo()),2&t){const t=Ko();Ci(1),Io("ngIf","Zulily_Box"===t.videoKey),Ci(1),Io("ngIf","PWC_Sign_Bottom"===t.videoKey)}}let Tw=(()=>{class t{constructor(t,e,n){this.playCanvasService=t,this.sanitizer=e,this.renderer=n,this.environment=uu,this.closed=new Wl,this.visible=!1,this.hasCtasBar=!1,this.achievementAcquired=!1,this.icons={close:l_.faTimes},this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.ngOnInit=()=>this.calculateChanges(),this.ngOnChanges=()=>this.calculateChanges()}ngAfterViewInit(){uu.disableScrubbing&&(this.video.nativeElement.addEventListener("timeupdate",()=>{this.video.nativeElement.seeking||(this.supposedCurrentTime=this.video.nativeElement.currentTime)}),this.video.nativeElement.addEventListener("seeking",()=>{this.video.nativeElement.currentTime-this.supposedCurrentTime>.01&&(this.video.nativeElement.currentTime=this.supposedCurrentTime)}),this.video.nativeElement.addEventListener("ended",()=>this.supposedCurrentTime=0))}calculateChanges(){this.src=this.sanitizer.bypassSecurityTrustResourceUrl(this.videoId),this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.hasCtasBar=uu.showVideoCtaBars&&["Zulily_Box","PWC_Sign_Bottom"].includes(this.videoKey)}open(t){this.progressListener=this.renderer.listen(this.video.nativeElement,"timeupdate",()=>{const t=Math.floor(100/this.video.nativeElement.duration*this.video.nativeElement.currentTime);this.shouldShowCtaBarNow=t>=99,t>=95&&(this.achievementAcquired=!0)}),this.achievementAcquired=!1,this.videoKey=t,this.videoId=uu.videos[t],this.visible=!0,this.calculateChanges()}close(){this.visible=!1,this.video.nativeElement.pause(),this.progressListener(),this.src=null,this.closed.emit(),this.achievementAcquired&&(this.playCanvasService.setProgress(this.videoKey,!0),this.playCanvasService.sendStatus())}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib),Eo(Ch),Eo(el))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-video"]],viewQuery:function(t,e){var n;1&t&&ic(gw,!0),2&t&&nc(n=ac())&&(e.video=n.first)},hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},outputs:{closed:"closed"},decls:8,vars:6,consts:[[1,"backdrop",3,"click"],[1,"popup"],["width","820","height","461","autoplay","","controls","",3,"src"],["video",""],[1,"close",3,"click"],[3,"icon"],[4,"ngIf"],["class","cta-overlay cta-overlay--zulily",4,"ngIf"],["class","cta-overlay cta-overlay--pwc",4,"ngIf"],[1,"cta-overlay","cta-overlay--zulily"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"right"],["target","_blank","href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf",1,"right"],[1,"cta-overlay","cta-overlay--pwc"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"left"],["target","_blank","href","https://www.pwc.com/us/en/products/digital-fitness.html",1,"right"],["class","cta-bar cta-bar--purple",4,"ngIf"],["class","cta-bar cta-bar--teal",4,"ngIf"],[1,"cta-bar","cta-bar--purple"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"btn","btn-primary"],[1,"cta-bar","cta-bar--teal"],[1,"col-md-6"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"btn","btn-primary"]],template:function(t,e){1&t&&(Do(0,"div",0),jo("click",(function(){return e.close()})),Ro(),Do(1,"div",1),Go(2,"video",2,3),Do(4,"button",4),jo("click",(function(){return e.close()})),Go(5,"fa-icon",5),Ro(),Oo(6,vw,5,4,"ng-container",6),Oo(7,Sw,3,2,"ng-container",6),Ro()),2&t&&(Ci(1),ua("has-ctas",e.hasCtasBar),Ci(1),Io("src",e.src,Yr),Ci(3),Io("icon",e.icons.close),Ci(1),Io("ngIf",e.environment.showVideoCtaOverlays&&e.shouldShowCtaBarNow),Ci(1),Io("ngIf",e.hasCtasBar))},directives:[pw,Lu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;display:flex;padding:80px}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 50%;background-size:cover;width:calc(100% - 40px);max-width:1280px;height:0;padding-bottom:calc(56.25% - 40px);overflow:visible}@media (min-width:1280px){[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{padding-bottom:0;height:740px}}[_nghost-%COMP%] .popup.has-ctas[_ngcontent-%COMP%]{transform:translate(-50%,calc(-50% - 90px));border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%] video[_ngcontent-%COMP%]{width:calc(100% - 40px);height:calc(100% - 40px);position:absolute;top:20px;left:20px}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{top:-10px;right:-7px;font-size:31px}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%]{position:absolute;height:18%;bottom:8%;left:20px;width:calc(100% - 40px);pointer-events:none}[_nghost-%COMP%] .cta-overlay--pwc[_ngcontent-%COMP%]{bottom:19%;height:20%}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:100%;pointer-events:all;background:transparent;color:transparent}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.left[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.right[_ngcontent-%COMP%]{width:50%}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.right[_ngcontent-%COMP%]{left:auto;right:0}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%]{height:90px;position:absolute;bottom:-90px;left:0;width:100%;background:#3a837d;border-bottom-left-radius:25px;border-bottom-right-radius:25px;color:#fff}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .container-fluid[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:1px 0;padding-left:30px;padding-right:30px}@media (min-width:1024px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{height:58px}}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px}@media (max-width:1024px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{min-width:180px;margin-left:12px;color:#3a837d}@media (max-width:1440px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%]{background:#472546}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%]{justify-content:center}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#472546}"]}),t})();const Pw=["instance"];function Mw(t,e){if(1&t&&(Do(0,"div"),Pa(1),Ro()),2&t){const t=e.$implicit;Ci(1),Oa(" ",t," ")}}function Ow(t,e){if(1&t&&(Do(0,"div",38),Oo(1,Mw,2,1,"div",39),Ro()),2&t){const t=Ko();Ci(1),Io("ngForOf",t.errors)}}function xw(t,e){1&t&&(Do(0,"div",40),Pa(1," Zipcode must be at least 5 characters long. "),Ro())}const Ew=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"];let Aw=(()=>{class t{constructor(t,e,n){this.playCanvasService=t,this.formBuilder=e,this.http=n,this.closed=new Wl,this.submitted=new Wl,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=uu,this.jsonHeader={headers:new h_({"Content-Type":"application/json"})},this.icons={close:l_.faTimes},this.focus$=new P,this.click$=new P,this.formGroup=this.formBuilder.group({first_name:new fm(null),last_name:new fm(null),home_address:new fm(null),home_address_2:new fm(null),city:new fm(null),state:new fm(null),zipcode:new fm(null,{validators:[Rg.required,Rg.minLength(5)],updateOn:"blur"}),phone_number:new fm(null),email:new fm(null),privacy:new fm(!1,[Rg.requiredTrue])}),this.search=t=>{const e=t.pipe($_(50),Q_()),n=this.click$.pipe(Hh(()=>!this.instance.isPopupOpen()));return K(e,this.focus$,n).pipe(H(t=>""===t?Ew:Ew.filter(e=>e.toLowerCase().indexOf(t.toLowerCase())>-1).slice(0,10)))}}get zipcode(){return this.formGroup.get("zipcode")}ngOnInit(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}open(){this.visible=!0}close(){this.visible=!1,this.closed.emit()}submit(t){t.product=this.environment.stockName,t.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,t,this.jsonHeader).pipe(Yh(t=>{var e,n;return this.errors="string"==typeof t.error?[t.error]:null===(n=null===(e=t.error)||void 0===e?void 0:e.errors)||void 0===n?void 0:n.map(t=>this.humanizeError(t)),this.status="ready",J_(t.error)})).subscribe(t=>{this.status="ready",this.playCanvasService.formSubmitted=!0,this.playCanvasService.sendStatus(),this.submitted.emit(),this.visible=!1}))}humanizeError(t){let e;if("Invalid value"===t.msg){let n=t.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),e=`The ${n} field is required.`}return e||(e="An unknown error has occurred."),e}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib),Eo(km),Eo(P_))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-form"]],viewQuery:function(t,e){var n;1&t&&rc(Pw,!0),2&t&&nc(n=ac())&&(e.instance=n.first)},hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",submitted:"submitted"},decls:72,vars:11,consts:[[1,"backdrop",3,"click"],[1,"popup"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"row"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","text","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],["for","phone_number",1,"sr-only"],["type","search","id","phone_number","formControlName","phone_number","placeholder","Phone",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"buttons"],["type","button",1,"btn","btn-primary",3,"click"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"fine-print"],[1,"close",3,"click"],[3,"icon"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(t,e){1&t&&(Do(0,"div",0),jo("click",(function(){return e.close()})),Ro(),Do(1,"div",1),Do(2,"h1"),Pa(3," Please tell us where to ship your YETI"),Do(4,"sup"),Pa(5,"\xae"),Ro(),Pa(6,". "),Ro(),Do(7,"form",2),jo("submit",(function(){return e.submit(e.formGroup.value)})),Oo(8,Ow,2,1,"div",3),Oo(9,xw,2,0,"div",4),Do(10,"div",5),Do(11,"div",6),Do(12,"label",7),Pa(13,"First Name"),Ro(),Go(14,"input",8),Ro(),Do(15,"div",6),Do(16,"label",9),Pa(17,"Last Name"),Ro(),Go(18,"input",10),Ro(),Ro(),Do(19,"div",5),Do(20,"div",11),Do(21,"label",12),Pa(22,"Address Line 1"),Ro(),Go(23,"input",13),Ro(),Ro(),Do(24,"div",5),Do(25,"div",11),Do(26,"label",14),Pa(27,"Address Line 2 (optional)"),Ro(),Go(28,"input",15),Ro(),Ro(),Do(29,"div",5),Do(30,"div",16),Do(31,"label",17),Pa(32,"City"),Ro(),Go(33,"input",18),Ro(),Do(34,"div",16),Do(35,"label",19),Pa(36,"State"),Ro(),Do(37,"input",20,21),jo("focus",(function(t){return e.focus$.next(t.target.value)}))("click",(function(t){return e.click$.next(t.target.value)})),Ro(),Ro(),Do(39,"div",16),Do(40,"label",22),Pa(41,"Zip"),Ro(),Go(42,"input",23),Ro(),Ro(),Do(43,"div",5),Do(44,"div",6),Do(45,"label",24),Pa(46,"Phone"),Ro(),Go(47,"input",25),Ro(),Do(48,"div",6),Do(49,"label",26),Pa(50,"Email"),Ro(),Go(51,"input",27),Ro(),Ro(),Do(52,"div",5),Do(53,"div",28),Do(54,"div",29),Do(55,"label"),Go(56,"input",30),Pa(57," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Do(58,"a",31),Pa(59,"Privacy Statement"),Ro(),Pa(60,". "),Ro(),Ro(),Ro(),Ro(),Do(61,"div",5),Do(62,"div",28),Do(63,"div",32),Do(64,"button",33),jo("click",(function(){return e.close()})),Pa(65," Opt Out "),Ro(),Do(66,"button",34),Pa(67," Submit "),Ro(),Ro(),Ro(),Ro(),Do(68,"p",35),Pa(69," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Ro(),Ro(),Do(70,"button",36),jo("click",(function(){return e.close()})),Go(71,"fa-icon",37),Ro(),Ro()),2&t&&(Ci(7),ua("loading","loading"===e.status),Io("formGroup",e.formGroup),Ci(1),Io("ngIf",(null==e.errors?null:e.errors.length)>0),Ci(1),Io("ngIf",e.zipcode.invalid&&(e.zipcode.dirty||e.zipcode.touched)&&e.zipcode.errors.minlength),Ci(28),Io("ngbTypeahead",e.search)("editable",!1),Ci(29),ua("disabled",!e.formGroup.valid),Io("disabled",!e.formGroup.valid),Ci(5),Io("icon",e.icons.close))},directives:[ym,Ag,Cm,Lu,Cg,Eg,Em,Sy,yg,pw,Gu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover;max-width:860px}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%] h1[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%] form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%] form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%] .fine-print[_ngcontent-%COMP%]{font-size:12px;margin-bottom:0}[_nghost-%COMP%] .form-check[_ngcontent-%COMP%]{text-align:center;font-size:14px;margin:0 auto;max-width:530px;line-height:1.1}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;margin:0 1rem;text-transform:uppercase} ngb-typeahead-window{max-height:220px;overflow:auto}"]}),t})(),kw=(()=>{class t{constructor(){this.closed=new Wl,this.visible=!1,this.icons={close:l_.faTimes}}ngOnInit(){}open(){this.visible=!0}close(){this.visible=!1,this.closed.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-popup-form-confirmation"]],hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:10,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],["href","mailto:salesforceandgoogle@salesforce.com"],[1,"close",3,"click"],[3,"icon"]],template:function(t,e){1&t&&(Do(0,"div",0),jo("click",(function(){return e.close()})),Ro(),Do(1,"div",1),Do(2,"h1"),Pa(3,"We got your selection."),Ro(),Do(4,"p"),Pa(5," Please allow 3-5 business days for your selection to be processed. If you have any questions please contact us "),Do(6,"a",2),Pa(7,"salesforceandgoogle@salesforce.com"),Ro(),Ro(),Do(8,"button",3),jo("click",(function(){return e.close()})),Go(9,"fa-icon",4),Ro(),Ro()),2&t&&(Ci(9),Io("icon",e.icons.close))},directives:[pw],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff;text-align:center}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin:3rem 0}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:6rem}"]}),t})(),Iw=(()=>{class t{constructor(t,e,n){this.formBuilder=t,this.playCanvasService=e,this.stockService=n,this.openCompliance=new Wl,this.iframeUrl=new Wl,this.environment=uu,this.formGroup=this.formBuilder.group({src:new fm(null,[Rg.required])}),this.clearLocalStorage=()=>localStorage.clear(),this.sendStatus=()=>this.playCanvasService.sendStatus(),this.setProgress=()=>this.playCanvasService.setProgress("achievement_1",!0),this.setBottleThresholdTooHigh=()=>{this.environment.bottlesThreshold=999999999,this.stockService.getBottlesRemaining().then(t=>{this.playCanvasService.bottlesAvailable=t,this.playCanvasService.sendStatus()})},this.resetBottleThreshold=()=>{this.environment.bottlesThreshold=50,this.stockService.getBottlesRemaining().then(t=>{this.playCanvasService.bottlesAvailable=t,this.playCanvasService.sendStatus()})}}ngOnInit(){}emitUrl(){this.formGroup.valid&&this.iframeUrl.emit(this.formGroup.value.src)}}return t.\u0275fac=function(e){return new(e||t)(Eo(km),Eo(ib),Eo(nb))},t.\u0275cmp=fe({type:t,selectors:[["app-footer"]],outputs:{openCompliance:"openCompliance",iframeUrl:"iframeUrl"},decls:24,vars:0,consts:[[1,"left"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"d-lg-block","d-md-none"],[1,"right","text-right"],[1,"links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"]],template:function(t,e){1&t&&(Do(0,"div",0),Do(1,"p"),Pa(2," Copyright 2020 Salesforce.com, inc. "),Do(3,"a",1),Pa(4,"All rights reserved"),Ro(),Pa(5,". Various trademarks held by their respective owners."),Go(6,"br",2),Pa(7," Salesforce Tower, 415 Mission St, San Francisco, CA 94105 "),Ro(),Ro(),Do(8,"div",3),Do(9,"div",4),Do(10,"a",5),Pa(11,"Legal"),Ro(),Do(12,"a",6),Pa(13,"Terms of Service"),Ro(),Do(14,"a",7),Pa(15,"Privacy Information"),Ro(),Do(16,"a",8),Pa(17,"Responsible Disclosure"),Ro(),Do(18,"a",9),Pa(19,"Trust"),Ro(),Do(20,"a",10),Pa(21,"Contact"),Ro(),Do(22,"a",11),Pa(23,"Cookie Preference"),Ro(),Ro(),Ro())},styles:["[_nghost-%COMP%]{width:100%;height:52px;display:flex;justify-content:space-between;align-items:center;color:#fff;padding:0 1.8rem;font-size:12px;background:#032e61}a[_ngcontent-%COMP%]{color:#3478b0}p[_ngcontent-%COMP%]{margin-bottom:0}.links[_ngcontent-%COMP%]{display:flex}.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:22px}@media (max-width:1440px){.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:12px}}.btn[_ngcontent-%COMP%]{margin-left:1px}"]}),t})();const Nw=["iframe"],Dw=["form"],Rw=["formConfirmation"],Gw=["message"],Hw=["video"];let Lw,Vw=(()=>{class t{constructor(t,e){this.playCanvasService=t,this.sanitizer=e,this.environment=uu,this.subscriptions=[],this.src=this.sanitizer.bypassSecurityTrustResourceUrl("assets/playcanvas/release/index.html"),this.openCompliance=()=>this.needToAnswerCompliance=!0,this.openConfirmation=()=>this.popupFormConfirmation.open()}ngOnInit(){this.evaluatePopups()}ngAfterViewInit(){this.playCanvasService.init(this.iframe),this.handleMessages(),this.subscriptions.push(this.popupMessage.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupVideo.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupForm.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupFormConfirmation.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed"))),this.environment.production||(this.environment.debug.showFormOnLoad&&setTimeout(()=>this.popupForm.open(),500),this.environment.debug.showVideoOnLoad&&setTimeout(()=>this.popupVideo.open("Zulily_Viewfinder"),500))}ngOnDestroy(){this.subscriptions.map(t=>t.unsubscribe()),this.subscriptions=[]}handleMessages(){this.subscriptions.push(this.playCanvasService.lastMessage.subscribe(t=>{t&&("showPopup"===t.message?(this.playCanvasService.sendToPlayCanvas("popupOpen"),Object.keys(uu.videos).includes(t.param1)?this.popupVideo.open(t.param1):"bottleForm"===t.param1?this.popupForm.open():this.environment.production||this.popupMessage.open(t)):"getStatus"===t.message?this.playCanvasService.getStatus():"setProgress"===t.message?this.playCanvasService.setProgress(t.param1,t.param2):"trackEvent"===t.message?this.playCanvasService.trackEvent(t.param1,t.param2):"shareItem"===t.message&&this.playCanvasService.shareItem(t.param1))}))}listenForMessage(t){var e,n,r;this.playCanvasService.lastMessage.next({message:t.data.message,param1:null===(e=t.data.params)||void 0===e?void 0:e[0],param2:null===(n=t.data.params)||void 0===n?void 0:n[1],param3:null===(r=t.data.params)||void 0===r?void 0:r[2]}),this.playCanvasService.sendToPlayCanvas(t.data.message,t.data.params)}pageClosed(){this.playCanvasService.sendStatus()}evaluatePopups(){switch(this.playCanvasService.evaluatePopups()){case"compliance":return this.needToAnswerCompliance=!0}}changeIframeUrl(t){-1===t.indexOf("://")&&(t=`https://playcanv.as/index/${t}/`),this.src=this.sanitizer.bypassSecurityTrustResourceUrl(t)}}return t.\u0275fac=function(e){return new(e||t)(Eo(ib),Eo(Ch))},t.\u0275cmp=fe({type:t,selectors:[["app-play-canvas"]],viewQuery:function(t,e){var n;1&t&&(ic(Nw,!0),ic(Dw,!0),ic(Rw,!0),ic(Gw,!0),ic(Hw,!0)),2&t&&(nc(n=ac())&&(e.iframe=n.first),nc(n=ac())&&(e.popupForm=n.first),nc(n=ac())&&(e.popupFormConfirmation=n.first),nc(n=ac())&&(e.popupMessage=n.first),nc(n=ac())&&(e.popupVideo=n.first))},hostBindings:function(t,e){1&t&&jo("message",(function(t){return e.listenForMessage(t)}),!1,Un)("beforeunload",(function(t){return e.pageClosed(t)}),!1,Un)},decls:13,vars:2,consts:[[3,"visible","closed"],["message",""],["video",""],[3,"submitted"],["form",""],["formConfirmation",""],["frameborder","0",3,"src"],["iframe",""],[3,"openCompliance","iframeUrl"]],template:function(t,e){1&t&&(Go(0,"app-header"),Do(1,"app-compliance",0),jo("closed",(function(){return e.evaluatePopups()})),Ro(),Go(2,"app-popup-message",null,1),Go(4,"app-popup-video",null,2),Do(6,"app-popup-form",3,4),jo("submitted",(function(){return e.openConfirmation()})),Ro(),Go(8,"app-popup-form-confirmation",null,5),Go(10,"iframe",6,7),Do(12,"app-footer",8),jo("openCompliance",(function(){return e.openCompliance()}))("iframeUrl",(function(t){return e.changeIframeUrl(t)})),Ro()),2&t&&(Ci(1),Io("visible",e.needToAnswerCompliance),Ci(9),Io("src",e.src,Jr))},directives:[Xy,qy,Zy,Tw,Aw,kw,Iw],styles:["html{height:100%} body{margin:0;max-height:100%;overflow:hidden;position:relative;width:100%}iframe[_ngcontent-%COMP%]{width:100%;height:100%;height:calc(100% - 98px)}"]}),t})();try{Lw="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(hP){Lw=!1}let Bw,Fw,jw,Uw=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Xu(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Lw)&&"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.\u0275fac=function(e){return new(e||t)(qt(bc,8))},t.\u0275prov=ut({factory:function(){return new t(qt(bc,8))},token:t,providedIn:"root"}),t})(),zw=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();function Ww(t){return function(){if(null==Bw&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Bw=!0}))}finally{Bw=Bw||!1}return Bw}()?t:!!t.capture}function $w(){if("object"!=typeof document||!document)return 0;if(null==Fw){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),Fw=0,0===t.scrollLeft&&(t.scrollLeft=1,Fw=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return Fw}function Kw(t){return null!=t&&""+t!="false"}function Xw(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function qw(t){return t instanceof Za?t.nativeElement:t}class Qw{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Zw(t,this.durationSelector))}}class Zw extends G{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 r=R(this,n);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}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,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Yw(t,e=W_){return n=()=>function(t=0,e,n){let r=-1;return sb(e)?r=Number(e)<1?1:Number(e):O(e)&&(n=e),O(n)||(n=W_),new v(e=>{const i=sb(t)?t:+t-n.now();return n.schedule(ob,i,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new Qw(n))};var n}const Jw=new Vt("cdk-dir-doc",{providedIn:"root",factory:function(){return Qt(pu)}});let tC=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Wl,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.\u0275fac=function(e){return new(e||t)(qt(Jw,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Jw,8))},token:t,providedIn:"root"}),t})(),eC=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),nC=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new P,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}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 v(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Yw(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Oh()}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(Hh(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ab(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(qt(Dc),qt(Uw),qt(pu,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Dc),qt(Uw),qt(pu,8))},token:t,providedIn:"root"}),t})(),rC=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=r,this._destroyed=new P,this._elementScrolled=new v(t=>this.ngZone.runOutsideAngular(()=>ab(this.elementRef.nativeElement,"scroll").pipe(ub(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=$w()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==$w()?t.left=t.right:1==$w()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==$w()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==$w()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(Eo(Za),Eo(nC),Eo(Dc),Eo(tC,8))},t.\u0275dir=ve({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),iC=(()=>{class t{constructor(t,e,n){this._platform=t,this._document=n,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?K(ab(e,"resize"),ab(e,"orientationchange")):Oh(),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();return{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=this._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Yw(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(qt(Uw),qt(Dc),qt(pu,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Uw),qt(Dc),qt(pu,8))},token:t,providedIn:"root"}),t})(),sC=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),oC=(()=>{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(hP){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===lC(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 r=t.nodeName.toLowerCase(),i=lC(t);if(t.hasAttribute("contenteditable"))return-1!==i;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!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")||aC(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(Uw))},t.\u0275prov=ut({factory:function(){return new t(qt(Uw))},token:t,providedIn:"root"}),t})();function aC(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 lC(t){if(!aC(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class cC{constructor(t,e,n,r,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||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),Sr()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!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")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(ed(1)).subscribe(t)}}let uC=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new cC(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(qt(oC),qt(Dc),qt(pu))},t.\u0275prov=ut({factory:function(){return new t(qt(oC),qt(Dc),qt(pu))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈const hC=new Vt("cdk-focus-monitor-default-options"),dC=Ww({passive:!0,capture:!0});let pC=(()=>{class t{constructor(t,e,n,r){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=function(t){return 0===t.buttons}(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=fC(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=fC(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){if(!this._platform.isBrowser)return Oh(null);const n=qw(t),r=function(t){if(function(){if(null==jw){const t="undefined"!=typeof document?document.head:null;jw=!(!t||!t.createShadowRoot&&!t.attachShadow)}return jw}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return e&&(i.checkChildren=!0),i.subject.asObservable();const s={checkChildren:e,subject:new P,rootNode:r};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject.asObservable()}stopMonitoring(t){const e=qw(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const r=qw(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=fC(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==fC(t))return;const r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,dC),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,dC)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,dC),t.addEventListener("mousedown",this._documentMousedownListener,dC),t.addEventListener("touchstart",this._documentTouchstartListener,dC),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,dC),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,dC),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,dC),t.removeEventListener("mousedown",this._documentMousedownListener,dC),t.removeEventListener("touchstart",this._documentTouchstartListener,dC),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(qt(Dc),qt(Uw),qt(pu,8),qt(hC,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Dc),qt(Uw),qt(pu,8),qt(hC,8))},token:t,providedIn:"root"}),t})();function fC(t){return t.composedPath?t.composedPath()[0]:t.target}let gC=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(qt(Uw),qt(pu))},t.\u0275prov=ut({factory:function(){return new t(qt(Uw),qt(pu))},token:t,providedIn:"root"}),t})();const mC=new il("9.2.4");function _C(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function bC(t){switch(t.length){case 0:return new Um;case 1:return t[0];default:return new zm(t)}}function yC(t,e,n,r,i={},s={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=i[n];break;case"*":a=s[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function vC(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&wC(n,"start",t)));break;case"done":t.onDone(()=>r(n&&wC(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&wC(n,"destroy",t)))}}function wC(t,e,n){const r=n.totalTime,i=CC(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(i._data=s),i}function CC(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function SC(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function TC(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let PC=(t,e)=>!1,MC=(t,e)=>!1,OC=(t,e,n)=>[];const xC=_C();(xC||"undefined"!=typeof Element)&&(PC=(t,e)=>t.contains(e),MC=(()=>{if(xC||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]):MC}})(),OC=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let EC=null,AC=!1;function kC(t){EC||(EC=("undefined"!=typeof document?document.body:null)||{},AC=!!EC.style&&"WebkitAppearance"in EC.style);let e=!0;return EC.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in EC.style,!e&&AC)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in EC.style),e}const IC=MC,NC=PC,DC=OC;function RC(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let GC=(()=>{class t{validateStyleProperty(t){return kC(t)}matchesElement(t,e){return IC(t,e)}containsElement(t,e){return NC(t,e)}query(t,e,n){return DC(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,i,s=[],o){return new Um(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),HC=(()=>{class t{}return t.NOOP=new GC,t})();function LC(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:VC(parseFloat(e[1]),e[2])}function VC(t,e){switch(e){case"s":return 1e3*t;default:return t}}function BC(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,i=0,s="";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:""};r=VC(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=VC(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else r=t;if(!n){let n=!1,s=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:i,easing:s}}(t,e,n)}function FC(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function jC(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else FC(t,n);return n}function UC(t,e,n){return n?e+":"+n+";":""}function zC(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=UC(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=UC(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function WC(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=JC(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),_C()&&zC(t))}function $C(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=JC(e);t.style[n]=""}),_C()&&zC(t))}function KC(t){return Array.isArray(t)?1==t.length?t[0]:Lm(t):t}const XC=new RegExp("{{\\s*(.+?)\\s*}}","g");function qC(t){let e=[];if("string"==typeof t){let n;for(;n=XC.exec(t);)e.push(n[1]);XC.lastIndex=0}return e}function QC(t,e,n){const r=t.toString(),i=r.replace(XC,(t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function ZC(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const YC=/-+([a-z0-9])/g;function JC(t){return t.replace(YC,(...t)=>t[1].toUpperCase())}function tS(t,e){return 0===t||0===e}function eS(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=rS(t,e)}))}}return e}function nS(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 rS(t,e){return window.getComputedStyle(t)[e]}function iS(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=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 r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],s=r[2],o=r[3];e.push(aS(i,o)),"<"!=s[0]||"*"==i&&"*"==o||e.push(aS(o,i))}(t,n,e)):n.push(t),n}const sS=new Set(["true","1"]),oS=new Set(["false","0"]);function aS(t,e){const n=sS.has(t)||oS.has(t),r=sS.has(e)||oS.has(e);return(i,s)=>{let o="*"==t||t==i,a="*"==e||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?sS.has(t):oS.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?sS.has(e):oS.has(e)),o&&a}}const lS=new RegExp("s*:selfs*,?","g");function cS(t,e,n){return new uS(t).build(e,n)}class uS{constructor(t){this._driver=t}build(t,e){const n=new hS(e);return this._resetContextStyleTimingState(n),nS(this,KC(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],s=[];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,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(t=>{if(dS(t)){const e=t;Object.keys(e).forEach(t=>{qC(e[t]).forEach(t=>{s.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=ZC(i.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:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=nS(this,KC(t.animation),e);return{type:1,matchers:iS(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:pS(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>nS(this,t,e)),options:pS(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map(t=>{e.currentTime=n;const i=nS(this,t,e);return r=Math.max(r,e.currentTime),i});return e.currentTime=r,{type:3,steps:i,options:pS(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 fS(BC(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=fS(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||BC(r,e),fS(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let i=t.styles?t.styles:Vm({});if(5==i.type)r=this.visitKeyframes(i,e);else{let i=t.styles,s=!1;if(!i){s=!0;const t={};n.easing&&(t.easing=n.easing),i=Vm(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,e);o.isEmptyStep=s,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return 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 r=!1,i=null;return n.forEach(t=>{if(dS(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=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 s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=qC(t);i.length&&i.forEach(t=>{r.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 r=0;const i=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(dS(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(dS(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,i.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:nS(this,KC(t.animation),e),options:pS(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:pS(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:pS(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(lS,"")),[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+" "+i:i,SC(e.collectedStyles,e.currentQuerySelector,{});const o=nS(this,KC(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:pS(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"}:BC(t.timings,e.errors,!0);return{type:12,animation:nS(this,KC(t.animation),e),timings:n,options:null}}}class hS{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 dS(t){return!Array.isArray(t)&&"object"==typeof t}function pS(t){var e;return t?(t=FC(t)).params&&(t.params=(e=t.params)?FC(e):null):t={},t}function fS(t,e,n){return{duration:t,delay:e,easing:n}}function gS(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class mS{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 _S=new RegExp(":enter","g"),bS=new RegExp(":leave","g");function yS(t,e,n,r,i,s={},o={},a,l,c=[]){return(new vS).buildKeyframes(t,e,n,r,i,s,o,a,l,c)}class vS{buildKeyframes(t,e,n,r,i,s,o,a,l,c=[]){l=l||new mS;const u=new CS(t,e,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),nS(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[gS(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&e.transformIntoNewTimeline(s)}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 r=e.currentTimeline.currentTime;const i=null!=n.duration?LC(n.duration):null,s=null!=n.delay?LC(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),nS(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wS);const t=LC(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>nS(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?LC(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),nS(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return BC(e.params?QC(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),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*i),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?LC(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=wS);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),nS(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,i=t.timings,s=Math.abs(i.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;nS(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const wS={};class CS{constructor(t,e,n,r,i,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wS,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new SS(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=LC(n.duration)),null!=n.delay&&(r.delay=LC(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=QC(i[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 r=e||this.element,i=new CS(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=wS,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new TS(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,s){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(_S,"."+this._enterClassName)).replace(bS,"."+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)),o.push(...e)}return i||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class SS{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new SS(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,r){e&&(this._previousKeyframe.easing=e);const i=r&&r.params||{},s=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]="*"})):jC(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=QC(s[t],i,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],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const o=jC(i,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):"*"==r&&e.add(n)}),n||(o.offset=s/this.duration),r.push(o)});const i=t.size?ZC(t.values()):[],s=e.size?ZC(e.values()):[];if(n){const t=r[0],e=FC(t);t.offset=0,e.offset=1,r=[t,e]}return gS(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class TS extends SS{constructor(t,e,n,r,i,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],s=n+e,o=e/s,a=jC(t[0],!1);a.offset=0,i.push(a);const l=jC(t[0],!1);l.offset=PS(o),i.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=jC(t[r],!1);o.offset=PS((e+o.offset*n)/s),i.push(o)}n=s,e=0,r="",t=i}return gS(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function PS(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class MS{}class OS extends MS{normalizePropertyName(t,e){return JC(t)}normalizeStyleValue(t,e,n,r){let i="";const s=n.toString().trim();if(xS[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+i}}const xS=(()=>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 ES(t,e,n,r,i,s,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const AS={};class kS{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some(t=>t(e,n,r,i))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],s=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):s}build(t,e,n,r,i,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||AS,d=this.buildStyles(n,o&&o.params||AS,u),p=a&&a.params||AS,f=this.buildStyles(r,p,u),g=new Set,m=new Map,_=new Map,b="void"===r,y={params:Object.assign(Object.assign({},h),p)},v=c?[]:yS(t,e,this.ast.animation,i,s,d,f,y,l,u);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return ES(e,this._triggerName,n,r,b,d,f,[],[],m,_,w,u);v.forEach(t=>{const n=t.element,r=SC(m,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const i=SC(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const C=ZC(g.values());return ES(e,this._triggerName,n,r,b,d,f,v,C,m,_,w)}}class IS{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=FC(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let s=i[t];s.length>1&&(s=QC(s,r,e)),n[t]=s})}}),n}}class NS{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new IS(t.style,t.options&&t.options.params||{})}),DS(this.states,"true","1"),DS(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new kS(t,e,this.states))}),this.fallbackTransition=function(t,e){return new kS(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(i=>i.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function DS(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const RS=new mS;class GS{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=cS(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]=r}_buildPlayer(t,e,n){const r=t.element,i=yC(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],i=this._animations[t];let s;const o=new Map;if(i?(s=yS(this._driver,e,i,"ng-enter","ng-leave",{},{},n,RS,r),s.forEach(t=>{const e=SC(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,"*")})});const a=bC(s.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}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,r){const i=CC(e,"","","");return vC(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const HS=[],LS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},VS={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class BS{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=FC(t);delete e.value,this.options=e}else this.options={};var r;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 FS=new BS("void");class jS{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-"+t,qS(e,this._hostClassName)}listen(t,e,n,r){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"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const s=SC(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};s.push(o);const a=SC(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(qS(t,"ng-trigger"),qS(t,"ng-trigger-"+e),a[e]=FS),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[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,r=!0){const i=this._getTrigger(e),s=new zS(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(qS(t,"ng-trigger"),qS(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new BS(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=FS),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=i.matchStyles(a.value,a.params,e),r=i.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{$C(t,n),WC(t,r)})}return}const c=SC(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(qS(t,"ng-animate-queued"),s.onStart(()=>{QS(t,"ng-animate-queued")})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}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){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(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)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const i=this._engine.statesByElement.get(t);if(i){const s=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&bC(s).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 r=e.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,s=this._engine.statesByElement.get(t)[r]||FS,o=new BS("void"),a=new zS(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:i,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==LS||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){qS(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(e=>{if(e.name==n.triggerName){const r=CC(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,vC(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r: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 US{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 jS(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 r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||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 r=this._namespaceLookup[t];r&&r.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 r=0;r<t.length;r++){const i=n[t[r]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(WS(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!WS(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),qS(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),QS(t,"ng-animate-disabled"))}removeNode(t,e,n,r){if(WS(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return WS(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}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 bC(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=LS,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=[];if(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++)qS(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?bC(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 mS,r=[],i=new Map,s=[],o=new Map,a=new Map,l=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=XS(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((t,e)=>{const n="ng-enter"+f++;p.set(e,n),t.forEach(t=>qS(t,n))});const g=[],m=new Set,_=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){const t=this.collectedLeaveElements[A],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):_.add(t))}const b=new Map,y=XS(h,Array.from(m));y.forEach((t,e)=>{const n="ng-leave"+f++;b.set(e,n),t.forEach(t=>qS(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>QS(t,n))}),y.forEach((t,e)=>{const n=b.get(e);t.forEach(t=>QS(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(v.push(e),this.collectedEnterElements.length){const t=i.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,i),h=b.get(i),d=p.get(i),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>$C(i,f.fromStyles)),e.onDestroy(()=>WC(i,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>$C(i,f.fromStyles)),e.onDestroy(()=>WC(i,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>SC(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,S=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{SC(C,e,[]).push(t),t.destroy()})});const T=g.filter(t=>YS(t,a,l)),P=new Map;KS(P,this.driver,_,l,"*").forEach(t=>{YS(t,a,l)&&T.push(t)});const M=new Map;d.forEach((t,e)=>{KS(M,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=P.get(t),n=M.get(t);P.set(t,Object.assign(Object.assign({},e),n))});const O=[],x=[],E={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(c.has(e))return s.onDestroy(()=>WC(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let t=E;if(S.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>S.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,C,i,M,P);if(s.setRealPlayer(n),t===E)O.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=bC(e)),r.push(s)}}else $C(e,o.fromStyles),s.onDestroy(()=>WC(e,o.toStyles)),x.push(s),c.has(e)&&r.push(s)}),x.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=bC(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let A=0;A<g.length;A++){const t=g[A],e=t.__ng_removed;if(QS(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,".ng-animating",!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?ZS(this,t,r):this.processLeaveNode(t)}return g.length=0,O.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),O}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.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,r,i){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||"void"==i;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&s.push(e)})}}return(n||r)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const r=e.element,i=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=SC(n,t,[]);this._getPreviousPlayers(t,a,i,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}$C(r,e.fromStyles)}_buildAnimation(t,e,n,r,i,s){const o=e.triggerName,a=e.element,l=[],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 Um(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return function t(e,n){for(let r=0;r<e.length;r++){const i=e[r];i instanceof zm?t(i.players,n):n.push(i)}}(t,e),e}((n.get(h)||HS).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=i.get(h),m=s.get(h),_=yC(0,this._normalizer,0,e.keyframes,g,m),b=this._buildPlayer(e,_,f);if(e.subTimeline&&r&&u.add(h),p){const e=new zS(t,o,h);e.setRealPlayer(b),l.push(e)}return b});l.forEach(t=>{SC(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>qS(t,"ng-animating"));const d=bC(h);return d.onDestroy(()=>{c.forEach(t=>QS(t,"ng-animating")),WC(a,e.toStyles)}),u.forEach(t=>{SC(r,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 Um(t.duration,t.delay)}}class zS{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Um,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).forEach(e=>{this._queuedCallbacks[e].forEach(n=>vC(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){SC(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 WS(t){return t&&1===t.nodeType}function $S(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function KS(t,e,n,r,i){const s=[];n.forEach(t=>s.push($S(t)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r.__ng_removed=VS,o.push(r))}),t.set(r,s)});let a=0;return n.forEach(t=>$S(t,s[a++])),o}function XS(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=i.get(e);if(s)return s;const o=e.parentNode;return s=n.has(o)?o:r.has(o)?1:t(o),i.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}function qS(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function QS(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function ZS(t,e,n){bC(n).onDone(()=>t.processLeaveNode(e))}function YS(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(t=>i.add(t)):e.set(t,r),n.delete(t),!0}class JS{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new US(t,e,n),this._timelineEngine=new GS(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const s=t+"-"+r;let o=this._triggerCache[s];if(!o){const t=[],e=cS(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new NS(t,e)}(r,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=TC(n);this._timelineEngine.command(t,e,i,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=TC(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function tT(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=nT(e[0]),e.length>1&&(r=nT(e[e.length-1]))):e&&(n=nT(e)),n||r?new eT(t,n,r):null}let eT=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&WC(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(WC(this._element,this._initialStyles),this._endStyles&&(WC(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&($C(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($C(this._element,this._endStyles),this._endStyles=null),WC(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function nT(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];rT(i)&&(e=e||{},e[i]=t[i])}return e}function rT(t){return"display"===t||"position"===t}class iT{constructor(t,e,n,r,i,s,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=uT(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),cT(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),lT(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){sT(this._element,this._name,"paused")}resume(){sT(this._element,this._name,"running")}setPosition(t){const e=oT(this._element,this._name);this._position=t*this._duration,cT(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(),lT(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=uT(t,"").split(","),r=aT(n,e);r>=0&&(n.splice(r,1),cT(t,"",n.join(",")))}(this._element,this._name))}}function sT(t,e,n){cT(t,"PlayState",n,oT(t,e))}function oT(t,e){const n=uT(t,"");return n.indexOf(",")>0?aT(n.split(","),e):aT([n],e)}function aT(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function lT(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function cT(t,e,n,r){const i="animation"+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function uT(t,e){return t.style["animation"+e]}class hT{constructor(t,e,n,r,i,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(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>=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 iT(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]:rS(this.element,n))})}this.currentSnapshot=t}}class dT extends Um{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=RC(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 pT{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return kC(t)}matchesElement(t,e){return IC(t,e)}containsElement(t,e){return NC(t,e)}query(t,e,n){return DC(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>RC(t));let r=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const s=document.createElement("style");return s.innerHTML=r,s}animate(t,e,n,r,i,s=[],o){o&&this._notifyFaultyScrubber();const a=s.filter(t=>t instanceof hT),l={};tS(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[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=eS(t,e,l));if(0==n)return new dT(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=tT(t,e),p=new hT(t,e,u,n,r,i,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class fT{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:rS(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gT{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(mT().toString()),this._cssKeyframesDriver=new pT}validateStyleProperty(t){return kC(t)}matchesElement(t,e){return IC(t,e)}containsElement(t,e){return NC(t,e)}query(t,e,n){return DC(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},c=s.filter(t=>t instanceof fT);tS(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=tT(t,e=eS(t,e=e.map(t=>jC(t,!1)),l));return new fT(t,e,a,u)}}function mT(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let _T=(()=>{class t extends Rm{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:ue.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Lm(t):t;return vT(this._renderer,null,e,"register",[n]),new bT(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(qt(Ja),qt(pu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class bT extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new yT(this._id,t,e||{},this._renderer)}}class yT{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,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 vT(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 vT(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}let wT=(()=>{class t{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 CT("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(r,i,t,e.name,e)};return e.data.animation.forEach(s),new ST(this,i,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()}}return t.\u0275fac=function(e){return new(e||t)(qt(Ja),qt(JS),qt(Dc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class CT{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)}appendChild(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,r){this.delegate.setAttribute(t,e,n,r)}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,r){this.delegate.setStyle(t,e,n,r)}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 ST extends CT{constructor(t,e,n,r){super(e,n,r),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 r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),s="";return"@"!=i.charAt(0)&&([i,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,r,i,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let TT=(()=>{class t extends JS{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(qt(pu),qt(HC),qt(MS))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const PT=new Vt("AnimationModuleType"),MT=[{provide:HC,useFactory:function(){return"function"==typeof mT()?new gT:new pT}},{provide:PT,useValue:"BrowserAnimations"},{provide:Rm,useClass:_T},{provide:MS,useFactory:function(){return new OS}},{provide:JS,useClass:TT},{provide:Ja,useFactory:function(t,e,n){return new wT(t,e,n)},deps:[dh,JS,Dc]}];let OT=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:MT,imports:[Mh]}),t})();const xT=new il("9.2.4"),ET=new Vt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let AT,kT=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Sr()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.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"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&xT.full!==mC.full&&console.warn("The Angular Material version ("+xT.full+") does not match the Angular CDK version ("+mC.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(gC),qt(ET,8),qt(pu,8))},imports:[[eC],eC]}),t})();try{AT="undefined"!=typeof Intl}catch(hP){AT=!1}const IT=["*"];function NT(t,e){if(1&t){const t=Vo();Do(0,"div",2),jo("click",(function(){return Ye(t),Ko()._onBackdropClicked()})),Ro()}2&t&&ua("mat-drawer-shown",Ko()._isShowingBackdrop())}function DT(t,e){1&t&&(Do(0,"mat-drawer-content"),Qo(1,2),Ro())}const RT=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],GT=["mat-drawer","mat-drawer-content","*"];function HT(t,e){if(1&t){const t=Vo();Do(0,"div",2),jo("click",(function(){return Ye(t),Ko()._onBackdropClicked()})),Ro()}2&t&&ua("mat-drawer-shown",Ko()._isShowingBackdrop())}function LT(t,e){1&t&&(Do(0,"mat-sidenav-content",3),Qo(1,2),Ro())}const VT=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],BT=["mat-sidenav","mat-sidenav-content","*"],FT={transformDrawer:Gm("transform",[Bm("open, open-instant",Vm({transform:"none",visibility:"visible"})),Bm("void",Vm({"box-shadow":"none",visibility:"hidden"})),Fm("void => open-instant",Hm("0ms")),Fm("void <=> open, open-instant => void",Hm("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function jT(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const UT=new Vt("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),zT=new Vt("MAT_DRAWER_CONTAINER");let WT=(()=>{class t extends rC{constructor(t,e,n,r,i){super(n,r,i),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(Eo(qs),Eo(Tt(()=>KT)),Eo(Za),Eo(nC),Eo(Dc))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&ca("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[ka],ngContentSelectors:IT,decls:1,vars:0,template:function(t,e){1&t&&(qo(),Qo(0))},encapsulation:2,changeDetection:0}),t})(),$T=(()=>{class t{constructor(t,e,n,r,i,s,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=s,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new P,this._animationEnd=new P,this._animationState="void",this.openedChange=new Wl(!0),this._destroyed=new P,this.onPositionChanged=new Wl,this._modeChanged=new P,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{ab(this._elementRef.nativeElement,"keydown").pipe(Hh(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)),ub(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Q_((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Kw(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Kw(t)}get opened(){return this._opened}set opened(t){this.toggle(Kw(t))}get _openedStream(){return this.openedChange.pipe(Hh(t=>t),H(()=>{}))}get openedStart(){return this._animationStarted.pipe(Hh(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),H(()=>{}))}get _closedStream(){return this.openedChange.pipe(Hh(t=>!t),H(()=>{}))}get closedStart(){return this._animationStarted.pipe(Hh(t=>t.fromState!==t.toState&&"void"===t.toState),H(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(ed(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(Eo(Za),Eo(uC),Eo(pC),Eo(Uw),Eo(Dc),Eo(pu,8),Eo(zT,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&Uo("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(Mo("align",null),Ea("@transform",e._animationState),ua("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:IT,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(qo(),Do(0,"div",0),Qo(1),Ro())},encapsulation:2,data:{animation:[FT.transformDrawer]},changeDetection:0}),t})(),KT=(()=>{class t{constructor(t,e,n,r,i,s=!1,o){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=o,this._drawers=new Kl,this.backdropClick=new Wl,this._destroyed=new P,this._doCheckSubject=new P,this._contentMargins={left:null,right:null},this._contentMarginChanges=new P,t&&t.change.pipe(ub(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(ub(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Kw(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Kw(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(hd(this._allDrawers),ub(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(hd(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe($_(10),ub(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){const n=this._left._width;t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const n=this._right._width;e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Hh(t=>t.fromState!==t.toState),ub(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(ub(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(ub(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(ed(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(ub(K(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?(null!=this._end&&jT("end"),this._end=t):(null!=this._start&&jT("start"),this._start=t)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(Eo(tC,8),Eo(Za),Eo(Dc),Eo(qs),Eo(iC),Eo(UT),Eo(PT,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var r;1&t&&(oc(n,WT,!0),oc(n,$T,!0)),2&t&&(nc(r=ac())&&(e._content=r.first),nc(r=ac())&&(e._allDrawers=r))},viewQuery:function(t,e){var n;1&t&&ic(WT,!0),2&t&&nc(n=ac())&&(e._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ka([{provide:zT,useExisting:t}])],ngContentSelectors:GT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(qo(RT),Oo(0,NT,1,2,"div",0),Qo(1),Qo(2,1),Oo(3,DT,2,0,"mat-drawer-content",1)),2&t&&(Io("ngIf",e.hasBackdrop),Ci(3),Io("ngIf",!e._content))},directives:[Lu,WT],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})(),XT=(()=>{class t extends WT{constructor(t,e,n,r,i){super(t,e,n,r,i)}}return t.\u0275fac=function(e){return new(e||t)(Eo(qs),Eo(Tt(()=>ZT)),Eo(Za),Eo(nC),Eo(Dc))},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&ca("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[ka],ngContentSelectors:IT,decls:1,vars:0,template:function(t,e){1&t&&(qo(),Qo(0))},encapsulation:2,changeDetection:0}),t})(),qT=(()=>{class t extends $T{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Kw(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Xw(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Xw(t)}}return t.\u0275fac=function(e){return QT(e||t)},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(Mo("align",null),ca("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),ua("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ka],ngContentSelectors:IT,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(qo(),Do(0,"div",0),Qo(1),Ro())},encapsulation:2,data:{animation:[FT.transformDrawer]},changeDetection:0}),t})();const QT=ar(qT);let ZT=(()=>{class t extends KT{}return t.\u0275fac=function(e){return YT(e||t)},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){var r;1&t&&(oc(n,XT,!0),oc(n,qT,!0)),2&t&&(nc(r=ac())&&(e._content=r.first),nc(r=ac())&&(e._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&ua("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ka([{provide:zT,useExisting:t}]),ka],ngContentSelectors:BT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(qo(VT),Oo(0,HT,1,2,"div",0),Qo(1),Qo(2,1),Oo(3,LT,2,0,"mat-sidenav-content",1)),2&t&&(Io("ngIf",e.hasBackdrop),Ci(3),Io("ngIf",!e._content))},directives:[Lu,XT,rC],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})();const YT=ar(ZT);let JT=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku,kT,zw,sC],sC,kT]}),t})();function tP(t,e){}let eP=(()=>{class t{constructor(t,e,n){this.sidenavService=t,this.router=e,this.mobileService=n}ngOnInit(){}onOpenedChange(t){this.sidenavService._toggleStatus.next(t)}close(){this.sidenavService._toggleStatus.next(!1)}navigateTo(t){this.router.navigateByUrl(t),this.close()}openShare(){this.mobileService.openShare(),this.close()}}return t.\u0275fac=function(e){return new(e||t)(Eo(cg),Eo(Lf),Eo(fg))},t.\u0275cmp=fe({type:t,selectors:[["app-sidenav"]],contentQueries:function(t,e,n){var r;1&t&&oc(n,wl,!0),2&t&&nc(r=ac())&&(e.template=r.first)},decls:60,vars:5,consts:[["mode","over",1,"side",3,"position","opened","openedChange"],[1,"sidenav"],[1,"sidenav-item-close"],["src","/assets/images/close-6@2x.png","alt","Close sidenav",3,"click"],[1,"sidenav-item",3,"click"],["src","assets/images/OrangePin.svg","alt","Orange Pin"],["src","assets/images/Right-Chevron.svg","alt","Right arrow"],["src","assets/images/TealPin.svg","alt","Teal Pin"],["src","assets/images/BluePin.svg","alt","Blue Pin"],[1,"sidenav-item"],["src","assets/images/TrailheadLogo.svg","alt","Trail Head Logo"],["href","mailto:salesforceandgoogle@salesforce.com",1,"sidenav-item"],["src","assets/images/help.svg","alt","Question Mark"],["src","assets/images/socialshare.svg","alt","Social Share"],[1,"sidenav-footer"],[1,"sidenav-footer-copyright"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"sidenav-footer-links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(Do(0,"mat-sidenav-container"),Do(1,"mat-sidenav",0),jo("openedChange",(function(t){return e.onOpenedChange(t)})),Ul(2,"async"),Do(3,"div",1),Do(4,"div",2),Do(5,"div"),Do(6,"img",3),jo("click",(function(){return e.close()})),Ro(),Ro(),Ro(),Do(7,"div",4),jo("click",(function(){return e.navigateTo("/marketing-cloud-analytics-360")})),Go(8,"img",5),Do(9,"span"),Pa(10," Get personal with your marketing journeys. "),Ro(),Go(11,"img",6),Ro(),Do(12,"div",4),jo("click",(function(){return e.navigateTo("/sales-cloud-g-suite")})),Go(13,"img",7),Do(14,"span"),Pa(15," Drive productivity from anywhere. "),Ro(),Go(16,"img",6),Ro(),Do(17,"div",4),jo("click",(function(){return e.navigateTo("/tableau-big-query")})),Go(18,"img",8),Do(19,"span"),Pa(20," Know your customers with integrated data insights. "),Ro(),Go(21,"img",6),Ro(),Do(22,"div",9),Go(23,"img",10),Do(24,"span"),Pa(25," Trailhead "),Ro(),Go(26,"img",6),Ro(),Do(27,"a",11),Go(28,"img",12),Do(29,"span"),Pa(30," Questions "),Ro(),Go(31,"img",6),Ro(),Do(32,"div",4),jo("click",(function(){return e.openShare()})),Go(33,"img",13),Do(34,"span"),Pa(35," Share "),Ro(),Go(36,"img",6),Ro(),Do(37,"div",14),Do(38,"div",15),Pa(39," \xa9 Copyright 2020 Salesforce.com, Inc. "),Do(40,"a",16),Pa(41,"All rights reserved."),Ro(),Pa(42," Various trademarks held by their respective owners. Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States "),Ro(),Do(43,"div",17),Do(44,"a",18),Pa(45,"Legal"),Ro(),Do(46,"a",19),Pa(47,"Terms of Service"),Ro(),Do(48,"a",20),Pa(49,"Privacy Information"),Ro(),Do(50,"a",21),Pa(51,"Responsible Disclosure"),Ro(),Do(52,"a",22),Pa(53,"Trust"),Ro(),Do(54,"a",23),Pa(55,"Contact"),Ro(),Do(56,"a",24),Pa(57,"Cookie Preferences"),Ro(),Ro(),Ro(),Ro(),Ro(),Do(58,"mat-sidenav-content"),Oo(59,tP,0,0,"ng-template",25),Ro(),Ro()),2&t&&(Ci(1),Io("position","end")("opened",zl(2,3,e.sidenavService.$toggleStatus)),Ci(58),Io("ngTemplateOutlet",e.template))},directives:[ZT,qT,XT,Fu],pipes:[$u],styles:[".sidenav[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.sidenav-item-close[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.sidenav-item-close[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:17px 20px;background-color:#fff}.sidenav-item-close[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:15px;height:15px}.sidenav-item[_ngcontent-%COMP%]{padding:17px;display:flex;align-items:center;border-bottom:1px solid #d3d3d3;background-color:#fff}.sidenav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{width:30px;height:30px}.sidenav-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#032e61;font-weight:700;margin:auto 15px}.sidenav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-child(3){width:8px;margin-left:auto}.sidenav-footer[_ngcontent-%COMP%]{background-color:#032e61;color:#fff;font-size:11px;flex:1}.sidenav-footer-copyright[_ngcontent-%COMP%]{padding:18px}.sidenav-footer-copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#00a1e0}.sidenav-footer-links[_ngcontent-%COMP%]{padding:0 18px}.sidenav-footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#00a1e0;font-size:10px;padding-right:10px} .mat-drawer-container{height:100%} .mat-drawer{width:85%;max-width:380px}"]}),t})();var nP={prefix:"fas",iconName:"clock",icon:[512,512,[],"f017","M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"]};let rP=(()=>{class t{constructor(t){this.mobileService=t,this.visible=!0,this.url=uu.url,this.links={facebook:"https://www.facebook.com/sharer/sharer.php?u="+this.url,twitter:`https://twitter.com/intent/tweet?text=${encodeURIComponent("We\u2019re bringing Salesforce + Google to you in a new, on-demand event. Tune in to hear from product experts & thought leaders, plus get practical tips on how to adapt & innovate for your business in today\u2019s climate.")} ${this.url}`,linkedIn:`https://www.linkedin.com/shareArticle?url=${this.url}&summary=${encodeURIComponent("Salesforce + Google are headed your way in a new, on-demand event. Tune in for tips on how companies can innovate in today\u2019s climate.")}`},this.icons={facebook:nP,twitter:nP,linkedIn:nP},this.shareSubscription=this.mobileService.shareVisible.subscribe(t=>this.visible=t)}ngOnInit(){}ngOnDestroy(){this.shareSubscription.unsubscribe()}close(){this.visible=!1}}return t.\u0275fac=function(e){return new(e||t)(Eo(fg))},t.\u0275cmp=fe({type:t,selectors:[["app-share"]],hostVars:2,hostBindings:function(t,e){2&t&&ua("visible",e.visible)},decls:14,vars:6,consts:[[1,"share-background",3,"click"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","share"],[1,"icons"],[3,"href"],[3,"icon"]],template:function(t,e){1&t&&(Do(0,"div",0),jo("click",(function(){return e.close()})),Ro(),Do(1,"div",1),Do(2,"div",2),Do(3,"div",3),Do(4,"div",4),Do(5,"h2"),Pa(6,"Share the Experience"),Ro(),Do(7,"div",5),Do(8,"a",6),Go(9,"fa-icon",7),Ro(),Do(10,"a",6),Go(11,"fa-icon",7),Ro(),Do(12,"a",6),Go(13,"fa-icon",7),Ro(),Ro(),Ro(),Ro(),Ro(),Ro()),2&t&&(Ci(8),Io("href",e.links.facebook,Yr),Ci(1),Io("icon",e.icons.facebook),Ci(1),Io("href",e.links.twitter,Yr),Ci(1),Io("icon",e.icons.twitter),Ci(1),Io("href",e.links.linkedIn,Yr),Ci(1),Io("icon",e.icons.linkedIn))},directives:[pw],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}[_nghost-%COMP%]{width:100%;height:100%;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;z-index:995;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}.share-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.share[_ngcontent-%COMP%]{background:#fff;position:relative;border-radius:12px}.icons[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.icons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}"]}),t})();function iP(t,e){1&t&&Go(0,"app-play-canvas")}function sP(t,e){1&t&&(Go(0,"app-share"),Go(1,"router-outlet"))}function oP(t,e){1&t&&(Do(0,"app-sidenav"),Oo(1,sP,2,0,"ng-template"),Ro())}let aP=(()=>{class t{constructor(t,e,n,r){this.mobileService=t,this.deviceService=e,this.gtmService=n,this.router=r,this.title="Salesforce + Google Virtual Adventure",this.userIsOnDesktop=this.deviceService.isDesktop();const i=document.createElement("canvas"),s=i.getContext("webgl")||i.getContext("experimental-webgl");this.userHasWebGl=s&&s instanceof WebGLRenderingContext,this.router.events.forEach(t=>{t instanceof Td&&this.gtmService.pushTag({event:"page",pageName:t.url})})}}return t.\u0275fac=function(e){return new(e||t)(Eo(fg),Eo(Wy),Eo(rb),Eo(Lf))},t.\u0275cmp=fe({type:t,selectors:[["app-root"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(t,e){1&t&&(Oo(0,iP,1,0,"app-play-canvas",0),Oo(1,oP,2,0,"app-sidenav",0)),2&t&&(Io("ngIf",e.userIsOnDesktop&&e.userHasWebGl),Ci(1),Io("ngIf",!e.userIsOnDesktop||!e.userHasWebGl))},directives:[Lu,Vw,eP,rP,zf],styles:[".webgl-message[_ngcontent-%COMP%]{height:100vh;color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 2rem}.mobile-message[_ngcontent-%COMP%]{width:100%;height:100%;background:#032e61 url(LandingPage-Google-Portrait.d7ac3efc7298d80ac3b7.jpg) no-repeat 50%;background-size:cover}@media (orientation:landscape){.mobile-message[_ngcontent-%COMP%]{background-image:url(LandingPage-Google-Landscape.79e66373091b604f2ed3.jpg);background-size:cover}}.mobile-message[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:transparent}"]}),t})(),lP=(()=>{class t{}return t.\u0275mod=be({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ku]]}),t})(),cP=(()=>{class t{}return t.\u0275mod=be({type:t,bootstrap:[aP]}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[{provide:"googleTagManagerId",useValue:"GTM-WNXHF5F"}],imports:[[Mh,Ny,lP,B_,My,Im,Nm,Ky,fw,Ku,OT,JT]]}),t})();uu.production&&function(){if(Cr)throw new Error("Cannot enable prod mode after platform setup.");wr=!1}(),Th().bootstrapModule(cP).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[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);