!function(){function t(t,e,n){return(e=_(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function r(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(i){return i.pipe(tt(function(n,i){return Q(t(n,i)).pipe(H(function(t,r){return e(n,t,i,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new et(t,n))})}var et=function(){return y(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;g(this,t),this.project=e,this.concurrent=n},[{key:"call",value:function(t,e){return e.subscribe(new nt(t,this.project,this.concurrent))}}])}(),nt=function(t){function e(t,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return g(this,e),(i=u(this,e,[t])).project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return p(e,t),y(e,[{key:"_next",value:function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}])}(Y);function it(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return tt(A,t)}function rt(t,e){return e?Z(t,e):new R(V(t))}function ot(){for(var t=arguments.length,e=new Array(t),n=0;n1&&"number"==typeof e[e.length-1]&&(i=e.pop())):"number"==typeof o&&(i=e.pop()),null===r&&1===e.length&&e[0]instanceof R?e[0]:it(i)(rt(e,r))}function at(){return function(t){return t.lift(new st(t))}}var st=function(){return y(function t(e){g(this,t),this.connectable=e},[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new ut(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}])}(),ut=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).connectable=n,i}return p(e,t),y(e,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}else this.connection=null}}])}(E),ct=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e)).source=t,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return p(e,t),y(e,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new S).add(this.source.subscribe(new ht(this.getSubject(),this))),t.closed&&(this._connection=null,t=S.EMPTY)),t}},{key:"refCount",value:function(){return at()(this)}}])}(R),lt=function(){var t=ct.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}}}(),ht=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).connectable=n,i}return p(e,t),y(e,[{key:"_error",value:function(t){this._unsubscribe(),h(d(e.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),h(d(e.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}])}(F);function ft(){return new L}function dt(){return function(t){return at()(function(t,e){return function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,lt);return i.source=e,i.subjectFactory=n,i}}(ft)(t))}}function pt(t){for(var e in t)if(t[e]===pt)return e;throw Error("Could not find renamed property on target object.")}function vt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function gt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(gt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function mt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var yt=pt({__forward_ref__:pt});function _t(t){return t.__forward_ref__=_t,t.toString=function(){return gt(this())},t}function bt(t){return kt(t)?t():t}function kt(t){return"function"==typeof t&&t.hasOwnProperty(yt)&&t.__forward_ref__===_t}var wt=function(t){function e(t,n){var i;return g(this,e),i=u(this,e,[function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,n)]),i.code=t,i}return p(e,t),y(e)}(a(Error));function Ct(t){return"string"==typeof t?t:null==t?"":String(t)}function xt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ct(t)}function St(t,e){var n=e?" in ".concat(e):"";throw new wt("201","No provider for ".concat(xt(t)," found").concat(n))}function Ot(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Pt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Et(t){return Tt(t,Rt)||Tt(t,Nt)}function Tt(t,e){return t.hasOwnProperty(e)?t[e]:null}function Mt(t){return t&&(t.hasOwnProperty(It)||t.hasOwnProperty(Dt))?t[It]:null}var At,Rt=pt({"\u0275prov":pt}),It=pt({"\u0275inj":pt}),Nt=pt({ngInjectableDef:pt}),Dt=pt({ngInjectorDef:pt}),Ft=((Ft=Ft||{})[Ft.Default=0]="Default",Ft[Ft.Host=1]="Host",Ft[Ft.Self=2]="Self",Ft[Ft.SkipSelf=4]="SkipSelf",Ft[Ft.Optional=8]="Optional",Ft);function Lt(t){var e=At;return At=t,e}function jt(t,e,n){var i=Et(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ft.Optional?null:void 0!==e?e:void St(gt(t),"Injector")}function zt(t){return{toString:t}.toString()}var Ht=((Ht=Ht||{})[Ht.OnPush=0]="OnPush",Ht[Ht.Default=1]="Default",Ht),Bt=((Bt=Bt||{})[Bt.Emulated=0]="Emulated",Bt[Bt.None=2]="None",Bt[Bt.ShadowDom=3]="ShadowDom",Bt),Ut="undefined"!=typeof globalThis&&globalThis,Vt="undefined"!=typeof window&&window,qt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Wt=Ut||"undefined"!=typeof global&&global||Vt||qt,Gt={},Kt=[],Zt=pt({"\u0275cmp":pt}),Qt=pt({"\u0275dir":pt}),Jt=pt({"\u0275pipe":pt}),Yt=pt({"\u0275mod":pt}),Xt=pt({"\u0275loc":pt}),$t=pt({"\u0275fac":pt}),te=pt({__NG_ELEMENT_ID__:pt}),ee=0;function ne(t){return zt(function(){var e={},n={type:t.type,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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Ht.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Kt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Bt.Emulated,id:"c",styles:t.styles||Kt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=ee++,n.inputs=se(t.inputs,e),n.outputs=se(t.outputs),r&&r.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ie)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(re)}:null,n})}function ie(t){return ce(t)||function(t){return t[Qt]||null}(t)}function re(t){return function(t){return t[Jt]||null}(t)}var oe={};function ae(t){return zt(function(){var e={type:t.type,bootstrap:t.bootstrap||Kt,declarations:t.declarations||Kt,imports:t.imports||Kt,exports:t.exports||Kt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(oe[t.id]=t.type),e})}function se(t,e){if(null==t)return Gt;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}var ue=ne;function ce(t){return t[Zt]||null}function le(t,e){var n=t[Yt]||null;if(!n&&!0===e)throw new Error("Type ".concat(gt(t)," does not have '\u0275mod' property."));return n}var he=11;function fe(t){return Array.isArray(t)&&"object"==typeof t[1]}function de(t){return Array.isArray(t)&&!0===t[1]}function pe(t){return 0!=(8&t.flags)}function ve(t){return 2==(2&t.flags)}function ge(t){return 1==(1&t.flags)}function me(t){return null!==t.template}function ye(t){return 0!=(512&t[2])}function _e(t,e){return t.hasOwnProperty($t)?t[$t]:null}var be=function(){return y(function t(e,n,i){g(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i},[{key:"isFirstChange",value:function(){return this.firstChange}}])}();function ke(){return we}function we(t){return t.type.prototype.ngOnChanges&&(t.setInput=xe),Ce}function Ce(){var t=Pe(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Gt)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function xe(t,e,n,i){var r=Pe(t)||function(t,e){return t[Oe]=e}(t,{previous:Gt,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new be(u&&u.currentValue,e,a===Gt),t[i]=e}ke.ngInherit=!0;var Se,Oe="__ngSimpleChanges__";function Pe(t){return t[Oe]||null}function Ee(t){return!!t.listen}var Te={createRenderer:function(t,e){return void 0!==Se?Se:"undefined"!=typeof document?document:void 0}};function Me(t){for(;Array.isArray(t);)t=t[0];return t}function Ae(t,e){return Me(e[t])}function Re(t,e){return Me(e[t.index])}function Ie(t,e){return t.data[e]}function Ne(t,e){var n=e[t];return fe(n)?n:n[0]}function De(t){return 4==(4&t[2])}function Fe(t){return 128==(128&t[2])}function Le(t,e){return null==e?null:t[e]}function je(t){t[18]=0}function ze(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var He={lFrame:un(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Be(){return He.bindingsEnabled}function Ue(){return He.lFrame.lView}function Ve(){return He.lFrame.tView}function qe(){for(var t=We();null!==t&&64===t.type;)t=t.parent;return t}function We(){return He.lFrame.currentTNode}function Ge(t,e){var n=He.lFrame;n.currentTNode=t,n.isParent=e}function Ke(){return He.lFrame.isParent}function Ze(){He.lFrame.isParent=!1}function Qe(){return He.isInCheckNoChangesMode}function Je(t){He.isInCheckNoChangesMode=t}function Ye(){return He.lFrame.bindingIndex++}function Xe(t,e){var n=He.lFrame;n.bindingIndex=n.bindingRootIndex=t,$e(e)}function $e(t){He.lFrame.currentDirectiveIndex=t}function tn(t){var e=He.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function en(){return He.lFrame.currentQueryIndex}function nn(t){He.lFrame.currentQueryIndex=t}function rn(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function on(t,e,n){if(n&Ft.SkipSelf){for(var i=e,r=t;!(null!==(i=i.parent)||n&Ft.Host||(i=rn(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}var o=He.lFrame=sn();return o.currentTNode=e,o.lView=t,!0}function an(t){var e=sn(),n=t[1];He.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function sn(){var t=He.lFrame,e=null===t?null:t.child;return null===e?un(t):e}function un(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function cn(){var t=He.lFrame;return He.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ln=cn;function hn(){var t=cn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fn(){return He.lFrame.selectedIndex}function dn(t){He.lFrame.selectedIndex=t}function pn(){var t=He.lFrame;return Ie(t.tView,t.selectedIndex)}function vn(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[s]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var kn=y(function t(e,n,i){g(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i});function wn(t,e,n){for(var i=Ee(t),r=0;re){a=o-1;break}}}for(;o>16}(t),i=e;n>0;)i=i[15],n--;return i}var Mn=!0;function An(t){var e=Mn;return Mn=t,e}var Rn=0;function In(t,e){var n=Dn(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Nn(i.data,t),Nn(e,null),Nn(i.blueprint,null));var r=Fn(t,e),o=t.injectorIndex;if(Pn(r))for(var a=En(r),s=Tn(r,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=r,o}function Nn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,i=null,r=e;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ln(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(te)&&(i=n[te]),null==i&&(i=n[te]=Rn++);var r=255&i;e.data[t+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Ft.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(te)?t[te]:void 0;return"number"==typeof e?e>=0?255&e:Un:e}(n);if("function"==typeof o){if(!on(e,t,i))return i&Ft.Host?jn(r,n,i):zn(e,n,i,r);try{var a=o(i);if(null!=a||i&Ft.Optional)return a;St(n)}finally{ln()}}else if("number"==typeof o){var s=null,u=Dn(t,e),c=-1,l=i&Ft.Host?e[16][6]:null;for((-1===u||i&Ft.SkipSelf)&&(-1!==(c=-1===u?Fn(t,e):e[u+8])&&Kn(i,!1)?(s=e[1],u=En(c),e=Tn(c,e)):u=-1);-1!==u;){var h=e[1];if(Gn(o,u,h.data)){var f=Vn(u,e,n,s,i,l);if(f!==Bn)return f}-1!==(c=e[u+8])&&Kn(i,e[1].data[u+8]===l)&&Gn(o,u,e)?(s=h,u=En(c),e=Tn(c,e)):u=-1}}}return zn(e,n,i,r)}var Bn={};function Un(){return new Zn(qe(),Ue())}function Vn(t,e,n,i,r,o){var a=e[1],s=a.data[t+8],u=qn(s,a,n,null==i?ve(s)&&Mn:i!=a&&0!=(3&s.type),r&Ft.Host&&o===s);return null!==u?Wn(e,a,u,s):Bn}function qn(t,e,n,i,r){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,c=o>>20,l=r?s+c:t.directiveEnd,h=i?s:s+c;h=u&&f.type===n)return h}if(r){var d=a[u];if(d&&me(d)&&d.type===n)return u}return null}function Wn(t,e,n,i){var r=t[n],o=e.data;if(function(t){return t instanceof kn}(r)){var a=r;a.resolving&&function(t,e){throw new wt("200","Circular dependency in DI detected for ".concat(t))}(xt(o[n]));var s=An(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?Lt(a.injectImpl):null;on(t,i,Ft.Default);try{r=t[n]=a.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=we(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,o[n],e)}finally{null!==u&&Lt(u),An(s),a.resolving=!1,ln()}}return r}function Gn(t,e,n){return!!(n[e+(t>>5)]&1<=t.length?t.push(n):t.splice(e,0,n)}function oi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ai(t,e){for(var n=[],i=0;i=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function ui(t,e){var n=ci(t,e);if(n>=0)return t[1|n]}function ci(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var o=i+(r-i>>1),a=t[o<<1];if(e===a)return o<<1;a>e?r=o:i=o+1}return~(r<<1)}(t,e)}var li,hi={},fi="__NG_DI_FLAG__",di="ngTempTokenPath",pi=/\n/gm,vi="__source",gi=pt({provide:String,useValue:pt});function mi(t){var e=li;return li=t,e}function yi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft.Default;if(void 0===li)throw new Error("inject() must be called from an injection context");return null===li?jt(t,void 0,e):li.get(t,e&Ft.Optional?null:void 0,e)}function _i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft.Default;return(At||yi)(bt(t),e)}var bi=_i;function ki(t){for(var e=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=gt(e);if(Array.isArray(e))r=e.map(gt).join(" -> ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):gt(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(pi,"\n "))}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[di]=null,t}var Si=wi(Xn("Inject",function(t){return{token:t}}),-1),Oi=wi(Xn("Optional"),8),Pi=wi(Xn("SkipSelf"),4),Ei=((Ei=Ei||{})[Ei.Important=1]="Important",Ei[Ei.DashCase=2]="DashCase",Ei),Ti="__ngContext__";function Mi(t,e){t[Ti]=e}function Ai(t){var e=function(t){return t[Ti]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ri(t,e){return(void 0)(t,e)}function Ii(t){var e=t[3];return de(e)?e[3]:e}function Ni(t){return Fi(t[13])}function Di(t){return Fi(t[4])}function Fi(t){for(;null!==t&&!de(t);)t=t[4];return t}function Li(t,e,n,i,r){if(null!=i){var o,a=!1;de(i)?o=i:fe(i)&&(a=!0,i=i[0]);var s=Me(i);0===t&&null!==n?null==r?Wi(e,n,s):qi(e,n,s,r||null,!0):1===t&&null!==n?qi(e,n,s,r||null,!0):2===t?function(t,e,n){var i=Ki(t,e);i&&function(t,e,n,i){Ee(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,a):3===t&&e.destroyNode(s),null!=o&&function(t,e,n,i,r){var o=n[7];o!==Me(n)&&Li(e,t,i,o,r);for(var a=10;a0&&(t[n-1][4]=i[4]);var o=oi(t,10+e);!function(t,e){nr(t,e,e[he],2,null,null),e[0]=null,e[6]=null}(i[1],i);var a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Bi(t,e){if(!(256&e[2])){var n=e[he];Ee(n)&&n.destroyNode&&nr(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Ui(t[1],t);for(;e;){var n=null;if(fe(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)fe(e)&&Ui(e[1],e),e=e[3];null===e&&(e=t),fe(e)&&Ui(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ui(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{var l=i[r=n[o+1]];n[o].call(l)}if(null!==i){for(var h=r+1;h"+t;try{var e=(new window.DOMParser).parseFromString(ar(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}])}(),mr=function(){return y(function t(e){if(g(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}},[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=ar(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=ar(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();Er.hasOwnProperty(e)&&!Sr.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(Fr(t))}},{key:"checkClobberedElement",value:function(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: ".concat(t.outerHTML));return e}}])}(),Nr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Dr=/([^\#-~ |!])/g;function Fr(t){return t.replace(/&/g,"&").replace(Nr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Dr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function Lr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var jr=((jr=jr||{})[jr.NONE=0]="NONE",jr[jr.HTML=1]="HTML",jr[jr.STYLE=2]="STYLE",jr[jr.SCRIPT=3]="SCRIPT",jr[jr.URL=4]="URL",jr[jr.RESOURCE_URL=5]="RESOURCE_URL",jr);function zr(t){var e=function(){var t=Ue();return t&&t[12]}();return e?e.sanitize(jr.URL,t)||"":pr(t,"URL")?dr(t):br(Ct(t))}function Hr(t){return t.ngOriginalError}function Br(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;io?"":r[l+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==Wr(f,c,0)||2&i&&c!==h){if(Yr(i))return!1;a=!0}}}}else{if(!a&&!Yr(i)&&!Yr(u))return!1;if(a&&Yr(u))continue;a=!1,i=u|1&i}}return Yr(i)||a}function Yr(t){return 0==(1&t)}function Xr(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Yr(a)&&(e+=eo(o,r),r=""),i=a,o=o||!Yr(i);n++}return""!==r&&(e+=eo(o,r)),e}var io={};function ro(t){oo(Ve(),Ue(),fn()+t,Qe())}function oo(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&gn(e,r,n)}else{var o=t.preOrderHooks;null!==o&&mn(e,o,0,n)}dn(n)}function ao(t,e){return t<<17|e<<2}function so(t){return t>>17&32767}function uo(t){return 2|t}function co(t){return(131068&t)>>2}function lo(t,e){return-131069&t|e<<2}function ho(t){return 1|t}function fo(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i20&&oo(t,e,20,Qe()),n(i,r)}finally{dn(o)}}function ko(t,e,n){!Be()||(function(t,e,n,i){var r=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||In(n,e),Mi(i,e);for(var a=n.initialInputs,s=r;s2&&void 0!==arguments[2]?arguments[2]:Re,i=e.localNames;if(null!==i)for(var r=e.index+1,o=0;o0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function Mo(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ao(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ro(t,e,n){if(n){if(e.exportAs)for(var i=0;i0&&Ho(n)}}function Ho(t){for(var e=Ni(t);null!==e;e=Di(e))for(var n=10;n0&&Ho(i)}var o=t[1].components;if(null!==o)for(var a=0;a0&&Ho(s)}}function Bo(t,e){var n=Ne(e,t),i=n[1];(function(t,e){for(var n=e.length;n1&&void 0!==arguments[1]?arguments[1]:hi;if(e===hi){var n=new Error("NullInjectorError: No provider for ".concat(gt(t),"!"));throw n.name="NullInjectorError",n}return e}}])}(),ia=new $n("Set Injector scope."),ra={},oa={};function aa(){return void 0===ta&&(ta=new na),ta}function sa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new ua(t,n,e||aa(),i)}var ua=function(){return y(function t(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;g(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&ii(n,function(t){return r.processProvider(t,e,n)}),ii([e],function(t){return r.processInjectorType(t,[],a)}),this.records.set(ea,la(void 0,this));var s=this.records.get(ia);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:gt(e))},[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hi,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ft.Default;this.assertNotDestroyed();var i=mi(this),r=Lt(void 0);try{if(!(n&Ft.SkipSelf)){var o=this.records.get(t);if(void 0===o){var a=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof $n}(t)&&Et(t);o=a&&this.injectableDefInScope(a)?la(ca(t),ra):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(n&Ft.Self?aa():this.parent).get(t,e=n&Ft.Optional&&e===hi?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[di]=s[di]||[]).unshift(gt(t)),i)throw s;return xi(s,t,"R3InjectorError",this.source)}throw s}finally{Lt(r),mi(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(gt(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=bt(t)))return!1;var r=Mt(t),o=null==r&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=Mt(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{ii(r.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var c=function(){var t=u[l],e=t.ngModule,n=t.providers;ii(n,function(t){return i.processProvider(t,e,n||Kt)})},l=0;l0){var n=ai(e,"?");throw new Error("Can't resolve all parameters for ".concat(gt(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[Rt]||t[Nt]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function la(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function ha(t){return null!==t&&"object"==typeof t&&gi in t}function fa(t){return"function"==typeof t}var da=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=sa(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},pa=function(){var t=function(){return y(function t(){g(this,t)},null,[{key:"create",value:function(t,e){return Array.isArray(t)?da(t,e,""):da(t.providers,t.parent,t.name||"")}}])}();return t.THROW_IF_NOT_FOUND=hi,t.NULL=new na,t.\u0275prov=Ot({token:t,providedIn:"any",factory:function(){return _i(ea)}}),t.__NG_ELEMENT_ID__=-1,t}();function va(t,e){vn(Ai(t)[1],qe())}function ga(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,i=[t];e;){var r=void 0;if(me(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var o=t;o.inputs=ma(t.inputs),o.declaredInputs=ma(t.declaredInputs),o.outputs=ma(t.outputs);var a=r.hostBindings;a&&ba(t,a);var s=r.viewQuery,u=r.contentQueries;if(s&&ya(t,s),u&&_a(t,u),vt(t.inputs,r.inputs),vt(t.declaredInputs,r.declaredInputs),vt(t.outputs,r.outputs),me(r)&&r.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(r.data.animation)}}var l=r.features;if(l)for(var h=0;h=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Sn(r.hostAttrs,n=Sn(n,r.hostAttrs))}}(i)}function ma(t){return t===Gt?{}:t===Kt?[]:t}function ya(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function _a(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function ba(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}var ka=null;function wa(){if(!ka){var t=Wt.Symbol;if(t&&t.iterator)ka=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:Ft.Default,n=Ue();return null===n?_i(t,e):Hn(qe(),n,bt(t),e)}function Ta(t,e,n){var i=Ue();return Sa(i,Ye(),e)&&Po(Ve(),pn(),i,t,e,i[he],n,!1),Ta}function Ma(t,e,n,i,r){var o=r?"class":"style";Xo(t,n,e.inputs[o],o,i)}function Aa(t,e,n,i){var r=Ue(),o=Ve(),a=20+t,s=r[he],u=r[a]=ji(s,e,He.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,i,r,o,a){var s=e.consts,u=vo(e,t,2,r,Le(s,o));return Eo(e,n,u,Le(s,a)),null!==u.attrs&&$o(u,u.attrs,!1),null!==u.mergedAttrs&&$o(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,r,0,e,n,i):o.data[a];Ge(c,!0);var l=c.mergedAttrs;null!==l&&wn(s,u,l);var h=c.classes;null!==h&&or(s,u,h);var f=c.styles;null!==f&&rr(s,u,f),64!=(64&c.flags)&&Yi(o,r,u,c),0===He.lFrame.elementDepthCount&&Mi(u,r),He.lFrame.elementDepthCount++,ge(c)&&(ko(o,r,c),function(t,e,n){if(pe(e))for(var i=e.directiveEnd,r=e.directiveStart;ru?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=Ha(i,e,l,o,!1);var y=n.listen(p,r,o);h.push(o,y),c&&c.push(r,g,v,v+1)}}else o=Ha(i,e,l,o,!0),p.addEventListener(r,o,a),h.push(o),c&&c.push(r,g,v,a)}else o=Ha(i,e,l,o,!1);var _,b=i.outputs;if(f&&null!==b&&(_=b[r])){var k=_.length;if(k)for(var w=0;w1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Ue(),r=Ve(),o=vo(r,20+t,16,null,n||null);null===o.projection&&(o.projection=e),Ze(),64!=(64&o.flags)&&function(t,e,n){ir(e[he],0,e,n,Vi(t,n,e),Zi(n.parent||e[6],n,e))}(r,i,o)}function qa(t,e,n,i,r){for(var o=t[n+1],a=null===e,s=i?so(o):co(o),u=!1;0!==s&&(!1===u||a);){var c=t[s+1];Wa(t[s],e)&&(u=!0,t[s+1]=i?ho(c):uo(c)),s=i?so(c):co(c)}u&&(t[n+1]=i?uo(o):ho(o))}function Wa(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ci(t,e)>=0}function Ga(t,e){return function(t,e,n,i){var r=Ue(),o=Ve(),a=function(t){var e=He.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();o.firstUpdatePass&&function(t,e,n,i){var r=t.data;if(null===r[n+1]){var o=r[fn()],a=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(o)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){var r=tn(t),o=e.residualClasses;if(null===r)0===e.classBindings&&(n=Za(n=Ka(null,t,e,n,i),e.attrs,i),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=Ka(r,t,e,n,i),null===o){var s=function(t,e,n){var i=e.classBindings;if(0!==co(i))return t[so(i)]}(t,e);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[so(e.classBindings)]=i}(t,e,0,s=Za(s=Ka(null,t,e,s[1],i),e.attrs,i))}else o=function(t,e,n){for(var i,r=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(l=!0)}else c=n;if(r)if(0!==u){var f=so(t[s+1]);t[i+1]=ao(f,s),0!==f&&(t[f+1]=lo(t[f+1],i)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],i)}else t[i+1]=ao(s,0),0!==s&&(t[s+1]=lo(t[s+1],i)),s=i;else t[i+1]=ao(u,0),0===s?s=i:t[u+1]=lo(t[u+1],i),u=i;l&&(t[i+1]=uo(t[i+1])),qa(t,c,i,!0),qa(t,c,i,!1),function(t,e,n,i,r){var o=t.residualClasses;null!=o&&"string"==typeof e&&ci(o,e)>=0&&(n[i+1]=ho(n[i+1]))}(e,c,t,i),a=ao(s,u),e.classBindings=a}(r,o,e,n,a)}}(o,t,a,true),e!==io&&Sa(r,a,e)&&function(t,e,n,i,r,o,a,s){if(3&e.type){var u=t.data,c=u[s+1];Ja(function(t){return 1==(1&t)}(c)?Qa(u,e,n,r,co(c),a):void 0)||(Ja(o)||function(t){return 2==(2&t)}(c)&&(o=Qa(u,null,n,r,s,a)),function(t,e,n,i,r){var o=Ee(t);r?o?t.addClass(n,i):n.classList.add(i):o?t.removeClass(n,i):n.classList.remove(i)}(i,0,Ae(fn(),n),r,o))}}(o,o.data[fn()],r,r[he],t,r[a+1]=function(t,e){return null==t||"object"==typeof t&&(t=gt(dr(t))),t}(e),true,a)}(t,e),Ga}function Ka(t,e,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=t[r],c=Array.isArray(u),l=c?u[1]:u,h=null===l,f=n[r+1];f===io&&(f=h?Kt:void 0);var d=h?ui(f,i):l===i?f:void 0;if(c&&!Ja(d)&&(d=ui(u,i)),Ja(d)&&(a=d,s))return a;var p=t[r+1];r=s?so(p):co(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(a=ui(v,i))}return a}function Ja(t){return void 0!==t}function Ya(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ue(),i=Ve(),r=t+20,o=i.firstCreatePass?vo(i,r,1,e,null):i.data[r],a=n[r]=function(t,e){return Ee(t)?t.createText(e):t.createTextNode(e)}(n[he],e);Yi(i,n,a,o),Ge(o,!1)}function Xa(t,e,n){var i=Ue(),r=function(t,e,n,i){return Sa(t,Ye(),n)?e+Ct(n)+i:io}(i,t,e,n);return r!==io&&function(t,e,n){var i=Ae(e,t);!function(t,e,n){Ee(t)?t.setValue(e,n):e.textContent=n}(t[he],i,n)}(i,fn(),r),Xa}function $a(t,e,n){var i=Ue();return Sa(i,Ye(),e)&&Po(Ve(),pn(),i,t,e,i[he],n,!0),$a}function ts(t,e,n){var i=Ue();if(Sa(i,Ye(),e)){var r=Ve(),o=pn();Po(r,o,i,t,e,Jo(tn(r.data),o,i),n,!0)}return ts}var es=void 0,ns=["en",[["a","p"],["AM","PM"],es],[["AM","PM"],es,es],[["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"]],es,[["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"]],es,[["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}",es,"{1} 'at' {0}",es],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],is={};function rs(t){return t in is||(is[t]=Wt.ng&&Wt.ng.common&&Wt.ng.common.locales&&Wt.ng.common.locales[t]),is[t]}var os=((os=os||{})[os.LocaleId=0]="LocaleId",os[os.DayPeriodsFormat=1]="DayPeriodsFormat",os[os.DayPeriodsStandalone=2]="DayPeriodsStandalone",os[os.DaysFormat=3]="DaysFormat",os[os.DaysStandalone=4]="DaysStandalone",os[os.MonthsFormat=5]="MonthsFormat",os[os.MonthsStandalone=6]="MonthsStandalone",os[os.Eras=7]="Eras",os[os.FirstDayOfWeek=8]="FirstDayOfWeek",os[os.WeekendRange=9]="WeekendRange",os[os.DateFormat=10]="DateFormat",os[os.TimeFormat=11]="TimeFormat",os[os.DateTimeFormat=12]="DateTimeFormat",os[os.NumberSymbols=13]="NumberSymbols",os[os.NumberFormats=14]="NumberFormats",os[os.CurrencyCode=15]="CurrencyCode",os[os.CurrencySymbol=16]="CurrencySymbol",os[os.CurrencyName=17]="CurrencyName",os[os.Currencies=18]="Currencies",os[os.Directionality=19]="Directionality",os[os.PluralCase=20]="PluralCase",os[os.ExtraData=21]="ExtraData",os),as="en-US";function ss(t){(function(t,e){null==t&&function(t,e,n,i){throw new Error("ASSERTION ERROR: ".concat(t)+" [Expected=> ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(e,t)})(t,"Expected localeId to be defined"),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var us=y(function t(){g(this,t)}),cs=function(){return y(function t(){g(this,t)},[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(gt(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}])}(),ls=function(){var t=y(function t(){g(this,t)});return t.NULL=new cs,t}();function hs(){}function fs(t,e){return new ps(Re(t,e))}var ds=function(){return fs(qe(),Ue())},ps=function(){var t=y(function t(e){g(this,t),this.nativeElement=e});return t.__NG_ELEMENT_ID__=ds,t}();function vs(t){return t instanceof ps?t.nativeElement:t}var gs=y(function t(){g(this,t)}),ms=function(){var t=y(function t(){g(this,t)});return t.\u0275prov=Ot({token:t,providedIn:"root",factory:function(){return null}}),t}(),ys=y(function t(e){g(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}),_s=new ys("12.2.17"),bs=function(){return y(function t(){g(this,t)},[{key:"supports",value:function(t){return Ca(t)}},{key:"create",value:function(t){return new ws(t)}}])}(),ks=function(t,e){return e},ws=function(){return y(function t(e){g(this,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=e||ks},[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==i;){var a=e[i.index];if(null!==a&&r.push(Me(a)),de(a))for(var s=10;s-1&&(Hi(t,n),oi(e,n))}this._attachedToViewContainer=!1}Bi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){So(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){Vo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){qo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){Je(!0);try{qo(t,e,n)}finally{Je(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(t,e){nr(t,e,e[he],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}])}(),Fs=function(t){function e(t){var n;return g(this,e),(n=u(this,e,[t]))._view=t,n}return p(e,t),y(e,[{key:"detectChanges",value:function(){Wo(this._view)}},{key:"checkNoChanges",value:function(){!function(t){Je(!0);try{Wo(t)}finally{Je(!1)}}(this._view)}},{key:"context",get:function(){return null}}])}(Ds),Ls=function(t){return function(t,e,n){if(ve(t)&&!n){var i=Ne(t.index,e);return new Ds(i,i)}return 47&t.type?new Ds(e[16],e):null}(qe(),Ue(),16==(16&t))},js=function(){var t=y(function t(){g(this,t)});return t.__NG_ELEMENT_ID__=Ls,t}(),zs=[new Ps],Hs=new As([new bs]),Bs=new Is(zs),Us=function(){return Ws(qe(),Ue())},Vs=function(){var t=y(function t(){g(this,t)});return t.__NG_ELEMENT_ID__=Us,t}(),qs=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e))._declarationLView=t,r._declarationTContainer=n,r.elementRef=i,r}return p(e,t),y(e,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=po(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),mo(e,n,t),new Ds(n)}}])}(Vs);function Ws(t,e){return 4&t.type?new qs(e,t,fs(t,e)):null}var Gs=y(function t(){g(this,t)}),Ks=y(function t(){g(this,t)}),Zs=function(){return $s(qe(),Ue())},Qs=function(){var t=y(function t(){g(this,t)});return t.__NG_ELEMENT_ID__=Zs,t}(),Js=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e))._lContainer=t,r._hostTNode=n,r._hostLView=i,r}return p(e,t),y(e,[{key:"element",get:function(){return fs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Zn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Fn(this._hostTNode,this._hostLView);if(Pn(t)){var e=Tn(t,this._hostLView),n=En(t);return new Zn(e[1].data[n+8],e)}return new Zn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=Ys(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var o=n||this.parentInjector;if(!r&&null==t.ngModule&&o){var a=o.get(Gs,null);a&&(r=a)}var s=t.create(o,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,n){var i=t._lView,r=i[1];if(function(t){return de(t[3])}(i)){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=i[3],s=new e(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(n),c=this._lContainer;!function(t,e,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=e),i1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}])}(Qs);function Ys(t){return t[8]}function Xs(t){return t[8]||(t[8]=[])}function $s(t,e){var n,i=e[t.index];if(de(i))n=i;else{var r;if(8&t.type)r=Me(i);else{var o=e[he];r=o.createComment("");var a=Re(t,e);qi(o,Ki(o,a),r,function(t,e){return Ee(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=n=jo(i,e,r,t),Uo(e,n)}return new Js(n,t,e)}var tu={},eu=function(t){function e(t){var n;return g(this,e),(n=u(this,e)).ngModule=t,n}return p(e,t),y(e,[{key:"resolveComponentFactory",value:function(t){var e=ce(t);return new ru(e,this.ngModule)}}])}(ls);function nu(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var iu=new $n("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Vr}}),ru=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e)).componentDef=t,i.ngModule=n,i.componentType=t.type,i.selector=function(t){return t.map(no).join(",")}(t.selectors),i.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],i.isBoundToModule=!!n,i}return p(e,t),y(e,[{key:"inputs",get:function(){return nu(this.componentDef.inputs)}},{key:"outputs",get:function(){return nu(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,i){var r,o,a=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,r){var o=t.get(n,tu,r);return o!==tu||i===tu?o:e.get(n,i,r)}}}(t,i.injector):t,s=a.get(gs,Te),u=a.get(ms,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Ee(t))return t.selectRootElement(e,n===Bt.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(c,n,this.componentDef.encapsulation):ji(s.createRenderer(null,this.componentDef),l,function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:Vr,clean:Ko,playerHandler:null,flags:0},p=xo(0,null,null,1,0,null,null,null,null,null),v=po(null,p,d,f,null,null,s,c,u,a);an(v);try{var g=function(t,e,n,i,r,o){var a=n[1];n[20]=t;var s=vo(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&($o(s,u,!0),null!==t&&(wn(r,t,u),null!==s.classes&&or(r,t,s.classes),null!==s.styles&&rr(r,t,s.styles)));var c=i.createRenderer(t,e),l=po(n,Co(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return a.firstCreatePass&&(Ln(In(s,n),a,e.type),Ao(a,s),Io(s,n.length,1)),Uo(n,l),n[20]=l}(h,this.componentDef,v,s,c);if(h)if(n)wn(c,h,["ng-version",_s.full]);else{var m=function(t){for(var e=[],n=[],i=1,r=2;i0&&or(c,h,_.join(" "))}if(o=Ie(p,20),void 0!==e)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:pa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ft.Default;return t===pa||t===Gs||t===ea?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}])}(Gs),uu=function(t){function e(t){var n;return g(this,e),(n=u(this,e)).moduleType=t,null!==le(t)&&function(t){var e=new Set;!function t(n){var r=le(n,!0),o=r.id;null!==o&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(gt(e)," vs ").concat(gt(e.name)))}(o,au.get(o),n),au.set(o,n));var a,s=i(qr(r.imports));try{for(s.s();!(a=s.n()).done;){var u=a.value;e.has(u)||(e.add(u),t(u))}}catch(c){s.e(c)}finally{s.f()}}(t)}(t),n}return p(e,t),y(e,[{key:"create",value:function(t){return new su(this.moduleType,t)}}])}(Ks);function cu(t){return function(e){setTimeout(t,void 0,e)}}var lu=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return g(this,e),(t=u(this,e)).__isAsync=n,t}return p(e,t),y(e,[{key:"emit",value:function(t){h(d(e.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,n,i){var r,o,a,s=t,u=n||function(){return null},c=i;if(t&&"object"==typeof t){var l=t;s=null===(r=l.next)||void 0===r?void 0:r.bind(l),u=null===(o=l.error)||void 0===o?void 0:o.bind(l),c=null===(a=l.complete)||void 0===a?void 0:a.bind(l)}this.__isAsync&&(u=cu(u),s&&(s=cu(s)),c&&(c=cu(c)));var f=h(d(e.prototype),"subscribe",this).call(this,{next:s,error:u,complete:c});return t instanceof S&&t.add(f),f}}])}(L);function hu(){return this._results[wa()]()}var fu=function(){return y(function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];g(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=wa(),i=t.prototype;i[n]||(i[n]=hu)},[{key:"changes",get:function(){return this._changes||(this._changes=new lu)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var i=ni(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];g(this,t),this.queries=e}return y(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;g(this,t),this.predicate=e,this.flags=n,this.read=i}),gu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];g(this,t),this.queries=e}return y(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;g(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return y(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(a[s/2]);else{for(var c=o[s+1],l=e[-u],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(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/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Ku))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),nc=function(){var t=function(){return y(function t(){g(this,t),this._applications=new Map,ic.addToWindow(this)},[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ic.findTestabilityInTree(this,t,e)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),ic=new(function(){return y(function t(){g(this,t)},[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}])}()),rc=!0,oc=!1;function ac(){return oc=!0,rc}var sc=new $n("AllowMultipleToken"),uc=y(function t(e,n){g(this,t),this.name=e,this.token=n});function cc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new $n(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=lc();if(!o||o.injector.get(sc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var a=n.concat(e).concat({provide:r,useValue:!0},{provide:ia,useValue:"platform"});!function(t){if($u&&!$u.destroyed&&!$u.injector.get(sc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");$u=t.get(hc);var e=t.get(Au,null);e&&e.forEach(function(t){return t()})}(pa.create({providers:a,name:i}))}return function(t){var e=lc();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}(r)}}function lc(){return $u&&!$u.destroyed?$u:null}var hc=function(){var t=function(){return y(function t(e){g(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1},[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,i=function(t,e){return"noop"===t?new tc:("zone.js"===t?void 0:t)||new Ku({enableLongStackTrace:ac(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)})}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:Ku,useValue:i}];return i.run(function(){var o=pa.create({providers:r,parent:n.injector,name:t.moduleType.name}),a=t.create(o),s=a.injector.get(Ur,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(function(){var t=i.onError.subscribe({next:function(t){s.handleError(t)}});a.onDestroy(function(){pc(n._modules,a),t.unsubscribe()})}),function(t,i,r){try{var o=((s=a.injector.get(Pu)).runInitializers(),s.donePromise.then(function(){return ss(a.injector.get(Du,as)||as),n._moduleDoBootstrap(a),a}));return Na(o)?o.catch(function(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}):o}catch(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}var s}(s,i)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=fc({},n);return function(t,e,n){var i=new uu(n);return Promise.resolve(i)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,i)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(dc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(gt(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)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(pa))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function fc(t,e){return Array.isArray(e)?e.reduce(fc,t):Object.assign(Object.assign({},t),e)}var dc=function(){var t=function(){return y(function t(e,n,i,r,o){var a=this;g(this,t),this._zone=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new R(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new R(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Ku.assertNotInAngularZone(),Gu(function(){!a._stable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks&&(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ku.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=ot(s,u.pipe(dt()))},[{key:"bootstrap",value:function(t,e){var n,i=this;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.");n=t instanceof us?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Gs),o=n.create(pa.NULL,[],e||n.selector,r),a=o.location.nativeElement,s=o.injector.get(ec,null),u=s&&o.injector.get(nc);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),pc(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=i(this._views);try{for(n.s();!(e=n.n()).done;){var r;e.value.detectChanges()}}catch(o){n.e(o)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;pc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Iu,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Ku),_i(pa),_i(Ur),_i(ls),_i(Pu))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function pc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var vc=y(function t(){g(this,t)}),gc=y(function t(){g(this,t)}),mc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},yc=function(){var t=function(){return y(function t(e,n){g(this,t),this._compiler=e,this._config=n||mc},[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var n=this,i=e(t.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),l(8255)(r).then(function(t){return t[o]}).then(function(t){return _c(t,r,o)}).then(function(t){return n._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var n=e(t.split("#"),2),i=n[0],r=n[1],o="NgFactory";return void 0===r&&(r="default",o=""),l(8255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[r+o]}).then(function(t){return _c(t,i,r)})}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(qu),_i(gc,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function _c(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var bc=cc(null,"core",[{provide:Ru,useValue:"unknown"},{provide:hc,deps:[pa]},{provide:nc,deps:[]},{provide:Nu,deps:[]}]),kc=[{provide:dc,useClass:dc,deps:[Ku,pa,Ur,ls,Pu]},{provide:iu,deps:[Ku],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Pu,useClass:Pu,deps:[[new Oi,Ou]]},{provide:qu,useClass:qu,deps:[]},Tu,{provide:As,useFactory:function(){return Hs},deps:[]},{provide:Is,useFactory:function(){return Bs},deps:[]},{provide:Du,useFactory:function(t){return ss(t=t||"undefined"!=typeof $localize&&$localize.locale||as),t},deps:[[new Si(Du),new Oi,new Pi]]},{provide:Fu,useValue:"USD"}],wc=function(){var t=y(function t(e){g(this,t)});return t.\u0275fac=function(e){return new(e||t)(_i(dc))},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:kc}),t}(),Cc=null;function xc(){return Cc}var Sc=new $n("DocumentToken"),Oc=function(){var t=function(){return y(function t(){g(this,t)},[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:Pc,token:t,providedIn:"platform"}),t}();function Pc(){return _i(Tc)}var Ec=new $n("Location Initialized"),Tc=function(){var t=function(t){function e(t){var n;return g(this,e),(n=u(this,e))._doc=t,n._init(),n}return p(e,t),y(e,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return xc().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=xc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=xc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){Mc()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){Mc()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}])}(Oc);return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:Ac,token:t,providedIn:"platform"}),t}();function Mc(){return!!window.history.pushState}function Ac(){return new Tc(_i(Sc))}function Rc(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Ic(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Nc(t){return t&&"?"!==t[0]?"?"+t:t}var Dc=function(){var t=function(){return y(function t(){g(this,t)},[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:Fc,token:t,providedIn:"root"}),t}();function Fc(t){var e=_i(Sc).location;return new jc(_i(Oc),e&&e.origin||"")}var Lc=new $n("appBaseHref"),jc=function(){var t=function(t){function e(t,n){var i;if(g(this,e),(i=u(this,e))._platformLocation=t,i._removeListenerFns=[],null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)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.");return i._baseHref=n,c(i)}return p(e,t),y(e,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return Rc(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+Nc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Nc(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Nc(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}])}(Dc);return t.\u0275fac=function(e){return new(e||t)(_i(Oc),_i(Lc,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),zc=function(){var t=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e))._platformLocation=t,i._baseHref="",i._removeListenerFns=[],null!=n&&(i._baseHref=n),i}return p(e,t),y(e,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=Rc(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Nc(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Nc(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}])}(Dc);return t.\u0275fac=function(e){return new(e||t)(_i(Oc),_i(Lc,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Hc=function(){var t=function(){function t(e,n){var i=this;g(this,t),this._subject=new lu,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=Ic(Uc(r)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return y(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+Nc(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Uc(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Nc(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Nc(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Dc),_i(Oc))},t.normalizeQueryParams=Nc,t.joinWithSlash=Rc,t.stripTrailingSlash=Ic,t.\u0275prov=Ot({factory:Bc,token:t,providedIn:"root"}),t}();function Bc(){return new Hc(_i(Dc),_i(Oc))}function Uc(t){return t.replace(/\/index.html$/,"")}var Vc=((Vc=Vc||{})[Vc.Zero=0]="Zero",Vc[Vc.One=1]="One",Vc[Vc.Two=2]="Two",Vc[Vc.Few=3]="Few",Vc[Vc.Many=4]="Many",Vc[Vc.Other=5]="Other",Vc),qc=y(function t(){g(this,t)}),Wc=function(){var t=function(t){function e(t){var n;return g(this,e),(n=u(this,e)).locale=t,n}return p(e,t),y(e,[{key:"getPluralCategory",value:function(t,e){switch(function(t){return function(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=rs(e);if(n)return n;var i=e.split("-")[0];if(n=rs(i))return n;if("en"===i)return ns;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}(t)[os.PluralCase]}(e||this.locale)(t)){case Vc.Zero:return"zero";case Vc.One:return"one";case Vc.Two:return"two";case Vc.Few:return"few";case Vc.Many:return"many";default:return"other"}}}])}(qc);return t.\u0275fac=function(e){return new(e||t)(_i(Du))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function Gc(t,n){n=encodeURIComponent(n);var r,o=i(t.split(";"));try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.indexOf("="),u=e(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),c=u[0],l=u[1];if(c.trim()===n)return decodeURIComponent(l)}}catch(h){o.e(h)}finally{o.f()}return null}var Kc=function(){var t=function(){return y(function t(e,n){g(this,t),this._viewContainer=e,this._context=new Zc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n},[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){Qc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){Qc("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){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)))}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Qs),Ea(Vs))},t.\u0275dir=ue({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),Zc=y(function t(){g(this,t),this.$implicit=null,this.ngIf=null});function Qc(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(gt(e),"'."))}var Jc=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:[{provide:qc,useClass:Wc}]}),t}(),Yc="browser";function Xc(t){return"server"===t}var $c=function(){var t=y(function t(){g(this,t)});return t.\u0275prov=Ot({token:t,providedIn:"root",factory:function(){return new tl(_i(Sc),window)}}),t}(),tl=function(){return y(function t(e,n){g(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}},[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var o=r.shadowRoot;if(o){var a=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(a)return a}r=i.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=el(this.window.history)||el(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}])}();function el(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var nl,il=y(function t(){g(this,t)}),rl=function(t){function e(){return g(this,e),u(this,e,arguments)}return p(e,t),y(e,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(ol=ol||document.querySelector("base"))?ol.getAttribute("href"):null;return null==e?null:function(t){(nl=nl||document.createElement("a")).setAttribute("href",t);var e=nl.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){ol=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return Gc(document.cookie,t)}}],[{key:"makeCurrent",value:function(){!function(t){Cc||(Cc=t)}(new e)}}])}(function(t){function e(){var t;return g(this,e),(t=u(this,e,arguments)).supportsDOMEvents=!0,t}return p(e,t),y(e)}(function(){return y(function t(){g(this,t)})}())),ol=null,al=new $n("TRANSITION_ID"),sl=[{provide:Ou,useFactory:function(t,e,n){return function(){n.get(Pu).donePromise.then(function(){for(var n=xc(),i=e.querySelectorAll('style[ng-transition="'.concat(t,'"]')),r=0;r1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Wt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Wt.getAllAngularRootElements=function(){return t.getAllRootElements()},Wt.frameworkStabilizers||(Wt.frameworkStabilizers=[]),Wt.frameworkStabilizers.push(function(t){var e=Wt.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?xc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){!function(t){ic=t}(new t)}}])}(),cl=function(){var t=function(){return y(function t(){g(this,t)},[{key:"build",value:function(){return new XMLHttpRequest}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),ll=new $n("EventManagerPlugins"),hl=function(){var t=function(){return y(function t(e,n){var i=this;g(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()},[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i-1&&(n.splice(e,1),o+=t+".")}),o+=r,0!=n.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Pl.hasOwnProperty(e)&&(e=Pl[e]))}return Ol[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Sl.forEach(function(i){i!=n&&El[i](t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,n,i){return function(r){e.getEventFullKey(r)===t&&i.runGuarded(function(){return n(r)})}}},{key:"_normalizeKey",value:function(t){return"esc"===t?"escape":t}}])}(fl);return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Ml=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:function(){return _i(Al)},token:t,providedIn:"root"}),t}(),Al=function(){var t=function(t){function e(t){var n;return g(this,e),(n=u(this,e))._doc=t,n}return p(e,t),y(e,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case jr.NONE:return e;case jr.HTML:return pr(e,"HTML")?dr(e):function(t,e){var n=null;try{xr=xr||function(t){var e=new mr(t);return function(){try{return!!(new window.DOMParser).parseFromString(ar(""),"text/html")}catch(t){return!1}}()?new gr(e):e}(t);var i=e?String(e):"";n=xr.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=xr.getInertBodyElement(i)}while(i!==o);return ar((new Ir).sanitizeChildren(Lr(n)||n))}finally{if(n)for(var a=Lr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}(this._doc,String(e)).toString();case jr.STYLE:return pr(e,"Style")?dr(e):e;case jr.SCRIPT:if(pr(e,"Script"))return dr(e);throw new Error("unsafe value used in a script context");case jr.URL:return vr(e),pr(e,"URL")?dr(e):br(String(e));case jr.RESOURCE_URL:if(pr(e,"ResourceURL"))return dr(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return function(t){return new ur(t)}(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return function(t){return new cr(t)}(t)}},{key:"bypassSecurityTrustScript",value:function(t){return function(t){return new lr(t)}(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return function(t){return new hr(t)}(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return function(t){return new fr(t)}(t)}}])}(Ml);return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:function(){return function(t){return new Al(t.get(Sc))}(_i(ea))},token:t,providedIn:"root"}),t}(),Rl=[{provide:Ru,useValue:Yc},{provide:Au,useValue:function(){rl.makeCurrent(),ul.init()},multi:!0},{provide:Sc,useFactory:function(){return function(t){Se=t}(document),document},deps:[]}],Il=cc(bc,"browser",Rl),Nl=[[],{provide:ia,useValue:"root"},{provide:Ur,useFactory:function(){return new Ur},deps:[]},{provide:ll,useClass:xl,multi:!0,deps:[Sc,Ku,Ru]},{provide:ll,useClass:Tl,multi:!0,deps:[Sc]},[],{provide:bl,useClass:bl,deps:[hl,pl,Eu]},{provide:gs,useExisting:bl},{provide:dl,useExisting:pl},{provide:pl,useClass:pl,deps:[Sc]},{provide:ec,useClass:ec,deps:[Ku]},{provide:hl,useClass:hl,deps:[ll,Ku]},{provide:il,useClass:cl,deps:[]},[]],Dl=function(){var t=function(){function t(e){if(g(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return y(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:Eu,useValue:e.appId},{provide:al,useExisting:Eu},sl]}}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(t,12))},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:Nl,imports:[Jc,wc]}),t}();function Fl(){return new Ll(_i(Sc))}var Ll=function(){var t=function(){return y(function t(e){g(this,t),this._doc=e,this._dom=xc()},[{key:"addTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?this._getOrCreateElement(t,e):null}},{key:"addTags",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?t.reduce(function(t,i){return i&&t.push(e._getOrCreateElement(i,n)),t},[]):[]}},{key:"getTag",value:function(t){return t&&this._doc.querySelector("meta[".concat(t,"]"))||null}},{key:"getTags",value:function(t){if(!t)return[];var e=this._doc.querySelectorAll("meta[".concat(t,"]"));return e?[].slice.call(e):[]}},{key:"updateTag",value:function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}},{key:"removeTag",value:function(t){this.removeTagElement(this.getTag(t))}},{key:"removeTagElement",value:function(t){t&&this._dom.remove(t)}},{key:"_getOrCreateElement",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!n){var i=this._parseSelector(t),r=this.getTags(i).filter(function(n){return e._containsAttributes(t,n)})[0];if(void 0!==r)return r}var o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}},{key:"_setMetaElementAttributes",value:function(t,e){var n=this;return Object.keys(t).forEach(function(i){return e.setAttribute(n._getMetaKeyMap(i),t[i])}),e}},{key:"_parseSelector",value:function(t){var e=t.name?"name":"property";return"".concat(e,'="').concat(t[e],'"')}},{key:"_containsAttributes",value:function(t,e){var n=this;return Object.keys(t).every(function(i){return e.getAttribute(n._getMetaKeyMap(i))===t[i]})}},{key:"_getMetaKeyMap",value:function(t){return jl[t]||t}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:Fl,token:t,providedIn:"root"}),t}(),jl={httpEquiv:"http-equiv"};function zl(){return new Hl(_i(Sc))}var Hl=function(){var t=function(){return y(function t(e){g(this,t),this._doc=e},[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:zl,token:t,providedIn:"root"}),t}();function Bl(){for(var t=arguments.length,e=new Array(t),n=0;n4&&void 0!==arguments[4]?arguments[4]:new ql(t,n,i);if(!r.closed)return e instanceof R?e.subscribe(r):K(e)(r)}var Gl={},Kl=function(){return y(function t(e){g(this,t),this.resultSelector=e},[{key:"call",value:function(t,e){return e.subscribe(new Zl(t,this.resultSelector))}}])}(),Zl=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return p(e,t),y(e,[{key:"_next",value:function(t){this.values.push(Gl),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n=2&&(n=!0),function(i){return i.lift(new ch(t,e,n))}}var ch=function(){return y(function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];g(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i},[{key:"call",value:function(t,e){return e.subscribe(new lh(t,this.accumulator,this.seed,this.hasSeed))}}])}(),lh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t])).accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return p(e,t),y(e,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}}])}(E);function hh(t,e){return function(n){return n.lift(new fh(t,e))}}var fh=function(){return y(function t(e,n){g(this,t),this.predicate=e,this.thisArg=n},[{key:"call",value:function(t,e){return e.subscribe(new dh(t,this.predicate,this.thisArg))}}])}(),dh=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t])).predicate=n,r.thisArg=i,r.count=0,r}return p(e,t),y(e,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}])}(E);function ph(t){return function(e){var n=new vh(t),i=e.lift(n);return n.caught=i}}var vh=function(){return y(function t(e){g(this,t),this.selector=e},[{key:"call",value:function(t,e){return e.subscribe(new gh(t,this.selector,this.caught))}}])}(),gh=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t])).selector=n,r.caught=i,r}return p(e,t),y(e,[{key:"error",value:function(t){if(!this.isStopped){var n;try{n=this.selector(t,this.caught)}catch(o){return void h(d(e.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new J(this);this.add(i);var r=X(n,i);r!==i&&this.add(r)}}}])}(Y);function mh(t,e){return tt(t,e,1)}function yh(t){return function(e){return 0===t?Xl():e.lift(new _h(t))}}var _h=function(){return y(function t(e){if(g(this,t),this.total=e,this.total<0)throw new ih},[{key:"call",value:function(t,e){return e.subscribe(new bh(t,this.total))}}])}(),bh=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).total=n,i.ring=new Array,i.count=0,i}return p(e,t),y(e,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:xh;return function(e){return e.lift(new wh(t))}}var wh=function(){return y(function t(e){g(this,t),this.errorFactory=e},[{key:"call",value:function(t,e){return e.subscribe(new Ch(t,this.errorFactory))}}])}(),Ch=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).errorFactory=n,i.hasValue=!1,i}return p(e,t),y(e,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}])}(E);function xh(){return new Ql}function Sh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new Oh(t))}}var Oh=function(){return y(function t(e){g(this,t),this.defaultValue=e},[{key:"call",value:function(t,e){return e.subscribe(new Ph(t,this.defaultValue))}}])}(),Ph=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).defaultValue=n,i.isEmpty=!0,i}return p(e,t),y(e,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}])}(E);function Eh(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?hh(function(e,n){return t(e,n,i)}):A,rh(1),n?Sh(e):kh(function(){return new Ql}))}}function Th(){}function Mh(t,e,n){return function(i){return i.lift(new Ah(t,e,n))}}var Ah=function(){return y(function t(e,n,i){g(this,t),this.nextOrObserver=e,this.error=n,this.complete=i},[{key:"call",value:function(t,e){return e.subscribe(new Rh(t,this.nextOrObserver,this.error,this.complete))}}])}(),Rh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t]))._tapNext=Th,o._tapError=Th,o._tapComplete=Th,o._tapError=i||Th,o._tapComplete=r||Th,f(n)?(o._context=c(o),o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||Th,o._tapError=n.error||Th,o._tapComplete=n.complete||Th),o}return p(e,t),y(e,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}])}(E);function Ih(t){return function(e){return e.lift(new Nh(t))}}var Nh=function(){return y(function t(e){g(this,t),this.callback=e},[{key:"call",value:function(t,e){return e.subscribe(new Dh(t,this.callback))}}])}(),Dh=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).add(new S(n)),i}return p(e,t),y(e)}(E),Fh=y(function t(e,n){g(this,t),this.id=e,this.url=n}),Lh=function(t){function e(t,n){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return g(this,e),(i=u(this,e,[t,n])).navigationTrigger=r,i.restoredState=o,i}return p(e,t),y(e,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(Fh),jh=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t,n])).urlAfterRedirects=i,r}return p(e,t),y(e,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}])}(Fh),zh=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t,n])).reason=i,r}return p(e,t),y(e,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(Fh),Hh=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t,n])).error=i,r}return p(e,t),y(e,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}])}(Fh),Bh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t,n])).urlAfterRedirects=i,o.state=r,o}return p(e,t),y(e,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(Fh),Uh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t,n])).urlAfterRedirects=i,o.state=r,o}return p(e,t),y(e,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(Fh),Vh=function(t){function e(t,n,i,r,o){var a;return g(this,e),(a=u(this,e,[t,n])).urlAfterRedirects=i,a.state=r,a.shouldActivate=o,a}return p(e,t),y(e,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}])}(Fh),qh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t,n])).urlAfterRedirects=i,o.state=r,o}return p(e,t),y(e,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(Fh),Wh=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e,[t,n])).urlAfterRedirects=i,o.state=r,o}return p(e,t),y(e,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(Fh),Gh=function(){return y(function t(e){g(this,t),this.route=e},[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}])}(),Kh=function(){return y(function t(e){g(this,t),this.route=e},[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}])}(),Zh=function(){return y(function t(e){g(this,t),this.snapshot=e},[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),Qh=function(){return y(function t(e){g(this,t),this.snapshot=e},[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),Jh=function(){return y(function t(e){g(this,t),this.snapshot=e},[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),Yh=function(){return y(function t(e){g(this,t),this.snapshot=e},[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),Xh=function(){return y(function t(e,n,i){g(this,t),this.routerEvent=e,this.position=n,this.anchor=i},[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}])}(),$h="primary",tf=function(){return y(function t(e){g(this,t),this.params=e||{}},[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}])}();function ef(t){return new tf(t)}var nf="ngNavigationCancelingError";function rf(t){var e=Error("NavigationCancelingError: "+t);return e[nf]=!0,e}function of(t,e,n){var i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.length0?t[t.length-1]:null}function lf(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function hf(t){return Da(t)?t:Na(t)?Q(Promise.resolve(t)):Bl(t)}var ff={exact:function t(e,n,i){if(!kf(e.segments,n.segments)||!mf(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children)if(!e.children[r]||!t(e.children[r],n.children[r],i))return!1;return!0},subset:vf},df={exact:function(t,e){return af(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return sf(t[n],e[n])})},ignored:function(){return!0}};function pf(t,e,n){return ff[n.paths](t.root,e.root,n.matrixParams)&&df[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function vf(t,e,n){return gf(t,e,e.segments,n)}function gf(t,e,n,i){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!(!kf(r,n)||e.hasChildren()||!mf(r,n,i))}if(t.segments.length===n.length){if(!kf(t.segments,n)||!mf(t.segments,n,i))return!1;for(var o in e.children)if(!t.children[o]||!vf(t.children[o],e.children[o],i))return!1;return!0}var a=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(kf(t.segments,a)&&mf(t.segments,a,i)&&t.children[$h])&&gf(t.children[$h],e,s,i)}function mf(t,e,n){return e.every(function(e,i){return df[n](t[i].parameters,e.parameters)})}var yf=function(){return y(function t(e,n,i){g(this,t),this.root=e,this.queryParams=n,this.fragment=i},[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ef(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return xf.serialize(this)}}])}(),_f=function(){return y(function t(e,n){var i=this;g(this,t),this.segments=e,this.children=n,this.parent=null,lf(n,function(t,e){return t.parent=i})},[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Sf(this)}}])}(),bf=function(){return y(function t(e,n){g(this,t),this.path=e,this.parameters=n},[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ef(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Rf(this)}}])}();function kf(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var wf=y(function t(){g(this,t)}),Cf=function(){return y(function t(){g(this,t)},[{key:"parse",value:function(t){var e=new Lf(t);return new yf(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e="/".concat(Of(t.root,!0)),n=function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(Ef(e),"=").concat(Ef(t))}).join("&"):"".concat(Ef(e),"=").concat(Ef(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams),i="string"==typeof t.fragment?"#".concat(function(t){return encodeURI(t)}(t.fragment)):"";return"".concat(e).concat(n).concat(i)}}])}(),xf=new Cf;function Sf(t){return t.segments.map(function(t){return Rf(t)}).join("/")}function Of(t,e){if(!t.hasChildren())return Sf(t);if(e){var n=t.children[$h]?Of(t.children[$h],!1):"",i=[];return lf(t.children,function(t,e){e!==$h&&i.push("".concat(e,":").concat(Of(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(t,e){var n=[];return lf(t.children,function(t,i){i===$h&&(n=n.concat(e(t,i)))}),lf(t.children,function(t,i){i!==$h&&(n=n.concat(e(t,i)))}),n}(t,function(e,n){return n===$h?[Of(t.children[$h],!1)]:["".concat(n,":").concat(Of(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[$h]?"".concat(Sf(t),"/").concat(r[0]):"".concat(Sf(t),"/(").concat(r.join("//"),")")}function Pf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ef(t){return Pf(t).replace(/%3B/gi,";")}function Tf(t){return Pf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mf(t){return decodeURIComponent(t)}function Af(t){return Mf(t.replace(/\+/g,"%20"))}function Rf(t){return"".concat(Tf(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(Tf(e),"=").concat(Tf(t[e]))}).join("")}(t.parameters))}var If=/^[^\/()?;=#]+/;function Nf(t){var e=t.match(If);return e?e[0]:""}var Df=/^[^=?&#]+/,Ff=/^[^?&#]+/,Lf=function(){return y(function t(e){g(this,t),this.url=e,this.remaining=e},[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new _f([],{}):new _f([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[$h]=new _f(t,e)),n}},{key:"parseSegment",value:function(){var t=Nf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new bf(Mf(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Nf(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Nf(this.remaining);i&&(n=i,this.capture(n))}t[Mf(e)]=Mf(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Df);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Ff);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Af(e),o=Af(n);if(t.hasOwnProperty(r)){var a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Nf(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=$h);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[$h]:new _f([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}])}(),jf=function(){return y(function t(e){g(this,t),this._root=e},[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=zf(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=zf(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Hf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Hf(t,this._root).map(function(t){return t.value})}}])}();function zf(t,e){if(t===e.value)return e;var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=zf(t,n.value);if(o)return o}}catch(a){r.e(a)}finally{r.f()}return null}function Hf(t,e){if(t===e.value)return[e];var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=Hf(t,n.value);if(o.length)return o.unshift(e),o}}catch(a){r.e(a)}finally{r.f()}return[]}var Bf=function(){return y(function t(e,n){g(this,t),this.value=e,this.children=n},[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}])}();function Uf(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Vf=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).snapshot=n,Qf(c(i),t),i}return p(e,t),y(e,[{key:"toString",value:function(){return this.snapshot.toString()}}])}(jf);function qf(t,e){var n=function(t,e){var n=new Kf([],{},{},"",{},$h,e,null,t.root,-1,{});return new Zf("",new Bf(n,[]))}(t,e),i=new Ul([new bf("",{})]),r=new Ul({}),o=new Ul({}),a=new Ul({}),s=new Ul(""),u=new Wf(i,r,a,s,o,$h,e,n.root);return u.snapshot=n.root,new Vf(new Bf(u,[]),n)}var Wf=function(){return y(function t(e,n,i,r,o,a,s,u){g(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u},[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(H(function(t){return ef(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(function(t){return ef(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}])}();function Gf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(t){return t.reduce(function(t,e){return{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(i))}var Kf=function(){return y(function t(e,n,i,r,o,a,s,u,c,l,h){g(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h},[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ef(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ef(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}])}(),Zf=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[n])).url=t,Qf(c(i),n),i}return p(e,t),y(e,[{key:"toString",value:function(){return Jf(this._root)}}])}(jf);function Qf(t,e){e.value._routerState=t,e.children.forEach(function(e){return Qf(t,e)})}function Jf(t){var e=t.children.length>0?" { ".concat(t.children.map(Jf).join(", ")," } "):"";return"".concat(t.value).concat(e)}function Yf(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,af(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),af(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ed(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(nd);if(r&&r!==cf(i))throw new Error("{outlets:{}} has to be the last command")},[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}])}(),ad=y(function t(e,n,i){g(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i});function sd(t,e,n){if(t||(t=new _f([],{})),0===t.segments.length&&t.hasChildren())return ud(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=t.segments[r],s=n[i];if(nd(s))break;var u="".concat(s),c=i0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!fd(u,c,a))return o;i+=2}else{if(!fd(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Pd):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(e.matcher||of)(n,t,e);if(!r)return Object.assign({},Pd);var o={};lf(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Td(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return Md(t,e,n)&&Sd(n)!==$h})}(t,n,r)){var a=new _f(e,function(t,e,n,r){var o={};o[$h]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var a,s=i(n);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(""===u.path&&Sd(u)!==$h){var c=new _f([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,o[Sd(u)]=c}}}catch(l){s.e(l)}finally{s.f()}return o}(t,e,r,new _f(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return Md(t,e,n)})}(t,n,r)){var s=new _f(t.segments,function(t,e,n,r,o,a){var s,u={},c=i(r);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(Md(t,n,l)&&!o[Sd(l)]){var h=new _f([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,u[Sd(l)]=h}}}catch(f){c.e(f)}finally{c.f()}return Object.assign(Object.assign({},o),u)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new _f(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function Md(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ad(t,e,n,i){return!!(Sd(t)===i||i!==$h&&Md(e,n,t))&&("**"===t.path||Ed(e,t,n).matched)}function Rd(t,e,n){return 0===e.length&&!t.children[n]}var Id=y(function t(e){g(this,t),this.segmentGroup=e||null}),Nd=y(function t(e){g(this,t),this.urlTree=e});function Dd(t){return new R(function(e){return e.error(new Id(t))})}function Fd(t){return new R(function(e){return e.error(new Nd(t))})}function Ld(t){return new R(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var jd=function(){return y(function t(e,n,i,r,o){g(this,t),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(Gs)},[{key:"apply",value:function(){var t=this,e=Td(this.urlTree.root,[],[],this.config).segmentGroup,n=new _f(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,$h).pipe(H(function(e){return t.createUrlTree(zd(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(ph(function(e){if(e instanceof Nd)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Id?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,$h).pipe(H(function(n){return e.createUrlTree(zd(n),t.queryParams,t.fragment)})).pipe(ph(function(t){throw t instanceof Id?e.noMatchError(t):t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,n,i){var r=e.segments.length>0?new _f([],t({},$h,e)):e;return new yf(r,n,i)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(H(function(t){return new _f([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){for(var i=this,r=[],o=0,a=Object.keys(n.children);o=2;return function(i){return i.pipe(t?hh(function(e,n){return t(e,n,i)}):A,yh(1),n?Sh(e):kh(function(){return new Ql}))}}())}},{key:"expandSegment",value:function(t,e,n,i,r,o){var a=this;return Q(n).pipe(mh(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,i,r,o).pipe(ph(function(t){if(t instanceof Id)return Bl(null);throw t}))}),Eh(function(t){return!!t}),ph(function(t,n){if(t instanceof Ql||"EmptyError"===t.name){if(Rd(e,i,r))return Bl(new _f([],{}));throw new Id(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,o,a){return Ad(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Dd(e):Dd(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Fd(o):this.lineralizeSegments(n,o).pipe(tt(function(n){var o=new _f(n,{});return r.expandSegment(t,o,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){var a=this,s=Ed(e,i,r),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Dd(e);var f=this.applyRedirectCommands(c,i.redirectTo,h);return i.redirectTo.startsWith("/")?Fd(f):this.lineralizeSegments(i,f).pipe(tt(function(i){return a.expandSegment(t,e,n,i.concat(r.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Bl(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(H(function(t){return n._loadedConfig=t,new _f(i,{})})):Bl(new _f(i,{}));var a=Ed(e,n,i),s=a.matched,u=a.consumedSegments,c=a.lastChild;if(!s)return Dd(e);var l=i.slice(c);return this.getChildConfig(t,n,i).pipe(tt(function(t){var i=t.module,a=t.routes,s=Td(e,u,l,a),c=s.segmentGroup,h=s.slicedSegments,f=new _f(c.segments,c.children);if(0===h.length&&f.hasChildren())return o.expandChildren(i,a,f).pipe(H(function(t){return new _f(u,t)}));if(0===a.length&&0===h.length)return Bl(new _f(u,{}));var d=Sd(n)===r;return o.expandSegment(i,f,a,h,d?$h:r,!0).pipe(H(function(t){return new _f(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?Bl(new vd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Bl(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(tt(function(n){return n?i.configLoader.load(t.injector,e).pipe(H(function(t){return e._loadedConfig=t,t})):function(t){return new R(function(e){return e.error(rf("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))})}(e)})):Bl(new vd([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;if(!r||0===r.length)return Bl(!0);var o=r.map(function(i){var r,o=t.get(i);if(function(t){return t&&gd(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!gd(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return hf(r)});return Bl(o).pipe(_d(),Mh(function(t){if(md(t)){var e=rf('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),H(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Bl(n);if(i.numberOfChildren>1||!i.children[$h])return Ld(t.redirectTo);i=i.children[$h]}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new yf(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return lf(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),a={};return lf(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,n,i)}),new _f(o,a)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,r=0,o=i(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(r),a;r++}}catch(s){o.e(s)}finally{o.f()}return t}}])}();function zd(t){for(var e={},n=0,i=Object.keys(t.children);n0||o.hasChildren())&&(e[r]=o)}return function(t){if(1===t.numberOfChildren&&t.children[$h]){var e=t.children[$h];return new _f(t.segments.concat(e.segments),e.children)}return t}(new _f(t.segments,e))}var Hd=y(function t(e){g(this,t),this.path=e,this.route=this.path[this.path.length-1]}),Bd=y(function t(e,n){g(this,t),this.component=e,this.route=n});function Ud(t,e,n){var i=t._root;return qd(i,e?e._root:null,n,[i.value])}function Vd(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function qd(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Uf(e);return t.children.forEach(function(t){(function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!kf(t.url,e.url);case"pathParamsOrQueryParamsChange":return!kf(t.url,e.url)||!af(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xf(t,e)||!af(t.queryParams,e.queryParams);default:return!Xf(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Hd(i)):(o.data=a.data,o._resolvedData=a._resolvedData),qd(t,e,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Bd(s.outlet.component,a))}else a&&Wd(e,s,r),r.canActivateChecks.push(new Hd(i)),qd(t,null,o.component?s?s.children:null:n,i,r)})(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),lf(o,function(t,e){return Wd(t,n.getContext(e),r)}),r}function Wd(t,e,n){var i=Uf(t),r=t.value;lf(i,function(t,i){Wd(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Bd(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Gd=y(function t(){g(this,t)});function Kd(t){return new R(function(e){return e.error(t)})}var Zd=function(){return y(function t(e,n,i,r,o,a){g(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a},[{key:"recognize",value:function(){var t=Td(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,$h);if(null===e)return null;var n=new Kf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},$h,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Bf(n,e),r=new Zf(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=Gf(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var i=[],r=0,o=Object.keys(e.children);r0?cf(n).parameters:{};r=new Kf(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(t),Sd(t),t.component,t,Jd(e),Yd(e)+n.length,$d(t))}else{var u=Ed(e,t,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new Kf(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(t),Sd(t),t.component,t,Jd(e),Yd(e)+o.length,$d(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),l=Td(e,o,a,c.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),h=l.segmentGroup,f=l.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(c,h);return null===d?null:[new Bf(r,d)]}if(0===c.length&&0===f.length)return[new Bf(r,[])];var p=Sd(t)===i,v=this.processSegment(c,h,f,p?$h:i);return null===v?null:[new Bf(r,v)]}}])}();function Qd(t){var e,r=[],o=new Set,a=i(t);try{var s=function(){var t,i=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(i))return r.push(i),1;var a=r.find(function(t){return i.value.routeConfig===t.value.routeConfig});void 0!==a?((t=a.children).push.apply(t,n(i.children)),o.add(a)):r.push(i)};for(a.s();!(e=a.n()).done;)s()}catch(f){a.e(f)}finally{a.f()}var u,c=i(o);try{for(c.s();!(u=c.n()).done;){var l=u.value,h=Qd(l.children);r.push(new Bf(l.value,h))}}catch(f){c.e(f)}finally{c.f()}return r.filter(function(t){return!o.has(t)})}function Jd(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Yd(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Xd(t){return t.data||{}}function $d(t){return t.resolve||{}}function tp(t){return th(function(e){var n=t(e);return n?Q(n).pipe(H(function(){return e})):Bl(e)})}var ep=function(t){function e(){return g(this,e),u(this,e,arguments)}return p(e,t),y(e)}(function(){return y(function t(){g(this,t)},[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}])}()),np=new $n("ROUTES"),ip=function(){return y(function t(e,n,i,r){g(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r},[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var i=this.loadModuleFactory(e.loadChildren).pipe(H(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new vd(uf(r.injector.get(np,void 0,Ft.Self|Ft.Optional)).map(xd),r)}),ph(function(t){throw e._loader$=void 0,t}));return e._loader$=new ct(i,function(){return new L}).pipe(at()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?Q(this.loader.load(t)):hf(t()).pipe(tt(function(t){return t instanceof Ks?Bl(t):Q(e.compiler.compileModuleAsync(t))}))}}])}(),rp=y(function t(){g(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new op,this.attachRef=null}),op=function(){return y(function t(){g(this,t),this.contexts=new Map},[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new rp,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}])}(),ap=function(){return y(function t(){g(this,t)},[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}])}();function sp(t){throw t}function up(t,e,n){return e.parse("/")}function cp(t,e){return Bl(null)}var lp={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},fp=function(){var t=function(){return y(function t(e,n,i,r,o,a,s,u){var c=this;g(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new L,this.errorHandler=sp,this.malformedUriErrorHandler=up,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:cp,afterPreactivation:cp},this.urlHandlingStrategy=new ap,this.routeReuseStrategy=new ep,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Gs),this.console=o.get(Nu);var l=o.get(Ku);this.isNgZoneEnabled=l instanceof Ku&&Ku.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new yf(new _f([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ip(a,s,function(t){return c.triggerEvent(new Gh(t))},function(t){return c.triggerEvent(new Kh(t))}),this.routerState=qf(this.currentUrlTree,this.rootComponentType),this.transitions=new Ul({id:0,targetPageId: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()},[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe(hh(function(t){return 0!==t.id}),H(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),th(function(t){var i=!1,r=!1;return Bl(t).pipe(Mh(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),th(function(t){var i=e.browserUrlTree.toString(),o=!e.navigated||t.extractedUrl.toString()!==i||i!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||o)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return dp(t.source)&&(e.browserUrlTree=t.extractedUrl),Bl(t).pipe(th(function(t){var i=e.transitions.getValue();return n.next(new Lh(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?Yl:Promise.resolve(t)}),function(t,e,n,i){return th(function(r){return function(t,e,n,i,r){return new jd(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe(H(function(t){return Object.assign(Object.assign({},r),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),Mh(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,o,a){return tt(function(i){return function(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new Zd(t,e,n,i,o,a).recognize();return null===s?Kd(new Gd):Bl(s)}catch(r){return Kd(r)}}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe(H(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Mh(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var i=new Bh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(o&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var a=t.id,s=t.extractedUrl,u=t.source,c=t.restoredState,l=t.extras,h=new Lh(a,e.serializeUrl(s),u,c);n.next(h);var f=qf(s,e.rootComponentType).snapshot;return Bl(Object.assign(Object.assign({},t),{targetSnapshot:f,urlAfterRedirects:s,extras:Object.assign(Object.assign({},l),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Yl}),tp(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),Mh(function(t){var n=new Uh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),H(function(t){return Object.assign(Object.assign({},t),{guards:Ud(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return tt(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Bl(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Q(t).pipe(tt(function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?Bl(o.map(function(o){var a,s=Vd(o,e,r);if(function(t){return t&&gd(t.canDeactivate)}(s))a=hf(s.canDeactivate(t,e,n,i));else{if(!gd(s))throw new Error("Invalid CanDeactivate guard");a=hf(s(t,e,n,i))}return a.pipe(Eh())})).pipe(_d()):Bl(!0)}(t.component,t.route,n,e,i)}),Eh(function(t){return!0!==t},!0))}(s,i,r,t).pipe(tt(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return Q(e).pipe(mh(function(e){return Jl(function(t,e){return null!==t&&e&&e(new Zh(t)),Bl(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new Jh(t)),Bl(!0)}(e.route,i),function(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return $l(function(){return Bl(e.guards.map(function(r){var o,a=Vd(r,e.node,n);if(function(t){return t&&gd(t.canActivateChild)}(a))o=hf(a.canActivateChild(i,t));else{if(!gd(a))throw new Error("Invalid CanActivateChild guard");o=hf(a(i,t))}return o.pipe(Eh())})).pipe(_d())})});return Bl(r).pipe(_d())}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Bl(!0);var r=i.map(function(i){return $l(function(){var r,o=Vd(i,e,n);if(function(t){return t&&gd(t.canActivate)}(o))r=hf(o.canActivate(e,t));else{if(!gd(o))throw new Error("Invalid CanActivate guard");r=hf(o(e,t))}return r.pipe(Eh())})});return Bl(r).pipe(_d())}(t,e.route,n))}),Eh(function(t){return!0!==t},!0))}(i,a,t,e):Bl(n)}),H(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Mh(function(t){if(md(t.guardsResult)){var n=rf('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var i=new Vh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)}),hh(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),tp(function(t){if(t.guards.canActivateChecks.length)return Bl(t).pipe(Mh(function(t){var n=new qh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),th(function(t){var n=!1;return Bl(t).pipe(function(t,e){return tt(function(n){var i=n.targetSnapshot,r=n.guards.canActivateChecks;if(!r.length)return Bl(n);var o=0;return Q(r).pipe(mh(function(n){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Bl({});var o={};return Q(r).pipe(tt(function(r){return function(t,e,n,i){var r=Vd(t,e,i);return hf(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Mh(function(t){o[r]=t}))}),yh(1),tt(function(){return Object.keys(o).length===r.length?Bl(o):Yl}))}(t._resolve,t,e,i).pipe(H(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Gf(t,n).resolve),null}))}(n.route,i,t,e)}),Mh(function(){return o++}),yh(1),tt(function(t){return o===r.length?Bl(n):Yl}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),Mh({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),Mh(function(t){var n=new Wh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),tp(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),H(function(t){var n=function(t,e,n){var i=$f(t,e._root,n?n._root:void 0);return new Vf(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),Mh(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),function(t,e,n){return H(function(i){return new dd(e,i.targetRouterState,i.currentRouterState,n).activate(t),i})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),Mh({next:function(){i=!0},complete:function(){i=!0}}),Ih(function(){var n;if(!i&&!r){var o="Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId);"replace"===e.canceledNavigationResolution?(e.restoreHistory(t),e.cancelNavigationTransition(t,o)):e.cancelNavigationTransition(t,o)}(null===(n=e.currentNavigation)||void 0===n?void 0:n.id)===t.id&&(e.currentNavigation=null)}),ph(function(i){if(r=!0,function(t){return t&&t[nf]}(i)){var o=md(i.url);o||(e.navigated=!0,e.restoreHistory(t,!0));var a=new zh(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(a),o?setTimeout(function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree),r={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||dp(t.source)};e.scheduleNavigation(n,"imperative",null,r,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.restoreHistory(t,!0);var s=new Hh(t.id,e.serializeUrl(t.extractedUrl),i);n.next(s);try{t.resolve(e.errorHandler(i))}catch(a){t.reject(a)}}return Yl}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}t.scheduleNavigation(r,e,i,o)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){kd(t),this.config=t.map(xd),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.queryParamsHandling,s=e.preserveFragment,u=i||this.routerState.root,c=s?this.currentUrlTree.fragment:o,l=null;switch(a){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,i,r,o){if(0===i.length)return id(e.root,e.root,e,r,o);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new od(!0,0,t);var e=0,i=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return lf(r.outlets,function(t,e){a[e]="string"==typeof t?t.split("/"):t}),[].concat(n(t),[{outlets:a}])}if(r.segmentPath)return[].concat(n(t),[r.segmentPath])}return"string"!=typeof r?[].concat(n(t),[r]):0===o?(r.split("/").forEach(function(n,r){0==r&&"."===n||(0==r&&""===n?i=!0:".."===n?e++:""!=n&&t.push(n))}),t):[].concat(n(t),[r])},[]);return new od(i,e,r)}(i);if(a.toRoot())return id(e.root,new _f([],{}),e,r,o);var s=function(t,e,n){if(t.isAbsolute)return new ad(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new ad(i,i===e.root,0)}var r=ed(t.commands[0])?0:1;return function(t,e,n){for(var i=t,r=e,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new ad(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),u=s.processChildren?ud(s.segmentGroup,s.index,a.commands):sd(s.segmentGroup,s.index,a.commands);return id(s.segmentGroup,u,e,r,o)}(u,this.currentUrlTree,t,l,null!=c?c:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=md(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(e=this.currentNavigation)||void 0===e?void 0:e.finalUrl)||0===r?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){var n=new zh(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(ei),_i(wf),_i(op),_i(Hc),_i(pa),_i(vc),_i(qu),_i(void 0))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function dp(t){return"imperative"!==t}var pp=function(){var t=function(){return y(function t(e,n,i){var r=this;g(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new L,this.subscription=e.events.subscribe(function(t){t instanceof jh&&r.updateTargetUrlAndHref()})},[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i,r){if(0!==t||e||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:vp(this.skipLocationChange),replaceUrl:vp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:vp(this.preserveFragment)})}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(fp),Ea(Wf),Ea(Dc))},t.\u0275dir=ue({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Fa("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&($a("href",e.href,zr),Oa("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ke]}),t}();function vp(t){return""===t||!!t}var gp=function(){var t=function(){return y(function t(e,n,i,r,o){g(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new lu,this.deactivateEvents=new lu,this.name=r||$h,e.onChildOutletCreated(this.name,this)},[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new mp(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(op),Ea(Qs),Ea(ls),Jn("name"),Ea(js))},t.\u0275dir=ue({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),mp=function(){return y(function t(e,n,i){g(this,t),this.route=e,this.childContexts=n,this.parent=i},[{key:"get",value:function(t,e){return t===Wf?this.route:t===op?this.childContexts:this.parent.get(t,e)}}])}(),yp=y(function t(){g(this,t)}),_p=function(){return y(function t(){g(this,t)},[{key:"preload",value:function(t,e){return Bl(null)}}])}(),bp=function(){var t=function(){return y(function t(e,n,i,r,o){g(this,t),this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new ip(n,i,function(t){return e.triggerEvent(new Gh(t))},function(t){return e.triggerEvent(new Kh(t))})},[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe(hh(function(t){return t instanceof jh}),mh(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(Gs);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,r=[],o=i(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var s=a._loadedConfig;r.push(this.processRoutes(s.module,s.routes))}else a.loadChildren&&!a.canLoad?r.push(this.preloadConfig(t,a)):a.children&&r.push(this.processRoutes(t,a.children))}}catch(u){o.e(u)}finally{o.f()}return Q(r).pipe(it(),H(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?Bl(e._loadedConfig):n.loader.load(t.injector,e)).pipe(tt(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(fp),_i(vc),_i(qu),_i(pa),_i(yp))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),kp=function(){var t=function(){return y(function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};g(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"},[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Lh?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof jh&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Xh&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new Xh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(fp),_i($c),_i(void 0))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),wp=new $n("ROUTER_CONFIGURATION"),Cp=new $n("ROUTER_FORROOT_GUARD"),xp=[Hc,{provide:wf,useClass:Cf},{provide:fp,useFactory:function(t,e,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new fp(null,t,e,n,i,r,o,uf(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[wf,op,Hc,pa,vc,qu,np,wp,[function(){return y(function t(){g(this,t)})}(),new Oi],[function(){return y(function t(){g(this,t)})}(),new Oi]]},op,{provide:Wf,useFactory:function(t){return t.routerState.root},deps:[fp]},{provide:vc,useClass:yc},bp,_p,function(){return y(function t(){g(this,t)},[{key:"preload",value:function(t,e){return e().pipe(ph(function(){return Bl(null)}))}}])}(),{provide:wp,useValue:{enableTracing:!1}}];function Sp(){return new uc("Router",fp)}var Op=function(){var t=function(){function t(e,n){g(this,t)}return y(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[xp,Mp(e),{provide:Cp,useFactory:Tp,deps:[[fp,new Oi,new Pi]]},{provide:wp,useValue:n||{}},{provide:Dc,useFactory:Ep,deps:[Oc,[new Si(Lc),new Oi],wp]},{provide:kp,useFactory:Pp,deps:[fp,$c,wp]},{provide:yp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:_p},{provide:uc,multi:!0,useFactory:Sp},[Ap,{provide:Ou,multi:!0,useFactory:Rp,deps:[Ap]},{provide:Np,useFactory:Ip,deps:[Ap]},{provide:Iu,multi:!0,useExisting:Np}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Mp(e)]}}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Cp,8),_i(fp,8))},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({}),t}();function Pp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new kp(t,e,n)}function Ep(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new zc(t,e):new jc(t,e)}function Tp(t){return"guarded"}function Mp(t){return[{provide:ti,multi:!0,useValue:t},{provide:np,multi:!0,useValue:t}]}var Ap=function(){var t=function(){return y(function t(e){g(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new L},[{key:"appInitializer",value:function(){var t=this;return this.injector.get(Ec,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(fp),r=t.injector.get(wp);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?Bl(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(wp),n=this.injector.get(bp),i=this.injector.get(kp),r=this.injector.get(fp),o=this.injector.get(dc);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(pa))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function Rp(t){return t.appInitializer.bind(t)}function Ip(t){return t.bootstrapListener.bind(t)}var Np=new $n("Router Initializer"),Dp=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t,n])).scheduler=t,i.work=n,i.pending=!1,i}return p(e,t),y(e,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}])}(function(t){function e(t,n){return g(this,e),u(this,e)}return p(e,t),y(e,[{key:"schedule",value:function(t){return this}}])}(S)),Fp=function(){var t=function(){return y(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;g(this,t),this.SchedulerAction=e,this.now=n},[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}])}();return t.now=function(){return Date.now()},t}(),Lp=function(t){function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fp.now;return g(this,e),(n=u(this,e,[t,function(){return e.delegate&&e.delegate!==c(n)?e.delegate.now():i()}])).actions=[],n.active=!1,n.scheduled=void 0,n}return p(e,t),y(e,[{key:"schedule",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return e.delegate&&e.delegate!==this?e.delegate.schedule(t,n,i):h(d(e.prototype),"schedule",this).call(this,t,n,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}}}])}(Fp),jp=new Lp(Dp);function zp(t){return!k(t)&&t-parseFloat(t)+1>=0}function Hp(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return zp(e)?i=Number(e)<1?1:Number(e):z(e)&&(n=e),z(n)||(n=jp),new R(function(e){var r=zp(t)?t:+t-n.now();return n.schedule(Bp,r,{index:0,period:i,subscriber:e})})}function Bp(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}var Up=function(){var t=function(){return y(function t(){g(this,t)},[{key:"goTo",value:function(t){$("html").animate({scrollTop:$(t).offset().top-40},"slow")}},{key:"GA",value:function(t,e,n){gtag("event",t,{event_category:e,event_label:n,value:1})}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Vp=function(){var t=y(function t(e){var n=e.nativeElement;g(this,t);var i="loading"in HTMLImageElement.prototype,r=n.getAttribute("src")||"";/\.jpg$|\.png$/.test(r),i&&(/no-lazy/.test(n.className)||n.setAttribute("loading","lazy"))});return t.\u0275fac=function(e){return new(e||t)(Ea(ps))},t.\u0275dir=ue({type:t,selectors:[["img"]]}),t}(),qp=function(){var t=function(){return y(function t(e){g(this,t),this.share=e},[{key:"ngOnInit",value:function(){}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Up))},t.\u0275cmp=ne({type:t,selectors:[["app-header"]],decls:21,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","fixed-top","bg-white",2,"z-index","900"],[1,"container-fluid"],["routerLink","/portal",1,"navbar-brand","ms-lg-5",3,"click"],["src","/assets/image/logo.png","alt","",1,"img-logo"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","btn-nav-open"],[1,"navbar-toggler-icon"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","btn-nav-close","btn-close"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","ms-auto","mb-2","mb-lg-0"],[1,"nav-item","active"],["routerLink","/product01","data-category","\u9078\u55ae","data-label","\u7522\u54c1\u4ecb\u7d39","onclick","$('body').width() <= 992 ? $('.container-fluid > button').trigger('click') : '';",1,"nav-link",3,"click"],["routerLink","/router","data-category","\u9078\u55ae","data-label","\u8ca9\u8ce3\u901a\u8def","onclick","$('body').width() <= 992 ? $('.container-fluid > button').trigger('click') : '';",1,"nav-link",3,"click"],[1,"nav-item","d-lg-none","py-5"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"navbar-brand",3,"click"],["src","./assets/image/nestle_logo.png","alt","",1,"img-logo"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"navbar-brand","d-none","d-lg-inline-block","ms-3","me-lg-5",3,"click"],[1,"nav-space"]],template:function(t,e){1&t&&(Aa(0,"nav",0),Aa(1,"div",1),Aa(2,"a",2),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u7acb\u651d\u9069\u7a69\u512aLOGO"),e.share.goTo("body")}),Ia(3,"img",3),Ra(),Aa(4,"button",4),Ia(5,"span",5),Ra(),Ia(6,"button",6),Aa(7,"div",7),Aa(8,"ul",8),Aa(9,"li",9),Aa(10,"a",10),Fa("click",function(){return e.share.goTo("body"),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u7522\u54c1\u4ecb\u7d39")}),Ya(11,"\u7522\u54c1\u4ecb\u7d39"),Ra(),Ra(),Aa(12,"li",9),Aa(13,"a",11),Fa("click",function(){return e.share.goTo("body"),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u901a\u8def\u8207\u670d\u52d9")}),Ya(14,"\u901a\u8def\u8207\u670d\u52d9"),Ra(),Ra(),Aa(15,"li",12),Aa(16,"a",13),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2Logo")}),Ia(17,"img",14),Ra(),Ra(),Ra(),Ra(),Aa(18,"a",15),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),Ia(19,"img",14),Ra(),Ra(),Ra(),Ia(20,"div",16))},directives:[pp,Vp],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{padding:15px 5px;position:relative}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:15px;color:#588eec}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{box-shadow:0 10px 15px #00000026;border-radius:0 0 10px 10px;background:#ffffff;font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]:nth-last-child(1){left:-40px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#00205c}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a.dropdown-item[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:focus a.dropdown-item[_ngcontent-%COMP%]{background-color:#faf8d6!important}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#9b77b6;font-size:12px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item[_ngcontent-%COMP%]{padding:5px 27px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-01[_ngcontent-%COMP%]{color:#588eec}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-02[_ngcontent-%COMP%]{color:#e60042}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-03[_ngcontent-%COMP%]{color:#007133}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.nav-link[_ngcontent-%COMP%]{color:#006a9e;font-size:15px}nav[_ngcontent-%COMP%] img.img-logo[_ngcontent-%COMP%]{height:40px}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover, .navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:focus{color:#588eec!important}.nav-space[_ngcontent-%COMP%]{margin-top:73px}@media (max-width: 992px){.nav-space[_ngcontent-%COMP%]{margin-top:42px}nav[_ngcontent-%COMP%] .btn-nav-open[aria-expanded=false][_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .btn-nav-close[aria-expanded=true][_ngcontent-%COMP%]{display:inline-block}nav[_ngcontent-%COMP%] .btn-nav-open[aria-expanded=true][_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .btn-nav-close[aria-expanded=false][_ngcontent-%COMP%]{display:none}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{padding:10px 5px;text-align:center}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{background-color:#f8f9fa;box-shadow:0 10px 15px -5px #00000026;border-radius:0;border-left:0;border-top:0;border-right:0}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{text-align:center}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-toggle.show[_ngcontent-%COMP%]:after{border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}nav[_ngcontent-%COMP%] img.img-logo[_ngcontent-%COMP%]{height:26px}}']}),t}(),Wp=[[["","outside",""]],[["","inside",""]]],Gp=["[outside]","[inside]"],Kp=function(){var t=function(){return y(function t(e,n,i){g(this,t),this.title=e,this.meta=n,this.share=i,this.basePath="/sites/default/files/",this.gaEventName="\u5165\u53e3\u7db2"},[{key:"ngOnInit",value:function(){}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Hl),Ea(Ll),Ea(Up))},t.\u0275cmp=ne({type:t,selectors:[["app-route-nav"]],ngContentSelectors:Gp,decls:44,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["href","https://www.nestlehealthscience.com.tw/","target","_blank"],["src","./assets/image/footer_nestle_logo.png","alt","",1,"logo",2,"max-width","280px"],[1,"item","col-lg-4","p-3","d-none","d-lg-block"],[1,"title"],[1,"content","mt-3"],["href","tel:0800-070-127","target","_blank",1,"unsetLink"],[1,"content","mt-5"],[1,"route","mt-3"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB",2,"width","30px","height","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE",2,"width","30px","height","30px",3,"src"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2",2,"width","30px","height","30px",3,"src"],[1,"item","col-lg-4","p-3","d-lg-none"],["href","tel:0800-070-127","target","_blank",1,"unsetLink",3,"click"]],template:function(t,e){1&t&&(Ua(Wp),Va(0),Aa(1,"div",0),Va(2,1),Aa(3,"div",1),Aa(4,"div",2),Aa(5,"a",3),Ia(6,"img",4),Ra(),Ra(),Aa(7,"div",5),Aa(8,"div",6),Ya(9,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ra(),Aa(10,"address",7),Ya(11," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Ia(12,"br"),Ya(13," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Aa(14,"a",8),Ya(15,"0800-070-127"),Ra(),Ra(),Aa(16,"div",9),Ya(17," \xa9 Nestl\xe9 Health Science 2024 - All rights reserved "),Ra(),Ra(),Aa(18,"div",2),Aa(19,"div",6),Ya(20,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),Ra(),Aa(21,"div",10),Aa(22,"a",11),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),Ia(23,"img",12),Ya(24," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),Ra(),Ra(),Aa(25,"div",10),Aa(26,"a",13),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE")}),Ia(27,"img",14),Ya(28," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),Ra(),Ra(),Aa(29,"div",10),Aa(30,"a",15),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),Ia(31,"img",16),Ya(32," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),Ra(),Ra(),Ra(),Aa(33,"div",17),Aa(34,"div",6),Ya(35,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ra(),Aa(36,"address",7),Ya(37," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Ia(38,"br"),Ya(39," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Aa(40,"a",18),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Ya(41,"0800-070-127"),Ra(),Ra(),Aa(42,"div",9),Ya(43," \xa9 Nestl\xe9 Health Science 2024 - All rights reserved "),Ra(),Ra(),Ra(),Ra()),2&t&&(ro(23),Ta("src",e.basePath+"230224product01-route-fb.png",zr),ro(4),Ta("src",e.basePath+"230224product01-route-line.png",zr),ro(4),Ta("src",e.basePath+"230224product01-route-web.png",zr))},directives:[Vp],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}.footer-nav-box[_ngcontent-%COMP%]{max-width:1440px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{text-align:center}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:282px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;color:#00205c;letter-spacing:1px;font-family:"NotoSansCJKtc-Bold";font-weight:900}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular";font-size:16px;color:#00205c;letter-spacing:1px;text-align:center;line-height:28px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:14px;letter-spacing:0}']}),t}();function Zp(t,e){1&t&&Ia(0,"br")}var Qp=["*"],Jp=function(){var t=function(){return y(function t(e,n){g(this,t),this.share=e,this.platformId=n,this.toTopTheme="",this.footerWarning="",this.topImagePath="/sites/default/files/2024-07/240705top.png"},[{key:"ngOnInit",value:function(){Xc(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Up),Ea(Ru))},t.\u0275cmp=ne({type:t,selectors:[["app-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:Qp,decls:19,vars:4,consts:[[1,"mt-3"],[1,"main-footer"],[1,"px-2","d-none","d-lg-block","fbg"],["href","https://www.nestlehealthscience.com.tw/privacy-policy","target","_blank",1,"unsetLink","privacy-policy",3,"click"],["href","#",1,"unsetLink","cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],["alt","\u61f8\u6d6e\u6309\u9215_TOP","width","200","height","200",2,"width","100px","height","100px",3,"src"]],template:function(t,e){1&t&&(Ua(),Aa(0,"footer",0),Aa(1,"div",1),Aa(2,"p",2),Aa(3,"span"),Ya(4),Ra(),Aa(5,"a",3),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_\u96b1\u79c1\u6b0a\u653f\u7b56")}),Ya(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ra(),Aa(7,"a",4),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Ya(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ra(),Ra(),Aa(9,"p",5),Ya(10),Pa(11,Zp,1,0,"br",6),Aa(12,"a",3),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_\u96b1\u79c1\u6b0a\u653f\u7b56")}),Ya(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ra(),Aa(14,"a",4),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Ya(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ra(),Ra(),Va(16),Ra(),Aa(17,"div",7),Fa("click",function(){return e.share.GA("click",e.toTopTheme,"\u61f8\u6d6e\u6309\u9215_TOP")}),Ia(18,"img",8),Ra(),Ra()),2&t&&(ro(4),Xa(" ",e.footerWarning,""),ro(6),Xa(" ",e.footerWarning,""),ro(1),Ta("ngIf",e.footerWarning),ro(7),Ta("src",e.topImagePath,zr))},directives:[Kc,Vp],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}footer[_ngcontent-%COMP%]{padding-bottom:60px}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;z-index:11;background-color:#1146a9}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";text-align:center;color:#fff;letter-spacing:0;font-size:16px;padding:10px 0;margin:0;position:relative;z-index:1;background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{position:fixed;bottom:125px;right:15px;cursor:pointer;z-index:999}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:10px 0}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:55px;right:0px}}',".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px #0006;border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t}(),Yp=function(){var t=function(){return y(function t(e,n,i,r){g(this,t),this.title=e,this.meta=n,this.share=i,this.platformId=r},[{key:"ngOnInit",value:function(){var t="\u98df\u9593\u7ba1\u7406\u7955\u8a23\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";this.title.setTitle(t),this.meta.updateTag({content:t},'property="og:title"'),this.meta.updateTag({content:t},'property="og:site_name"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512aGlucoSmart\u4ee5\u79d1\u5b78\u5be6\u8b49\u3001\u8c50\u5bcc\u71df\u990a\u3001\u8070\u660e\u98f2\u98df\u3001\u65b9\u4fbf\u98df\u7528\u3001\u6b61\u6a02\u805a\u9910\u7b49\u70ba\u7406\u5ff5\uff0c\u5b55\u80b2\u7cfb\u5217\u7522\u54c1\uff0c\u5305\u542b\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\u3001\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\u3001\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\u7b49\uff0c\u8b93\u4f60\u76e1\u60c5\u4eab\u7528\u7f8e\u597d\u98df\u523b\uff0c\u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b\uff01"},'property="description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512aGlucoSmart\u4ee5\u79d1\u5b78\u5be6\u8b49\u3001\u8c50\u5bcc\u71df\u990a\u3001\u8070\u660e\u98f2\u98df\u3001\u65b9\u4fbf\u98df\u7528\u3001\u6b61\u6a02\u805a\u9910\u7b49\u70ba\u7406\u5ff5\uff0c\u5b55\u80b2\u7cfb\u5217\u7522\u54c1\uff0c\u5305\u542b\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\u3001\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\u3001\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\u7b49\uff0c\u8b93\u4f60\u76e1\u60c5\u4eab\u7528\u7f8e\u597d\u98df\u523b\uff0c\u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b\uff01"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, \u5927\u8c46\u86cb\u767d\u8cea, DNJ, \u79d1\u5b78\u5be6\u8b49, \u8c50\u5bcc\u71df\u990a, \u8070\u660e\u98f2\u98df, \u65b9\u4fbf\u98df\u7528, \u6b61\u6a02\u805a\u9910"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, \u5927\u8c46\u86cb\u767d\u8cea, DNJ, \u79d1\u5b78\u5be6\u8b49, \u8c50\u5bcc\u71df\u990a, \u8070\u660e\u98f2\u98df, \u65b9\u4fbf\u98df\u7528, \u6b61\u6a02\u805a\u9910"},'property="og:keyword"')}},{key:"ngAfterViewInit",value:function(){Xc(this.platformId)||(Hp(200).subscribe(function(){return AOS.init()}),Hp(0,5e3).subscribe(function(t){t%2==0?($("#clock-01").fadeOut(1500),$("#clock-02").fadeIn(1500)):($("#clock-02").fadeOut(1500),$("#clock-01").fadeIn(1500))}))}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Hl),Ea(Ll),Ea(Up),Ea(Ru))},t.\u0275cmp=ne({type:t,selectors:[["app-food-master"]],decls:88,vars:0,consts:[[1,"d-none"],[1,"banner-box"],[1,"d-none","d-lg-block","position-relative"],["src","/assets/image/food-master/d-banner.jpg","alt","\u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","no-lazy"],[1,"position-absolute","clock-box"],["id","clock-01","src","/assets/image/food-master/d-banner-clock-01.png","alt","banner",1,"img-fluid","no-lazy"],["id","clock-02","src","/assets/image/food-master/d-banner-clock-02.png","alt","banner",1,"img-fluid","no-lazy",2,"display","none"],[1,"d-lg-none"],["src","/assets/image/food-master/m-banner.jpg","alt","\u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","w-100","no-lazy"],[1,"main-box"],[1,"p1-box"],[1,"d-none","d-lg-block"],["src","/assets/image/food-master/d-p1-box.jpg","alt","",1,"img-fluid"],["src","/assets/image/food-master/m-p1-box.jpg","alt","",1,"img-fluid","w-100"],[1,"feature-area"],[1,"feature-box","container","mx-auto"],[1,"d-none","d-lg-flex","justify-content-between"],["data-aos","fade-up",1,"item","mt-5"],["src","/assets/image/food-master/feature-01.png","alt","\u79d1\u5b78\u5be6\u8b49",1,"img-fluid"],["data-aos","fade-down",1,"item","mb-5"],["src","/assets/image/food-master/feature-02.png","alt","\u8c50\u5bcc\u71df\u990a",1,"img-fluid"],["src","/assets/image/food-master/feature-03.png","alt","\u8070\u660e\u98f2\u98df",1,"img-fluid"],["src","/assets/image/food-master/feature-04.png","alt","\u65b9\u4fbf\u98df\u7528",1,"img-fluid"],["src","/assets/image/food-master/feature-05.png","alt","\u6b61\u6a02\u805a\u9910",1,"img-fluid"],[1,"d-lg-none","row"],[1,"col-6","px-0","left-box"],["data-aos","fade-right",1,"item","px-0"],["src","/assets/image/food-master/feature-01.png","alt","\u79d1\u5b78\u5be6\u8b49",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-03.png","alt","\u8070\u660e\u98f2\u98df",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-05.png","alt","\u6b61\u6a02\u805a\u9910",1,"img-fluid","no-lazy"],[1,"col-6","px-0","d-flex","align-items-center","justify-content-center","flex-column","right-box"],["data-aos","fade-left",1,"item","px-0"],["src","/assets/image/food-master/feature-02.png","alt","\u8c50\u5bcc\u71df\u990a",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-04.png","alt","\u65b9\u4fbf\u98df\u7528",1,"img-fluid","no-lazy"],[1,"p2-box"],[1,"container","mx-auto","row","product-box"],[1,"col-12","col-lg-4","pb-5"],["data-aos","fade-up","data-aos-duration","200"],["routerLink","/product01",3,"click"],["src","/assets/image/food-master/product-01.png","alt","\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u3001\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01\u63a1\u7528\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\u3001\u96d9\u5c64\u9632\u8b77\u3002\u7522\u54c1\u542b\u4e73\u6e05\u86cb\u767d\u5360\u6bd4\u9ad8\u905450%\u3001\u927b100mg\u3001\u7570\u9ea5\u82bd\u916e\u7cd6\u3001100%\u6c34\u6eb6\u6027\u7e96\u7dad\u3001\u9382\u7b49\u3002",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","400"],["routerLink","/product02",3,"click"],["src","/assets/image/food-master/product-02.png","alt","\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\uff0c\u6bcf\u4efd\u542b\u670919.2\u516c\u514b\u5927\u8c46\u86cb\u767d\uff0c\u53ef\u7528\u65bc\u808c\u8089\u751f\u9577\u30025.9\u516c\u514b\u5929\u7136\u81b3\u98df\u7e96\u7dad\uff0c\u4f86\u81ea\u5929\u7136\u5927\u8c46\u3001\u71d5\u9ea5\u3001\u8513\u8d8a\u8393\u3002\u7576\u4f60\u4eab\u7528\u65e9\u9910\u6642\u3001\u4e0b\u5348\u8336\u6642\u3001\u9910\u524d\u6709\u9ede\u9913\u6642\uff0c\u6216\u662f\u6236\u5916\u904b\u52d5\u6642\uff0c\u4e00\u4efd\u8f15\u5de7\u7121\u8ca0\u64d4\u7684\u71df\u990a\u68d2\uff0c\u65b9\u4fbf\u651d\u53d6\u5feb\u901f\u6eff\u8db3\uff01\u662f\u517c\u5177\u6a5f\u80fd\u6027\u8207\u98fd\u8db3\u611f\u6700\u4f73\u9078\u64c7\uff0c\u5373\u523b\u98fd\u8db3\uff0c\u8f15\u9b06\u7a69\u512a\uff01",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","600"],["routerLink","/product03",3,"click"],["src","/assets/image/food-master/product-03.png","alt","\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\uff0c\u5e36\u60a8\u54c1\u5473\u5168\u65b0\u9957\u98df\u9ad4\u9a57\u3002\u900f\u904e\u6c34\u6dec\u6280\u8853\u53d6\u5f97DNJ\u6210\u5206\uff08\u7cd6\u82f7\u9176\u6291\u5236\u5291\uff09\uff0c\u542b\u91cf\u90545%\u4ee5\u4e0a\uff0c\u628a\u95dcDNJ\u6700\u4f73\u7d14\u5ea6\uff0c\u4ee5\u8349\u672c\u529b\u91cf\u5e6b\u52a9\u98f2\u98df\u7ba1\u7406\u3002\u805a\u6703\u6642\u3001\u61c9\u916c\u6642\u3001\u5927\u9910\u6642\uff0c\u96a8\u8eab\u651c\u5e36\u4e00\u5305\u8f15\u5de7\u55ae\u5305\uff0c\u7c21\u55ae\u6495\u958b\u3001\u6df7\u62cc\u5169\u6b65\u9a5f\uff0c\u4e0d\u5f71\u97ff\u98df\u7269\u53e3\u611f\u98a8\u5473\u3002\u4f34\u9910\u4e00\u5305\uff0c\u7f8e\u597d\u98df\u523b\uff01",1,"img-fluid"],[1,"py-5"],[1,"route-nav-box"],["toTopTheme","\u6642\u9593\u7ba1\u79d8\u8a23"]],template:function(t,e){1&t&&(Ia(0,"app-header"),Aa(1,"h1",0),Ya(2,"\u7acb\u651d\u9069\u7a69\u512a \u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b"),Ra(),Aa(3,"div",1),Aa(4,"div",2),Ia(5,"img",3),Aa(6,"div",4),Ia(7,"img",5),Ia(8,"img",6),Ra(),Ra(),Aa(9,"div",7),Ia(10,"img",8),Ra(),Ra(),Aa(11,"div",9),Aa(12,"div",10),Aa(13,"div",11),Ia(14,"img",12),Ra(),Aa(15,"div",7),Ia(16,"img",13),Ra(),Aa(17,"div",14),Aa(18,"div",15),Aa(19,"div",16),Aa(20,"div",17),Ia(21,"img",18),Aa(22,"h2",0),Ya(23,"\u79d1\u5b78\u5be6\u8b49"),Ra(),Ra(),Aa(24,"div",19),Ia(25,"img",20),Aa(26,"h2",0),Ya(27,"\u8c50\u5bcc\u71df\u990a"),Ra(),Ra(),Aa(28,"div",17),Ia(29,"img",21),Aa(30,"h2",0),Ya(31,"\u8070\u660e\u98f2\u98df"),Ra(),Ra(),Aa(32,"div",19),Ia(33,"img",22),Aa(34,"h2",0),Ya(35,"\u65b9\u4fbf\u98df\u7528"),Ra(),Ra(),Aa(36,"div",17),Ia(37,"img",23),Aa(38,"h2",0),Ya(39,"\u6b61\u6a02\u805a\u9910"),Ra(),Ra(),Ra(),Aa(40,"div",24),Aa(41,"div",25),Aa(42,"div",26),Ia(43,"img",27),Aa(44,"h2",0),Ya(45,"\u79d1\u5b78\u5be6\u8b49"),Ra(),Ra(),Aa(46,"div",26),Ia(47,"img",28),Aa(48,"h2",0),Ya(49,"\u8070\u660e\u98f2\u98df"),Ra(),Ra(),Aa(50,"div",26),Ia(51,"img",29),Aa(52,"h2",0),Ya(53,"\u6b61\u6a02\u805a\u9910"),Ra(),Ra(),Ra(),Aa(54,"div",30),Aa(55,"div",31),Ia(56,"img",32),Aa(57,"h2",0),Ya(58,"\u8c50\u5bcc\u71df\u990a"),Ra(),Ra(),Aa(59,"div",31),Ia(60,"img",33),Aa(61,"h2",0),Ya(62,"\u65b9\u4fbf\u98df\u7528"),Ra(),Ra(),Ra(),Ra(),Ra(),Ra(),Ra(),Aa(63,"div",34),Aa(64,"div",35),Aa(65,"div",36),Aa(66,"div",37),Aa(67,"a",38),Fa("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473"),e.share.goTo("body")}),Ia(68,"img",39),Aa(69,"h2",0),Ya(70,"\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473"),Ra(),Ra(),Ra(),Ra(),Aa(71,"div",36),Aa(72,"div",40),Aa(73,"a",41),Fa("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2"),e.share.goTo("body")}),Ia(74,"img",42),Aa(75,"h2",0),Ya(76,"\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2"),Ra(),Ra(),Ra(),Ra(),Aa(77,"div",36),Aa(78,"div",43),Aa(79,"a",44),Fa("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89"),e.share.goTo("body")}),Ia(80,"img",45),Aa(81,"h2",0),Ya(82,"\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89"),Ra(),Ra(),Ra(),Ra(),Ra(),Ia(83,"div",46),Ia(84,"div",46),Ra(),Ra(),Aa(85,"div",47),Ia(86,"app-route-nav"),Ra(),Ia(87,"app-footer",48))},directives:[qp,Vp,pp,Kp,Jp],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}.banner-box[_ngcontent-%COMP%] .clock-box[_ngcontent-%COMP%]{width:calc(100% * (990 / 1920));right:8%;top:5.5%}.banner-box[_ngcontent-%COMP%] .clock-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:0}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%]{position:relative}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%]{position:absolute;overflow:hidden;width:100%;top:-93px}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%]{padding:0 100px}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%]{overflow:hidden;background-image:url(/assets/image/food-master/d-p2-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%] .product-box[_ngcontent-%COMP%]{max-width:1320px;padding:0 100px}div.route-nav-box[_ngcontent-%COMP%]{margin-top:-5%}@media (max-width: 1500px){div.route-nav-box[_ngcontent-%COMP%]{margin-top:-8%}}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%]{top:-87px}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%]{padding:0 2%}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:0 -15px}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%]{background-image:url(/assets/image/food-master/m-p2-bg.jpg)}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%] .product-box[_ngcontent-%COMP%]{padding:0 10px}div.route-nav-box[_ngcontent-%COMP%]{padding-top:0;margin-top:-105px}}",".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px #0006;border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t}();function Xp(t){return null!=t&&"false"!="".concat(t)}function $p(t){return Array.isArray(t)?t:[t]}function tv(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function ev(t){return t instanceof ps?t.nativeElement:t}function nv(t,e,i,r){return f(i)&&(r=i,i=void 0),r?nv(t,e,i).pipe(H(function(t){return k(t)?r.apply(void 0,n(t)):r(t)})):new R(function(n){iv(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function iv(t,e,n,i,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,r),o=function(){return a.removeEventListener(e,n,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),o=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),o=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,l=t.length;c2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?h(d(e.prototype),"requestAsyncId",this).call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return h(d(e.prototype),"recycleAsyncId",this).call(this,t,n,i);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)}}])}(Dp));var rv=1,ov=Promise.resolve(),av={};function sv(t){return t in av&&(delete av[t],!0)}var uv=function(t){var e=rv++;return av[e]=!0,ov.then(function(){return sv(e)&&t()}),e},cv=function(t){sv(t)};new(function(t){function e(){return g(this,e),u(this,e,arguments)}return p(e,t),y(e,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?h(d(e.prototype),"requestAsyncId",this).call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=uv(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return h(d(e.prototype),"recycleAsyncId",this).call(this,t,n,i);0===t.actions.length&&(cv(n),t.scheduled=void 0)}}])}(Dp));var lv=function(){return y(function t(e,n){g(this,t),this.compare=e,this.keySelector=n},[{key:"call",value:function(t,e){return e.subscribe(new hv(t,this.compare,this.keySelector))}}])}(),hv=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e,[t])).keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return p(e,t),y(e,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(n){return this.destination.error(n)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}])}(E),fv=function(){return y(function t(e){g(this,t),this.durationSelector=e},[{key:"call",value:function(t,e){return e.subscribe(new dv(t,this.durationSelector))}}])}(),dv=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).durationSelector=n,i.hasValue=!1,i}return p(e,t),y(e,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{var n;e=(0,this.durationSelector)(t)}catch(n){return this.destination.error(n)}var i=X(e,new J(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}])}(Y);function pv(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jp;return function(t){return function(e){return e.lift(new fv(t))}}(function(){return Hp(t,e)})}function vv(t){return function(e){return e.lift(new gv(t))}}var gv=function(){return y(function t(e){g(this,t),this.notifier=e},[{key:"call",value:function(t,e){var n=new mv(t),i=X(this.notifier,new J(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}])}(),mv=function(t){function e(t){var n;return g(this,e),(n=u(this,e,[t])).seenValue=!1,n}return p(e,t),y(e,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}])}(Y);function yv(t,e){return new R(e?function(n){return e.schedule(_v,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function _v(t){var e=t.error;t.subscriber.error(e)}new(function(t){function e(){return g(this,e),u(this,e,arguments)}return p(e,t),y(e)}(Lp))(function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t,n])).scheduler=t,i.work=n,i}return p(e,t),y(e,[{key:"schedule",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n>0?h(d(e.prototype),"schedule",this).call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,n){return n>0||this.closed?h(d(e.prototype),"execute",this).call(this,t,n):this._execute(t,n)}},{key:"requestAsyncId",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?h(d(e.prototype),"requestAsyncId",this).call(this,t,n,i):t.flush(this)}}])}(Dp));var bv,kv=function(){function t(e,n,i){g(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return y(t,[{key:"observe",value:function(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()}}},{key:"do",value:function(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()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Bl(this.value);case"E":return yv(this.error);case"C":return Xl()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}])}();kv.completeNotification=new kv("C"),kv.undefinedValueNotification=new kv("N",void 0);try{bv="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(C){bv=!1}var wv,Cv,xv,Sv=function(){var t=y(function t(e){g(this,t),this._platformId=e,this.isBrowser=this._platformId?function(t){return t===Yc}(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&&!bv)&&"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)(_i(Ru))},t.\u0275prov=Ot({factory:function(){return new t(_i(Ru))},token:t,providedIn:"root"}),t}(),Ov=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({}),t}();function Pv(t){return function(){if(null==wv&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return wv=!0}}))}finally{wv=wv||!1}return wv}()?t:!!t.capture}function Ev(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Tv(t){return t.composedPath?t.composedPath()[0]:t.target}function Mv(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var Av=new $n("cdk-dir-doc",{providedIn:"root",factory:function(){return bi(Sc)}}),Rv=function(){var t=function(){return y(function t(e){if(g(this,t),this.value="ltr",this.change=new lu,e){var n=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}},[{key:"ngOnDestroy",value:function(){this.change.complete()}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Av,8))},t.\u0275prov=Ot({factory:function(){return new t(_i(Av,8))},token:t,providedIn:"root"}),t}(),Iv=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({}),t}(),Nv=function(){var t=function(){return y(function t(e,n,i){g(this,t),this._ngZone=e,this._platform=n,this._scrolled=new L,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i},[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new R(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(pv(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Bl()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(hh(function(t){return!t||n.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=ev(e),i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return nv(t._getWindow().document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Ku),_i(Sv),_i(Sc,8))},t.\u0275prov=Ot({factory:function(){return new t(_i(Ku),_i(Sv),_i(Sc,8))},token:t,providedIn:"root"}),t}(),Dv=function(){var t=function(){return y(function t(e,n,i){var r=this;g(this,t),this._platform=e,this._change=new L,this._changeListener=function(t){r._change.next(t)},this._document=i,n.runOutsideAngular(function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._viewportSize=null})})},[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(pv(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var 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)(_i(Sv),_i(Ku),_i(Sc,8))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sv),_i(Ku),_i(Sc,8))},token:t,providedIn:"root"}),t}(),Fv=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({}),t}(),Lv=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({imports:[[Iv,Ov,Fv],Iv,Fv]}),t}(),jv=function(){return y(function t(){g(this,t)},[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}])}(),zv=function(t){function e(t,n,i,r){var o;return g(this,e),(o=u(this,e)).component=t,o.viewContainerRef=n,o.injector=i,o.componentFactoryResolver=r,o}return p(e,t),y(e)}(jv),Hv=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e)).templateRef=t,r.viewContainerRef=n,r.context=i,r}return p(e,t),y(e,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,h(d(e.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,h(d(e.prototype),"detach",this).call(this)}}])}(jv),Bv=function(t){function e(t){var n;return g(this,e),(n=u(this,e)).element=t instanceof ps?t.nativeElement:t,n}return p(e,t),y(e)}(jv),Uv=function(){return y(function t(){g(this,t),this._isDisposed=!1,this.attachDomPortal=null},[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof zv?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Hv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Bv?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}])}(),Vv=function(t){function e(t,n,i,r,o){var a;return g(this,e),(a=u(this,e)).outletElement=t,a._componentFactoryResolver=n,a._appRef=i,a._defaultInjector=r,a.attachDomPortal=function(t){var n=t.element,i=a._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),a.outletElement.appendChild(n),a._attachedPortal=t,h((c(a),d(e.prototype)),"setDisposeFn",c(a)).call(c(a),function(){i.parentNode&&i.parentNode.replaceChild(n,i)})},a._document=o,a}return p(e,t),y(e,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),i.detectChanges(),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),this._attachedPortal=t,i}},{key:"dispose",value:function(){h(d(e.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}])}(Uv),qv=function(){var t=function(t){function e(t,n,i){var r;return g(this,e),(r=u(this,e))._componentFactoryResolver=t,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new lu,r.attachDomPortal=function(t){var n=t.element,i=r._document.createComment("dom-portal");t.setAttachedHost(c(r)),n.parentNode.insertBefore(i,n),r._getRootNode().appendChild(n),r._attachedPortal=t,h((c(r),d(e.prototype)),"setDisposeFn",c(r)).call(c(r),function(){i.parentNode&&i.parentNode.replaceChild(n,i)})},r._document=i,r}return p(e,t),y(e,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&h(d(e.prototype),"detach",this).call(this),t&&h(d(e.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){h(d(e.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=n.createComponent(i,n.length,t.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),h(d(e.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(t){var n=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return h(d(e.prototype),"setDisposeFn",this).call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}])}(Uv);return t.\u0275fac=function(e){return new(e||t)(Ea(ls),Ea(Qs),Ea(Sc))},t.\u0275dir=ue({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ga]}),t}(),Wv=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({}),t}(),Gv=function(){if(null==Cv){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Cv=!1;if("scrollBehavior"in document.documentElement.style)Cv=!0;else{var t=Element.prototype.scrollTo;Cv=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Cv}(),Kv=function(){return y(function t(e,n){g(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n},[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=tv(-this._previousScrollPosition.left),t.style.top=tv(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Gv&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Gv&&(e.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}])}(),Zv=function(){return y(function t(e,n,i,r){var o=this;g(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}},[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),Qv=function(){return y(function t(){g(this,t)},[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}])}();function Jv(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function Yv(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var Xv=function(){return y(function t(e,n,i,r){g(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null},[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;Jv(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),$v=function(){var t=y(function t(e,n,i,r){var o=this;g(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new Qv},this.close=function(t){return new Zv(o._scrollDispatcher,o._ngZone,o._viewportRuler,t)},this.block=function(){return new Kv(o._viewportRuler,o._document)},this.reposition=function(t){return new Xv(o._scrollDispatcher,o._viewportRuler,o._ngZone,t)},this._document=r});return t.\u0275fac=function(e){return new(e||t)(_i(Nv),_i(Dv),_i(Ku),_i(Sc))},t.\u0275prov=Ot({factory:function(){return new t(_i(Nv),_i(Dv),_i(Ku),_i(Sc))},token:t,providedIn:"root"}),t}(),tg=y(function t(e){if(g(this,t),this.scrollStrategy=new Qv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var n=0,i=Object.keys(e);n-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sc))},token:t,providedIn:"root"}),t}(),rg=function(){var t=function(t){function e(t){var n;return g(this,e),(n=u(this,e,[t]))._keydownListener=function(t){for(var e=n._attachedOverlays,i=e.length-1;i>-1;i--)if(e[i]._keydownEvents.observers.length>0){e[i]._keydownEvents.next(t);break}},n}return p(e,t),y(e,[{key:"add",value:function(t){h(d(e.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}])}(ig);return t.\u0275fac=function(e){return new(e||t)(_i(Sc))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sc))},token:t,providedIn:"root"}),t}(),og=function(){var t=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t]))._platform=n,i._cursorStyleIsSet=!1,i._pointerDownListener=function(t){i._pointerDownEventTarget=Tv(t)},i._clickListener=function(t){var e=Tv(t),n="click"===t.type&&i._pointerDownEventTarget?i._pointerDownEventTarget:e;i._pointerDownEventTarget=null;for(var r=i._attachedOverlays.slice(),o=r.length-1;o>-1;o--){var a=r[o];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e)||a.overlayElement.contains(n))break;a._outsidePointerEvents.next(t)}}},i}return p(e,t),y(e,[{key:"add",value:function(t){if(h(d(e.prototype),"add",this).call(this,t),!this._isAttached){var n=this._document.body;n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}])}(ig);return t.\u0275fac=function(e){return new(e||t)(_i(Sc),_i(Sv))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sc),_i(Sv))},token:t,providedIn:"root"}),t}(),ag=function(){var t=function(){return y(function t(e,n){g(this,t),this._platform=n,this._document=e},[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t="cdk-overlay-container";if(this._platform.isBrowser||Mv())for(var e=this._document.querySelectorAll(".".concat(t,'[platform="server"], .').concat(t,'[platform="test"]')),n=0;np&&(p=m,d=g)}}catch(y){v.e(y)}finally{v.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&hg(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ug),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=dg(e),o=t.x,a=t.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var c=0-a,l=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,c,l),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=fg(this._overlayRef.getConfig().minHeight),a=fg(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=dg(e),a=this._viewportRect,s=Math.max(t.x+o.width-a.width,0),u=Math.max(t.y+o.height-a.height,0),c=Math.max(a.top-n.top-t.y,0),l=Math.max(a.left-n.left-t.x,0);return i=o.width<=a.width?l||-s:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!c||"start"===e.overlayX&&c)s=u.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!c||"end"===e.overlayX&&c)a=t.x,o=u.right-t.x;else{var f=Math.min(u.right-t.x+u.left,t.x),d=this._lastBoundingBoxSize.width;o=2*f,a=t.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-d/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=tv(n.height),i.top=tv(n.top),i.bottom=tv(n.bottom),i.width=tv(n.width),i.left=tv(n.left),i.right=tv(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=tv(r)),o&&(i.maxWidth=tv(o))}this._lastBoundingBoxSize=n,hg(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){hg(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){hg(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();hg(n,this._getExactOverlayY(e,t,a)),hg(n,this._getExactOverlayX(e,t,a))}else n.position="static";var s="",u=this._getOffset(e,"x"),c=this._getOffset(e,"y");u&&(s+="translateX(".concat(u,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=tv(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=tv(o.maxWidth):r&&(n.maxWidth="")),hg(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=tv(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=tv(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Yv(t,n),isOriginOutsideView:Jv(t,n),isOverlayClipped:Yv(e,n),isOverlayOutsideView:Jv(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(vg),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}])}(),mg=function(){var t=function(){return y(function t(e,n,i,r){g(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r},[{key:"global",value:function(){return new gg}},{key:"connectedTo",value:function(t,e,n){return new pg(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new lg(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Dv),_i(Sc),_i(Sv),_i(ag))},t.\u0275prov=Ot({factory:function(){return new t(_i(Dv),_i(Sc),_i(Sv),_i(ag))},token:t,providedIn:"root"}),t}(),yg=0,_g=function(){var t=function(){return y(function t(e,n,i,r,o,a,s,u,c,l,h){g(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=c,this._location=l,this._outsideClickDispatcher=h},[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new tg(t);return r.direction=r.direction||this._directionality.value,new sg(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+yg++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(dc)),new Vv(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i($v),_i(ag),_i(ls),_i(mg),_i(rg),_i(pa),_i(Ku),_i(Sc),_i(Rv),_i(Hc),_i(og))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),bg={provide:new $n("cdk-connected-overlay-scroll-strategy"),deps:[_g],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},kg=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:[_g,bg],imports:[[Iv,Wv,Lv],Lv]}),t}(),wg=function(){return y(function t(e){g(this,t),this.total=e},[{key:"call",value:function(t,e){return e.subscribe(new Cg(t,this.total))}}])}(),Cg=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e,[t])).total=n,i.count=0,i}return p(e,t),y(e,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}])}(E),xg=function(){var t=function(){return y(function t(e){g(this,t),this._platform=e},[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===Og(e)||!this.isVisible(e)))return!1;var n=t.nodeName.toLowerCase(),i=Og(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var 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")||Sg(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sv))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sv))},token:t,providedIn:"root"}),t}();function Sg(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Og(t){if(!Sg(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Pg=function(){return y(function t(e,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];g(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()},[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var 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,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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)}},{key:"focusInitialElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var 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}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(rh(1)).subscribe(t)}}])}(),Eg=function(){var t=function(){return y(function t(e,n,i){g(this,t),this._checker=e,this._ngZone=n,this._document=i},[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Pg(t,this._checker,this._ngZone,this._document,e)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(xg),_i(Ku),_i(Sc))},t.\u0275prov=Ot({factory:function(){return new t(_i(xg),_i(Ku),_i(Sc))},token:t,providedIn:"root"}),t}();function Tg(t){return 0===t.offsetX&&0===t.offsetY}function Mg(t){var e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈var Ag=new $n("cdk-input-modality-detector-options"),Rg={ignoreKeys:[18,17,224,91,16]},Ig=Pv({passive:!0,capture:!0}),Ng=function(){var t=function(){return y(function t(e,n,i,r){var o=this;g(this,t),this._platform=e,this._mostRecentTarget=null,this._modality=new Ul(null),this._lastTouchMs=0,this._onKeydown=function(t){var e,n;(null===(n=null===(e=o._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(function(e){return e===t.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=Tv(t))},this._onMousedown=function(t){Date.now()-o._lastTouchMs<650||(o._modality.next(Tg(t)?"keyboard":"mouse"),o._mostRecentTarget=Tv(t))},this._onTouchstart=function(t){Mg(t)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=Tv(t))},this._options=Object.assign(Object.assign({},Rg),r),this.modalityDetected=this._modality.pipe(function(t){return t.lift(new wg(1))}),this.modalityChanged=this.modalityDetected.pipe(function(t){return t.lift(new lv(void 0,void 0))}),e.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,Ig),i.addEventListener("mousedown",o._onMousedown,Ig),i.addEventListener("touchstart",o._onTouchstart,Ig)})},[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ig),document.removeEventListener("mousedown",this._onMousedown,Ig),document.removeEventListener("touchstart",this._onTouchstart,Ig))}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sv),_i(Ku),_i(Sc),_i(Ag,8))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sv),_i(Ku),_i(Sc),_i(Ag,8))},token:t,providedIn:"root"}),t}(),Dg=new $n("cdk-focus-monitor-default-options"),Fg=Pv({passive:!0,capture:!0}),Lg=function(){var t=function(){return y(function t(e,n,i,r,o){var a=this;g(this,t),this._ngZone=e,this._platform=n,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})},this._stopInputModalityDetector=new L,this._rootNodeFocusAndBlurListener=function(t){for(var e=Tv(t),n="focus"===t.type?a._onFocus:a._onBlur,i=e;i;i=i.parentElement)n.call(a,t,i)},this._document=r,this._detectionMode=(null==o?void 0:o.detectionMode)||0},[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ev(t);if(!this._platform.isBrowser||1!==n.nodeType)return Bl(null);var i=function(t){if(function(){if(null==xv){var t="undefined"!=typeof document?document.head:null;xv=!(!t||!t.createShadowRoot&&!t.attachShadow)}return xv}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;var o={checkChildren:e,subject:new L,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(t){var e=ev(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,n,i){var r=this,o=ev(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(function(t){var i=e(t,2),o=i[0],a=i[1];return r._originChanged(o,n,a)}):(this._setOrigin(n),"function"==typeof o.focus&&o.focus(i))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(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)}},{key:"_setOrigin",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){e._origin=t,e._originFromTouchInteraction="touch"===t&&n,0===e._detectionMode&&(clearTimeout(e._originTimeoutId),e._originTimeoutId=setTimeout(function(){return e._origin=null},e._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e),i=Tv(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,Fg),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,Fg)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){e._getWindow().addEventListener("focus",e._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vv(this._stopInputModalityDetector)).subscribe(function(t){e._setOrigin(t,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fg),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fg),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}},{key:"_getClosestElementsInfo",value:function(t){var e=[];return this._elementInfo.forEach(function(n,i){(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Ku),_i(Sv),_i(Ng),_i(Sc,8),_i(Dg,8))},t.\u0275prov=Ot({factory:function(){return new t(_i(Ku),_i(Sv),_i(Ng),_i(Sc,8),_i(Dg,8))},token:t,providedIn:"root"}),t}(),jg="cdk-high-contrast-black-on-white",zg="cdk-high-contrast-white-on-black",Hg="cdk-high-contrast-active",Bg=function(){var t=function(){return y(function t(e,n){g(this,t),this._platform=e,this._document=n},[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(Hg),t.remove(jg),t.remove(zg),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add(Hg),t.add(jg)):2===e&&(t.add(Hg),t.add(zg))}}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sv),_i(Sc))},t.\u0275prov=Ot({factory:function(){return new t(_i(Sv),_i(Sc))},token:t,providedIn:"root"}),t}(),Ug=new ys("12.2.13"),Vg=y(function t(){g(this,t)}),qg="*";function Wg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function Gg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function Kg(t){return{type:6,styles:t,offset:null}}function Zg(t,e,n){return{type:0,name:t,styles:e,options:n}}function Qg(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function Jg(t){Promise.resolve(null).then(t)}var Yg=function(){return y(function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;g(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;Jg(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}])}(),Xg=function(){return y(function t(e){var n=this;g(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,o=0,a=this.players.length;0==a?Jg(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++i==a&&n._onFinish()}),t.onDestroy(function(){++r==a&&n._onDestroy()}),t.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}])}();function $g(){return"undefined"!=typeof window&&void 0!==window.document}function tm(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function em(t){switch(t.length){case 0:return new Yg;case 1:return t[0];default:return new Xg(t)}}function nm(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],u=-1,c=null;if(i.forEach(function(t){var n=t.offset,i=n==u,l=i&&c||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case"!":s=r[n];break;case qg:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}l[i]=s}),i||s.push(l),c=l,u=n}),a.length){var l="\n - ";throw new Error("Unable to animate due to the following errors:".concat(l).concat(a.join(l)))}return s}function im(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&rm(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&rm(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&rm(n,"destroy",t))})}}function rm(t,e,n){var i=n.totalTime,r=om(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function om(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function am(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function sm(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var um=function(t,e){return!1},cm=function(t,e){return!1},lm=function(t,e,n){return[]},hm=tm();(hm||"undefined"!=typeof Element)&&(um=$g()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},cm=function(){if(hm||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:cm}(),lm=function(t,e,n){var i=[];if(n)for(var r=t.querySelectorAll(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function Am(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else Mm(t,n);return n}function Rm(t,e,n){return n?e+":"+n+";":""}function Im(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=r[1],a=r[2],s=r[3];e.push(Ym(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&e.push(Ym(s,o))}(t,n,e)}):n.push(t),n}var Qm=new Set(["true","1"]),Jm=new Set(["false","0"]);function Ym(t,e){var n=Qm.has(t)||Jm.has(t),i=Qm.has(e)||Jm.has(e);return function(r,o){var a="*"==t||t==r,s="*"==e||e==o;return!a&&n&&"boolean"==typeof r&&(a=r?Qm.has(t):Jm.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?Qm.has(e):Jm.has(e)),a&&s}}var Xm=new RegExp("s*:selfs*,?","g");function $m(t,e,n){return new ty(t).build(e,n)}var ty=function(){return y(function t(e){g(this,t),this._driver=e},[{key:"build",value:function(t,e){var n=new ey(e);return this._resetContextStyleTimingState(n),Gm(this,Fm(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=u}else if(1==t.type){var c=n.visitTransition(t,e);i+=c.queryCount,r+=c.depCount,a.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(t){if(ny(t)){var e=t;Object.keys(e).forEach(function(t){jm(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var a=Hm(r.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n=Gm(this,Fm(t.animation),e);return{type:1,matchers:Zm(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:iy(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Gm(n,t,e)}),options:iy(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=i;var o=Gm(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:iy(t.options)}}},{key:"visitAnimate",value:function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ry(Tm(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=ry(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ry((n=n||Tm(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,r=t.styles?t.styles:Kg({});if(5==r.type)i=this.visitKeyframes(r,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};n.easing&&(s.easing=n.easing),o=Kg(s)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=a,i=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==qg?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(ny(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a=e.collectedStyles[e.currentQuerySelector],s=a[i],u=!0;s&&(o!=r&&o>=s.startTime&&r<=s.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),u=!1),o=s.startTime),u&&(a[i]={startTime:o,endTime:r}),e.options&&function(t,e,n){var i=e.params||{},r=jm(t);r.length&&r.forEach(function(t){i.hasOwnProperty(t)||n.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})}(t[i],e.options,e.errors)}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var i=n._makeStyleAst(t,e),c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(ny(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(ny(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),l=0;return null!=c&&(r++,l=i.offset=c),s=s||l<0||l>1,a=a||l0&&r0?r==f?1:h*r:o[r],s=a*v;e.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=a,i.styles.push(t)}),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:Gm(this,Fm(t.animation),e),options:iy(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:iy(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:iy(t.options)}}},{key:"visitQuery",value:function(t,n){var i=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var o=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(Xm,"")),t=t.replace(/@\*/g,xm).replace(/@\w+/g,function(t){return xm+"-"+t.substr(1)}).replace(/:animating/g,Om),[t,e]}(t.selector),a=e(o,2),s=a[0],u=a[1];n.currentQuerySelector=i.length?i+" "+s:s,am(n.collectedStyles,n.currentQuerySelector,{});var c=Gm(this,Fm(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=i,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:u,animation:c,originalSelector:t.selector,options:iy(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Tm(t.timings,e.errors,!0);return{type:12,animation:Gm(this,Fm(t.animation),e),timings:n,options:null}}}])}(),ey=y(function t(e){g(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function ny(t){return!Array.isArray(t)&&"object"==typeof t}function iy(t){return t?(t=Mm(t)).params&&(t.params=function(t){return t?Mm(t):null}(t.params)):t={},t}function ry(t,e,n){return{duration:t,delay:e,easing:n}}function oy(t,e,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var ay=function(){return y(function t(){g(this,t),this._map=new Map},[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var i,r=this._map.get(t);r||this._map.set(t,r=[]),(i=r).push.apply(i,n(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}])}(),sy=new RegExp(":enter","g"),uy=new RegExp(":leave","g");function cy(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ly).buildKeyframes(t,e,n,i,r,o,a,s,u,c)}var ly=function(){return y(function t(){g(this,t)},[{key:"buildKeyframes",value:function(t,e,n,i,r,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new ay;var l=new fy(t,e,u,i,r,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),Gm(this,n,l);var h=l.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,l.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[oy(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?Pm(n.duration):null,o=null!=n.delay?Pm(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),Gm(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=hy);var a=Pm(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Gm(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Pm(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),Gm(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return Tm(e.params?zm(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Pm(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=hy);var a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);o&&s.delayNextStep(o),i===e.element&&(u=s.currentTimeline),Gm(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;Gm(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}])}(),hy={},fy=function(){function t(e,n,i,r,o,a,s,u){g(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=hy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new dy(this._driver,n,0),s.push(this.currentTimeline)}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=Pm(i.duration)),null!=i.delay&&(r.delay=Pm(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){(!e||!a.hasOwnProperty(t))&&(a[t]=zm(o[t],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=hy,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new py(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,i,r,o,a){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(sy,"."+this._enterClassName)).replace(uy,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),s.push.apply(s,n(u))}return!o&&0==s.length&&a.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),s}}])}(),dy=function(){function t(e,n,i,r){g(this,t),this._driver=e,this.element=n,this.startTime=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return y(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||qg,e._currentKeyframe[t]=qg}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},a=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=qg}):Am(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=zm(a[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:qg),r._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=Am(o,!0);Object.keys(s).forEach(function(t){var i=s[t];"!"==i?e.add(t):i==qg&&n.add(t)}),i||(s.offset=a/t.duration),r.push(s)});var o=e.size?Hm(e.values()):[],a=n.size?Hm(n.values()):[];if(i){var s=r[0],u=Mm(s);s.offset=0,u.offset=1,r=[s,u]}return oy(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}])}(),py=function(t){function e(t,n,i,r,o,a){var s,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return g(this,e),(s=u(this,e,[t,n,a.delay])).keyframes=i,s.preStyleProps=r,s.postStyleProps=o,s._stretchStartingKeyframe=c,s.timings={duration:a.duration,delay:a.delay,easing:a.easing},s}return p(e,t),y(e,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=Am(t[0],!1);u.offset=0,o.push(u);var c=Am(t[0],!1);c.offset=vy(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var f=Am(t[h],!1);f.offset=vy((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",t=o}return oy(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}])}(dy);function vy(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var gy=y(function t(){g(this,t)}),my=function(t){function e(){return g(this,e),u(this,e,arguments)}return p(e,t),y(e,[{key:"normalizePropertyName",value:function(t,e){return Um(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",o=n.toString().trim();if(yy[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return o+r}}])}(gy),yy=function(t){var e={};return t.forEach(function(t){return 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 _y(t,e,n,i,r,o,a,s,u,c,l,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:f}}var by={},ky=function(){return y(function t(e,n,i){g(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i},[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o}},{key:"build",value:function(t,e,n,i,r,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||by,f=this.buildStyles(n,a&&a.params||by,l),d=s&&s.params||by,p=this.buildStyles(i,d,l),v=new Set,g=new Map,m=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),d)},b=c?[]:cy(t,e,this.ast.animation,r,o,f,p,_,u,l),k=0;if(b.forEach(function(t){k=Math.max(t.duration+t.delay,k)}),l.length)return _y(e,this._triggerName,n,i,y,f,p,[],[],g,m,k,l);b.forEach(function(t){var n=t.element,i=am(g,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=am(m,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&v.add(n)});var w=Hm(v.values());return _y(e,this._triggerName,n,i,y,f,p,b,w,g,m,k)}}])}(),wy=function(){return y(function t(e,n,i){g(this,t),this.styles=e,this.defaultParams=n,this.normalizer=i},[{key:"buildStyles",value:function(t,e){var n=this,i={},r=Mm(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var a=o[t];a.length>1&&(a=zm(a,r,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),i[s]=a})}}),i}}])}(),Cy=function(){return y(function t(e,n,i){var r=this;g(this,t),this.name=e,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states={},n.states.forEach(function(t){r.states[t.name]=new wy(t.style,t.options&&t.options.params||{},i)}),xy(this.states,"true","1"),xy(this.states,"false","0"),n.transitions.forEach(function(t){r.transitionFactories.push(new ky(e,t,r.states))}),this.fallbackTransition=function(t,e,n){return new ky(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(e,this.states)},[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}])}();function xy(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Sy=new ay,Oy=function(){return y(function t(e,n,i){g(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]},[{key:"register",value:function(t,e){var n=[],i=$m(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=nm(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[t],s=new Map;if(a?(n=cy(this._driver,e,a,km,wm,{},{},r,Sy,o)).forEach(function(t){var e=am(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,qg)})});var u=em(n.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return i.destroy(t)}),this.players.push(u),u}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var r=om(e,"","","");return im(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}])}(),Py="ng-animate-queued",Ey="ng-animate-disabled",Ty=".ng-animate-disabled",My=[],Ay={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ry={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Iy="__ng_removed",Ny=function(){return y(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";g(this,t),this.namespaceId=n;var i=e&&e.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(i?e.value:e),i){var r=Mm(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})},[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}])}(),Dy="void",Fy=new Ny(Dy),Ly=function(){return y(function t(e,n,i){g(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Wy(n,this._hostClassName)},[{key:"listen",value:function(t,e,n,i){var r=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if(!function(t){return"start"==t||"done"==t}(n))throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var o=am(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};o.push(a);var s=am(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Wy(t,Cm),Wy(t,Cm+"-"+e),s[e]=Fy),function(){r._engine.afterFlush(function(){var t=o.indexOf(a);t>=0&&o.splice(t,1),r._triggers[e]||delete s[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),a=new zy(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Wy(t,Cm),Wy(t,Cm+"-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new Ny(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=Fy),c.value===Dy||u.value!==c.value){var l=am(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,c.value,t,c.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:f}),f||(Wy(t,Py),a.onStart(function(){Gy(t,Py)})),a.onDone(function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Wy(t,Ey)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Gy(t,Ey))}},{key:"removeNode",value:function(t,e,n,i){if(Hy(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e[Iy]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Hy(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,xm,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Om,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return em(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[Iy];if(n&&n.setForRemoval){if(t[Iy]=Ay,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,Ty)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ty,!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;P--)this._namespaceList[P].drainQueuedTransitions(e).forEach(function(t){var e=t.player,n=t.element;if(S.push(e),i.collectedEnterElements.length){var a=n[Iy];if(a&&a.setForMove)return void e.destroy()}var h=!f||!i.driver.containsElement(f,n),d=C.get(n),p=v.get(n),g=i._buildInstruction(t,r,p,d,h);if(g.errors&&g.errors.length)O.push(g);else{if(h)return e.onStart(function(){return Dm(n,g.fromStyles)}),e.onDestroy(function(){return Nm(n,g.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Dm(n,g.fromStyles)}),e.onDestroy(function(){return Nm(n,g.toStyles)}),void o.push(e);g.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(n,g.timelines),s.push({instruction:g,player:e,element:n}),g.queriedElements.forEach(function(t){return am(u,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=c.get(e);i||c.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),g.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=l.get(e);i||l.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(O.length){var E=[];O.forEach(function(t){E.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return E.push("- ".concat(t,"\n"))})}),S.forEach(function(t){return t.destroy()}),this.reportError(E)}var T=new Map,M=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(M.set(e,e),i._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}),o.forEach(function(t){var e=t.element;i._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){am(T,e,[]).push(t),t.destroy()})});var A=m.filter(function(t){return Qy(t,c,l)}),R=new Map;Uy(R,this.driver,_,l,qg).forEach(function(t){Qy(t,c,l)&&A.push(t)});var I=new Map;p.forEach(function(t,e){Uy(I,i.driver,new Set(t),c,"!")}),A.forEach(function(t){var e=R.get(t),n=I.get(t);R.set(t,Object.assign(Object.assign({},e),n))});var N=[],D=[],F={};s.forEach(function(t){var e=t.element,n=t.player,s=t.instruction;if(r.has(e)){if(h.has(e))return n.onDestroy(function(){return Nm(e,s.toStyles)}),n.disabled=!0,n.overrideTotalTime(s.totalTime),void o.push(n);var u=F;if(M.size>1){for(var c=e,l=[];c=c.parentNode;){var f=M.get(c);if(f){u=f;break}l.push(c)}l.forEach(function(t){return M.set(t,u)})}var d=i._buildAnimation(n.namespaceId,s,T,a,I,R);if(n.setRealPlayer(d),u===F)N.push(n);else{var p=i.playersByElement.get(u);p&&p.length&&(n.parentPlayer=em(p)),o.push(n)}}else Dm(e,s.fromStyles),n.onDestroy(function(){return Nm(e,s.toStyles)}),D.push(n),h.has(e)&&o.push(n)}),D.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=em(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var L=0;L0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Yg(t.duration,t.delay)}}])}(),zy=function(){return y(function t(e,n,i){g(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new Yg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0},[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return im(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){am(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}])}();function Hy(t){return t&&1===t.nodeType}function By(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Uy(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(By(t))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(i,t,r);(!n||0==n.length)&&(i[Iy]=Ry,a.push(i))}),t.set(i,o)});var s=0;return n.forEach(function(t){return By(t,o[s++])}),a}function Vy(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),r=new Map;function o(t){if(!t)return 1;var e=r.get(t);if(e)return e;var a=t.parentNode;return e=n.has(a)?a:i.has(a)?1:o(a),r.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&n.get(e).push(t)}),n}var qy="$$classes";function Wy(t,e){if(t.classList)t.classList.add(e);else{var n=t[qy];n||(n=t[qy]={}),n[e]=!0}}function Gy(t,e){if(t.classList)t.classList.remove(e);else{var n=t[qy];n&&delete n[e]}}function Ky(t,e,n){em(n).onDone(function(){return t.processLeaveNode(e)})}function Zy(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}])}();function Yy(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=$y(e[0]),e.length>1&&(i=$y(e[e.length-1]))):e&&(n=$y(e)),n||i?new Xy(t,n,i):null}var Xy=function(){var t=function(){function t(e,n,i){g(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return y(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Nm(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Nm(this._element,this._initialStyles),this._endStyles&&(Nm(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Dm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dm(this._element,this._endStyles),this._endStyles=null),Nm(this._element,this._initialStyles),this._state=3)}}])}();return t.initialStylesByElement=new WeakMap,t}();function $y(t){for(var e=null,n=Object.keys(t),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),s_(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=c_(t,"").split(","),i=a_(n,e);i>=0&&(n.splice(i,1),u_(t,"",n.join(",")))}(this._element,this._name))}}])}();function r_(t,e,n){u_(t,"PlayState",n,o_(t,e))}function o_(t,e){var n=c_(t,"");return n.indexOf(",")>0?a_(n.split(","),e):a_([n],e)}function a_(t,e){for(var n=0;n=0)return n;return-1}function s_(t,e,n){n?t.removeEventListener(n_,e):t.addEventListener(n_,e)}function u_(t,e,n,i){var r=e_+e;if(null!=i){var o=t.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}t.style[r]=n}function c_(t,e){return t.style[e_+e]||""}var l_=function(){return y(function t(e,n,i,r,o,a,s,u){g(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()},[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new i_(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:Km(t.element,i))})}this.currentSnapshot=e}}])}(),h_=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e)).element=t,i._startingStyles={},i.__initialized=!1,i._styles=ym(n),i}return p(e,t),y(e,[{key:"init",value:function(){var t=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),h(d(e.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),h(d(e.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,h(d(e.prototype),"destroy",this).call(this))}}])}(Yg),f_=function(){return y(function t(){g(this,t),this._count=0},[{key:"validateStyleProperty",value:function(t){return pm(t)}},{key:"matchesElement",value:function(t,e){return vm(t,e)}},{key:"containsElement",value:function(t,e){return gm(t,e)}},{key:"query",value:function(t,e,n){return mm(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return ym(t)});var i="@keyframes ".concat(e," {\n"),r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(t){return t instanceof l_}),s={};qm(n,i)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=Wm(t,e,s));if(0==n)return new h_(t,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(t,c,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(l);var h=Yy(t,e),f=new l_(t,e,c,n,i,r,u,h);return f.onDestroy(function(){return function(t){t.parentNode.removeChild(t)}(l)}),f}}])}(),d_=function(){return y(function t(e,n,i,r){g(this,t),this.element=e,this.keyframes=n,this.options=i,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay},[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Km(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}])}(),p_=function(){return y(function t(){g(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(v_().toString()),this._cssKeyframesDriver=new f_},[{key:"validateStyleProperty",value:function(t){return pm(t)}},{key:"matchesElement",value:function(t,e){return vm(t,e)}},{key:"containsElement",value:function(t,e){return gm(t,e)}},{key:"query",value:function(t,e,n){return mm(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},c=o.filter(function(t){return t instanceof d_});qm(n,i)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=Yy(t,e=Wm(t,e=e.map(function(t){return Am(t,!1)}),u));return new d_(t,e,s,l)}}])}();function v_(){return $g()&&Element.prototype.animate||{}}var g_=function(){var t=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e))._nextAnimationId=0,i._renderer=t.createRenderer(n.body,{id:"0",encapsulation:Bt.None,styles:[],data:{animation:[]}}),i}return p(e,t),y(e,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Gg(t):t;return __(this._renderer,null,e,"register",[n]),new m_(e,this._renderer)}}])}(Vg);return t.\u0275fac=function(e){return new(e||t)(_i(gs),_i(Sc))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),m_=function(t){function e(t,n){var i;return g(this,e),(i=u(this,e))._id=t,i._renderer=n,i}return p(e,t),y(e,[{key:"create",value:function(t,e){return new y_(this._id,t,e||{},this._renderer)}}])}(function(){return y(function t(){g(this,t)})}()),y_=function(){return y(function t(e,n,i,r){g(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)},[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i=0&&t3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&e==b_?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}])}(),C_=function(t){function n(t,e,i,r){var o;return g(this,n),(o=u(this,n,[e,i,r])).factory=t,o.namespaceId=e,o}return p(n,t),y(n,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==b_?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,n,i){var r=this;if("@"==n.charAt(0)){var o,a,s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),u=n.substr(1),c="";return"@"!=u.charAt(0)&&(o=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(u),u=(a=e(o,2))[0],c=a[1]),this.engine.listen(this.namespaceId,s,u,c,function(t){r.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,n,i)}}])}(w_),x_=function(){var t=function(t){function e(t,n,i){return g(this,e),u(this,e,[t.body,n,i])}return p(e,t),y(e,[{key:"ngOnDestroy",value:function(){this.flush()}}])}(Jy);return t.\u0275fac=function(e){return new(e||t)(_i(Sc),_i(bm),_i(gy))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),S_=new $n("AnimationModuleType"),O_=[{provide:Vg,useClass:g_},{provide:gy,useFactory:function(){return new my}},{provide:Jy,useClass:x_},{provide:gs,useFactory:function(t,e,n){return new k_(t,e,n)},deps:[bl,Jy,Ku]}],P_=[{provide:bm,useFactory:function(){return"function"==typeof v_()?new p_:new f_}},{provide:S_,useValue:"BrowserAnimations"}].concat(O_),E_=[{provide:bm,useClass:_m},{provide:S_,useValue:"NoopAnimations"}].concat(O_),T_=function(){var t=function(){function t(){g(this,t)}return y(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?E_:P_}}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:P_,imports:[Dl]}),t}(),M_=new ys("12.2.13"),A_=new $n("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),R_=function(){var t=function(){return y(function t(e,n,i){g(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)},[{key:"_checkIsEnabled",value:function(t){return!(!ac()||Mv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&M_.full!==Ug.full&&console.warn("The Angular Material version ("+M_.full+") does not match the Angular CDK version ("+Ug.full+").\nPlease ensure the versions of these two packages exactly match.")}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Bg),_i(A_,8),_i(Sc))},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({imports:[[Iv],Iv]}),t}();function I_(t,e){return function(t){function n(){var t;g(this,n);for(var i=arguments.length,r=new Array(i),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},D_),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var a=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,u=e-r.top,c=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-a+"px",l.style.top=u-a+"px",l.style.height=2*a+"px",l.style.width=2*a+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(l),function(t){window.getComputedStyle(t).getPropertyValue("opacity")}(l),l.style.transform="scale(1)";var h=new N_(this,l,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var t=h===n._mostRecentTransientRipple;h.state=1,!i.persistent&&(!t||!n._isPointerDown)&&h.fadeOut()},c),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},D_),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=ev(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(L_))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(j_),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=Tg(t),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,F_)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(L_.forEach(function(e){t._triggerElement.removeEventListener(e,t,F_)}),this._pointerUpEventsRegistered&&j_.forEach(function(e){t._triggerElement.removeEventListener(e,t,F_)}))}}])}(),H_=new $n("mat-ripple-global-options"),B_=function(){var t=function(){return y(function t(e,n,i,r,o){g(this,t),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new z_(this,n,e,i)},[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(ps),Ea(Ku),Ea(Sv),Ea(H_,8),Ea(S_,8))},t.\u0275dir=ue({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&Ga("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),U_=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({imports:[[R_,Ov],R_]}),t}();function V_(t,e){}var q_=y(function t(){g(this,t),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}),W_={dialogContainer:function(t,e){return{type:7,name:t,definitions:e,options:{}}}("dialogContainer",[Zg("void, exit",Kg({opacity:0,transform:"scale(0.7)"})),Zg("enter",Kg({transform:"none"})),Qg("* => enter",Wg("150ms cubic-bezier(0, 0, 0.2, 1)",Kg({transform:"none",opacity:1}))),Qg("* => void, * => exit",Wg("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Kg({opacity:0})))])},G_=function(){var t=function(t){function e(t,n,i,r,o,a){var s;return g(this,e),(s=u(this,e))._elementRef=t,s._focusTrapFactory=n,s._changeDetectorRef=i,s._config=o,s._focusMonitor=a,s._animationStateChanged=new lu,s._elementFocusedBeforeDialogWasOpened=null,s._closeInteractionType=null,s.attachDomPortal=function(t){return s._portalOutlet.hasAttached(),s._portalOutlet.attachDomPortal(t)},s._ariaLabelledBy=o.ariaLabelledBy||null,s._document=r,s}return p(e,t),y(e,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=Ev(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Ev())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=Ev();return t===e||t.contains(e)}}])}(Uv);return t.\u0275fac=function(e){return new(e||t)(Ea(ps),Ea(Eg),Ea(js),Ea(Sc,8),Ea(q_),Ea(Lg))},t.\u0275dir=ue({type:t,viewQuery:function(t,e){var n;(1&t&&Cu(qv,7),2&t)&&(wu(n=xu())&&(e._portalOutlet=n.first))},features:[ga]}),t}(),K_=function(){var t,e=function(t){function e(){var t;return g(this,e),(t=u(this,e,arguments))._state="enter",t}return p(e,t),y(e,[{key:"_onAnimationDone",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}])}(G_);return e.\u0275fac=function(n){return(t||(t=function(t){return zt(function(){for(var e=t.prototype.constructor,n=e[$t]||Qn(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var o=r[$t]||Qn(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(t){return new t}})}(e)))(n||e)},e.\u0275cmp=ne({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&La("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&($a("id",e._id),Oa("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),ts("@dialogContainer",e._state))},features:[ga],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Pa(0,V_,0,0,"ng-template",0)},directives:[qv],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[W_.dialogContainer]}}),e}(),Z_=0,Q_=function(){return y(function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+Z_++;g(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new L,this._afterClosed=new L,this._beforeClosed=new L,this._state=0,n._id=r,n._animationStateChanged.pipe(hh(function(t){return"opened"===t.state}),rh(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(hh(function(t){return"closed"===t.state}),rh(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),e.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),e.keydownEvents().pipe(hh(function(t){return 27===t.keyCode&&!i.disableClose&&!function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}])}();function J_(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var Y_=new $n("MatDialogData"),X_=new $n("mat-dialog-default-options"),$_=new $n("mat-dialog-scroll-strategy"),tb={provide:$_,deps:[_g],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},eb=function(){var t=function(){return y(function t(e,n,i,r,o,a,s,u,c){var l=this;g(this,t),this._overlay=e,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L,this._afterOpenedAtThisLevel=new L,this._ariaHiddenElements=new Map,this.afterAllClosed=$l(function(){return l.openDialogs.length?l._getAfterAllClosed():l._getAfterAllClosed().pipe(sh(void 0))}),this._scrollStrategy=a},[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var n=this;e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new q_),e.id&&this.getDialogById(e.id);var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),o=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(e){return e.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new tg({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=pa.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:q_,useValue:e}]}),i=new zv(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var r=new this._dialogRefConstructor(n,e,i.id);if(t instanceof Vs)e.attachTemplatePortal(new Hv(t,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,e),a=e.attachComponentPortal(new zv(t,i.viewContainerRef,o));r.componentInstance=a.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(Rv,null,Ft.Optional))&&r.push({provide:Rv,useValue:{value:t.direction,change:Bl()}}),pa.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i!==t&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(_g),Ea(pa),Ea(void 0),Ea(void 0),Ea(ag),Ea(void 0),Ea(ei),Ea(ei),Ea($n))},t.\u0275dir=ue({type:t}),t}(),nb=function(){var t=function(t){function e(t,n,i,r,o,a,s){return g(this,e),u(this,e,[t,n,r,a,s,o,Q_,K_,Y_])}return p(e,t),y(e)}(eb);return t.\u0275fac=function(e){return new(e||t)(_i(_g),_i(pa),_i(Hc,8),_i(X_,8),_i($_),_i(t,12),_i(ag))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),ib=0,rb=function(){var t=function(){return y(function t(e,n,i){g(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"},[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=sb(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}},{key:"_onButtonClick",value:function(t){J_(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Q_,8),Ea(ps),Ea(nb))},t.\u0275dir=ue({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&Fa("click",function(t){return e._onButtonClick(t)}),2&t&&Oa("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ke]}),t}(),ob=function(){var t=function(){return y(function t(e,n,i){g(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+ib++},[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=sb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Q_,8),Ea(ps),Ea(nb))},t.\u0275dir=ue({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&$a("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),ab=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ue({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}();function sb(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(function(t){return t.id===n.id}):null}var ub=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:[nb,tb],imports:[[kg,Wv,R_],R_]}),t}(),cb=[[["","outside",""]],[["","inside",""]]],lb=["[outside]","[inside]"],hb=function(){var t=function(){return y(function t(e){g(this,t),this.share=e,this.basePath="/sites/default/files/2024-07/",this.gaEventName="\u5165\u53e3\u7db2"},[{key:"ngOnInit",value:function(){}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Up))},t.\u0275cmp=ne({type:t,selectors:[["app-portal-route-nav"]],ngContentSelectors:lb,decls:44,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["href","https://www.nestlehealthscience.com.tw/","target","_blank"],["src","./assets/image/footer_nestle_logo.png","alt","",1,"logo",2,"max-width","280px"],[1,"item","col-lg-4","p-3","d-none","d-lg-block"],[1,"title"],[1,"content","mt-3"],["href","tel:0800-070-127","target","_blank",1,"unsetLink"],[1,"content","mt-5"],[1,"route","mt-3"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB",2,"width","30px","height","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE",2,"width","30px","height","30px",3,"src"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],["width","60","height","60","alt","Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2",2,"width","30px","height","30px",3,"src"],[1,"item","col-lg-4","p-3","d-lg-none"],["href","tel:0800-070-127","target","_blank",1,"unsetLink",3,"click"]],template:function(t,e){1&t&&(Ua(cb),Va(0),Aa(1,"div",0),Va(2,1),Aa(3,"div",1),Aa(4,"div",2),Aa(5,"a",3),Ia(6,"img",4),Ra(),Ra(),Aa(7,"div",5),Aa(8,"div",6),Ya(9,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ra(),Aa(10,"address",7),Ya(11," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Ia(12,"br"),Ya(13," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Aa(14,"a",8),Ya(15,"0800-070-127"),Ra(),Ra(),Aa(16,"div",9),Ya(17," \xa9 Nestl\xe9 Health Science 2024 - All rights reserved "),Ra(),Ra(),Aa(18,"div",2),Aa(19,"div",6),Ya(20,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),Ra(),Aa(21,"div",10),Aa(22,"a",11),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),Ia(23,"img",12),Ya(24," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),Ra(),Ra(),Aa(25,"div",10),Aa(26,"a",13),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE")}),Ia(27,"img",14),Ya(28," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),Ra(),Ra(),Aa(29,"div",10),Aa(30,"a",15),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),Ia(31,"img",16),Ya(32," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),Ra(),Ra(),Ra(),Aa(33,"div",17),Aa(34,"div",6),Ya(35,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ra(),Aa(36,"address",7),Ya(37," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Ia(38,"br"),Ya(39," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Aa(40,"a",18),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Ya(41,"0800-070-127"),Ra(),Ra(),Aa(42,"div",9),Ya(43," \xa9 Nestl\xe9 Health Science 2024 - All rights reserved "),Ra(),Ra(),Ra(),Ra()),2&t&&(ro(23),Ta("src",e.basePath+"route-fb.png",zr),ro(4),Ta("src",e.basePath+"route-line.png",zr),ro(4),Ta("src",e.basePath+"route-web.png",zr))},directives:[Vp],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}.footer-nav-box[_ngcontent-%COMP%]{max-width:1440px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{text-align:center}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:282px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;color:#00205c;letter-spacing:1px;font-family:"NotoSansCJKtc-Bold";font-weight:900}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular";font-size:16px;color:#00205c;letter-spacing:1px;text-align:center;line-height:28px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:14px;letter-spacing:0}',".footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#334d87;text-decoration:none}.footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#334d87}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{color:#334d87}"]}),t}();function fb(t,e){1&t&&Ia(0,"br")}var db=["*"],pb=function(){var t=function(){return y(function t(e,n){g(this,t),this.share=e,this.platformId=n,this.toTopTheme="\u5165\u53e3\u7db2",this.footerWarning="\u672c\u7522\u54c1\u7279\u5b9a\u75be\u75c5\u4e0d\u9069\u5408\u4e00\u822c\u4eba\u4f7f\u7528\uff0c\u9808\u7d93\u91ab\u751f\u6216\u71df\u990a\u5e2b\u6307\u5c0e\u4f7f\u7528\u3002",this.topImagePath="/sites/default/files/2024-07/240705top.png"},[{key:"ngOnInit",value:function(){Xc(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Up),Ea(Ru))},t.\u0275cmp=ne({type:t,selectors:[["app-portal-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:db,decls:19,vars:4,consts:[[1,"mt-3"],[1,"main-footer"],[1,"px-2","d-none","d-lg-block","fbg"],["href","https://www.nestlehealthscience.com.tw/privacy-policy","target","_blank",1,"unsetLink","privacy-policy",3,"click"],["href","#",1,"unsetLink","cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],["alt","\u61f8\u6d6e\u6309\u9215_TOP","width","200","height","200",2,"width","100px","height","100px",3,"src"]],template:function(t,e){1&t&&(Ua(),Aa(0,"footer",0),Aa(1,"div",1),Aa(2,"p",2),Aa(3,"span"),Ya(4),Ra(),Aa(5,"a",3),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_\u96b1\u79c1\u6b0a\u653f\u7b56")}),Ya(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ra(),Aa(7,"a",4),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Ya(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ra(),Ra(),Aa(9,"p",5),Ya(10),Pa(11,fb,1,0,"br",6),Aa(12,"a",3),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_\u96b1\u79c1\u6b0a\u653f\u7b56")}),Ya(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ra(),Aa(14,"a",4),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Footer_Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Ya(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ra(),Ra(),Va(16),Ra(),Aa(17,"div",7),Fa("click",function(){return e.share.GA("click",e.toTopTheme,"\u61f8\u6d6e\u6309\u9215_TOP")}),Ia(18,"img",8),Ra(),Ra()),2&t&&(ro(4),Xa(" ",e.footerWarning,""),ro(6),Xa(" ",e.footerWarning,""),ro(1),Ta("ngIf",e.footerWarning),ro(7),Ta("src",e.topImagePath,zr))},directives:[Kc,Vp],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}footer[_ngcontent-%COMP%]{padding-bottom:60px}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;z-index:11;background-color:#1146a9}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";text-align:center;color:#fff;letter-spacing:0;font-size:16px;padding:10px 0;margin:0;position:relative;z-index:1;background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{position:fixed;bottom:125px;right:15px;cursor:pointer;z-index:999}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:10px 0}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:55px;right:0px}}',"footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{background-color:#002169}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{background-color:#002169}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:45px}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#002169;font-size:12px}}"]}),t}(),vb=function(){var t=function(){return y(function t(e,n,i,r,o){g(this,t),this.title=e,this.meta=n,this.share=i,this.dialog=r,this.platformId=o;var a="\u7acb\u651d\u9069 \u5e6b\u52a9\u65b0\u9673\u4ee3\u8b1d\u71df\u990a\u7ba1\u7406 \u7a69\u5065\u71df\u990a\u4eba\u751f | Nestle Health Science Taiwan";this.title.setTitle(a),this.meta.updateTag({content:a},'property="og:title"'),this.meta.updateTag({content:a},'property="og:site_name"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a\u7cd6\u5c3f\u75c5\u9069\u7528\u914d\u65b9\uff0c\u4f4e\u5347\u7cd6\u6307\u6578(GI=30)\u3001\u5c11\u7cd6\uff0c\u4e00\u74f6\u542b15\u516c\u514b\u512a\u8cea\u86cb\u767d\u8cea\u3002\u7acb\u651d\u9069\u76db\u5065\u814e\u81df\u75c5\u900f\u6790\u9069\u7528\uff0c\u5c08\u70ba\u814e\u81df\u75c5\u9ad4\u529b\u7814\u767c\uff0c\u6dfb\u52a0\u8449\u9178+B12\uff0c\u6709\u52a9\u65bc\u7d05\u8840\u7403\u5f62\u6210\uff0c\u5168\u53f0254\u9593\u6d17\u814e\u8a3a\u6240\u63a8\u85a6\u4f7f\u7528\u3002\u63a1\u7528\u96d9\u91cd\u5b89\u5fc3\u74f6\uff0c\u7121\u83cc\u5305\u88dd\u3001\u7121\u9435\u93fd\u5473\u3002"},'property="description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a\u7cd6\u5c3f\u75c5\u9069\u7528\u914d\u65b9\uff0c\u4f4e\u5347\u7cd6\u6307\u6578(GI=30)\u3001\u5c11\u7cd6\uff0c\u4e00\u74f6\u542b15\u516c\u514b\u512a\u8cea\u86cb\u767d\u8cea\u3002\u7acb\u651d\u9069\u76db\u5065\u814e\u81df\u75c5\u900f\u6790\u9069\u7528\uff0c\u5c08\u70ba\u814e\u81df\u75c5\u9ad4\u529b\u7814\u767c\uff0c\u6dfb\u52a0\u8449\u9178+B12\uff0c\u6709\u52a9\u65bc\u7d05\u8840\u7403\u5f62\u6210\uff0c\u5168\u53f0254\u9593\u6d17\u814e\u8a3a\u6240\u63a8\u85a6\u4f7f\u7528\u3002\u63a1\u7528\u96d9\u91cd\u5b89\u5fc3\u74f6\uff0c\u7121\u83cc\u5305\u88dd\u3001\u7121\u9435\u93fd\u5473\u3002"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069, \u7a69\u512a, \u7cd6\u5c3f\u75c5\u9069\u7528, \u4f4e\u5347\u7cd6\u6307\u6578, \u5c11\u7cd6, \u512a\u8cea\u86cb\u767d\u8cea, \u76db\u5065, \u814e\u81df\u75c5\u900f\u6790\u9069\u7528, \u8449\u9178, B12, \u96d9\u91cd\u5b89\u5fc3\u74f6, \u7121\u83cc\u5305\u88dd, \u7121\u9435\u93fd\u5473"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069, \u7a69\u512a, \u7cd6\u5c3f\u75c5\u9069\u7528, \u4f4e\u5347\u7cd6\u6307\u6578, \u5c11\u7cd6, \u512a\u8cea\u86cb\u767d\u8cea, \u76db\u5065, \u814e\u81df\u75c5\u900f\u6790\u9069\u7528, \u8449\u9178, B12, \u96d9\u91cd\u5b89\u5fc3\u74f6, \u7121\u83cc\u5305\u88dd, \u7121\u9435\u93fd\u5473"},'property="og:keyword"')},[{key:"ngOnInit",value:function(){Xc(this.platformId)}},{key:"ngAfterViewInit",value:function(){Xc(this.platformId)||AOS.init()}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Hl),Ea(Ll),Ea(Up),Ea(nb),Ea(Ru))},t.\u0275cmp=ne({type:t,selectors:[["app-portal"]],decls:53,vars:0,consts:[[1,"px-4","navbar","navbar-expand-lg","navbar-light","fixed-top","bg-white","d-flex","justify-content-between",2,"z-index","900"],[1,"cursor-pointer","logo-left",3,"click"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/renalanddiabetic/index","target","_blank"],[1,"logo-box"],["src","/sites/default/files/2024-07/240705logo-left.png","alt","banner","width","250","height","80",1,"img-fluid","no-lazy"],[1,"nav-button"],[1,"d-none","d-lg-inline-block","cursor-pointer",3,"click"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/diabetic/index","target","_blank"],["src","/sites/default/files/2024-07/240705d-nav-01.png","alt","Header_\u7a69\u512a\u54c1\u724c\u9928","width","440","height","160",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer",3,"click"],["src","/sites/default/files/2024-07/240705m-nav-01.png","alt","Header_\u7a69\u512a\u54c1\u724c\u9928","width","200","height","112",1,"img-fluid","no-lazy"],[1,"d-none","d-lg-inline-block","cursor-pointer"],[3,"click"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/renal/portal","target","_blank"],["src","/sites/default/files/2024-07/240705d-nav-02.png","alt","Header_\u76db\u5065\u54c1\u724c\u9928","width","440","height","160",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer"],["src","/sites/default/files/2024-07/240705m-nav-02.png","alt","Header_\u76db\u5065\u54c1\u724c\u9928","width","200","height","112",1,"img-fluid","no-lazy"],[1,"d-none","d-lg-block","logo-right"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",3,"click"],["src","/sites/default/files/2024-07/240705logo-right.png","alt","Header_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO","width","388","height","80",1,"img-fluid","no-lazy"],[1,"d-none"],[1,"space"],[1,"banner-box"],[1,"d-none","d-lg-block"],["src","/sites/default/files/2024-07/240705d-banner.jpg?v=0","alt","\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b","width","3840","height","1920",1,"img-fluid","no-lazy"],[1,"d-lg-none"],["src","/sites/default/files/2024-07/240705m-banner.jpg?v=0","alt","\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b","width","1500","height","5560",1,"img-fluid","w-100","no-lazy"],[1,"info-area"],[1,"container","pt-5","product-bottom-box"],[1,"row"],[1,"col-12","col-lg-6"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/diabetic/index","target","_blank",3,"click"],["src","/sites/default/files/2024-07/240705next-01.png","alt","\u524d\u5f80\u7a69\u512a\u54c1\u724c\u9928","width","1040","height","752",1,"img-fluid"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/renal/portal","target","_blank",3,"click"],["src","/sites/default/files/2024-07/240705next-02.png","alt","\u524d\u5f80\u76db\u5065\u54c1\u724c\u9928","width","1040","height","752",1,"img-fluid"],[1,"py-5","my-5"],["outside",""],[1,"shadow-area"],[1,"d-none","d-lg-block","shadow-box"],["src","/sites/default/files/2024-07/240705d-footer-shadow.png","alt","shadow","width","3840","height","350",1,"img-fluid"],[1,"d-lg-none","shadow-box"],["src","/sites/default/files/2024-07/240705m-footer-shadow.png","alt","shadow","width","750","height","150",1,"img-fluid"]],template:function(t,e){1&t&&(Aa(0,"nav",0),Aa(1,"div",1),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u7acb\u651d\u9069LOGO")}),Aa(2,"a",2),Aa(3,"div",3),Ia(4,"img",4),Ra(),Ra(),Ra(),Aa(5,"div",5),Aa(6,"div",6),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u7a69\u512a\u54c1\u724c\u9928")}),Aa(7,"a",7),Ia(8,"img",8),Ra(),Ra(),Aa(9,"div",9),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u7a69\u512a\u54c1\u724c\u9928")}),Aa(10,"a",7),Ia(11,"img",10),Ra(),Ra(),Aa(12,"div",11),Aa(13,"div",12),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u76db\u5065\u54c1\u724c\u9928")}),Aa(14,"a",13),Ia(15,"img",14),Ra(),Ra(),Ra(),Aa(16,"div",15),Aa(17,"div",12),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u76db\u5065\u54c1\u724c\u9928")}),Aa(18,"a",13),Ia(19,"img",16),Ra(),Ra(),Ra(),Ra(),Aa(20,"div",17),Aa(21,"a",18),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","Header_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),Ia(22,"img",19),Ra(),Ra(),Ra(),Aa(23,"h1",20),Ya(24,"\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b"),Ra(),Ia(25,"div",21),Aa(26,"div",22),Aa(27,"div",23),Ia(28,"img",24),Ra(),Aa(29,"div",25),Ia(30,"img",26),Ra(),Ra(),Aa(31,"div",27),Aa(32,"div",28),Aa(33,"div",29),Aa(34,"div",30),Aa(35,"a",31),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u7a69\u512a\u54c1\u724c\u9928"),e.share.goTo("body")}),Ia(36,"img",32),Aa(37,"h2",20),Ya(38,"\u524d\u5f80\u7a69\u512a\u54c1\u724c\u9928"),Ra(),Ra(),Ra(),Aa(39,"div",30),Aa(40,"a",33),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u76db\u5065\u54c1\u724c\u9928"),e.share.goTo("body")}),Ia(41,"img",34),Aa(42,"h2",20),Ya(43,"\u524d\u5f80\u76db\u5065\u54c1\u724c\u9928"),Ra(),Ra(),Ra(),Ra(),Ra(),Ia(44,"div",35),Ra(),Aa(45,"app-portal-route-nav"),Aa(46,"div",36),Aa(47,"div",37),Aa(48,"div",38),Ia(49,"img",39),Ra(),Aa(50,"div",40),Ia(51,"img",41),Ra(),Ra(),Ra(),Ra(),Ia(52,"app-portal-footer"))},directives:[Vp,hb,pb],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}nav[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%] .logo-box[_ngcontent-%COMP%]{max-width:125px}nav[_ngcontent-%COMP%] .logo-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:194px}nav[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.space[_ngcontent-%COMP%]{height:90px}.info-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/2024-07/240705d-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.info-area[_ngcontent-%COMP%] .title-box[_ngcontent-%COMP%]{max-width:680px}.shadow-area[_ngcontent-%COMP%]{position:relative}.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{position:absolute;top:-200px}@media (max-width: 2000px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-170px}}@media (max-width: 1600px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-140px}}@media (max-width: 1600px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-110px}}@media (max-width: 1200px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-90px}}@media (max-width: 992px){.space[_ngcontent-%COMP%]{height:70px}.title[_ngcontent-%COMP%]{font-size:2.8rem}nav[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:calc(100vw * (135 / 375))}nav[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:calc(100vw * (100 / 375))}.info-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/2024-07/240705m-bg.jpg)}}"]}),t}(),gb=["mat-button",""],mb=["*"],yb=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],_b=I_(function(t){return function(t){function e(){var t;g(this,e);for(var n=arguments.length,i=new Array(n),r=0;r*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t}(),kb=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({imports:[[U_,R_],R_]}),t}();function wb(t,e){return new R(function(n){var i=t.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var u=Q(t[s]),c=!1;n.add(u.subscribe({next:function(t){c||(c=!0,a++),r[s]=t},error:function(t){return n.error(t)},complete:function(){(++o===i||!c)&&(a===i&&n.next(e?e.reduce(function(t,e,n){return t[e]=r[n],t},{}):r),n.complete())}}))},u=0;u0){var i=t.slice(0,e),r=i.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return y(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n(i)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var a=this.headers.get(e);if(!a)return;0===(a=a.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}])}(),Ob=function(){return y(function t(){g(this,t)},[{key:"encodeKey",value:function(t){return Tb(t)}},{key:"encodeValue",value:function(t){return Tb(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}])}(),Pb=/%(\d[a-f0-9])/gi,Eb={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Tb(t){return encodeURIComponent(t).replace(Pb,function(t,e){var n;return null!==(n=Eb[e])&&void 0!==n?n:t})}function Mb(t){return"".concat(t)}var Ab=function(){function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(g(this,t),this.updates=null,this.cloneFrom=null,this.encoder=i.encoder||new Ob,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,n){var i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(t){var r=t.indexOf("="),o=e(-1==r?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,r)),n.decodeValue(t.slice(r+1))],2),a=o[0],s=o[1],u=i.get(a)||[];u.push(s),i.set(a,u)}),i}(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(function(t){var e=i.fromObject[t];n.map.set(t,Array.isArray(e)?e:[e])})):this.map=null}return y(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var i=t[n];Array.isArray(i)?i.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(Mb(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(Mb(e.value));-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}])}(),Rb=function(){return y(function t(){g(this,t),this.map=new Map},[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}])}();function Ib(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Nb(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Db(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Fb=function(){function t(e,n,i,r){var o;if(g(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.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!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Sb),this.context||(this.context=new Rb),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},c)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},l)),new t(i,r,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}])}(),Lb=((Lb=Lb||{})[Lb.Sent=0]="Sent",Lb[Lb.UploadProgress=1]="UploadProgress",Lb[Lb.ResponseHeader=2]="ResponseHeader",Lb[Lb.DownloadProgress=3]="DownloadProgress",Lb[Lb.Response=4]="Response",Lb[Lb.User=5]="User",Lb),jb=y(function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";g(this,t),this.headers=e.headers||new Sb,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}),zb=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g(this,e),(t=u(this,e,[n])).type=Lb.ResponseHeader,t}return p(e,t),y(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({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})}}])}(jb),Hb=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g(this,e),(t=u(this,e,[n])).type=Lb.Response,t.body=void 0!==n.body?n.body:null,t}return p(e,t),y(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e({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})}}])}(jb),Bb=function(t){function e(t){var n;return g(this,e),(n=u(this,e,[t,0,"Unknown Error"])).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),n.error=t.error||null,n}return p(e,t),y(e)}(jb);function Ub(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Vb=function(){var t=function(){return y(function t(e){g(this,t),this.handler=e},[{key:"request",value:function(t,e){var n,i,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof Fb?n=t:(i=a.headers instanceof Sb?a.headers:new Sb(a.headers),a.params&&(r=a.params instanceof Ab?a.params:new Ab({fromObject:a.params})),n=new Fb(t,e,void 0!==a.body?a.body:null,{headers:i,context:a.context,params:r,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials}));var s=Bl(n).pipe(mh(function(t){return o.handler.handle(t)}));if(t instanceof Fb||"events"===a.observe)return s;var u=s.pipe(hh(function(t){return t instanceof Hb}));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return u.pipe(H(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(H(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(H(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return u.pipe(H(function(t){return t.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new Ab).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,Ub(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,Ub(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,Ub(n,e))}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Cb))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),qb=function(){return y(function t(e,n){g(this,t),this.next=e,this.interceptor=n},[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}])}(),Wb=new $n("HTTP_INTERCEPTORS"),Gb=function(){var t=function(){return y(function t(){g(this,t)},[{key:"intercept",value:function(t,e){return e.handle(t)}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Kb=/^\)\]\}',?\n/,Zb=function(){var t=function(){return y(function t(e){g(this,t),this.xhrFactory=e},[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new R(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Sb(i.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}(i)||t.url;return s=new zb({headers:r,status:e,statusText:n,url:o})},c=function(){var e=u(),r=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===i.response?i.responseText:i.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(Kb,"");try{c=""!==c?JSON.parse(c):null}catch(f){c=h,l&&(l=!1,c={error:f,text:c})}}l?(n.next(new Hb({body:c,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Bb({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,r=new Bb({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},h=!1,f=function(e){h||(n.next(u()),h=!0);var r={type:Lb.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&!!i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(t){var e={type:Lb.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",c),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),t.reportProgress&&(i.addEventListener("progress",f),null!==a&&i.upload&&i.upload.addEventListener("progress",d)),i.send(a),n.next({type:Lb.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",c),i.removeEventListener("timeout",l),t.reportProgress&&(i.removeEventListener("progress",f),null!==a&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(il))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Qb=new $n("XSRF_COOKIE_NAME"),Jb=new $n("XSRF_HEADER_NAME"),Yb=y(function t(){g(this,t)}),Xb=function(){var t=function(){return y(function t(e,n,i){g(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0},[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Gc(t,this.cookieName),this.lastCookieString=t),this.lastToken}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Sc),_i(Ru),_i(Qb))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),$b=function(){var t=function(){return y(function t(e,n){g(this,t),this.tokenService=e,this.headerName=n},[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(Yb),_i(Jb))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),tk=function(){var t=function(){return y(function t(e,n){g(this,t),this.backend=e,this.injector=n,this.chain=null},[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(Wb,[]);this.chain=e.reduceRight(function(t,e){return new qb(t,e)},this.backend)}return this.chain.handle(t)}}])}();return t.\u0275fac=function(e){return new(e||t)(_i(xb),_i(pa))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),ek=function(){var t=function(){function t(){g(this,t)}return y(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:$b,useClass:Gb}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Qb,useValue:e.cookieName}:[],e.headerName?{provide:Jb,useValue:e.headerName}:[]]}}}])}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:[$b,{provide:Wb,useExisting:$b,multi:!0},{provide:Yb,useClass:Xb},{provide:Qb,useValue:"XSRF-TOKEN"},{provide:Jb,useValue:"X-XSRF-TOKEN"}]}),t}(),nk=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=Pt({providers:[Vb,{provide:Cb,useClass:tk},Zb,{provide:xb,useExisting:Zb}],imports:[[ek.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),ik=["*"];function rk(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function ok(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function ak(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var sk=y(function t(e,n,i){g(this,t),this.url=e,this.svgText=n,this.options=i}),uk=function(){var t=function(){return y(function t(e,n,i,r){g(this,t),this._httpClient=e,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i},[{key:"addSvgIcon",value:function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}},{key:"addSvgIconLiteral",value:function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}},{key:"addSvgIconInNamespace",value:function(t,e,n,i){return this._addSvgIconConfig(t,e,new sk(n,null,i))}},{key:"addSvgIconResolver",value:function(t){return this._resolvers.push(t),this}},{key:"addSvgIconLiteralInNamespace",value:function(t,e,n,i){var r=this._sanitizer.sanitize(jr.HTML,n);if(!r)throw ak(n);return this._addSvgIconConfig(t,e,new sk("",r,i))}},{key:"addSvgIconSet",value:function(t,e){return this.addSvgIconSetInNamespace("",t,e)}},{key:"addSvgIconSetLiteral",value:function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}},{key:"addSvgIconSetInNamespace",value:function(t,e,n){return this._addSvgIconSetConfig(t,new sk(e,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,n){var i=this._sanitizer.sanitize(jr.HTML,e);if(!i)throw ak(e);return this._addSvgIconSetConfig(t,new sk("",i,n))}},{key:"registerFontClassAlias",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(jr.RESOURCE_URL,t);if(!n)throw ok(t);var i=this._cachedIconsByUrl.get(n);return i?Bl(ck(i)):this._loadSvgIconFromConfig(new sk(t,null)).pipe(Mh(function(t){return e._cachedIconsByUrl.set(n,t)}),H(function(t){return ck(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=lk(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):yv(rk(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Bl(ck(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(H(function(t){return ck(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var i=this,r=this._extractIconWithNameFromAnySet(t,e);return r?Bl(r):function(){for(var t=arguments.length,e=new Array(t),i=0;i=0;n--){var i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){var r=this._svgElementFromConfig(i),o=this._extractSvgIconFromSet(r,t,i.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe(Mh(function(e){return t.svgText=e}),H(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Bl(null):this._fetchIcon(t).pipe(Mh(function(e){return t.svgText=e}))}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString(""),n=t.attributes,i=0;i button").trigger("click")}),Hp(3e3).subscribe(function(){return Ok.forEach(function(t){return(new Image).src=t})}))}}])}();return t.\u0275fac=function(e){return new(e||t)(Ea(Ru))},t.\u0275cmp=ne({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&Ia(0,"router-outlet")},directives:[gp],encapsulation:2}),t}(),Ek=function(){var t=y(function t(){g(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t,bootstrap:[Pk]}),t.\u0275inj=Pt({providers:[],imports:[[Dl.withServerTransition({appId:"serverApp"}),Sk,ub,yk,kb,T_,nk]]}),t}();function Tk(){Il().bootstrapModule(Ek).catch(function(t){return console.error(t)})}!function(){if(oc)throw new Error("Cannot enable prod mode after platform setup.");rc=!1}(),"complete"===document.readyState?Tk():document.addEventListener("DOMContentLoaded",Tk)}},function(t){t(t.s=5528)}])}();