!function(){function t(t,e,n){return 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)return;var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}(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=Object.prototype.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=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(i){return i.pipe(et(function(n,i){return J(t(n,i)).pipe(B(function(t,r){return e(n,t,i,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new nt(t,n))})}var nt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;m(this,t),this.project=e,this.concurrent=n}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new it(t,this.project,this.concurrent))}}]),t}(),it=function(t){c(n,t);var e=f(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return m(this,n),(r=e.call(this,t)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _(n,[{key:"_next",value:function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(X);function rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return et(R,t)}function ot(t,e){return e?Q(t,e):new I(q(t))}function at(){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 I?e[0]:rt(i)(ot(e,r))}function st(){return function(t){return t.lift(new ut(t))}}var ut=function(){function t(e){m(this,t),this.connectable=e}return _(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new lt(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),lt=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).connectable=i,r}return _(n,[{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}}]),n}(T),ct=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return _(n,[{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 O).add(this.source.subscribe(new ft(this.getSubject(),this))),t.closed&&(this._connection=null,t=O.EMPTY)),t}},{key:"refCount",value:function(){return st()(this)}}]),n}(I),ht=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}}}(),ft=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).connectable=i,r}return _(n,[{key:"_error",value:function(t){this._unsubscribe(),u(g(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),u(g(n.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()}}}]),n}(F);function dt(){return new j}function pt(){return function(t){return st()(function(t,e){return function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,ht);return i.source=e,i.subjectFactory=n,i}}(dt)(t))}}function vt(t){for(var e in t)if(t[e]===vt)return e;throw Error("Could not find renamed property on target object.")}function gt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function mt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(mt).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 yt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var _t=vt({__forward_ref__:vt});function bt(t){return t.__forward_ref__=bt,t.toString=function(){return mt(this())},t}function kt(t){return wt(t)?t():t}function wt(t){return"function"==typeof t&&t.hasOwnProperty(_t)&&t.__forward_ref__===bt}var Ct=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,i))).code=t,r}return _(n)}(a(Error));function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function St(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}function Ot(t,e){var n=e?" in ".concat(e):"";throw new Ct("201","No provider for ".concat(St(t)," found").concat(n))}function Pt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Et(t){return{providers:t.providers||[],imports:t.imports||[]}}function Tt(t){return Mt(t,It)||Mt(t,Dt)}function Mt(t,e){return t.hasOwnProperty(e)?t[e]:null}function At(t){return t&&(t.hasOwnProperty(Nt)||t.hasOwnProperty(Lt))?t[Nt]:null}var Rt,It=vt({"\u0275prov":vt}),Nt=vt({"\u0275inj":vt}),Dt=vt({ngInjectableDef:vt}),Lt=vt({ngInjectorDef:vt}),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 jt(t){var e=Rt;return Rt=t,e}function zt(t,e,n){var i=Tt(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 Ot(mt(t),"Injector")}function Ht(t){return{toString:t}.toString()}var Bt=((Bt=Bt||{})[Bt.OnPush=0]="OnPush",Bt[Bt.Default=1]="Default",Bt),Ut=((Ut=Ut||{})[Ut.Emulated=0]="Emulated",Ut[Ut.None=2]="None",Ut[Ut.ShadowDom=3]="ShadowDom",Ut),Vt="undefined"!=typeof globalThis&&globalThis,qt="undefined"!=typeof window&&window,Wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Gt=Vt||"undefined"!=typeof global&&global||qt||Wt,Kt={},Zt=[],Qt=vt({"\u0275cmp":vt}),Jt=vt({"\u0275dir":vt}),Yt=vt({"\u0275pipe":vt}),Xt=vt({"\u0275mod":vt}),$t=vt({"\u0275loc":vt}),te=vt({"\u0275fac":vt}),ee=vt({__NG_ELEMENT_ID__:vt}),ne=0;function ie(t){return Ht(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===Bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Zt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ut.Emulated,id:"c",styles:t.styles||Zt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=ne++,n.inputs=ue(t.inputs,e),n.outputs=ue(t.outputs),r&&r.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(re)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(oe)}:null,n})}function re(t){return ce(t)||function(t){return t[Jt]||null}(t)}function oe(t){return function(t){return t[Yt]||null}(t)}var ae={};function se(t){return Ht(function(){var e={type:t.type,bootstrap:t.bootstrap||Zt,declarations:t.declarations||Zt,imports:t.imports||Zt,exports:t.exports||Zt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(ae[t.id]=t.type),e})}function ue(t,e){if(null==t)return Kt;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 le=ie;function ce(t){return t[Qt]||null}function he(t,e){var n=t[Xt]||null;if(!n&&!0===e)throw new Error("Type ".concat(mt(t)," does not have '\u0275mod' property."));return n}var fe=11;function de(t){return Array.isArray(t)&&"object"==typeof t[1]}function pe(t){return Array.isArray(t)&&!0===t[1]}function ve(t){return 0!=(8&t.flags)}function ge(t){return 2==(2&t.flags)}function me(t){return 1==(1&t.flags)}function ye(t){return null!==t.template}function _e(t){return 0!=(512&t[2])}function be(t,e){return t.hasOwnProperty(te)?t[te]:null}var ke=function(){function t(e,n,i){m(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return _(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function we(){return Ce}function Ce(t){return t.type.prototype.ngOnChanges&&(t.setInput=Se),xe}function xe(){var t=Ee(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Kt)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function Se(t,e,n,i){var r=Ee(t)||function(t,e){return t[Pe]=e}(t,{previous:Kt,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new ke(u&&u.currentValue,e,a===Kt),t[i]=e}we.ngInherit=!0;var Oe,Pe="__ngSimpleChanges__";function Ee(t){return t[Pe]||null}function Te(t){return!!t.listen}var Me={createRenderer:function(t,e){return void 0!==Oe?Oe:"undefined"!=typeof document?document:void 0}};function Ae(t){for(;Array.isArray(t);)t=t[0];return t}function Re(t,e){return Ae(e[t])}function Ie(t,e){return Ae(e[t.index])}function Ne(t,e){return t.data[e]}function De(t,e){var n=e[t];return de(n)?n:n[0]}function Le(t){return 4==(4&t[2])}function Fe(t){return 128==(128&t[2])}function je(t,e){return null==e?null:t[e]}function ze(t){t[18]=0}function He(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 Be={lFrame:ln(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ue(){return Be.bindingsEnabled}function Ve(){return Be.lFrame.lView}function qe(){return Be.lFrame.tView}function We(){for(var t=Ge();null!==t&&64===t.type;)t=t.parent;return t}function Ge(){return Be.lFrame.currentTNode}function Ke(t,e){var n=Be.lFrame;n.currentTNode=t,n.isParent=e}function Ze(){return Be.lFrame.isParent}function Qe(){Be.lFrame.isParent=!1}function Je(){return Be.isInCheckNoChangesMode}function Ye(t){Be.isInCheckNoChangesMode=t}function Xe(){return Be.lFrame.bindingIndex++}function $e(t,e){var n=Be.lFrame;n.bindingIndex=n.bindingRootIndex=t,tn(e)}function tn(t){Be.lFrame.currentDirectiveIndex=t}function en(t){var e=Be.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function nn(){return Be.lFrame.currentQueryIndex}function rn(t){Be.lFrame.currentQueryIndex=t}function on(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function an(t,e,n){if(n&Ft.SkipSelf){for(var i=e,r=t;!(null!==(i=i.parent)||n&Ft.Host||(i=on(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}var o=Be.lFrame=un();return o.currentTNode=e,o.lView=t,!0}function sn(t){var e=un(),n=t[1];Be.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function un(){var t=Be.lFrame,e=null===t?null:t.child;return null===e?ln(t):e}function ln(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=Be.lFrame;return Be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var hn=cn;function fn(){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 dn(){return Be.lFrame.selectedIndex}function pn(t){Be.lFrame.selectedIndex=t}function vn(){var t=Be.lFrame;return Ne(t.tView,t.selectedIndex)}function gn(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 wn=_(function t(e,n,i){m(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i});function Cn(t,e,n){for(var i=Te(t),r=0;re){a=o-1;break}}}for(;o>16}(t),i=e;n>0;)i=i[15],n--;return i}var An=!0;function Rn(t){var e=An;return An=t,e}var In=0;function Nn(t,e){var n=Ln(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Dn(i.data,t),Dn(e,null),Dn(i.blueprint,null));var r=Fn(t,e),o=t.injectorIndex;if(En(r))for(var a=Tn(r),s=Mn(r,e),u=s[1].data,l=0;l<8;l++)e[o+l]=s[a+l]|u[a+l];return e[o+8]=r,o}function Dn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ln(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 jn(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ee)&&(i=n[ee]),null==i&&(i=n[ee]=In++);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(ee)?t[ee]:void 0;return"number"==typeof e?e>=0?255&e:Vn:e}(n);if("function"==typeof o){if(!an(e,t,i))return i&Ft.Host?zn(r,n,i):Hn(e,n,i,r);try{var a=o(i);if(null!=a||i&Ft.Optional)return a;Ot(n)}finally{hn()}}else if("number"==typeof o){var s=null,u=Ln(t,e),l=-1,c=i&Ft.Host?e[16][6]:null;for((-1===u||i&Ft.SkipSelf)&&(-1!==(l=-1===u?Fn(t,e):e[u+8])&&Zn(i,!1)?(s=e[1],u=Tn(l),e=Mn(l,e)):u=-1);-1!==u;){var h=e[1];if(Kn(o,u,h.data)){var f=qn(u,e,n,s,i,c);if(f!==Un)return f}-1!==(l=e[u+8])&&Zn(i,e[1].data[u+8]===c)&&Kn(o,u,e)?(s=h,u=Tn(l),e=Mn(l,e)):u=-1}}}return Hn(e,n,i,r)}var Un={};function Vn(){return new Qn(We(),Ve())}function qn(t,e,n,i,r,o){var a=e[1],s=a.data[t+8],u=Wn(s,a,n,null==i?ge(s)&&An:i!=a&&0!=(3&s.type),r&Ft.Host&&o===s);return null!==u?Gn(e,a,u,s):Un}function Wn(t,e,n,i,r){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,l=o>>20,c=r?s+l:t.directiveEnd,h=i?s:s+l;h=u&&f.type===n)return h}if(r){var d=a[u];if(d&&ye(d)&&d.type===n)return u}return null}function Gn(t,e,n,i){var r=t[n],o=e.data;if(function(t){return t instanceof wn}(r)){var a=r;a.resolving&&function(t,e){throw new Ct("200","Circular dependency in DI detected for ".concat(t))}(St(o[n]));var s=Rn(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?jt(a.injectImpl):null;an(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=Ce(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&&jt(u),Rn(s),a.resolving=!1,hn()}}return r}function Kn(t,e,n){return!!(n[e+(t>>5)]&1<=t.length?t.push(n):t.splice(e,0,n)}function ai(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function si(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 li(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 hi,fi={},di="__NG_DI_FLAG__",pi="ngTempTokenPath",vi=/\n/gm,gi="__source",mi=vt({provide:String,useValue:vt});function yi(t){var e=hi;return hi=t,e}function _i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft.Default;if(void 0===hi)throw new Error("inject() must be called from an injection context");return null===hi?zt(t,void 0,e):hi.get(t,e&Ft.Optional?null:void 0,e)}function bi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft.Default;return(Rt||_i)(kt(t),e)}var ki=bi;function wi(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=mt(e);if(Array.isArray(e))r=e.map(mt).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):mt(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(vi,"\n "))}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[pi]=null,t}var Oi,Pi=Ci($n("Inject",function(t){return{token:t}}),-1),Ei=Ci($n("Optional"),8),Ti=Ci($n("SkipSelf"),4);function Mi(t){var e;return(null===(e=function(){if(void 0===Oi&&(Oi=null,Gt.trustedTypes))try{Oi=Gt.trustedTypes.createPolicy("angular",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return Oi}())||void 0===e?void 0:e.createHTML(t))||t}var Ai=function(){function t(e){m(this,t),this.changingThisBreaksApplicationSecurity=e}return _(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),t}(),Ri=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Ai),Ii=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Ai),Ni=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Ai),Di=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Ai),Li=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Ai);function Fi(t){return t instanceof Ai?t.changingThisBreaksApplicationSecurity:t}function ji(t,e){var n=zi(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===e}function zi(t){return t instanceof Ai&&t.getTypeName()||null}var Hi=function(){function t(e){m(this,t),this.inertDocumentHelper=e}return _(t,[{key:"getInertBodyElement",value:function(t){t=""+t;try{var e=(new window.DOMParser).parseFromString(Mi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}]),t}(),Bi=function(){function t(e){if(m(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)}}return _(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Mi(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=Mi(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();Xi.hasOwnProperty(e)&&!Qi.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(ar(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}}]),t}(),rr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,or=/([^\#-~ |!])/g;function ar(t){return t.replace(/&/g,"&").replace(rr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(or,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function sr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ur=((ur=ur||{})[ur.NONE=0]="NONE",ur[ur.HTML=1]="HTML",ur[ur.STYLE=2]="STYLE",ur[ur.SCRIPT=3]="SCRIPT",ur[ur.URL=4]="URL",ur[ur.RESOURCE_URL=5]="RESOURCE_URL",ur);function lr(t){var e=function(){var t=Ve();return t&&t[12]}();return e?e.sanitize(ur.URL,t)||"":ji(t,"URL")?Fi(t):qi(xt(t))}var cr="__ngContext__";function hr(t,e){t[cr]=e}function fr(t){var e=function(t){return t[cr]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function dr(t){return t.ngOriginalError}function pr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&(t[n-1][4]=i[4]);var o=ai(t,10+e);!function(t,e){Ur(t,e,e[fe],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 Er(t,e){if(!(256&e[2])){var n=e[fe];Te(n)&&n.destroyNode&&Ur(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Tr(t[1],t);for(;e;){var n=null;if(de(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)de(e)&&Tr(e[1],e),e=e[3];null===e&&(e=t),de(e)&&Tr(e[1],e),n=e&&e[4]}e=n}}(e)}}function Tr(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=l]():i[r=-l].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var h=r+1;ho?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==Gr(f,l,0)||2&i&&l!==h){if(Xr(i))return!1;a=!0}}}}else{if(!a&&!Xr(i)&&!Xr(u))return!1;if(a&&Xr(u))continue;a=!1,i=u|1&i}}return Xr(i)||a}function Xr(t){return 0==(1&t)}function $r(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&&!Xr(a)&&(e+=no(o,r),r=""),i=a,o=o||!Xr(i);n++}return""!==r&&(e+=no(o,r)),e}var ro={};function oo(t){ao(qe(),Ve(),dn()+t,Je())}function ao(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&mn(e,r,n)}else{var o=t.preOrderHooks;null!==o&&yn(e,o,0,n)}pn(n)}function so(t,e){return t<<17|e<<2}function uo(t){return t>>17&32767}function lo(t){return 2|t}function co(t){return(131068&t)>>2}function ho(t,e){return-131069&t|e<<2}function fo(t){return 1|t}function po(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i20&&ao(t,e,20,Je()),n(i,r)}finally{pn(o)}}function wo(t,e,n){!Ue()||(function(t,e,n,i){var r=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Nn(n,e),hr(i,e);for(var a=n.initialInputs,s=r;s2&&void 0!==arguments[2]?arguments[2]:Ie,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 Ao(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ro(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Io(t,e,n){if(n){if(e.exportAs)for(var i=0;i0&&Bo(n)}}function Bo(t){for(var e=kr(t);null!==e;e=wr(e))for(var n=10;n0&&Bo(i)}var o=t[1].components;if(null!==o)for(var a=0;a0&&Bo(s)}}function Uo(t,e){var n=De(e,t),i=n[1];(function(t,e){for(var n=e.length;n1&&void 0!==arguments[1]?arguments[1]:fi;if(e===fi){var n=new Error("NullInjectorError: No provider for ".concat(mt(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),ra=new ti("Set Injector scope."),oa={},aa={};function sa(){return void 0===ea&&(ea=new ia),ea}function ua(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 la(t,n,e||sa(),i)}var la=function(){function t(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;m(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&ri(n,function(t){return r.processProvider(t,e,n)}),ri([e],function(t){return r.processInjectorType(t,[],a)}),this.records.set(na,ha(void 0,this));var s=this.records.get(ra);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:mt(e))}return _(t,[{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]:fi,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ft.Default;this.assertNotDestroyed();var i=yi(this),r=jt(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 ti}(t)&&Tt(t);o=a&&this.injectableDefInScope(a)?ha(ca(t),oa):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(n&Ft.Self?sa():this.parent).get(t,e=n&Ft.Optional&&e===fi?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[pi]=s[pi]||[]).unshift(mt(t)),i)throw s;return Si(s,t,"R3InjectorError",this.source)}throw s}finally{jt(r),yi(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(mt(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=kt(t)))return!1;var r=At(t),o=null==r&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=At(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{ri(r.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var l=function(t){var e=u[t],n=e.ngModule,r=e.providers;ri(r,function(t){return i.processProvider(t,n,r||Zt)})},c=0;c0){var n=si(e,"?");throw new Error("Can't resolve all parameters for ".concat(mt(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[It]||t[Dt]);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 ha(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function fa(t){return null!==t&&"object"==typeof t&&mi in t}function da(t){return"function"==typeof t}var pa=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=ua(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},va=function(){var t=function(){function t(){m(this,t)}return _(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?pa(t,e,""):pa(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=fi,t.NULL=new ia,t.\u0275prov=Pt({token:t,providedIn:"any",factory:function(){return bi(na)}}),t.__NG_ELEMENT_ID__=-1,t}();function ga(t,e){gn(fr(t)[1],We())}function ma(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,i=[t];e;){var r=void 0;if(ye(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=ya(t.inputs),o.declaredInputs=ya(t.declaredInputs),o.outputs=ya(t.outputs);var a=r.hostBindings;a&&ka(t,a);var s=r.viewQuery,u=r.contentQueries;if(s&&_a(t,s),u&&ba(t,u),gt(t.inputs,r.inputs),gt(t.declaredInputs,r.declaredInputs),gt(t.outputs,r.outputs),ye(r)&&r.data.animation){var l=t.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var h=0;h=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=On(r.hostAttrs,n=On(n,r.hostAttrs))}}(i)}function ya(t){return t===Kt?{}:t===Zt?[]:t}function _a(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function ba(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function ka(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}var wa=null;function Ca(){if(!wa){var t=Gt.Symbol;if(t&&t.iterator)wa=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:Ft.Default,n=Ve();return null===n?bi(t,e):Bn(We(),n,kt(t),e)}function Ma(t,e,n){var i=Ve();return Oa(i,Xe(),e)&&Eo(qe(),vn(),i,t,e,i[fe],n,!1),Ma}function Aa(t,e,n,i,r){var o=r?"class":"style";$o(t,n,e.inputs[o],o,i)}function Ra(t,e,n,i){var r=Ve(),o=qe(),a=20+t,s=r[fe],u=r[a]=Sr(s,e,Be.lFrame.currentNamespace),l=o.firstCreatePass?function(t,e,n,i,r,o,a){var s=e.consts,u=go(e,t,2,r,je(s,o));return To(e,n,u,je(s,a)),null!==u.attrs&&ta(u,u.attrs,!1),null!==u.mergedAttrs&&ta(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,r,0,e,n,i):o.data[a];Ke(l,!0);var c=l.mergedAttrs;null!==c&&Cn(s,u,c);var h=l.classes;null!==h&&Wr(s,u,h);var f=l.styles;null!==f&&qr(s,u,f),64!=(64&l.flags)&&Fr(o,r,u,l),0===Be.lFrame.elementDepthCount&&hr(u,r),Be.lFrame.elementDepthCount++,me(l)&&(wo(o,r,l),function(t,e,n){if(ve(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=Ba(i,e,c,o,!1);var y=n.listen(p,r,o);h.push(o,y),l&&l.push(r,g,v,v+1)}}else o=Ba(i,e,c,o,!0),p.addEventListener(r,o,a),h.push(o),l&&l.push(r,g,v,a)}else o=Ba(i,e,c,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=Ve(),r=qe(),o=go(r,20+t,16,null,n||null);null===o.projection&&(o.projection=e),Qe(),64!=(64&o.flags)&&function(t,e,n){Vr(e[fe],0,e,n,Mr(t,n,e),Dr(n.parent||e[6],n,e))}(r,i,o)}function Wa(t,e,n,i,r){for(var o=t[n+1],a=null===e,s=i?uo(o):co(o),u=!1;0!==s&&(!1===u||a);){var l=t[s+1];Ga(t[s],e)&&(u=!0,t[s+1]=i?fo(l):lo(l)),s=i?uo(l):co(l)}u&&(t[n+1]=i?lo(o):fo(o))}function Ga(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 Ka(t,e){return function(t,e,n,i){var r=Ve(),o=qe(),a=function(t){var e=Be.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[dn()],a=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(o)&&null===e&&!a&&(e=!1),function(t,e,n,i,r,o){var a=e.classBindings,s=uo(a),u=co(a);t[i]=n;var l,c=!1;if(Array.isArray(n)){var h=n;(null===(l=h[1])||ci(h,l)>0)&&(c=!0)}else l=n;if(r)if(0!==u){var f=uo(t[s+1]);t[i+1]=so(f,s),0!==f&&(t[f+1]=ho(t[f+1],i)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],i)}else t[i+1]=so(s,0),0!==s&&(t[s+1]=ho(t[s+1],i)),s=i;else t[i+1]=so(u,0),0===s?s=i:t[u+1]=ho(t[u+1],i),u=i;c&&(t[i+1]=lo(t[i+1])),Wa(t,l,i,!0),Wa(t,l,i,!1),function(t,e,n,i,r){var o=t.residualClasses;null!=o&&"string"==typeof e&&ci(o,e)>=0&&(n[i+1]=fo(n[i+1]))}(e,l,t,i),a=so(s,u),e.classBindings=a}(r,o,e=function(t,e,n,i){var r=en(t),o=e.residualClasses;if(null===r)0===e.classBindings&&(n=Qa(n=Za(null,t,e,n,i),e.attrs,i),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=Za(r,t,e,n,i),null===o){var s=function(t,e,n){var i=e.classBindings;if(0!==co(i))return t[uo(i)]}(t,e);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[uo(e.classBindings)]=i}(t,e,0,s=Qa(s=Za(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;){var u=t[r],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[r+1];f===ro&&(f=h?Zt:void 0);var d=h?li(f,i):c===i?f:void 0;if(l&&!Ya(d)&&(d=li(u,i)),Ya(d)&&(a=d,s))return a;var p=t[r+1];r=s?uo(p):co(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(a=li(v,i))}return a}function Ya(t){return void 0!==t}function Xa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ve(),i=qe(),r=t+20,o=i.firstCreatePass?go(i,r,1,e,null):i.data[r],a=n[r]=function(t,e){return Te(t)?t.createText(e):t.createTextNode(e)}(n[fe],e);Fr(i,n,a,o),Ke(o,!1)}function $a(t,e,n){var i=Ve(),r=function(t,e,n,i){return Oa(t,Xe(),n)?e+xt(n)+i:ro}(i,t,e,n);return r!==ro&&function(t,e,n){var i=Re(e,t);!function(t,e,n){Te(t)?t.setValue(e,n):e.textContent=n}(t[fe],i,n)}(i,dn(),r),$a}function ts(t,e,n){var i=Ve();return Oa(i,Xe(),e)&&Eo(qe(),vn(),i,t,e,i[fe],n,!0),ts}function es(t,e,n){var i=Ve();if(Oa(i,Xe(),e)){var r=qe(),o=vn();Eo(r,o,i,t,e,Yo(en(r.data),o,i),n,!0)}return es}var ns=void 0,is=["en",[["a","p"],["AM","PM"],ns],[["AM","PM"],ns,ns],[["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"]],ns,[["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"]],ns,[["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}",ns,"{1} 'at' {0}",ns],[".",",",";","%","+","-","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}],rs={};function os(t){return t in rs||(rs[t]=Gt.ng&&Gt.ng.common&&Gt.ng.common.locales&&Gt.ng.common.locales[t]),rs[t]}var as=((as=as||{})[as.LocaleId=0]="LocaleId",as[as.DayPeriodsFormat=1]="DayPeriodsFormat",as[as.DayPeriodsStandalone=2]="DayPeriodsStandalone",as[as.DaysFormat=3]="DaysFormat",as[as.DaysStandalone=4]="DaysStandalone",as[as.MonthsFormat=5]="MonthsFormat",as[as.MonthsStandalone=6]="MonthsStandalone",as[as.Eras=7]="Eras",as[as.FirstDayOfWeek=8]="FirstDayOfWeek",as[as.WeekendRange=9]="WeekendRange",as[as.DateFormat=10]="DateFormat",as[as.TimeFormat=11]="TimeFormat",as[as.DateTimeFormat=12]="DateTimeFormat",as[as.NumberSymbols=13]="NumberSymbols",as[as.NumberFormats=14]="NumberFormats",as[as.CurrencyCode=15]="CurrencyCode",as[as.CurrencySymbol=16]="CurrencySymbol",as[as.CurrencyName=17]="CurrencyName",as[as.Currencies=18]="Currencies",as[as.Directionality=19]="Directionality",as[as.PluralCase=20]="PluralCase",as[as.ExtraData=21]="ExtraData",as),ss="en-US";function us(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 ls=_(function t(){m(this,t)}),cs=function(){function t(){m(this,t)}return _(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(mt(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),hs=function(){var t=_(function t(){m(this,t)});return t.NULL=new cs,t}();function fs(){}function ds(t,e){return new vs(Ie(t,e))}var ps=function(){return ds(We(),Ve())},vs=function(){var t=_(function t(e){m(this,t),this.nativeElement=e});return t.__NG_ELEMENT_ID__=ps,t}();function gs(t){return t instanceof vs?t.nativeElement:t}var ms=_(function t(){m(this,t)}),ys=function(){var t=_(function t(){m(this,t)});return t.__NG_ELEMENT_ID__=function(){return _s()},t}(),_s=function(){var t=Ve(),e=De(We().index,t);return function(t){return t[fe]}(de(e)?e:t)},bs=function(){var t=_(function t(){m(this,t)});return t.\u0275prov=Pt({token:t,providedIn:"root",factory:function(){return null}}),t}(),ks=_(function t(e){m(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}),ws=new ks("12.2.15"),Cs=function(){function t(){m(this,t)}return _(t,[{key:"supports",value:function(t){return xa(t)}},{key:"create",value:function(t){return new Ss(t)}}]),t}(),xs=function(t,e){return e},Ss=function(){function t(e){m(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||xs}return _(t,[{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(Ae(a)),pe(a))for(var s=10;s-1&&(Pr(t,n),ai(e,n))}this._attachedToViewContainer=!1}Er(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){Oo(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){qo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Wo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){Ye(!0);try{Wo(t,e,n)}finally{Ye(!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){Ur(t,e,e[fe],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}}]),t}(),zs=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this,t))._view=t,i}return _(n,[{key:"detectChanges",value:function(){Go(this._view)}},{key:"checkNoChanges",value:function(){!function(t){Ye(!0);try{Go(t)}finally{Ye(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(js),Hs=function(t){return function(t,e,n){if(ge(t)&&!n){var i=De(t.index,e);return new js(i,i)}return 47&t.type?new js(e[16],e):null}(We(),Ve(),16==(16&t))},Bs=function(){var t=_(function t(){m(this,t)});return t.__NG_ELEMENT_ID__=Hs,t}(),Us=[new Ms],Vs=new Ns([new Cs]),qs=new Ls(Us),Ws=function(){return Zs(We(),Ve())},Gs=function(){var t=_(function t(){m(this,t)});return t.__NG_ELEMENT_ID__=Ws,t}(),Ks=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this))._declarationLView=t,o._declarationTContainer=i,o.elementRef=r,o}return _(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=vo(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)),yo(e,n,t),new js(n)}}]),n}(Gs);function Zs(t,e){return 4&t.type?new Ks(e,t,ds(t,e)):null}var Qs=_(function t(){m(this,t)}),Js=_(function t(){m(this,t)}),Ys=function(){return nu(We(),Ve())},Xs=function(){var t=_(function t(){m(this,t)});return t.__NG_ELEMENT_ID__=Ys,t}(),$s=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this))._lContainer=t,o._hostTNode=i,o._hostLView=r,o}return _(n,[{key:"element",get:function(){return ds(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Qn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Fn(this._hostTNode,this._hostLView);if(En(t)){var e=Mn(t,this._hostLView),n=Tn(t);return new Qn(e[1].data[n+8],e)}return new Qn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=tu(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(Qs,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,e){var i=t._lView,r=i[1];if(function(t){return pe(t[3])}(i)){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),l=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}}]),n}(Xs);function tu(t){return t[8]}function eu(t){return t[8]||(t[8]=[])}function nu(t,e){var n,i=e[t.index];if(pe(i))n=i;else{var r;if(8&t.type)r=Ae(i);else{var o=e[fe];r=o.createComment("");var a=Ie(t,e);Ar(o,Nr(o,a),r,function(t,e){return Te(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=n=zo(i,e,r,t),Vo(e,n)}return new $s(n,t,e)}var iu={},ru=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this)).ngModule=t,i}return _(n,[{key:"resolveComponentFactory",value:function(t){var e=ce(t);return new su(e,this.ngModule)}}]),n}(hs);function ou(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var au=new ti("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return gr}}),su=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).componentDef=t,r.ngModule=i,r.componentType=t.type,r.selector=function(t){return t.map(io).join(",")}(t.selectors),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _(n,[{key:"inputs",get:function(){return ou(this.componentDef.inputs)}},{key:"outputs",get:function(){return ou(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,iu,r);return o!==iu||i===iu?o:e.get(n,i,r)}}}(t,i.injector):t,s=a.get(ms,Me),u=a.get(bs,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Te(t))return t.selectRootElement(e,n===Ut.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(l,n,this.componentDef.encapsulation):Sr(s.createRenderer(null,this.componentDef),c,function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:gr,clean:Zo,playerHandler:null,flags:0},p=So(0,null,null,1,0,null,null,null,null,null),v=vo(null,p,d,f,null,null,s,l,u,a);sn(v);try{var g=function(t,e,n,i,r,o){var a=n[1];n[20]=t;var s=go(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&(ta(s,u,!0),null!==t&&(Cn(r,t,u),null!==s.classes&&Wr(r,t,s.classes),null!==s.styles&&qr(r,t,s.styles)));var l=i.createRenderer(t,e),c=vo(n,xo(e),null,e.onPush?64:16,n[20],s,i,l,null,null);return a.firstCreatePass&&(jn(Nn(s,n),a,e.type),Ro(a,s),No(s,n.length,1)),Vo(n,c),n[20]=c}(h,this.componentDef,v,s,l);if(h)if(n)Cn(l,h,["ng-version",ws.full]);else{var m=function(t){for(var e=[],n=[],i=1,r=2;i0&&Wr(l,h,_.join(" "))}if(o=Ne(p,20),void 0!==e)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:va.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ft.Default;return t===va||t===Qs||t===na?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)}}]),n}(Qs),hu=function(t){c(n,t);var e=f(n);function n(t){var r;return m(this,n),(r=e.call(this)).moduleType=t,null!==he(t)&&function(t){var e=new Set;!function t(n){var r=he(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(mt(e)," vs ").concat(mt(e.name)))}(o,lu.get(o),n),lu.set(o,n));var a,s=i(mr(r.imports));try{for(s.s();!(a=s.n()).done;){var u=a.value;e.has(u)||(e.add(u),t(u))}}catch(l){s.e(l)}finally{s.f()}}(t)}(t),r}return _(n,[{key:"create",value:function(t){return new cu(this.moduleType,t)}}]),n}(Js);function fu(t){return function(e){setTimeout(t,void 0,e)}}var du=function(t){c(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return m(this,n),(t=e.call(this)).__isAsync=i,t}return _(n,[{key:"emit",value:function(t){u(g(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,i){var r,o,a,s=t,l=e||function(){return null},c=i;if(t&&"object"==typeof t){var h=t;s=null===(r=h.next)||void 0===r?void 0:r.bind(h),l=null===(o=h.error)||void 0===o?void 0:o.bind(h),c=null===(a=h.complete)||void 0===a?void 0:a.bind(h)}this.__isAsync&&(l=fu(l),s&&(s=fu(s)),c&&(c=fu(c)));var f=u(g(n.prototype),"subscribe",this).call(this,{next:s,error:l,complete:c});return t instanceof O&&t.add(f),f}}]),n}(j);function pu(){return this._results[Ca()]()}var vu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m(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=Ca(),i=t.prototype;i[n]||(i[n]=pu)}return _(t,[{key:"changes",get:function(){return this._changes||(this._changes=new du)}},{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=ii(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]:[];m(this,t),this.queries=e}return _(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;m(this,t),this.predicate=e,this.flags=n,this.read=i}),_u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m(this,t),this.queries=e}return _(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;m(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _(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 l=o[s+1],c=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[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ju))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),ol=function(){var t=function(){function t(){m(this,t),this._applications=new Map,al.addToWindow(this)}return _(t,[{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 al.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),al=new(function(){function t(){m(this,t)}return _(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),sl=!0,ul=!1;function ll(){return ul=!0,sl}var cl=new ti("AllowMultipleToken"),hl=_(function t(e,n){m(this,t),this.name=e,this.token=n});function fl(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new ti(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=dl();if(!o||o.injector.get(cl,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var a=n.concat(e).concat({provide:r,useValue:!0},{provide:ra,useValue:"platform"});!function(t){if(nl&&!nl.destroyed&&!nl.injector.get(cl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");nl=t.get(pl);var e=t.get(Nu,null);e&&e.forEach(function(t){return t()})}(va.create({providers:a,name:i}))}return function(t){var e=dl();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 dl(){return nl&&!nl.destroyed?nl:null}var pl=function(){var t=function(){function t(e){m(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,i=function(t,e){return"noop"===t?new il:("zone.js"===t?void 0:t)||new Ju({enableLongStackTrace:ll(),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:Ju,useValue:i}];return i.run(function(){var o=va.create({providers:r,parent:n.injector,name:t.moduleType.name}),a=t.create(o),s=a.injector.get(vr,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(){ml(n._modules,a),t.unsubscribe()})}),function(t,i,r){try{var o=((s=a.injector.get(Mu)).runInitializers(),s.donePromise.then(function(){return us(a.injector.get(ju,ss)||ss),n._moduleDoBootstrap(a),a}));return Da(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=vl({},n);return function(t,e,n){var i=new hu(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(gl);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(mt(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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(va))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function vl(t,e){return Array.isArray(e)?e.reduce(vl,t):Object.assign(Object.assign({},t),e)}var gl=function(){var t=function(){function t(e,n,i,r,o){var a=this;m(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 I(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 I(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Ju.assertNotInAngularZone(),Qu(function(){!a._stable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks&&(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ju.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=at(s,u.pipe(pt()))}return _(t,[{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 ls?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Qs),o=n.create(va.NULL,[],e||n.selector,r),a=o.location.nativeElement,s=o.injector.get(rl,null),u=s&&o.injector.get(ol);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),ml(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;ml(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Lu,[]).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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ju),bi(va),bi(vr),bi(hs),bi(Mu))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function ml(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var yl=_(function t(){m(this,t)}),_l=_(function t(){m(this,t)}),bl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},kl=function(){var t=function(){function t(e,n){m(this,t),this._compiler=e,this._config=n||bl}return _(t,[{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 wl(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 wl(t,i,r)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ku),bi(_l,8))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function wl(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Cl=fl(null,"core",[{provide:Du,useValue:"unknown"},{provide:pl,deps:[va]},{provide:ol,deps:[]},{provide:Fu,deps:[]}]),xl=[{provide:gl,useClass:gl,deps:[Ju,va,vr,hs,Mu]},{provide:au,deps:[Ju],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Mu,useClass:Mu,deps:[[new Ei,Tu]]},{provide:Ku,useClass:Ku,deps:[]},Ru,{provide:Ns,useFactory:function(){return Vs},deps:[]},{provide:Ls,useFactory:function(){return qs},deps:[]},{provide:ju,useFactory:function(t){return us(t=t||"undefined"!=typeof $localize&&$localize.locale||ss),t},deps:[[new Pi(ju),new Ei,new Ti]]},{provide:zu,useValue:"USD"}],Sl=function(){var t=_(function t(e){m(this,t)});return t.\u0275fac=function(e){return new(e||t)(bi(gl))},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:xl}),t}(),Ol=null;function Pl(){return Ol}var El=new ti("DocumentToken"),Tl=function(){var t=function(){function t(){m(this,t)}return _(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({factory:Ml,token:t,providedIn:"platform"}),t}();function Ml(){return bi(Rl)}var Al=new ti("Location Initialized"),Rl=function(){var t=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this))._doc=t,i._init(),i}return _(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return Pl().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=Pl().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=Pl().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){Il()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){Il()?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}}]),n}(Tl);return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:Nl,token:t,providedIn:"platform"}),t}();function Il(){return!!window.history.pushState}function Nl(){return new Rl(bi(El))}function Dl(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 Ll(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 Fl(t){return t&&"?"!==t[0]?"?"+t:t}var jl=function(){var t=function(){function t(){m(this,t)}return _(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({factory:zl,token:t,providedIn:"root"}),t}();function zl(t){var e=bi(El).location;return new Bl(bi(Tl),e&&e.origin||"")}var Hl=new ti("appBaseHref"),Bl=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i){var r;if(m(this,n),(r=e.call(this))._platformLocation=t,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)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 r._baseHref=i,d(r)}return _(n,[{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 Dl(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+Fl(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+Fl(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Fl(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)}}]),n}(jl);return t.\u0275fac=function(e){return new(e||t)(bi(Tl),bi(Hl,8))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Ul=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return _(n,[{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=Dl(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+Fl(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+Fl(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)}}]),n}(jl);return t.\u0275fac=function(e){return new(e||t)(bi(Tl),bi(Hl,8))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Vl=function(){var t=function(){function t(e,n){var i=this;m(this,t),this._subject=new du,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=Ll(Wl(r)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return _(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+Fl(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Wl(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+Fl(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+Fl(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})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(jl),bi(Tl))},t.normalizeQueryParams=Fl,t.joinWithSlash=Dl,t.stripTrailingSlash=Ll,t.\u0275prov=Pt({factory:ql,token:t,providedIn:"root"}),t}();function ql(){return new Vl(bi(jl),bi(Tl))}function Wl(t){return t.replace(/\/index.html$/,"")}var Gl=((Gl=Gl||{})[Gl.Zero=0]="Zero",Gl[Gl.One=1]="One",Gl[Gl.Two=2]="Two",Gl[Gl.Few=3]="Few",Gl[Gl.Many=4]="Many",Gl[Gl.Other=5]="Other",Gl),Kl=_(function t(){m(this,t)}),Zl=function(){var t=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this)).locale=t,i}return _(n,[{key:"getPluralCategory",value:function(t,e){switch(function(t){return function(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=os(e);if(n)return n;var i=e.split("-")[0];if(n=os(i))return n;if("en"===i)return is;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}(t)[as.PluralCase]}(e||this.locale)(t)){case Gl.Zero:return"zero";case Gl.One:return"one";case Gl.Two:return"two";case Gl.Few:return"few";case Gl.Many:return"many";default:return"other"}}}]),n}(Kl);return t.\u0275fac=function(e){return new(e||t)(bi(ju))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function Ql(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),l=u[0],c=u[1];if(l.trim()===n)return decodeURIComponent(c)}}catch(h){o.e(h)}finally{o.f()}return null}var Jl=function(){var t=function(){function t(e,n){m(this,t),this._viewContainer=e,this._context=new Yl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _(t,[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){Xl("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){Xl("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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Xs),Ta(Gs))},t.\u0275dir=le({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),Yl=_(function t(){m(this,t),this.$implicit=null,this.ngIf=null});function Xl(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(mt(e),"'."))}var $l=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:[{provide:Kl,useClass:Zl}]}),t}(),tc="browser";function ec(t){return"server"===t}var nc=function(){var t=_(function t(){m(this,t)});return t.\u0275prov=Pt({token:t,providedIn:"root",factory:function(){return new ic(bi(El),window)}}),t}(),ic=function(){function t(e,n){m(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return _(t,[{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=rc(this.window.history)||rc(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}}}]),t}();function rc(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var oc,ac=_(function t(){m(this,t)}),sc=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{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=(uc=uc||document.querySelector("base"))?uc.getAttribute("href"):null;return null==e?null:function(t){(oc=oc||document.createElement("a")).setAttribute("href",t);var e=oc.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){uc=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return Ql(document.cookie,t)}}],[{key:"makeCurrent",value:function(){!function(t){Ol||(Ol=t)}(new n)}}]),n}(function(t){c(n,t);var e=f(n);function n(){var t;return m(this,n),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return _(n)}(function(){return _(function t(){m(this,t)})}())),uc=null,lc=new ti("TRANSITION_ID"),cc=[{provide:Tu,useFactory:function(t,e,n){return function(){n.get(Mu).donePromise.then(function(){for(var n=Pl(),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},Gt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Gt.getAllAngularRootElements=function(){return t.getAllRootElements()},Gt.frameworkStabilizers||(Gt.frameworkStabilizers=[]),Gt.frameworkStabilizers.push(function(t){var e=Gt.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?Pl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){!function(t){al=t}(new t)}}]),t}(),fc=function(){var t=function(){function t(){m(this,t)}return _(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),dc=new ti("EventManagerPlugins"),pc=function(){var t=function(){function t(e,n){var i=this;m(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()}return _(t,[{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&&(e.splice(n,1),o+=t+".")}),o+=r,0!=e.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&&Mc.hasOwnProperty(e)&&(e=Mc[e]))}return Tc[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ec.forEach(function(i){i!=n&&Ac[i](t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(vc);return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Ic=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({factory:function(){return bi(Nc)},token:t,providedIn:"root"}),t}(),Nc=function(){var t=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this))._doc=t,i}return _(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case ur.NONE:return e;case ur.HTML:return ji(e,"HTML")?Fi(e):function(t,e){var n=null;try{Zi=Zi||function(t){var e=new Bi(t);return function(){try{return!!(new window.DOMParser).parseFromString(Mi(""),"text/html")}catch(t){return!1}}()?new Hi(e):e}(t);var i=e?String(e):"";n=Zi.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=Zi.getInertBodyElement(i)}while(i!==o);return Mi((new ir).sanitizeChildren(sr(n)||n))}finally{if(n)for(var a=sr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}(this._doc,String(e)).toString();case ur.STYLE:return ji(e,"Style")?Fi(e):e;case ur.SCRIPT:if(ji(e,"Script"))return Fi(e);throw new Error("unsafe value used in a script context");case ur.URL:return zi(e),ji(e,"URL")?Fi(e):qi(String(e));case ur.RESOURCE_URL:if(ji(e,"ResourceURL"))return Fi(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 Ri(t)}(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return function(t){return new Ii(t)}(t)}},{key:"bypassSecurityTrustScript",value:function(t){return function(t){return new Ni(t)}(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return function(t){return new Di(t)}(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return function(t){return new Li(t)}(t)}}]),n}(Ic);return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:function(){return function(t){return new Nc(t.get(El))}(bi(na))},token:t,providedIn:"root"}),t}(),Dc=fl(Cl,"browser",[{provide:Du,useValue:tc},{provide:Nu,useValue:function(){sc.makeCurrent(),hc.init()},multi:!0},{provide:El,useFactory:function(){return function(t){Oe=t}(document),document},deps:[]}]),Lc=[[],{provide:ra,useValue:"root"},{provide:vr,useFactory:function(){return new vr},deps:[]},{provide:dc,useClass:Pc,multi:!0,deps:[El,Ju,Du]},{provide:dc,useClass:Rc,multi:!0,deps:[El]},[],{provide:Cc,useClass:Cc,deps:[pc,mc,Au]},{provide:ms,useExisting:Cc},{provide:gc,useExisting:mc},{provide:mc,useClass:mc,deps:[El]},{provide:rl,useClass:rl,deps:[Ju]},{provide:pc,useClass:pc,deps:[dc,Ju]},{provide:ac,useClass:fc,deps:[]},[]],Fc=function(){var t=function(){function t(e){if(m(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 _(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:Au,useValue:e.appId},{provide:lc,useExisting:Au},cc]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(t,12))},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:Lc,imports:[$l,Sl]}),t}();function jc(){return new zc(bi(El))}var zc=function(){var t=function(){function t(e){m(this,t),this._doc=e,this._dom=Pl()}return _(t,[{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 Hc[t]||t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:jc,token:t,providedIn:"root"}),t}(),Hc={httpEquiv:"http-equiv"};function Bc(){return new Uc(bi(El))}var Uc=function(){var t=function(){function t(e){m(this,t),this._doc=e}return _(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:Bc,token:t,providedIn:"root"}),t}();function Vc(){for(var t=arguments.length,e=new Array(t),n=0;n4&&void 0!==arguments[4]?arguments[4]:new Gc(t,n,i);if(!r.closed)return e instanceof I?e.subscribe(r):Z(e)(r)}var Zc={},Qc=function(){function t(e){m(this,t),this.resultSelector=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new Jc(t,this.resultSelector))}}]),t}(),Jc=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return _(n,[{key:"_next",value:function(t){this.values.push(Zc),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 hh(t,e,n))}}var hh=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new fh(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),fh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return _(n,[{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)}}]),n}(T);function dh(t,e){return function(n){return n.lift(new ph(t,e))}}var ph=function(){function t(e,n){m(this,t),this.predicate=e,this.thisArg=n}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new vh(t,this.predicate,this.thisArg))}}]),t}(),vh=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).predicate=i,o.thisArg=r,o.count=0,o}return _(n,[{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)}}]),n}(T);function gh(t){return function(e){var n=new mh(t),i=e.lift(n);return n.caught=i}}var mh=function(){function t(e){m(this,t),this.selector=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new yh(t,this.selector,this.caught))}}]),t}(),yh=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).selector=i,o.caught=r,o}return _(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void u(g(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new Y(this);this.add(i);var r=tt(e,i);r!==i&&this.add(r)}}}]),n}(X);function _h(t,e){return et(t,e,1)}function bh(t){return function(e){return 0===t?th():e.lift(new kh(t))}}var kh=function(){function t(e){if(m(this,t),this.total=e,this.total<0)throw new oh}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new wh(t,this.total))}}]),t}(),wh=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).total=i,r.ring=new Array,r.count=0,r}return _(n,[{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]:Oh;return function(e){return e.lift(new xh(t))}}var xh=function(){function t(e){m(this,t),this.errorFactory=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new Sh(t,this.errorFactory))}}]),t}(),Sh=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return _(n,[{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)}}]),n}(T);function Oh(){return new Yc}function Ph(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new Eh(t))}}var Eh=function(){function t(e){m(this,t),this.defaultValue=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new Th(t,this.defaultValue))}}]),t}(),Th=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return _(n,[{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()}}]),n}(T);function Mh(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?dh(function(e,n){return t(e,n,i)}):R,ah(1),n?Ph(e):Ch(function(){return new Yc}))}}function Ah(){}function Rh(t,e,n){return function(i){return i.lift(new Ih(t,e,n))}}var Ih=function(){function t(e,n,i){m(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new Nh(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),Nh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t))._tapNext=Ah,a._tapError=Ah,a._tapComplete=Ah,a._tapError=r||Ah,a._tapComplete=o||Ah,h(i)?(a._context=p(a),a._tapNext=i):i&&(a._context=i,a._tapNext=i.next||Ah,a._tapError=i.error||Ah,a._tapComplete=i.complete||Ah),a}return _(n,[{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()}}]),n}(T);function Dh(t){return function(e){return e.lift(new Lh(t))}}var Lh=function(){function t(e){m(this,t),this.callback=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new Fh(t,this.callback))}}]),t}(),Fh=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).add(new O(i)),r}return _(n)}(T),jh=_(function t(e,n){m(this,t),this.id=e,this.url=n}),zh=function(t){c(n,t);var e=f(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return m(this,n),(r=e.call(this,t,i)).navigationTrigger=o,r.restoredState=a,r}return _(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(jh),Hh=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o}return _(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(jh),Bh=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).reason=r,o}return _(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(jh),Uh=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t,i)).error=r,o}return _(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(jh),Vh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return _(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(jh),qh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return _(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(jh),Wh=function(t){c(n,t);var e=f(n);function n(t,i,r,o,a){var s;return m(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return _(n,[{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,")")}}]),n}(jh),Gh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return _(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(jh),Kh=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return _(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(jh),Zh=function(){function t(e){m(this,t),this.route=e}return _(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),Qh=function(){function t(e){m(this,t),this.route=e}return _(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),Jh=function(){function t(e){m(this,t),this.snapshot=e}return _(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),Yh=function(){function t(e){m(this,t),this.snapshot=e}return _(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),Xh=function(){function t(e){m(this,t),this.snapshot=e}return _(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),$h=function(){function t(e){m(this,t),this.snapshot=e}return _(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),tf=function(){function t(e,n,i){m(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return _(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),ef="primary",nf=function(){function t(e){m(this,t),this.params=e||{}}return _(t,[{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)}}]),t}();function rf(t){return new nf(t)}var of="ngNavigationCancelingError";function af(t){var e=Error("NavigationCancelingError: "+t);return e[of]=!0,e}function sf(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 ff(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function df(t){return La(t)?t:Da(t)?J(Promise.resolve(t)):Vc(t)}var pf={exact:function t(e,n,i){if(!Cf(e.segments,n.segments)||!_f(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:mf},vf={exact:function(t,e){return uf(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return lf(t[n],e[n])})},ignored:function(){return!0}};function gf(t,e,n){return pf[n.paths](t.root,e.root,n.matrixParams)&&vf[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function mf(t,e,n){return yf(t,e,e.segments,n)}function yf(t,e,n,i){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!(!Cf(r,n)||e.hasChildren()||!_f(r,n,i))}if(t.segments.length===n.length){if(!Cf(t.segments,n)||!_f(t.segments,n,i))return!1;for(var o in e.children)if(!t.children[o]||!mf(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!!(Cf(t.segments,a)&&_f(t.segments,a,i)&&t.children[ef])&&yf(t.children[ef],e,s,i)}function _f(t,e,n){return e.every(function(e,i){return vf[n](t[i].parameters,e.parameters)})}var bf=function(){function t(e,n,i){m(this,t),this.root=e,this.queryParams=n,this.fragment=i}return _(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=rf(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Of.serialize(this)}}]),t}(),kf=function(){function t(e,n){var i=this;m(this,t),this.segments=e,this.children=n,this.parent=null,ff(n,function(t,e){return t.parent=i})}return _(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Pf(this)}}]),t}(),wf=function(){function t(e,n){m(this,t),this.path=e,this.parameters=n}return _(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=rf(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Nf(this)}}]),t}();function Cf(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var xf=_(function t(){m(this,t)}),Sf=function(){function t(){m(this,t)}return _(t,[{key:"parse",value:function(t){var e=new zf(t);return new bf(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){return"".concat("/".concat(Ef(t.root,!0)),function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(Mf(e),"=").concat(Mf(t))}).join("&"):"".concat(Mf(e),"=").concat(Mf(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams)).concat("string"==typeof t.fragment?"#".concat(function(t){return encodeURI(t)}(t.fragment)):"")}}]),t}(),Of=new Sf;function Pf(t){return t.segments.map(function(t){return Nf(t)}).join("/")}function Ef(t,e){if(!t.hasChildren())return Pf(t);if(e){var n=t.children[ef]?Ef(t.children[ef],!1):"",i=[];return ff(t.children,function(t,e){e!==ef&&i.push("".concat(e,":").concat(Ef(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(t,e){var n=[];return ff(t.children,function(t,i){i===ef&&(n=n.concat(e(t,i)))}),ff(t.children,function(t,i){i!==ef&&(n=n.concat(e(t,i)))}),n}(t,function(e,n){return n===ef?[Ef(t.children[ef],!1)]:["".concat(n,":").concat(Ef(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[ef]?"".concat(Pf(t),"/").concat(r[0]):"".concat(Pf(t),"/(").concat(r.join("//"),")")}function Tf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mf(t){return Tf(t).replace(/%3B/gi,";")}function Af(t){return Tf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rf(t){return decodeURIComponent(t)}function If(t){return Rf(t.replace(/\+/g,"%20"))}function Nf(t){return"".concat(Af(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(Af(e),"=").concat(Af(t[e]))}).join("")}(t.parameters))}var Df=/^[^\/()?;=#]+/;function Lf(t){var e=t.match(Df);return e?e[0]:""}var Ff=/^[^=?&#]+/,jf=/^[^?&#]+/,zf=function(){function t(e){m(this,t),this.url=e,this.remaining=e}return _(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kf([],{}):new kf([],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[ef]=new kf(t,e)),n}},{key:"parseSegment",value:function(){var t=Lf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new wf(Rf(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Lf(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Lf(this.remaining);i&&(n=i,this.capture(n))}t[Rf(e)]=Rf(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Ff);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(jf);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=If(e),o=If(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=Lf(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=ef);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[ef]:new kf([],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,'".'))}}]),t}(),Hf=function(){function t(e){m(this,t),this._root=e}return _(t,[{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=Bf(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=Bf(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Uf(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 Uf(t,this._root).map(function(t){return t.value})}}]),t}();function Bf(t,e){if(t===e.value)return e;var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=Bf(t,n.value);if(o)return o}}catch(a){r.e(a)}finally{r.f()}return null}function Uf(t,e){if(t===e.value)return[e];var n,r=i(e.children);try{for(r.s();!(n=r.n()).done;){var o=Uf(t,n.value);if(o.length)return o.unshift(e),o}}catch(a){r.e(a)}finally{r.f()}return[]}var Vf=function(){function t(e,n){m(this,t),this.value=e,this.children=n}return _(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function qf(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Wf=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).snapshot=i,Yf(p(r),t),r}return _(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Hf);function Gf(t,e){var n=function(t,e){var n=new Qf([],{},{},"",{},ef,e,null,t.root,-1,{});return new Jf("",new Vf(n,[]))}(t,e),i=new qc([new wf("",{})]),r=new qc({}),o=new qc({}),a=new qc({}),s=new qc(""),u=new Kf(i,r,a,s,o,ef,e,n.root);return u.snapshot=n.root,new Wf(new Vf(u,[]),n)}var Kf=function(){function t(e,n,i,r,o,a,s,u){m(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}return _(t,[{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(B(function(t){return rf(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(function(t){return rf(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function Zf(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 Qf=function(){function t(e,n,i,r,o,a,s,u,l,c,h){m(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=l,this._lastPathIndex=c,this._resolve=h}return _(t,[{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=rf(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=rf(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:"","')")}}]),t}(),Jf=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,i)).url=t,Yf(p(r),i),r}return _(n,[{key:"toString",value:function(){return Xf(this._root)}}]),n}(Hf);function Yf(t,e){e.value._routerState=t,e.children.forEach(function(e){return Yf(t,e)})}function Xf(t){var e=t.children.length>0?" { ".concat(t.children.map(Xf).join(", ")," } "):"";return"".concat(t.value).concat(e)}function $f(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,uf(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),uf(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&id(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(rd);if(r&&r!==hf(i))throw new Error("{outlets:{}} has to be the last command")}return _(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),ud=_(function t(e,n,i){m(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i});function ld(t,e,n){if(t||(t=new kf([],{})),0===t.segments.length&&t.hasChildren())return cd(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(rd(s))break;var u="".concat(s),l=i0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!pd(u,l,a))return o;i+=2}else{if(!pd(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({},Td):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(e.matcher||sf)(n,t,e);if(!r)return Object.assign({},Td);var o={};ff(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 Ad(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 Rd(t,e,n)&&Pd(n)!==ef})}(t,n,r)){var a=new kf(e,function(t,e,n,r){var o={};o[ef]=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&&Pd(u)!==ef){var l=new kf([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,o[Pd(u)]=l}}}catch(c){s.e(c)}finally{s.f()}return o}(t,e,r,new kf(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 Rd(t,e,n)})}(t,n,r)){var s=new kf(t.segments,function(t,e,n,r,o,a){var s,u={},l=i(r);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(Rd(t,n,c)&&!o[Pd(c)]){var h=new kf([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,u[Pd(c)]=h}}}catch(f){l.e(f)}finally{l.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 kf(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function Rd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Id(t,e,n,i){return!!(Pd(t)===i||i!==ef&&Rd(e,n,t))&&("**"===t.path||Md(e,t,n).matched)}function Nd(t,e,n){return 0===e.length&&!t.children[n]}var Dd=_(function t(e){m(this,t),this.segmentGroup=e||null}),Ld=_(function t(e){m(this,t),this.urlTree=e});function Fd(t){return new I(function(e){return e.error(new Dd(t))})}function jd(t){return new I(function(e){return e.error(new Ld(t))})}function zd(t){return new I(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var Hd=function(){function e(t,n,i,r,o){m(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Qs)}return _(e,[{key:"apply",value:function(){var t=this,e=Ad(this.urlTree.root,[],[],this.config).segmentGroup,n=new kf(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ef).pipe(B(function(e){return t.createUrlTree(Bd(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(gh(function(e){if(e instanceof Ld)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Dd?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ef).pipe(B(function(n){return e.createUrlTree(Bd(n),t.queryParams,t.fragment)})).pipe(gh(function(t){throw t instanceof Dd?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 kf([],t({},ef,e)):e;return new bf(r,n,i)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(B(function(t){return new kf([],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?dh(function(e,n){return t(e,n,i)}):R,bh(1),n?Ph(e):Ch(function(){return new Yc}))}}())}},{key:"expandSegment",value:function(t,e,n,i,r,o){var a=this;return J(n).pipe(_h(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,i,r,o).pipe(gh(function(t){if(t instanceof Dd)return Vc(null);throw t}))}),Mh(function(t){return!!t}),gh(function(t,n){if(t instanceof Yc||"EmptyError"===t.name){if(Nd(e,i,r))return Vc(new kf([],{}));throw new Dd(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,o,a){return Id(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):Fd(e):Fd(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("/")?jd(o):this.lineralizeSegments(n,o).pipe(et(function(n){var o=new kf(n,{});return r.expandSegment(t,o,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){var a=this,s=Md(e,i,r),u=s.matched,l=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!u)return Fd(e);var f=this.applyRedirectCommands(l,i.redirectTo,h);return i.redirectTo.startsWith("/")?jd(f):this.lineralizeSegments(i,f).pipe(et(function(i){return a.expandSegment(t,e,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Vc(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(B(function(t){return n._loadedConfig=t,new kf(i,{})})):Vc(new kf(i,{}));var a=Md(e,n,i),s=a.matched,u=a.consumedSegments,l=a.lastChild;if(!s)return Fd(e);var c=i.slice(l);return this.getChildConfig(t,n,i).pipe(et(function(t){var i=t.module,a=t.routes,s=Ad(e,u,c,a),l=s.segmentGroup,h=s.slicedSegments,f=new kf(l.segments,l.children);if(0===h.length&&f.hasChildren())return o.expandChildren(i,a,f).pipe(B(function(t){return new kf(u,t)}));if(0===a.length&&0===h.length)return Vc(new kf(u,{}));var d=Pd(n)===r;return o.expandSegment(i,f,a,h,d?ef:r,!0).pipe(B(function(t){return new kf(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?Vc(new md(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Vc(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(et(function(n){return n?i.configLoader.load(t.injector,e).pipe(B(function(t){return e._loadedConfig=t,t})):function(t){return new I(function(e){return e.error(af("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))})}(e)})):Vc(new md([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;return r&&0!==r.length?Vc(r.map(function(i){var r,o=t.get(i);if(function(t){return t&&yd(t.canLoad)}(o))r=o.canLoad(e,n);else{if(!yd(o))throw new Error("Invalid CanLoad guard");r=o(e,n)}return df(r)})).pipe(kd(),Rh(function(t){if(_d(t)){var e=af('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),B(function(t){return!0===t})):Vc(!0)}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Vc(n);if(i.numberOfChildren>1||!i.children[ef])return zd(t.redirectTo);i=i.children[ef]}}},{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 bf(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return ff(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 ff(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,n,i)}),new kf(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}}]),e}();function Bd(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[ef]){var e=t.children[ef];return new kf(t.segments.concat(e.segments),e.children)}return t}(new kf(t.segments,e))}var Ud=_(function t(e){m(this,t),this.path=e,this.route=this.path[this.path.length-1]}),Vd=_(function t(e,n){m(this,t),this.component=e,this.route=n});function qd(t,e,n){var i=t._root;return Gd(i,e?e._root:null,n,[i.value])}function Wd(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 Gd(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=qf(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!Cf(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Cf(t.url,e.url)||!uf(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!td(t,e)||!uf(t.queryParams,e.queryParams);case"paramsChange":default:return!td(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new Ud(i)):(o.data=a.data,o._resolvedData=a._resolvedData),Gd(t,e,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Vd(s.outlet.component,a))}else a&&Kd(e,s,r),r.canActivateChecks.push(new Ud(i)),Gd(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]}),ff(o,function(t,e){return Kd(t,n.getContext(e),r)}),r}function Kd(t,e,n){var i=qf(t),r=t.value;ff(i,function(t,i){Kd(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Vd(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Zd=_(function t(){m(this,t)});function Qd(t){return new I(function(e){return e.error(t)})}var Jd=function(){function t(e,n,i,r,o,a){m(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _(t,[{key:"recognize",value:function(){var t=Ad(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ef);if(null===e)return null;var n=new Qf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ef,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Vf(n,e),r=new Jf(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=Zf(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?hf(n).parameters:{};r=new Qf(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tp(t),Pd(t),t.component,t,Xd(e),$d(e)+n.length,ep(t))}else{var u=Md(e,t,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new Qf(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tp(t),Pd(t),t.component,t,Xd(e),$d(e)+o.length,ep(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=Ad(e,o,a,l.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return null===d?null:[new Vf(r,d)]}if(0===l.length&&0===f.length)return[new Vf(r,[])];var p=Pd(t)===i,v=this.processSegment(l,h,f,p?ef:i);return null===v?null:[new Vf(r,v)]}}]),t}();function Yd(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),"continue";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,l=i(o);try{for(l.s();!(u=l.n()).done;){var c=u.value,h=Yd(c.children);r.push(new Vf(c.value,h))}}catch(f){l.e(f)}finally{l.f()}return r.filter(function(t){return!o.has(t)})}function Xd(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function $d(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 tp(t){return t.data||{}}function ep(t){return t.resolve||{}}function np(t){return nh(function(e){var n=t(e);return n?J(n).pipe(B(function(){return e})):Vc(e)})}var ip=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n)}(function(){function t(){m(this,t)}return _(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}}]),t}()),rp=new ti("ROUTES"),op=function(){function t(e,n,i,r){m(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _(t,[{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(B(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new md(cf(r.injector.get(rp,void 0,Ft.Self|Ft.Optional)).map(Od),r)}),gh(function(t){throw e._loader$=void 0,t}));return e._loader$=new ct(i,function(){return new j}).pipe(st()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?J(this.loader.load(t)):df(t()).pipe(et(function(t){return t instanceof Js?Vc(t):J(e.compiler.compileModuleAsync(t))}))}}]),t}(),ap=_(function t(){m(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new sp,this.attachRef=null}),sp=function(){function t(){m(this,t),this.contexts=new Map}return _(t,[{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 ap,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),up=function(){function t(){m(this,t)}return _(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function lp(t){throw t}function cp(t,e,n){return e.parse("/")}function hp(t,e){return Vc(null)}var fp={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pp=function(){var t=function(){function t(e,n,i,r,o,a,s,u){var l=this;m(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 j,this.errorHandler=lp,this.malformedUriErrorHandler=cp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hp,afterPreactivation:hp},this.urlHandlingStrategy=new up,this.routeReuseStrategy=new ip,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Qs),this.console=o.get(Fu);var c=o.get(Ju);this.isNgZoneEnabled=c instanceof Ju&&Ju.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=new bf(new kf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new op(a,s,function(t){return l.triggerEvent(new Zh(t))},function(t){return l.triggerEvent(new Qh(t))}),this.routerState=Gf(this.currentUrlTree,this.rootComponentType),this.transitions=new qc({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()}return _(t,[{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(dh(function(t){return 0!==t.id}),B(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),nh(function(t){var i=!1,r=!1;return Vc(t).pipe(Rh(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}}),nh(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 vp(t.source)&&(e.browserUrlTree=t.extractedUrl),Vc(t).pipe(nh(function(t){var i=e.transitions.getValue();return n.next(new zh(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?$c:Promise.resolve(t)}),function(t,e,n,i){return nh(function(r){return function(t,e,n,i,r){return new Hd(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe(B(function(t){return Object.assign(Object.assign({},r),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),Rh(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,o,a){return et(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 Jd(t,e,n,i,o,a).recognize();return null===s?Qd(new Zd):Vc(s)}catch(r){return Qd(r)}}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe(B(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Rh(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var i=new Vh(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,l=t.restoredState,c=t.extras,h=new zh(a,e.serializeUrl(s),u,l);n.next(h);var f=Gf(s,e.rootComponentType).snapshot;return Vc(Object.assign(Object.assign({},t),{targetSnapshot:f,urlAfterRedirects:s,extras:Object.assign(Object.assign({},c),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),$c}),np(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})}),Rh(function(t){var n=new qh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),B(function(t){return Object.assign(Object.assign({},t),{guards:qd(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return et(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?Vc(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return J(t).pipe(et(function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?Vc(o.map(function(o){var a,s=Wd(o,e,r);if(function(t){return t&&yd(t.canDeactivate)}(s))a=df(s.canDeactivate(t,e,n,i));else{if(!yd(s))throw new Error("Invalid CanDeactivate guard");a=df(s(t,e,n,i))}return a.pipe(Mh())})).pipe(kd()):Vc(!0)}(t.component,t.route,n,e,i)}),Mh(function(t){return!0!==t},!0))}(s,i,r,t).pipe(et(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return J(e).pipe(_h(function(e){return Xc(function(t,e){return null!==t&&e&&e(new Jh(t)),Vc(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new Xh(t)),Vc(!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 eh(function(){return Vc(e.guards.map(function(r){var o,a=Wd(r,e.node,n);if(function(t){return t&&yd(t.canActivateChild)}(a))o=df(a.canActivateChild(i,t));else{if(!yd(a))throw new Error("Invalid CanActivateChild guard");o=df(a(i,t))}return o.pipe(Mh())})).pipe(kd())})});return Vc(r).pipe(kd())}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Vc(i.map(function(i){return eh(function(){var r,o=Wd(i,e,n);if(function(t){return t&&yd(t.canActivate)}(o))r=df(o.canActivate(e,t));else{if(!yd(o))throw new Error("Invalid CanActivate guard");r=df(o(e,t))}return r.pipe(Mh())})})).pipe(kd()):Vc(!0)}(t,e.route,n))}),Mh(function(t){return!0!==t},!0))}(i,a,t,e):Vc(n)}),B(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Rh(function(t){if(_d(t.guardsResult)){var n=af('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var i=new Wh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)}),dh(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),np(function(t){if(t.guards.canActivateChecks.length)return Vc(t).pipe(Rh(function(t){var n=new Gh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),nh(function(t){var n=!1;return Vc(t).pipe(function(t,e){return et(function(n){var i=n.targetSnapshot,r=n.guards.canActivateChecks;if(!r.length)return Vc(n);var o=0;return J(r).pipe(_h(function(n){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Vc({});var o={};return J(r).pipe(et(function(r){return function(t,e,n,i){var r=Wd(t,e,i);return df(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Rh(function(t){o[r]=t}))}),bh(1),et(function(){return Object.keys(o).length===r.length?Vc(o):$c}))}(t._resolve,t,e,i).pipe(B(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Zf(t,n).resolve),null}))}(n.route,i,t,e)}),Rh(function(){return o++}),bh(1),et(function(t){return o===r.length?Vc(n):$c}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),Rh({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),Rh(function(t){var n=new Kh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),np(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})}),B(function(t){var n=function(t,e,n){var i=ed(t,e._root,n?n._root:void 0);return new Wf(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),Rh(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 B(function(i){return new vd(e,i.targetRouterState,i.currentRouterState,n).activate(t),i})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),Rh({next:function(){i=!0},complete:function(){i=!0}}),Dh(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)}),gh(function(i){if(r=!0,function(t){return t&&t[of]}(i)){var o=_d(i.url);o||(e.navigated=!0,e.restoreHistory(t,!0));var a=new Bh(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||vp(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 Uh(t.id,e.serializeUrl(t.extractedUrl),i);n.next(s);try{t.resolve(e.errorHandler(i))}catch(a){t.reject(a)}}return $c}))}))}},{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){Cd(t),this.config=t.map(Od),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,l=s?this.currentUrlTree.fragment:o,c=null;switch(a){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,i,r,o){if(0===i.length)return od(e.root,e.root,e,r,o);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new sd(!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 ff(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 sd(i,e,r)}(i);if(a.toRoot())return od(e.root,new kf([],{}),e,r,o);var s=function(t,e,n){if(t.isAbsolute)return new ud(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new ud(i,i===e.root,0)}var r=id(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 ud(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),u=s.processChildren?cd(s.segmentGroup,s.index,a.commands):ld(s.segmentGroup,s.index,a.commands);return od(s.segmentGroup,u,e,r,o)}(u,this.currentUrlTree,t,c,null!=l?l:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=_d(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 Bh(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}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(ni),bi(xf),bi(sp),bi(Vl),bi(va),bi(yl),bi(Ku),bi(void 0))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function vp(t){return"imperative"!==t}var gp=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.router=e,this.route=n,this.commands=[],this.onChanges=new j,null==i&&r.setAttribute(o.nativeElement,"tabindex","0")}return _(t,[{key:"ngOnChanges",value:function(t){this.onChanges.next(this)}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"onClick",value:function(){var t={skipLocationChange:yp(this.skipLocationChange),replaceUrl:yp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}},{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:yp(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(pp),Ta(Kf),Yn("tabindex"),Ta(ys),Ta(vs))},t.\u0275dir=le({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Fa("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[we]}),t}(),mp=function(){var t=function(){function t(e,n,i){var r=this;m(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new j,this.subscription=e.events.subscribe(function(t){t instanceof Hh&&r.updateTargetUrlAndHref()})}return _(t,[{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:yp(this.skipLocationChange),replaceUrl:yp(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:yp(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(pp),Ta(Kf),Ta(jl))},t.\u0275dir=le({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&&(ts("href",e.href,lr),Pa("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:[we]}),t}();function yp(t){return""===t||!!t}var _p=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new du,this.deactivateEvents=new du,this.name=r||ef,e.onChildOutletCreated(this.name,this)}return _(t,[{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 bp(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(sp),Ta(Xs),Ta(hs),Yn("name"),Ta(Bs))},t.\u0275dir=le({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),bp=function(){function t(e,n,i){m(this,t),this.route=e,this.childContexts=n,this.parent=i}return _(t,[{key:"get",value:function(t,e){return t===Kf?this.route:t===sp?this.childContexts:this.parent.get(t,e)}}]),t}(),kp=_(function t(){m(this,t)}),wp=function(){function t(){m(this,t)}return _(t,[{key:"preload",value:function(t,e){return Vc(null)}}]),t}(),Cp=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new op(n,i,function(t){return e.triggerEvent(new Zh(t))},function(t){return e.triggerEvent(new Qh(t))})}return _(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe(dh(function(t){return t instanceof Hh}),_h(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(Qs);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 J(r).pipe(rt(),B(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?Vc(e._loadedConfig):n.loader.load(t.injector,e)).pipe(et(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(pp),bi(yl),bi(Ku),bi(va),bi(kp))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),xp=function(){var t=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m(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"}return _(t,[{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 zh?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Hh&&(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 tf&&(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 tf(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(pp),bi(nc),bi(void 0))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Sp=new ti("ROUTER_CONFIGURATION"),Op=new ti("ROUTER_FORROOT_GUARD"),Pp=[Vl,{provide:xf,useClass:Sf},{provide:pp,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,l=arguments.length>9?arguments[9]:void 0,c=new pp(null,t,e,n,i,r,o,cf(a));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),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,c),s.enableTracing&&c.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)}),c},deps:[xf,sp,Vl,va,yl,Ku,rp,Sp,[function(){return _(function t(){m(this,t)})}(),new Ei],[function(){return _(function t(){m(this,t)})}(),new Ei]]},sp,{provide:Kf,useFactory:function(t){return t.routerState.root},deps:[pp]},{provide:yl,useClass:kl},Cp,wp,function(){function t(){m(this,t)}return _(t,[{key:"preload",value:function(t,e){return e().pipe(gh(function(){return Vc(null)}))}}]),t}(),{provide:Sp,useValue:{enableTracing:!1}}];function Ep(){return new hl("Router",pp)}var Tp=function(){var t=function(){function t(e,n){m(this,t)}return _(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[Pp,Ip(e),{provide:Op,useFactory:Rp,deps:[[pp,new Ei,new Ti]]},{provide:Sp,useValue:n||{}},{provide:jl,useFactory:Ap,deps:[Tl,[new Pi(Hl),new Ei],Sp]},{provide:xp,useFactory:Mp,deps:[pp,nc,Sp]},{provide:kp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:wp},{provide:hl,multi:!0,useFactory:Ep},[Np,{provide:Tu,multi:!0,useFactory:Dp,deps:[Np]},{provide:Fp,useFactory:Lp,deps:[Np]},{provide:Lu,multi:!0,useExisting:Fp}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Ip(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Op,8),bi(pp,8))},t.\u0275mod=se({type:t}),t.\u0275inj=Et({}),t}();function Mp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new xp(t,e,n)}function Ap(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Ul(t,e):new Bl(t,e)}function Rp(t){return"guarded"}function Ip(t){return[{provide:ei,multi:!0,useValue:t},{provide:rp,multi:!0,useValue:t}]}var Np=function(){var t=function(){function t(e){m(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new j}return _(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(Al,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(pp),r=t.injector.get(Sp);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?Vc(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Sp),n=this.injector.get(Cp),i=this.injector.get(xp),r=this.injector.get(pp),o=this.injector.get(gl);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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(va))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}();function Dp(t){return t.appInitializer.bind(t)}function Lp(t){return t.bootstrapListener.bind(t)}var Fp=new ti("Router Initializer"),jp=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return _(n,[{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}}]),n}(function(t){c(n,t);var e=f(n);function n(t,i){return m(this,n),e.call(this)}return _(n,[{key:"schedule",value:function(t){return this}}]),n}(O)),zp=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;m(this,t),this.SchedulerAction=e,this.now=n}return _(t,[{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)}}]),t}();return t.now=function(){return Date.now()},t}(),Hp=function(t){c(n,t);var e=f(n);function n(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zp.now;return m(this,n),(i=e.call(this,t,function(){return n.delegate&&n.delegate!==p(i)?n.delegate.now():r()})).actions=[],i.active=!1,i.scheduled=void 0,i}return _(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,i):u(g(n.prototype),"schedule",this).call(this,t,e,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}}}}]),n}(zp),Bp=new Hp(jp);function Up(t){return!w(t)&&t-parseFloat(t)+1>=0}function Vp(){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 Up(e)?i=Number(e)<1?1:Number(e):H(e)&&(n=e),H(n)||(n=Bp),new I(function(e){var r=Up(t)?t:+t-n.now();return n.schedule(qp,r,{index:0,period:i,subscriber:e})})}function qp(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)}}function Wp(t){return null!=t&&"false"!="".concat(t)}function Gp(t){return Array.isArray(t)?t:[t]}function Kp(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function Zp(t){return t instanceof vs?t.nativeElement:t}function Qp(t,e,i,r){return h(i)&&(r=i,i=void 0),r?Qp(t,e,i).pipe(B(function(t){return w(t)?r.apply(void 0,n(t)):r(t)})):new I(function(n){Jp(t,e,function(t){n.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},n,i)})}function Jp(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 l=0,c=t.length;l2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?u(g(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return u(g(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(jp));var Yp=1,Xp=Promise.resolve(),$p={};function tv(t){return t in $p&&(delete $p[t],!0)}var ev=function(t){var e=Yp++;return $p[e]=!0,Xp.then(function(){return tv(e)&&t()}),e},nv=function(t){tv(t)};new(function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{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?u(g(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=ev(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return u(g(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(nv(e),t.scheduled=void 0)}}]),n}(jp));var iv=function(){function t(e,n){m(this,t),this.compare=e,this.keySelector=n}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new rv(t,this.compare,this.keySelector))}}]),t}(),rv=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this,t)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return _(n,[{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))}}]),n}(T),ov=function(){function t(e){m(this,t),this.durationSelector=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new av(t,this.durationSelector))}}]),t}(),av=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return _(n,[{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=tt(e,new Y(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()}}]),n}(X);function sv(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bp;return function(t){return function(e){return e.lift(new ov(t))}}(function(){return Vp(t,e)})}function uv(t){return function(e){return e.lift(new lv(t))}}var lv=function(){function t(e){m(this,t),this.notifier=e}return _(t,[{key:"call",value:function(t,e){var n=new cv(t),i=tt(this.notifier,new Y(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}]),t}(),cv=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this,t)).seenValue=!1,i}return _(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(X);function hv(t,e){return new I(e?function(n){return e.schedule(fv,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function fv(t){var e=t.error;t.subscriber.error(e)}new(function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n)}(Hp))(function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return _(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?u(g(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?u(g(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?u(g(n.prototype),"requestAsyncId",this).call(this,t,e,i):t.flush(this)}}]),n}(jp));var dv,pv=function(){function t(e,n,i){m(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return _(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 Vc(this.value);case"E":return hv(this.error);case"C":return th()}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}}]),t}();pv.completeNotification=new pv("C"),pv.undefinedValueNotification=new pv("N",void 0);try{dv="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(x){dv=!1}var vv,gv,mv,yv=function(){var t=_(function t(e){m(this,t),this._platformId=e,this.isBrowser=this._platformId?function(t){return t===tc}(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&&!dv)&&"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)(bi(Du))},t.\u0275prov=Pt({factory:function(){return new t(bi(Du))},token:t,providedIn:"root"}),t}(),_v=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({}),t}();function bv(t){return function(){if(null==vv&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return vv=!0}}))}finally{vv=vv||!1}return vv}()?t:!!t.capture}function kv(){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 wv(t){return t.composedPath?t.composedPath()[0]:t.target}function Cv(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}var xv=new ti("cdk-dir-doc",{providedIn:"root",factory:function(){return ki(El)}}),Sv=function(){var t=function(){function t(e){if(m(this,t),this.value="ltr",this.change=new du,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"}}return _(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(xv,8))},t.\u0275prov=Pt({factory:function(){return new t(bi(xv,8))},token:t,providedIn:"root"}),t}(),Ov=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({}),t}(),Pv=function(){var t=function(){function t(e,n,i){m(this,t),this._ngZone=e,this._platform=n,this._scrolled=new j,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _(t,[{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 I(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(sv(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Vc()}},{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(dh(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=Zp(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 Qp(t._getWindow().document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ju),bi(yv),bi(El,8))},t.\u0275prov=Pt({factory:function(){return new t(bi(Ju),bi(yv),bi(El,8))},token:t,providedIn:"root"}),t}(),Ev=function(){var t=function(){function t(e,n,i){var r=this;m(this,t),this._platform=e,this._change=new j,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})})}return _(t,[{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(sv(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}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(yv),bi(Ju),bi(El,8))},t.\u0275prov=Pt({factory:function(){return new t(bi(yv),bi(Ju),bi(El,8))},token:t,providedIn:"root"}),t}(),Tv=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({}),t}(),Mv=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({imports:[[Ov,_v,Tv],Ov,Tv]}),t}(),Av=function(){function t(){m(this,t)}return _(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}}]),t}(),Rv=function(t){c(n,t);var e=f(n);function n(t,i,r,o){var a;return m(this,n),(a=e.call(this)).component=t,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return _(n)}(Av),Iv=function(t){c(n,t);var e=f(n);function n(t,i,r){var o;return m(this,n),(o=e.call(this)).templateRef=t,o.viewContainerRef=i,o.context=r,o}return _(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,u(g(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,u(g(n.prototype),"detach",this).call(this)}}]),n}(Av),Nv=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this)).element=t instanceof vs?t.nativeElement:t,i}return _(n)}(Av),Dv=function(){function t(){m(this,t),this._isDisposed=!1,this.attachDomPortal=null}return _(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof Rv?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Iv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Nv?(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)}}]),t}(),Lv=function(t){c(n,t);var e=f(n);function n(t,i,r,o,a){var s,l;return m(this,n),(l=e.call(this)).outletElement=t,l._componentFactoryResolver=i,l._appRef=r,l._defaultInjector=o,l.attachDomPortal=function(t){var e=t.element,i=l._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),l.outletElement.appendChild(e),l._attachedPortal=t,u((s=p(l),g(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},l._document=a,l}return _(n,[{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(){u(g(n.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]}}]),n}(Dv),Fv=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i,r){var o,a;return m(this,n),(a=e.call(this))._componentFactoryResolver=t,a._viewContainerRef=i,a._isInitialized=!1,a.attached=new du,a.attachDomPortal=function(t){var e=t.element,i=a._document.createComment("dom-portal");t.setAttachedHost(p(a)),e.parentNode.insertBefore(i,e),a._getRootNode().appendChild(e),a._attachedPortal=t,u((o=p(a),g(n.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},a._document=r,a}return _(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&u(g(n.prototype),"detach",this).call(this),t&&u(g(n.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(){u(g(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),u(g(n.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 e=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return u(g(n.prototype),"setDisposeFn",this).call(this,function(){return e._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}}]),n}(Dv);return t.\u0275fac=function(e){return new(e||t)(Ta(hs),Ta(Xs),Ta(El))},t.\u0275dir=le({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ma]}),t}(),jv=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({}),t}(),zv=function(){if(null==gv){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return gv=!1;if("scrollBehavior"in document.documentElement.style)gv=!0;else{var t=Element.prototype.scrollTo;gv=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return gv}(),Hv=function(){function t(e,n){m(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return _(t,[{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=Kp(-this._previousScrollPosition.left),t.style.top=Kp(-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"),zv&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),zv&&(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}}]),t}(),Bv=function(){function t(e,n,i,r){var o=this;m(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()})}}return _(t,[{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}}]),t}(),Uv=function(){function t(){m(this,t)}return _(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function Vv(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function qv(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var Wv=function(){function t(e,n,i,r){m(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _(t,[{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;Vv(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}}]),t}(),Gv=function(){var t=_(function t(e,n,i,r){var o=this;m(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new Uv},this.close=function(t){return new Bv(o._scrollDispatcher,o._ngZone,o._viewportRuler,t)},this.block=function(){return new Hv(o._viewportRuler,o._document)},this.reposition=function(t){return new Wv(o._scrollDispatcher,o._viewportRuler,o._ngZone,t)},this._document=r});return t.\u0275fac=function(e){return new(e||t)(bi(Pv),bi(Ev),bi(Ju),bi(El))},t.\u0275prov=Pt({factory:function(){return new t(bi(Pv),bi(Ev),bi(Ju),bi(El))},token:t,providedIn:"root"}),t}(),Kv=_(function t(e){if(m(this,t),this.scrollStrategy=new Uv,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()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:function(){return new t(bi(El))},token:t,providedIn:"root"}),t}(),Yv=function(){var t=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return _(n,[{key:"add",value:function(t){u(g(n.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)}}]),n}(Jv);return t.\u0275fac=function(e){return new(e||t)(bi(El))},t.\u0275prov=Pt({factory:function(){return new t(bi(El))},token:t,providedIn:"root"}),t}(),Xv=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._pointerDownListener=function(t){r._pointerDownEventTarget=wv(t)},r._clickListener=function(t){var e=wv(t),n="click"===t.type&&r._pointerDownEventTarget?r._pointerDownEventTarget:e;r._pointerDownEventTarget=null;for(var i=r._attachedOverlays.slice(),o=i.length-1;o>-1;o--){var a=i[o];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e)||a.overlayElement.contains(n))break;a._outsidePointerEvents.next(t)}}},r}return _(n,[{key:"add",value:function(t){if(u(g(n.prototype),"add",this).call(this,t),!this._isAttached){var e=this._document.body;e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.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}}}]),n}(Jv);return t.\u0275fac=function(e){return new(e||t)(bi(El),bi(yv))},t.\u0275prov=Pt({factory:function(){return new t(bi(El),bi(yv))},token:t,providedIn:"root"}),t}(),$v=function(){var t=function(){function t(e,n){m(this,t),this._platform=n,this._document=e}return _(t,[{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||Cv())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&&rg(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eg),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=ag(e),o=t.x,a=t.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var l=0-a,c=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,l,c),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=og(this._overlayRef.getConfig().minHeight),a=og(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=ag(e),a=this._viewportRect,s=Math.max(t.x+o.width-a.width,0),u=Math.max(t.y+o.height-a.height,0),l=Math.max(a.top-n.top-t.y,0),c=Math.max(a.left-n.left-t.x,0);return i=o.width<=a.width?c||-s:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!l||"start"===e.overlayX&&l)s=u.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!l||"end"===e.overlayX&&l)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=Kp(n.height),i.top=Kp(n.top),i.bottom=Kp(n.bottom),i.width=Kp(n.width),i.left=Kp(n.left),i.right=Kp(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=Kp(r)),o&&(i.maxWidth=Kp(o))}this._lastBoundingBoxSize=n,rg(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){rg(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){rg(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();rg(n,this._getExactOverlayY(e,t,a)),rg(n,this._getExactOverlayX(e,t,a))}else n.position="static";var s="",u=this._getOffset(e,"x"),l=this._getOffset(e,"y");u&&(s+="translateX(".concat(u,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Kp(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Kp(o.maxWidth):r&&(n.maxWidth="")),rg(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=Kp(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=Kp(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:qv(t,n),isOriginOutsideView:Vv(t,n),isOverlayClipped:qv(e,n),isOverlayOutsideView:Vv(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(ug),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),cg=function(){var t=function(){function t(e,n,i,r){m(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return _(t,[{key:"global",value:function(){return new lg}},{key:"connectedTo",value:function(t,e,n){return new sg(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new ig(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ev),bi(El),bi(yv),bi($v))},t.\u0275prov=Pt({factory:function(){return new t(bi(Ev),bi(El),bi(yv),bi($v))},token:t,providedIn:"root"}),t}(),hg=0,fg=function(){var t=function(){function t(e,n,i,r,o,a,s,u,l,c,h){m(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=l,this._location=c,this._outsideClickDispatcher=h}return _(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new Kv(t);return r.direction=r.direction||this._directionality.value,new tg(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-"+hg++,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(gl)),new Lv(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Gv),bi($v),bi(hs),bi(cg),bi(Yv),bi(va),bi(Ju),bi(El),bi(Sv),bi(Vl),bi(Xv))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),dg={provide:new ti("cdk-connected-overlay-scroll-strategy"),deps:[fg],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},pg=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:[fg,dg],imports:[[Ov,jv,Mv],Mv]}),t}(),vg=function(){function t(e){m(this,t),this.total=e}return _(t,[{key:"call",value:function(t,e){return e.subscribe(new gg(t,this.total))}}]),t}(),gg=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return _(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(T),mg=function(){var t=function(){function t(e){m(this,t),this._platform=e}return _(t,[{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===_g(e)||!this.isVisible(e)))return!1;var n=t.nodeName.toLowerCase(),i=_g(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")||yg(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(yv))},t.\u0275prov=Pt({factory:function(){return new t(bi(yv))},token:t,providedIn:"root"}),t}();function yg(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 _g(t){if(!yg(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var bg=function(){function t(e,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];m(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()}return _(t,[{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(ah(1)).subscribe(t)}}]),t}(),kg=function(){var t=function(){function t(e,n,i){m(this,t),this._checker=e,this._ngZone=n,this._document=i}return _(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new bg(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(mg),bi(Ju),bi(El))},t.\u0275prov=Pt({factory:function(){return new t(bi(mg),bi(Ju),bi(El))},token:t,providedIn:"root"}),t}();function wg(t){return 0===t.offsetX&&0===t.offsetY}function Cg(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 xg=new ti("cdk-input-modality-detector-options"),Sg={ignoreKeys:[18,17,224,91,16]},Og=bv({passive:!0,capture:!0}),Pg=function(){var t=function(){function t(e,n,i,r){var o=this;m(this,t),this._platform=e,this._mostRecentTarget=null,this._modality=new qc(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=wv(t))},this._onMousedown=function(t){Date.now()-o._lastTouchMs<650||(o._modality.next(wg(t)?"keyboard":"mouse"),o._mostRecentTarget=wv(t))},this._onTouchstart=function(t){Cg(t)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=wv(t))},this._options=Object.assign(Object.assign({},Sg),r),this.modalityDetected=this._modality.pipe(function(t){return t.lift(new vg(1))}),this.modalityChanged=this.modalityDetected.pipe(function(t){return t.lift(new iv(void 0,void 0))}),e.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,Og),i.addEventListener("mousedown",o._onMousedown,Og),i.addEventListener("touchstart",o._onTouchstart,Og)})}return _(t,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Og),document.removeEventListener("mousedown",this._onMousedown,Og),document.removeEventListener("touchstart",this._onTouchstart,Og))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(yv),bi(Ju),bi(El),bi(xg,8))},t.\u0275prov=Pt({factory:function(){return new t(bi(yv),bi(Ju),bi(El),bi(xg,8))},token:t,providedIn:"root"}),t}(),Eg=new ti("cdk-focus-monitor-default-options"),Tg=bv({passive:!0,capture:!0}),Mg=function(){var t=function(){function t(e,n,i,r,o){var a=this;m(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 j,this._rootNodeFocusAndBlurListener=function(t){for(var e=wv(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}return _(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Zp(t);if(!this._platform.isBrowser||1!==n.nodeType)return Vc(null);var i=function(t){if(function(){if(null==mv){var t="undefined"!=typeof document?document.head:null;mv=!(!t||!t.createShadowRoot&&!t.attachShadow)}return mv}()){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 j,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(t){var e=Zp(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=Zp(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=wv(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,Tg),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,Tg)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){e._getWindow().addEventListener("focus",e._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(uv(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,Tg),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Tg),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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ju),bi(yv),bi(Pg),bi(El,8),bi(Eg,8))},t.\u0275prov=Pt({factory:function(){return new t(bi(Ju),bi(yv),bi(Pg),bi(El,8),bi(Eg,8))},token:t,providedIn:"root"}),t}(),Ag="cdk-high-contrast-black-on-white",Rg="cdk-high-contrast-white-on-black",Ig="cdk-high-contrast-active",Ng=function(){var t=function(){function t(e,n){m(this,t),this._platform=e,this._document=n}return _(t,[{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(Ig),t.remove(Ag),t.remove(Rg),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add(Ig),t.add(Ag)):2===e&&(t.add(Ig),t.add(Rg))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(yv),bi(El))},t.\u0275prov=Pt({factory:function(){return new t(bi(yv),bi(El))},token:t,providedIn:"root"}),t}(),Dg=new ks("12.2.13"),Lg=_(function t(){m(this,t)}),Fg="*";function jg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function zg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function Hg(t){return{type:6,styles:t,offset:null}}function Bg(t,e,n){return{type:0,name:t,styles:e,options:n}}function Ug(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function Vg(t){Promise.resolve(null).then(t)}var qg=function(){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;m(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}return _(t,[{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;Vg(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}}]),t}(),Wg=function(){function t(e){var n=this;m(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?Vg(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)}return _(t,[{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}}]),t}();function Gg(){return"undefined"!=typeof window&&void 0!==window.document}function Kg(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Zg(t){switch(t.length){case 0:return new qg;case 1:return t[0];default:return new Wg(t)}}function Qg(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,l=null;if(i.forEach(function(t){var n=t.offset,i=n==u,c=i&&l||{};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 Fg:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}c[i]=s}),i||s.push(c),l=c,u=n}),a.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(a.join(c)))}return s}function Jg(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&Yg(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&Yg(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&Yg(n,"destroy",t))})}}function Yg(t,e,n){var i=n.totalTime,r=Xg(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 Xg(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 $g(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 tm(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var em=function(t,e){return!1},nm=function(t,e){return!1},im=function(t,e,n){return[]},rm=Kg();(rm||"undefined"!=typeof Element)&&(em=Gg()?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)},nm=function(){if(rm||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])}:nm}(),im=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 xm(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 Cm(t,n);return n}function Sm(t,e,n){return n?e+":"+n+";":""}function Om(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(qm(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&e.push(qm(s,o))}(t,n,e)}):n.push(t),n}var Um=new Set(["true","1"]),Vm=new Set(["false","0"]);function qm(t,e){var n=Um.has(t)||Vm.has(t),i=Um.has(e)||Vm.has(e);return function(r,o){var a="*"==t||t==r,s="*"==e||e==o;return!a&&n&&"boolean"==typeof r&&(a=r?Um.has(t):Vm.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?Um.has(e):Vm.has(e)),a&&s}}var Wm=new RegExp("s*:selfs*,?","g");function Gm(t,e,n){return new Km(t).build(e,n)}var Km=function(){function t(e){m(this,t),this._driver=e}return _(t,[{key:"build",value:function(t,e){var n=new Zm(e);return this._resetContextStyleTimingState(n),zm(this,Tm(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 l=n.visitTransition(t,e);i+=l.queryCount,r+=l.depCount,a.push(l)}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(Qm(t)){var e=t;Object.keys(e).forEach(function(t){Am(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var a=Im(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=zm(this,Tm(t.animation),e);return{type:1,matchers:Bm(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Jm(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return zm(n,t,e)}),options:Jm(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=zm(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:Jm(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 Ym(wm(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=Ym(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Ym((n=n||wm(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,r=t.styles?t.styles:Hg({});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=Hg(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==Fg?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(Qm(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=Am(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,l=t.steps.map(function(t){var i=n._makeStyleAst(t,e),l=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(Qm(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Qm(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=l&&(r++,c=i.offset=l),s=s||c<0||c>1,a=a||c0&&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:zm(this,Tm(t.animation),e),options:Jm(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:Jm(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Jm(t.options)}}},{key:"visitQuery",value:function(t,n){var i=n.currentQuerySelector,r=t.options||{};n.queryCount++,n.currentQuery=t;var o=e(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(Wm,"")),[t=t.replace(/@\*/g,mm).replace(/@\w+/g,function(t){return mm+"-"+t.substr(1)}).replace(/:animating/g,_m),e]}(t.selector),2),a=o[0],s=o[1];n.currentQuerySelector=i.length?i+" "+a:a,$g(n.collectedStyles,n.currentQuerySelector,{});var u=zm(this,Tm(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=i,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:u,originalSelector:t.selector,options:Jm(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"}:wm(t.timings,e.errors,!0);return{type:12,animation:zm(this,Tm(t.animation),e),timings:n,options:null}}}]),t}(),Zm=_(function t(e){m(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 Qm(t){return!Array.isArray(t)&&"object"==typeof t}function Jm(t){return t?(t=Cm(t)).params&&(t.params=function(t){return t?Cm(t):null}(t.params)):t={},t}function Ym(t,e,n){return{duration:t,delay:e,easing:n}}function Xm(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 $m=function(){function t(){m(this,t),this._map=new Map}return _(t,[{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()}}]),t}(),ty=new RegExp(":enter","g"),ey=new RegExp(":leave","g");function ny(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,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new iy).buildKeyframes(t,e,n,i,r,o,a,s,u,l)}var iy=function(){function t(){m(this,t)}return _(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,o,a,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new $m;var c=new oy(t,e,u,i,r,l,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),zm(this,n,c);var h=c.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,c.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[Xm(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?bm(n.duration):null,o=null!=n.delay?bm(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),zm(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=ry);var a=bm(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return zm(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?bm(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),zm(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 wm(e.params?Rm(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?bm(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ry);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),zm(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 l=u.currentTime;zm(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),t}(),ry={},oy=function(){function t(e,n,i,r,o,a,s,u){m(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=ry,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new ay(this._driver,n,0),s.push(this.currentTimeline)}return _(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=bm(i.duration)),null!=i.delay&&(r.delay=bm(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]=Rm(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=ry,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 sy(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(ty,"."+this._enterClassName)).replace(ey,"."+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}}]),t}(),ay=function(){function t(e,n,i,r){m(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 _(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]||Fg,e._currentKeyframe[t]=Fg}),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]=Fg}):xm(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=Rm(a[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:Fg),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=xm(o,!0);Object.keys(s).forEach(function(t){var i=s[t];"!"==i?e.add(t):i==Fg&&n.add(t)}),i||(s.offset=a/t.duration),r.push(s)});var o=e.size?Im(e.values()):[],a=n.size?Im(n.values()):[];if(i){var s=r[0],u=Cm(s);s.offset=0,u.offset=1,r=[s,u]}return Xm(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),t}(),sy=function(t){c(n,t);var e=f(n);function n(t,i,r,o,a,s){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return m(this,n),(u=e.call(this,t,i,s.delay)).keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=l,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return _(n,[{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=xm(t[0],!1);u.offset=0,o.push(u);var l=xm(t[0],!1);l.offset=uy(s),o.push(l);for(var c=t.length-1,h=1;h<=c;h++){var f=xm(t[h],!1);f.offset=uy((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",t=o}return Xm(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(ay);function uy(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 ly=_(function t(){m(this,t)}),cy=function(t){c(n,t);var e=f(n);function n(){return m(this,n),e.apply(this,arguments)}return _(n,[{key:"normalizePropertyName",value:function(t,e){return Dm(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",o=n.toString().trim();if(hy[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}}]),n}(ly),hy=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 fy(t,e,n,i,r,o,a,s,u,l,c,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var dy={},py=function(){function t(e,n,i){m(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return _(t,[{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,l){var c=[],h=this.ast.options&&this.ast.options.params||dy,f=this.buildStyles(n,a&&a.params||dy,c),d=s&&s.params||dy,p=this.buildStyles(i,d,c),v=new Set,g=new Map,m=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),d)},b=l?[]:ny(t,e,this.ast.animation,r,o,f,p,_,u,c),k=0;if(b.forEach(function(t){k=Math.max(t.duration+t.delay,k)}),c.length)return fy(e,this._triggerName,n,i,y,f,p,[],[],g,m,k,c);b.forEach(function(t){var n=t.element,i=$g(g,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=$g(m,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&v.add(n)});var w=Im(v.values());return fy(e,this._triggerName,n,i,y,f,p,b,w,g,m,k)}}]),t}(),vy=function(){function t(e,n,i){m(this,t),this.styles=e,this.defaultParams=n,this.normalizer=i}return _(t,[{key:"buildStyles",value:function(t,e){var n=this,i={},r=Cm(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=Rm(a,r,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),i[s]=a})}}),i}}]),t}(),gy=function(){function t(e,n,i){var r=this;m(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 vy(t.style,t.options&&t.options.params||{},i)}),my(this.states,"true","1"),my(this.states,"false","0"),n.transitions.forEach(function(t){r.transitionFactories.push(new py(e,t,r.states))}),this.fallbackTransition=function(t,e,n){return new py(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)}return _(t,[{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)}}]),t}();function my(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var yy=new $m,_y=function(){function t(e,n,i){m(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _(t,[{key:"register",value:function(t,e){var n=[],i=Gm(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=Qg(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=ny(this._driver,e,a,pm,vm,{},{},r,yy,o)).forEach(function(t){var e=$g(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,Fg)})});var u=Zg(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=Xg(e,"","","");return Jg(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])}}]),t}(),by="ng-animate-queued",ky="ng-animate-disabled",wy=".ng-animate-disabled",Cy=[],xy={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Sy={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Oy="__ng_removed",Py=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";m(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=Cm(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return _(t,[{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])})}}}]),t}(),Ey="void",Ty=new Py(Ey),My=function(){function t(e,n,i){m(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,jy(n,this._hostClassName)}return _(t,[{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=$g(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};o.push(a);var s=$g(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(jy(t,gm),jy(t,gm+"-"+e),s[e]=Ty),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 Ry(this.id,e,t),s=this._engine.statesByElement.get(t);s||(jy(t,gm),jy(t,gm+"-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],l=new Py(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),s[e]=l,u||(u=Ty),l.value===Ey||u.value!==l.value){var c=$g(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,l.value,t,l.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:l,player:a,isFallbackTransition:f}),f||(jy(t,by),a.onStart(function(){zy(t,by)})),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),c.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),jy(t,ky)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),zy(t,ky))}},{key:"removeNode",value:function(t,e,n,i){if(Iy(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[Oy]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Iy(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,mm,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,_m,!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 Zg(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[Oy];if(n&&n.setForRemoval){if(t[Oy]=xy,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,wy)&&this.markElementAsDisabled(t,!1),this.driver.query(t,wy,!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[Oy];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 Em(n,g.fromStyles)}),e.onDestroy(function(){return Pm(n,g.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Em(n,g.fromStyles)}),e.onDestroy(function(){return Pm(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 $g(u,t,[]).push(e)}),g.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.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=c.get(e);i||c.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){$g(T,e,[]).push(t),t.destroy()})});var A=m.filter(function(t){return Uy(t,l,c)}),R=new Map;Dy(R,this.driver,_,c,Fg).forEach(function(t){Uy(t,l,c)&&A.push(t)});var I=new Map;p.forEach(function(t,e){Dy(I,i.driver,new Set(t),l,"!")}),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=[],L={};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 Pm(e,s.toStyles)}),n.disabled=!0,n.overrideTotalTime(s.totalTime),void o.push(n);var u=L;if(M.size>1){for(var l=e,c=[];l=l.parentNode;){var f=M.get(l);if(f){u=f;break}c.push(l)}c.forEach(function(t){return M.set(t,u)})}var d=i._buildAnimation(n.namespaceId,s,T,a,I,R);if(n.setRealPlayer(d),u===L)N.push(n);else{var p=i.playersByElement.get(u);p&&p.length&&(n.parentPlayer=Zg(p)),o.push(n)}}else Em(e,s.fromStyles),n.onDestroy(function(){return Pm(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=Zg(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var F=0;F0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new qg(t.duration,t.delay)}}]),t}(),Ry=function(){function t(e,n,i){m(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new qg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _(t,[{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 Jg(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){$g(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)}}]),t}();function Iy(t){return t&&1===t.nodeType}function Ny(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Dy(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(Ny(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[Oy]=Sy,a.push(i))}),t.set(i,o)});var s=0;return n.forEach(function(t){return Ny(t,o[s++])}),a}function Ly(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 Fy="$$classes";function jy(t,e){if(t.classList)t.classList.add(e);else{var n=t[Fy];n||(n=t[Fy]={}),n[e]=!0}}function zy(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Fy];n&&delete n[e]}}function Hy(t,e,n){Zg(n).onDone(function(){return t.processLeaveNode(e)})}function By(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()}}]),t}();function qy(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Gy(e[0]),e.length>1&&(i=Gy(e[e.length-1]))):e&&(n=Gy(e)),n||i?new Wy(t,n,i):null}var Wy=function(){var t=function(){function t(e,n,i){m(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 _(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Pm(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Pm(this._element,this._initialStyles),this._endStyles&&(Pm(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&&(Em(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Em(this._element,this._endStyles),this._endStyles=null),Pm(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function Gy(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(),t_(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=n_(t,"").split(","),i=$y(n,e);i>=0&&(n.splice(i,1),e_(t,"",n.join(",")))}(this._element,this._name))}}]),t}();function Yy(t,e,n){e_(t,"PlayState",n,Xy(t,e))}function Xy(t,e){var n=n_(t,"");return n.indexOf(",")>0?$y(n.split(","),e):$y([n],e)}function $y(t,e){for(var n=0;n=0)return n;return-1}function t_(t,e,n){n?t.removeEventListener(Qy,e):t.addEventListener(Qy,e)}function e_(t,e,n,i){var r=Zy+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 n_(t,e){return t.style[Zy+e]||""}var i_=function(){function t(e,n,i,r,o,a,s,u){m(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()}return _(t,[{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 Jy(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]:Hm(t.element,i))})}this.currentSnapshot=e}}]),t}(),r_=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=hm(i),r}return _(n,[{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]}),u(g(n.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])}),u(g(n.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,u(g(n.prototype),"destroy",this).call(this))}}]),n}(qg),o_=function(){function t(){m(this,t),this._count=0}return _(t,[{key:"validateStyleProperty",value:function(t){return sm(t)}},{key:"matchesElement",value:function(t,e){return um(t,e)}},{key:"containsElement",value:function(t,e){return lm(t,e)}},{key:"query",value:function(t,e,n){return cm(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 hm(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 i_}),s={};Fm(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=jm(t,e,s));if(0==n)return new r_(t,u);var l="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(t,l,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(c);var h=qy(t,e),f=new i_(t,e,l,n,i,r,u,h);return f.onDestroy(function(){return function(t){t.parentNode.removeChild(t)}(c)}),f}}]),t}(),a_=function(){function t(e,n,i,r){m(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}return _(t,[{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]:Hm(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}}]),t}(),s_=function(){function t(){m(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(u_().toString()),this._cssKeyframesDriver=new o_}return _(t,[{key:"validateStyleProperty",value:function(t){return sm(t)}},{key:"matchesElement",value:function(t,e){return um(t,e)}},{key:"containsElement",value:function(t,e){return lm(t,e)}},{key:"query",value:function(t,e,n){return cm(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={},l=o.filter(function(t){return t instanceof a_});Fm(n,i)&&l.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var c=qy(t,e=jm(t,e=e.map(function(t){return xm(t,!1)}),u));return new a_(t,e,s,c)}}]),t}();function u_(){return Gg()&&Element.prototype.animate||{}}var l_=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Ut.None,styles:[],data:{animation:[]}}),r}return _(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?zg(t):t;return f_(this._renderer,null,e,"register",[n]),new c_(e,this._renderer)}}]),n}(Lg);return t.\u0275fac=function(e){return new(e||t)(bi(ms),bi(El))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),c_=function(t){c(n,t);var e=f(n);function n(t,i){var r;return m(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return _(n,[{key:"create",value:function(t,e){return new h_(this._id,t,e||{},this._renderer)}}]),n}(function(){return _(function t(){m(this,t)})}()),h_=function(){function t(e,n,i,r){m(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _(t,[{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==d_?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)}}]),t}(),g_=function(t){c(i,t);var n=f(i);function i(t,e,r,o){var a;return m(this,i),(a=n.call(this,e,r,o)).factory=t,a.namespaceId=e,a}return _(i,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==d_?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=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),s=n.substr(1),u="";return"@"!=s.charAt(0)&&(s=(o=e(function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s),2))[0],u=o[1]),this.engine.listen(this.namespaceId,a,s,u,function(t){r.factory.scheduleListenerCallback(t._data||-1,i,t)})}return this.delegate.listen(t,n,i)}}]),i}(v_),m_=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i,r){return m(this,n),e.call(this,t.body,i,r)}return _(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(Vy);return t.\u0275fac=function(e){return new(e||t)(bi(El),bi(dm),bi(ly))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),y_=new ti("AnimationModuleType"),__=[{provide:Lg,useClass:l_},{provide:ly,useFactory:function(){return new cy}},{provide:Vy,useClass:m_},{provide:ms,useFactory:function(t,e,n){return new p_(t,e,n)},deps:[Cc,Vy,Ju]}],b_=[{provide:dm,useFactory:function(){return"function"==typeof u_()?new s_:new o_}},{provide:y_,useValue:"BrowserAnimations"}].concat(__),k_=[{provide:dm,useClass:fm},{provide:y_,useValue:"NoopAnimations"}].concat(__),w_=function(){var t=function(){function t(){m(this,t)}return _(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?k_:b_}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:b_,imports:[Fc]}),t}(),C_=new ks("12.2.13"),x_=new ti("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),S_=function(){var t=function(){function t(e,n,i){m(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _(t,[{key:"_checkIsEnabled",value:function(t){return!(!ll()||Cv())&&("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")&&C_.full!==Dg.full&&console.warn("The Angular Material version ("+C_.full+") does not match the Angular CDK version ("+Dg.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Ng),bi(x_,8),bi(El))},t.\u0275mod=se({type:t}),t.\u0275inj=Et({imports:[[Ov],Ov]}),t}();function O_(t,e){return function(t){c(i,t);var n=f(i);function i(){var t;m(this,i);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},E_),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,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=u-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),function(t){window.getComputedStyle(t).getPropertyValue("opacity")}(c),c.style.transform="scale(1)";var h=new P_(this,c,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()},l),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({},E_),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=Zp(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(M_))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(A_),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=wg(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,T_)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(M_.forEach(function(e){t._triggerElement.removeEventListener(e,t,T_)}),this._pointerUpEventsRegistered&&A_.forEach(function(e){t._triggerElement.removeEventListener(e,t,T_)}))}}]),t}(),I_=new ti("mat-ripple-global-options"),N_=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new R_(this,n,e,i)}return _(t,[{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))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(vs),Ta(Ju),Ta(yv),Ta(I_,8),Ta(y_,8))},t.\u0275dir=le({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&Ka("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}(),D_=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({imports:[[S_,_v],S_]}),t}();function L_(t,e){}var F_=_(function t(){m(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}),j_={dialogContainer:function(t,e){return{type:7,name:t,definitions:e,options:{}}}("dialogContainer",[Bg("void, exit",Hg({opacity:0,transform:"scale(0.7)"})),Bg("enter",Hg({transform:"none"})),Ug("* => enter",jg("150ms cubic-bezier(0, 0, 0.2, 1)",Hg({transform:"none",opacity:1}))),Ug("* => void, * => exit",jg("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Hg({opacity:0})))])},z_=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i,r,o,a,s){var u;return m(this,n),(u=e.call(this))._elementRef=t,u._focusTrapFactory=i,u._changeDetectorRef=r,u._config=a,u._focusMonitor=s,u._animationStateChanged=new du,u._elementFocusedBeforeDialogWasOpened=null,u._closeInteractionType=null,u.attachDomPortal=function(t){return u._portalOutlet.hasAttached(),u._portalOutlet.attachDomPortal(t)},u._ariaLabelledBy=a.ariaLabelledBy||null,u._document=o,u}return _(n,[{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=kv(),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=kv())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=kv();return t===e||t.contains(e)}}]),n}(Dv);return t.\u0275fac=function(e){return new(e||t)(Ta(vs),Ta(kg),Ta(Bs),Ta(El,8),Ta(F_),Ta(Mg))},t.\u0275dir=le({type:t,viewQuery:function(t,e){var n;(1&t&&Ou(Fv,7),2&t)&&(Su(n=Pu())&&(e._portalOutlet=n.first))},features:[ma]}),t}(),H_=function(){var t,e=function(t){c(n,t);var e=f(n);function n(){var t;return m(this,n),(t=e.apply(this,arguments))._state="enter",t}return _(n,[{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()}}]),n}(z_);return e.\u0275fac=function(n){return(t||(t=function(t){return Ht(function(){for(var e=t.prototype.constructor,n=e[te]||Jn(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var o=r[te]||Jn(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(t){return new t}})}(e)))(n||e)},e.\u0275cmp=ie({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&ja("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(ts("id",e._id),Pa("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),es("@dialogContainer",e._state))},features:[ma],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&Ea(0,L_,0,0,"ng-template",0)},directives:[Fv],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:[j_.dialogContainer]}}),e}(),B_=0,U_=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+B_++;m(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new j,this._afterClosed=new j,this._beforeClosed=new j,this._state=0,n._id=r,n._animationStateChanged.pipe(dh(function(t){return"opened"===t.state}),ah(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(dh(function(t){return"closed"===t.state}),ah(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(dh(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}}]),t}();function V_(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var q_=new ti("MatDialogData"),W_=new ti("mat-dialog-default-options"),G_=new ti("mat-dialog-scroll-strategy"),K_={provide:G_,deps:[fg],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},Z_=function(){var t=function(){function t(e,n,i,r,o,a,s,u,l){var c=this;m(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=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new j,this._afterOpenedAtThisLevel=new j,this._ariaHiddenElements=new Map,this.afterAllClosed=eh(function(){return c.openDialogs.length?c._getAfterAllClosed():c._getAfterAllClosed().pipe(lh(void 0))}),this._scrollStrategy=a}return _(t,[{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 F_)).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 Kv({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=va.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:F_,useValue:e}]}),i=new Rv(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 Gs)e.attachTemplatePortal(new Iv(t,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,e),a=e.attachComponentPortal(new Rv(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(Sv,null,Ft.Optional))&&r.push({provide:Sv,useValue:{value:t.direction,change:Vc()}}),va.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()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(fg),Ta(va),Ta(void 0),Ta(void 0),Ta($v),Ta(void 0),Ta(ni),Ta(ni),Ta(ti))},t.\u0275dir=le({type:t}),t}(),Q_=function(){var t=function(t){c(n,t);var e=f(n);function n(t,i,r,o,a,s,u){return m(this,n),e.call(this,t,i,o,s,u,a,U_,H_,q_)}return _(n)}(Z_);return t.\u0275fac=function(e){return new(e||t)(bi(fg),bi(va),bi(Vl,8),bi(W_,8),bi(G_),bi(t,12),bi($v))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),J_=0,Y_=function(){var t=function(){function t(e,n,i){m(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"}return _(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=tb(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){V_(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(U_,8),Ta(vs),Ta(Q_))},t.\u0275dir=le({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&&Pa("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:[we]}),t}(),X_=function(){var t=function(){function t(e,n,i){m(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+J_++}return _(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=tb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(U_,8),Ta(vs),Ta(Q_))},t.\u0275dir=le({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&ts("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),$_=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=le({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}();function tb(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 eb=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:[Q_,K_],imports:[[pg,jv,S_],S_]}),t}(),nb=["mat-button",""],ib=["*"],rb=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ob=O_(function(t){return function(t){c(n,t);var e=f(n);function n(){var t;m(this,n);for(var i=arguments.length,r=new Array(i),o=0;o*,.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}(),sb=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({imports:[[D_,S_],S_]}),t}();function ub(t,e){return new I(function(n){var i=t.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var u=J(t[s]),l=!1;n.add(u.subscribe({next:function(t){l||(l=!0,a++),r[s]=t},error:function(t){return n.error(t)},complete:function(){(++o===i||!l)&&(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 _(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))})}}]),t}(),fb=function(){function t(){m(this,t)}return _(t,[{key:"encodeKey",value:function(t){return vb(t)}},{key:"encodeValue",value:function(t){return vb(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),db=/%(\d[a-f0-9])/gi,pb={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function vb(t){return encodeURIComponent(t).replace(db,function(t,e){var n;return null!==(n=pb[e])&&void 0!==n?n:t})}function gb(t){return"".concat(t)}var mb=function(){function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(m(this,t),this.updates=null,this.cloneFrom=null,this.encoder=i.encoder||new fb,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 _(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(gb(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(gb(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)}}]),t}(),yb=function(){function t(){m(this,t),this.map=new Map}return _(t,[{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()}}]),t}();function _b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function bb(t){return"undefined"!=typeof Blob&&t instanceof Blob}function kb(t){return"undefined"!=typeof FormData&&t instanceof FormData}var wb=function(){function t(e,n,i,r){var o;if(m(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 hb),this.context||(this.context=new yb),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,l=n.headers||this.headers,c=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},l)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},c)),new t(i,r,a,{params:c,headers:l,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),t}(),Cb=((Cb=Cb||{})[Cb.Sent=0]="Sent",Cb[Cb.UploadProgress=1]="UploadProgress",Cb[Cb.ResponseHeader=2]="ResponseHeader",Cb[Cb.DownloadProgress=3]="DownloadProgress",Cb[Cb.Response=4]="Response",Cb[Cb.User=5]="User",Cb),xb=_(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";m(this,t),this.headers=e.headers||new hb,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}),Sb=function(t){c(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(t=e.call(this,i)).type=Cb.ResponseHeader,t}return _(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(xb),Ob=function(t){c(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(t=e.call(this,i)).type=Cb.Response,t.body=void 0!==i.body?i.body:null,t}return _(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(xb),Pb=function(t){c(n,t);var e=f(n);function n(t){var i;return m(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.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),i.error=t.error||null,i}return _(n)}(xb);function Eb(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 Tb=function(){var t=function(){function t(e){m(this,t),this.handler=e}return _(t,[{key:"request",value:function(t,e){var n,i,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof wb?n=t:(i=a.headers instanceof hb?a.headers:new hb(a.headers),a.params&&(r=a.params instanceof mb?a.params:new mb({fromObject:a.params})),n=new wb(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=Vc(n).pipe(_h(function(t){return o.handler.handle(t)}));if(t instanceof wb||"events"===a.observe)return s;var u=s.pipe(dh(function(t){return t instanceof Ob}));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return u.pipe(B(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(B(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(B(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return u.pipe(B(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 mb).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,Eb(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,Eb(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,Eb(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(lb))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Mb=function(){function t(e,n){m(this,t),this.next=e,this.interceptor=n}return _(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),Ab=new ti("HTTP_INTERCEPTORS"),Rb=function(){var t=function(){function t(){m(this,t)}return _(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Ib=/^\)\]\}',?\n/,Nb=function(){var t=function(){function t(e){m(this,t),this.xhrFactory=e}return _(t,[{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 I(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 hb(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 Sb({headers:r,status:e,statusText:n,url:o})},l=function(){var e=u(),r=e.headers,o=e.status,a=e.statusText,s=e.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){var h=l;l=l.replace(Ib,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new Ob({body:l,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Pb({error:l,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=u().url,r=new Pb({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:Cb.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:Cb.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",l),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),t.reportProgress&&(i.addEventListener("progress",f),null!==a&&i.upload&&i.upload.addEventListener("progress",d)),i.send(a),n.next({type:Cb.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",l),i.removeEventListener("timeout",c),t.reportProgress&&(i.removeEventListener("progress",f),null!==a&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(ac))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Db=new ti("XSRF_COOKIE_NAME"),Lb=new ti("XSRF_HEADER_NAME"),Fb=_(function t(){m(this,t)}),jb=function(){var t=function(){function t(e,n,i){m(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ql(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(El),bi(Du),bi(Db))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),zb=function(){var t=function(){function t(e,n){m(this,t),this.tokenService=e,this.headerName=n}return _(t,[{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)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(Fb),bi(Lb))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Hb=function(){var t=function(){function t(e,n){m(this,t),this.backend=e,this.injector=n,this.chain=null}return _(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(Ab,[]);this.chain=e.reduceRight(function(t,e){return new Mb(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(bi(cb),bi(va))},t.\u0275prov=Pt({token:t,factory:t.\u0275fac}),t}(),Bb=function(){var t=function(){function t(){m(this,t)}return _(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:zb,useClass:Rb}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Db,useValue:e.cookieName}:[],e.headerName?{provide:Lb,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:[zb,{provide:Ab,useExisting:zb,multi:!0},{provide:Fb,useClass:jb},{provide:Db,useValue:"XSRF-TOKEN"},{provide:Lb,useValue:"X-XSRF-TOKEN"}]}),t}(),Ub=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({providers:[Tb,{provide:lb,useClass:Hb},Nb,{provide:cb,useExisting:Nb}],imports:[[Bb.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),Vb=["*"];function qb(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function Wb(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 Gb(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var Kb=_(function t(e,n,i){m(this,t),this.url=e,this.svgText=n,this.options=i}),Zb=function(){var t=function(){function t(e,n,i,r){m(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}return _(t,[{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 Kb(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(ur.HTML,n);if(!r)throw Gb(n);return this._addSvgIconConfig(t,e,new Kb("",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 Kb(e,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,n){var i=this._sanitizer.sanitize(ur.HTML,e);if(!i)throw Gb(e);return this._addSvgIconSetConfig(t,new Kb("",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(ur.RESOURCE_URL,t);if(!n)throw Wb(t);var i=this._cachedIconsByUrl.get(n);return i?Vc(Qb(i)):this._loadSvgIconFromConfig(new Kb(t,null)).pipe(Rh(function(t){return e._cachedIconsByUrl.set(n,t)}),B(function(t){return Qb(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Jb(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):hv(qb(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Vc(Qb(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(B(function(t){return Qb(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var i=this,r=this._extractIconWithNameFromAnySet(t,e);return r?Vc(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(Rh(function(e){return t.svgText=e}),B(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Vc(null):this._fetchIcon(t).pipe(Rh(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') : '';",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","/sites/default/files/230224product01-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&&(Ra(0,"nav",0),Ra(1,"div",1),Ra(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")}),Na(3,"img",3),Ia(),Ra(4,"button",4),Na(5,"span",5),Ia(),Na(6,"button",6),Ra(7,"div",7),Ra(8,"ul",8),Ra(9,"li",9),Ra(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")}),Xa(11,"\u7522\u54c1\u4ecb\u7d39"),Ia(),Ia(),Ra(12,"li",9),Ra(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")}),Xa(14,"\u901a\u8def\u8207\u670d\u52d9"),Ia(),Ia(),Ra(15,"li",12),Ra(16,"a",13),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2Logo")}),Na(17,"img",14),Ia(),Ia(),Ia(),Ia(),Ra(18,"a",15),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),Na(19,"img",14),Ia(),Ia(),Ia(),Na(20,"div",16))},directives:[mp,ak],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 rgba(0,0,0,.15);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 rgba(0,0,0,.15);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}(),ck=[[["","outside",""]],[["","inside",""]]],hk=["[outside]","[inside]"],fk=function(){var t=function(){function t(e,n,i){m(this,t),this.title=e,this.meta=n,this.share=i,this.basePath="/sites/default/files/",this.gaEventName="\u5165\u53e3\u7db2"}return _(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Uc),Ta(zc),Ta(uk))},t.\u0275cmp=ie({type:t,selectors:[["app-route-nav"]],ngContentSelectors:hk,decls:43,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["src","/sites/default/files/220711diabetic-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"],[2,"width","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],[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&&(Va(ck),qa(0),Ra(1,"div",0),qa(2,1),Ra(3,"div",1),Ra(4,"div",2),Na(5,"img",3),Ia(),Ra(6,"div",4),Ra(7,"div",5),Xa(8,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ia(),Ra(9,"address",6),Xa(10," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Na(11,"br"),Xa(12," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Ra(13,"a",7),Xa(14,"0800-070-127"),Ia(),Ia(),Ra(15,"div",8),Xa(16," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),Ia(),Ia(),Ra(17,"div",2),Ra(18,"div",5),Xa(19,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),Ia(),Ra(20,"div",9),Ra(21,"a",10),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),Na(22,"img",11),Xa(23," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),Ia(),Ia(),Ra(24,"div",9),Ra(25,"a",12),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE\u5b98\u65b9\u5e33\u865f")}),Na(26,"img",11),Xa(27," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),Ia(),Ia(),Ra(28,"div",9),Ra(29,"a",13),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),Na(30,"img",11),Xa(31," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),Ia(),Ia(),Ia(),Ra(32,"div",14),Ra(33,"div",5),Xa(34,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ia(),Ra(35,"address",6),Xa(36," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Na(37,"br"),Xa(38," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Ra(39,"a",15),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Xa(40,"0800-070-127"),Ia(),Ia(),Ra(41,"div",8),Xa(42," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),Ia(),Ia(),Ia(),Ia()),2&t&&(oo(22),Ma("src",e.basePath+"230224product01-route-fb.png",lr),oo(4),Ma("src",e.basePath+"230224product01-route-line.png",lr),oo(4),Ma("src",e.basePath+"230224product01-route-web.png",lr))},directives:[ak],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 dk(t,e){1&t&&Na(0,"br")}var pk=["*"],vk=function(){var t=function(){function t(e,n){m(this,t),this.share=e,this.platformId=n,this.toTopTheme="",this.footerWarning="",this.topImagePath="/sites/default/files/220711diabetic-top.png"}return _(t,[{key:"ngOnInit",value:function(){ec(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(uk),Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:pk,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,"privacy-policy",3,"click"],["href","#",1,"cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],[2,"width","100px",3,"src"]],template:function(t,e){1&t&&(Va(),Ra(0,"footer",0),Ra(1,"div",1),Ra(2,"p",2),Ra(3,"span"),Xa(4),Ia(),Ra(5,"a",3),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Xa(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ia(),Ra(7,"a",4),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Xa(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ia(),Ia(),Ra(9,"p",5),Xa(10),Ea(11,dk,1,0,"br",6),Ra(12,"a",3),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Xa(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ia(),Ra(14,"a",4),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Xa(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ia(),Ia(),qa(16),Ia(),Ra(17,"div",7),Fa("click",function(){return e.share.GA("click",e.toTopTheme,"Top")}),Na(18,"img",8),Ia(),Ia()),2&t&&(oo(4),$a(" ",e.footerWarning,""),oo(6),$a(" ",e.footerWarning,""),oo(1),Ma("ngIf",e.footerWarning),oo(7),Ma("src",e.topImagePath,lr))},directives:[Jl,ak],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 rgba(0,0,0,.4);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}(),gk=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.title=e,this.meta=n,this.share=i,this.dialog=r,this.platformId=o;var a="\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9 - \u539f\u5473\u98a8\u5473\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";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:"\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"},'property="description"'),this.meta.updateTag({content:"\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"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9, \u539f\u5473\u98a8\u5473, \u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c, \u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2, \u6bcf\u65e5\u71df\u990a\u88dc\u5145, \u539f\u5473\u4e0d\u751c, 50%\u4e73\u6e05\u86cb\u767d, \u927b100\u96d9\u91cd\u7a69\u7cd6"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9, \u539f\u5473\u98a8\u5473, \u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c, \u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2, \u6bcf\u65e5\u71df\u990a\u88dc\u5145, \u539f\u5473\u4e0d\u751c, 50%\u4e73\u6e05\u86cb\u767d, \u927b100\u96d9\u91cd\u7a69\u7cd6"},'property="og:keyword"')}return _(t,[{key:"ngOnInit",value:function(){ec(this.platformId)||["/sites/default/files/230224product01-d-content.png","/sites/default/files/230224product01-m-content.png"].forEach(function(t){return(new Image).src=t})}},{key:"ngAfterViewInit",value:function(){ec(this.platformId)||Vp(200).subscribe(function(){return AOS.init()})}},{key:"openDialog",value:function(){this.dialog.open(sk,{width:"650px",maxWidth:"95vw"})}},{key:"openCallDialog",value:function(){this.dialog.open(ok)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Uc),Ta(zc),Ta(uk),Ta(Q_),Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-food-master"]],decls:170,vars:0,consts:[[1,"d-none"],[1,"banner-box"],[1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-banner.jpg","alt","\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2",1,"img-fluid","no-lazy"],[1,"d-lg-none"],["src","/sites/default/files/230224product01-m-banner.jpg","alt","\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2",1,"img-fluid","w-100","no-lazy"],[1,"info-box","py-5"],[1,"container","mx-auto"],[1,"info-header","py-5"],["src","/sites/default/files/230224product01-d-info-title.png","alt","\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01",1,"img-fluid"],["src","/sites/default/files/230224product01-m-info-title.png","alt","\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01",1,"img-fluid"],[1,"info-body","row"],[1,"col-12","col-lg-4"],[1,"ps-lg-5"],["data-aos","fade-right"],["src","/sites/default/files/230224product01-item-1.png","alt","\u8102\u80aa\u7d44\u7e54\uff1a\u98fd\u548c\u8102\u80aa\u4f54\u7e3d\u71b1\u91cf\u6bd4\u4f8b\u50c5\u70ba3.6%\uff0c\u7b26\u5408\u4e16\u754c\u885b\u751f\u7d44\u7e54WHO\u4e4b\u5efa\u8b70\uff0c\u98fd\u548c\u8102\u80aa\u9178\u6bd4\u4f8b\u5c0f\u65bc\u7e3d\u71b1\u91cf10%1\u3002",1,"img-fluid"],[1,"pe-lg-5"],["src","/sites/default/files/230224product01-item-2.png","alt","\u927b\uff1a\u6bcf\u4efd\u6dfb\u52a0\u927b100mg\uff0c\u53ef\u5e6b\u52a9\u91a3\u985e\u6b63\u5e38\u4ee3\u8b1d\u3002",1,"img-fluid"],[1,"ps-lg-3"],["src","/sites/default/files/230224product01-item-3.png","alt","\u4e73\u6e05\u86cb\u767d\uff1a\u4f54\u6bd4\u9ad8\u905450%\u3002",1,"img-fluid"],[1,"col-12","col-lg-4","ps-5"],[1,"ps-lg-5","pe-lg-2"],["src","/sites/default/files/230224product01-d-info-product.png","alt","banner",1,"img-fluid"],[1,"px-5","py-3"],[1,"px-5","pt-5"],["src","/sites/default/files/230224product01-m-info-product.png","alt","banner",1,"img-fluid"],["type","button",1,"btn","py-3","my-5",3,"click"],["data-aos","fade-left"],["src","/sites/default/files/230224product01-item-4.png","alt","\u7570\u9ea5\u82bd\u916e\u7cd6\uff1a\u5929\u7136\u690d\u7269\u7cd6\uff0c\u6162\u901f\u91cb\u653e\u80fd\u91cf\u3001\u4f4e\u71b1\u91cf\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-item-5.png","alt","100%\u6c34\u6eb6\u6027\u7e96\u7dad\uff1a\u6bcf\u4efd\u542b\u67094.5g\u9ad8\u90544\u7a2e100%\u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad\uff0c\u589e\u52a0\u98fd\u8db3\u611f\u3001\u6392\u4fbf\u9806\u66a2\u3002",1,"img-fluid"],[1,""],["src","/sites/default/files/230224product01-item-6.png","alt","\u9382\uff1a\u6709\u52a9\u65bc\u7dad\u6301\u91a3\u985e\u6b63\u5e38\u4ee3\u8b1d\uff0c\u4e14\u52a9\u65bc\u5fc3\u81df\u6b63\u5e38\u529f\u80fd\u3002",1,"img-fluid"],[1,"text-center","ingredient-box"],[1,"ingredient-text"],[1,"pd-area","py-5"],[1,"pd-box","container"],["data-aos","fade-up",1,"title-box","mx-auto","text-center","px-5"],["src","/sites/default/files/230224product01-d-pd-title.png","alt","\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77",1,"img-fluid"],["src","/sites/default/files/230224product01-m-pd-title.png","alt","\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77",1,"img-fluid"],[1,"content-box","p-5"],[1,"d-none","d-lg-flex","justify-content-center","p-5"],["data-aos","fade-up-right","data-aos-duration","300",1,"image-01"],["src","/sites/default/files/230224product01-d-pd-01.png","alt","\u74f6\u8eab\u92c1\u7b94\u5c01\u819c\uff1a\u958b\u84cb\u4e00\u6b65\u5230\u4f4d\uff0c\u5b89\u5168\u9632\u8b77\u6a5f\u5236\uff0c\u92c1\u7b94\u4fdd\u9bae\u5c01\u819c\u4e0d\u6703\u6389\u5165\u74f6\u8eab\u5167\u3002",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","450",1,"h-line"],["data-aos","fade-up-left","data-aos-duration","300",1,"image-02"],["src","/sites/default/files/230224product01-d-pd-02.png","alt","\u7cbe\u5bc6\u74f6\u84cb\uff1a\u9023\u52d5\u5f0f\u92f8\u9f52\u5207\u53e3\u3001\u74f6\u8eab\u63a5\u5408\u5e95\u5ea7\u3001\u7701\u529b\u65cb\u84cb\u3001\u7834\u58de\u5f0f\u9632\u76dc\u74b0\u3001\u9632\u6ea2\u6f0f\u74f6\u53e3\u3002",1,"img-fluid"],[1,"d-lg-none","p-5"],["src","/sites/default/files/230224product01-m-pd-01.png","alt","\u74f6\u8eab\u92c1\u7b94\u5c01\u819c\uff1a\u958b\u84cb\u4e00\u6b65\u5230\u4f4d\uff0c\u5b89\u5168\u9632\u8b77\u6a5f\u5236\uff0c\u92c1\u7b94\u4fdd\u9bae\u5c01\u819c\u4e0d\u6703\u6389\u5165\u74f6\u8eab\u5167\u3002","data-aos","fade-up",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","300"],["src","/sites/default/files/230224product01-m-pd-02.png","alt","\u7cbe\u5bc6\u74f6\u84cb\uff1a\u9023\u52d5\u5f0f\u92f8\u9f52\u5207\u53e3\u3001\u74f6\u8eab\u63a5\u5408\u5e95\u5ea7\u3001\u7701\u529b\u65cb\u84cb\u3001\u7834\u58de\u5f0f\u9632\u76dc\u74b0\u3001\u9632\u6ea2\u6f0f\u74f6\u53e3\u3002","data-aos","fade-up","data-aos-duration","600",1,"img-fluid"],[1,"py-5","my-5","space-box"],[1,"banner-bottom-box"],[1,"audience-box"],[1,"text-center","p-2","title"],[1,"container"],[1,"audience-img-box","mx-auto","py-5"],[1,"d-node","text-center"],["src","/sites/default/files/230224product01-d-audience.png","alt","\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005",1,"img-fluid"],["src","/sites/default/files/230224product01-m-audience.png","alt","\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005",1,"img-fluid"],[1,"usage-scenarios-box"],[1,"container-lg","py-5","usage-scenarios-image"],[1,"px-5","px-lg-0","d-inline-block","usage-scenarios-image-left"],["src","/sites/default/files/230224product01-usage-scenarios-01.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01",1,"img-fluid"],[1,"d-none","d-lg-inline-block","usage-scenarios-image-right"],["src","/sites/default/files/230224product01-usage-scenarios-d-02.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01\u5916\u98df\u65cf\u4e5f\u80fd\u5403\u5f97\u5065\u5eb7\u53c8\u71df\u990a\uff0c\u559a\u9192\u5168\u8eab\u7684\u6d3b\u529b\uff0c\u65e9\u5b89\u98df\u523b\u9019\u6a23\u5403\uff01",1,"img-fluid"],[1,"d-lg-none","py-4","usage-scenarios-image-right"],["src","/sites/default/files/230224product01-usage-scenarios-m-02.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01\u5916\u98df\u65cf\u4e5f\u80fd\u5403\u5f97\u5065\u5eb7\u53c8\u71df\u990a\uff0c\u559a\u9192\u5168\u8eab\u7684\u6d3b\u529b\uff0c\u65e9\u5b89\u98df\u523b\u9019\u6a23\u5403\uff01",1,"img-fluid"],[1,"container-lg","mx-auto","row","py-5","items-box"],[1,"col-12","col-lg-4","px-0"],["data-aos","fade-up-right",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-01.png","alt","\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910\uff0c\u5c0f\u9ce5\u80c3\u66f4\u8981\u71df\u990a\u6eff\u5206\u7684\u8f15\u76c8\u611f\u65e9\u9910\u3002\u96d9\u5229\u5546\u5e97\u8336\u8449\u86cb1\u9846+\u860b\u679c1\u9846+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up",1,"d-lg-none"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-01.png","alt","\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910\uff0c\u5c0f\u9ce5\u80c3\u66f4\u8981\u71df\u990a\u6eff\u5206\u7684\u8f15\u76c8\u611f\u65e9\u9910\u3002\u96d9\u5229\u5546\u5e97\u8336\u8449\u86cb1\u9846+\u860b\u679c1\u9846+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-02.png","alt","\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910\uff0c\u7f8e\u5473\u71df\u990a\u517c\u5099\uff0c\u7d93\u6fdf\u53c8\u5be6\u60e0\u3002\u8d77\u53f8\u86cb\u4e09\u660e\u6cbb1\u500b+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-02.png","alt","\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910\uff0c\u7f8e\u5473\u71df\u990a\u517c\u5099\uff0c\u7d93\u6fdf\u53c8\u5be6\u60e0\u3002\u8d77\u53f8\u86cb\u4e09\u660e\u6cbb1\u500b+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up-left",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-03.png","alt","\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910\uff0c\u901f\u98df\u65e9\u9910\u4e5f\u80fd\u5927\u53e3\u5b89\u5fc3\u5403\u3002\u6d3b\u529b\u6eff\u798f\u58211\u4efd+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-03.png","alt","\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910\uff0c\u901f\u98df\u65e9\u9910\u4e5f\u80fd\u5927\u53e3\u5b89\u5fc3\u5403\u3002\u6d3b\u529b\u6eff\u798f\u58211\u4efd+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],[1,"warning-box","container","py-5"],[1,"text-center","px-2","py-5","title"],[1,"pb-5"],[1,"text-start","mx-auto","pt-3","pb-5","px-5","warning-items"],[1,"route-nav-box"],["gaEventName","\u4e00\u822c\u98df\u54c1\u9928"],["toTopTheme","\u4e00\u822c\u98df\u54c1\u9928_\u7a69\u512a\u539f\u5473"],[1,"fix-box","w-100","d-flex","justify-content-between","justify-content-sm-end","pe-lg-5"],[1,"btn-box","btn-buy","px-lg-2"],["href","https://bmai.cc/4hfq8a","target","_blank",3,"click"],["src","/sites/default/files/230224product01-icon-buy.png","alt","buy",1,"img-fluid","no-lazy"],[1,"btn-box","btn-call","px-lg-2","d-none","d-lg-block",3,"click"],[3,"click"],["src","/sites/default/files/230224product01-icon-call.png","alt","buy",1,"call","img-fluid","no-lazy"],[1,"btn-box","btn-call","px-lg-2","d-lg-none"],["href","tel:0800-070-127",3,"click"]],template:function(t,e){1&t&&(Na(0,"app-header"),Ra(1,"h1",0),Xa(2,"\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2"),Ia(),Ra(3,"div",1),Ra(4,"div",2),Na(5,"img",3),Ra(6,"h2",0),Xa(7,"\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01"),Ia(),Ia(),Ra(8,"div",4),Na(9,"img",5),Ra(10,"h2",0),Xa(11,"\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01"),Ia(),Ia(),Ia(),Ra(12,"div",6),Ra(13,"div",7),Ra(14,"div",8),Ra(15,"div",2),Na(16,"img",9),Ia(),Ra(17,"div",4),Na(18,"img",10),Ia(),Ia(),Ra(19,"div",11),Ra(20,"div",12),Ra(21,"div",13),Ra(22,"div",14),Na(23,"img",15),Ra(24,"h3",0),Xa(25,"\u8102\u80aa\u7d44\u7e54"),Ia(),Ia(),Ia(),Ra(26,"div",16),Ra(27,"div",14),Na(28,"img",17),Ra(29,"h3",0),Xa(30,"\u927b"),Ia(),Ia(),Ia(),Ra(31,"div",18),Ra(32,"div",14),Na(33,"img",19),Ra(34,"h3",0),Xa(35,"\u4e73\u6e05\u86cb\u767d"),Ia(),Ia(),Ia(),Ia(),Ra(36,"div",20),Ra(37,"div",21),Ra(38,"div",2),Na(39,"img",22),Ia(),Ra(40,"div",4),Ra(41,"div",23),Ra(42,"div",24),Na(43,"img",25),Ia(),Ra(44,"button",26),Fa("click",function(){return e.openDialog(),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7a69\u512a\u539f\u5473","\u7522\u54c1\u4ecb\u7d39\uff3f\u7a69\u512a\u539f\u5473\uff3f\u6210\u5206\u5167\u5bb9(Popup)")}),Xa(45,"\u6210\u5206\u5167\u5bb9"),Ia(),Ia(),Ia(),Ia(),Ia(),Ra(46,"div",12),Ra(47,"div",18),Ra(48,"div",27),Na(49,"img",28),Ra(50,"h3",0),Xa(51,"\u7570\u9ea5\u82bd\u916e\u7cd6"),Ia(),Ia(),Ia(),Ra(52,"div",13),Ra(53,"div",27),Na(54,"img",29),Ra(55,"h3",0),Xa(56,"100%\u6c34\u6eb6\u6027\u7e96\u7dad"),Ia(),Ia(),Ia(),Ra(57,"div",30),Ra(58,"div",27),Na(59,"img",31),Ra(60,"h3",0),Xa(61,"\u9382"),Ia(),Ia(),Ia(),Ia(),Ia(),Ra(62,"div",32),Ra(63,"div",2),Ra(64,"button",26),Fa("click",function(){return e.openDialog(),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7a69\u512a\u539f\u5473","\u7522\u54c1\u4ecb\u7d39\uff3f\u7a69\u512a\u539f\u5473\uff3f\u6210\u5206\u5167\u5bb9(Popup)")}),Xa(65,"\u6210\u5206\u5167\u5bb9"),Ia(),Ia(),Ra(66,"p",33),Xa(67,"1. Guidelines: Saturated fatty acid and trans-fatty acid intake for adults and children. Geneva: World Health Organization; 2018"),Ia(),Ia(),Ia(),Ia(),Ra(68,"div",34),Ra(69,"div",35),Ra(70,"div",36),Ra(71,"div",2),Na(72,"img",37),Ra(73,"h2",0),Xa(74,"\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77"),Ia(),Ia(),Ra(75,"div",4),Na(76,"img",38),Ra(77,"h2",0),Xa(78,"\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77"),Ia(),Ia(),Ia(),Ra(79,"div",39),Ra(80,"div",40),Ra(81,"div",41),Na(82,"img",42),Ra(83,"h3",0),Xa(84,"\u74f6\u8eab\u92c1\u7b94\u5c01\u819c"),Ia(),Ia(),Na(85,"div",43),Ra(86,"div",44),Na(87,"img",45),Ra(88,"h3",0),Xa(89,"\u7cbe\u5bc6\u74f6\u84cb"),Ia(),Ia(),Ia(),Ra(90,"div",46),Na(91,"img",47),Na(92,"hr",48),Na(93,"img",49),Ia(),Ia(),Ia(),Ia(),Na(94,"div",50),Na(95,"div",50),Ra(96,"div",51),Ra(97,"div",52),Ra(98,"h2",53),Xa(99,"\u9069\u7528\u5c0d\u8c61"),Ia(),Ra(100,"div",54),Ra(101,"div",55),Ra(102,"h3",56),Xa(103,"\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005"),Ia(),Ra(104,"div",2),Na(105,"img",57),Ia(),Ra(106,"div",4),Na(107,"img",58),Ia(),Ia(),Ia(),Ia(),Ra(108,"div",59),Ra(109,"h2",53),Xa(110,"\u4f7f\u7528\u60c5\u5883"),Ia(),Ra(111,"div",60),Ra(112,"div",61),Na(113,"img",62),Ra(114,"h3",0),Xa(115,"\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01"),Ia(),Ia(),Ra(116,"div",63),Na(117,"img",64),Ia(),Ra(118,"div",65),Na(119,"img",66),Ia(),Ia(),Ra(120,"div",67),Ra(121,"div",68),Ra(122,"h4",0),Xa(123,"\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910"),Ia(),Ra(124,"div",69),Na(125,"img",70),Ia(),Ra(126,"div",71),Na(127,"img",72),Ia(),Ia(),Ra(128,"div",68),Ra(129,"h4",0),Xa(130,"\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910"),Ia(),Ra(131,"div",73),Na(132,"img",74),Ia(),Ra(133,"div",71),Na(134,"img",75),Ia(),Ia(),Ra(135,"div",68),Ra(136,"h4",0),Xa(137,"\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910"),Ia(),Ra(138,"div",76),Na(139,"img",77),Ia(),Ra(140,"div",71),Na(141,"img",78),Ia(),Ia(),Ia(),Ia(),Ra(142,"div",79),Ra(143,"h2",80),Xa(144,"\u6ce8\u610f\u4e8b\u9805"),Ia(),Na(145,"hr"),Ra(146,"div",81),Ra(147,"div",82),Ra(148,"div"),Xa(149,"\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u539f\u5473\u98a8\u5473\u70ba\u4e00\u822c\u98df\u54c1\u3002"),Ia(),Ra(150,"div"),Xa(151,"\u958b\u5c01\u524d\u8acb\u5132\u5b58\u5728\u5ba4\u6eab\u9670\u6dbc\u4e7e\u71e5\u8655\uff0c\u958b\u5c01\u5f8c\u672a\u7528\u5b8c\u90e8\u5206\u52a0\u84cb\u51b7\u85cf\uff0c\u4e26\u572824\u5c0f\u6642\u5167\u98f2\u7528\u5b8c\u7562\uff0c\u4f7f\u7528\u524d\u8acb\u6416\u52fb\uff0c\u51b7\u85cf\u98a8\u5473\u66f4\u4f73\u3002"),Ia(),Ra(152,"div"),Xa(153,"\u672c\u7522\u54c1\u542b\u904e\u654f\u539f\uff1a\u725b\u5976\u3001\u5927\u8c46 ( \u5927\u8c46\u5375\u78f7\u8102 )"),Ia(),Ia(),Ia(),Ia(),Ra(154,"div",83),Na(155,"app-route-nav",84),Ia(),Ia(),Ra(156,"app-footer",85),Ra(157,"div",86),Ra(158,"div",87),Ra(159,"a",88),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u7acb\u5373\u8cfc\u8cb7(\u61f8\u6d6e\u6309\u9215)")}),Na(160,"img",89),Xa(161," \u7acb\u5373\u8cfc\u8cb7 "),Ia(),Ia(),Ra(162,"div",90),Fa("click",function(){return e.openCallDialog()}),Ra(163,"a",91),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u71df\u990a\u8aee\u8a62(\u61f8\u6d6e\u6309\u9215)")}),Na(164,"img",92),Xa(165," \u71df\u990a\u8aee\u8a62 "),Ia(),Ia(),Ra(166,"div",93),Ra(167,"a",94),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u71df\u990a\u8aee\u8a62(\u61f8\u6d6e\u6309\u9215)")}),Na(168,"img",92),Xa(169," \u71df\u990a\u8aee\u8a62 "),Ia(),Ia(),Ia(),Ia())},directives:[lk,ak,fk,vk],styles:['@charset "UTF-8";.title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}.info-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-d-middle-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.info-box[_ngcontent-%COMP%] .info-body[_ngcontent-%COMP%]{max-width:100vw;overflow:hidden}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .title-box[_ngcontent-%COMP%]{max-width:380px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#f9fbff 0%,#e8f0fd 99%);border-radius:25px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .image-01[_ngcontent-%COMP%]{max-width:300px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .image-02[_ngcontent-%COMP%]{max-width:500px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .h-line[_ngcontent-%COMP%]{margin:0 80px;width:1px;background-color:#588eec}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:1px solid #588eec;margin:60px 0}.banner-bottom-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-d-bottom-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%]{padding:0 8%}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-left[_ngcontent-%COMP%]{width:calc(100% * (320 / (320 + 476)) - 40px);margin-right:40px}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-right[_ngcontent-%COMP%]{width:calc(100% * (476 / (320 + 476)) - 40px)}.banner-bottom-box[_ngcontent-%COMP%] .audience-box[_ngcontent-%COMP%]{position:relative;top:-140px}.banner-bottom-box[_ngcontent-%COMP%] .audience-box[_ngcontent-%COMP%] .audience-img-box[_ngcontent-%COMP%]{max-width:720px}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Regular;font-size:1.6rem;line-height:3rem;color:#000;letter-spacing:0;max-width:866px}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:relative}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:before{content:"\\ff0e";position:absolute;left:-17px}.ingredient-box[_ngcontent-%COMP%] .ingredient-text[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Medium;font-size:12px;color:#7b868c;letter-spacing:0}button.btn[_ngcontent-%COMP%]{width:260px;background-image:linear-gradient(180deg,#91c1f7 0%,#588eec 100%);box-shadow:0 5px 10px rgba(0,0,0,.2);border-radius:10px;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center}hr[_ngcontent-%COMP%]{color:#fff;background-color:#fff;opacity:1}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.info-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-middle-bg.jpg)}.banner-bottom-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-bottom-bg.png)}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%]{padding:0}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-left[_ngcontent-%COMP%]{width:100%;margin-right:0}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-right[_ngcontent-%COMP%]{width:100%}button.btn[_ngcontent-%COMP%]{width:225px}.route-nav-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-footer-bg.png);padding-top:20%}}',".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 rgba(0,0,0,.4);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}(),mk=[[["","outside",""]],[["","inside",""]]],yk=["[outside]","[inside]"],_k=function(){var t=function(){function t(e){m(this,t),this.share=e,this.basePath="/sites/default/files/",this.gaEventName="\u5165\u53e3\u7db2"}return _(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(uk))},t.\u0275cmp=ie({type:t,selectors:[["app-portal-route-nav"]],ngContentSelectors:yk,decls:43,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["src","/sites/default/files/220711diabetic-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"],[2,"width","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],[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&&(Va(mk),qa(0),Ra(1,"div",0),qa(2,1),Ra(3,"div",1),Ra(4,"div",2),Na(5,"img",3),Ia(),Ra(6,"div",4),Ra(7,"div",5),Xa(8,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ia(),Ra(9,"address",6),Xa(10," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Na(11,"br"),Xa(12," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Ra(13,"a",7),Xa(14,"0800-070-127"),Ia(),Ia(),Ra(15,"div",8),Xa(16," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),Ia(),Ia(),Ra(17,"div",2),Ra(18,"div",5),Xa(19,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),Ia(),Ra(20,"div",9),Ra(21,"a",10),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),Na(22,"img",11),Xa(23," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),Ia(),Ia(),Ra(24,"div",9),Ra(25,"a",12),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE\u5b98\u65b9\u5e33\u865f")}),Na(26,"img",11),Xa(27," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),Ia(),Ia(),Ra(28,"div",9),Ra(29,"a",13),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),Na(30,"img",11),Xa(31," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),Ia(),Ia(),Ia(),Ra(32,"div",14),Ra(33,"div",5),Xa(34,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),Ia(),Ra(35,"address",6),Xa(36," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),Na(37,"br"),Xa(38," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Ra(39,"a",15),Fa("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Xa(40,"0800-070-127"),Ia(),Ia(),Ra(41,"div",8),Xa(42," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),Ia(),Ia(),Ia(),Ia()),2&t&&(oo(22),Ma("src",e.basePath+"230224product01-route-fb.png",lr),oo(4),Ma("src",e.basePath+"230224product01-route-line.png",lr),oo(4),Ma("src",e.basePath+"230224product01-route-web.png",lr))},directives:[ak],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:#7a499e;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:#7a499e}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{color:#7a499e}"]}),t}();function bk(t,e){1&t&&Na(0,"br")}var kk=["*"],wk=function(){var t=function(){function t(e,n){m(this,t),this.share=e,this.platformId=n,this.toTopTheme="\u5165\u53e3\u7db2",this.footerWarning="\u90e8\u5206\u7522\u54c1\u5c6c\u7279\u6b8a\u75be\u75c5\u914d\u65b9\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/220711diabetic-portal-top.png"}return _(t,[{key:"ngOnInit",value:function(){ec(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(uk),Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-portal-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:kk,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,"privacy-policy",3,"click"],["href","#",1,"cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],[2,"width","100px",3,"src"]],template:function(t,e){1&t&&(Va(),Ra(0,"footer",0),Ra(1,"div",1),Ra(2,"p",2),Ra(3,"span"),Xa(4),Ia(),Ra(5,"a",3),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Xa(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ia(),Ra(7,"a",4),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Xa(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ia(),Ia(),Ra(9,"p",5),Xa(10),Ea(11,bk,1,0,"br",6),Ra(12,"a",3),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Xa(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),Ia(),Ra(14,"a",4),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Xa(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),Ia(),Ia(),qa(16),Ia(),Ra(17,"div",7),Fa("click",function(){return e.share.GA("click",e.toTopTheme,"Top")}),Na(18,"img",8),Ia(),Ia()),2&t&&(oo(4),$a(" ",e.footerWarning,""),oo(6),$a(" ",e.footerWarning,""),oo(1),Ma("ngIf",e.footerWarning),oo(7),Ma("src",e.topImagePath,lr))},directives:[Jl,ak],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:#591c86}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{background-color:#591c86}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:#591c86}}"]}),t}(),Ck=function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.title=e,this.meta=n,this.share=i,this.dialog=r,this.platformId=o;var a="\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff5cNestle Health Science";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\uff0c\u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u5e6b\u52a9\u4f60\u505a\u500b\u8070\u660e\u7684\u98df\u5ba2\uff0c\u638c\u63e1\u6bcf\u5929\u95dc\u9375\u98df\u523b\uff01\u5f9e\u5fd9\u788c\u8d95\u5834\u7684\u65e9\u5b89\u98df\u523b\uff0c\u5230\u5634\u5df4\u60f3\u5403\u7684\u9ede\u5fc3\u98df\u523b\uff0c\u518d\u5230\u809a\u5b50\u5f88\u9913\u7684\u6b63\u9910\u98df\u523b\uff0c\u8b93\u98df\u9593\u7ba1\u7406\u5927\u5e2b\u966a\u4f34\u4f60\u6bcf\u500b\u7f8e\u597d\u98df\u523b\u3002\u6b63\u78ba\u8070\u660e\u98f2\u98df\uff0c\u71df\u990a\u98fd\u8179\uff0c\u4e00\u7a69\u7121\u6182\uff01"},'property="description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a\uff0c\u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u5e6b\u52a9\u4f60\u505a\u500b\u8070\u660e\u7684\u98df\u5ba2\uff0c\u638c\u63e1\u6bcf\u5929\u95dc\u9375\u98df\u523b\uff01\u5f9e\u5fd9\u788c\u8d95\u5834\u7684\u65e9\u5b89\u98df\u523b\uff0c\u5230\u5634\u5df4\u60f3\u5403\u7684\u9ede\u5fc3\u98df\u523b\uff0c\u518d\u5230\u809a\u5b50\u5f88\u9913\u7684\u6b63\u9910\u98df\u523b\uff0c\u8b93\u98df\u9593\u7ba1\u7406\u5927\u5e2b\u966a\u4f34\u4f60\u6bcf\u500b\u7f8e\u597d\u98df\u523b\u3002\u6b63\u78ba\u8070\u660e\u98f2\u98df\uff0c\u71df\u990a\u98fd\u8179\uff0c\u4e00\u7a69\u7121\u6182\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, \u5927\u8c46\u86cb\u767d\u8cea, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, DNJ, \u7279\u6b8a\u71df\u990a\u54c1\u9928, \u91a3\u7ba1\u7406, \u7a69\u512a\u9999\u8349\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u8349\u8393\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u91d1\u947d\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u5b9a6\u95dc\u9375\u914d\u65b9, \u4e73\u6e05\u86cb\u767d, \u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad, \u927b, \u9382. \u8102\u80aa\u7d44\u614b, \u7570\u9ea5\u82bd\u916e\u7cd6, \u4f4e\u5347\u91a3\u6307\u6578, \u5229\u6a02\u5305\u96a8\u8eab\u651c\u5e36, \u6fb3\u6d32\u539f\u88dd\u9032\u53e3, \u5976\u7d20\u53ef\u7528"},'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, \u5927\u8c46\u86cb\u767d\u8cea, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, DNJ, \u7279\u6b8a\u71df\u990a\u54c1\u9928, \u91a3\u7ba1\u7406, \u7a69\u512a\u9999\u8349\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u8349\u8393\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u91d1\u947d\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u5b9a6\u95dc\u9375\u914d\u65b9, \u4e73\u6e05\u86cb\u767d, \u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad, \u927b, \u9382. \u8102\u80aa\u7d44\u614b, \u7570\u9ea5\u82bd\u916e\u7cd6, \u4f4e\u5347\u91a3\u6307\u6578, \u5229\u6a02\u5305\u96a8\u8eab\u651c\u5e36, \u6fb3\u6d32\u539f\u88dd\u9032\u53e3, \u5976\u7d20\u53ef\u7528"},'property="og:keyword"')}return _(t,[{key:"ngOnInit",value:function(){ec(this.platformId)}},{key:"ngAfterViewInit",value:function(){ec(this.platformId)||AOS.init()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Uc),Ta(zc),Ta(uk),Ta(Q_),Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-portal"]],decls:48,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"],["routerLink","/",1,"cursor-pointer","logo-left",3,"click"],["src","/sites/default/files/220711diabetic-portal-logo-left.png","alt","banner",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/220711diabetic-portal-d-nav-01.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer",3,"click"],["src","/sites/default/files/220711diabetic-portal-m-nav-01.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-none","d-lg-inline-block","cursor-pointer"],["routerLink","/food-master",3,"click"],["src","/sites/default/files/220711diabetic-portal-d-nav-02.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer"],["src","/sites/default/files/220711diabetic-portal-m-nav-02.png","alt","banner",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/220711diabetic-portal-logo-right.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-none"],[1,"space"],[1,"banner-box"],[1,"d-none","d-lg-block"],["src","/sites/default/files/230224portal-portal-d-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",1,"img-fluid","no-lazy"],[1,"d-lg-none"],["src","/sites/default/files/230224portal-portal-m-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",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/230224portal-portal-next-01.png","alt","\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928",1,"img-fluid"],["routerLink","/food-master",1,"col-12","col-lg-6","cursor-pointer",3,"click"],["src","/sites/default/files/230224portal-portal-next-02.png","alt","\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928",1,"img-fluid"],[1,"py-5","my-5"],["outside",""],[1,"shadow-area"],[1,"d-none","d-lg-block","shadow-box"],["src","/sites/default/files/230224portal-d-footer-shadow.png","alt","banner",1,"img-fluid"],[1,"d-lg-none","shadow-box"],["src","/sites/default/files/230224portal-m-footer-shadow.png","alt","banner",1,"img-fluid"]],template:function(t,e){1&t&&(Ra(0,"nav",0),Ra(1,"div",1),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7acb\u651d\u9069\u7a69\u512aLOGO")}),Na(2,"img",2),Ia(),Ra(3,"div",3),Ra(4,"div",4),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7279\u6b8a\u71df\u990a\u54c1\u9928")}),Ra(5,"a",5),Na(6,"img",6),Ia(),Ia(),Ra(7,"div",7),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7279\u6b8a\u71df\u990a\u54c1\u9928")}),Ra(8,"a",5),Na(9,"img",8),Ia(),Ia(),Ra(10,"div",9),Ra(11,"div",10),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u4e00\u822c\u98df\u54c1\u9928")}),Na(12,"img",11),Ia(),Ia(),Ra(13,"div",12),Ra(14,"div",10),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u4e00\u822c\u98df\u54c1\u9928")}),Na(15,"img",13),Ia(),Ia(),Ia(),Ra(16,"div",14),Ra(17,"a",15),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),Na(18,"img",16),Ia(),Ia(),Ia(),Ra(19,"h1",17),Xa(20,"\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b"),Ia(),Na(21,"div",18),Ra(22,"div",19),Ra(23,"div",20),Na(24,"img",21),Ia(),Ra(25,"div",22),Na(26,"img",23),Ia(),Ia(),Ra(27,"div",24),Ra(28,"div",25),Ra(29,"div",26),Ra(30,"div",27),Ra(31,"a",28),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928"),e.share.goTo("body")}),Na(32,"img",29),Ra(33,"h2",17),Xa(34,"\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928"),Ia(),Ia(),Ia(),Ra(35,"div",30),Fa("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928"),e.share.goTo("body")}),Na(36,"img",31),Ra(37,"h2",17),Xa(38,"\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928"),Ia(),Ia(),Ia(),Ia(),Na(39,"div",32),Ia(),Ra(40,"app-portal-route-nav"),Ra(41,"div",33),Ra(42,"div",34),Ra(43,"div",35),Na(44,"img",36),Ia(),Ra(45,"div",37),Na(46,"img",38),Ia(),Ia(),Ia(),Ia(),Na(47,"app-portal-footer"))},directives:[gp,ak,_k,wk],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%] img[_ngcontent-%COMP%]{max-width:207px}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/230224portal-d-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/230224portal-m-bg.jpg)}}"]}),t}(),xk=function(){var t=function(){function t(e,n,i,r){m(this,t),this.title=e,this.meta=n,this.share=i,this.platformId=r}return _(t,[{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(){ec(this.platformId)||(Vp(200).subscribe(function(){return AOS.init()}),Vp(0,5e3).subscribe(function(t){t%2==0?($("#clock-01").fadeOut(1500),$("#clock-02").fadeIn(1500)):($("#clock-02").fadeOut(1500),$("#clock-01").fadeIn(1500))}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Uc),Ta(zc),Ta(uk),Ta(Du))},t.\u0275cmp=ie({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&&(Na(0,"app-header"),Ra(1,"h1",0),Xa(2,"\u7acb\u651d\u9069\u7a69\u512a \u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b"),Ia(),Ra(3,"div",1),Ra(4,"div",2),Na(5,"img",3),Ra(6,"div",4),Na(7,"img",5),Na(8,"img",6),Ia(),Ia(),Ra(9,"div",7),Na(10,"img",8),Ia(),Ia(),Ra(11,"div",9),Ra(12,"div",10),Ra(13,"div",11),Na(14,"img",12),Ia(),Ra(15,"div",7),Na(16,"img",13),Ia(),Ra(17,"div",14),Ra(18,"div",15),Ra(19,"div",16),Ra(20,"div",17),Na(21,"img",18),Ra(22,"h2",0),Xa(23,"\u79d1\u5b78\u5be6\u8b49"),Ia(),Ia(),Ra(24,"div",19),Na(25,"img",20),Ra(26,"h2",0),Xa(27,"\u8c50\u5bcc\u71df\u990a"),Ia(),Ia(),Ra(28,"div",17),Na(29,"img",21),Ra(30,"h2",0),Xa(31,"\u8070\u660e\u98f2\u98df"),Ia(),Ia(),Ra(32,"div",19),Na(33,"img",22),Ra(34,"h2",0),Xa(35,"\u65b9\u4fbf\u98df\u7528"),Ia(),Ia(),Ra(36,"div",17),Na(37,"img",23),Ra(38,"h2",0),Xa(39,"\u6b61\u6a02\u805a\u9910"),Ia(),Ia(),Ia(),Ra(40,"div",24),Ra(41,"div",25),Ra(42,"div",26),Na(43,"img",27),Ra(44,"h2",0),Xa(45,"\u79d1\u5b78\u5be6\u8b49"),Ia(),Ia(),Ra(46,"div",26),Na(47,"img",28),Ra(48,"h2",0),Xa(49,"\u8070\u660e\u98f2\u98df"),Ia(),Ia(),Ra(50,"div",26),Na(51,"img",29),Ra(52,"h2",0),Xa(53,"\u6b61\u6a02\u805a\u9910"),Ia(),Ia(),Ia(),Ra(54,"div",30),Ra(55,"div",31),Na(56,"img",32),Ra(57,"h2",0),Xa(58,"\u8c50\u5bcc\u71df\u990a"),Ia(),Ia(),Ra(59,"div",31),Na(60,"img",33),Ra(61,"h2",0),Xa(62,"\u65b9\u4fbf\u98df\u7528"),Ia(),Ia(),Ia(),Ia(),Ia(),Ia(),Ia(),Ra(63,"div",34),Ra(64,"div",35),Ra(65,"div",36),Ra(66,"div",37),Ra(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")}),Na(68,"img",39),Ra(69,"h2",0),Xa(70,"\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473"),Ia(),Ia(),Ia(),Ia(),Ra(71,"div",36),Ra(72,"div",40),Ra(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")}),Na(74,"img",42),Ra(75,"h2",0),Xa(76,"\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2"),Ia(),Ia(),Ia(),Ia(),Ra(77,"div",36),Ra(78,"div",43),Ra(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")}),Na(80,"img",45),Ra(81,"h2",0),Xa(82,"\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89"),Ia(),Ia(),Ia(),Ia(),Ia(),Na(83,"div",46),Na(84,"div",46),Ia(),Ia(),Ra(85,"div",47),Na(86,"app-route-nav"),Ia(),Na(87,"app-footer",48))},directives:[lk,ak,mp,fk,vk],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 rgba(0,0,0,.4);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}(),Sk=function(){var t=function(){function t(){m(this,t)}return _(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ie({type:t,selectors:[["app-dialog-02"]],decls:5,vars:0,consts:[["mat-dialog-title","",1,"px-4","position-relative"],[1,"mx-auto","text-center","px-4"]],template:function(t,e){1&t&&(Ra(0,"h3",0),Xa(1," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda\n"),Ia(),Ra(2,"mat-dialog-content"),Ra(3,"div",1),Xa(4," 0800-070-127 "),Ia(),Ia())},directives:[X_,$_],styles:["h2[_ngcontent-%COMP%]{background:#588eec;border-radius:15px;font-family:NotoSansCJKtc-Regular;font-size:18px;color:#fff;letter-spacing:0;text-align:center;line-height:30px;position:relative}h2[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:-30px;top:-25px;color:#000}h3[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Medium;font-size:18px;color:#000;letter-spacing:0;text-align:center;line-height:30px}@media (max-width: 992px){h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{font-size:16px}}"]}),t}(),Ok=[{path:"product01",component:xk},{path:"food-master",component:gk},{path:"router",component:function(){var t=function(){function t(e,n,i,r,o){m(this,t),this.title=e,this.meta=n,this.share=i,this.dialog=r,this.platformId=o;var a="\u901a\u8def\u8207\u670d\u52d9\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";this.title.setTitle(a),this.meta.updateTag({content:a},'property="og:title"'),this.meta.updateTag({content:a},'property="og:site_name"')}return _(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){ec(this.platformId)||AOS.init()}},{key:"openDialog",value:function(){this.dialog.open(Sk,{width:"650px",maxWidth:"95vw"})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Uc),Ta(zc),Ta(uk),Ta(Q_),Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-router"]],decls:65,vars:0,consts:[[1,"router-area","pt-5","pb-5"],[1,"fix-bg"],[1,"row","container","mx-auto","router-box"],[1,"col-12","title","text-center","py-5"],[1,"col-12","col-lg-6","d-flex","justify-content-center","justify-content-lg-end","py-4"],[1,"image-box"],["href","https://www.nutrition-support.com.tw/v2/official/SalePageCategory/427553?sortMode=Curator","target","_blank",3,"click"],["src","/sites/default/files/220711diabetic-router-router-01.png","alt","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u65d7\u8266\u5546\u57ce",1,"img-fluid"],[1,"col-12","col-lg-6","d-flex","justify-content-center","justify-content-lg-start","py-4"],["href","#","onclick","return false;",3,"click"],["src","/sites/default/files/230224product01-router-02.png","alt","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda0800-070-127",1,"img-fluid"],[1,"my-5","mx-auto"],["href","https://www.momoshop.com.tw/category/DgrpCategory.jsp?d_code=1205300027&p_orderType=6&showType=chessboardType","target","_blank",3,"click"],["src","/sites/default/files/230224product01-router-03.png","alt","\u524d\u5f80MOMO\u8cfc\u7269\u7db2\u8ce3\u5834\uff0c\u8cfc\u8cb7\u96c0\u5de2\u7a69\u512a",1,"img-fluid"],["href","https://24h.pchome.com.tw/store/DBBA12","target","_blank",3,"click"],["src","/sites/default/files/230224product01-router-04.png","alt","\u524d\u5f80Pchome\u7dda\u4e0a\u8cfc\u7269\u8ce3\u5834\uff0c\u8cfc\u8cb7\u96c0\u5de2\u7a69\u512a",1,"img-fluid"],[1,"py-5","my-5"],[1,"route-nav-box"],["inside",""],[1,"store-box","py-5"],[1,"title","text-center","pb-5"],[1,"text-center","mx-auto","btn-box","py-5"],["href","https://www.nestlehealthscience.com.tw/siteassets/nestle-storelocation/index","target","_blank",3,"click"],[1,"d-none","d-lg-block","mx-auto"],["src","/sites/default/files/230224product01-d-button.png","alt","\u524d\u5f80\u67e5\u8a62\u5168\u53f0\u5920\u5927\u5be6\u9ad4\u901a\u8def",1,"img-fluid"],[1,"d-lg-none","mx-auto"],["src","/sites/default/files/230224product01-m-button.png","alt","\u524d\u5f80\u67e5\u8a62\u5168\u53f0\u5920\u5927\u5be6\u9ad4\u901a\u8def",1,"img-fluid"],[1,"py-5","my-3"],[1,"title","text-center","py-5"],[1,"d-none","d-lg-block"],[1,"d-lg-none"],[1,"row","container","mx-auto","py-5","icon-box"],[1,"col-6","d-flex","justify-content-lg-end"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",3,"click"],["src","/sites/default/files/230224product01-fb.png","alt","\u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFacebook",1,"img-fluid"],[1,"col-6","d-flex","justify-content-lg-start"],["href","https://page.line.me/ycv7155b","target","_blank",3,"click"],["src","/sites/default/files/230224product01-line.png","alt","\u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfLINE\u5b98\u65b9\u5e33\u865f",1,"img-fluid"],["toTopTheme","\u4e00\u822c\u98df\u54c1\u9928_\u901a\u8def\u8207\u670d\u52d9"]],template:function(t,e){1&t&&(Na(0,"app-header"),Ra(1,"div",0),Na(2,"div",1),Ra(3,"div",2),Ra(4,"div",3),Xa(5,"\u8ca9\u552e\u901a\u8def"),Ia(),Ra(6,"div",4),Ra(7,"div",5),Ra(8,"a",6),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u65d7\u8266\u5546\u57ce")}),Na(9,"img",7),Ia(),Ia(),Ia(),Ra(10,"div",8),Ra(11,"div",5),Ra(12,"a",9),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda"),e.openDialog()}),Na(13,"img",10),Ia(),Ia(),Ia(),Ia(),Na(14,"hr",11),Ra(15,"div",2),Ra(16,"div",3),Xa(17,"\u7db2\u8def\u8a02\u8cfc"),Ia(),Ra(18,"div",4),Ra(19,"div",5),Ra(20,"a",12),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","Momo\u8cfc\u7269\u7db2")}),Na(21,"img",13),Ia(),Ia(),Ia(),Ra(22,"div",8),Ra(23,"div",5),Ra(24,"a",14),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","PChome\u7dda\u4e0a\u8cfc\u7269")}),Na(25,"img",15),Ia(),Ia(),Ia(),Ia(),Na(26,"div",16),Na(27,"div",16),Ia(),Ra(28,"div",17),Ra(29,"app-route-nav"),Ra(30,"div",18),Ra(31,"div",19),Ra(32,"div",20),Xa(33,"\u5be6\u9ad4\u901a\u8def"),Ia(),Ra(34,"div",21),Ra(35,"a",22),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u5be6\u9ad4\u901a\u8def\u524d\u5f80\u67e5\u8a62")}),Ra(36,"div",23),Na(37,"img",24),Ia(),Ra(38,"div",25),Na(39,"img",26),Ia(),Ia(),Ia(),Na(40,"div",27),Ra(41,"div",28),Ra(42,"div",29),Xa(43," \u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78 Facebook \u53ca LINE"),Na(44,"br"),Xa(45," \u7372\u5f97\u6700\u65b0\u6d3b\u52d5\u8a0a\u606f\u53ca\u885b\u6559\u8cc7\u8a0a\uff01 "),Ia(),Ra(46,"div",30),Xa(47," \u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78"),Na(48,"br"),Xa(49," Facebook \u53ca LINE"),Na(50,"br"),Xa(51," \u7372\u5f97\u6700\u65b0\u6d3b\u52d5\u8a0a\u606f\u53ca"),Na(52,"br"),Xa(53," \u885b\u6559\u8cc7\u8a0a\uff01 "),Ia(),Ia(),Ra(54,"div",31),Ra(55,"div",32),Ra(56,"div",5),Ra(57,"a",33),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFacebook")}),Na(58,"img",34),Ia(),Ia(),Ia(),Ra(59,"div",35),Ra(60,"div",5),Ra(61,"a",36),Fa("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u96c0\u5de2\u5065\u5eb7\u540c\u5b78\u6703LINE\u6703\u54e1")}),Na(62,"img",37),Ia(),Ia(),Ia(),Ia(),Ia(),Na(63,"div",16),Ia(),Ia(),Ia(),Na(64,"app-footer",38))},directives:[lk,ak,fk,vk],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;line-height:5rem;color:#1146a9;letter-spacing:0}.router-area[_ngcontent-%COMP%]{position:relative;background-image:url(/sites/default/files/230224product01-d-router-bg.png);background-size:100%;background-position:50% 100%;background-repeat:no-repeat}.router-area[_ngcontent-%COMP%] .fix-bg[_ngcontent-%COMP%]{position:absolute;top:0;left:0;background-color:#b4e2f5;height:50%;z-index:-1;width:100%}.router-area[_ngcontent-%COMP%] .image-box[_ngcontent-%COMP%]{max-width:350px}hr[_ngcontent-%COMP%]{max-width:1200px;background-color:#40b4e5;height:2px}.store-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{max-width:800px}.store-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%] .image-box[_ngcontent-%COMP%]{max-width:300px}div.route-nav-box[_ngcontent-%COMP%]{padding-top:0}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.router-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-router-bg.png)}}",".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 rgba(0,0,0,.4);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}()},{path:"portal",component:Ck}],Pk=[].concat(Ok,[{path:"**",component:function(){if(null==globalThis?void 0:globalThis.window){var t=globalThis.window.location.pathname.split("/").pop(),e=Ok.find(function(e){return e.path===t});if(e&&e.component)return e.component}return Ck}()}]),Ek=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t}),t.\u0275inj=Et({imports:[[Tp.forRoot(Pk,{initialNavigation:"enabled",useHash:!0})],Tp]}),t}(),Tk=["/sites/default/files/btn-buy.png","/sites/default/files/btn-call.png","/sites/default/files/btn-take.png","/sites/default/files/food-master/d-banner-clock-01.png","/sites/default/files/food-master/d-banner-clock-02.png","/sites/default/files/food-master/d-banner.jpg","/sites/default/files/food-master/d-p1-box.jpg","/sites/default/files/food-master/d-p2-bg.jpg","/sites/default/files/food-master/feature-01.png","/sites/default/files/food-master/feature-02.png","/sites/default/files/food-master/feature-03.png","/sites/default/files/food-master/feature-04.png","/sites/default/files/food-master/feature-05.png","/sites/default/files/food-master/m-banner.jpg","/sites/default/files/food-master/m-p1-box.jpg","/sites/default/files/food-master/m-p2-bg.jpg","/sites/default/files/food-master/product-01.png","/sites/default/files/food-master/product-02.png","/sites/default/files/footer_nestle_logo.png","/sites/default/files/230224product01-icon-buy.png","/sites/default/files/icon-call.png","/sites/default/files/icon-take.png","/sites/default/files/logo.png","/sites/default/files/nestle_logo.png","/sites/default/files/portal/d-banner.jpg","/sites/default/files/portal/d-bg.jpg","/sites/default/files/portal/d-footer-shadow.png","/sites/default/files/portal/d-mid.png","/sites/default/files/portal/d-nav-01.png","/sites/default/files/portal/d-nav-02.png","/sites/default/files/portal/d-title.png","/sites/default/files/portal/logo-left.png","/sites/default/files/portal/logo-right.png","/sites/default/files/portal/m-banner.jpg","/sites/default/files/portal/m-bg.jpg","/sites/default/files/portal/m-footer-shadow.png","/sites/default/files/portal/m-mid.png","/sites/default/files/portal/m-nav-01.png","/sites/default/files/portal/m-nav-02.png","/sites/default/files/portal/m-title.png","/sites/default/files/portal/next-01.png","/sites/default/files/portal/next-02.png","/sites/default/files/portal/product-01.png","/sites/default/files/portal/product-02.png","/sites/default/files/portal/product-03.png","/sites/default/files/portal/route-fb.png","/sites/default/files/portal/route-line.png","/sites/default/files/portal/route-web.png","/sites/default/files/portal/top.png","/sites/default/files/product01/btn.png","/sites/default/files/product01/d-audience.png","/sites/default/files/product01/d-banner.jpg","/sites/default/files/product01/d-bottom-bg.png","/sites/default/files/product01/d-content.png","/sites/default/files/product01/d-footer-bg.png","/sites/default/files/product01/d-info-product.png","/sites/default/files/product01/d-info-title.png","/sites/default/files/product01/d-middle-bg.jpg","/sites/default/files/product01/d-middle-bg.png","/sites/default/files/product01/d-usage-scenarios-item-01.png","/sites/default/files/product01/d-usage-scenarios-item-02.png","/sites/default/files/product01/d-usage-scenarios-item-03.png","/sites/default/files/product01/info.png","/sites/default/files/product01/item-1.png","/sites/default/files/product01/item-2.png","/sites/default/files/product01/item-3.png","/sites/default/files/product01/item-4.png","/sites/default/files/product01/item-5.png","/sites/default/files/product01/item-6.png","/sites/default/files/product01/m-audience.png","/sites/default/files/product01/m-banner.jpg","/sites/default/files/product01/m-bottom-bg.png","/sites/default/files/product01/m-content.png","/sites/default/files/product01/m-footer-bg.png","/sites/default/files/product01/m-info-product.png","/sites/default/files/product01/m-info-title.png","/sites/default/files/product01/m-middle-bg.jpg","/sites/default/files/product01/m-usage-scenarios-item-01.png","/sites/default/files/product01/m-usage-scenarios-item-02.png","/sites/default/files/product01/m-usage-scenarios-item-03.png","/sites/default/files/product01/usage-scenarios-01.png","/sites/default/files/product01/usage-scenarios-d-02.png","/sites/default/files/product01/usage-scenarios-m-02.png","/sites/default/files/product02/bg-img-1.png","/sites/default/files/product02/bg-img-2.png","/sites/default/files/product02/bg-img-3.png","/sites/default/files/product02/bg-img-4.png","/sites/default/files/product02/bg-img-5.png","/sites/default/files/product02/bg-img-6.png","/sites/default/files/product02/d-banner.jpg","/sites/default/files/product02/d-bg.jpg","/sites/default/files/product02/d-content.png","/sites/default/files/product02/d-icon.png","/sites/default/files/product02/d-p1-bg.png","/sites/default/files/product02/d-p1-content.png","/sites/default/files/product02/d-p1-icon.png","/sites/default/files/product02/d-p1-item-01.png","/sites/default/files/product02/d-p1-item-02.png","/sites/default/files/product02/d-p1-item-03.png","/sites/default/files/product02/d-p1-item-04.png","/sites/default/files/product02/d-p1-item-05.png","/sites/default/files/product02/d-p1-title-image-box.png","/sites/default/files/product02/d-p1-title.png","/sites/default/files/product02/d-p1.png","/sites/default/files/product02/d-p2-title.png","/sites/default/files/product02/d-p3-content.png","/sites/default/files/product02/d-p4-content-center.png","/sites/default/files/product02/d-p4-content-item-01.png","/sites/default/files/product02/d-p4-content-item-02.png","/sites/default/files/product02/d-p4-content-item-03.png","/sites/default/files/product02/d-p4-content-item-04.png","/sites/default/files/product02/d-p4-content.png","/sites/default/files/product02/d-p4-subtitle.png","/sites/default/files/product02/d-p4-title.png","/sites/default/files/product02/d-p5-bg-test.png","/sites/default/files/product02/d-p5-bg.png","/sites/default/files/product02/d-p5-item-01.png","/sites/default/files/product02/d-p5-item-02.png","/sites/default/files/product02/d-p5-item-03.png","/sites/default/files/product02/d-p5-item-04.png","/sites/default/files/product02/d-p5-title.png","/sites/default/files/product02/m-banner.jpg","/sites/default/files/product02/m-bg.jpg","/sites/default/files/product02/m-content.png","/sites/default/files/product02/m-icon.png","/sites/default/files/product02/m-p1-bg.png","/sites/default/files/product02/m-p1-content.png","/sites/default/files/product02/m-p1-item-01.png","/sites/default/files/product02/m-p1-item-02.png","/sites/default/files/product02/m-p1-item-03.png","/sites/default/files/product02/m-p1-item-04.png","/sites/default/files/product02/m-p1-item-05.png","/sites/default/files/product02/m-p1-title-image-box.png","/sites/default/files/product02/m-p1-title.png","/sites/default/files/product02/m-p1.png","/sites/default/files/product02/m-p2-title.png","/sites/default/files/product02/m-p3-content.png","/sites/default/files/product02/m-p4-content.png","/sites/default/files/product02/m-p4-subtitle.png","/sites/default/files/product02/m-p4-title.png","/sites/default/files/product02/m-p5-bg.png","/sites/default/files/product02/m-p5-item-01.png","/sites/default/files/product02/m-p5-item-02.png","/sites/default/files/product02/m-p5-item-03.png","/sites/default/files/product02/m-p5-item-04.png","/sites/default/files/product02/m-p5-title.png","/sites/default/files/product02/p2-product-item-01.png","/sites/default/files/product02/p2-product-item-02.png","/sites/default/files/product02/p2-product-item-03.png","/sites/default/files/product02/p2-product.png","/sites/default/files/product02/p2-subtitle.png","/sites/default/files/product03/arrow_down.png","/sites/default/files/product03/arrow_up.png","/sites/default/files/product03/d-banner.jpg","/sites/default/files/product03/d-bg-item-01.png","/sites/default/files/product03/d-bg-item-02.png","/sites/default/files/product03/d-bg-item-03.png","/sites/default/files/product03/d-bg-item-04.png","/sites/default/files/product03/d-bg-item-05.png","/sites/default/files/product03/d-bg-item-06.png","/sites/default/files/product03/d-bg.jpg","/sites/default/files/product03/d-bottom-bg.png","/sites/default/files/product03/d-content.png","/sites/default/files/product03/d-p1-banner.png","/sites/default/files/product03/d-p1-item-01.png","/sites/default/files/product03/d-p1-item-02.png","/sites/default/files/product03/d-p1-item-03.png","/sites/default/files/product03/d-p1-title.png","/sites/default/files/product03/d-p2-item-01.png","/sites/default/files/product03/d-p2-item-02.png","/sites/default/files/product03/d-p2-item-03.png","/sites/default/files/product03/d-p2-product.png","/sites/default/files/product03/d-p2-title.png","/sites/default/files/product03/d-p3-title.png","/sites/default/files/product03/d-p4-title.png","/sites/default/files/product03/d-p5-banner.png","/sites/default/files/product03/d-p7-banner.png","/sites/default/files/product03/d-p7-item-01.png","/sites/default/files/product03/d-p7-item-02.png","/sites/default/files/product03/d-p7-item-03.png","/sites/default/files/product03/d-p7-item-04.png","/sites/default/files/product03/m-banner.jpg","/sites/default/files/product03/m-bg.jpg","/sites/default/files/product03/m-bottom-bg.png","/sites/default/files/product03/m-content.png","/sites/default/files/product03/m-p1-banner.png","/sites/default/files/product03/m-p1-item-01.png","/sites/default/files/product03/m-p1-item-02.png","/sites/default/files/product03/m-p1-item-03.png","/sites/default/files/product03/m-p2-item-01.png","/sites/default/files/product03/m-p2-item-02.png","/sites/default/files/product03/m-p2-item-03.png","/sites/default/files/product03/m-p2-product.png","/sites/default/files/product03/m-p2-title.png","/sites/default/files/product03/m-p3-title.png","/sites/default/files/product03/m-p4-title.png","/sites/default/files/product03/m-p5-banner.png","/sites/default/files/product03/m-p7-banner.png","/sites/default/files/product03/m-p7-item-01.png","/sites/default/files/product03/m-p7-item-02.png","/sites/default/files/product03/m-p7-item-03.png","/sites/default/files/product03/m-p7-item-04.png","/sites/default/files/product03/p3-item-01.png","/sites/default/files/product03/p3-item-02.png","/sites/default/files/product03/p3-item-03.png","/sites/default/files/product03/p4-item-01.png","/sites/default/files/product03/p4-item-02.png","/sites/default/files/product03/p4-item-03.png","/sites/default/files/product03/p4-item-04.png","/sites/default/files/product03/p4-item-05.png","/sites/default/files/product03/p4-item-06.png","/sites/default/files/route-01.png","/sites/default/files/route-02.png","/sites/default/files/route-03.png","/sites/default/files/route-fb.png","/sites/default/files/route-line.png","/sites/default/files/route-m-01.png","/sites/default/files/route-m-02.png","/sites/default/files/route-m-03.png","/sites/default/files/route-web.png","/sites/default/files/router/d-button.png","/sites/default/files/router/d-router-bg.png","/sites/default/files/router/fb.png","/sites/default/files/router/line.png","/sites/default/files/router/m-button.png","/sites/default/files/router/m-router-bg.png","/sites/default/files/router/router-01.png","/sites/default/files/router/router-02.png","/sites/default/files/router/router-03.png","/sites/default/files/router/router-04.png","/sites/default/files/shoppinh.png","/sites/default/files/take.png","/sites/default/files/top.png"],Mk=function(){var t=function(){function t(e){m(this,t),this.platformId=e}return _(t,[{key:"ngAfterViewInit",value:function(){ec(this.platformId)||($("body").on("click","img,footer,.container, .route-nav-box",function(){$("#navbarSupportedContent").hasClass("show")&&$(".container-fluid > button").trigger("click")}),Vp(3e3).subscribe(function(){return Tk.forEach(function(t){return(new Image).src=t})}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Ta(Du))},t.\u0275cmp=ie({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&Na(0,"router-outlet")},directives:[_p],encapsulation:2}),t}(),Ak=function(){var t=_(function t(){m(this,t)});return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=se({type:t,bootstrap:[Mk]}),t.\u0275inj=Et({providers:[],imports:[[Fc.withServerTransition({appId:"serverApp"}),Ek,eb,rk,sb,w_,Ub]]}),t}();function Rk(){Dc().bootstrapModule(Ak).catch(function(t){return console.error(t)})}!function(){if(ul)throw new Error("Cannot enable prod mode after platform setup.");sl=!1}(),"complete"===document.readyState?Rk():document.addEventListener("DOMContentLoaded",Rk)}},function(t){t(t.s=5418)}])}();