4 lines
1.4 MiB
4 lines
1.4 MiB
!function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(a&&a(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++)0!==o[t[f]]&&(n=!1);n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={0:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,(function(r){return e[r]}).bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="";var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var p=0;p<f.length;p++)r(f[p]);var a=i;t()}([]);
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"++zV":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);c(e,t,i(n),r)}})},"+MLx":function(e,t,n){var r=n("HAuM");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"/GqU":function(e,t,n){var r=n("RK3t"),o=n("HYAF");e.exports=function(e){return r(o(e))}},"0BK2":function(e,t){e.exports={}},"0Dky":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"0GbY":function(e,t,n){var r=n("Qo9l"),o=n("2oRo"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},"0TWp":function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var o=e.__Zone_symbol_prefix||"__zone_symbol__";function i(e){return o+e}var a=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var c=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==P.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return Z.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return R},enumerable:!0,configurable:!0}),t.__load_patch=function(o,i){if(P.hasOwnProperty(o)){if(a)throw Error("Already loaded patch: "+o)}else if(!e["__Zone_disable_"+o]){var c="Zone:"+o;n(c),P[o]=i(e,t,j),r(c,c)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){Z={parent:Z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{Z=Z.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),Z={parent:Z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{Z=Z.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");if(e.state!==k||e.type!==D&&e.type!==x){var r=e.state!=E;r&&e._transitionTo(E,T),e.runCount++;var o=R;R=e,Z={parent:Z,zone:this};try{e.type==x&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==k&&e.state!==O&&(e.type==D||e.data&&e.data.isPeriodic?r&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(k,E,k))),Z=Z.parent,R=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(_,k);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(O,_,k),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(T,_),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new f(S,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new f(x,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new f(D,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(O,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(k,w),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t}();c.__symbol__=i;var s,u={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},l=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:u,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new c(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");y(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n},e.prototype.hasTask=function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),f=function(){function t(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var s=this;this.invoke=n===D&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,s,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&b(),z--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(k,_)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==k&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(t){if(0===z&&0===d.length)if(s||e[h]&&(s=e[h].resolve(0)),s){var n=s[v];n||(n=s.then),n.call(s,b)}else e[p](b,0);t&&d.push(t)}function b(){if(!g){for(g=!0;d.length;){var e=d;d=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){j.onUnhandledError(r)}}}j.microtaskDrainDone(),g=!1}}var m={name:"NO ZONE"},k="notScheduled",_="scheduling",T="scheduled",E="running",w="canceling",O="unknown",S="microTask",x="macroTask",D="eventTask",P={},j={symbol:i,currentZoneFrame:function(){return Z},onUnhandledError:I,microtaskDrainDone:I,scheduleMicroTask:y,showUncaughtError:function(){return!c[i("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:I,patchMethod:function(){return I},bindArguments:function(){return[]},patchThen:function(){return I},patchMacroTask:function(){return I},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(s=e.resolve(0))},patchEventPrototype:function(){return I},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return I},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return I},wrapWithCurrentZone:function(){return I},filterProperties:function(){return[]},attachOriginToPatched:function(){return I},_redefineProperty:function(){return I},patchCallbacks:function(){return I}},Z={parent:null,zone:new c(null,null)},R=null,z=0;function I(){}r("Zone","Zone"),e.Zone=c}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(function(e,t,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],c=!0===e[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],s=i("Promise"),u=i("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(var e=function(){var e=a.shift();try{e.zone.runGuarded((function(){throw e}))}catch(r){!function(e){n.onUnhandledError(e);try{var r=t[l];"function"==typeof r&&r.call(this,e)}catch(o){}}(r)}};a.length;)e()};var l=i("unhandledPromiseRejectionHandler");function f(e){return e&&e.then}function p(e){return e}function h(e){return S.reject(e)}var v=i("state"),d=i("value"),g=i("finally"),y=i("parentPromiseValue"),b=i("parentPromiseState");function m(e,t){return function(n){try{_(e,t,n)}catch(r){_(e,!1,r)}}}var k=i("currentTaskTrace");function _(e,r,i){var s,u,l=(s=!1,function(e){return function(){s||(s=!0,e.apply(null,arguments))}});if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[v]){var f=null;try{"object"!=typeof i&&"function"!=typeof i||(f=i&&i.then)}catch(x){return l((function(){_(e,!1,x)}))(),e}if(!1!==r&&i instanceof S&&i.hasOwnProperty(v)&&i.hasOwnProperty(d)&&null!==i[v])E(i),_(e,i[v],i[d]);else if(!1!==r&&"function"==typeof f)try{f.call(i,l(m(e,r)),l(m(e,!1)))}catch(x){l((function(){_(e,!1,x)}))()}else{e[v]=r;var p=e[d];if(e[d]=i,e[g]===g&&!0===r&&(e[v]=e[b],e[d]=e[y]),!1===r&&i instanceof Error){var h=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;h&&o(i,k,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var T=0;T<p.length;)w(e,p[T++],p[T++],p[T++],p[T++]);if(0==p.length&&0==r){e[v]=0;var O=i;if(!c)try{throw new Error("Uncaught (in promise): "+((u=i)&&u.toString===Object.prototype.toString?(u.constructor&&u.constructor.name||"")+": "+JSON.stringify(u):u?u.toString():Object.prototype.toString.call(u))+(i&&i.stack?"\n"+i.stack:""))}catch(x){O=x}O.rejection=i,O.promise=e,O.zone=t.current,O.task=t.currentTask,a.push(O),n.scheduleMicroTask()}}}return e}var T=i("rejectionHandledHandler");function E(e){if(0===e[v]){try{var n=t[T];n&&"function"==typeof n&&n.call(this,{rejection:e[d],promise:e})}catch(o){}e[v]=!1;for(var r=0;r<a.length;r++)e===a[r].promise&&a.splice(r,1)}}function w(e,t,n,r,o){E(e);var i=e[v],a=i?"function"==typeof r?r:p:"function"==typeof o?o:h;t.scheduleMicroTask("Promise.then",(function(){try{var r=e[d],o=!!n&&g===n[g];o&&(n[y]=r,n[b]=i);var c=t.run(a,void 0,o&&a!==h&&a!==p?[]:[r]);_(n,!0,c)}catch(s){_(n,!1,s)}}),n)}var O=function(){},S=function(){function e(t){if(!(this instanceof e))throw new Error("Must be an instanceof Promise.");this[v]=null,this[d]=[];try{t&&t(m(this,!0),m(this,!1))}catch(n){_(this,!1,n)}}return e.toString=function(){return"function ZoneAwarePromise() { [native code] }"},e.resolve=function(e){return _(new this(null),!0,e)},e.reject=function(e){return _(new this(null),!1,e)},e.race=function(e){var t,n,r=new this((function(e,r){t=e,n=r}));function o(e){t(e)}function i(e){n(e)}for(var a=0,c=e;a<c.length;a++){var s=c[a];f(s)||(s=this.resolve(s)),s.then(o,i)}return r},e.all=function(t){return e.allWithCallback(t)},e.allSettled=function(t){return(this&&this.prototype instanceof e?this:e).allWithCallback(t,{thenCallback:function(e){return{status:"fulfilled",value:e}},errorCallback:function(e){return{status:"rejected",reason:e}}})},e.allWithCallback=function(e,t){for(var n,r,o=new this((function(e,t){n=e,r=t})),i=2,a=0,c=[],s=function(e){f(e)||(e=u.resolve(e));var o=a;try{e.then((function(e){c[o]=t?t.thenCallback(e):e,0==--i&&n(c)}),(function(e){t?(c[o]=t.errorCallback(e),0==--i&&n(c)):r(e)}))}catch(s){r(s)}i++,a++},u=this,l=0,p=e;l<p.length;l++)s(p[l]);return 0==(i-=2)&&n(c),o},Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,Symbol.species,{get:function(){return e},enumerable:!0,configurable:!0}),e.prototype.then=function(n,r){var o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||e);var i=new o(O),a=t.current;return null==this[v]?this[d].push(a,i,n,r):w(this,a,i,n,r),i},e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(n){var r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=e);var o=new r(O);o[g]=g;var i=t.current;return null==this[v]?this[d].push(i,o,n,n):w(this,i,o,n,n),o},e}();S.resolve=S.resolve,S.reject=S.reject,S.race=S.race,S.all=S.all;var x=e[s]=e.Promise,D=t.__symbol__("ZoneAwarePromise"),P=r(e,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return e[D]?e[D]:e[s]},P.set=function(t){t===S?e[D]=t:(e[s]=t,t.prototype[u]||R(t),n.setNativePromise(t))},o(e,"Promise",P)),e.Promise=S;var j,Z=i("thenPatched");function R(e){var t=e.prototype,n=r(t,"then");if(!n||!1!==n.writable&&n.configurable){var o=t.then;t[u]=o,e.prototype.then=function(e,t){var n=this;return new S((function(e,t){o.call(n,e,t)})).then(e,t)},e[Z]=!0}}if(n.patchThen=R,x){R(x);var z=e.fetch;"function"==typeof z&&(e[n.symbol("fetch")]=z,e.fetch=(j=z,function(){var e=j.apply(this,arguments);if(e instanceof S)return e;var t=e.constructor;return t[Z]||R(t),e}))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=a,S}));var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),c=Zone.__symbol__("");function s(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}var l=Zone.__symbol__,f="undefined"!=typeof window,p=f?window:void 0,h=f&&p||"object"==typeof self&&self||global,v=[null];function d(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=s(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),m=!b&&!y&&!(!f||!p.HTMLElement),k=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!f||!p.HTMLElement),_={},T=function(e){if(e=e||h.event){var t=_[e.type];t||(t=_[e.type]=l("ON_PROPERTY"+e.type));var n,r=this||e.target||h,o=r[t];if(m&&r===p&&"error"===e.type){var i=e;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&e.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||e.preventDefault();return n}};function E(n,r,o){var i=e(n,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=l("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,s=i.set,u=r.substr(2),f=_[u];f||(f=_[u]=l("ON_PROPERTY"+u)),i.set=function(e){var t=this;t||n!==h||(t=h),t&&(t[f]&&t.removeEventListener(u,T),s&&s.apply(t,v),"function"==typeof e?(t[f]=e,t.addEventListener(u,T,!1)):t[f]=null)},i.get=function(){var e=this;if(e||n!==h||(e=h),!e)return null;var t=e[f];if(t)return t;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(r),o}return null},t(n,r,i),n[a]=!0}}}function w(e,t,n){if(t)for(var r=0;r<t.length;r++)E(e,"on"+t[r],n);else{var o=[];for(var i in e)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)E(e,o[a],n)}}var O=l("originalInstance");function S(e){var n=h[e];if(n){h[l(e)]=n,h[e]=function(){var t=d(arguments,e);switch(t.length){case 0:this[O]=new n;break;case 1:this[O]=new n(t[0]);break;case 2:this[O]=new n(t[0],t[1]);break;case 3:this[O]=new n(t[0],t[1],t[2]);break;case 4:this[O]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},P(h[e],n);var r,o=new n((function(){}));for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof o[n]?h[e].prototype[n]=function(){return this[O][n].apply(this[O],arguments)}:t(h[e].prototype,n,{set:function(t){"function"==typeof t?(this[O][n]=s(t,e+"."+n),P(this[O][n],t)):this[O][n]=t},get:function(){return this[O][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(h[e][r]=n[r])}}function x(t,r,o){for(var i=t;i&&!i.hasOwnProperty(r);)i=n(i);!i&&t[r]&&(i=t);var a=l(r),c=null;if(i&&!(c=i[a])&&(c=i[a]=i[r],g(i&&e(i,r)))){var s=o(c,a,r);i[r]=function(){return s(this,arguments)},P(i[r],c)}return c}function D(e,t,n){var r=null;function o(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=x(e,t,(function(e){return function(t,r){var i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?u(i.name,r[i.cbIdx],i,o):e.apply(t,r)}}))}function P(e,t){e[l("OriginalDelegate")]=t}var j=!1,Z=!1;function R(){try{var e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}function z(){if(j)return Z;j=!0;try{var e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(Z=!0)}catch(t){}return Z}Zone.__load_patch("toString",(function(e){var t=Function.prototype.toString,n=l("OriginalDelegate"),r=l("Promise"),o=l("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=e[r];if(a)return t.call(a)}if(this===Error){var c=e[o];if(c)return t.call(c)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}}));var I=!1;if("undefined"!=typeof window)try{var C=Object.defineProperty({},"passive",{get:function(){I=!0}});window.addEventListener("test",C,C),window.removeEventListener("test",C,C)}catch(ke){I=!1}var M={useG:!0},L={},N={},A=new RegExp("^"+c+"(\\w+)(true|false)$"),F=l("propagationStopped");function G(e,t){var n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",o=c+n,i=c+r;L[e]={},L[e].false=o,L[e].true=i}function H(e,t,r){var o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",s=r&&r.rmAll||"removeAllListeners",u=l(o),f="."+o+":",p=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var o=e.options;o&&"object"==typeof o&&o.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)}},h=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[L[t.type].false];if(r)if(1===r.length)p(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[F]);i++)p(o[i],n,t)}},v=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[L[t.type].true];if(r)if(1===r.length)p(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[F]);i++)p(o[i],n,t)}};function d(t,r){if(!t)return!1;var p=!0;r&&void 0!==r.useG&&(p=r.useG);var d=r&&r.vh,g=!0;r&&void 0!==r.chkDup&&(g=r.chkDup);var y=!1;r&&void 0!==r.rt&&(y=r.rt);for(var m=t;m&&!m.hasOwnProperty(o);)m=n(m);if(!m&&t[o]&&(m=t),!m)return!1;if(m[u])return!1;var k,_=r&&r.eventNameToString,T={},E=m[u]=m[o],w=m[l(i)]=m[i],O=m[l(a)]=m[a],S=m[l(s)]=m[s];function x(e,t){return!I&&"object"==typeof e&&e?!!e.capture:I&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}r&&r.prepend&&(k=m[l(r.prepend)]=m[r.prepend]);var D=p?function(e){if(!T.isExisting)return E.call(T.target,T.eventName,T.capture?v:h,T.options)}:function(e){return E.call(T.target,T.eventName,e.invoke,T.options)},j=p?function(e){if(!e.isRemoved){var t=L[e.eventName],n=void 0;t&&(n=t[e.capture?"true":"false"]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return w.call(e.target,e.eventName,e.capture?v:h,e.options)}:function(e){return w.call(e.target,e.eventName,e.invoke,e.options)},Z=r&&r.diff?r.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},R=Zone[l("BLACK_LISTED_EVENTS")],z=e[l("PASSIVE_EVENTS")],C=function(t,n,o,i,a,c){return void 0===a&&(a=!1),void 0===c&&(c=!1),function(){var s=this||e,u=arguments[0];r&&r.transferEventName&&(u=r.transferEventName(u));var l=arguments[1];if(!l)return t.apply(this,arguments);if(b&&"uncaughtException"===u)return t.apply(this,arguments);var f=!1;if("function"!=typeof l){if(!l.handleEvent)return t.apply(this,arguments);f=!0}if(!d||d(t,l,s,arguments)){var h=I&&!!z&&-1!==z.indexOf(u),v=x(arguments[2],h);if(R)for(var y=0;y<R.length;y++)if(u===R[y])return h?t.call(s,u,l,v):t.apply(this,arguments);var m=!!v&&("boolean"==typeof v||v.capture),k=!(!v||"object"!=typeof v)&&v.once,E=Zone.current,w=L[u];w||(G(u,_),w=L[u]);var O,S=w[m?"true":"false"],D=s[S],P=!1;if(D){if(P=!0,g)for(y=0;y<D.length;y++)if(Z(D[y],l))return}else D=s[S]=[];var j=s.constructor.name,C=N[j];C&&(O=C[u]),O||(O=j+n+(_?_(u):u)),T.options=v,k&&(T.options.once=!1),T.target=s,T.capture=m,T.eventName=u,T.isExisting=P;var A=p?M:void 0;A&&(A.taskData=T);var F=E.scheduleEventTask(O,l,A,o,i);return T.target=null,A&&(A.taskData=null),k&&(v.once=!0),(I||"boolean"!=typeof F.options)&&(F.options=v),F.target=s,F.capture=m,F.eventName=u,f&&(F.originalDelegate=l),c?D.unshift(F):D.push(F),a?s:void 0}}};return m[o]=C(E,f,D,j,y),k&&(m.prependListener=C(k,".prependListener:",(function(e){return k.call(T.target,T.eventName,e.invoke,T.options)}),j,y,!0)),m[i]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));var o=arguments[2],i=!!o&&("boolean"==typeof o||o.capture),a=arguments[1];if(!a)return w.apply(this,arguments);if(!d||d(w,a,t,arguments)){var s,u=L[n];u&&(s=u[i?"true":"false"]);var l=s&&t[s];if(l)for(var f=0;f<l.length;f++){var p=l[f];if(Z(p,a)){if(l.splice(f,1),p.isRemoved=!0,0===l.length&&(p.allRemoved=!0,t[s]=null,"string"==typeof n)){var h=c+"ON_PROPERTY"+n;t[h]=null}return p.zone.cancelTask(p),y?t:void 0}}return w.apply(this,arguments)}},m[a]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));for(var o=[],i=W(t,_?_(n):n),a=0;a<i.length;a++){var c=i[a],s=c.originalDelegate?c.originalDelegate:c.callback;o.push(s)}return o},m[s]=function(){var t=this||e,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));var o=L[n];if(o){var a=o.false,c=o.true,u=t[a],l=t[c];if(u){var f=u.slice();for(v=0;v<f.length;v++)this[i].call(this,n,(p=f[v]).originalDelegate?p.originalDelegate:p.callback,p.options)}if(l)for(f=l.slice(),v=0;v<f.length;v++){var p;this[i].call(this,n,(p=f[v]).originalDelegate?p.originalDelegate:p.callback,p.options)}}}else{for(var h=Object.keys(t),v=0;v<h.length;v++){var d=h[v],g=A.exec(d),b=g&&g[1];b&&"removeListener"!==b&&this[s].call(this,b)}this[s].call(this,"removeListener")}if(y)return this},P(m[o],E),P(m[i],w),S&&P(m[s],S),O&&P(m[a],O),!0}for(var g=[],y=0;y<t.length;y++)g[y]=d(t[y],r);return g}function W(e,t){if(!t){var n=[];for(var r in e){var o=A.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}var s=L[t];s||(G(t),s=L[t]);var u=e[s.false],l=e[s.true];return u?l?u.concat(l):u.slice():l?l.slice():[]}function U(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",(function(e){return function(t,n){t[F]=!0,e&&e.apply(t,n)}}))}function B(e,t,n,r,o){var i=Zone.__symbol__(r);if(!t[i]){var a=t[i]=t[r];t[r]=function(i,c,s){return c&&c.prototype&&o.forEach((function(t){var o=n+"."+r+"::"+t,i=c.prototype;if(i.hasOwnProperty(t)){var a=e.ObjectGetOwnPropertyDescriptor(i,t);a&&a.value?(a.value=e.wrapWithCurrentZone(a.value,o),e._redefineProperty(c.prototype,t,a)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))})),a.call(t,i,c,s)},e.attachOriginToPatched(t[r],a)}}var K,V,q,Y,X,Q=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],$=["load"],ee=["blur","error","focus","load","resize","scroll","messageerror"],te=["bounce","finish","start"],ne=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],re=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],oe=["close","error","open","message"],ie=["error","message"],ae=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Q,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ce(e,t,n){if(!n||0===n.length)return t;var r=n.filter((function(t){return t.target===e}));if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter((function(e){return-1===o.indexOf(e)}))}function se(e,t,n,r){e&&w(e,ce(e,t,n),r)}function ue(e,t){if((!b||k)&&!Zone[e.symbol("patchEvents")]){var r="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(m){var i=window,a=R?[{target:i,ignoreProperties:["error"]}]:[];se(i,ae.concat(["messageerror"]),o?o.concat(a):o,n(i)),se(Document.prototype,ae,o),void 0!==i.SVGElement&&se(i.SVGElement.prototype,ae,o),se(Element.prototype,ae,o),se(HTMLElement.prototype,ae,o),se(HTMLMediaElement.prototype,J,o),se(HTMLFrameSetElement.prototype,Q.concat(ee),o),se(HTMLBodyElement.prototype,Q.concat(ee),o),se(HTMLFrameElement.prototype,$,o),se(HTMLIFrameElement.prototype,$,o);var c=i.HTMLMarqueeElement;c&&se(c.prototype,te,o);var s=i.Worker;s&&se(s.prototype,ie,o)}var u=t.XMLHttpRequest;u&&se(u.prototype,ne,o);var l=t.XMLHttpRequestEventTarget;l&&se(l&&l.prototype,ne,o),"undefined"!=typeof IDBIndex&&(se(IDBIndex.prototype,re,o),se(IDBRequest.prototype,re,o),se(IDBOpenDBRequest.prototype,re,o),se(IDBDatabase.prototype,re,o),se(IDBTransaction.prototype,re,o),se(IDBCursor.prototype,re,o)),r&&se(WebSocket.prototype,oe,o)}}function le(){K=Zone.__symbol__,V=Object[K("defineProperty")]=Object.defineProperty,q=Object[K("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,Y=Object.create,X=K("unconfigurables"),Object.defineProperty=function(e,t,n){if(pe(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=he(e,t,n)),ve(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])})),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=he(e,n,t[n])})),Y(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=q(e,t);return n&&pe(e,t)&&(n.configurable=!1),n}}function fe(e,t,n){var r=n.configurable;return ve(e,t,n=he(e,t,n),r)}function pe(e,t){return e&&e[X]&&e[X][t]}function he(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[X]||Object.isFrozen(e)||V(e,X,{writable:!0,value:{}}),e[X]&&(e[X][t]=!0)),n}function ve(e,t,n,r){try{return V(e,t,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return V(e,t,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+i)}}}function de(e,t){var n=t.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,s=n.ZONE_SYMBOL_PREFIX,u="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),l=[],f=e.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");f?l=p.map((function(e){return"HTML"+e+"Element"})).concat(u):e.EventTarget?l.push("EventTarget"):l=u;for(var h=e.__Zone_disable_IE_check||!1,v=e.__Zone_enable_cross_context_check||!1,d=t.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},b=0;b<r.length;b++){var m=s+((w=r[b])+c),k=s+(w+a);i[w]={},i[w][c]=m,i[w][a]=k}for(b=0;b<p.length;b++)for(var _=p[b],T=o[_]={},E=0;E<r.length;E++){var w;T[w=r[E]]=_+".addEventListener:"+w}var O=[];for(b=0;b<l.length;b++){var S=e[l[b]];O.push(S&&S.prototype)}return t.patchEventTarget(e,O,{vh:function(e,t,n,r){if(!h&&d){if(v)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}else if(v)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0},transferEventName:function(e){return y[e]||e}}),Zone[t.symbol("patchEventTarget")]=!!e.EventTarget,!0}function ge(e,t){var n=e.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(e,t){var n=e.getGlobalObjects();if((n.isBrowser||n.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=t.XMLHttpRequest;if(!i)return!1;var a=i.prototype,c=e.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(c)return e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(u=new i).onreadystatechange,e.ObjectDefineProperty(a,"onreadystatechange",c||{}),o;var s=e.symbol("fake");e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[s]},set:function(e){this[s]=e}});var u=new i,l=function(){};return u.onreadystatechange=l,o=u[s]===l,u.onreadystatechange=null,o}(e,t)){var r="undefined"!=typeof WebSocket;!function(e){for(var t=e.getGlobalObjects().eventNames,n=e.symbol("unbound"),r=function(r){var o=t[r],i="on"+o;self.addEventListener(o,(function(t){var r,o,a=t.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=e.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement}),!0)},o=0;o<t.length;o++)r(o)}(e),e.patchClass("XMLHttpRequest"),r&&function(e,t){var n=e.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=t.WebSocket;t.EventTarget||e.patchEventTarget(t,[i.prototype]),t.WebSocket=function(t,n){var a,c,s=arguments.length>1?new i(t,n):new i(t),u=e.ObjectGetOwnPropertyDescriptor(s,"onmessage");return u&&!1===u.configurable?(a=e.ObjectCreate(s),c=s,[r,o,"send","close"].forEach((function(t){a[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);s[c]=a[c]}}return s[t].apply(s,n)}}))):a=s,e.patchOnProperties(a,["close","error","message","open"],c),a};var a=t.WebSocket;for(var c in i)a[c]=i[c]}(e,t),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",(function(n,i,a){a.patchOnProperties=w,a.patchMethod=x,a.bindArguments=d,a.patchMacroTask=D;var u=i.__symbol__("BLACK_LISTED_EVENTS"),l=i.__symbol__("UNPATCHED_EVENTS");n[l]&&(n[u]=n[l]),n[u]&&(i[u]=i[l]=n[u]),a.patchEventPrototype=U,a.patchEventTarget=H,a.isIEOrEdge=z,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=S,a.wrapWithCurrentZone=s,a.filterProperties=ce,a.attachOriginToPatched=P,a._redefineProperty=Object.defineProperty,a.patchCallbacks=B,a.getGlobalObjects=function(){return{globalSources:N,zoneSymbolEventNames:L,eventNames:ae,isBrowser:m,isMix:k,isNode:b,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})),function(e){e[(e.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=e.Zone;t.__load_patch("defineProperty",(function(e,t,n){n._redefineProperty=fe,le()})),t.__load_patch("registerElement",(function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)})),t.__load_patch("EventTargetLegacy",(function(e,t,n){de(e,n),ge(n,e)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var ye=l("zoneTask");function be(e,t,n,r){var o=null,i=null;n+=r;var a={};function c(t){var n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[ye]=null))}},n.handleId=o.apply(e,n.args),t}function s(e){return i(e.data.handleId)}o=x(e,t+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var l=u(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,s);if(!l)return l;var f=l.data.handleId;return"number"==typeof f?a[f]=l:f&&(f[ye]=l),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(l.ref=f.ref.bind(f),l.unref=f.unref.bind(f)),"number"==typeof f||f?f:l}return n.apply(e,i)}})),i=x(e,n,(function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[ye])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[ye]=null),o.zone.cancelTask(o)):t.apply(e,r)}}))}function me(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,s=0;s<r.length;s++){var u=r[s],l=c+(u+a),f=c+(u+i);o[u]={},o[u][a]=l,o[u][i]=f}var p=e.EventTarget;if(p&&p.prototype)return t.patchEventTarget(e,[p&&p.prototype]),!0}}Zone.__load_patch("legacy",(function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()})),Zone.__load_patch("timers",(function(e){be(e,"set","clear","Timeout"),be(e,"set","clear","Interval"),be(e,"set","clear","Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(e){be(e,"request","cancel","AnimationFrame"),be(e,"mozRequest","mozCancel","AnimationFrame"),be(e,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)x(e,n[r],(function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}}))})),Zone.__load_patch("EventTarget",(function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),me(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")})),Zone.__load_patch("on_property",(function(e,t,n){ue(n,e)})),Zone.__load_patch("customElements",(function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)})),Zone.__load_patch("XHR",(function(e,t){!function(e){var p=e.XMLHttpRequest;if(p){var h=p.prototype,v=h[i],d=h[a];if(!v){var g=e.XMLHttpRequestEventTarget;if(g){var y=g.prototype;v=y[i],d=y[a]}}var b=x(h,"open",(function(){return function(e,t){return e[r]=0==t[2],e[s]=t[1],b.apply(e,t)}})),m=l("fetchTaskAborting"),k=l("fetchTaskScheduling"),_=x(h,"send",(function(){return function(e,n){if(!0===t.current[k])return _.apply(e,n);if(e[r])return _.apply(e,n);var o={target:e,url:e[s],isPeriodic:!1,args:n,aborted:!1},i=u("XMLHttpRequest.send",w,o,E,O);e&&!0===e[f]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}})),T=x(h,"abort",(function(){return function(e,r){var o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[m])return T.apply(e,r)}}))}function E(e){var r=e.data,s=r.target;s[c]=!1,s[f]=!1;var u=s[o];v||(v=s[i],d=s[a]),u&&d.call(s,"readystatechange",u);var l=s[o]=function(){if(s.readyState===s.DONE)if(!r.aborted&&s[c]&&"scheduled"===e.state){var n=s[t.__symbol__("loadfalse")];if(n&&n.length>0){var o=e.invoke;e.invoke=function(){for(var n=s[t.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===e&&n.splice(i,1);r.aborted||"scheduled"!==e.state||o.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==s[c]||(s[f]=!0)};return v.call(s,"readystatechange",l),s[n]||(s[n]=e),_.apply(s,r.args),s[c]=!0,e}function w(){}function O(e){var t=e.data;return t.aborted=!0,T.apply(t.target,t.args)}}(e);var n=l("xhrTask"),r=l("xhrSync"),o=l("xhrListener"),c=l("xhrScheduled"),s=l("xhrURL"),f=l("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!g(e(t,i)))return"continue";t[i]=function(e){var t=function(){return e.apply(this,d(arguments,r+"."+i))};return P(t,e),t}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(e,t){function n(t){return function(n){W(e,t).forEach((function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}e.PromiseRejectionEvent&&(t[l("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[l("rejectionHandledHandler")]=n("rejectionhandled"))}))})?r.call(t,n,t,e):r)||(e.exports=o)},"0eef":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"0rvr":function(e,t,n){var r=n("glrk"),o=n("O741");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"1E5z":function(e,t,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},2:function(e,t,n){e.exports=n("hN/g")},"2oRo":function(e,t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof global==n&&global)||Function("return this")()},"33Wh":function(e,t,n){var r=n("yoRg"),o=n("eDl+");e.exports=Object.keys||function(e){return r(e,o)}},"4WOD":function(e,t,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),c=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"4Xet":function(e,t,n){var r=n("0Dky");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"4syw":function(e,t,n){var r=n("busE");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},"5r1n":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.get,c=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},"6JNq":function(e,t,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");e.exports=function(e,t){for(var n=o(t),c=a.f,s=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||c(e,l,s(t,l))}}},"6LWA":function(e,t,n){var r=n("xrYK");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"6PKz":function(e,t,n){n("++zV"),n("Y4C7"),n("ZsH6"),n("vZi8"),n("5r1n"),n("sQ9d"),n("bdeN"),n("AwgR"),n("qgGA")},"6VoE":function(e,t,n){var r=n("tiKp"),o=n("P4y1"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},"8YOa":function(e,t,n){var r=n("0BK2"),o=n("hh1v"),i=n("UTVS"),a=n("m/L8").f,c=n("kOOl"),s=n("uy83"),u=c("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[u].weakData},onFreeze:function(e){return s&&h.REQUIRED&&f(e)&&!i(e,u)&&p(e),e}};r[u]=!0},"93I0":function(e,t,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},"9d/t":function(e,t,n){var r=n("xrYK"),o=n("tiKp")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},AwgR:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.has,c=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},Bs8V:function(e,t,n){var r=n("g6v/"),o=n("0eef"),i=n("XGwC"),a=n("/GqU"),c=n("wE6v"),s=n("UTVS"),u=n("DPsx"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),u)try{return l(e,t)}catch(n){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},DPsx:function(e,t,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},ENF9:function(e,t,n){"use strict";var r,o=n("2oRo"),i=n("4syw"),a=n("8YOa"),c=n("bWFh"),s=n("rKzb"),u=n("hh1v"),l=n("afO8").enforce,f=n("f5p1"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},d=e.exports=c("WeakMap",v,s,!0,!0);if(f&&p){r=s.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,b=g.has,m=g.get,k=g.set;i(g,{delete:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),b.call(this,e)?m.call(this,e):t.frozen.get(e)}return m.call(this,e)},set:function(e,t){if(u(e)&&!h(e)){var n=l(this);n.frozen||(n.frozen=new r),b.call(this,e)?k.call(this,e,t):n.frozen.set(e,t)}else k.call(this,e,t);return this}})}},"G+Rx":function(e,t,n){var r=n("0GbY");e.exports=r("document","documentElement")},GarU:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},HAuM:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},HH4o:function(e,t,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},HYAF:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"I+eb":function(e,t,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("X2U+"),a=n("busE"),c=n("zk60"),s=n("6JNq"),u=n("lMq5");e.exports=function(e,t){var n,l,f,p,h,v=e.target,d=e.global,g=e.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(d?l:v+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},I8vh:function(e,t,n){var r=n("ppGB"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},ImZN:function(e,t,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("+MLx"),c=n("NaFW"),s=n("m92n"),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,f){var p,h,v,d,g,y,b=a(t,n,l?2:1);if(f)p=e;else{if("function"!=typeof(h=c(e)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(e.length);d>v;v++)if((g=l?b(r(y=e[v])[0],y[1]):b(e[v]))&&g instanceof u)return g;return new u(!1)}p=h.call(e)}for(;!(y=p.next()).done;)if((g=s(p,b,y.value,l))&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},JBy8:function(e,t,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},JiZb:function(e,t,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),c=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[c]&&(0,o.f)(t,c,{configurable:!0,get:function(){return this}})}},"N+g0":function(e,t,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},NaFW:function(e,t,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},O741:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},P4y1:function(e,t){e.exports={}},Qo9l:function(e,t,n){e.exports=n("2oRo")},RK3t:function(e,t,n){var r=n("0Dky"),o=n("xrYK"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},STAE:function(e,t,n){var r=n("0Dky");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},TWQb:function(e,t,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},Tskq:function(e,t,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o,!0)},UMSQ:function(e,t,n){var r=n("ppGB"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},UTVS:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},VpIT:function(e,t,n){var r=n("2oRo"),o=n("zk60"),i=n("xDBR"),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(e,t,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"X2U+":function(e,t,n){var r=n("g6v/"),o=n("m/L8"),i=n("XGwC");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},XGwC:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},Y4C7:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.getMap,s=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=c(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var o=s.get(t);return o.delete(n),!!o.size||s.delete(t)}})},YGK4:function(e,t,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},ZWaQ:function(e,t,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("+MLx"),c=n("GarU"),s=n("ImZN"),u=n("fdAy"),l=n("JiZb"),f=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e((function(e,r){c(e,l,t),v(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&s(r,e[u],e,n)})),h=d(t),g=function(e,t,n){var r,o,i=h(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=h(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=h(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=d(t),i=d(r);u(e,t,(function(e,t){v(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},ZfDv:function(e,t,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},ZsH6:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=n("4WOD"),c=o.has,s=o.get,u=o.toKey,l=function(e,t,n){if(c(e,t,n))return s(e,t,n);var r=a(t);return null!==r?l(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return l(e,i(t),n)}})},afO8:function(e,t,n){var r,o,i,a=n("f5p1"),c=n("2oRo"),s=n("hh1v"),u=n("X2U+"),l=n("UTVS"),f=n("93I0"),p=n("0BK2");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(e,t){return g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return d.call(h,e)}}else{var y=f("state");p[y]=!0,r=function(e,t){return u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},bWFh:function(e,t,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("8YOa"),s=n("ImZN"),u=n("GarU"),l=n("hh1v"),f=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");e.exports=function(e,t,n,d,g){var y=o[e],b=y&&y.prototype,m=y,k=d?"set":"add",_={},T=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(g||b.forEach&&!f((function(){(new y).entries().next()})))))m=n.getConstructor(t,e,d,k),c.REQUIRED=!0;else if(i(e,!0)){var E=new m,w=E[k](g?{}:-0,1)!=E,O=f((function(){E.has(1)})),S=p((function(e){new y(e)})),x=!g&&f((function(){for(var e=new y,t=5;t--;)e[k](t,t);return!e.has(-0)}));S||((m=t((function(t,n){u(t,m,e);var r=v(new y,t,m);return null!=n&&s(n,r[k],r,d),r}))).prototype=b,b.constructor=m),(O||x)&&(T("delete"),T("has"),d&&T("get")),(x||w)&&T(k),g&&b.clear&&delete b.clear}return _[e]=m,r({global:!0,forced:m!=y},_),h(m,e),g||n.setStrong(m,e,d),m}},bdeN:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=n("4WOD"),c=o.has,s=o.toKey,u=function(e,t,n){if(c(e,t,n))return!0;var r=a(t);return null!==r&&u(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return u(e,i(t),n)}})},busE:function(e,t,n){var r=n("2oRo"),o=n("VpIT"),i=n("X2U+"),a=n("UTVS"),c=n("zk60"),s=n("noGo"),u=n("afO8"),l=u.get,f=u.enforce,p=String(s).split("toString");o("inspectSource",(function(e){return s.call(e)})),(e.exports=function(e,t,n,o){var s=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),f(n).source=p.join("string"==typeof t?t:"")),e!==r?(s?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:c(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s.call(this)}))},cVYH:function(e,t,n){var r=n("hh1v"),o=n("0rvr");e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},"dBg+":function(e,t){t.f=Object.getOwnPropertySymbols},"eDl+":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eDxR:function(e,t,n){var r=n("Tskq"),o=n("ENF9"),i=n("VpIT")("metadata"),a=i.store||(i.store=new o),c=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,getMap:c,has:function(e,t,n){var r=c(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=c(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){c(n,r,!0).set(e,t)},keys:function(e,t){var n=c(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},ewvW:function(e,t,n){var r=n("HYAF");e.exports=function(e){return Object(r(e))}},f5p1:function(e,t,n){var r=n("2oRo"),o=n("noGo"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},fHMY:function(e,t,n){var r=n("glrk"),o=n("N+g0"),i=n("eDl+"),a=n("0BK2"),c=n("G+Rx"),s=n("zBJ4"),u=n("93I0")("IE_PROTO"),l=function(){},f=function(){var e,t=s("iframe"),n=i.length;for(t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),f=e.F;n--;)delete f.prototype[i[n]];return f()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[u]=e):n=f(),void 0===t?n:o(n,t)},a[u]=!0},fdAy:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ntOU"),i=n("4WOD"),a=n("0rvr"),c=n("1E5z"),s=n("X2U+"),u=n("busE"),l=n("tiKp"),f=n("xDBR"),p=n("P4y1"),h=n("rpNk"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,h,b,m){o(n,t,l);var k,_,T,E=function(e){if(e===h&&D)return D;if(!d&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+" Iterator",O=!1,S=e.prototype,x=S[g]||S["@@iterator"]||h&&S[h],D=!d&&x||E(h),P="Array"==t&&S.entries||x;if(P&&(k=i(P.call(new e)),v!==Object.prototype&&k.next&&(f||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&s(k,g,y)),c(k,w,!0,!0),f&&(p[w]=y))),"values"==h&&x&&"values"!==x.name&&(O=!0,D=function(){return x.call(this)}),f&&!m||S[g]===D||s(S,g,D),p[t]=D,h)if(_={values:E("values"),keys:b?D:E("keys"),entries:E("entries")},m)for(T in _)(d||O||!(T in S))&&u(S,T,_[T]);else r({target:t,proto:!0,forced:d||O},_);return _}},"g6v/":function(e,t,n){var r=n("0Dky");e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},glrk:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"hN/g":function(e,t,n){"use strict";n.r(t),n("6PKz"),n("0TWp"),n("vU8d"),window.global=window},hh1v:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},kOOl:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},lMq5:function(e,t,n){var r=n("0Dky"),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"m/L8":function(e,t,n){var r=n("g6v/"),o=n("DPsx"),i=n("glrk"),a=n("wE6v"),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},m92n:function(e,t,n){var r=n("glrk");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}},noGo:function(e,t,n){var r=n("VpIT");e.exports=r("native-function-to-string",Function.toString)},ntOU:function(e,t,n){"use strict";var r=n("rpNk").IteratorPrototype,o=n("fHMY"),i=n("XGwC"),a=n("1E5z"),c=n("P4y1"),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),c[u]=s,e}},ppGB:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},qgGA:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){c(e,t,i(n),a(r))}}})},rKzb:function(e,t,n){"use strict";var r=n("4syw"),o=n("8YOa").getWeakData,i=n("glrk"),a=n("hh1v"),c=n("GarU"),s=n("ImZN"),u=n("tycR"),l=n("UTVS"),f=n("afO8"),p=f.set,h=f.getterFor,v=u.find,d=u.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},m=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var n=m(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=d(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){c(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&s(r,e[u],e,n)})),v=h(t),d=function(e,t,n){var r=v(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=v(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=v(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=v(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return d(this,e,t)}}:{add:function(e){return d(this,e,!0)}}),f}}},rpNk:function(e,t,n){"use strict";var r,o,i,a=n("4WOD"),c=n("X2U+"),s=n("UTVS"),u=n("tiKp"),l=n("xDBR"),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||s(r,f)||c(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},sQ9d:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.keys,c=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:c(arguments[1]);return a(i(e),t)}})},tiKp:function(e,t,n){var r=n("2oRo"),o=n("VpIT"),i=n("kOOl"),a=n("STAE"),c=r.Symbol,s=o("wks");e.exports=function(e){return s[e]||(s[e]=a&&c[e]||(a?c:i)("Symbol."+e))}},tycR:function(e,t,n){var r=n("+MLx"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),c=n("ZfDv"),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,f=6==e,p=5==e||f;return function(h,v,d,g){for(var y,b,m=i(h),k=o(m),_=r(v,d,3),T=a(k.length),E=0,w=g||c,O=t?w(h,T):n?w(h,0):void 0;T>E;E++)if((p||E in k)&&(b=_(y=k[E],E,m),e))if(t)O[E]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:s.call(O,y)}else if(l)return!1;return f?-1:u||l?l:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},uy83:function(e,t,n){var r=n("0Dky");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},vU8d:function(e,t){!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()}()},vZi8:function(e,t,n){var r=n("I+eb"),o=n("YGK4"),i=n("eDxR"),a=n("glrk"),c=n("4WOD"),s=n("ImZN"),u=i.keys,l=i.toKey,f=function(e,t){var n=u(e,t),r=c(e);if(null===r)return n;var i,a,l=f(r,t);return l.length?n.length?(i=new o(n.concat(l)),s(i,(a=[]).push,a),a):l:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:l(arguments[1]);return f(a(e),t)}})},wE6v:function(e,t,n){var r=n("hh1v");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},xDBR:function(e,t){e.exports=!1},xrYK:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},yoRg:function(e,t,n){var r=n("UTVS"),o=n("/GqU"),i=n("TWQb").indexOf,a=n("0BK2");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)!r(a,n)&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},zBJ4:function(e,t,n){var r=n("2oRo"),o=n("hh1v"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},zk60:function(e,t,n){var r=n("2oRo"),o=n("X2U+");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}}},[[2,0]]]);
|
|
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],r=Object.getPrototypeOf,o=n.slice,i=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f=c.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},m=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,o,i=(n=n||g).createElement("script");if(i.text=e,t)for(r in v)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[l.call(e)]||"object":typeof e}var x="3.5.1",T=function(e,t){return new T.fn.init(e,t)};function w(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!h(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:x,constructor:T,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||h(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==l.call(e)||(t=r(e))&&("function"!=typeof(n=c.call(t,"constructor")&&t.constructor)||f.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(w(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(w(Object(e))?T.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(w(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return i(s)},guid:1,support:d}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=n[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var E=function(e){var t,n,r,o,i,a,s,u,l,c,f,p,d,h,m,g,v,y,b,x="sizzle"+1*new Date,T=e.document,w=0,E=0,C=ue(),L=ue(),A=ue(),H=ue(),S=function(e,t){return e===t&&(f=!0),0},M={}.hasOwnProperty,N=[],D=N.pop,k=N.push,j=N.push,O=N.slice,q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+R+"*("+I+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+R+"*\\]",B=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),$=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),_=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),z=new RegExp(B),X=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{j.apply(N=O.call(T.childNodes),T.childNodes)}catch(t){j={apply:N.length?function(e,t){k.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,l,c,f,h,v,y=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!o&&(p(t),t=t||d,m)){if(11!==T&&(f=Z.exec(e)))if(i=f[1]){if(9===T){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(y&&(l=y.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(f[2])return j.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!H[e+" "]&&(!g||!g.test(e))&&(1!==T||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===T&&(V.test(e)||U.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,oe):t.setAttribute("id",c=x)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);v=h.join(",")}try{return j.apply(r,y.querySelectorAll(v)),r}catch(t){H(e,!0)}finally{c===x&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,o)}function ue(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[x]=!0,e}function ce(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:T;return a!=d&&9===a.nodeType&&a.documentElement&&(h=(d=a).documentElement,m=!i(d),T!=d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ce((function(e){return h.appendChild(e).appendChild(d.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=x,!d.getElementsByName||!d.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=K.test(d.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==d||e.ownerDocument==T&&b(T,e)?-1:t==d||t.ownerDocument==T&&b(T,t)?1:c?q(c,e)-q(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==d?-1:t==d?1:o?-1:i?1:c?q(c,e)-q(c,t):0;if(o===i)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]==T?-1:s[r]==T?1:0}),d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&m&&!H[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){H(t,!0)}return 0<se(t,d,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=d&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=d&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&M.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1<o.indexOf(n):"$="===t?n&&o.slice(-n.length)===n:"~="===t?-1<(" "+o.replace(W," ")+" ").indexOf(n):"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(i){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(d=(l=(c=(f=(p=g)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[w,d,b];break}}else if(y&&(b=d=(l=(c=(f=(p=t)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===b)for(;(p=++d&&p&&p[m]||(b=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(f=p[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[w,b]),p!==t)););return(b-=o)===r||b%r==0&&0<=b/r}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):1<o.length?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=q(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?le((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return 0<se(e,t).length}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||o(t)).indexOf(e)}})),lang:le((function(e){return X.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=E++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,u){var l,c,f,p=[w,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[x]||(t[x]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[i])&&l[0]===w&&l[1]===s)return p[2]=l[2];if((c[i]=p)[2]=e(t,n,u))return!0}return!1}}function Te(e){return 1<e.length?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Ee(e,t,n,r,o,i){return r&&!r[x]&&(r=Ee(r)),o&&!o[x]&&(o=Ee(o,i)),le((function(i,a,s,u){var l,c,f,p=[],d=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:we(m,p,e,s,u),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,u),r)for(l=we(v,d),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(v[d[c]]=!(g[d[c]]=f));if(i){if(o||e){if(o){for(l=[],c=v.length;c--;)(f=v[c])&&l.push(g[c]=f);o(null,v=[],l,u)}for(c=v.length;c--;)(f=v[c])&&-1<(l=o?q(i,f):p[c])&&(i[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),o?o(null,a,v,u):j.apply(a,v)}))}function Ce(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=xe((function(e){return e===t}),s,!0),f=xe((function(e){return-1<q(t,e)}),s,!0),p=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];u<i;u++)if(n=r.relative[e[u].type])p=[xe(Te(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[x]){for(o=++u;o<i&&!r.relative[e[o].type];o++);return Ee(1<u&&Te(p),1<u&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<o&&Ce(e.slice(u,o)),o<i&&Ce(e=e.slice(o)),o<i&&be(e))}p.push(n)}return Te(p)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,u,l,c=L[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(o=_.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=U.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):L(e,u).slice(0)},s=se.compile=function(e,t){var n,o,i,s,u,c,f=[],h=[],g=A[e+" "];if(!g){for(t||(t=a(e)),n=t.length;n--;)(g=Ce(t[n]))[x]?f.push(g):h.push(g);(g=A(e,(o=h,s=0<(i=f).length,u=0<o.length,c=function(e,t,n,a,c){var f,h,g,v=0,y="0",b=e&&[],x=[],T=l,E=e||u&&r.find.TAG("*",c),C=w+=null==T?1:Math.random()||.1,L=E.length;for(c&&(l=t==d||t||c);y!==L&&null!=(f=E[y]);y++){if(u&&f){for(h=0,t||f.ownerDocument==d||(p(f),n=!m);g=o[h++];)if(g(f,t||d,n)){a.push(f);break}c&&(w=C)}s&&((f=!g&&f)&&v--,e&&b.push(f))}if(v+=y,s&&y!==v){for(h=0;g=i[h++];)g(b,x,t,n);if(e){if(0<v)for(;y--;)b[y]||x[y]||(x[y]=D.call(a));x=we(x)}j.apply(a,x),c&&!e&&0<x.length&&1<v+i.length&&se.uniqueSort(a)}return c&&(w=C,l=T),b},s?le(c):c))).selector=e}return g},u=se.select=function(e,t,n,o){var i,u,l,c,f,p="function"==typeof e&&e,d=!o&&a(e=p.selector||e);if(n=n||[],1===d.length){if(2<(u=d[0]=d[0].slice(0)).length&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=G.needsContext.test(e)?0:u.length;i--&&!r.relative[c=(l=u[i]).type];)if((f=r.find[c])&&(o=f(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&be(u)))return j.apply(n,o),n;break}}return(p||s(e,d))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(S).join("")===x,n.detectDuplicates=!!f,p(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||fe(P,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(e);T.find=E,T.expr=E.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=E.uniqueSort,T.text=E.getText,T.isXMLDoc=E.isXML,T.contains=E.contains,T.escapeSelector=E.escape;var C=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=T.expr.match.needsContext;function H(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(e,t,n){return h(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return-1<s.call(t,e)!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return 1<r?T.uniqueSort(n):n},filter:function(e){return this.pushStack(M(this,e||[],!1))},not:function(e){return this.pushStack(M(this,e||[],!0))},is:function(e){return!!M(this,"string"==typeof e&&A.test(e)?T(e):e||[],!1).length}});var N,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(T.merge(this,T.parseHTML(r[1],(t=t instanceof T?t[0]:t)&&t.nodeType?t.ownerDocument||t:g,!0)),S.test(r[1])&&T.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=g.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,N=T(g);var k=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(1<i.length?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?s.call(T(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(H(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),1<this.length&&(j[e]||T.uniqueSort(o),k.test(e)&&o.reverse()),this.pushStack(o)}}));var q=/[^\x20\t\r\n\f]+/g;function P(e){return e}function R(e){throw e}function I(e,t,n,r){var o;try{e&&h(o=e.promise)?o.call(e).done(t).fail(n):e&&h(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){var t;e="string"==typeof e?(t={},T.each(e.match(q)||[],(function(e,n){t[n]=!0})),t):T.extend({},e);var n,r,o,i,a=[],s=[],u=-1,l=function(){for(i=i||e.once,o=n=!0;s.length;u=-1)for(r=s.shift();++u<a.length;)!1===a[u].apply(r[0],r[1])&&e.stopOnFalse&&(u=a.length,r=!1);e.memory||(r=!1),n=!1,i&&(a=r?[]:"")},c={add:function(){return a&&(r&&!n&&(u=a.length-1,s.push(r)),function t(n){T.each(n,(function(n,r){h(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==b(r)&&t(r)}))}(arguments),r&&!n&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;-1<(n=T.inArray(t,a,n));)a.splice(n,1),n<=u&&u--})),this},has:function(e){return e?-1<T.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=r="",this},disabled:function(){return!a},lock:function(){return i=s=[],r||n||(a=r=""),this},locked:function(){return!!i},fireWith:function(e,t){return i||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),n||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},T.extend({Deferred:function(t){var n=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(t){T.each(n,(function(n,r){var o=h(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(t,r,o){var i=0;function a(t,n,r,o){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<i)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");h(l=e&&("object"==typeof e||"function"==typeof e)&&e.then)?o?l.call(e,a(i,n,P,o),a(i,n,R,o)):(i++,l.call(e,a(i,n,P,o),a(i,n,R,o),a(i,n,P,n.notifyWith))):(r!==P&&(s=void 0,u=[e]),(o||n.resolveWith)(s,u))}},c=o?l:function(){try{l()}catch(l){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(l,c.stackTrace),i<=t+1&&(r!==R&&(s=void 0,u=[l]),n.rejectWith(s,u))}};t?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),e.setTimeout(c))}}return T.Deferred((function(e){n[0][3].add(a(0,e,h(o)?o:P,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:P)),n[2][3].add(a(0,e,h(r)?r:R))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(n,(function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add((function(){r=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=a.fireWith})),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=T.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=1<arguments.length?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(I(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(i[n]&&i[n].then)))return a.then();for(;n--;)I(i[n],s(n),a.reject);return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&F.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},T.readyException=function(t){e.setTimeout((function(){throw t}))};var B=T.Deferred();function W(){g.removeEventListener("DOMContentLoaded",W),e.removeEventListener("load",W),T.ready()}T.fn.ready=function(e){return B.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||B.resolveWith(g,[T])}}),T.ready.then=B.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(T.ready):(g.addEventListener("DOMContentLoaded",W),e.addEventListener("load",W));var $=function(e,t,n,r,o,i,a){var s=0,u=e.length,l=null==n;if("object"===b(n))for(s in o=!0,n)$(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,h(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(T(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):i},_=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function z(e){return e.replace(_,"ms-").replace(U,V)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=T.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[z(t)]=n;else for(r in t)o[z(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(z):(t=z(t))in r?[t]:t.match(q)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,o;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:J.test(o)?JSON.parse(o):o)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Q.get(i),1===i.nodeType&&!Y.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=z(r.slice(5)),Z(i,r,o[r]));Y.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Q.set(this,e)})):$(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Q.get(i,e))||void 0!==(n=Z(i,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return r=Y.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=Y.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=T.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){T.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:T.Callbacks("once memory").add((function(){Y.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Y.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=g.documentElement,oe=function(e){return T.contains(e.ownerDocument,e)},ie={composed:!0};re.getRootNode&&(oe=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ie)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===T.css(e,"display")};function se(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},u=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+u)&&te.exec(T.css(e,t));if(c&&c[3]!==l){for(l=l||c[3],c=+(u/=2)||1;a--;)T.style(e,t,c+l),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),c/=i;T.style(e,t,(c*=2)+l),n=n||[]}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}var ue={};function le(e,t){for(var n,r,o,i,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=i=void 0,a=(o=r).ownerDocument,(u=ue[s=o.nodeName])||(i=a.body.appendChild(a.createElement(s)),u=T.css(i,"display"),i.parentNode.removeChild(i),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}T.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ae(this)?T(this).show():T(this).hide()}))}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=g.createDocumentFragment().appendChild(g.createElement("div")),(fe=g.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),d.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",d.option=!!ce.lastChild;var me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&H(e,t)?T.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,d.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function be(e,t,n,r,o){for(var i,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((i=e[d])||0===i)if("object"===b(i))T.merge(p,i.nodeType?[i]:i);else if(ye.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(de.exec(i)||["",""])[1].toLowerCase(),a.innerHTML=(u=me[s]||me._default)[1]+T.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&-1<T.inArray(i,r))o&&o.push(i);else if(l=oe(i),a=ge(f.appendChild(i),"script"),l&&ve(a),n)for(c=0;i=a[c++];)he.test(i.type||"")&&n.push(i);return f}var xe=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Ce(){return!1}function Le(e,t){return e===function(){try{return g.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function He(e,t,n){n?(Y.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=Y.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=o.call(arguments),Y.set(this,t,a),r=n(this,t),this[t](),a!==(i=Y.get(this,t))||r?Y.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else a.length&&(Y.set(this,t,{value:T.event.trigger(T.extend(a[0],T.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,t)&&T.event.add(e,t,Ee)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Y.get(e);if(X(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(re,o),n.guid||(n.guid=T.guid++),(u=g.events)||(u=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(q)||[""]).length;l--;)d=m=(s=we.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=T.event.special[d]||{},f=T.event.special[d=(o?f.delegateType:f.bindType)||d]||{},c=T.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Y.hasData(e)&&Y.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(q)||[""]).length;l--;)if(d=m=(s=we.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=T.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)c=p[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||T.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)T.event.remove(e,d+t[l],n,r,!0);T.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),u=T.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=T.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=T.event.handlers.call(this,u,l),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?-1<T(o,this).index(l):T.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&H(t,"input")&&He(t,"click",Ee),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&H(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&H(t,"input")&&Y.get(t,"click")||H(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:Ce,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return He(this,e,Le),!1},trigger:function(){return He(this,e),!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each((function(){T.event.remove(this,e,n,t)}))}});var Se=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return H(e,"table")&&H(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function ke(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(o in Y.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);Q.hasData(e)&&(i=Q.access(e),a=T.extend({},i),Q.set(t,a))}}function qe(e,t,n,r){t=i(t);var o,a,s,u,l,c,f=0,p=e.length,m=p-1,g=t[0],v=h(g);if(v||1<p&&"string"==typeof g&&!d.checkClone&&Me.test(g))return e.each((function(o){var i=e.eq(o);v&&(t[0]=g.call(this,o,i.html())),qe(i,t,n,r)}));if(p&&(a=(o=be(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=a),a||r)){for(u=(s=T.map(ge(o,"script"),ke)).length;f<p;f++)l=o,f!==m&&(l=T.clone(l,!0,!0),u&&T.merge(s,ge(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,T.map(s,je),f=0;f<u;f++)he.test((l=s[f]).type||"")&&!Y.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):y(l.textContent.replace(Ne,""),l,c))}return e}function Pe(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(ge(r)),r.parentNode&&(n&&oe(r)&&ve(ge(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=ge(c),r=0,o=(i=ge(e)).length;r<o;r++)s=i[r],"input"===(l=(u=a[r]).nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(i=i||ge(e),a=a||ge(c),r=0,o=i.length;r<o;r++)Oe(i[r],a[r]);else Oe(e,c);return 0<(a=ge(c,"script")).length&&ve(a,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Pe(this,e,!0)},remove:function(e){return Pe(this,e)},text:function(e){return $(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return $(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!me[(de.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(ge(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),T(o[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}}));var Re=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Fe=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Be=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,o,i,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||oe(e)||(a=T.style(e,t)),!d.pixelBoxStyles()&&Re.test(a)&&Be.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),o=36===n(t.width),c.style.position="absolute",i=12===n(c.offsetWidth/3),re.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,o,i,a,s,u,l=g.createElement("div"),c=g.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(d,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,n,r,o;return null==s&&(t=g.createElement("table"),n=g.createElement("tr"),r=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px",n.style.height="1px",r.style.height="9px",re.appendChild(t).appendChild(n).appendChild(r),o=e.getComputedStyle(n),s=3<parseInt(o.height),re.removeChild(t)),s}}))}();var _e=["Webkit","Moz","ms"],Ue=g.createElement("div").style,Ve={};function ze(e){return T.cssProps[e]||Ve[e]||(e in Ue?e:Ve[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=_e.length;n--;)if((e=_e[n]+t)in Ue)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,o,i){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(e,n+ne[a],!0,o)),r?("content"===n&&(u-=T.css(e,"padding"+ne[a],!0,o)),"margin"!==n&&(u-=T.css(e,"border"+ne[a]+"Width",!0,o))):(u+=T.css(e,"padding"+ne[a],!0,o),"padding"!==n?u+=T.css(e,"border"+ne[a]+"Width",!0,o):s+=T.css(e,"border"+ne[a]+"Width",!0,o));return!r&&0<=i&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function Ze(e,t,n){var r=Ie(e),o=(!d.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Re.test(a)){if(!n)return a;a="auto"}return(!d.boxSizingReliable()&&o||!d.reliableTrDimensions()&&H(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(o?"border":"content"),i,r,a)+"px"}function et(e,t,n,r,o){return new et.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=z(t),u=Ge.test(t),l=e.style;if(u||(t=ze(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"==(i=typeof n)&&(o=te.exec(n))&&o[1]&&(n=se(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||u||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=z(t);return Ge.test(t)||(t=ze(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in Qe&&(o=Qe[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,t,r):Fe(e,Ye,(function(){return Ze(e,t,r)}))},set:function(e,n,r){var o,i=Ie(e),a=!d.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),u=r?Ke(e,t,r,s,i):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Ke(e,t,"border",!1,i)-.5)),u&&(o=te.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),Je(0,n,u)}}})),T.cssHooks.marginLeft=$e(d.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ne[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=Je)})),T.fn.extend({css:function(e,t){return $(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ie(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,1<arguments.length)}}),((T.Tween=et).prototype={constructor:et,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.pos=t=this.options.duration?T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[ze(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=et.prototype.init,T.fx.step={};var tt,nt,rt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(st):e.setTimeout(st,T.fx.interval),T.fx.tick())}function ut(){return e.setTimeout((function(){tt=void 0})),tt=Date.now()}function lt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ne[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ct(e,t,n){for(var r,o=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ft(e,t,n){var r,o,i=0,a=ft.prefilters.length,s=T.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var t=tt||ut(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:tt||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=z(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,l.opts.specialEasing);i<a;i++)if(r=ft.prefilters[i].call(l,e,c,l.opts))return h(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,ct,l),h(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(q);for(var n,r=0,o=e.length;r<o;r++)(ft.tweeners[n=e[r]]=ft.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,m=e.nodeType&&ae(e),g=Y.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(it.test(o=t[r])){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}d[r]=g&&g[r]||T.style(e,r)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=Y.get(e,"display")),"none"===(c=T.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=T.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(e,"float")&&(u||(p.done((function(){h.display=l})),null==l&&(l="none"===(c=h.display)?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,d)u||(g?"hidden"in g&&(m=g.hidden):g=Y.access(e,"fxshow",{display:l}),i&&(g.hidden=!m),m&&le([e],!0),p.done((function(){for(r in m||le([e]),Y.remove(e,"fxshow"),d)T.style(e,r,d[r])}))),u=ct(m?g[r]:0,r,p),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in T.fx.speeds?T.fx.speeds[r.duration]:T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=ft(this,T.extend({},e),i);(o||Y.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=Y.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&at.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Y.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,o)}})),T.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),tt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){nt||(nt=!0,st())},T.fx.stop=function(){nt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,n){return t=T.fx&&T.fx.speeds[t]||t,this.queue(n=n||"fx",(function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}}))},rt=g.createElement("input"),ot=g.createElement("select").appendChild(g.createElement("option")),rt.type="checkbox",d.checkOn=""!==rt.value,d.optSelected=ot.selected,(rt=g.createElement("input")).value="t",rt.type="radio",d.radioValue="t"===rt.value;var pt,dt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return $(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&H(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(q);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=dt[t]||T.find.attr;dt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=dt[a],dt[a]=o,o=null!=n(e,t,r)?a:null,dt[a]=i),o}}));var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(q)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}T.fn.extend({prop:function(e,t){return $(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(o=T.propHooks[t=T.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(T.propHooks.selected={get:function(e){return null},set:function(e){}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(h(e))return this.each((function(t){T(this).addClass(e.call(this,t,vt(this)))}));if((t=yt(e)).length)for(;n=this[u++];)if(o=vt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(h(e))return this.each((function(t){T(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=yt(e)).length)for(;n=this[u++];)if(o=vt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):h(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=yt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Y.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+gt(vt(n))+" ").indexOf(t))return!0;return!1}});var bt=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=h(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(bt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:gt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!H(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=-1<T.inArray(T.valHooks.option.get(r),i))&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},d.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),d.focusin="onfocusin"in e;var xt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(t,n,r,o){var i,a,s,u,l,f,p,d,v=[r||g],y=c.call(t,"type")?t.type:t,b=c.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||g,3!==r.nodeType&&8!==r.nodeType&&!xt.test(y+T.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),l=y.indexOf(":")<0&&"on"+y,(t=t[T.expando]?t:new T.Event(y,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:T.makeArray(n,[t]),p=T.event.special[y]||{},o||!p.trigger||!1!==p.trigger.apply(r,n))){if(!o&&!p.noBubble&&!m(r)){for(xt.test((u=p.delegateType||y)+y)||(a=a.parentNode);a;a=a.parentNode)v.push(a),s=a;s===(r.ownerDocument||g)&&v.push(s.defaultView||s.parentWindow||e)}for(i=0;(a=v[i++])&&!t.isPropagationStopped();)d=a,t.type=1<i?u:p.bindType||y,(f=(Y.get(a,"events")||Object.create(null))[t.type]&&Y.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&X(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=y,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),n)||!X(r)||l&&h(r[y])&&!m(r)&&((s=r[l])&&(r[l]=null),T.event.triggered=y,t.isPropagationStopped()&&d.addEventListener(y,Tt),r[y](),t.isPropagationStopped()&&d.removeEventListener(y,Tt),T.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),d.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Y.access(r,t);o||r.addEventListener(e,n,!0),Y.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Y.access(r,t)-1;o?Y.access(r,t,o):(r.removeEventListener(e,n,!0),Y.remove(r,t))}}}));var wt=e.location,Et={guid:Date.now()},Ct=/\?/;T.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),n};var Lt=/\[\]$/,At=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function Mt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||Lt.test(e)?r(e,o):Mt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==b(t))r(e,t);else for(o in t)Mt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)Mt(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&St.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!pe.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(At,"\r\n")}})):{name:t.name,value:n.replace(At,"\r\n")}})).get()}});var Nt=/%20/g,Dt=/#.*$/,kt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,qt=/^\/\//,Pt={},Rt={},It="*/".concat("*"),Ft=g.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(q)||[];if(h(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Wt(e,t,n,r){var o={},i=e===Rt;function a(s){var u;return o[s]=!0,T.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function $t(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Ft.href=wt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,T.ajaxSettings),t):$t(T.ajaxSettings,e)},ajaxPrefilter:Bt(Pt),ajaxTransport:Bt(Rt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var r,o,i,a,s,u,l,c,f,p,d=T.ajaxSetup({},n=n||{}),h=d.context||d,m=d.context&&(h.nodeType||h.jquery)?T(h):T.event,v=T.Deferred(),y=T.Callbacks("once memory"),b=d.statusCode||{},x={},w={},E="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=jt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||E;return r&&r.abort(t),L(0,t),this}};if(v.promise(C),d.url=((t||d.url||wt.href)+"").replace(qt,wt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(q)||[""],null==d.crossDomain){u=g.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Wt(Pt,d,n,C),l)return C;for(f in(c=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ot.test(d.type),o=d.url.replace(Dt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Nt,"+")):(p=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(Ct.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(kt,"$1"),p=(Ct.test(o)?"&":"?")+"_="+Et.guid+++p),d.url=o+p),d.ifModified&&(T.lastModified[o]&&C.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&C.setRequestHeader("If-None-Match",T.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+It+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||l))return C.abort();if(E="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),r=Wt(Rt,d,n,C)){if(C.readyState=1,c&&m.trigger("ajaxSend",[C,d]),l)return C;d.async&&0<d.timeout&&(s=e.setTimeout((function(){C.abort("timeout")}),d.timeout));try{l=!1,r.send(x,L)}catch(t){if(l)throw t;L(-1,t)}}else L(-1,"No Transport");function L(t,n,a,u){var f,p,g,x,w,E=n;l||(l=!0,s&&e.clearTimeout(s),r=void 0,i=u||"",C.readyState=0<t?4:0,f=200<=t&&t<300||304===t,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(d,C,a)),!f&&-1<T.inArray("script",d.dataTypes)&&(d.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=l[u+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(d,x,C,f),f?(d.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(T.etag[o]=w)),204===t||"HEAD"===d.type?E="nocontent":304===t?E="notmodified":(E=x.state,p=x.data,f=!(g=x.error))):(g=E,!t&&E||(E="error",t<0&&(t=0))),C.status=t,C.statusText=(n||E)+"",f?v.resolveWith(h,[p,E,C]):v.rejectWith(h,[C,E,g]),C.statusCode(b),b=void 0,c&&m.trigger(f?"ajaxSuccess":"ajaxError",[C,d,f?p:g]),y.fireWith(h,[C,E]),c&&(m.trigger("ajaxComplete",[C,d]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,o){return h(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var _t={0:200,1223:204},Ut=T.ajaxSettings.xhr();d.cors=!!Ut&&"withCredentials"in Ut,d.ajax=Ut=!!Ut,T.ajaxTransport((function(t){var n,r;if(d.cors||Ut&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(_t[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(n)throw o}},abort:function(){n&&n()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Vt,zt=[],Xt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||T.expando+"_"+Et.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(Xt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xt,"$1"+o):!1!==t.jsonp&&(t.url+=(Ct.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always((function(){void 0===i?T(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,zt.push(o)),a&&h(i)&&i(a[0]),a=i=void 0})),"script"})),d.createHTMLDocument=((Vt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(r)):t=g),i=!n&&[],(o=S.exec(e))?[t.createElement(o[1])]:(o=be([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return-1<s&&(r=gt(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l=T.css(e,"position"),c=T(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),i=T.css(e,"top"),u=T.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(i+u).indexOf("auto")?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),h(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:t.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||re}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return $(this,(function(e,r,o){var i;if(m(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=$e(d.pixelPosition,(function(e,n){if(n)return n=We(e,t),Re.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return $(this,(function(t,n,o){var i;return m(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=o.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(o.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=H,T.isFunction=h,T.isWindow=m,T.camelCase=z,T.type=b,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return T}));var Yt=e.jQuery,Qt=e.$;return T.noConflict=function(t){return e.$===T&&(e.$=Qt),t&&e.jQuery===T&&(e.jQuery=Yt),T},void 0===t&&(e.jQuery=e.$=T),T})),function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Ye=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)h(e[n],t)}function o(e){return function(t){qe(t)&&(h(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function i(e){var t=Be.call(e,"is"),n=e.nodeName.toUpperCase(),r=ae.call(ne,t?Z+t.toUpperCase():K+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function s(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[X]||2,a=e[G]||3;!tt||o&&o!==t||!t[W]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[W](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function u(e){var t=o(e);return function(e){L.push(t,e.target),Ye&&clearTimeout(Ye),Ye=setTimeout(n,1)}}function l(e){et&&(et=!1,e.currentTarget.removeEventListener(Q,l)),oe.length&&r((e.target||w).querySelectorAll(oe),e.detail===F?F:R),je&&function(){for(var e,t=0,n=Pe.length;t<n;t++)ie.contains(e=Pe[t])||(n--,Pe.splice(t--,1),h(e,F))}()}function c(e,t){var n=this;_e.call(n,e,t),A.call(n,{target:n})}function f(e,t,n){var r=t.apply(e,n),o=i(r);return-1<o&&k(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)k(t=e[n],re[i(t)])}(r.querySelectorAll(oe)),r}function p(e,t){Me(e,t),M?M.observe(e,Xe):(Ze&&(e.setAttribute=c,e[q]=S(e),e[P](J,A)),e[P](Y,s)),e[V]&&tt&&(e.created=!0,e[V](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function h(e,t){var n,r,o=i(e);-1<o&&(D(e,re[o]),o=0,t!==R||e[R]?t!==F||e[F]||(e[R]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[R]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+I]||e[r+I])&&n.call(e))}function m(){}function g(e,t,n){var r=n&&n[B]||"",o=t.prototype,i=Se(o),a=t.observedAttributes||fe,s={prototype:i};Oe(i,V,{value:function(){if(Ee)Ee=!1;else if(!this[ve]){this[ve]=!0,new t(this),o[V]&&o[V].call(this);var e=Ce[Ae.get(t)];(!be||e.create.length>1)&&b(this)}}}),Oe(i,W,{value:function(e){-1<ae.call(a,e)&&o[W]&&o[W].apply(this,arguments)}}),o[_]&&Oe(i,$,{value:o[_]}),o[U]&&Oe(i,z,{value:o[U]}),r&&(s[B]=r),e=e.toUpperCase(),Ce[e]={constructor:t,create:r?[r,He(e)]:[e]},Ae.set(t,e),w[O](e.toLowerCase(),s),x(e),Le[e].r()}function v(e){var t=Ce[e.toUpperCase()];return t&&t.constructor}function y(e){return"string"==typeof e?e:e&&e.is||""}function b(e){for(var t,n=e[W],r=n?e.attributes:fe,o=r.length;o--;)n.call(e,(t=r[o]).name||t.nodeName,null,t.value||t.nodeValue)}function x(e){return(e=e.toUpperCase())in Le||(Le[e]={},Le[e].p=new we((function(t){Le[e].r=t}))),Le[e].p}function T(){ye&&delete e.customElements,ce(e,"customElements",{configurable:!0,value:new m}),ce(e,"CustomElementRegistry",{configurable:!0,value:m});for(var t=C.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Ee=!0,t=Ce[Ae.get(e.constructor)],(e=(r=be&&1===t.create.length)?Reflect.construct(n,fe,t.constructor):w.createElement.apply(w,t.create))[ve]=!0,Ee=!1,r||b(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){ce(n,ve,{value:e[t]})}}}(t[n]));w.createElement=function(e,t){var n=y(t);return n?ze.call(this,e,He(n)):ze.call(this,e)},Qe||(Ke=!0,w[O](""))}var w=e.document,E=e.Object,C=function(e){var t,n,r,o,i=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(E.create||E)(null),u={};for(n in e)for(o in e[n])for(s[o]=r=e[n][o],t=0;t<r.length;t++)s[r[t].toLowerCase()]=s[r[t].toUpperCase()]=o;return u.get=function(e){return"string"==typeof e?s[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return i.test(e)?a(e,t):a(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var L,A,H,S,M,N,D,k,j,O="registerElement",q="__"+O+(1e5*e.Math.random()>>0),P="addEventListener",R="attached",I="Callback",F="detached",B="extends",W="attributeChanged"+I,$=R+I,_="connected"+I,U="disconnected"+I,V="created"+I,z=F+I,X="ADDITION",G="REMOVAL",Y="DOMAttrModified",Q="DOMContentLoaded",J="DOMSubtreeModified",K="<",Z="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",ie=w.documentElement,ae=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},se=E.prototype,ue=se.hasOwnProperty,le=se.isPrototypeOf,ce=E.defineProperty,fe=[],pe=E.getOwnPropertyDescriptor,de=E.getOwnPropertyNames,he=E.getPrototypeOf,me=E.setPrototypeOf,ge=!!E.__proto__,ve="__dreCEv1",ye=e.customElements,be=!/^force/.test(t.type)&&!!(ye&&ye.define&&ye.get&&ye.whenDefined),xe=E.create||E,Te=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ae.call(t,e)]},set:function(r,o){(e=ae.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Ee=!1,Ce=xe(null),Le=xe(null),Ae=new Te,He=function(e){return e.toLowerCase()},Se=E.create||function e(t){return t?(e.prototype=t,new e):this},Me=me||(ge?function(e,t){return e.__proto__=t,e}:de&&pe?function(){function e(e,t){for(var n,r=de(t),o=0,i=r.length;o<i;o++)ue.call(e,n=r[o])||ce(e,n,pe(t,n))}return function(t,n){do{e(t,n)}while((n=he(n))&&!le.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Ne=e.MutationObserver||e.WebKitMutationObserver,De=e.HTMLAnchorElement,ke=(e.HTMLElement||e.Element||e.Node).prototype,je=!le.call(ke,ie),Oe=je?function(e,t,n){return e[t]=n.value,e}:ce,qe=je?function(e){return 1===e.nodeType}:function(e){return le.call(ke,e)},Pe=je&&[],Re=ke.attachShadow,Ie=ke.cloneNode,Fe=ke.dispatchEvent,Be=ke.getAttribute,We=ke.hasAttribute,$e=ke.removeAttribute,_e=ke.setAttribute,Ue=w.createElement,Ve=w.importNode,ze=Ue,Xe=Ne&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ge=Ne||function(e){Ze=!1,ie.removeEventListener(Y,Ge)},Ye=0,Qe=O in w&&!/^force-all/.test(t.type),Je=!0,Ke=!1,Ze=!0,et=!0,tt=!0;if(Ne&&((j=w.createElement("div")).innerHTML="<div><div></div></div>",new Ne((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(j=pe(ke,"innerHTML"))&&j.set;n&&ce(ke,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),j=null})).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Qe||(me||ge?(D=function(e,t){le.call(t,e)||p(e,t)},k=p):k=D=function(e,t){e[q]||(e[q]=E(!0),p(e,t))},je?(Ze=!1,function(){var e=pe(ke,P),t=e.value,n=function(e){var t=new CustomEvent(Y,{bubbles:!0});t.attrName=e,t.prevValue=Be.call(this,e),t.newValue=null,t[G]=t.attrChange=2,$e.call(this,e),Fe.call(this,t)},r=function(e,t){var n=We.call(this,e),r=n&&Be.call(this,e),o=new CustomEvent(Y,{bubbles:!0});_e.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[X]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[q],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[X]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,i,a){e===Y&&this[W]&&this.setAttribute!==r&&(this[q]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},ce(ke,P,e)}()):Ne||(ie[P](Y,Ge),ie.setAttribute(q,1),ie.removeAttribute(q),Ze&&(A=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[q],o[q]=n=S(o),n){if(!(r in t))return H(0,o,r,t[r],n[r],X);if(n[r]!==t[r])return H(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return H(2,o,r,t[r],n[r],G)}},H=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,s(a)},S=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),w[O]=function(e,t){if(n=e.toUpperCase(),Je&&(Je=!1,Ne?(M=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Ne((function(r){for(var o,i,a,s=0,u=r.length;s<u;s++)"childList"===(o=r[s]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,tt&&i[W]&&"style"!==o.attributeName&&(a=Be.call(i,o.attributeName))!==o.oldValue&&i[W](o.attributeName,o.oldValue,a))}))}(o(R),o(F)),(N=function(e){return M.observe(e,{childList:!0,subtree:!0}),e})(w),Re&&(ke.attachShadow=function(){return N(Re.apply(this,arguments))})):(L=[],w[P]("DOMNodeInserted",u(R)),w[P]("DOMNodeRemoved",u(F))),w[P](Q,l),w[P]("readystatechange",l),w.importNode=function(e,t){switch(e.nodeType){case 1:return f(w,Ve,[e,!!t]);case 11:for(var n=w.createDocumentFragment(),r=e.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(w.importNode(r[i],!!t));return n;default:return Ie.call(e,!!t)}},ke.cloneNode=function(e){return f(this,Ie,[!!e])}),Ke)return Ke=!1;if(-2<ae.call(ne,Z+n)+ae.call(ne,K+n)&&d(e),!ee.test(n)||-1<ae.call(te,n))throw new Error("The type "+e+" is invalid");var n,i,a=function(){return c?w.createElement(p,n):w.createElement(p)},s=t||se,c=ue.call(s,B),p=c?t[B].toUpperCase():n;return c&&-1<ae.call(ne,K+p)&&d(p),i=ne.push((c?Z:K)+n)-1,oe=oe.concat(oe.length?",":"",c?p+'[is="'+e.toLowerCase()+'"]':p),a.prototype=re[i]=ue.call(s,"prototype")?s.prototype:Se(ke),oe.length&&r(w.querySelectorAll(oe),R),a},w.createElement=ze=function(e,t){var n=y(t),r=n?Ue.call(w,e,He(n)):Ue.call(w,e),o=""+e,i=ae.call(ne,(n?Z:K)+(n||o).toUpperCase()),s=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),s&&(s=a(o.toUpperCase(),n))),tt=!w.createElement.innerHTMLHelper,s&&k(r,re[i]),r}),m.prototype={constructor:m,define:be?function(e,t,n){if(n)g(e,t,n);else{var r=e.toUpperCase();Ce[r]={constructor:t,create:[r]},Ae.set(t,r),ye.define(e,t)}}:g,get:be?function(e){return ye.get(e)||v(e)}:v,whenDefined:be?function(e){return we.race([ye.whenDefined(e),x(e)])}:x},!ye||/^force/.test(t.type))T();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[B]="a",(t.prototype=Se(De.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(w.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(De,[],e)}),{},"document-register-element-a")}catch(nt){T()}if(!t.noBuiltIn)try{if(Ue.call(w,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(rt){He=function(e){return{is:e.toLowerCase()}}}}(window);
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+27z":function(e,t){function n(e,t,n){var r={audio:!1,video:{mandatory:{chromeMediaSource:e?"screen":"desktop",maxWidth:window.screen.width>1920?window.screen.width:1920,maxHeight:window.screen.height>1080?window.screen.height:1080},optional:[]}};return n&&(r.audio={mandatory:{chromeMediaSource:e?"screen":"desktop"},optional:[]}),t&&(r.video.mandatory.chromeMediaSourceId=t,r.audio&&r.audio.mandatory&&(r.audio.mandatory.chromeMediaSourceId=t)),r}function r(e){i?i.isLoaded?i.contentWindow.postMessage(e?e.forEach?{captureCustomSourceId:e}:{captureSourceIdWithAudio:!0}:{captureSourceId:!0},"*"):setTimeout((function(){r(e)}),100):o((function(){r(e)}))}var i;function o(e){i?e():((i=document.createElement("iframe")).onload=function(){i.isLoaded=!0,e()},i.src="https://openvidu.github.io/openvidu-screen-sharing-chrome-extension/",i.style.display="none",(document.body||document.documentElement).appendChild(i))}function s(){i?i.isLoaded?i.contentWindow.postMessage({getChromeExtensionStatus:!0},"*"):setTimeout(s,100):o(s)}window.getScreenId=function(e,t,i){-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveOrOpenBlob&&!navigator.msSaveBlob?navigator.mozGetUserMedia?t(null,"firefox",{video:{mozMediaSource:e,mediaSource:e}}):(window.addEventListener("message",(function e(r){r.data&&(r.data.chromeMediaSourceId&&("PermissionDeniedError"===r.data.chromeMediaSourceId?t("permission-denied"):t(null,r.data.chromeMediaSourceId,n(null,r.data.chromeMediaSourceId,r.data.canRequestAudioTrack)),window.removeEventListener("message",e)),r.data.chromeExtensionStatus&&(t(r.data.chromeExtensionStatus,null,n(r.data.chromeExtensionStatus)),window.removeEventListener("message",e)))})),i?setTimeout((function(){r(i)}),100):setTimeout(r,100)):t({video:!0})},window.getScreenConstraints=function(e){o((function(){getScreenId((function(t,n,r){r||(r={video:!0}),e(t,r.video)}))}))},window.getChromeExtensionStatus=function(e){navigator.mozGetUserMedia?e("installed-enabled"):(window.addEventListener("message",(function t(n){n.data&&n.data.chromeExtensionStatus&&(e(n.data.chromeExtensionStatus),window.removeEventListener("message",t))})),setTimeout(s,100))},t.getScreenId=getScreenId},"+FKC":function(e,t,n){"use strict";t.__esModule=!0;var r=n("bDgZ"),i=n("9m68").OpenViduLogger.getInstance(),o=function(){function e(e){this.stream=e,this.webRtcStatsEnabled=!1,this.statsInterval=1,this.stats={inbound:{audio:{bytesReceived:0,packetsReceived:0,packetsLost:0},video:{bytesReceived:0,packetsReceived:0,packetsLost:0,framesDecoded:0,nackCount:0}},outbound:{audio:{bytesSent:0,packetsSent:0},video:{bytesSent:0,packetsSent:0,framesEncoded:0,nackCount:0}}}}return e.prototype.isEnabled=function(){return this.webRtcStatsEnabled},e.prototype.initWebRtcStats=function(){var e=this,t=localStorage.getItem("elastest-instrumentation");if(t){i.warn("WebRtc stats enabled for stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId),this.webRtcStatsEnabled=!0;var n=JSON.parse(t);return this.statsInterval=n.webrtc.interval,i.warn("localStorage item: "+JSON.stringify(n)),void(this.webRtcStatsIntervalId=setInterval((function(){e.sendStatsToHttpEndpoint(n)}),1e3*this.statsInterval))}i.debug("WebRtc stats not enabled")},e.prototype.stopWebRtcStats=function(){this.webRtcStatsEnabled&&(clearInterval(this.webRtcStatsIntervalId),i.warn("WebRtc stats stopped for disposed stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId))},e.prototype.getSelectedIceCandidateInfo=function(){var e=this;return new Promise((function(t,n){e.getStatsAgnostic(e.stream.getRTCPeerConnection(),(function(i){if(-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera")){var o=void 0,s=void 0,a=void 0,c={},u={};for(var l in i){var d=i[l];"localcandidate"===d.type?c[d.id]=d:"remotecandidate"===d.type?u[d.id]=d:"googCandidatePair"===d.type&&"true"===d.googActiveConnection&&(a=d,o=d.localCandidateId,s=d.remoteCandidateId)}var p=c[o];if(p){var h=e.stream.getLocalIceCandidateList().filter((function(e){return!!e.candidate&&e.candidate.indexOf(p.ipAddress)>=0&&e.candidate.indexOf(p.portNumber)>=0&&e.candidate.indexOf(p.priority)>=0}));p.raw=h[0]?h[0].candidate:"ERROR: Cannot find local candidate in list of sent ICE candidates"}else p="ERROR: No active local ICE candidate. Probably ICE-TCP is being used";var f=u[s];f?(h=e.stream.getRemoteIceCandidateList().filter((function(e){return!!e.candidate&&e.candidate.indexOf(f.ipAddress)>=0&&e.candidate.indexOf(f.portNumber)>=0&&e.candidate.indexOf(f.priority)>=0})),f.raw=h[0]?h[0].candidate:"ERROR: Cannot find remote candidate in list of received ICE candidates"):f="ERROR: No active remote ICE candidate. Probably ICE-TCP is being used",t({googCandidatePair:a,localCandidate:p,remoteCandidate:f})}else n("Selected ICE candidate info only available for Chrome")}),(function(e){n(e)}))}))},e.prototype.sendStatsToHttpEndpoint=function(e){var t=this,n=function(n){var r=new XMLHttpRequest,o=e.webrtc.httpEndpoint;r.open("POST",o,!0),r.setRequestHeader("Content-type","application/json"),r.onreadystatechange=function(){4===r.readyState&&200===r.status&&i.log("WebRtc stats successfully sent to "+o+" for stream "+t.stream.streamId+" of connection "+t.stream.connection.connectionId)},r.send(n)};this.getStatsAgnostic(this.stream.getRTCPeerConnection(),(function(i){if(-1!==r.name.indexOf("Firefox"))i.forEach((function(r){var i={};if("inbound-rtp"===r.type&&null!==r.nackCount&&!1===r.isRemote&&r.id.startsWith("inbound")&&r.remoteId.startsWith("inbound")){var o="webrtc_inbound_"+r.mediaType+"_"+r.ssrc,s={bytesReceived:(r.bytesReceived-t.stats.inbound[r.mediaType].bytesReceived)/t.statsInterval,jitter:1e3*r.jitter,packetsReceived:(r.packetsReceived-t.stats.inbound[r.mediaType].packetsReceived)/t.statsInterval,packetsLost:(r.packetsLost-t.stats.inbound[r.mediaType].packetsLost)/t.statsInterval},a={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===r.mediaType&&(s.framesDecoded=(r.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,s.nackCount=(r.nackCount-t.stats.inbound.video.nackCount)/t.statsInterval,a.framesDecoded="frames",a.nackCount="packets",t.stats.inbound.video.framesDecoded=r.framesDecoded,t.stats.inbound.video.nackCount=r.nackCount),t.stats.inbound[r.mediaType].bytesReceived=r.bytesReceived,t.stats.inbound[r.mediaType].packetsReceived=r.packetsReceived,t.stats.inbound[r.mediaType].packetsLost=r.packetsLost,(i={"@timestamp":new Date(r.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:a})[o]=s,n(JSON.stringify(i))}else"outbound-rtp"===r.type&&!1===r.isRemote&&r.id.toLowerCase().includes("outbound")&&(o="webrtc_outbound_"+r.mediaType+"_"+r.ssrc,s={bytesSent:(r.bytesSent-t.stats.outbound[r.mediaType].bytesSent)/t.statsInterval,packetsSent:(r.packetsSent-t.stats.outbound[r.mediaType].packetsSent)/t.statsInterval},a={bytesSent:"bytes",packetsSent:"packets"},"video"===r.mediaType&&(s.framesEncoded=(r.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,a.framesEncoded="frames",t.stats.outbound.video.framesEncoded=r.framesEncoded),t.stats.outbound[r.mediaType].bytesSent=r.bytesSent,t.stats.outbound[r.mediaType].packetsSent=r.packetsSent,(i={"@timestamp":new Date(r.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:a})[o]=s,n(JSON.stringify(i)))}));else if(-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera"))for(var o=0,s=Object.keys(i);o<s.length;o++){var a=i[s[o]];if("ssrc"===a.type){var c={};if("bytesReceived"in a&&("audio"===a.mediaType&&"audioOutputLevel"in a||"video"===a.mediaType&&"qpSum"in a)){var u="webrtc_inbound_"+a.mediaType+"_"+a.ssrc,l={bytesReceived:(a.bytesReceived-t.stats.inbound[a.mediaType].bytesReceived)/t.statsInterval,jitter:a.googJitterBufferMs,packetsReceived:(a.packetsReceived-t.stats.inbound[a.mediaType].packetsReceived)/t.statsInterval,packetsLost:(a.packetsLost-t.stats.inbound[a.mediaType].packetsLost)/t.statsInterval},d={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===a.mediaType&&(l.framesDecoded=(a.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,l.nackCount=(a.googNacksSent-t.stats.inbound.video.nackCount)/t.statsInterval,d.framesDecoded="frames",d.nackCount="packets",t.stats.inbound.video.framesDecoded=a.framesDecoded,t.stats.inbound.video.nackCount=a.googNacksSent),t.stats.inbound[a.mediaType].bytesReceived=a.bytesReceived,t.stats.inbound[a.mediaType].packetsReceived=a.packetsReceived,t.stats.inbound[a.mediaType].packetsLost=a.packetsLost,(c={"@timestamp":new Date(a.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:u,stream_type:"composed_metrics",units:d})[u]=l,n(JSON.stringify(c))}else"bytesSent"in a&&(u="webrtc_outbound_"+a.mediaType+"_"+a.ssrc,l={bytesSent:(a.bytesSent-t.stats.outbound[a.mediaType].bytesSent)/t.statsInterval,packetsSent:(a.packetsSent-t.stats.outbound[a.mediaType].packetsSent)/t.statsInterval},d={bytesSent:"bytes",packetsSent:"packets"},"video"===a.mediaType&&(l.framesEncoded=(a.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,d.framesEncoded="frames",t.stats.outbound.video.framesEncoded=a.framesEncoded),t.stats.outbound[a.mediaType].bytesSent=a.bytesSent,t.stats.outbound[a.mediaType].packetsSent=a.packetsSent,(c={"@timestamp":new Date(a.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:u,stream_type:"composed_metrics",units:d})[u]=l,n(JSON.stringify(c)))}}}),(function(e){i.log(e)}))},e.prototype.standardizeReport=function(e){i.log(e);var t={};return-1!==r.name.indexOf("Firefox")?(Object.keys(e).forEach((function(t){i.log(e[t])})),e):(e.result().forEach((function(e){var n={id:e.id,timestamp:e.timestamp,type:e.type};e.names().forEach((function(t){n[t]=e.stat(t)})),t[n.id]=n})),t)},e.prototype.getStatsAgnostic=function(e,t,n){var i=this;return-1!==r.name.indexOf("Firefox")?e.getStats(null).then((function(e){var n=i.standardizeReport(e);t(n)})).catch(n):-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera")?e.getStats((function(e){var n=i.standardizeReport(e);t(n)}),null,n):void 0},e}();t.WebRtcStats=o},"+ig+":function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r){var i=e.call(this,!1,t,n)||this;return i.data=r,i}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.FilterEvent=o},"/dLB":function(e,t,n){"use strict";var r;t.__esModule=!0,(r=t.VideoInsertMode||(t.VideoInsertMode={})).AFTER="AFTER",r.APPEND="APPEND",r.BEFORE="BEFORE",r.PREPEND="PREPEND",r.REPLACE="REPLACE"},"/u9M":function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("LXjW")),i=r.tokenize,o=r.options.Options;function s(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function a(e){return e.replace(/"/g,""")}function c(e){if(!e)return"";var t=[];for(var n in e)t.push(n+'="'+a(e[n]+"")+'"');return t.join(" ")}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=new o(t);for(var n=i(e),r=[],u=0;u<n.length;u++){var l=n[u];if("nl"===l.type&&t.nl2br)r.push("<br>\n");else if(l.isLink&&t.check(l)){var d=t.resolve(l),p=d.formatted,h=d.formattedHref,f=d.tagName,g=d.className,m=d.target,v=d.attributes,y="<"+f+' href="'+a(h)+'"';g&&(y+=' class="'+a(g)+'"'),m&&(y+=' target="'+a(m)+'"'),v&&(y+=" "+c(v)),y+=">"+s(p)+"</"+f+">",r.push(y)}else r.push(s(l.toString()))}return r.join("")}if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{set:function(){},get:function(){return function(e){return u(this,e)}}})}catch(l){String.prototype.linkify||(String.prototype.linkify=function(e){return u(this,e)})}t.default=u},0:function(e,t,n){e.exports=n("zUnb")},"0srX":function(e,t,n){"use strict";n.r(t),n.d(t,"v1",(function(){return h})),n.d(t,"v3",(function(){return w})),n.d(t,"v4",(function(){return S})),n.d(t,"v5",(function(){return O}));var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function o(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}for(var s=[],a=0;a<256;++a)s[a]=(a+256).toString(16).substr(1);var c,u,l=function(e,t){var n=t||0;return[s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]]].join("")},d=0,p=0,h=function(e,t,n){var r=t&&n||0,i=t||[],s=(e=e||{}).node||c,a=void 0!==e.clockseq?e.clockseq:u;if(null==s||null==a){var h=e.random||(e.rng||o)();null==s&&(s=c=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==a&&(a=u=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:p+1,m=f-d+(g-p)/1e4;if(m<0&&void 0===e.clockseq&&(a=a+1&16383),(m<0||f>d)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=f,p=g,u=a;var v=(1e4*(268435455&(f+=122192928e5))+g)%4294967296;i[r++]=v>>>24&255,i[r++]=v>>>16&255,i[r++]=v>>>8&255,i[r++]=255&v;var y=f/4294967296*1e4&268435455;i[r++]=y>>>8&255,i[r++]=255&y,i[r++]=y>>>24&15|16,i[r++]=y>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var b=0;b<6;++b)i[r+b]=s[b];return t||l(i)},f=function(e,t,n){var r=function(e,r,i,o){var s=i&&o||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e)),"string"==typeof r&&(r=function(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,(function(e){t.push(parseInt(e,16))})),t}(r)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(r)||16!==r.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var a=n(r.concat(e));if(a[6]=15&a[6]|t,a[8]=63&a[8]|128,i)for(var c=0;c<16;++c)i[s+c]=a[c];return i||l(a)};try{r.name=e}catch(i){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r};function g(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function m(e,t,n,r,i,o){return g((s=g(g(t,e),g(r,o)))<<(a=i)|s>>>32-a,n);var s,a}function v(e,t,n,r,i,o,s){return m(t&n|~t&r,e,t,i,o,s)}function y(e,t,n,r,i,o,s){return m(t&r|n&~r,e,t,i,o,s)}function b(e,t,n,r,i,o,s){return m(t^n^r,e,t,i,o,s)}function _(e,t,n,r,i,o,s){return m(n^(t|~r),e,t,i,o,s)}var w=f("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var n=0;n<t.length;n++)e[n]=t.charCodeAt(n)}return function(e){var t,n,r,i=[],o=32*e.length;for(t=0;t<o;t+=8)n=e[t>>5]>>>t%32&255,r=parseInt("0123456789abcdef".charAt(n>>>4&15)+"0123456789abcdef".charAt(15&n),16),i.push(r);return i}(function(e,t){var n,r,i,o,s;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var a=1732584193,c=-271733879,u=-1732584194,l=271733878;for(n=0;n<e.length;n+=16)r=a,i=c,o=u,s=l,a=v(a,c,u,l,e[n],7,-680876936),l=v(l,a,c,u,e[n+1],12,-389564586),u=v(u,l,a,c,e[n+2],17,606105819),c=v(c,u,l,a,e[n+3],22,-1044525330),a=v(a,c,u,l,e[n+4],7,-176418897),l=v(l,a,c,u,e[n+5],12,1200080426),u=v(u,l,a,c,e[n+6],17,-1473231341),c=v(c,u,l,a,e[n+7],22,-45705983),a=v(a,c,u,l,e[n+8],7,1770035416),l=v(l,a,c,u,e[n+9],12,-1958414417),u=v(u,l,a,c,e[n+10],17,-42063),c=v(c,u,l,a,e[n+11],22,-1990404162),a=v(a,c,u,l,e[n+12],7,1804603682),l=v(l,a,c,u,e[n+13],12,-40341101),u=v(u,l,a,c,e[n+14],17,-1502002290),a=y(a,c=v(c,u,l,a,e[n+15],22,1236535329),u,l,e[n+1],5,-165796510),l=y(l,a,c,u,e[n+6],9,-1069501632),u=y(u,l,a,c,e[n+11],14,643717713),c=y(c,u,l,a,e[n],20,-373897302),a=y(a,c,u,l,e[n+5],5,-701558691),l=y(l,a,c,u,e[n+10],9,38016083),u=y(u,l,a,c,e[n+15],14,-660478335),c=y(c,u,l,a,e[n+4],20,-405537848),a=y(a,c,u,l,e[n+9],5,568446438),l=y(l,a,c,u,e[n+14],9,-1019803690),u=y(u,l,a,c,e[n+3],14,-187363961),c=y(c,u,l,a,e[n+8],20,1163531501),a=y(a,c,u,l,e[n+13],5,-1444681467),l=y(l,a,c,u,e[n+2],9,-51403784),u=y(u,l,a,c,e[n+7],14,1735328473),a=b(a,c=y(c,u,l,a,e[n+12],20,-1926607734),u,l,e[n+5],4,-378558),l=b(l,a,c,u,e[n+8],11,-2022574463),u=b(u,l,a,c,e[n+11],16,1839030562),c=b(c,u,l,a,e[n+14],23,-35309556),a=b(a,c,u,l,e[n+1],4,-1530992060),l=b(l,a,c,u,e[n+4],11,1272893353),u=b(u,l,a,c,e[n+7],16,-155497632),c=b(c,u,l,a,e[n+10],23,-1094730640),a=b(a,c,u,l,e[n+13],4,681279174),l=b(l,a,c,u,e[n],11,-358537222),u=b(u,l,a,c,e[n+3],16,-722521979),c=b(c,u,l,a,e[n+6],23,76029189),a=b(a,c,u,l,e[n+9],4,-640364487),l=b(l,a,c,u,e[n+12],11,-421815835),u=b(u,l,a,c,e[n+15],16,530742520),a=_(a,c=b(c,u,l,a,e[n+2],23,-995338651),u,l,e[n],6,-198630844),l=_(l,a,c,u,e[n+7],10,1126891415),u=_(u,l,a,c,e[n+14],15,-1416354905),c=_(c,u,l,a,e[n+5],21,-57434055),a=_(a,c,u,l,e[n+12],6,1700485571),l=_(l,a,c,u,e[n+3],10,-1894986606),u=_(u,l,a,c,e[n+10],15,-1051523),c=_(c,u,l,a,e[n+1],21,-2054922799),a=_(a,c,u,l,e[n+8],6,1873313359),l=_(l,a,c,u,e[n+15],10,-30611744),u=_(u,l,a,c,e[n+6],15,-1560198380),c=_(c,u,l,a,e[n+13],21,1309151649),a=_(a,c,u,l,e[n+4],6,-145523070),l=_(l,a,c,u,e[n+11],10,-1120210379),u=_(u,l,a,c,e[n+2],15,718787259),c=_(c,u,l,a,e[n+9],21,-343485551),a=g(a,r),c=g(c,i),u=g(u,o),l=g(l,s);return[a,c,u,l]}(function(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e[t/8])<<t%32;return n}(e),8*e.length))})),S=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var s=0;s<16;++s)t[r+s]=i[s];return t||l(i)};function C(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function x(e,t){return e<<t|e>>>32-t}var O=f("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=new Array(r.length);for(var i=0;i<r.length;i++)e[i]=r.charCodeAt(i)}e.push(128);var o=Math.ceil((e.length/4+2)/16),s=new Array(o);for(i=0;i<o;i++){s[i]=new Array(16);for(var a=0;a<16;a++)s[i][a]=e[64*i+4*a]<<24|e[64*i+4*a+1]<<16|e[64*i+4*a+2]<<8|e[64*i+4*a+3]}for(s[o-1][14]=8*(e.length-1)/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295,i=0;i<o;i++){for(var c=new Array(80),u=0;u<16;u++)c[u]=s[i][u];for(u=16;u<80;u++)c[u]=x(c[u-3]^c[u-8]^c[u-14]^c[u-16],1);var l=n[0],d=n[1],p=n[2],h=n[3],f=n[4];for(u=0;u<80;u++){var g=Math.floor(u/20),m=x(l,5)+C(g,d,p,h)+f+t[g]+c[u]>>>0;f=h,h=p,p=x(d,30)>>>0,d=l,l=m}n[0]=n[0]+l>>>0,n[1]=n[1]+d>>>0,n[2]=n[2]+p>>>0,n[3]=n[3]+h>>>0,n[4]=n[4]+f>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}))},"0wxW":function(e,t,n){var r=n("de4E"),i=n("pLL0");t.JsonRPC=r,t.XmlRPC=i},"1Kca":function(e,t,n){"use strict";var r=n("dY/r");e.exports=function(e){var t,i={stun:(e||{}).stun||n("KFtI"),turn:(e||{}).turn||n("hw9W")},o=(e||{}).turnCount||0;function s(e,t){for(var n,o=[],s=[].concat(i[e]);s.length&&o.length<t;)n=Math.random()*s.length|0,o=o.concat(s.splice(n,1));return o.map((function(t){return"string"==typeof t||t instanceof String?r(e+":"+t):t}))}return t=[].concat(s("stun",(e||{}).stunCount||2)),o&&(t=t.concat(s("turn",o))),t}},"5kmN":function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("1Kca"),s=n("0srX"),a=n("bDgZ"),c=n("9m68").OpenViduLogger.getInstance(),u=function(){function e(e){var t=this;this.configuration=e,this.remoteCandidatesQueue=[],this.localCandidatesQueue=[],this.iceCandidateList=[],this.candidategatheringdone=!1,this.configuration.iceServers=this.configuration.iceServers&&this.configuration.iceServers.length>0?this.configuration.iceServers:o(),this.pc=new RTCPeerConnection({iceServers:this.configuration.iceServers}),this.id=e.id?e.id:this.generateUniqueId(),this.pc.onicecandidate=function(e){if(e.candidate){var n=e.candidate;n?(t.localCandidatesQueue.push({candidate:n.candidate}),t.candidategatheringdone=!1,t.configuration.onicecandidate(e.candidate)):t.candidategatheringdone||(t.candidategatheringdone=!0)}},this.pc.onsignalingstatechange=function(){if("stable"===t.pc.signalingState)for(;t.iceCandidateList.length>0;){var e=t.iceCandidateList.shift();t.pc.addIceCandidate(e)}},this.start()}return e.prototype.start=function(){var e=this;return new Promise((function(t,n){if("closed"===e.pc.signalingState&&n('The peer connection object is in "closed" state. This is most likely due to an invocation of the dispose method before accepting in the dialogue'),e.configuration.mediaStream){for(var r=0,i=e.configuration.mediaStream.getTracks();r<i.length;r++)e.pc.addTrack(i[r],e.configuration.mediaStream);t()}}))},e.prototype.dispose=function(){if(c.debug("Disposing WebRtcPeer"),this.pc){if("closed"===this.pc.signalingState)return;this.pc.close(),this.remoteCandidatesQueue=[],this.localCandidatesQueue=[]}},e.prototype.generateOffer=function(){var e=this;return new Promise((function(t,n){var r,i=!0;e.configuration.mediaConstraints&&(r="boolean"!=typeof e.configuration.mediaConstraints.audio||e.configuration.mediaConstraints.audio,i="boolean"!=typeof e.configuration.mediaConstraints.video||e.configuration.mediaConstraints.video);var o={offerToReceiveAudio:"sendonly"!==e.configuration.mode&&r,offerToReceiveVideo:"sendonly"!==e.configuration.mode&&i};c.debug("RTCPeerConnection constraints: "+JSON.stringify(o)),"Safari"===a.name&&-1!==a.ua.indexOf("Safari")?(r&&e.pc.addTransceiver("audio",{direction:e.configuration.mode}),i&&e.pc.addTransceiver("video",{direction:e.configuration.mode}),e.pc.createOffer().then((function(t){return c.debug("Created SDP offer"),e.pc.setLocalDescription(t)})).then((function(){var r=e.pc.localDescription;r?(c.debug("Local description set",r.sdp),t(r.sdp)):n("Local description is not defined")})).catch((function(e){return n(e)}))):e.pc.createOffer(o).then((function(t){return c.debug("Created SDP offer"),e.pc.setLocalDescription(t)})).then((function(){var r=e.pc.localDescription;r?(c.debug("Local description set",r.sdp),t(r.sdp)):n("Local description is not defined")})).catch((function(e){return n(e)}))}))},e.prototype.processAnswer=function(e,t){var n=this;return new Promise((function(r,i){var o={type:"answer",sdp:e};c.debug("SDP answer received, setting remote description"),"closed"===n.pc.signalingState&&i("RTCPeerConnection is closed"),n.setRemoteDescription(o,t,r,i)}))},e.prototype.setRemoteDescription=function(e,t,n,r){var i=this;a.isIonicIos?t?setTimeout((function(){c.info("setRemoteDescription run after timeout for Ionic iOS device"),i.pc.setRemoteDescription(new RTCSessionDescription(e)).then((function(){return n()})).catch((function(e){return r(e)}))}),250):this.pc.setRemoteDescription(new RTCSessionDescription(e)).then((function(){return n()})).catch((function(e){return r(e)})):this.pc.setRemoteDescription(e).then((function(){return n()})).catch((function(e){return r(e)}))},e.prototype.addIceCandidate=function(e){var t=this;return new Promise((function(n,r){switch(c.debug("Remote ICE candidate received",e),t.remoteCandidatesQueue.push(e),t.pc.signalingState){case"closed":r(new Error("PeerConnection object is closed"));break;case"stable":t.pc.remoteDescription?t.pc.addIceCandidate(e).then((function(){return n()})).catch((function(e){return r(e)})):(t.iceCandidateList.push(e),n());break;default:t.iceCandidateList.push(e),n()}}))},e.prototype.addIceConnectionStateChangeListener=function(e){var t=this;this.pc.oniceconnectionstatechange=function(){switch(t.pc.iceConnectionState){case"disconnected":c.warn("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "disconnected". Possible network disconnection');break;case"failed":c.error("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') to "failed"');break;case"closed":c.log("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "closed"');break;case"new":c.log("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "new"');break;case"checking":c.log("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "checking"');break;case"connected":c.log("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "connected"');break;case"completed":c.log("IceConnectionState of RTCPeerConnection "+t.id+" ("+e+') change to "completed"')}}},e.prototype.generateUniqueId=function(){return s.v4()},e}();t.WebRtcPeer=u;var l=function(e){function t(t){return t.mode="recvonly",e.call(this,t)||this}return i(t,e),t}(u);t.WebRtcPeerRecvonly=l;var d=function(e){function t(t){return t.mode="sendonly",e.call(this,t)||this}return i(t,e),t}(u);t.WebRtcPeerSendonly=d;var p=function(e){function t(t){return t.mode="sendrecv",e.call(this,t)||this}return i(t,e),t}(u);t.WebRtcPeerSendrecv=p},"6+/i":function(e,t,n){var r;!function(t){"use strict";function i(){}var o=i.prototype,s=t.EventEmitter;function a(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function c(e){return function(){return this[e].apply(this,arguments)}}o.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp)for(n in t={},r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n]);else t=r[e]||(r[e]=[]);return t},o.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},o.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},o.addListener=function(e,t){if(!function e(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!=typeof t)&&e(t.listener)}(t))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(e),i="object"==typeof t;for(n in r)r.hasOwnProperty(n)&&-1===a(r[n],t)&&r[n].push(i?t:{listener:t,once:!1});return this},o.on=c("addListener"),o.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},o.once=c("addOnceListener"),o.defineEvent=function(e){return this.getListeners(e),this},o.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},o.removeListener=function(e,t){var n,r,i=this.getListenersAsObject(e);for(r in i)i.hasOwnProperty(r)&&-1!==(n=a(i[r],t))&&i[r].splice(n,1);return this},o.off=c("removeListener"),o.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},o.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},o.manipulateListeners=function(e,t,n){var r,i,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)o.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?o.call(this,r,i):s.call(this,r,i));return this},o.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if(e instanceof RegExp)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},o.removeAllListeners=c("removeEvent"),o.emitEvent=function(e,t){var n,r,i,o,s=this.getListenersAsObject(e);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(e,r.listener),r.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,r.listener);return this},o.trigger=c("emitEvent"),o.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},o.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return t.EventEmitter=s,i},void 0===(r=(function(){return i}).call(t,n,t,e))||(e.exports=r)}("undefined"!=typeof window?window:this||{})},"74bm":function(e,t,n){"use strict";t.__esModule=!0;var r=n("BwMD"),i=n("Tt94"),o=n("9m68").OpenViduLogger.getInstance(),s=function(){function e(e,t){this.handlers={},this.type=e,this.options=t}return e.prototype.execMethod=function(e,t){var n=this;return new Promise((function(s,a){var c;if(o.info("Executing filter method to stream "+n.stream.streamId),"string"!=typeof t)try{c=JSON.stringify(t)}catch(l){var u="'params' property must be a JSON formatted object";o.error(u),a(u)}else c=t;n.stream.session.openvidu.sendRequest("execFilterMethod",{streamId:n.stream.streamId,method:e,params:c},(function(t,u){if(t)o.error("Error executing filter method for Stream "+n.stream.streamId,t),a(401===t.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to execute a filter method"):t);else{o.info("Filter method successfully executed on Stream "+n.stream.streamId);var l=Object.assign({},n.stream.filter);n.stream.filter.lastExecMethod={method:e,params:JSON.parse(c)},n.stream.session.emitEvent("streamPropertyChanged",[new r.StreamPropertyChangedEvent(n.stream.session,n.stream,"filter",n.stream.filter,l,"execFilterMethod")]),n.stream.streamManager.emitEvent("streamPropertyChanged",[new r.StreamPropertyChangedEvent(n.stream.streamManager,n.stream,"filter",n.stream.filter,l,"execFilterMethod")]),s()}}))}))},e.prototype.addEventListener=function(e,t){var n=this;return new Promise((function(r,s){o.info("Adding filter event listener to event "+e+" to stream "+n.stream.streamId),n.stream.session.openvidu.sendRequest("addFilterEventListener",{streamId:n.stream.streamId,eventType:e},(function(a,c){a?(o.error("Error adding filter event listener to event "+e+"for Stream "+n.stream.streamId,a),s(401===a.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to add a filter event listener"):a)):(n.handlers[e]=t,o.info("Filter event listener to event "+e+" successfully applied on Stream "+n.stream.streamId),r())}))}))},e.prototype.removeEventListener=function(e){var t=this;return new Promise((function(n,r){o.info("Removing filter event listener to event "+e+" to stream "+t.stream.streamId),t.stream.session.openvidu.sendRequest("removeFilterEventListener",{streamId:t.stream.streamId,eventType:e},(function(s,a){s?(o.error("Error removing filter event listener to event "+e+"for Stream "+t.stream.streamId,s),r(401===s.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to add a filter event listener"):s)):(delete t.handlers[e],o.info("Filter event listener to event "+e+" successfully removed on Stream "+t.stream.streamId),n())}))}))},e}();t.Filter=s},"8KVD":function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r)||this;return s.connection=i,s.reason=o,s}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.ConnectionEvent=o},"9m68":function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(){this.logger=window.console,this.LOG_FNS=[this.logger.log,this.logger.debug,this.logger.info,this.logger.warn,this.logger.error],this.isProdMode=!1}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.isProdMode||this.LOG_FNS[0].apply(this.logger,arguments)},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.isProdMode||this.LOG_FNS[1].apply(this.logger,arguments)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.isProdMode||this.LOG_FNS[2].apply(this.logger,arguments)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.isProdMode||this.LOG_FNS[3].apply(this.logger,arguments)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.LOG_FNS[4].apply(this.logger,arguments)},e.prototype.enableProdMode=function(){this.isProdMode=!0},e}();t.OpenViduLogger=r},AeG9:function(e,t,n){var r=!1;if(Object.defineProperty)try{Object.defineProperty({},"x",{})}catch(h){r=!0}Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i});var i=n("txJ/").EventEmitter,o=n("HgqT"),s=n("0wxW"),a=n("gUCu");function c(e){if(e){if(e instanceof Function)return{send:e};if(e.send instanceof Function)return e;if(e.postMessage instanceof Function)return e.send=e.postMessage,e;if(e.write instanceof Function)return e.send=e.write,e;if(void 0===e.onmessage&&!(e.pause instanceof Function))throw new SyntaxError("Transport is not a function nor a valid object")}}function u(e,t){r?(this.method=e,this.params=t):(Object.defineProperty(this,"method",{value:e,enumerable:!0}),Object.defineProperty(this,"params",{value:t,enumerable:!0}))}function l(e,t,n,s){var l=this;if(!e)throw new SyntaxError("Packer is not defined");if(!e.pack||!e.unpack)throw new SyntaxError("Packer is invalid");var d=function(e){if(!e)return{};for(var t in e){var n=e[t];"string"==typeof n&&(e[t]={response:n})}return e}(e.responseMethods);if(t instanceof Function){if(null!=n)throw new SyntaxError("There can't be parameters after onRequest");s=t,n=void 0,t=void 0}if(t&&t.send instanceof Function){if(n&&!(n instanceof Function))throw new SyntaxError("Only a function can be after transport");s=n,n=t,t=void 0}if(n instanceof Function){if(null!=s)throw new SyntaxError("There can't be parameters after onRequest");s=n,n=void 0}if(n&&n.send instanceof Function&&s&&!(s instanceof Function))throw new SyntaxError("Only a function can be after transport");t=t||{},i.call(this),s&&this.on("request",s),r?this.peerID=t.peerID:Object.defineProperty(this,"peerID",{value:t.peerID});var p=t.max_retries||0;function f(e){l.decode(e.data||e)}this.getTransport=function(){return n},this.setTransport=function(e){n&&(n.removeEventListener?n.removeEventListener("message",f):n.removeListener&&n.removeListener("data",f)),e&&(e.addEventListener?e.addEventListener("message",f):e.addListener&&e.addListener("data",f)),n=c(e)},r||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)}),this.setTransport(n);var g=t.request_timeout||5e3,m=t.ping_request_timeout||g,v=t.response_timeout||5e3,y=t.duplicates_timeout||5e3,b=0,_=new a,w=new a,S=new a,C={};function x(e,t){var n=setTimeout((function(){S.remove(e,t)}),y);S.set(n,e,t)}function O(t,n,i,o,s){u.call(this,t,n),this.getTransport=function(){return s},this.setTransport=function(e){s=c(e)},r||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)});var a=w.get(i,o);s||l.getTransport()||(r?this.duplicated=Boolean(a):Object.defineProperty(this,"duplicated",{value:Boolean(a)}));var p=d[t];this.pack=e.pack.bind(e,this,i),this.reply=function(t,n,r){if(t instanceof Function||t&&t.send instanceof Function){if(null!=n)throw new SyntaxError("There can't be parameters after callback");r=t,n=null,t=void 0}else if(n instanceof Function||n&&n.send instanceof Function){if(null!=r)throw new SyntaxError("There can't be parameters after callback");r=n,n=null}var s;return r=c(r),a&&clearTimeout(a.timeout),null!=o&&(t&&(t.dest=o),n&&(n.dest=o)),t||null!=n?(null!=l.peerID&&(t?t.from=l.peerID:n.from=l.peerID),s=e.pack(s=p?null==p.error&&t?{error:t}:{method:t?p.error:p.response,params:t||n}:{error:t,result:n},i)):s=a?a.message:e.pack({result:null},i),function(e,t,n){var r={message:e,timeout:setTimeout((function(){w.remove(t,n)}),v)};w.set(r,t,n)}(s,i,o),(r=r||this.getTransport()||l.getTransport())?r.send(s):s}}function E(e){var t=C[e];if(t){delete C[e];var n=_.pop(t.id,t.dest);n&&(clearTimeout(n.timeout),x(t.id,t.dest))}}o(O,u),this.cancel=function(e){if(e)return E(e);for(var e in C)E(e)},this.close=function(){var e=this.getTransport();e&&e.close&&e.close(4003,"Cancel request"),this.cancel(),S.forEach(clearTimeout),w.forEach((function(e){clearTimeout(e.timeout)}))},this.encode=function(t,n,r,i,o){if(n instanceof Function){if(null!=r)throw new SyntaxError("There can't be parameters after callback");o=n,i=void 0,r=void 0,n=void 0}else if(r instanceof Function){if(null!=i)throw new SyntaxError("There can't be parameters after callback");o=r,i=void 0,r=void 0}else if(i instanceof Function){if(null!=o)throw new SyntaxError("There can't be parameters after callback");o=i,i=void 0}null!=l.peerID&&((n=n||{}).from=l.peerID),null!=r&&((n=n||{}).dest=r);var s={method:t,params:n};if(o){var a=b++,u=0;function h(e,t){l.cancel(s),o(e,t)}var f={message:s=e.pack(s,a),callback:h,responseMethods:d[t]||{}},v=c(i);function y(e){return f.timeout=setTimeout(x,("ping"===t?m:g)*Math.pow(2,u++)),C[s]={id:a,dest:r},_.set(f,a,r),(e=e||v||l.getTransport())?e.send(s):s}function w(e){e=c(e),console.warn(u+" retry for request message:",s);var t=S.pop(a,r);return clearTimeout(t),y(e)}function x(){if(u<p)return w(i);var e=new Error("Request has timed out");e.request=s,e.retry=w,h(e)}return y(i)}return s=e.pack(s),(i=i||this.getTransport())?i.send(s):s},this.decode=function(t,n){if(!t)throw new TypeError("Message is not defined");try{t=e.unpack(t)}catch(h){return console.debug(h,t)}var r=t.id,i=t.ack,o=t.method,s=t.params||{},a=s.from,d=s.dest;if(null==l.peerID||a!=l.peerID){if(null==r&&null==i){var p=new u(o,s);if(l.emit("request",p))return;return p}if(o){if(null==d||d==l.peerID){if(v=_.get(i,a)){var f=v.responseMethods;return o==f.error?C(v,s):o==f.response?C(v,null,s):b()}if(y=S.get(i,a))return E(y)}return b()}var g=t.error,m=t.result;if(!(g&&g.dest&&g.dest!=l.peerID||m&&m.dest&&m.dest!=l.peerID)){var v,y;if(!(v=_.get(i,a)))return(y=S.get(i,a))?E(y):console.warn("No callback was defined for this message",t);C(v,g,m)}}function b(){if(n=c(n)||l.getTransport()){var e=w.get(r,a);if(e)return n.send(e.message)}var t=new O(o,s,null!=r?r:i,a,n);if(!l.emit("request",t))return t}function C(e,t,n){e.callback(t,n)}function E(e){console.warn("Response already processed",t),clearTimeout(e),x(i,a)}}}o(l,i),l.RpcNotification=u,e.exports=l;var d=n("SYuc"),p=n("ee8k");(l.clients=d).transports=p,l.packers=s},BwMD:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r,i,o,s){var a=e.call(this,!1,t,"streamPropertyChanged")||this;return a.stream=n,a.changedProperty=r,a.newValue=i,a.oldValue=o,a.reason=s,a}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.StreamPropertyChangedEvent=o},DPKQ:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("74bm"),s=n("bk74"),a=n("Dztv"),c=n("5kmN"),u=n("+FKC"),l=n("e8ps"),d=n("HxXY"),p=n("BwMD"),h=n("Tt94"),f=n("ttXH"),g=n("bDgZ"),m=n("9m68").OpenViduLogger.getInstance(),v=function(e){function t(t,n){var r=e.call(this)||this;return r.isSubscribeToRemote=!1,r.isLocalStreamReadyToPublish=!1,r.isLocalStreamPublished=!1,r.publishedOnce=!1,r.publisherStartSpeakingEventEnabled=!1,r.publisherStartSpeakingEventEnabledOnce=!1,r.publisherStopSpeakingEventEnabled=!1,r.publisherStopSpeakingEventEnabledOnce=!1,r.volumeChangeEventEnabled=!1,r.volumeChangeEventEnabledOnce=!1,r.session=t,n.hasOwnProperty("id")?(r.inboundStreamOpts=n,r.streamId=r.inboundStreamOpts.id,r.creationTime=r.inboundStreamOpts.createdAt,r.hasAudio=r.inboundStreamOpts.hasAudio,r.hasVideo=r.inboundStreamOpts.hasVideo,r.hasAudio&&(r.audioActive=r.inboundStreamOpts.audioActive),r.hasVideo&&(r.videoActive=r.inboundStreamOpts.videoActive,r.typeOfVideo=r.inboundStreamOpts.typeOfVideo?r.inboundStreamOpts.typeOfVideo:void 0,r.frameRate=-1===r.inboundStreamOpts.frameRate?void 0:r.inboundStreamOpts.frameRate,r.videoDimensions=r.inboundStreamOpts.videoDimensions),r.inboundStreamOpts.filter&&Object.keys(r.inboundStreamOpts.filter).length>0&&(r.inboundStreamOpts.filter.lastExecMethod&&0===Object.keys(r.inboundStreamOpts.filter.lastExecMethod).length&&delete r.inboundStreamOpts.filter.lastExecMethod,r.filter=r.inboundStreamOpts.filter)):(r.outboundStreamOpts=n,r.hasAudio=r.isSendAudio(),r.hasVideo=r.isSendVideo(),r.hasAudio&&(r.audioActive=!!r.outboundStreamOpts.publisherProperties.publishAudio),r.hasVideo&&(r.videoActive=!!r.outboundStreamOpts.publisherProperties.publishVideo,r.frameRate=r.outboundStreamOpts.publisherProperties.frameRate,r.typeOfVideo="undefined"!=typeof MediaStreamTrack&&r.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?"CUSTOM":r.isSendScreen()?"SCREEN":"CAMERA"),r.outboundStreamOpts.publisherProperties.filter&&(r.filter=r.outboundStreamOpts.publisherProperties.filter)),r.ee.on("mediastream-updated",(function(){r.streamManager.updateMediaStream(r.mediaStream),m.debug("Video srcObject ["+r.mediaStream+"] updated in stream ["+r.streamId+"]")})),r}return i(t,e),t.prototype.on=function(t,n){return e.prototype.onAux.call(this,t,"Event '"+t+"' triggered by stream '"+this.streamId+"'",n),this},t.prototype.once=function(t,n){return e.prototype.onceAux.call(this,t,"Event '"+t+"' triggered once by stream '"+this.streamId+"'",n),this},t.prototype.off=function(t,n){return e.prototype.off.call(this,t,n),this},t.prototype.applyFilter=function(e,t){var n=this;return new Promise((function(r,i){m.info("Applying filter to stream "+n.streamId),"string"!=typeof(t=t||{})&&(t=JSON.stringify(t)),n.session.openvidu.sendRequest("applyFilter",{streamId:n.streamId,type:e,options:t},(function(s,a){if(s)m.error("Error applying filter for Stream "+n.streamId,s),i(401===s.code?new h.OpenViduError(h.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to apply a filter"):s);else{m.info("Filter successfully applied on Stream "+n.streamId);var c=n.filter;n.filter=new o.Filter(e,t),n.filter.stream=n,n.session.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(n.session,n,"filter",n.filter,c,"applyFilter")]),n.streamManager.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(n.streamManager,n,"filter",n.filter,c,"applyFilter")]),r(n.filter)}}))}))},t.prototype.removeFilter=function(){var e=this;return new Promise((function(t,n){m.info("Removing filter of stream "+e.streamId),e.session.openvidu.sendRequest("removeFilter",{streamId:e.streamId},(function(r,i){if(r)m.error("Error removing filter for Stream "+e.streamId,r),n(401===r.code?new h.OpenViduError(h.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to remove a filter"):r);else{m.info("Filter successfully removed from Stream "+e.streamId);var o=e.filter;delete e.filter,e.session.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(e.session,e,"filter",e.filter,o,"applyFilter")]),e.streamManager.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(e.streamManager,e,"filter",e.filter,o,"applyFilter")]),t()}}))}))},t.prototype.getRTCPeerConnection=function(){return this.webRtcPeer.pc},t.prototype.getMediaStream=function(){return this.mediaStream},t.prototype.setMediaStream=function(e){this.mediaStream=e},t.prototype.updateMediaStreamInVideos=function(){this.ee.emitEvent("mediastream-updated",[])},t.prototype.getWebRtcPeer=function(){return this.webRtcPeer},t.prototype.subscribeToMyRemote=function(e){this.isSubscribeToRemote=e},t.prototype.setOutboundStreamOptions=function(e){this.outboundStreamOpts=e},t.prototype.subscribe=function(){var e=this;return new Promise((function(t,n){e.initWebRtcPeerReceive(!1).then((function(){t()})).catch((function(e){n(e)}))}))},t.prototype.publish=function(){var e=this;return new Promise((function(t,n){e.isLocalStreamReadyToPublish?e.initWebRtcPeerSend(!1).then((function(){t()})).catch((function(e){n(e)})):e.ee.once("stream-ready-to-publish",(function(){e.publish().then((function(){t()})).catch((function(e){n(e)}))}))}))},t.prototype.disposeWebRtcPeer=function(){this.webRtcPeer&&(this.webRtcPeer.dispose(),this.stopWebRtcStats()),m.info((this.outboundStreamOpts?"Outbound ":"Inbound ")+"WebRTCPeer from 'Stream' with id ["+this.streamId+"] is now closed")},t.prototype.disposeMediaStream=function(){this.mediaStream&&(this.mediaStream.getAudioTracks().forEach((function(e){e.stop()})),this.mediaStream.getVideoTracks().forEach((function(e){e.stop()})),delete this.mediaStream),this.localMediaStreamWhenSubscribedToRemote&&(this.localMediaStreamWhenSubscribedToRemote.getAudioTracks().forEach((function(e){e.stop()})),this.localMediaStreamWhenSubscribedToRemote.getVideoTracks().forEach((function(e){e.stop()})),delete this.localMediaStreamWhenSubscribedToRemote),this.speechEvent&&(this.speechEvent.stop&&this.speechEvent.stop(),delete this.speechEvent),m.info((this.outboundStreamOpts?"Local ":"Remote ")+"MediaStream from 'Stream' with id ["+this.streamId+"] is now disposed")},t.prototype.displayMyRemote=function(){return this.isSubscribeToRemote},t.prototype.isSendAudio=function(){return!!this.outboundStreamOpts&&null!==this.outboundStreamOpts.publisherProperties.audioSource&&!1!==this.outboundStreamOpts.publisherProperties.audioSource},t.prototype.isSendVideo=function(){return!!this.outboundStreamOpts&&null!==this.outboundStreamOpts.publisherProperties.videoSource&&!1!==this.outboundStreamOpts.publisherProperties.videoSource},t.prototype.isSendScreen=function(){var e="screen"===this.outboundStreamOpts.publisherProperties.videoSource;return"Electron"===g.name&&(e="string"==typeof this.outboundStreamOpts.publisherProperties.videoSource&&this.outboundStreamOpts.publisherProperties.videoSource.startsWith("screen:")),!!this.outboundStreamOpts&&e},t.prototype.enableStartSpeakingEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStartSpeakingEventEnabled||(this.publisherStartSpeakingEventEnabled=!0,this.speechEvent.on("speaking",(function(){e.session.emitEvent("publisherStartSpeaking",[new l.PublisherSpeakingEvent(e.session,"publisherStartSpeaking",e.connection,e.streamId)]),e.publisherStartSpeakingEventEnabledOnce=!1})))},t.prototype.enableOnceStartSpeakingEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStartSpeakingEventEnabledOnce||(this.publisherStartSpeakingEventEnabledOnce=!0,this.speechEvent.once("speaking",(function(){e.publisherStartSpeakingEventEnabledOnce&&e.session.emitEvent("publisherStartSpeaking",[new l.PublisherSpeakingEvent(e.session,"publisherStartSpeaking",e.connection,e.streamId)]),e.disableStartSpeakingEvent(!0)})))},t.prototype.disableStartSpeakingEvent=function(e){if(this.speechEvent){if(this.publisherStartSpeakingEventEnabledOnce=!1,e){if(this.publisherStartSpeakingEventEnabled)return}else this.publisherStartSpeakingEventEnabled=!1;this.volumeChangeEventEnabled||this.volumeChangeEventEnabledOnce||this.publisherStopSpeakingEventEnabled||this.publisherStopSpeakingEventEnabledOnce?this.speechEvent.off("speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},t.prototype.enableStopSpeakingEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStopSpeakingEventEnabled||(this.publisherStopSpeakingEventEnabled=!0,this.speechEvent.on("stopped_speaking",(function(){e.session.emitEvent("publisherStopSpeaking",[new l.PublisherSpeakingEvent(e.session,"publisherStopSpeaking",e.connection,e.streamId)]),e.publisherStopSpeakingEventEnabledOnce=!1})))},t.prototype.enableOnceStopSpeakingEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStopSpeakingEventEnabledOnce||(this.publisherStopSpeakingEventEnabledOnce=!0,this.speechEvent.once("stopped_speaking",(function(){e.publisherStopSpeakingEventEnabledOnce&&e.session.emitEvent("publisherStopSpeaking",[new l.PublisherSpeakingEvent(e.session,"publisherStopSpeaking",e.connection,e.streamId)]),e.disableStopSpeakingEvent(!0)})))},t.prototype.disableStopSpeakingEvent=function(e){if(this.speechEvent){if(this.publisherStopSpeakingEventEnabledOnce=!1,e){if(this.publisherStopSpeakingEventEnabled)return}else this.publisherStopSpeakingEventEnabled=!1;this.volumeChangeEventEnabled||this.volumeChangeEventEnabledOnce||this.publisherStartSpeakingEventEnabled||this.publisherStartSpeakingEventEnabledOnce?this.speechEvent.off("stopped_speaking"):(this.speechEvent.stop(),delete this.speechEvent)}},t.prototype.enableVolumeChangeEvent=function(e){var t=this;this.setSpeechEventIfNotExists()?this.volumeChangeEventEnabled&&!e||(this.volumeChangeEventEnabled=!0,this.speechEvent.on("volume_change",(function(e){var n={newValue:e,oldValue:t.speechEvent.oldVolumeValue};t.speechEvent.oldVolumeValue=e,t.streamManager.emitEvent("streamAudioVolumeChange",[new d.StreamManagerEvent(t.streamManager,"streamAudioVolumeChange",n)])}))):this.volumeChangeEventEnabled=!0},t.prototype.enableOnceVolumeChangeEvent=function(e){var t=this;this.setSpeechEventIfNotExists()?this.volumeChangeEventEnabledOnce&&!e||(this.volumeChangeEventEnabledOnce=!0,this.speechEvent.once("volume_change",(function(e){var n={newValue:e,oldValue:t.speechEvent.oldVolumeValue};t.speechEvent.oldVolumeValue=e,t.disableVolumeChangeEvent(!0),t.streamManager.emitEvent("streamAudioVolumeChange",[new d.StreamManagerEvent(t.streamManager,"streamAudioVolumeChange",n)])}))):this.volumeChangeEventEnabledOnce=!0},t.prototype.disableVolumeChangeEvent=function(e){if(this.speechEvent){if(this.volumeChangeEventEnabledOnce=!1,e){if(this.volumeChangeEventEnabled)return}else this.volumeChangeEventEnabled=!1;this.publisherStartSpeakingEventEnabled||this.publisherStartSpeakingEventEnabledOnce||this.publisherStopSpeakingEventEnabled||this.publisherStopSpeakingEventEnabledOnce?this.speechEvent.off("volume_change"):(this.speechEvent.stop(),delete this.speechEvent)}},t.prototype.isLocal=function(){return!this.inboundStreamOpts&&!!this.outboundStreamOpts},t.prototype.getSelectedIceCandidate=function(){var e=this;return new Promise((function(t,n){e.webRtcStats.getSelectedIceCandidateInfo().then((function(e){return t(e)})).catch((function(e){return n(e)}))}))},t.prototype.getRemoteIceCandidateList=function(){return this.webRtcPeer.remoteCandidatesQueue},t.prototype.getLocalIceCandidateList=function(){return this.webRtcPeer.localCandidatesQueue},t.prototype.streamIceConnectionStateBroken=function(){if(!this.getWebRtcPeer()||!this.getRTCPeerConnection())return!1;if(this.isLocal&&this.session.openvidu.advancedConfiguration.forceMediaReconnectionAfterNetworkDrop)return m.warn('OpenVidu Browser advanced configuration option "forceMediaReconnectionAfterNetworkDrop" is enabled. Publisher stream '+this.streamId+"will force a reconnection"),!0;var e=this.getRTCPeerConnection().iceConnectionState;return"disconnected"===e||"failed"===e},t.prototype.setSpeechEventIfNotExists=function(){if(this.mediaStream){if(!this.speechEvent){var e=this.harkOptions?this.harkOptions:this.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{};e.interval="number"==typeof e.interval?e.interval:100,e.threshold="number"==typeof e.threshold?e.threshold:-50,this.speechEvent=f(this.mediaStream,e)}return!0}return!1},t.prototype.initWebRtcPeerSend=function(e){var t=this;return new Promise((function(n,r){e||t.initHarkEvents();var i={audio:t.isSendAudio(),video:t.isSendVideo()},o={mediaStream:t.mediaStream,mediaConstraints:i,onicecandidate:t.connection.sendIceCandidate.bind(t.connection),iceServers:t.getIceServersConf(),simulcast:!1};e&&t.disposeWebRtcPeer(),t.webRtcPeer=t.displayMyRemote()?new c.WebRtcPeerSendrecv(o):new c.WebRtcPeerSendonly(o),t.webRtcPeer.addIceConnectionStateChangeListener("publisher of "+t.connection.connectionId),t.webRtcPeer.generateOffer().then((function(i){!function(i){m.debug("Sending SDP offer to publish as "+t.streamId,i);var o,s=e?"reconnectStream":"publishVideo";if(e)o={stream:t.streamId};else{var a="";t.isSendVideo()&&(a="undefined"!=typeof MediaStreamTrack&&t.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?"CUSTOM":t.isSendScreen()?"SCREEN":"CAMERA"),o={doLoopback:t.displayMyRemote()||!1,hasAudio:t.isSendAudio(),hasVideo:t.isSendVideo(),audioActive:t.audioActive,videoActive:t.videoActive,typeOfVideo:a,frameRate:t.frameRate?t.frameRate:-1,videoDimensions:JSON.stringify(t.videoDimensions),filter:t.outboundStreamOpts.publisherProperties.filter}}o.sdpOffer=i,t.session.openvidu.sendRequest(s,o,(function(i,o){i?r(401===i.code?new h.OpenViduError(h.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to publish"):"Error on publishVideo: "+JSON.stringify(i)):t.webRtcPeer.processAnswer(o.sdpAnswer,!1).then((function(){t.streamId=o.id,t.creationTime=o.createdAt,t.isLocalStreamPublished=!0,t.publishedOnce=!0,t.displayMyRemote()&&(t.localMediaStreamWhenSubscribedToRemote=t.mediaStream,t.remotePeerSuccessfullyEstablished()),t.ee.emitEvent(e?"stream-reconnected-by-publisher":"stream-created-by-publisher",[]),t.initWebRtcStats(),m.info("'Publisher' ("+t.streamId+") successfully "+(e?"reconnected":"published")+" to session"),n()})).catch((function(e){r(e)}))}))}(i)})).catch((function(e){r(new Error("(publish) SDP offer error: "+JSON.stringify(e)))}))}))},t.prototype.initWebRtcPeerReceive=function(e){var t=this;return new Promise((function(n,r){var i={audio:t.inboundStreamOpts.hasAudio,video:t.inboundStreamOpts.hasVideo};m.debug("'Session.subscribe(Stream)' called. Constraints of generate SDP offer",i);var o={onicecandidate:t.connection.sendIceCandidate.bind(t.connection),mediaConstraints:i,iceServers:t.getIceServersConf(),simulcast:!1};t.webRtcPeer=new c.WebRtcPeerRecvonly(o),t.webRtcPeer.addIceConnectionStateChangeListener(t.streamId),t.webRtcPeer.generateOffer().then((function(i){!function(i){m.debug("Sending SDP offer to subscribe to "+t.streamId,i);var o=e?"reconnectStream":"receiveVideoFrom",s={sdpOffer:i};s[e?"stream":"sender"]=t.streamId,t.session.openvidu.sendRequest(o,s,(function(i,o){i?r(new Error("Error on recvVideoFrom: "+JSON.stringify(i))):(t.session.isFirstIonicIosSubscriber&&(t.session.isFirstIonicIosSubscriber=!1,setTimeout((function(){t.session.countDownForIonicIosSubscribersActive=!1}),400)),t.webRtcPeer.processAnswer(o.sdpAnswer,t.session.countDownForIonicIosSubscribersActive).then((function(){m.info("'Subscriber' ("+t.streamId+") successfully "+(e?"reconnected":"subscribed")),t.remotePeerSuccessfullyEstablished(),t.initWebRtcStats(),n()})).catch((function(e){r(e)})))}))}(i)})).catch((function(e){r(new Error("(subscribe) SDP offer error: "+JSON.stringify(e)))}))}))},t.prototype.remotePeerSuccessfullyEstablished=function(){var e;this.mediaStream=new MediaStream;for(var t=0,n=this.webRtcPeer.pc.getReceivers();t<n.length;t++)(e=n[t]).track&&this.mediaStream.addTrack(e.track);if(m.debug("Peer remote stream",this.mediaStream),this.mediaStream){if(this.streamManager instanceof s.Subscriber){if(this.mediaStream.getAudioTracks()[0]){var r=!!this.streamManager.properties.subscribeToAudio;this.mediaStream.getAudioTracks()[0].enabled=r}this.mediaStream.getVideoTracks()[0]&&(r=!!this.streamManager.properties.subscribeToVideo,this.mediaStream.getVideoTracks()[0].enabled=r)}this.updateMediaStreamInVideos(),this.initHarkEvents()}},t.prototype.initHarkEvents=function(){this.mediaStream.getAudioTracks()[0]&&(this.streamManager.remote&&(this.session.startSpeakingEventsEnabled&&this.enableStartSpeakingEvent(),this.session.startSpeakingEventsEnabledOnce&&this.enableOnceStartSpeakingEvent(),this.session.stopSpeakingEventsEnabled&&this.enableStopSpeakingEvent(),this.session.stopSpeakingEventsEnabledOnce&&this.enableOnceStopSpeakingEvent()),this.volumeChangeEventEnabled&&this.enableVolumeChangeEvent(!0),this.volumeChangeEventEnabledOnce&&this.enableOnceVolumeChangeEvent(!0))},t.prototype.initWebRtcStats=function(){this.webRtcStats=new u.WebRtcStats(this),this.webRtcStats.initWebRtcStats()},t.prototype.stopWebRtcStats=function(){this.webRtcStats&&this.webRtcStats.isEnabled()&&this.webRtcStats.stopWebRtcStats()},t.prototype.getIceServersConf=function(){return this.session.openvidu.advancedConfiguration.iceServers?"freeice"===this.session.openvidu.advancedConfiguration.iceServers?void 0:this.session.openvidu.advancedConfiguration.iceServers:this.session.openvidu.iceServers?this.session.openvidu.iceServers:void 0},t.prototype.gatherStatsForPeer=function(){var e=this;return new Promise((function(t,n){e.isLocal()?e.getRTCPeerConnection().getSenders().forEach((function(t){return t.getStats().then((function(t){t.forEach((function(t){if(e.isReportWanted(t)){var n={};n.type=t.type,n.timestamp=t.timestamp,n.id=t.id,"outbound-rtp"===t.type&&(n.ssrc=t.ssrc,n.firCount=t.firCount,n.pliCount=t.pliCount,n.nackCount=t.nackCount,n.qpSum=t.qpSum,n.mediaType=t.kind?t.kind:t.mediaType?t.mediaType:-1!==t.id.indexOf("VideoStream")?"video":"audio","video"===n.mediaType&&(n.framesEncoded=t.framesEncoded),n.packetsSent=t.packetsSent,n.bytesSent=t.bytesSent),"candidate-pair"===t.type&&void 0!==t.totalRoundTripTime&&(n.availableOutgoingBitrate=t.availableOutgoingBitrate,n.rtt=t.currentRoundTripTime,n.averageRtt=t.totalRoundTripTime/t.responsesReceived),m.log(n)}}))}))})):e.getRTCPeerConnection().getReceivers().forEach((function(t){return t.getStats().then((function(t){t.forEach((function(t){if(e.isReportWanted(t)){var n={};n.type=t.type,n.timestamp=t.timestamp,n.id=t.id,"inbound-rtp"===t.type&&(n.ssrc=t.ssrc,n.firCount=t.firCount,n.pliCount=t.pliCount,n.nackCount=t.nackCount,n.qpSum=t.qpSum,n.mediaType=t.kind?t.kind:t.mediaType?t.mediaType:-1!==t.id.indexOf("VideoStream")?"video":"audio","video"===n.mediaType&&(n.framesDecoded=t.framesDecoded),n.packetsReceived=t.packetsReceived,n.packetsLost=t.packetsLost,n.jitter=t.jitter,n.bytesReceived=t.bytesReceived),"candidate-pair"===t.type&&void 0!==t.totalRoundTripTime&&(n.availableIncomingBitrate=t.availableIncomingBitrate,n.rtt=t.currentRoundTripTime,n.averageRtt=t.totalRoundTripTime/t.responsesReceived),m.log(n)}}))}))}))}))},t.prototype.isReportWanted=function(e){return"inbound-rtp"===e.type&&!this.isLocal()||"outbound-rtp"===e.type&&this.isLocal()||"candidate-pair"===e.type&&e.nominated&&e.bytesSent>0},t}(a.EventDispatcher);t.Stream=v},Dztv:function(e,t,n){"use strict";t.__esModule=!0;var r=n("6+/i"),i=n("9m68").OpenViduLogger.getInstance(),o=function(){function e(){this.userHandlerArrowHandler=new WeakMap,this.ee=new r}return e.prototype.off=function(e,t){if(t){var n=this.userHandlerArrowHandler.get(t);n&&this.ee.off(e,n),this.userHandlerArrowHandler.delete(t)}else this.ee.removeAllListeners(e);return this},e.prototype.onAux=function(e,t,n){var r=function(e){e?i.info(t,e):i.info(t),n(e)};return this.userHandlerArrowHandler.set(n,r),this.ee.on(e,r),this},e.prototype.onceAux=function(e,t,n){var r=this,o=function(e){e?i.info(t,e):i.info(t),n(e),r.userHandlerArrowHandler.delete(n)};return this.userHandlerArrowHandler.set(n,o),this.ee.once(e,o),this},e}();t.EventDispatcher=o},EDod:function(e,t,n){var r=n("AeG9"),i=n("cUzU");Date.now=Date.now||function(){return+new Date};var o=console;e.exports=function(e){var t,n=this,s=e.ws,a=-1,c=0,u=!0,l=!1,d="DISCONNECTED",p=s.onreconnecting,h=s.onreconnected,f=s.onconnected,g=s.onerror;e.rpc.pull=function(e,t){t.reply(null,"push")},s.onreconnecting=function(){o.debug("--------- ONRECONNECTING -----------"),"RECONNECTING"!==d?(w(),d="RECONNECTING",p&&p()):o.error("Websocket already in RECONNECTING state when receiving a new ONRECONNECTING message. Ignoring it")},s.onreconnected=function(){o.debug("--------- ONRECONNECTED -----------"),"CONNECTED"!==d?(d="CONNECTED",y(),h&&h()):o.error("Websocket already in CONNECTED state when receiving a new ONRECONNECTED message. Ignoring it")},s.onconnected=function(){o.debug("--------- ONCONNECTED -----------"),"CONNECTED"!==d?(d="CONNECTED",u=!0,_(),f&&f()):o.error("Websocket already in CONNECTED state when receiving a new ONCONNECTED message. Ignoring it")},s.onerror=function(e){o.debug("--------- ONERROR -----------"),d="DISCONNECTED",w(),g&&g(e)};var m=new i(s);o.debug("Connecting websocket to URI: "+s.uri);var v=new r(r.packers.JsonRPC,{request_timeout:e.rpc.requestTimeout,ping_request_timeout:e.rpc.heartbeatRequestTimeout},m,(function(t){o.debug("Received request: "+JSON.stringify(t));try{var n=e.rpc[t.method];void 0===n?o.error("Method "+t.method+" not registered in client"):n(t.params,t)}catch(r){o.error("Exception processing request: "+JSON.stringify(t)),o.error(r)}}));function y(){o.debug("notReconnectIfNumLessThan = "+c+" (old="+a+")"),a=c}function b(){if(u){var t=null;0!=c&&c!=a||(t={interval:e.heartbeat||5e3}),c++,n.send("ping",t,(r=c,function(e,t){e&&(o.debug("Error in ping request #"+r+" ("+e.message+")"),r>a&&(u=!1,y(),o.debug("Server did not respond to ping message #"+r+". Reconnecting... "),m.reconnectWs()))}))}else o.debug("Trying to send ping, but ping is not enabled");var r}function _(){l||(o.debug("Starting ping (if configured)"),l=!0,null!=e.heartbeat&&(t=setInterval(b,e.heartbeat),b()))}function w(){clearInterval(t),l=!1,u=!1,c=-1,v.cancel()}this.send=function(e,t,n){"ping"!==e&&o.debug("Request: method:"+e+" params:"+JSON.stringify(t));var r=Date.now();v.encode(e,t,(function(i,s){if(i){try{o.error("ERROR:"+i.message+" in Request: method:"+e+" params:"+JSON.stringify(t)+" request:"+i.request),i.data&&o.error("ERROR DATA:"+JSON.stringify(i.data))}catch(a){}i.requestTime=r}n&&(null!=s&&"pong"!==s.value&&o.debug("Response: "+JSON.stringify(s)),n(i,s))}))},this.close=function(n,r){o.debug("Closing with code: "+n+" because: "+r),null!=t&&(o.debug("Clearing ping interval"),clearInterval(t)),l=!1,u=!1,e.sendCloseMessage?(o.debug("Sending close message"),this.send("closeSession",null,(function(e,t){e&&o.error("Error sending close message: "+JSON.stringify(e)),m.close(n,r)}))):m.close(n,r)},this.forceClose=function(e){m.forceClose(e)},this.reconnect=function(){m.reconnectWs()},this.resetPing=function(){u=!0,c=0,_()}}},EcWD:function(e,t){var n,r,i="screen";if("undefined"!=typeof window&&"undefined"!=typeof navigator&&void 0!==navigator.userAgent){var o=void 0!==window.InstallTrigger;window.opera||navigator.userAgent.indexOf(" OPR/"),window,window.addEventListener("message",(function(e){e.origin==window.location.origin&&function(e){if("PermissionDeniedError"==e){if(r)return r("PermissionDeniedError");throw new Error("PermissionDeniedError")}"rtcmulticonnection-extension-loaded"==e&&(i="desktop"),e.sourceId&&r&&r(n=e.sourceId,!0===e.canRequestAudioTrack)}(e.data)}))}function s(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);r=e,window.postMessage("get-sourceId","*")}function a(e,t){if(n="",o)return e(null,{mozMediaSource:"window",mediaSource:"window"});var a={mandatory:{chromeMediaSource:i,maxWidth:screen.width>1920?screen.width:1920,maxHeight:screen.height>1080?screen.height:1080},optional:[]};"desktop"!=i||n?("desktop"==i&&(a.mandatory.chromeMediaSourceId=n),e(null,a)):t?function(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);r=e,window.postMessage("audio-plus-tab","*")}((function(t,n){a.mandatory.chromeMediaSourceId=t,n&&(a.canRequestAudioTrack=!0),e("PermissionDeniedError"==t?t:null,a)})):s((function(t){a.mandatory.chromeMediaSourceId=t,e("PermissionDeniedError"==t?t:null,a)}))}t.getScreenConstraints=a,t.getScreenConstraintsWithAudio=function(e){a(e,!0)},t.isChromeExtensionAvailable=function(e){if(e){if("desktop"==i)return e(!0);window.postMessage("are-you-there","*"),setTimeout((function(){e("screen"!=i)}),2e3)}},t.getChromeExtensionStatus=function(e,t){if(o)return t("not-chrome");2!=arguments.length&&(t=e,e="lfcgfepafnobdloecchnfaclibenjold");var n=document.createElement("img");n.src="chrome-extension://"+e+"/icon.png",n.onload=function(){i="screen",window.postMessage("are-you-there","*"),setTimeout((function(){t("screen"==i?"installed-disabled":"installed-enabled")}),2e3)},n.onerror=function(){t("not-installed")}},t.getSourceId=s},FlKs:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("JUw6"),i=function(e){this.j=[],this.T=e||null};i.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[1];if(this.test(e,n[0]))return r}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var o=(0,r.inherits)(i,(function(e){this.j=[],this.T=e||null}),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,r.inherits)(i,(function(e){this.j=[],this.T=e||null}),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});t.CharacterState=o,t.TokenState=s,t.stateify=function(e,t,n,r){for(var i=0,s=e.length,a=t,c=[],u=void 0;i<s&&(u=a.next(e[i]));)a=u,i++;if(i>=s)return[];for(;i<s-1;)u=new o(r),c.push(u),a.on(e[i],u),a=u,i++;return u=new o(n),c.push(u),a.on(e[s-1],u),c}},HgqT:function(e,t){e.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},HxXY:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r){var i=e.call(this,!1,t,n)||this;return i.value=r,i}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.StreamManagerEvent=o},IXxz:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser,r=n.State,i=e.parser.start,o=t.DOMAIN,s=t.LOCALHOST,a=t.NUM,c=t.SLASH,u=t.TLD,l=t.UNDERSCORE,d=t.DOT,p=t.AT;function h(e){this.v=e}e.inherits(n.TOKENS.Base,h,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var f=i.jump(t.AT),g=new r,m=new r(h),v=new r,y=new r;f.on(l,g),g.on(l,g).on(d,g),f.on(o,m).on(s,m).on(u,m).on(a,m),g.on(o,m).on(s,m).on(u,m).on(a,m),m.on(o,m).on(s,m).on(u,m).on(a,m).on(l,m),m.on(c,v).on(d,v).on(p,v),v.on(l,y),y.on(l,y),v.on(o,m).on(s,m).on(u,m).on(a,m),y.on(o,m).on(s,m).on(u,m).on(a,m)}},JTMn:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("ryRr"),s=n("74bm"),a=n("bk74"),c=n("Dztv"),u=n("8KVD"),l=n("+ig+"),d=n("rUL0"),p=n("ksJj"),h=n("suHS"),f=n("Te8r"),g=n("BwMD"),m=n("Tt94"),v=n("/dLB"),y=n("bDgZ"),b=n("9m68").OpenViduLogger.getInstance(),_=function(e){function t(t){var n=e.call(this)||this;return n.streamManagers=[],n.remoteStreamsCreated={},n.isFirstIonicIosSubscriber=!0,n.countDownForIonicIosSubscribersActive=!0,n.remoteConnections={},n.startSpeakingEventsEnabled=!1,n.startSpeakingEventsEnabledOnce=!1,n.stopSpeakingEventsEnabled=!1,n.stopSpeakingEventsEnabledOnce=!1,n.openvidu=t,n}return i(t,e),t.prototype.connect=function(e,t){var n=this;return new Promise((function(r,i){n.processToken(e),n.openvidu.checkSystemRequirements()?(n.options={sessionId:n.sessionId,participantId:e,metadata:t?n.stringClientMetadata(t):""},n.connectAux(e).then((function(){r()})).catch((function(e){i(e)}))):i(new m.OpenViduError(m.OpenViduErrorName.BROWSER_NOT_SUPPORTED,"Browser "+y.name+" (version "+y.version+") for "+y.os.family+" is not supported in OpenVidu"))}))},t.prototype.disconnect=function(){this.leave(!1,"disconnect")},t.prototype.subscribe=function(e,t,n,r){var i,o={};o=n&&"function"!=typeof n?{insertMode:void 0!==n.insertMode?"string"==typeof n.insertMode?v.VideoInsertMode[n.insertMode]:o.insertMode:v.VideoInsertMode.APPEND,subscribeToAudio:void 0===n.subscribeToAudio||n.subscribeToAudio,subscribeToVideo:void 0===n.subscribeToVideo||n.subscribeToVideo}:{insertMode:v.VideoInsertMode.APPEND,subscribeToAudio:!0,subscribeToVideo:!0},n&&"function"==typeof n?i=n:r&&(i=r),b.info("Subscribing to "+e.connection.connectionId),e.subscribe().then((function(){b.info("Subscribed correctly to "+e.connection.connectionId),void 0!==i&&i(void 0)})).catch((function(e){void 0!==i&&i(e)}));var s=new a.Subscriber(e,t,o);return s.targetElement&&e.streamManager.createVideoElement(s.targetElement,o.insertMode),s},t.prototype.subscribeAsync=function(e,t,n){var r=this;return new Promise((function(i,o){var s,a=function(e){e?o(e):i(s)};s=n?r.subscribe(e,t,n,a):r.subscribe(e,t,a)}))},t.prototype.unsubscribe=function(e){var t=e.stream.connection.connectionId;b.info("Unsubscribing from "+t),this.openvidu.sendRequest("unsubscribeFromVideo",{sender:e.stream.connection.connectionId},(function(n,r){n?b.error("Error unsubscribing from "+t,n):b.info("Unsubscribed correctly from "+t),e.stream.disposeWebRtcPeer(),e.stream.disposeMediaStream()})),e.stream.streamManager.removeAllVideos()},t.prototype.publish=function(e){var t=this;return new Promise((function(n,r){e.session=t,e.stream.session=t,e.stream.publishedOnce?e.initialize().then((function(){t.connection.addStream(e.stream),e.reestablishStreamPlayingEvent(),e.stream.publish().then((function(){n()})).catch((function(e){r(e)}))})).catch((function(e){r(e)})):(t.connection.addStream(e.stream),e.stream.publish().then((function(){n()})).catch((function(e){r(e)})))}))},t.prototype.unpublish=function(e){var t=e.stream;if(t.connection)if(t.connection===this.connection){b.info("Unpublishing local media ("+t.connection.connectionId+")"),this.openvidu.sendRequest("unpublishVideo",(function(e,t){e?b.error(e):b.info("Media unpublished correctly")})),t.disposeWebRtcPeer(),delete t.connection.stream;var n=new f.StreamEvent(!0,e,"streamDestroyed",e.stream,"unpublish");e.emitEvent("streamDestroyed",[n]),n.callDefaultBehavior()}else b.error("The associated Connection object of this Publisher is not your local Connection.Only moderators can force unpublish on remote Streams via 'forceUnpublish' method",t);else b.error("The associated Connection object of this Publisher is null",t)},t.prototype.forceDisconnect=function(e){var t=this;return new Promise((function(n,r){b.info("Forcing disconnect for connection "+e.connectionId),t.openvidu.sendRequest("forceDisconnect",{connectionId:e.connectionId},(function(t,i){t?(b.error("Error forcing disconnect for Connection "+e.connectionId,t),r(401===t.code?new m.OpenViduError(m.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force a disconnection"):t)):(b.info("Forcing disconnect correctly for Connection "+e.connectionId),n())}))}))},t.prototype.forceUnpublish=function(e){var t=this;return new Promise((function(n,r){b.info("Forcing unpublish for stream "+e.streamId),t.openvidu.sendRequest("forceUnpublish",{streamId:e.streamId},(function(t,i){t?(b.error("Error forcing unpublish for Stream "+e.streamId,t),r(401===t.code?new m.OpenViduError(m.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force an unpublishing"):t)):(b.info("Forcing unpublish correctly for Stream "+e.streamId),n())}))}))},t.prototype.signal=function(e){var t=this;return new Promise((function(n,r){var i={};if(e.to&&e.to.length>0){var o=[];e.to.forEach((function(e){e.connectionId&&o.push(e.connectionId)})),i.to=o}else i.to=[];i.data=e.data?e.data:"";var s=e.type?e.type:"signal";s&&"signal:"!==s.substring(0,7)&&(s="signal:"+s),i.type=s,t.openvidu.sendRequest("sendMessage",{message:JSON.stringify(i)},(function(e,t){e?r(e):n()}))}))},t.prototype.on=function(t,n){if(e.prototype.onAux.call(this,t,"Event '"+t+"' triggered by 'Session'",n),"publisherStartSpeaking"===t)for(var r in this.startSpeakingEventsEnabled=!0,this.remoteConnections)(i=this.remoteConnections[r].stream)&&i.hasAudio&&i.enableStartSpeakingEvent();if("publisherStopSpeaking"===t)for(var r in this.stopSpeakingEventsEnabled=!0,this.remoteConnections){var i;(i=this.remoteConnections[r].stream)&&i.hasAudio&&i.enableStopSpeakingEvent()}return this},t.prototype.once=function(t,n){if(e.prototype.onceAux.call(this,t,"Event '"+t+"' triggered once by 'Session'",n),"publisherStartSpeaking"===t)for(var r in this.startSpeakingEventsEnabledOnce=!0,this.remoteConnections)(i=this.remoteConnections[r].stream)&&i.hasAudio&&i.enableOnceStartSpeakingEvent();if("publisherStopSpeaking"===t)for(var r in this.stopSpeakingEventsEnabledOnce=!0,this.remoteConnections){var i;(i=this.remoteConnections[r].stream)&&i.hasAudio&&i.enableOnceStopSpeakingEvent()}return this},t.prototype.off=function(t,n){if(e.prototype.off.call(this,t,n),"publisherStartSpeaking"===t&&0===this.ee.getListeners(t).length)for(var r in this.startSpeakingEventsEnabled=!1,this.remoteConnections)(i=this.remoteConnections[r].stream)&&i.disableStartSpeakingEvent(!1);if("publisherStopSpeaking"===t&&0===this.ee.getListeners(t).length)for(var r in this.stopSpeakingEventsEnabled=!1,this.remoteConnections){var i;(i=this.remoteConnections[r].stream)&&i.disableStopSpeakingEvent(!1)}return this},t.prototype.onParticipantJoined=function(e){var t=this;this.getConnection(e.id,"").then((function(t){b.warn("Connection "+e.id+" already exists in connections list")})).catch((function(n){var r=new o.Connection(t,e);t.remoteConnections[e.id]=r,t.ee.emitEvent("connectionCreated",[new u.ConnectionEvent(!1,t,"connectionCreated",r,"")])}))},t.prototype.onParticipantLeft=function(e){var t=this;this.getRemoteConnection(e.connectionId,"Remote connection "+e.connectionId+" unknown when 'onParticipantLeft'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then((function(n){if(n.stream){var r=n.stream,i=new f.StreamEvent(!0,t,"streamDestroyed",r,e.reason);t.ee.emitEvent("streamDestroyed",[i]),i.callDefaultBehavior(),delete t.remoteStreamsCreated[r.streamId],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribersActive=!0)}delete t.remoteConnections[n.connectionId],t.ee.emitEvent("connectionDestroyed",[new u.ConnectionEvent(!1,t,"connectionDestroyed",n,e.reason)])})).catch((function(e){b.error(e)}))},t.prototype.onParticipantPublished=function(e){var t,n=this,r=function(e){n.remoteConnections[e.connectionId]=e,n.remoteStreamsCreated[e.stream.streamId]||n.ee.emitEvent("streamCreated",[new f.StreamEvent(!1,n,"streamCreated",e.stream,"")]),n.remoteStreamsCreated[e.stream.streamId]=!0};this.getRemoteConnection(e.id,"Remote connection '"+e.id+"' unknown when 'onParticipantPublished'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then((function(n){t=n,e.metadata=n.data,t.options=e,t.initRemoteStreams(e.streams),r(t)})).catch((function(i){t=new o.Connection(n,e),r(t)}))},t.prototype.onParticipantUnpublished=function(e){var t=this;e.connectionId===this.connection.connectionId?this.stopPublisherStream(e.reason):this.getRemoteConnection(e.connectionId,"Remote connection '"+e.connectionId+"' unknown when 'onParticipantUnpublished'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then((function(n){var r=new f.StreamEvent(!0,t,"streamDestroyed",n.stream,e.reason);t.ee.emitEvent("streamDestroyed",[r]),r.callDefaultBehavior();var i=n.stream.streamId;delete t.remoteStreamsCreated[i],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribersActive=!0),n.removeStream(i)})).catch((function(e){b.error(e)}))},t.prototype.onParticipantEvicted=function(e){e.connectionId===this.connection.connectionId&&this.sessionId&&!this.connection.disposed&&this.leave(!0,e.reason)},t.prototype.onNewMessage=function(e){var t=this;b.info("New signal: "+JSON.stringify(e));var n=e.type?e.type.replace(/^(signal:)/,""):void 0;e.from?this.getConnection(e.from,"Connection '"+e.from+"' unknow when 'onNewMessage'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))+". Existing local connection: "+this.connection.connectionId).then((function(r){t.ee.emitEvent("signal",[new h.SignalEvent(t,n,e.data,r)]),"signal"!==e.type&&t.ee.emitEvent(e.type,[new h.SignalEvent(t,n,e.data,r)])})).catch((function(e){b.error(e)})):(this.ee.emitEvent("signal",[new h.SignalEvent(this,n,e.data,void 0)]),"signal"!==e.type&&this.ee.emitEvent(e.type,[new h.SignalEvent(this,n,e.data,void 0)]))},t.prototype.onStreamPropertyChanged=function(e){var t=this,n=function(n){if(n.stream&&n.stream.streamId===e.streamId){var r=n.stream,i=void 0;switch(e.property){case"audioActive":i=r.audioActive,e.newValue="true"===e.newValue,r.audioActive=e.newValue;break;case"videoActive":i=r.videoActive,e.newValue="true"===e.newValue,r.videoActive=e.newValue;break;case"videoDimensions":i=r.videoDimensions,e.newValue=JSON.parse(JSON.parse(e.newValue)),r.videoDimensions=e.newValue;break;case"filter":i=r.filter,e.newValue=Object.keys(e.newValue).length>0?e.newValue:void 0,void 0!==e.newValue?(r.filter=new s.Filter(e.newValue.type,e.newValue.options),r.filter.stream=r,e.newValue.lastExecMethod&&(r.filter.lastExecMethod=e.newValue.lastExecMethod)):delete r.filter,e.newValue=r.filter}t.ee.emitEvent("streamPropertyChanged",[new g.StreamPropertyChangedEvent(t,r,e.property,e.newValue,i,e.reason)]),r.streamManager&&r.streamManager.emitEvent("streamPropertyChanged",[new g.StreamPropertyChangedEvent(r.streamManager,r,e.property,e.newValue,i,e.reason)])}else b.error("No stream with streamId '"+e.streamId+"' found for connection '"+e.connectionId+"' on 'streamPropertyChanged' event")};e.connectionId===this.connection.connectionId?n(this.connection):this.getRemoteConnection(e.connectionId,"Remote connection "+e.connectionId+" unknown when 'onStreamPropertyChanged'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then((function(e){n(e)})).catch((function(e){b.error(e)}))},t.prototype.recvIceCandidate=function(e){var t={candidate:e.candidate,component:e.component,foundation:e.foundation,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,sdpMid:e.sdpMid,sdpMLineIndex:e.sdpMLineIndex,tcpType:e.tcpType,usernameFragment:e.usernameFragment,type:e.type,toJSON:function(){return{candidate:e.candidate}}};this.getConnection(e.senderConnectionId,"Connection not found for connectionId "+e.senderConnectionId+" owning endpoint "+e.endpointName+". Ice candidate will be ignored: "+t).then((function(n){var r=n.stream;r.getWebRtcPeer().addIceCandidate(t).catch((function(t){b.error("Error adding candidate for "+r.streamId+" stream of endpoint "+e.endpointName+": "+t)}))})).catch((function(e){b.error(e)}))},t.prototype.onSessionClosed=function(e){b.info("Session closed: "+JSON.stringify(e));var t=e.sessionId;void 0!==t?this.ee.emitEvent("session-closed",[{session:t}]):b.warn("Session undefined on session closed",e)},t.prototype.onLostConnection=function(e){b.warn("Lost connection in Session "+this.sessionId),this.sessionId&&!this.connection.disposed&&this.leave(!0,e)},t.prototype.onRecoveredConnection=function(){b.info("Recovered connection in Session "+this.sessionId),this.reconnectBrokenStreams(),this.ee.emitEvent("reconnected",[])},t.prototype.onMediaError=function(e){b.error("Media error: "+JSON.stringify(e));var t=e.error;t?this.ee.emitEvent("error-media",[{error:t}]):b.warn("Received undefined media error. Params:",e)},t.prototype.onRecordingStarted=function(e){this.ee.emitEvent("recordingStarted",[new d.RecordingEvent(this,"recordingStarted",e.id,e.name)])},t.prototype.onRecordingStopped=function(e){this.ee.emitEvent("recordingStopped",[new d.RecordingEvent(this,"recordingStopped",e.id,e.name,e.reason)])},t.prototype.onFilterEventDispatched=function(e){var t=e.connectionId;this.getConnection(t,"No connection found for connectionId "+t).then((function(t){b.info("Filter event dispatched");var n=t.stream;n.filter.handlers[e.eventType](new l.FilterEvent(n.filter,e.eventType,e.data))}))},t.prototype.reconnectBrokenStreams=function(){b.info("Re-establishing media connections...");var e=!1;this.connection.stream&&this.connection.stream.streamIceConnectionStateBroken()&&(b.warn("Re-establishing Publisher "+this.connection.stream.streamId),this.connection.stream.initWebRtcPeerSend(!0),e=!0);for(var t=0,n=Object.values(this.remoteConnections);t<n.length;t++){var r=n[t];r.stream&&r.stream.streamIceConnectionStateBroken()&&(b.warn("Re-establishing Subscriber "+r.stream.streamId),r.stream.initWebRtcPeerReceive(!0),e=!0)}e||b.info("There were no media streams in need of a reconnection")},t.prototype.emitEvent=function(e,t){this.ee.emitEvent(e,t)},t.prototype.leave=function(e,t){var n=this;if(b.info("Leaving Session (forced="+(e=!!e)+")"),this.connection){if(this.connection.disposed||e?this.openvidu.closeWs():this.openvidu.sendRequest("leaveRoom",(function(e,t){e&&b.error(e),n.openvidu.closeWs()})),this.stopPublisherStream(t),!this.connection.disposed){var r=new p.SessionDisconnectedEvent(this,t);this.ee.emitEvent("sessionDisconnected",[r]),r.callDefaultBehavior()}}else b.warn("You were not connected to the session "+this.sessionId)},t.prototype.initializeParams=function(e){return{token:e||"",session:this.sessionId,platform:y.description?y.description:"unknown",metadata:this.options.metadata?this.options.metadata:"",secret:this.openvidu.getSecret(),recorder:this.openvidu.getRecorder()}},t.prototype.connectAux=function(e){var t=this;return new Promise((function(n,r){t.openvidu.startWs((function(i){if(i)r(i);else{var s=t.initializeParams(e);t.openvidu.sendRequest("joinRoom",s,(function(e,i){if(e)r(e);else{t.capabilities={subscribe:!0,publish:"SUBSCRIBER"!==t.openvidu.role,forceUnpublish:"MODERATOR"===t.openvidu.role,forceDisconnect:"MODERATOR"===t.openvidu.role},t.connection=new o.Connection(t),t.connection.connectionId=i.id,t.connection.creationTime=i.createdAt,t.connection.data=i.metadata,t.connection.rpcSessionId=i.sessionId;var s={connections:new Array,streams:new Array};i.value.forEach((function(e){var n=new o.Connection(t,e);t.remoteConnections[n.connectionId]=n,s.connections.push(n),n.stream&&(t.remoteStreamsCreated[n.stream.streamId]=!0,s.streams.push(n.stream))})),t.ee.emitEvent("connectionCreated",[new u.ConnectionEvent(!1,t,"connectionCreated",t.connection,"")]),s.connections.forEach((function(e){t.ee.emitEvent("connectionCreated",[new u.ConnectionEvent(!1,t,"connectionCreated",e,"")])})),s.streams.forEach((function(e){t.ee.emitEvent("streamCreated",[new f.StreamEvent(!1,t,"streamCreated",e,"")])})),n()}}))}}))}))},t.prototype.stopPublisherStream=function(e){this.connection.stream&&(this.connection.stream.disposeWebRtcPeer(),this.connection.stream.isLocalStreamPublished&&this.connection.stream.ee.emitEvent("local-stream-destroyed",[e]))},t.prototype.stringClientMetadata=function(e){return"string"!=typeof e?JSON.stringify(e):e},t.prototype.getConnection=function(e,t){var n=this;return new Promise((function(r,i){var o=n.remoteConnections[e];o?r(o):n.connection.connectionId===e?r(n.connection):i(new m.OpenViduError(m.OpenViduErrorName.GENERIC_ERROR,t))}))},t.prototype.getRemoteConnection=function(e,t){var n=this;return new Promise((function(r,i){var o=n.remoteConnections[e];o?r(o):i(new m.OpenViduError(m.OpenViduErrorName.GENERIC_ERROR,t))}))},t.prototype.processToken=function(e){var t=e.match(/^(wss?\:)\/\/(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(t){var n={protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]},r=e.split("?"),i=decodeURI(r[1]).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){return e[t[0]]=t[1],e}),{});this.sessionId=i.sessionId;var o=i.secret,s=i.recorder,a=i.coturnIp,c=i.turnUsername,u=i.turnCredential,l=i.role,d=i.webrtcStatsInterval,p=i.version;if(o&&(this.openvidu.secret=o),s&&(this.openvidu.recorder=!0),c&&u){var h="turn:"+a+":3478";this.openvidu.iceServers=[{urls:["stun:"+a+":3478"]},{urls:[h,h+"?transport=tcp"],username:c,credential:u}],b.log("STUN/TURN server IP: "+a),b.log("TURN temp credentials ["+c+":"+u+"]")}l&&(this.openvidu.role=l),d&&(this.openvidu.webrtcStatsInterval=+d),p&&(b.info("openvidu-server version: "+p),p!==this.openvidu.libraryVersion&&b.error("OpenVidu Server ("+p+") and OpenVidu Browser ("+this.openvidu.libraryVersion+") versions do NOT match. There may be incompatibilities")),this.openvidu.wsUri="wss://"+n.host+"/openvidu",this.openvidu.httpUri="https://"+n.host}else b.error('Token "'+e+'" is not valid')},t}(c.EventDispatcher);t.Session=_},JUw6:function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var i in n)r[i]=n[i];return r.constructor=t,t.prototype=r,t}},KFtI:function(e){e.exports=JSON.parse('["stun.l.google.com:19302","stun1.l.google.com:19302","stun2.l.google.com:19302","stun3.l.google.com:19302","stun4.l.google.com:19302","stun.ekiga.net","stun.ideasip.com","stun.schlund.de","stun.stunprotocol.org:3478","stun.voiparound.com","stun.voipbuster.com","stun.voipstunt.com","stun.voxgratia.org"]')},LXjW:function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n("JUw6"),i=a(n("MW5i")),o=a(n("t/6/")),s=a(n("QSjB"));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var c=function(e){return s.run(o.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(e),r=[],i=0;i<n.length;i++){var o=n[i];!o.isLink||t&&o.type!==t||r.push(o.toObject())}return r},t.inherits=r.inherits,t.options=i,t.parser=s,t.scanner=o,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},t.tokenize=c},MW5i:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={defaultProtocol:"http",events:null,format:s,formatHref:s,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){this.defaultProtocol=(e=e||{}).hasOwnProperty("defaultProtocol")?e.defaultProtocol:i.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:i.events,this.format=e.hasOwnProperty("format")?e.format:i.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:i.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:i.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:i.tagName,this.target=e.hasOwnProperty("target")?e.target:i.target,this.validate=e.hasOwnProperty("validate")?e.validate:i.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||i.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||i.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:i.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function s(e){return e}t.defaults=i,t.Options=o,t.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var o=void 0,s=this[e];if(!s)return s;switch(void 0===s?"undefined":r(s)){case"function":return s(t,n.type);case"object":return"function"==typeof(o=s.hasOwnProperty(n.type)?s[n.type]:i[e])?o(t,n.type):o}return s},getObject:function(e,t,n){var r=this[e];return"function"==typeof r?r(t,n.type):r}}},P3vI:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("Dztv"),s=n("HxXY"),a=n("oIG1"),c=n("/dLB"),u=n("bDgZ"),l=n("9m68").OpenViduLogger.getInstance(),d=function(e){function t(t,n){var r=e.call(this)||this;if(r.videos=[],r.lazyLaunchVideoElementCreatedEvent=!1,r.stream=t,r.stream.streamManager=r,r.remote=!r.stream.isLocal(),n){var i=void 0;"string"==typeof n?i=document.getElementById(n):n instanceof HTMLElement&&(i=n),i&&(r.firstVideoElement={targetElement:i,video:document.createElement("video"),id:"",canplayListenerAdded:!1},"Safari"===u.name&&r.firstVideoElement.video.setAttribute("playsinline","true"),r.targetElement=i,r.element=i)}return r.canPlayListener=function(){r.stream.isLocal()?r.stream.displayMyRemote()?(l.info("Your own remote 'Stream' with id ["+r.stream.streamId+"] video is now playing"),r.ee.emitEvent("remoteVideoPlaying",[new a.VideoElementEvent(r.videos[0].video,r,"remoteVideoPlaying")])):(l.info("Your local 'Stream' with id ["+r.stream.streamId+"] video is now playing"),r.ee.emitEvent("videoPlaying",[new a.VideoElementEvent(r.videos[0].video,r,"videoPlaying")])):(l.info("Remote 'Stream' with id ["+r.stream.streamId+"] video is now playing"),r.ee.emitEvent("videoPlaying",[new a.VideoElementEvent(r.videos[0].video,r,"videoPlaying")])),r.ee.emitEvent("streamPlaying",[new s.StreamManagerEvent(r,"streamPlaying",void 0)])},r}return i(t,e),t.prototype.on=function(t,n){return e.prototype.onAux.call(this,t,"Event '"+t+"' triggered by '"+(this.remote?"Subscriber":"Publisher")+"'",n),"videoElementCreated"===t&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&(this.ee.emitEvent("videoElementCreated",[new a.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!1),"streamPlaying"!==t&&"videoPlaying"!==t||this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&(this.ee.emitEvent("streamPlaying",[new s.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new a.VideoElementEvent(this.videos[0].video,this,"videoPlaying")])),"streamAudioVolumeChange"===t&&this.stream.hasAudio&&this.stream.enableVolumeChangeEvent(!1),this},t.prototype.once=function(t,n){return e.prototype.onceAux.call(this,t,"Event '"+t+"' triggered once by '"+(this.remote?"Subscriber":"Publisher")+"'",n),"videoElementCreated"===t&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&this.ee.emitEvent("videoElementCreated",[new a.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),"streamPlaying"!==t&&"videoPlaying"!==t||this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&(this.ee.emitEvent("streamPlaying",[new s.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new a.VideoElementEvent(this.videos[0].video,this,"videoPlaying")])),"streamAudioVolumeChange"===t&&this.stream.hasAudio&&this.stream.enableOnceVolumeChangeEvent(!1),this},t.prototype.off=function(t,n){return e.prototype.off.call(this,t,n),"streamAudioVolumeChange"===t&&0===this.ee.getListeners(t).length&&this.stream.disableVolumeChangeEvent(!1),this},t.prototype.addVideoElement=function(e){this.initializeVideoProperties(e),this.stream.isLocal()&&this.stream.displayMyRemote()&&e.srcObject!==this.stream.getMediaStream()&&(e.srcObject=this.stream.getMediaStream());for(var t=0,n=this.videos;t<n.length;t++)if(n[t].video===e)return 0;for(var r=1,i=0,o=this.stream.session.streamManagers;i<o.length;i++)if(o[i].disassociateVideo(e)){r=-1;break}return this.stream.session.streamManagers.forEach((function(t){t.disassociateVideo(e)})),this.pushNewStreamManagerVideo({video:e,id:e.id,canplayListenerAdded:!1}),l.info("New video element associated to ",this),r},t.prototype.createVideoElement=function(e,t){var n;if("string"==typeof e){if(!(n=document.getElementById(e)))throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+e)}else{if(!(e instanceof HTMLElement))throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+e);n=e}var r=this.createVideo();this.initializeVideoProperties(r);var i=t||c.VideoInsertMode.APPEND;switch(i){case c.VideoInsertMode.AFTER:n.parentNode.insertBefore(r,n.nextSibling);break;case c.VideoInsertMode.APPEND:n.appendChild(r);break;case c.VideoInsertMode.BEFORE:n.parentNode.insertBefore(r,n);break;case c.VideoInsertMode.PREPEND:n.insertBefore(r,n.childNodes[0]);break;case c.VideoInsertMode.REPLACE:n.parentNode.replaceChild(r,n);break;default:i=c.VideoInsertMode.APPEND,n.appendChild(r)}var o={targetElement:n,video:r,insertMode:i,id:r.id,canplayListenerAdded:!1};return this.pushNewStreamManagerVideo(o),this.ee.emitEvent("videoElementCreated",[new a.VideoElementEvent(o.video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!!this.firstVideoElement,r},t.prototype.updatePublisherSpeakingEventsOptions=function(e){var t=this.stream.harkOptions?this.stream.harkOptions:this.stream.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{},n="number"==typeof e.interval?e.interval:"number"==typeof t.interval?t.interval:100,r="number"==typeof e.threshold?e.threshold:"number"==typeof t.threshold?t.threshold:-50;this.stream.harkOptions={interval:n,threshold:r},this.stream.speechEvent&&(this.stream.speechEvent.setInterval(n),this.stream.speechEvent.setThreshold(r))},t.prototype.initializeVideoProperties=function(e){this.stream.isLocal()&&this.stream.displayMyRemote()||e.srcObject!==this.stream.getMediaStream()&&(e.srcObject=this.stream.getMediaStream()),e.autoplay=!0,e.controls=!1,"Safari"===u.name&&e.setAttribute("playsinline","true"),e.id||(e.id=(this.remote?"remote-":"local-")+"video-"+this.stream.streamId,!this.id&&this.targetElement&&(this.id=e.id)),this.remote||this.stream.displayMyRemote()||(e.muted=!0,"rotateY(180deg)"!==e.style.transform||this.stream.outboundStreamOpts.publisherProperties.mirror?this.stream.outboundStreamOpts.publisherProperties.mirror&&!this.stream.isSendScreen()&&this.mirrorVideo(e):this.removeMirrorVideo(e))},t.prototype.removeAllVideos=function(){for(var e=this,t=this.stream.session.streamManagers.length-1;t>=0;--t)this.stream.session.streamManagers[t]===this&&this.stream.session.streamManagers.splice(t,1);this.videos.forEach((function(t){t.video&&t.video.removeEventListener&&t.video.removeEventListener("canplay",e.canPlayListener),t.canplayListenerAdded=!1,t.targetElement&&(t.video.parentNode.removeChild(t.video),e.ee.emitEvent("videoElementDestroyed",[new a.VideoElementEvent(t.video,e,"videoElementDestroyed")])),e.removeSrcObject(t),e.videos.filter((function(e){return!e.targetElement}))}))},t.prototype.disassociateVideo=function(e){for(var t=!1,n=0;n<this.videos.length;n++)if(this.videos[n].video===e){this.videos[n].video.removeEventListener("canplay",this.canPlayListener),this.videos.splice(n,1),t=!0,l.info("Video element disassociated from ",this);break}return t},t.prototype.addPlayEventToFirstVideo=function(){this.videos[0]&&this.videos[0].video&&!this.videos[0].canplayListenerAdded&&(this.videos[0].video.addEventListener("canplay",this.canPlayListener),this.videos[0].canplayListenerAdded=!0)},t.prototype.updateMediaStream=function(e){this.videos.forEach((function(t){if(t.video.srcObject=e,u.isIonicIos){var n=t.video;t.video.parentElement.replaceChild(n,t.video),t.video=n}}))},t.prototype.emitEvent=function(e,t){this.ee.emitEvent(e,t)},t.prototype.createVideo=function(){return document.createElement("video")},t.prototype.removeSrcObject=function(e){e.video.srcObject=null},t.prototype.pushNewStreamManagerVideo=function(e){this.videos.push(e),this.addPlayEventToFirstVideo(),-1===this.stream.session.streamManagers.indexOf(this)&&this.stream.session.streamManagers.push(this)},t.prototype.mirrorVideo=function(e){u.isIonicIos||(e.style.transform="rotateY(180deg)",e.style.webkitTransform="rotateY(180deg)")},t.prototype.removeMirrorVideo=function(e){e.style.transform="unset",e.style.webkitTransform="unset"},t}(o.EventDispatcher);t.StreamManager=d},PEz1:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("JTMn"),s=n("DPKQ"),a=n("P3vI"),c=n("Te8r"),u=n("BwMD"),l=n("oIG1"),d=n("Tt94"),p=n("bDgZ"),h=n("9m68").OpenViduLogger.getInstance(),f=function(e){function t(t,n,r){var i=e.call(this,new s.Stream(r.session?r.session:new o.Session(r),{publisherProperties:n,mediaConstraints:{}}),t)||this;return i.accessAllowed=!1,i.isSubscribedToRemote=!1,i.accessDenied=!1,i.properties=n,i.openvidu=r,i.stream.ee.on("local-stream-destroyed",(function(e){i.stream.isLocalStreamPublished=!1;var t=new c.StreamEvent(!0,i,"streamDestroyed",i.stream,e);i.emitEvent("streamDestroyed",[t]),t.callDefaultBehavior()})),i}return i(t,e),t.prototype.publishAudio=function(e){var t=this;this.stream.audioActive!==e&&((this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream()).getAudioTracks().forEach((function(t){t.enabled=e})),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"audioActive",newValue:e,reason:"publishAudio"},(function(n,r){n?h.error("Error sending 'streamPropertyChanged' event",n):(t.session.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(t.session,t.stream,"audioActive",e,!e,"publishAudio")]),t.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(t,t.stream,"audioActive",e,!e,"publishAudio")]))})),this.stream.audioActive=e,h.info("'Publisher' has "+(e?"published":"unpublished")+" its audio stream"))},t.prototype.publishVideo=function(e){var t=this;this.stream.videoActive!==e&&((this.stream.displayMyRemote()?this.stream.localMediaStreamWhenSubscribedToRemote:this.stream.getMediaStream()).getVideoTracks().forEach((function(t){t.enabled=e})),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"videoActive",newValue:e,reason:"publishVideo"},(function(n,r){n?h.error("Error sending 'streamPropertyChanged' event",n):(t.session.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(t.session,t.stream,"videoActive",e,!e,"publishVideo")]),t.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(t,t.stream,"videoActive",e,!e,"publishVideo")]))})),this.stream.videoActive=e,h.info("'Publisher' has "+(e?"published":"unpublished")+" its video stream"))},t.prototype.subscribeToRemote=function(e){this.isSubscribedToRemote=e=void 0===e||e,this.stream.subscribeToMyRemote(e)},t.prototype.on=function(t,n){var r=this;return e.prototype.on.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new c.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.on("stream-created-by-publisher",(function(){r.emitEvent("streamCreated",[new c.StreamEvent(!1,r,"streamCreated",r.stream,"")])}))),"remoteVideoPlaying"===t&&this.stream.displayMyRemote()&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&this.emitEvent("remoteVideoPlaying",[new l.VideoElementEvent(this.videos[0].video,this,"remoteVideoPlaying")]),"accessAllowed"===t&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),"accessDenied"===t&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},t.prototype.once=function(t,n){var r=this;return e.prototype.once.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new c.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.once("stream-created-by-publisher",(function(){r.emitEvent("streamCreated",[new c.StreamEvent(!1,r,"streamCreated",r.stream,"")])}))),"remoteVideoPlaying"===t&&this.stream.displayMyRemote()&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&this.emitEvent("remoteVideoPlaying",[new l.VideoElementEvent(this.videos[0].video,this,"remoteVideoPlaying")]),"accessAllowed"===t&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),"accessDenied"===t&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},t.prototype.replaceTrack=function(e){var t=this,n=function(){var n,r=t.stream.displayMyRemote()?t.stream.localMediaStreamWhenSubscribedToRemote:t.stream.getMediaStream();n="video"===e.kind?r.getVideoTracks()[0]:r.getAudioTracks()[0],r.removeTrack(n),n.stop(),r.addTrack(e)};return new Promise((function(r,i){if(t.stream.isLocalStreamPublished){var o=t.stream.getRTCPeerConnection().getSenders(),s=void 0;"video"===e.kind?(s=o.find((function(e){return!!e.track&&"video"===e.track.kind})))||i(new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")):"audio"===e.kind?(s=o.find((function(e){return!!e.track&&"audio"===e.track.kind})))||i(new Error("There's no replaceable track for that kind of MediaStreamTrack in this Publisher object")):i(new Error("Unknown track kind "+e.kind)),s.replaceTrack(e).then((function(){n(),r()})).catch((function(e){i(e)}))}else n(),r()}))},t.prototype.initialize=function(){var e=this;return new Promise((function(t,n){var r,i={},o={},s=function(t){e.accessDenied=!0,e.accessAllowed=!1,n(t)},a=function(n){if(e.accessAllowed=!0,e.accessDenied=!1,"undefined"!=typeof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack&&(n.removeTrack(n.getAudioTracks()[0]),n.addTrack(e.properties.audioSource)),"undefined"!=typeof MediaStreamTrack&&e.properties.videoSource instanceof MediaStreamTrack&&(n.removeTrack(n.getVideoTracks()[0]),n.addTrack(e.properties.videoSource)),n.getAudioTracks()[0]){var r=null!=e.stream.audioActive?e.stream.audioActive:!!e.stream.outboundStreamOpts.publisherProperties.publishAudio;n.getAudioTracks()[0].enabled=r}if(n.getVideoTracks()[0]&&(r=null!=e.stream.videoActive?e.stream.videoActive:!!e.stream.outboundStreamOpts.publisherProperties.publishVideo,n.getVideoTracks()[0].enabled=r),e.initializeVideoReference(n),e.stream.displayMyRemote()||e.stream.updateMediaStreamInVideos(),delete e.firstVideoElement,e.stream.isSendVideo())if(e.stream.isSendScreen())e.videoReference.addEventListener("loadedmetadata",(function(){e.stream.videoDimensions={width:e.videoReference.videoWidth,height:e.videoReference.videoHeight},e.screenShareResizeInterval=setInterval((function(){var t=n.getVideoTracks()[0].getSettings(),r="Chrome"===p.name||"Opera"===p.name?e.videoReference.videoWidth:t.width,i="Chrome"===p.name||"Opera"===p.name?e.videoReference.videoHeight:t.height;if(e.stream.isLocalStreamPublished&&(r!==e.stream.videoDimensions.width||i!==e.stream.videoDimensions.height)){var o={width:e.stream.videoDimensions.width,height:e.stream.videoDimensions.height};e.stream.videoDimensions={width:r||0,height:i||0},e.session.openvidu.sendRequest("streamPropertyChanged",{streamId:e.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(e.stream.videoDimensions),reason:"screenResized"},(function(t,n){t?h.error("Error sending 'streamPropertyChanged' event",t):(e.session.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(e.session,e.stream,"videoDimensions",e.stream.videoDimensions,o,"screenResized")]),e.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(e,e.stream,"videoDimensions",e.stream.videoDimensions,o,"screenResized")]))}))}}),500),e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[])}));else if(p.isIonicIos||"Safari"===p.name){e.videoReference.style.display="none",document.body.appendChild(e.videoReference);var i,o=function(){e.stream.videoDimensions={width:e.videoReference.videoWidth,height:e.videoReference.videoHeight},e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[]),document.body.removeChild(e.videoReference)};e.videoReference.addEventListener("loadedmetadata",(function(){0===e.videoReference.videoWidth?i=setInterval((function(){0!==e.videoReference.videoWidth&&(clearInterval(i),o())}),40):o()}))}else{var s=e.getVideoDimensions(n),a=s.width,c=s.height;e.stream.videoDimensions=("iOS"===p.os.family||"Android"===p.os.family)&&window.innerHeight>window.innerWidth?{width:c||0,height:a||0}:{width:a||0,height:c||0},e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[])}else e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[]);t()},c=function(t,n){e.clearPermissionDialogTimer(r,1250),e.stream.isSendScreen()&&e.stream.isSendAudio()?(o.audio=n,o.video=!1,r=Date.now(),e.setPermissionDialogTimer(1250),navigator.mediaDevices.getUserMedia(o).then((function(n){e.clearPermissionDialogTimer(r,1250),t.addTrack(n.getAudioTracks()[0]),a(t)})).catch((function(n){e.clearPermissionDialogTimer(r,1250),t.getAudioTracks().forEach((function(e){e.stop()})),t.getVideoTracks().forEach((function(e){e.stop()})),s(e.openvidu.generateAudioDeviceError(n,i))}))):a(t)},l=function(t){var n,o;switch(h.error(t),e.clearPermissionDialogTimer(r,1250),"Error"===t.name&&(t.name=t.constructor.name),t.name.toLowerCase()){case"notfounderror":navigator.mediaDevices.getUserMedia({audio:!1,video:i.video}).then((function(e){e.getVideoTracks().forEach((function(e){e.stop()})),n=d.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o=t.toString(),s(new d.OpenViduError(n,o))})).catch((function(e){n=d.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,o=t.toString(),s(new d.OpenViduError(n,o))}));break;case"notallowederror":n=e.stream.isSendScreen()?d.OpenViduErrorName.SCREEN_CAPTURE_DENIED:d.OpenViduErrorName.DEVICE_ACCESS_DENIED,o=t.toString(),s(new d.OpenViduError(n,o));break;case"overconstrainederror":navigator.mediaDevices.getUserMedia({audio:!1,video:i.video}).then((function(e){e.getVideoTracks().forEach((function(e){e.stop()})),"deviceid"===t.constraint.toLowerCase()?(n=d.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o="Audio input device with deviceId '"+i.audio.deviceId.exact+"' not found"):(n=d.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,o="Audio input device doesn't support the value passed for constraint '"+t.constraint+"'"),s(new d.OpenViduError(n,o))})).catch((function(e){"deviceid"===t.constraint.toLowerCase()?(n=d.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,o="Video input device with deviceId '"+i.video.deviceId.exact+"' not found"):(n=d.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,o="Video input device doesn't support the value passed for constraint '"+t.constraint+"'"),s(new d.OpenViduError(n,o))}));break;case"aborterror":case"notreadableerror":n=d.OpenViduErrorName.DEVICE_ALREADY_IN_USE,o=t.toString(),s(new d.OpenViduError(n,o));break;default:n=d.OpenViduErrorName.GENERIC_ERROR,o=t.toString(),s(new d.OpenViduError(n,o))}};e.openvidu.generateMediaConstraints(e.properties).then((function(t){var n,s;if(t.videoTrack&&t.audioTrack||t.audioTrack&&!1===(null===(n=t.constraints)||void 0===n?void 0:n.video)||t.videoTrack&&!1===(null===(s=t.constraints)||void 0===s?void 0:s.audio))a(e.openvidu.addAlreadyProvidedTracks(t,new MediaStream));else{e.stream.setOutboundStreamOptions({mediaConstraints:i=t.constraints,publisherProperties:e.properties});var u=void 0===i.audio||i.audio;o.audio=!e.stream.isSendScreen()&&u,o.video=i.video,r=Date.now(),e.setPermissionDialogTimer(1250),e.stream.isSendScreen()&&navigator.mediaDevices.getDisplayMedia&&"Electron"!==p.name?navigator.mediaDevices.getDisplayMedia({video:!0}).then((function(n){e.openvidu.addAlreadyProvidedTracks(t,n),c(n,u)})).catch((function(e){l(e)})):navigator.mediaDevices.getUserMedia(o).then((function(n){e.openvidu.addAlreadyProvidedTracks(t,n),c(n,u)})).catch((function(e){l(e)}))}})).catch((function(e){s(e)}))}))},t.prototype.getVideoDimensions=function(e){return e.getVideoTracks()[0].getSettings()},t.prototype.reestablishStreamPlayingEvent=function(){this.ee.getListeners("streamPlaying").length>0&&this.addPlayEventToFirstVideo()},t.prototype.initializeVideoReference=function(e){this.videoReference=document.createElement("video"),"Safari"===p.name&&this.videoReference.setAttribute("playsinline","true"),this.stream.setMediaStream(e),this.firstVideoElement&&this.createVideoElement(this.firstVideoElement.targetElement,this.properties.insertMode),this.videoReference.srcObject=e},t.prototype.setPermissionDialogTimer=function(e){var t=this;this.permissionDialogTimeout=setTimeout((function(){t.emitEvent("accessDialogOpened",[])}),e)},t.prototype.clearPermissionDialogTimer=function(e,t){clearTimeout(this.permissionDialogTimeout),Date.now()-e>t&&this.emitEvent("accessDialogClosed",[])},t}(a.StreamManager);t.Publisher=f},PPcv:function(e,t,n){"use strict";t.__esModule=!0;var r=n("tInm"),i=n("PEz1"),o=n("JTMn"),s=n("BwMD"),a=n("Tt94"),c=n("/dLB"),u=n("9m68"),l=n("+27z"),d=n("EcWD"),p=n("6+/i"),h=n("AeG9"),f=n("bDgZ");f.isIonicIos=("iPhone"===f.product||"iPad"===f.product)&&-1===f.ua.indexOf("Safari"),f.isIonicAndroid="Android"===f.os.family&&"Android Browser"==f.name;var g=n("vqFl"),m=u.OpenViduLogger.getInstance(),v=function(){function e(){var e=this;this.publishers=[],this.secret="",this.recorder=!1,this.advancedConfiguration={},this.webrtcStatsInterval=0,this.ee=new p,this.libraryVersion=g.version,m.info("'OpenVidu' initialized"),m.info("openvidu-browser version: "+this.libraryVersion),"iOS"!==f.os.family&&"Android"!==f.os.family||window.addEventListener("orientationchange",(function(){e.publishers.forEach((function(t){if(t.stream.isLocalStreamPublished&&t.stream&&t.stream.hasVideo&&t.stream.streamManager.videos[0])var n=0,r=t.stream.videoDimensions.width,i=t.stream.videoDimensions.height,o=setInterval((function(){new Promise((function(e,n){if(f.isIonicIos)e({newWidth:t.stream.streamManager.videos[0].video.videoWidth,newHeight:t.stream.streamManager.videos[0].video.videoHeight});else{var r=t.stream.getMediaStream().getVideoTracks()[0].getSettings();e({newWidth:-1!==f.name.toLowerCase().indexOf("firefox")?r.width:t.videoReference.videoWidth,newHeight:-1!==f.name.toLowerCase().indexOf("firefox")?r.height:t.videoReference.videoHeight})}})).then((function(e){a(r,i,e.newWidth,e.newHeight)}))}),75),a=function(r,i,a,c){++n>10&&clearTimeout(o),a===r&&c===i||(t.stream.videoDimensions={width:a||0,height:c||0},e.sendRequest("streamPropertyChanged",{streamId:t.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(t.stream.videoDimensions),reason:"deviceRotated"},(function(n,o){n?m.error("Error sending 'streamPropertyChanged' event",n):(e.session.emitEvent("streamPropertyChanged",[new s.StreamPropertyChangedEvent(e.session,t.stream,"videoDimensions",t.stream.videoDimensions,{width:r,height:i},"deviceRotated")]),t.emitEvent("streamPropertyChanged",[new s.StreamPropertyChangedEvent(t,t.stream,"videoDimensions",t.stream.videoDimensions,{width:r,height:i},"deviceRotated")]))})),clearTimeout(o))}}))}))}return e.prototype.initSession=function(){return this.session=new o.Session(this),this.session},e.prototype.initPublisher=function(e,t,n){var r;r=t&&"function"!=typeof t?{audioSource:void 0!==(r=t).audioSource?r.audioSource:void 0,frameRate:"undefined"!=typeof MediaStreamTrack&&r.videoSource instanceof MediaStreamTrack?void 0:void 0!==r.frameRate?r.frameRate:void 0,insertMode:void 0!==r.insertMode?"string"==typeof r.insertMode?c.VideoInsertMode[r.insertMode]:r.insertMode:c.VideoInsertMode.APPEND,mirror:void 0===r.mirror||r.mirror,publishAudio:void 0===r.publishAudio||r.publishAudio,publishVideo:void 0===r.publishVideo||r.publishVideo,resolution:"undefined"!=typeof MediaStreamTrack&&r.videoSource instanceof MediaStreamTrack?void 0:void 0!==r.resolution?r.resolution:"640x480",videoSource:void 0!==r.videoSource?r.videoSource:void 0,filter:r.filter}:{insertMode:c.VideoInsertMode.APPEND,mirror:!0,publishAudio:!0,publishVideo:!0,resolution:"640x480"};var o,s=new i.Publisher(e,r,this);return t&&"function"==typeof t?o=t:n&&(o=n),s.initialize().then((function(){void 0!==o&&o(void 0),s.emitEvent("accessAllowed",[])})).catch((function(e){void 0!==o&&o(e),s.emitEvent("accessDenied",[e])})),this.publishers.push(s),s},e.prototype.initPublisherAsync=function(e,t){var n=this;return new Promise((function(r,i){var o,s=function(e){e?i(e):r(o)};o=t?n.initPublisher(e,t,s):n.initPublisher(e,s)}))},e.prototype.initLocalRecorder=function(e){return new r.LocalRecorder(e)},e.prototype.checkSystemRequirements=function(){var e=f.name,t=f.ua?f.ua:navigator.userAgent;return this.isIPhoneOrIPad(t)?this.isIOSWithSafari(t)?1:0:"Safari"===e||"Chrome"===e||"Chrome Mobile"===e||"Firefox"===e||"Firefox Mobile"===e||"Opera"===e||"Opera Mobile"===e||"Android Browser"===e||"Electron"===e||"Samsung Internet Mobile"===e||"Samsung Internet"===e?1:0},e.prototype.checkScreenSharingCapabilities=function(){var e=f.name,t=(null==f?void 0:f.version)?parseFloat(f.version):-1,n=f.os.family;return"iOS"===n||"Android"===n||"Chrome"!==e&&"Firefox"!==e&&"Opera"!==e&&"Electron"!==e&&"Safari"===e&&t<13?0:1},e.prototype.getDevices=function(){return new Promise((function(e,t){navigator.mediaDevices.enumerateDevices().then((function(t){var n,r=[];f.isIonicAndroid&&"undefined"!=typeof cordova&&(null===(n=null===cordova||void 0===cordova?void 0:cordova.plugins)||void 0===n?void 0:n.EnumerateDevicesPlugin)?cordova.plugins.EnumerateDevicesPlugin.getEnumerateDevices().then((function(n){var i=[],o=[],s=[];i=n.filter((function(e){return"audioinput"===e.kind})),o=t.filter((function(e){return"videoinput"===e.kind})),s=t.filter((function(e){return"audioinput"===e.kind})),o.forEach((function(e,t){r.push(e.label?{kind:e.kind,deviceId:e.deviceId,label:e.label}:{kind:e.kind,deviceId:e.deviceId,label:0===t?"Front Camera":1===t?"Back Camera":"Unknown Camera"})})),s.forEach((function(e,t){if(e.label)r.push({kind:e.kind,deviceId:e.deviceId,label:e.label});else{var n="";switch(t){case 0:n="Default";break;case 1:var o=i.filter((function(e){return e.label.includes("Built")}))[0];n=o?o.label:"Built-in Microphone";break;case 2:var s=i.filter((function(e){return e.label.includes("Wired")}))[0];n=s?s.label:"Headset earpiece";break;case 3:var a=i.filter((function(e){return e.label.includes("Bluetooth")}))[0];n=a?a.label:"Wireless";break;default:n="Unknown Microphone"}r.push({kind:e.kind,deviceId:e.deviceId,label:n})}})),e(r)})):(t.forEach((function(e){"audioinput"!==e.kind&&"videoinput"!==e.kind||r.push({kind:e.kind,deviceId:e.deviceId,label:e.label})})),e(r))})).catch((function(e){m.error("Error getting devices",e),t(e)}))}))},e.prototype.getUserMedia=function(e){var t=this;return new Promise((function(n,r){var i=function(e,i){var o={audio:void 0===i.audio||i.audio,video:!1};navigator.mediaDevices.getUserMedia(o).then((function(t){e.addTrack(t.getAudioTracks()[0]),n(e)})).catch((function(n){e.getAudioTracks().forEach((function(e){e.stop()})),e.getVideoTracks().forEach((function(e){e.stop()})),r(t.generateAudioDeviceError(n,o))}))};t.generateMediaConstraints(e).then((function(o){var s,c;if(o.videoTrack&&o.audioTrack||o.audioTrack&&!1===(null===(s=o.constraints)||void 0===s?void 0:s.video)||o.videoTrack&&!1===(null===(c=o.constraints)||void 0===c?void 0:c.audio))n(t.addAlreadyProvidedTracks(o,new MediaStream));else{o.videoTrack&&delete o.constraints.video,o.audioTrack&&delete o.constraints.audio;var u=!1;if("string"==typeof e.videoSource&&("screen"===e.videoSource||"window"===e.videoSource||"Electron"===f.name&&e.videoSource.startsWith("screen:"))&&(u=!o.audioTrack&&null!==e.audioSource&&!1!==e.audioSource,navigator.mediaDevices.getDisplayMedia&&"Electron"!==f.name))return void navigator.mediaDevices.getDisplayMedia({video:!0}).then((function(e){t.addAlreadyProvidedTracks(o,e),u?i(e,o.constraints):n(e)})).catch((function(e){var t=a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,n=e.toString();r(new a.OpenViduError(t,n))}));navigator.mediaDevices.getUserMedia(u?{video:o.constraints.video}:o.constraints).then((function(e){t.addAlreadyProvidedTracks(o,e),u?i(e,o.constraints):n(e)})).catch((function(t){var n=t.toString();r(new a.OpenViduError("screen"!==e.videoSource?a.OpenViduErrorName.DEVICE_ACCESS_DENIED:a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,n))}))}})).catch((function(e){r(e)}))}))},e.prototype.enableProdMode=function(){m.enableProdMode()},e.prototype.setAdvancedConfiguration=function(e){this.advancedConfiguration=e},e.prototype.generateMediaConstraints=function(e){var t=this;return new Promise((function(n,r){var i={audioTrack:void 0,videoTrack:void 0,constraints:{audio:void 0,video:void 0}},o=e.audioSource,s=e.videoSource;if(null!==o&&!1!==o||(i.constraints.audio=!1),null!==s&&!1!==s||(i.constraints.video=!1),!1===i.constraints.audio&&!1===i.constraints.video&&r(new a.OpenViduError(a.OpenViduErrorName.NO_INPUT_SOURCE_SET,"Properties 'audioSource' and 'videoSource' cannot be set to false or null at the same time")),"undefined"!=typeof MediaStreamTrack&&o instanceof MediaStreamTrack&&(i.audioTrack=o),"undefined"!=typeof MediaStreamTrack&&s instanceof MediaStreamTrack&&(i.videoTrack=s),void 0===o&&(i.constraints.audio=!0),void 0===s&&(i.constraints.video={width:{ideal:640},height:{ideal:480}}),null!==s&&!1!==s){if(e.resolution){var c=e.resolution.toLowerCase().split("x"),u=Number(c[0]),l=Number(c[1]);i.constraints.video={width:{ideal:u},height:{ideal:l}}}e.frameRate&&(i.constraints.video.frameRate={ideal:e.frameRate})}t.configureDeviceIdOrScreensharing(i,e,n,r),n(i)}))},e.prototype.startWs=function(e){var t={heartbeat:5e3,sendCloseMessage:!1,ws:{uri:this.wsUri,onconnected:e,ondisconnect:this.disconnectCallback.bind(this),onreconnecting:this.reconnectingCallback.bind(this),onreconnected:this.reconnectedCallback.bind(this)},rpc:{requestTimeout:1e4,participantJoined:this.session.onParticipantJoined.bind(this.session),participantPublished:this.session.onParticipantPublished.bind(this.session),participantUnpublished:this.session.onParticipantUnpublished.bind(this.session),participantLeft:this.session.onParticipantLeft.bind(this.session),participantEvicted:this.session.onParticipantEvicted.bind(this.session),recordingStarted:this.session.onRecordingStarted.bind(this.session),recordingStopped:this.session.onRecordingStopped.bind(this.session),sendMessage:this.session.onNewMessage.bind(this.session),streamPropertyChanged:this.session.onStreamPropertyChanged.bind(this.session),filterEventDispatched:this.session.onFilterEventDispatched.bind(this.session),iceCandidate:this.session.recvIceCandidate.bind(this.session),mediaError:this.session.onMediaError.bind(this.session)}};this.jsonRpcClient=new h.clients.JsonRpcClient(t)},e.prototype.closeWs=function(){this.jsonRpcClient.close(4102,"Connection closed by client")},e.prototype.sendRequest=function(e,t,n){t&&t instanceof Function&&(n=t,t={}),m.debug('Sending request: {method:"'+e+'", params: '+JSON.stringify(t)+"}"),this.jsonRpcClient.send(e,t,n)},e.prototype.getWsUri=function(){return this.wsUri},e.prototype.getSecret=function(){return this.secret},e.prototype.getRecorder=function(){return this.recorder},e.prototype.generateAudioDeviceError=function(e,t){var n,r;switch("Error"===e.name&&(e.name=e.constructor.name),e.name.toLowerCase()){case"notfounderror":return n=a.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,r=e.toString(),new a.OpenViduError(n,r);case"notallowederror":return n=a.OpenViduErrorName.DEVICE_ACCESS_DENIED,r=e.toString(),new a.OpenViduError(n,r);case"overconstrainederror":return"deviceid"===e.constraint.toLowerCase()?(n=a.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,r="Audio input device with deviceId '"+t.audio.deviceId.exact+"' not found"):(n=a.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,r="Audio input device doesn't support the value passed for constraint '"+e.constraint+"'"),new a.OpenViduError(n,r);case"notreadableerror":return n=a.OpenViduErrorName.DEVICE_ALREADY_IN_USE,r=e.toString(),new a.OpenViduError(n,r);default:return new a.OpenViduError(a.OpenViduErrorName.INPUT_AUDIO_DEVICE_GENERIC_ERROR,e.toString())}},e.prototype.addAlreadyProvidedTracks=function(e,t){return e.videoTrack&&t.addTrack(e.videoTrack),e.audioTrack&&t.addTrack(e.audioTrack),t},e.prototype.configureDeviceIdOrScreensharing=function(e,t,n,r){var i=this,o=t.audioSource,s=t.videoSource;if("string"==typeof o&&(e.constraints.audio={deviceId:{exact:o}}),"string"==typeof s)if(this.isScreenShare(s))if(this.checkScreenSharingCapabilities())if("Electron"===f.name){var c=s.substr(s.indexOf("screen:")+"screen:".length);e.constraints.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:c}},n(e)}else{if(this.advancedConfiguration.screenShareChromeExtension&&-1===f.name.indexOf("Firefox")&&!navigator.mediaDevices.getDisplayMedia)return void d.getScreenConstraints((function(t,o){if(t||o.mandatory&&"screen"===o.mandatory.chromeMediaSource){if("permission-denied"!==t&&"PermissionDeniedError"!==t){var s=i.advancedConfiguration.screenShareChromeExtension.split("/").pop().trim();return void d.getChromeExtensionStatus(s,(function(e){if("installed-disabled"===e){var t=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");m.error(t),r(t)}if("not-installed"===e){var n=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,i.advancedConfiguration.screenShareChromeExtension);m.error(n),r(n)}}))}var c=new a.OpenViduError(a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");m.error(c),r(c)}else e.constraints.video=o,n(e)}));if(!navigator.mediaDevices.getDisplayMedia){var u=-1!==f.name.indexOf("Firefox")?t.videoSource:void 0;return void l.getScreenId(u,(function(t,o,s){if(t)if("not-installed"===t){var c=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,i.advancedConfiguration.screenShareChromeExtension?i.advancedConfiguration.screenShareChromeExtension:"https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold");m.error(c),r(c)}else"installed-disabled"===t?(c=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension"),m.error(c),r(c)):"permission-denied"===t?(c=new a.OpenViduError(a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop"),m.error(c),r(c)):(c=new a.OpenViduError(a.OpenViduErrorName.GENERIC_ERROR,"Unknown error when accessing screen share"),m.error(c),m.error(t),r(c));else e.constraints.video=s.video,n(e)}))}n(e)}else{var p=new a.OpenViduError(a.OpenViduErrorName.SCREEN_SHARING_NOT_SUPPORTED,"You can only screen share in desktop Chrome, Firefox, Opera, Safari (>=13.0) or Electron. Detected client: "+f.name);m.error(p),r(p)}else this.setVideoSource(e,s)},e.prototype.setVideoSource=function(e,t){e.constraints.video||(e.constraints.video={}),e.constraints.video.deviceId={exact:t}},e.prototype.disconnectCallback=function(){m.warn("Websocket connection lost"),this.isRoomAvailable()?this.session.onLostConnection("networkDisconnect"):alert("Connection error. Please reload page.")},e.prototype.reconnectingCallback=function(){m.warn("Websocket connection lost (reconnecting)"),this.isRoomAvailable()?this.session.emitEvent("reconnecting",[]):alert("Connection error. Please reload page.")},e.prototype.reconnectedCallback=function(){var e=this;m.warn("Websocket reconnected"),this.isRoomAvailable()?this.sendRequest("connect",{sessionId:this.session.connection.rpcSessionId},(function(t,n){t?(m.error(t),m.warn("Websocket was able to reconnect to OpenVidu Server, but your Connection was already destroyed due to timeout. You are no longer a participant of the Session and your media streams have been destroyed"),e.session.onLostConnection("networkDisconnect"),e.jsonRpcClient.close(4101,"Reconnection fault")):(e.jsonRpcClient.resetPing(),e.session.onRecoveredConnection())})):alert("Connection error. Please reload page.")},e.prototype.isRoomAvailable=function(){return void 0!==this.session&&this.session instanceof o.Session||(m.warn("Session instance not found"),!1)},e.prototype.isScreenShare=function(e){return"screen"===e||"window"===e||"Electron"===f.name&&e.startsWith("screen:")},e.prototype.isIPhoneOrIPad=function(e){var t="ontouchend"in document,n=/\b(\w*Macintosh\w*)\b/.test(e)&&t,r=/\b(\w*iPhone\w*)\b/.test(e)&&/\b(\w*Mobile\w*)\b/.test(e)&&t;return n||r},e.prototype.isIOSWithSafari=function(e){return/\b(\w*Apple\w*)\b/.test(navigator.vendor)&&/\b(\w*Safari\w*)\b/.test(e)&&!/\b(\w*CriOS\w*)\b/.test(e)&&!/\b(\w*FxiOS\w*)\b/.test(e)},e}();t.OpenVidu=v},PZzU:function(e,t,n){"use strict";t.__esModule=!0;var r=n("PPcv");t.OpenVidu=r.OpenVidu;var i=n("JTMn");t.Session=i.Session;var o=n("PEz1");t.Publisher=o.Publisher;var s=n("bk74");t.Subscriber=s.Subscriber;var a=n("P3vI");t.StreamManager=a.StreamManager;var c=n("DPKQ");t.Stream=c.Stream;var u=n("ryRr");t.Connection=u.Connection;var l=n("tInm");t.LocalRecorder=l.LocalRecorder;var d=n("74bm");t.Filter=d.Filter;var p=n("Yn0Z");t.LocalRecorderState=p.LocalRecorderState;var h=n("Tt94");t.OpenViduError=h.OpenViduError;var f=n("/dLB");t.VideoInsertMode=f.VideoInsertMode;var g=n("hzOQ");t.Event=g.Event;var m=n("8KVD");t.ConnectionEvent=m.ConnectionEvent;var v=n("e8ps");t.PublisherSpeakingEvent=v.PublisherSpeakingEvent;var y=n("rUL0");t.RecordingEvent=y.RecordingEvent;var b=n("ksJj");t.SessionDisconnectedEvent=b.SessionDisconnectedEvent;var _=n("suHS");t.SignalEvent=_.SignalEvent;var w=n("Te8r");t.StreamEvent=w.StreamEvent;var S=n("HxXY");t.StreamManagerEvent=S.StreamManagerEvent;var C=n("oIG1");t.VideoElementEvent=C.VideoElementEvent;var x=n("BwMD");t.StreamPropertyChangedEvent=x.StreamPropertyChangedEvent;var O=n("+ig+");t.FilterEvent=O.FilterEvent;var E=n("Dztv");t.EventDispatcher=E.EventDispatcher},QSjB:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("FlKs"),i=n("vqGb"),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s=n("dlaP"),a=function(e){return new r.TokenState(e)},c=a(),u=a(),l=a(),d=a(),p=a(),h=a(),f=a(),g=a(i.URL),m=a(),v=a(i.URL),y=a(i.URL),b=a(),_=a(),w=a(),S=a(),C=a(),x=a(i.URL),O=a(i.URL),E=a(i.URL),k=a(i.URL),P=a(),M=a(),T=a(),A=a(),I=a(),R=a(),j=a(i.EMAIL),D=a(),N=a(i.EMAIL),L=a(i.MAILTOEMAIL),V=a(),z=a(),F=a(),B=a(),U=a(i.NL);c.on(s.NL,U).on(s.PROTOCOL,u).on(s.MAILTO,l).on(s.SLASH,d),u.on(s.SLASH,d),d.on(s.SLASH,p),c.on(s.TLD,h).on(s.DOMAIN,h).on(s.LOCALHOST,g).on(s.NUM,h),p.on(s.TLD,y).on(s.DOMAIN,y).on(s.NUM,y).on(s.LOCALHOST,y),h.on(s.DOT,f),I.on(s.DOT,R),f.on(s.TLD,g).on(s.DOMAIN,h).on(s.NUM,h).on(s.LOCALHOST,h),R.on(s.TLD,j).on(s.DOMAIN,I).on(s.NUM,I).on(s.LOCALHOST,I),g.on(s.DOT,f),j.on(s.DOT,R),g.on(s.COLON,m).on(s.SLASH,y),m.on(s.NUM,v),v.on(s.SLASH,y),j.on(s.COLON,D),D.on(s.NUM,N);var q=[s.DOMAIN,s.AT,s.LOCALHOST,s.NUM,s.PLUS,s.POUND,s.PROTOCOL,s.SLASH,s.TLD,s.UNDERSCORE,s.SYM,s.AMPERSAND],W=[s.COLON,s.DOT,s.QUERY,s.PUNCTUATION,s.CLOSEBRACE,s.CLOSEBRACKET,s.CLOSEANGLEBRACKET,s.CLOSEPAREN,s.OPENBRACE,s.OPENBRACKET,s.OPENANGLEBRACKET,s.OPENPAREN];y.on(s.OPENBRACE,_).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,S).on(s.OPENPAREN,C),b.on(s.OPENBRACE,_).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,S).on(s.OPENPAREN,C),_.on(s.CLOSEBRACE,y),w.on(s.CLOSEBRACKET,y),S.on(s.CLOSEANGLEBRACKET,y),C.on(s.CLOSEPAREN,y),x.on(s.CLOSEBRACE,y),O.on(s.CLOSEBRACKET,y),E.on(s.CLOSEANGLEBRACKET,y),k.on(s.CLOSEPAREN,y),P.on(s.CLOSEBRACE,y),M.on(s.CLOSEBRACKET,y),T.on(s.CLOSEANGLEBRACKET,y),A.on(s.CLOSEPAREN,y),_.on(q,x),w.on(q,O),S.on(q,E),C.on(q,k),_.on(W,P),w.on(W,M),S.on(W,T),C.on(W,A),x.on(q,x),O.on(q,O),E.on(q,E),k.on(q,k),x.on(W,x),O.on(W,O),E.on(W,E),k.on(W,k),P.on(q,x),M.on(q,O),T.on(q,E),A.on(q,k),P.on(W,P),M.on(W,M),T.on(W,T),A.on(W,A),y.on(q,y),b.on(q,y),y.on(W,b),b.on(W,b),l.on(s.TLD,L).on(s.DOMAIN,L).on(s.NUM,L).on(s.LOCALHOST,L),L.on(q,L).on(W,V),V.on(q,L).on(W,V);var H=[s.DOMAIN,s.NUM,s.PLUS,s.POUND,s.QUERY,s.UNDERSCORE,s.SYM,s.AMPERSAND,s.TLD];h.on(H,z).on(s.AT,F),g.on(H,z).on(s.AT,F),f.on(H,z),z.on(H,z).on(s.AT,F).on(s.DOT,B),B.on(H,z),F.on(s.TLD,I).on(s.DOMAIN,I).on(s.LOCALHOST,j),t.State=r.TokenState,t.TOKENS=o,t.run=function(e){for(var t=e.length,n=0,r=[],o=[];n<t;){for(var s=c,a=null,u=null,l=0,d=null,p=-1;n<t&&!(a=s.next(e[n]));)o.push(e[n++]);for(;n<t&&(u=a||s.next(e[n]));)a=null,(s=u).accepts()?(p=0,d=s):p>=0&&p++,n++,l++;if(p<0)for(var h=n-l;h<n;h++)o.push(e[h]);else{o.length>0&&(r.push(new i.TEXT(o)),o=[]),n-=p,l-=p;var f=d.emit();r.push(new f(e.slice(n-l,n)))}}return o.length>0&&r.push(new i.TEXT(o)),r},t.start=c},RvMX:function(e,t,n){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},SYuc:function(e,t,n){var r=n("EDod");t.JsonRpcClient=r},TDwH:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser.start;function r(e){this.v=e}e.inherits(e.parser.TOKENS.Base,r,{type:"hashtag",isLink:!0});var i=n.jump(t.POUND),o=new e.parser.State(r);i.on(t.DOMAIN,o),i.on(t.TLD,o),i.on(t.LOCALHOST,o)}},Te8r:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("hzOQ"),s=n("PEz1"),a=n("JTMn"),c=n("9m68").OpenViduLogger.getInstance(),u=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r)||this;return s.stream=i,s.reason=o,s}return i(t,e),t.prototype.callDefaultBehavior=function(){if("streamDestroyed"===this.type){if(this.target instanceof a.Session)c.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'"),this.stream.disposeWebRtcPeer();else if(this.target instanceof s.Publisher){c.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Publisher'"),clearInterval(this.target.screenShareResizeInterval),this.stream.isLocalStreamReadyToPublish=!1;for(var e=this.target.openvidu.publishers,t=0;t<e.length;t++)if(e[t]===this.target){e.splice(t,1);break}}this.stream.disposeMediaStream(),this.stream.streamManager&&this.stream.streamManager.removeAllVideos(),delete this.stream.session.remoteStreamsCreated[this.stream.streamId];var n=this.stream.session.remoteConnections[this.stream.connection.connectionId];if(n&&n.options){var r=n.options.streams;for(t=r.length-1;t>=0;--t)r[t].id===this.stream.streamId&&r.splice(t,1)}}},t}(o.Event);t.StreamEvent=u},Tt94:function(e,t,n){"use strict";var r;t.__esModule=!0,(r=t.OpenViduErrorName||(t.OpenViduErrorName={})).BROWSER_NOT_SUPPORTED="BROWSER_NOT_SUPPORTED",r.DEVICE_ACCESS_DENIED="DEVICE_ACCESS_DENIED",r.DEVICE_ALREADY_IN_USE="DEVICE_ALREADY_IN_USE",r.SCREEN_CAPTURE_DENIED="SCREEN_CAPTURE_DENIED",r.SCREEN_SHARING_NOT_SUPPORTED="SCREEN_SHARING_NOT_SUPPORTED",r.SCREEN_EXTENSION_NOT_INSTALLED="SCREEN_EXTENSION_NOT_INSTALLED",r.SCREEN_EXTENSION_DISABLED="SCREEN_EXTENSION_DISABLED",r.INPUT_VIDEO_DEVICE_NOT_FOUND="INPUT_VIDEO_DEVICE_NOT_FOUND",r.INPUT_AUDIO_DEVICE_NOT_FOUND="INPUT_AUDIO_DEVICE_NOT_FOUND",r.INPUT_AUDIO_DEVICE_GENERIC_ERROR="INPUT_AUDIO_DEVICE_GENERIC_ERROR",r.NO_INPUT_SOURCE_SET="NO_INPUT_SOURCE_SET",r.PUBLISHER_PROPERTIES_ERROR="PUBLISHER_PROPERTIES_ERROR",r.OPENVIDU_PERMISSION_DENIED="OPENVIDU_PERMISSION_DENIED",r.OPENVIDU_NOT_CONNECTED="OPENVIDU_NOT_CONNECTED",r.GENERIC_ERROR="GENERIC_ERROR",t.OpenViduError=function(e,t){this.name=e,this.message=t}},Yn0Z:function(e,t,n){"use strict";var r;t.__esModule=!0,(r=t.LocalRecorderState||(t.LocalRecorderState={})).READY="READY",r.RECORDING="RECORDING",r.PAUSED="PAUSED",r.FINISHED="FINISHED"},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},bDgZ:function(e,t,n){(function(e){var r;(function(){"use strict";var i={function:!0,object:!0},o=i[typeof window]&&window||this,s=i[typeof t]&&t&&i[typeof e]&&e&&!e.nodeType&&e&&"object"==typeof global&&global;!s||s.global!==s&&s.window!==s&&s.self!==s||(o=s);var a=Math.pow(2,53)-1,c=/\bOpera/,u=Object.prototype,l=u.hasOwnProperty,d=u.toString;function p(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function h(e){return e=y(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:p(e)}function f(e,t){for(var n in e)l.call(e,n)&&t(e[n],n,e)}function g(e){return null==e?p(e):d.call(e).slice(8,-1)}function m(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function v(e,t){var n=null;return function(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=a)for(;++n<r;)t(e[n],n);else f(e,t)}(e,(function(r,i){n=t(n,r,i,e)})),n}function y(e){return String(e).replace(/^ +| +$/g,"")}var b=function e(t){var n=o,r=t&&"object"==typeof t&&"String"!=g(t);r&&(n=t,t=null);var i=n.navigator||{},s=i.userAgent||"";t||(t=s);var a,u,l,p,b=r?!!i.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(d.toString()),_=r?"Object":"ScriptBridgingProxyObject",w=r?"Object":"Environment",S=r&&n.java?"JavaPackage":g(n.java),C=r?"Object":"RuntimeObject",x=/\bJava/.test(S)&&n.java,O=x&&g(n.environment)==w,E=x?"a":"\u03b1",k=x?"b":"\u03b2",P=n.document||{},M=n.operamini||n.opera,T=c.test(T=r&&M?M["[[Class]]"]:g(M))?T:M=null,A=t,I=[],R=null,j=t==s,D=j&&M&&"function"==typeof M.version&&M.version(),N=v([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||m(n))+"\\b","i").exec(t)&&(n.label||n)})),L=v(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"],(function(e,n){return e||RegExp("\\b"+(n.pattern||m(n))+"\\b","i").exec(t)&&(n.label||n)})),V=B([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),z=v({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}},(function(e,n,r){return e||(n[V]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(V)]||RegExp("\\b"+m(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r})),F=v(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "],(function(e,n){var r=n.pattern||m(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),h(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,r,n.label||n)),e}));function B(e){return v(e,(function(e,n){var r=n.pattern||m(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=h(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(N&&(N=[N]),z&&!V&&(V=B([z])),(a=/\bGoogle TV\b/.exec(V))&&(V=a[0]),/\bSimulator\b/i.test(t)&&(V=(V?V+" ":"")+"Simulator"),"Opera Mini"==L&&/\bOPiOS\b/.test(t)&&I.push("running in Turbo/Uncompressed mode"),"IE"==L&&/\blike iPhone OS\b/.test(t)?(z=(a=e(t.replace(/like iPhone OS/,""))).manufacturer,V=a.product):/^iP/.test(V)?(L||(L="Safari"),F="iOS"+((a=/ OS ([\d_]+)/i.exec(t))?" "+a[1].replace(/_/g,"."):"")):"Konqueror"!=L||/buntu/i.test(F)?z&&"Google"!=z&&(/Chrome/.test(L)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(V))||/\bAndroid\b/.test(F)&&/^Chrome/.test(L)&&/\bVersion\//i.test(t)?(L="Android Browser",F=/\bAndroid\b/.test(F)?F:"Android"):"Silk"==L?(/\bMobi/i.test(t)||(F="Android",I.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&I.unshift("accelerated")):"PaleMoon"==L&&(a=/\bFirefox\/([\d.]+)\b/.exec(t))?I.push("identifying as Firefox "+a[1]):"Firefox"==L&&(a=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(F||(F="Firefox OS"),V||(V=a[1])):!L||(a=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(L))?(L&&!V&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(a+"/")+8))&&(L=null),(a=V||z||F)&&(V||z||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(F))&&(L=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(F)?F:a)+" Browser")):"Electron"==L&&(a=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&I.push("Chromium "+a):F="Kubuntu",D||(D=v(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",m(L),"(?:Firefox|Minefield|NetFront)"],(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(a=("iCab"==N&&parseFloat(D)>3?"WebKit":/\bOpera\b/.test(L)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(N)&&"WebKit"||!N&&/\bMSIE\b/i.test(t)&&("Mac OS"==F?"Tasman":"Trident")||"WebKit"==N&&/\bPlayStation\b(?! Vita\b)/i.test(L)&&"NetFront")&&(N=[a]),"IE"==L&&(a=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(L+=" Mobile",F="Windows Phone "+(/\+$/.test(a)?a:a+".x"),I.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(L="IE Mobile",F="Windows Phone 8.x",I.unshift("desktop mode"),D||(D=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=L&&"Trident"==N&&(a=/\brv:([\d.]+)/.exec(t))&&(L&&I.push("identifying as "+L+(D?" "+D:"")),L="IE",D=a[1]),j){if(/^(?:boolean|number|string|undefined)$/.test(p=null!=(l=n)?typeof l.global:"number")||"object"==p&&!l.global)g(a=n.runtime)==_?(L="Adobe AIR",F=a.flash.system.Capabilities.os):g(a=n.phantom)==C?(L="PhantomJS",D=(a=a.version||null)&&a.major+"."+a.minor+"."+a.patch):"number"==typeof P.documentMode&&(a=/\bTrident\/(\d+)/i.exec(t))?((a=+a[1]+4)!=(D=[D,P.documentMode])[1]&&(I.push("IE "+D[1]+" mode"),N&&(N[1]=""),D[1]=a),D="IE"==L?String(D[1].toFixed(1)):D[0]):"number"==typeof P.documentMode&&/^(?:Chrome|Firefox)\b/.test(L)&&(I.push("masking as "+L+" "+D),L="IE",D="11.0",N=["Trident"],F="Windows");else if(x&&(A=(a=x.lang.System).getProperty("os.arch"),F=F||a.getProperty("os.name")+" "+a.getProperty("os.version")),O){try{D=n.require("ringo/engine").version.join("."),L="RingoJS"}catch(q){(a=n.system)&&a.global.system==n.system&&(L="Narwhal",F||(F=a[0].os||null))}L||(L="Rhino")}else"object"==typeof n.process&&!n.process.browser&&(a=n.process)&&("object"==typeof a.versions&&("string"==typeof a.versions.electron?(I.push("Node "+a.versions.node),L="Electron",D=a.versions.electron):"string"==typeof a.versions.nw&&(I.push("Chromium "+D,"Node "+a.versions.node),L="NW.js",D=a.versions.nw)),L||(L="Node.js",A=a.arch,F=a.platform,D=(D=/[\d.]+/.exec(a.version))?D[0]:null));F=F&&h(F)}if(D&&(a=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(D)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(j&&i.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(R=/b/i.test(a)?"beta":"alpha",D=D.replace(RegExp(a+"\\+?$"),"")+("beta"==R?k:E)+(/\d+\+?/.exec(a)||"")),"Fennec"==L||"Firefox"==L&&/\b(?:Android|Firefox OS)\b/.test(F))L="Firefox Mobile";else if("Maxthon"==L&&D)D=D.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(V))"Xbox 360"==V&&(F=null),"Xbox 360"==V&&/\bIEMobile\b/.test(t)&&I.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(L)&&(!L||V||/Browser|Mobi/.test(L))||"Windows CE"!=F&&!/Mobi/i.test(t))if("IE"==L&&j)try{null===n.external&&I.unshift("platform preview")}catch(q){I.unshift("embedded")}else(/\bBlackBerry\b/.test(V)||/\bBB10\b/.test(t))&&(a=(RegExp(V.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||D)?(F=((a=[a,/BB10/.test(t)])[1]?(V=null,z="BlackBerry"):"Device Software")+" "+a[0],D=null):this!=f&&"Wii"!=V&&(j&&M||/Opera/.test(L)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==L&&/\bOS X (?:\d+\.){2,}/.test(F)||"IE"==L&&(F&&!/^Win/.test(F)&&D>5.5||/\bWindows XP\b/.test(F)&&D>8||8==D&&!/\bTrident\b/.test(t)))&&!c.test(a=e.call(f,t.replace(c,"")+";"))&&a.name&&(a="ing as "+a.name+((a=a.version)?" "+a:""),c.test(L)?(/\bIE\b/.test(a)&&"Mac OS"==F&&(F=null),a="identify"+a):(a="mask"+a,L=T?h(T.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(a)&&(F=null),j||(D=null)),N=["Presto"],I.push(a));else L+=" Mobile";(a=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(a=[parseFloat(a.replace(/\.(\d)$/,".0$1")),a],"Safari"==L&&"+"==a[1].slice(-1)?(L="WebKit Nightly",R="alpha",D=a[1].slice(0,-1)):D!=a[1]&&D!=(a[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(D=null),a[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==a[0]&&537.36==a[2]&&parseFloat(a[1])>=28&&"WebKit"==N&&(N=["Blink"]),j&&(b||a[1])?(N&&(N[1]="like Chrome"),a=a[1]||((a=a[0])<530?1:a<532?2:a<532.05?3:a<533?4:a<534.03?5:a<534.07?6:a<534.1?7:a<534.13?8:a<534.16?9:a<534.24?10:a<534.3?11:a<535.01?12:a<535.02?"13+":a<535.07?15:a<535.11?16:a<535.19?17:a<536.05?18:a<536.1?19:a<537.01?20:a<537.11?"21+":a<537.13?23:a<537.18?24:a<537.24?25:a<537.36?26:"Blink"!=N?"27":"28")):(N&&(N[1]="like Safari"),a=(a=a[0])<400?1:a<500?2:a<526?3:a<533?4:a<534?"4+":a<535?5:a<537?6:a<538?7:a<601?8:"8"),N&&(N[1]+=" "+(a+="number"==typeof a?".x":/[.+]/.test(a)?"":"+")),"Safari"==L&&(!D||parseInt(D)>45)&&(D=a)),"Opera"==L&&(a=/\bzbov|zvav$/.exec(F))?(L+=" ",I.unshift("desktop mode"),"zvav"==a?(L+="Mini",D=null):L+="Mobile",F=F.replace(RegExp(" *"+a+"$"),"")):"Safari"==L&&/\bChrome\b/.exec(N&&N[1])&&(I.unshift("desktop mode"),L="Chrome Mobile",D=null,/\bOS X\b/.test(F)?(z="Apple",F="iOS 4.3+"):F=null),D&&0==D.indexOf(a=/[\d.]+$/.exec(F))&&t.indexOf("/"+a+"-")>-1&&(F=y(F.replace(a,""))),N&&!/\b(?:Avant|Nook)\b/.test(L)&&(/Browser|Lunascape|Maxthon/.test(L)||"Safari"!=L&&/^iOS/.test(F)&&/\bSafari\b/.test(N[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(L)&&N[1])&&(a=N[N.length-1])&&I.push(a),I.length&&(I=["("+I.join("; ")+")"]),z&&V&&V.indexOf(z)<0&&I.push("on "+z),V&&I.push((/^on /.test(I[I.length-1])?"":"on ")+V),F&&(a=/ ([\d.+]+)$/.exec(F),u=a&&"/"==F.charAt(F.length-a[0].length-1),F={architecture:32,family:a&&!u?F.replace(a[0],""):F,version:a?a[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(a=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(A))&&!/\bi686\b/i.test(A)?(F&&(F.architecture=64,F.family=F.family.replace(RegExp(" *"+a),"")),L&&(/\bWOW64\b/i.test(t)||j&&/\w(?:86|32)$/.test(i.cpuClass||i.platform)&&!/\bWin64; x64\b/i.test(t))&&I.unshift("32-bit")):F&&/^OS X/.test(F.family)&&"Chrome"==L&&parseFloat(D)>=39&&(F.architecture=64),t||(t=null);var U={};return U.description=t,U.layout=N&&N[0],U.manufacturer=z,U.name=L,U.prerelease=R,U.product=V,U.ua=t,U.version=L&&D,U.os=F||{architecture:null,family:null,version:null,toString:function(){return"null"}},U.parse=e,U.toString=function(){return this.description||""},U.version&&I.unshift(D),U.name&&I.unshift(L),F&&L&&(F!=String(F).split(" ")[0]||F!=L.split(" ")[0]&&!V)&&I.push(V?"("+F+")":"on "+F),I.length&&(U.description=I.join(" ")),U}();o.platform=b,void 0===(r=(function(){return b}).call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n("YuTi")(e))},bGVd:function(e,t,n){e.exports=n("IXxz").default},bk74:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("P3vI"),s=n("9m68").OpenViduLogger.getInstance(),a=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.element=i.targetElement,i.stream=t,i.properties=r,i}return i(t,e),t.prototype.subscribeToAudio=function(e){return this.stream.getMediaStream().getAudioTracks().forEach((function(t){t.enabled=e})),this.stream.audioActive=e,s.info("'Subscriber' has "+(e?"subscribed to":"unsubscribed from")+" its audio stream"),this},t.prototype.subscribeToVideo=function(e){return this.stream.getMediaStream().getVideoTracks().forEach((function(t){t.enabled=e})),this.stream.videoActive=e,s.info("'Subscriber' has "+(e?"subscribed to":"unsubscribed from")+" its video stream"),this},t}(o.StreamManager);t.Subscriber=a},cUzU:function(e,t,n){"use strict";var r=console;e.exports=function(e){var t,n=!1,i=e.uri,o=!1,s=new WebSocket(i);s.onopen=function(){r.debug("WebSocket connected to "+i),e.onconnected&&e.onconnected()},s.onerror=function(t){r.error("Could not connect to "+i+" (invoking onerror if defined)",t),e.onerror&&e.onerror(t)};var a=function(){3===s.readyState?n?r.debug("Connection closed by user"):(r.debug("Connection closed unexpectecly. Reconnecting..."),c(2e3,1)):r.debug("Close callback from previous websocket. Ignoring it")};function c(n,u){if(r.debug("reconnect (attempt #"+u+", max="+n+")"),1===u){if(o)return void r.warn("Trying to reconnect when already reconnecting... Ignoring this reconnection.");o=!0,e.onreconnecting&&e.onreconnecting()}!function(n,u){r.debug("Reconnection attempt #"+u),s.close(),(s=new WebSocket(i)).onopen=function(){r.debug("Reconnected to "+i+" after "+u+" attempts..."),o=!1,t(),e.onreconnected()&&e.onreconnected(),s.onclose=a},s.onerror=function(t){r.warn("Reconnection error: ",t),u===n?e.ondisconnect&&e.ondisconnect():setTimeout((function(){c(n,u+1)}),3e3)}}(n,u)}s.onclose=a,this.close=function(){n=!0,s.close()},this.reconnectWs=function(){r.debug("reconnectWs"),c(2e3,1)},this.send=function(e){s.send(e)},this.addEventListener=function(e,n){(t=function(){s.addEventListener(e,n)})()}}},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},dP7y:function(e,t,n){e.exports=n("LXjW")},"dY/r":function(e,t){var n=["stun:","turn:"];e.exports=function(e){var t,r,i=(e||{}).url||e,o={};return"string"==typeof i||i instanceof String?(i=i.trim(),(t=n[n.indexOf(i.slice(0,5))])?(r=(i=i.slice(5)).split("@"),o.username=e.username,o.credential=e.credential,r.length>1&&(i=r[1],r=r[0].split(":"),o.username=r[0],o.credential=(e||{}).credential||r[1]||""),o.url=t+i,o.urls=[o.url],o):e):e}},de4E:function(e,t){t.pack=function(e,t){var n={jsonrpc:"2.0"};if(e.method)n.method=e.method,e.params&&(n.params=e.params),null!=t&&(n.id=t);else if(null!=t){if(e.error){if(void 0!==e.result)throw new TypeError("Both result and error are defined");n.error=e.error}else{if(void 0===e.result)throw new TypeError("No result or error is defined");n.result=e.result}n.id=t}return JSON.stringify(n)},t.unpack=function(e){var t=e;("string"==typeof e||e instanceof String)&&(t=JSON.parse(e));var n=t.jsonrpc;if("2.0"!==n)throw new TypeError("Invalid JsonRPC version '"+n+"': "+e);if(null==t.method){if(null==t.id)throw new TypeError("Invalid message: "+e);var r=void 0!==t.result,i=void 0!==t.error;if(r&&i)throw new TypeError("Both result and error are defined: "+e);if(!r&&!i)throw new TypeError("No result or error is defined: "+e);t.ack=t.id,delete t.id}return t}},dlaP:function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n("RvMX"),i=n("JUw6"),o=(0,r.createTokenClass)();function s(e){var t=e?{v:e}:{};return(0,i.inherits)(o,(0,r.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var a=s(),c=s("@"),u=s(":"),l=s("."),d=s(),p=s(),h=s("\n"),f=s(),g=s("+"),m=s("#"),v=s(),y=s("mailto:"),b=s("?"),_=s("/"),w=s("_"),S=s(),C=s(),x=s(),O=s("{"),E=s("["),k=s("<"),P=s("("),M=s("}"),T=s("]"),A=s(">"),I=s(")"),R=s("&");t.Base=o,t.DOMAIN=a,t.AT=c,t.COLON=u,t.DOT=l,t.PUNCTUATION=d,t.LOCALHOST=p,t.NL=h,t.NUM=f,t.PLUS=g,t.POUND=m,t.QUERY=b,t.PROTOCOL=v,t.MAILTO=y,t.SLASH=_,t.UNDERSCORE=w,t.SYM=S,t.TLD=C,t.WS=x,t.OPENBRACE=O,t.OPENBRACKET=E,t.OPENANGLEBRACKET=k,t.OPENPAREN=P,t.CLOSEBRACE=M,t.CLOSEBRACKET=T,t.CLOSEANGLEBRACKET=A,t.CLOSEPAREN=I,t.AMPERSAND=R},e8ps:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r,i){var o=e.call(this,!1,t,n)||this;return o.type=n,o.connection=r,o.streamId=i,o}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.PublisherSpeakingEvent=o},ee8k:function(e,t,n){var r=n("cUzU");t.WebSocketWithReconnection=r},gUCu:function(e,t){function n(){var e={};this.forEach=function(t){for(var n in e){var r=e[n];for(var i in r)t(r[i])}},this.get=function(t,n){var r=e[n];if(null!=r)return r[t]},this.remove=function(t,n){var r=e[n];if(null!=r){for(var i in delete r[t],r)return!1;delete e[n]}},this.set=function(t,n,r){if(null==t)return this.remove(n,r);var i=e[r];null==i&&(e[r]=i={}),i[n]=t}}n.prototype.pop=function(e,t){var n=this.get(e,t);if(null!=n)return this.remove(e,t),n},e.exports=n},hw9W:function(e){e.exports=JSON.parse("[]")},hzOQ:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t,n){this.hasBeenPrevented=!1,this.cancelable=e,this.target=t,this.type=n}return e.prototype.isDefaultPrevented=function(){return this.hasBeenPrevented},e.prototype.preventDefault=function(){this.callDefaultBehavior=function(){},this.hasBeenPrevented=!0},e}();t.Event=r},joaK:function(e,t,n){e.exports=n("TDwH").default},kiQV:function(e){e.exports=JSON.parse('{"dependencies":{"@angular/animations":"9.1.11","@angular/cdk":"9.2.4","@angular/common":"9.1.11","@angular/compiler":"9.1.11","@angular/core":"9.1.11","@angular/elements":"9.1.11","@angular/flex-layout":"9.0.0-beta.31","@angular/forms":"9.1.11","@angular/material":"9.2.4","@angular/platform-browser":"9.1.11","@angular/platform-browser-dynamic":"9.1.11","@angular/router":"9.1.11","core-js":"3.1.4","jquery":"3.5.1","ngx-linkifyjs":"1.3.0","openvidu-browser":"2.15.0","rxjs":"6.5.5","unique-names-generator":"4.2.0","zone.js":"0.10.3"},"devDependencies":{"@angular-devkit/build-angular":"0.901.7","@angular-devkit/build-ng-packagr":"0.901.7","@angular/cli":"9.1.7","@angular/compiler-cli":"9.1.11","@angular/language-service":"9.1.11","@types/jasmine":"3.5.10","@types/jasminewd2":"2.0.8","@types/jquery":"3.3.38","@types/node":"14.0.13","@webcomponents/webcomponentsjs":"2.2.10","codelyzer":"5.2.2","concat":"1.0.3","document-register-element":"1.13.2","elements-zone-strategy":"8.0.0","fs-extra":"8.1.0","jasmine-core":"3.5.0","jasmine-spec-reporter":"5.0.2","karma":"5.0.9","karma-chrome-launcher":"3.1.0","karma-coverage-istanbul-reporter":"3.0.3","karma-jasmine":"3.3.1","karma-jasmine-html-reporter":"1.5.4","karma-junit-reporter":"2.0.1","karma-mocha-reporter":"2.2.5","karma-notify-reporter":"1.2.0","ng-packagr":"9.0.3","protractor":"7.0.0","ts-node":"8.10.2","tslib":"1.11.1","tslint":"6.1.2","typedoc":"0.17.7","typescript":"3.7.5"},"name":"openvidu-call","private":true,"scripts":{"build":"./node_modules/@angular/cli/bin/ng build && npm run copy:backend","build-prod":"func() { ./node_modules/@angular/cli/bin/ng build --prod --base-href=\\"${1:-/}\\" && npm run copy:backend-prod; }; func","build:openvidu-angular":"node openvidu-angular-build.js && ./node_modules/@angular/cli/bin/ng build openvidu-angular --prod","build:openvidu-webcomponent":"node -e \\"require(\'./openvidu-webcomponent-build.js\').prepareWebcomponent()\\" && ./node_modules/@angular/cli/bin/ng build --prod --output-hashing none && node -e \\"require(\'./openvidu-webcomponent-build.js\').buildWebcomponent()\\"","copy:backend":"cp -a dist/openvidu-call/. ../openvidu-call-back/public/","copy:backend-prod":"mkdir -p ../openvidu-call-back/dist/public && cp -a dist/openvidu-call/. ../openvidu-call-back/dist/public/","e2e":"ng e2e","lint":"ng lint","pack:openvidu-angular":"cd dist/openvidu-angular && npm pack","start":"ng serve","test":"ng test openvidu-call --watch=false --code-coverage"},"version":"2.15.0"}')},ksJj:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=n("hzOQ"),s=n("9m68").OpenViduLogger.getInstance(),a=function(e){function t(t,n){var r=e.call(this,!0,t,"sessionDisconnected")||this;return r.reason=n,r}return i(t,e),t.prototype.callDefaultBehavior=function(){s.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'");var e=this.target;for(var t in e.remoteConnections)e.remoteConnections[t].stream&&(e.remoteConnections[t].stream.disposeWebRtcPeer(),e.remoteConnections[t].stream.disposeMediaStream(),e.remoteConnections[t].stream.streamManager&&e.remoteConnections[t].stream.streamManager.removeAllVideos(),delete e.remoteStreamsCreated[e.remoteConnections[t].stream.streamId],e.remoteConnections[t].dispose()),delete e.remoteConnections[t]},t}(o.Event);t.SessionDisconnectedEvent=a},mgp7:function(e,t,n){e.exports=n("/u9M").default},oIG1:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r){var i=e.call(this,!1,n,r)||this;return i.element=t,i}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.VideoElementEvent=o},pLL0:function(e,t){t.pack=function(e){throw new TypeError("Not yet implemented")},t.unpack=function(e){throw new TypeError("Not yet implemented")}},rUL0:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r,i,o){var s=e.call(this,!1,t,n)||this;return s.id=r,i!==r&&(s.name=i),s.reason=o,s}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.RecordingEvent=o},ryRr:function(e,t,n){"use strict";t.__esModule=!0;var r=n("DPKQ"),i=n("9m68").OpenViduLogger.getInstance(),o=function(){function e(e,t){this.session=e,this.disposed=!1;var n="'Connection' created ";t?(n+="(remote) with 'connectionId' ["+t.id+"]",this.options=t,this.connectionId=t.id,this.creationTime=t.createdAt,t.metadata&&(this.data=t.metadata),t.streams&&this.initRemoteStreams(t.streams)):n+="(local)",i.info(n)}return e.prototype.sendIceCandidate=function(e){i.debug((this.stream.outboundStreamOpts?"Local":"Remote")+"candidate for"+this.connectionId,e),this.session.openvidu.sendRequest("onIceCandidate",{endpointName:this.connectionId,candidate:e.candidate,sdpMid:e.sdpMid,sdpMLineIndex:e.sdpMLineIndex},(function(e,t){e&&i.error("Error sending ICE candidate: "+JSON.stringify(e))}))},e.prototype.initRemoteStreams=function(e){var t=this;e.forEach((function(e){var n={id:e.id,createdAt:e.createdAt,connection:t,hasAudio:e.hasAudio,hasVideo:e.hasVideo,audioActive:e.audioActive,videoActive:e.videoActive,typeOfVideo:e.typeOfVideo,frameRate:e.frameRate,videoDimensions:e.videoDimensions?JSON.parse(e.videoDimensions):void 0,filter:e.filter?e.filter:void 0},i=new r.Stream(t.session,n);t.addStream(i)})),i.info("Remote 'Connection' with 'connectionId' ["+this.connectionId+"] is now configured for receiving Streams with options: ",this.stream.inboundStreamOpts)},e.prototype.addStream=function(e){e.connection=this,this.stream=e},e.prototype.removeStream=function(e){delete this.stream},e.prototype.dispose=function(){this.stream&&delete this.stream,this.disposed=!0},e}();t.Connection=o},suHS:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t.__esModule=!0;var o=function(e){function t(t,n,r,i){var o=e.call(this,!1,t,"signal")||this;return n&&(o.type="signal:"+n),o.data=r,o.from=i,o}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(n("hzOQ").Event);t.SignalEvent=o},"t/6/":function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("FlKs"),i=n("dlaP"),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),a="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],l=[],d=function(e){return new r.CharacterState(e)},p=d(),h=d(i.NUM),f=d(i.DOMAIN),g=d(),m=d(i.WS);p.on("@",d(i.AT)).on(".",d(i.DOT)).on("+",d(i.PLUS)).on("#",d(i.POUND)).on("?",d(i.QUERY)).on("/",d(i.SLASH)).on("_",d(i.UNDERSCORE)).on(":",d(i.COLON)).on("{",d(i.OPENBRACE)).on("[",d(i.OPENBRACKET)).on("<",d(i.OPENANGLEBRACKET)).on("(",d(i.OPENPAREN)).on("}",d(i.CLOSEBRACE)).on("]",d(i.CLOSEBRACKET)).on(">",d(i.CLOSEANGLEBRACKET)).on(")",d(i.CLOSEPAREN)).on("&",d(i.AMPERSAND)).on([",",";","!",'"',"'"],d(i.PUNCTUATION)),p.on("\n",d(i.NL)).on(u,m),m.on(u,m);for(var v=0;v<s.length;v++){var y=(0,r.stateify)(s[v],p,i.TLD,i.DOMAIN);l.push.apply(l,y)}var b=(0,r.stateify)("file",p,i.DOMAIN,i.DOMAIN),_=(0,r.stateify)("ftp",p,i.DOMAIN,i.DOMAIN),w=(0,r.stateify)("http",p,i.DOMAIN,i.DOMAIN),S=(0,r.stateify)("mailto",p,i.DOMAIN,i.DOMAIN);l.push.apply(l,b),l.push.apply(l,_),l.push.apply(l,w),l.push.apply(l,S);var C=b.pop(),x=_.pop(),O=w.pop(),E=S.pop(),k=d(i.DOMAIN),P=d(i.PROTOCOL),M=d(i.MAILTO);x.on("s",k).on(":",P),O.on("s",k).on(":",P),l.push(k),C.on(":",P),k.on(":",P),E.on(":",M);var T=(0,r.stateify)("localhost",p,i.LOCALHOST,i.DOMAIN);l.push.apply(l,T),p.on(a,h),h.on("-",g).on(a,h).on(c,f),f.on("-",g).on(c,f);for(var A=0;A<l.length;A++)l[A].on("-",g).on(c,f);g.on("-",g).on(a,f).on(c,f),p.defaultTransition=d(i.SYM);var I=p;t.State=r.CharacterState,t.TOKENS=o,t.run=function(e){for(var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],i=0;i<n;){for(var o=p,s=null,a=0,c=null,u=-1;i<n&&(s=o.next(t[i]));)(o=s).accepts()?(u=0,c=o):u>=0&&u++,a++,i++;if(!(u<0)){i-=u,a-=u;var l=c.emit();r.push(new l(e.substr(i-a,a)))}}return r},t.start=I},tInm:function(e,t,n){"use strict";t.__esModule=!0;var r=n("Yn0Z"),i=n("bDgZ"),o=n("9m68").OpenViduLogger.getInstance(),s=function(){function e(e){this.stream=e,this.chunks=[],this.connectionId=this.stream.connection?this.stream.connection.connectionId:"default-connection",this.id=this.stream.streamId+"_"+this.connectionId+"_localrecord",this.state=r.LocalRecorderState.READY}return e.prototype.record=function(e){var t=this;return new Promise((function(n,i){try{if("undefined"==typeof MediaRecorder)throw o.error("MediaRecorder not supported on your browser. See compatibility in https://caniuse.com/#search=MediaRecorder"),Error("MediaRecorder not supported on your browser. See compatibility in https://caniuse.com/#search=MediaRecorder");if(t.state!==r.LocalRecorderState.READY)throw Error("'LocalRecord.record()' needs 'LocalRecord.state' to be 'READY' (current value: '"+t.state+"'). Call 'LocalRecorder.clean()' or init a new LocalRecorder before");o.log("Starting local recording of stream '"+t.stream.streamId+"' of connection '"+t.connectionId+"'");var s={};"function"==typeof MediaRecorder.isTypeSupported?e?(MediaRecorder.isTypeSupported(e)||i(new Error('mimeType "'+e+'" is not supported')),s={mimeType:e}):o.log("No mimeType parameter provided. Using default codecs"):o.warn("MediaRecorder#isTypeSupported is not supported. Using default codecs"),t.mediaRecorder=new MediaRecorder(t.stream.getMediaStream(),s),t.mediaRecorder.start(10)}catch(a){i(a)}t.mediaRecorder.ondataavailable=function(e){t.chunks.push(e.data)},t.mediaRecorder.onerror=function(e){o.error("MediaRecorder error: ",e)},t.mediaRecorder.onstart=function(){o.log("MediaRecorder started (state="+t.mediaRecorder.state+")")},t.mediaRecorder.onstop=function(){t.onStopDefault()},t.mediaRecorder.onpause=function(){o.log("MediaRecorder paused (state="+t.mediaRecorder.state+")")},t.mediaRecorder.onresume=function(){o.log("MediaRecorder resumed (state="+t.mediaRecorder.state+")")},t.mediaRecorder.onwarning=function(e){o.log("MediaRecorder warning: "+e)},t.state=r.LocalRecorderState.RECORDING,n()}))},e.prototype.stop=function(){var e=this;return new Promise((function(t,n){try{if(e.state===r.LocalRecorderState.READY||e.state===r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.stop()' needs 'LocalRecord.state' to be 'RECORDING' or 'PAUSED' (current value: '"+e.state+"'). Call 'LocalRecorder.start()' before");e.mediaRecorder.onstop=function(){e.onStopDefault(),t()},e.mediaRecorder.stop()}catch(i){n(i)}}))},e.prototype.pause=function(){var e=this;return new Promise((function(t,n){try{e.state!==r.LocalRecorderState.RECORDING&&n(Error("'LocalRecord.pause()' needs 'LocalRecord.state' to be 'RECORDING' (current value: '"+e.state+"'). Call 'LocalRecorder.start()' or 'LocalRecorder.resume()' before")),e.mediaRecorder.pause(),e.state=r.LocalRecorderState.PAUSED}catch(i){n(i)}}))},e.prototype.resume=function(){var e=this;return new Promise((function(t,n){try{if(e.state!==r.LocalRecorderState.PAUSED)throw Error("'LocalRecord.resume()' needs 'LocalRecord.state' to be 'PAUSED' (current value: '"+e.state+"'). Call 'LocalRecorder.pause()' before");e.mediaRecorder.resume(),e.state=r.LocalRecorderState.RECORDING}catch(i){n(i)}}))},e.prototype.preview=function(e){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.preview()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+this.state+"'). Call 'LocalRecorder.stop()' before");if(this.videoPreview=document.createElement("video"),this.videoPreview.id=this.id,this.videoPreview.autoplay=!0,"Safari"===i.name&&this.videoPreview.setAttribute("playsinline","true"),"string"==typeof e){var t=document.getElementById(e);t&&(this.videoPreview=t.appendChild(this.videoPreview))}else this.videoPreview=e.appendChild(this.videoPreview);return this.videoPreview.src=this.videoPreviewSrc,this.videoPreview},e.prototype.clean=function(){var e=this,t=function(){delete e.blob,e.chunks=[],delete e.mediaRecorder,e.state=r.LocalRecorderState.READY};this.state===r.LocalRecorderState.RECORDING||this.state===r.LocalRecorderState.PAUSED?this.stop().then((function(){return t()})).catch((function(){return t()})):t()},e.prototype.download=function(){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.download()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+this.state+"'). Call 'LocalRecorder.stop()' before");var e=document.createElement("a");e.style.display="none",document.body.appendChild(e);var t=window.URL.createObjectURL(this.blob);e.href=t,e.download=this.id+".webm",e.click(),window.URL.revokeObjectURL(t),document.body.removeChild(e)},e.prototype.getBlob=function(){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("Call 'LocalRecord.stop()' before getting Blob file");return this.blob},e.prototype.uploadAsBinary=function(e,t){var n=this;return new Promise((function(i,o){if(n.state!==r.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsBinary()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var s=new XMLHttpRequest;if(s.open("POST",e,!0),"object"==typeof t)for(var a=0,c=Object.keys(t);a<c.length;a++){var u=c[a];s.setRequestHeader(u,t[u])}s.onreadystatechange=function(){4===s.readyState&&("2"===s.status.toString().charAt(0)?i(s.responseText):o(s.status))},s.send(n.blob)}}))},e.prototype.uploadAsMultipartfile=function(e,t){var n=this;return new Promise((function(i,o){if(n.state!==r.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsMultipartfile()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var s=new XMLHttpRequest;if(s.open("POST",e,!0),"object"==typeof t)for(var a=0,c=Object.keys(t);a<c.length;a++){var u=c[a];s.setRequestHeader(u,t[u])}var l=new FormData;l.append("file",n.blob,n.id+".webm"),s.onreadystatechange=function(){4===s.readyState&&("2"===s.status.toString().charAt(0)?i(s.responseText):o(s.status))},s.send(l)}}))},e.prototype.onStopDefault=function(){o.log("MediaRecorder stopped (state="+this.mediaRecorder.state+")"),this.blob=new Blob(this.chunks,{type:"video/webm"}),this.chunks=[],this.videoPreviewSrc=window.URL.createObjectURL(this.blob),this.state=r.LocalRecorderState.FINISHED},e}();t.LocalRecorder=s},tMSY:function(e,t){function n(){}e.exports=n,n.mixin=function(e){var t=e.prototype||e;t.isWildEmitter=!0,t.on=function(e,t,n){this.callbacks=this.callbacks||{};var r=3===arguments.length,i=r?arguments[1]:void 0,o=r?arguments[2]:arguments[1];return o._groupName=i,(this.callbacks[e]=this.callbacks[e]||[]).push(o),this},t.once=function(e,t,n){var r=this,i=3===arguments.length,o=i?arguments[1]:void 0,s=i?arguments[2]:arguments[1];function a(){r.off(e,a),s.apply(this,arguments)}return this.on(e,o,a),this},t.releaseGroup=function(e){var t,n,r,i;for(t in this.callbacks=this.callbacks||{},this.callbacks)for(n=0,r=(i=this.callbacks[t]).length;n<r;n++)i[n]._groupName===e&&(i.splice(n,1),n--,r--);return this},t.off=function(e,t){this.callbacks=this.callbacks||{};var n,r=this.callbacks[e];return r?1===arguments.length?(delete this.callbacks[e],this):(-1!==(n=r.indexOf(t))&&(r.splice(n,1),0===r.length&&delete this.callbacks[e]),this):this},t.emit=function(e){this.callbacks=this.callbacks||{};var t,n,r,i=[].slice.call(arguments,1),o=this.callbacks[e],s=this.getWildcardCallbacks(e);if(o)for(t=0,n=(r=o.slice()).length;t<n&&r[t];++t)r[t].apply(this,i);if(s)for(n=s.length,t=0,n=(r=s.slice()).length;t<n&&r[t];++t)r[t].apply(this,[e].concat(i));return this},t.getWildcardCallbacks=function(e){this.callbacks=this.callbacks||{};var t,n,r=[];for(t in this.callbacks)n=t.split("*"),("*"===t||2===n.length&&e.slice(0,n[0].length)===n[0])&&(r=r.concat(this.callbacks[t]));return r}},n.mixin(n)},ttXH:function(e,t,n){var r,i=n("tMSY");"undefined"!=typeof window&&(r=window.AudioContext||window.webkitAudioContext);var o=null;e.exports=function(e,t){var n=new i;if(!r)return n;var s,a,c,u=(t=t||{}).smoothing||.1,l=t.interval||50,d=t.threshold,p=t.play,h=t.history||10,f=!0;o=t.audioContext||o||new r,(c=o.createAnalyser()).fftSize=512,c.smoothingTimeConstant=u,a=new Float32Array(c.frequencyBinCount),e.jquery&&(e=e[0]),e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?(s=o.createMediaElementSource(e),void 0===p&&(p=!0),d=d||-50):(s=o.createMediaStreamSource(e),d=d||-50),s.connect(c),p&&c.connect(o.destination),n.speaking=!1,n.suspend=function(){return o.suspend()},n.resume=function(){return o.resume()},Object.defineProperty(n,"state",{get:function(){return o.state}}),o.onstatechange=function(){n.emit("state_change",o.state)},n.setThreshold=function(e){d=e},n.setInterval=function(e){l=e},n.stop=function(){f=!1,n.emit("volume_change",-100,d),n.speaking&&(n.speaking=!1,n.emit("stopped_speaking")),c.disconnect(),s.disconnect()},n.speakingHistory=[];for(var g=0;g<h;g++)n.speakingHistory.push(0);var m=function(){setTimeout((function(){if(f){var e=function(e,t){var n=-1/0;e.getFloatFrequencyData(t);for(var r=4,i=t.length;r<i;r++)t[r]>n&&t[r]<0&&(n=t[r]);return n}(c,a);n.emit("volume_change",e,d);var t=0;if(e>d&&!n.speaking){for(var r=n.speakingHistory.length-3;r<n.speakingHistory.length;r++)t+=n.speakingHistory[r];t>=2&&(n.speaking=!0,n.emit("speaking"))}else if(e<d&&n.speaking){for(r=0;r<n.speakingHistory.length;r++)t+=n.speakingHistory[r];0==t&&(n.speaking=!1,n.emit("stopped_speaking"))}n.speakingHistory.shift(),n.speakingHistory.push(0+(e>d)),m()}}),l)};return m(),n}},"txJ/":function(e,t){var n=Object.create||function(e){var t=function(){};return t.prototype=e,new t},r=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},i=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function o(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=n(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._maxListeners=void 0;var s,a=10;try{var c={};Object.defineProperty&&Object.defineProperty(c,"x",{value:0}),s=0===c.x}catch(w){s=!1}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n){if(t)e.call(n);else for(var r=e.length,i=_(e,r),o=0;o<r;++o)i[o].call(n)}function d(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=_(e,i),s=0;s<i;++s)o[s].call(n,r)}function p(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,s=_(e,o),a=0;a<o;++a)s[a].call(n,r,i)}function h(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var s=e.length,a=_(e,s),c=0;c<s;++c)a[c].call(n,r,i,o)}function f(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=_(e,i),s=0;s<i;++s)o[s].apply(n,r)}function g(e,t,r,i){var o,s,a;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),a=s[t]):(s=e._events=n(null),e._eventsCount=0),a){if("function"==typeof a?a=s[t]=i?[r,a]:[a,r]:i?a.unshift(r):a.push(r),!a.warned&&(o=u(e))&&o>0&&a.length>o){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",c.name,c.message)}}else a=s[t]=r,++e._eventsCount;return e}function m(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function v(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=i.call(m,r);return o.listener=n,r.wrapFn=o,o}function y(e,t,n){var r=e._events;if(!r)return[];var i=r[t];return i?"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):_(i,i.length):[]}function b(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function _(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}s?Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');a=e}}):o.defaultMaxListeners=a,o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){var t,n,r,i,o,s,a="error"===e;if(s=this._events)a=a&&null==s.error;else if(!a)return!1;if(a){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var c=new Error('Unhandled "error" event. ('+t+")");throw c.context=t,c}if(!(n=s[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:l(n,u,this);break;case 2:d(n,u,this,arguments[1]);break;case 3:p(n,u,this,arguments[1],arguments[2]);break;case 4:h(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];f(n,u,this,i)}return!0},o.prototype.on=o.prototype.addListener=function(e,t){return g(this,e,t,!1)},o.prototype.prependListener=function(e,t){return g(this,e,t,!0)},o.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,v(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,v(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,i,o,s,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(r=i[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=n(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){a=r[s].listener,o=s;break}if(o<0)return this;0===o?r.shift():function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(r,o),1===r.length&&(i[e]=r[0]),i.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.removeAllListeners=function(e){var t,i,o;if(!(i=this._events))return this;if(!i.removeListener)return 0===arguments.length?(this._events=n(null),this._eventsCount=0):i[e]&&(0==--this._eventsCount?this._events=n(null):delete i[e]),this;if(0===arguments.length){var s,a=r(i);for(o=0;o<a.length;++o)"removeListener"!==(s=a[o])&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=n(null),this._eventsCount=0,this}if("function"==typeof(t=i[e]))this.removeListener(e,t);else if(t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},o.prototype.listeners=function(e){return y(this,e,!0)},o.prototype.rawListeners=function(e){return y(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},o.prototype.listenerCount=b,o.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},vqFl:function(e){e.exports=JSON.parse('{"_from":"openvidu-browser@2.15.0","_id":"openvidu-browser@2.15.0","_inBundle":false,"_integrity":"sha512-agnyeYIf1ze5ynGqNw32zFedlov9JZzjoFQHNMwuAoFYc2/24Aajs9cyw3j0m7v8xmMkqWSOYvsu7kGc8z1mZg==","_location":"/openvidu-browser","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"openvidu-browser@2.15.0","name":"openvidu-browser","escapedName":"openvidu-browser","rawSpec":"2.15.0","saveSpec":null,"fetchSpec":"2.15.0"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/openvidu-browser/-/openvidu-browser-2.15.0.tgz","_shasum":"12b8c88af6101019c7d185086af1a4a88df58463","_shrinkwrap":{"name":"openvidu-browser","version":"2.15.0","lockfileVersion":1,"requires":true,"dependencies":{"@babel/code-frame":{"version":"7.8.3","resolved":"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz","integrity":"sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==","dev":true,"requires":{"@babel/highlight":"^7.8.3"}},"@babel/helper-validator-identifier":{"version":"7.9.5","resolved":"https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz","integrity":"sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==","dev":true},"@babel/highlight":{"version":"7.9.0","resolved":"https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz","integrity":"sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==","dev":true,"requires":{"@babel/helper-validator-identifier":"^7.9.0","chalk":"^2.0.0","js-tokens":"^4.0.0"}},"@types/node":{"version":"13.13.2","resolved":"https://registry.npmjs.org/@types/node/-/node-13.13.2.tgz","integrity":"sha512-LB2R1Oyhpg8gu4SON/mfforE525+Hi/M1ineICEDftqNVTyFg1aRIeGuTvXAoWHc4nbrFncWtJgMmoyRvuGh7A=="},"@types/platform":{"version":"1.3.2","resolved":"https://registry.npmjs.org/@types/platform/-/platform-1.3.2.tgz","integrity":"sha512-Tn6OuJDAG7bJbyi4R7HqcxXp1w2lmIxVXqyNhPt1Bm0FO2EWIi3CI87JVzF7ncqK0ZMPuUycS3wTMIk85EeF1Q=="},"JSONStream":{"version":"1.3.5","resolved":"https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz","integrity":"sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==","dev":true,"requires":{"jsonparse":"^1.2.0","through":">=2.2.7 <3"}},"abbrev":{"version":"1.1.1","resolved":"https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz","integrity":"sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==","dev":true},"acorn":{"version":"7.1.1","resolved":"https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz","integrity":"sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==","dev":true},"acorn-node":{"version":"1.8.2","resolved":"https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz","integrity":"sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==","dev":true,"requires":{"acorn":"^7.0.0","acorn-walk":"^7.0.0","xtend":"^4.0.2"}},"acorn-walk":{"version":"7.1.1","resolved":"https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.1.1.tgz","integrity":"sha512-wdlPY2tm/9XBr7QkKlq0WQVgiuGTX6YWPyRyBviSoScBuLfTVQhvwg6wJ369GJ/1nPfTLMfnrFIfjqVg6d+jQQ==","dev":true},"ansi-regex":{"version":"2.1.1","resolved":"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz","integrity":"sha1-w7M6te42DYbg5ijwRorn7yfWVN8=","dev":true},"ansi-styles":{"version":"3.2.1","resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz","integrity":"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==","dev":true,"requires":{"color-convert":"^1.9.0"}},"any-promise":{"version":"1.3.0","resolved":"https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz","integrity":"sha1-q8av7tzqUugJzcA3au0845Y10X8=","dev":true},"anymatch":{"version":"2.0.0","resolved":"https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz","integrity":"sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==","dev":true,"requires":{"micromatch":"^3.1.4","normalize-path":"^2.1.1"},"dependencies":{"normalize-path":{"version":"2.1.1","resolved":"https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz","integrity":"sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=","dev":true,"requires":{"remove-trailing-separator":"^1.0.1"}}}},"argparse":{"version":"1.0.10","resolved":"https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz","integrity":"sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==","dev":true,"requires":{"sprintf-js":"~1.0.2"},"dependencies":{"sprintf-js":{"version":"1.0.3","resolved":"https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz","integrity":"sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=","dev":true}}},"arr-diff":{"version":"4.0.0","resolved":"https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz","integrity":"sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=","dev":true},"arr-flatten":{"version":"1.1.0","resolved":"https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz","integrity":"sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==","dev":true},"arr-union":{"version":"3.1.0","resolved":"https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz","integrity":"sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=","dev":true},"array-each":{"version":"1.0.1","resolved":"https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz","integrity":"sha1-p5SvDAWrF1KEbudTofIRoFugxE8=","dev":true},"array-find-index":{"version":"1.0.2","resolved":"https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz","integrity":"sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=","dev":true},"array-slice":{"version":"1.1.0","resolved":"https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz","integrity":"sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==","dev":true},"array-unique":{"version":"0.3.2","resolved":"https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz","integrity":"sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=","dev":true},"asn1.js":{"version":"4.10.1","resolved":"https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz","integrity":"sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==","dev":true,"requires":{"bn.js":"^4.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0"}},"assert":{"version":"1.5.0","resolved":"https://registry.npmjs.org/assert/-/assert-1.5.0.tgz","integrity":"sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==","dev":true,"requires":{"object-assign":"^4.1.1","util":"0.10.3"},"dependencies":{"inherits":{"version":"2.0.1","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz","integrity":"sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=","dev":true},"util":{"version":"0.10.3","resolved":"https://registry.npmjs.org/util/-/util-0.10.3.tgz","integrity":"sha1-evsa/lCAUkZInj23/g7TeTNqwPk=","dev":true,"requires":{"inherits":"2.0.1"}}}},"assign-symbols":{"version":"1.0.0","resolved":"https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz","integrity":"sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=","dev":true},"async":{"version":"1.5.2","resolved":"https://registry.npmjs.org/async/-/async-1.5.2.tgz","integrity":"sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=","dev":true},"async-each":{"version":"1.0.3","resolved":"https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz","integrity":"sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==","dev":true},"atob":{"version":"2.1.2","resolved":"https://registry.npmjs.org/atob/-/atob-2.1.2.tgz","integrity":"sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==","dev":true},"balanced-match":{"version":"1.0.0","resolved":"https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz","integrity":"sha1-ibTRmasr7kneFk6gK4nORi1xt2c=","dev":true},"base":{"version":"0.11.2","resolved":"https://registry.npmjs.org/base/-/base-0.11.2.tgz","integrity":"sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==","dev":true,"requires":{"cache-base":"^1.0.1","class-utils":"^0.3.5","component-emitter":"^1.2.1","define-property":"^1.0.0","isobject":"^3.0.1","mixin-deep":"^1.2.0","pascalcase":"^0.1.1"},"dependencies":{"define-property":{"version":"1.0.0","resolved":"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz","integrity":"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=","dev":true,"requires":{"is-descriptor":"^1.0.0"}},"is-accessor-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz","integrity":"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-data-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz","integrity":"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-descriptor":{"version":"1.0.2","resolved":"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz","integrity":"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==","dev":true,"requires":{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"base64-js":{"version":"1.3.1","resolved":"https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz","integrity":"sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==","dev":true},"binary-extensions":{"version":"1.13.1","resolved":"https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz","integrity":"sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==","dev":true},"bindings":{"version":"1.5.0","resolved":"https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz","integrity":"sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==","dev":true,"optional":true,"requires":{"file-uri-to-path":"1.0.0"}},"bn.js":{"version":"4.11.8","resolved":"https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz","integrity":"sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==","dev":true},"body":{"version":"5.1.0","resolved":"https://registry.npmjs.org/body/-/body-5.1.0.tgz","integrity":"sha1-5LoM5BCkaTYyM2dgnstOZVMSUGk=","dev":true,"requires":{"continuable-cache":"^0.3.1","error":"^7.0.0","raw-body":"~1.1.0","safe-json-parse":"~1.0.1"}},"brace-expansion":{"version":"1.1.11","resolved":"https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz","integrity":"sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==","dev":true,"requires":{"balanced-match":"^1.0.0","concat-map":"0.0.1"}},"braces":{"version":"2.3.2","resolved":"https://registry.npmjs.org/braces/-/braces-2.3.2.tgz","integrity":"sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==","dev":true,"requires":{"arr-flatten":"^1.1.0","array-unique":"^0.3.2","extend-shallow":"^2.0.1","fill-range":"^4.0.0","isobject":"^3.0.1","repeat-element":"^1.1.2","snapdragon":"^0.8.1","snapdragon-node":"^2.0.1","split-string":"^3.0.2","to-regex":"^3.0.1"},"dependencies":{"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}}}},"brorand":{"version":"1.1.0","resolved":"https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz","integrity":"sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=","dev":true},"browser-pack":{"version":"6.1.0","resolved":"https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz","integrity":"sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==","dev":true,"requires":{"JSONStream":"^1.0.3","combine-source-map":"~0.8.0","defined":"^1.0.0","safe-buffer":"^5.1.1","through2":"^2.0.0","umd":"^3.0.0"}},"browser-resolve":{"version":"1.11.3","resolved":"https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz","integrity":"sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==","dev":true,"requires":{"resolve":"1.1.7"},"dependencies":{"resolve":{"version":"1.1.7","resolved":"https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz","integrity":"sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=","dev":true}}},"browserify":{"version":"16.5.1","resolved":"https://registry.npmjs.org/browserify/-/browserify-16.5.1.tgz","integrity":"sha512-EQX0h59Pp+0GtSRb5rL6OTfrttlzv+uyaUVlK6GX3w11SQ0jKPKyjC/54RhPR2ib2KmfcELM06e8FxcI5XNU2A==","dev":true,"requires":{"JSONStream":"^1.0.3","assert":"^1.4.0","browser-pack":"^6.0.1","browser-resolve":"^1.11.0","browserify-zlib":"~0.2.0","buffer":"~5.2.1","cached-path-relative":"^1.0.0","concat-stream":"^1.6.0","console-browserify":"^1.1.0","constants-browserify":"~1.0.0","crypto-browserify":"^3.0.0","defined":"^1.0.0","deps-sort":"^2.0.0","domain-browser":"^1.2.0","duplexer2":"~0.1.2","events":"^2.0.0","glob":"^7.1.0","has":"^1.0.0","htmlescape":"^1.1.0","https-browserify":"^1.0.0","inherits":"~2.0.1","insert-module-globals":"^7.0.0","labeled-stream-splicer":"^2.0.0","mkdirp-classic":"^0.5.2","module-deps":"^6.0.0","os-browserify":"~0.3.0","parents":"^1.0.1","path-browserify":"~0.0.0","process":"~0.11.0","punycode":"^1.3.2","querystring-es3":"~0.2.0","read-only-stream":"^2.0.0","readable-stream":"^2.0.2","resolve":"^1.1.4","shasum":"^1.0.0","shell-quote":"^1.6.1","stream-browserify":"^2.0.0","stream-http":"^3.0.0","string_decoder":"^1.1.1","subarg":"^1.0.0","syntax-error":"^1.1.1","through2":"^2.0.0","timers-browserify":"^1.0.1","tty-browserify":"0.0.1","url":"~0.11.0","util":"~0.10.1","vm-browserify":"^1.0.0","xtend":"^4.0.0"}},"browserify-aes":{"version":"1.2.0","resolved":"https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz","integrity":"sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==","dev":true,"requires":{"buffer-xor":"^1.0.3","cipher-base":"^1.0.0","create-hash":"^1.1.0","evp_bytestokey":"^1.0.3","inherits":"^2.0.1","safe-buffer":"^5.0.1"}},"browserify-cipher":{"version":"1.0.1","resolved":"https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz","integrity":"sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==","dev":true,"requires":{"browserify-aes":"^1.0.4","browserify-des":"^1.0.0","evp_bytestokey":"^1.0.0"}},"browserify-des":{"version":"1.0.2","resolved":"https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz","integrity":"sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==","dev":true,"requires":{"cipher-base":"^1.0.1","des.js":"^1.0.0","inherits":"^2.0.1","safe-buffer":"^5.1.2"}},"browserify-rsa":{"version":"4.0.1","resolved":"https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz","integrity":"sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=","dev":true,"requires":{"bn.js":"^4.1.0","randombytes":"^2.0.1"}},"browserify-sign":{"version":"4.0.4","resolved":"https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz","integrity":"sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=","dev":true,"requires":{"bn.js":"^4.1.1","browserify-rsa":"^4.0.0","create-hash":"^1.1.0","create-hmac":"^1.1.2","elliptic":"^6.0.0","inherits":"^2.0.1","parse-asn1":"^5.0.0"}},"browserify-zlib":{"version":"0.2.0","resolved":"https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz","integrity":"sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==","dev":true,"requires":{"pako":"~1.0.5"}},"buffer":{"version":"5.2.1","resolved":"https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz","integrity":"sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==","dev":true,"requires":{"base64-js":"^1.0.2","ieee754":"^1.1.4"}},"buffer-from":{"version":"1.1.1","resolved":"https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz","integrity":"sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==","dev":true},"buffer-xor":{"version":"1.0.3","resolved":"https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz","integrity":"sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=","dev":true},"builtin-modules":{"version":"1.1.1","resolved":"https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz","integrity":"sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=","dev":true},"builtin-status-codes":{"version":"3.0.0","resolved":"https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz","integrity":"sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=","dev":true},"bytes":{"version":"1.0.0","resolved":"https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz","integrity":"sha1-NWnt6Lo0MV+rmcPpLLBMciDeH6g=","dev":true},"cache-base":{"version":"1.0.1","resolved":"https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz","integrity":"sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==","dev":true,"requires":{"collection-visit":"^1.0.0","component-emitter":"^1.2.1","get-value":"^2.0.6","has-value":"^1.0.0","isobject":"^3.0.1","set-value":"^2.0.0","to-object-path":"^0.3.0","union-value":"^1.0.0","unset-value":"^1.0.0"}},"cached-path-relative":{"version":"1.0.2","resolved":"https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz","integrity":"sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==","dev":true},"camelcase":{"version":"2.1.1","resolved":"https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz","integrity":"sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=","dev":true},"camelcase-keys":{"version":"2.1.0","resolved":"https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz","integrity":"sha1-MIvur/3ygRkFHvodkyITyRuPkuc=","dev":true,"requires":{"camelcase":"^2.0.0","map-obj":"^1.0.0"}},"chalk":{"version":"2.4.2","resolved":"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz","integrity":"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==","dev":true,"requires":{"ansi-styles":"^3.2.1","escape-string-regexp":"^1.0.5","supports-color":"^5.3.0"}},"chokidar":{"version":"2.1.8","resolved":"https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz","integrity":"sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==","dev":true,"requires":{"anymatch":"^2.0.0","async-each":"^1.0.1","braces":"^2.3.2","fsevents":"^1.2.7","glob-parent":"^3.1.0","inherits":"^2.0.3","is-binary-path":"^1.0.0","is-glob":"^4.0.0","normalize-path":"^3.0.0","path-is-absolute":"^1.0.0","readdirp":"^2.2.1","upath":"^1.1.1"},"dependencies":{"is-glob":{"version":"4.0.1","resolved":"https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz","integrity":"sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==","dev":true,"requires":{"is-extglob":"^2.1.1"}}}},"cipher-base":{"version":"1.0.4","resolved":"https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz","integrity":"sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==","dev":true,"requires":{"inherits":"^2.0.1","safe-buffer":"^5.0.1"}},"class-utils":{"version":"0.3.6","resolved":"https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz","integrity":"sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==","dev":true,"requires":{"arr-union":"^3.1.0","define-property":"^0.2.5","isobject":"^3.0.0","static-extend":"^0.1.1"},"dependencies":{"define-property":{"version":"0.2.5","resolved":"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz","integrity":"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=","dev":true,"requires":{"is-descriptor":"^0.1.0"}}}},"coffeescript":{"version":"1.10.0","resolved":"https://registry.npmjs.org/coffeescript/-/coffeescript-1.10.0.tgz","integrity":"sha1-56qDAZF+9iGzXYo580jc3R234z4=","dev":true},"collection-visit":{"version":"1.0.0","resolved":"https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz","integrity":"sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=","dev":true,"requires":{"map-visit":"^1.0.0","object-visit":"^1.0.0"}},"color-convert":{"version":"1.9.3","resolved":"https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz","integrity":"sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==","dev":true,"requires":{"color-name":"1.1.3"}},"color-name":{"version":"1.1.3","resolved":"https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz","integrity":"sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=","dev":true},"colors":{"version":"1.1.2","resolved":"https://registry.npmjs.org/colors/-/colors-1.1.2.tgz","integrity":"sha1-FopHAXVran9RoSzgyXv6KMCE7WM=","dev":true},"combine-source-map":{"version":"0.8.0","resolved":"https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz","integrity":"sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=","dev":true,"requires":{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"~0.5.3"}},"commander":{"version":"2.20.3","resolved":"https://registry.npmjs.org/commander/-/commander-2.20.3.tgz","integrity":"sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==","dev":true},"component-emitter":{"version":"1.3.0","resolved":"https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz","integrity":"sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==","dev":true},"concat-map":{"version":"0.0.1","resolved":"https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz","integrity":"sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=","dev":true},"concat-stream":{"version":"1.6.2","resolved":"https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz","integrity":"sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==","dev":true,"requires":{"buffer-from":"^1.0.0","inherits":"^2.0.3","readable-stream":"^2.2.2","typedarray":"^0.0.6"}},"console-browserify":{"version":"1.2.0","resolved":"https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz","integrity":"sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==","dev":true},"constants-browserify":{"version":"1.0.0","resolved":"https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz","integrity":"sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=","dev":true},"continuable-cache":{"version":"0.3.1","resolved":"https://registry.npmjs.org/continuable-cache/-/continuable-cache-0.3.1.tgz","integrity":"sha1-vXJ6f67XfnH/OYWskzUakSczrQ8=","dev":true},"convert-source-map":{"version":"1.1.3","resolved":"https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz","integrity":"sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=","dev":true},"copy-descriptor":{"version":"0.1.1","resolved":"https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz","integrity":"sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=","dev":true},"core-util-is":{"version":"1.0.2","resolved":"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz","integrity":"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=","dev":true},"create-ecdh":{"version":"4.0.3","resolved":"https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz","integrity":"sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==","dev":true,"requires":{"bn.js":"^4.1.0","elliptic":"^6.0.0"}},"create-hash":{"version":"1.2.0","resolved":"https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz","integrity":"sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==","dev":true,"requires":{"cipher-base":"^1.0.1","inherits":"^2.0.1","md5.js":"^1.3.4","ripemd160":"^2.0.1","sha.js":"^2.4.0"}},"create-hmac":{"version":"1.1.7","resolved":"https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz","integrity":"sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==","dev":true,"requires":{"cipher-base":"^1.0.3","create-hash":"^1.1.0","inherits":"^2.0.1","ripemd160":"^2.0.0","safe-buffer":"^5.0.1","sha.js":"^2.4.8"}},"cross-spawn":{"version":"0.2.9","resolved":"https://registry.npmjs.org/cross-spawn/-/cross-spawn-0.2.9.tgz","integrity":"sha1-vWf5bAfvtjA7f+lMHpefiEeOCjk=","dev":true,"requires":{"lru-cache":"^2.5.0"}},"crypto-browserify":{"version":"3.12.0","resolved":"https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz","integrity":"sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==","dev":true,"requires":{"browserify-cipher":"^1.0.0","browserify-sign":"^4.0.0","create-ecdh":"^4.0.0","create-hash":"^1.1.0","create-hmac":"^1.1.0","diffie-hellman":"^5.0.0","inherits":"^2.0.1","pbkdf2":"^3.0.3","public-encrypt":"^4.0.0","randombytes":"^2.0.0","randomfill":"^1.0.3"}},"csproj2ts":{"version":"1.1.0","resolved":"https://registry.npmjs.org/csproj2ts/-/csproj2ts-1.1.0.tgz","integrity":"sha512-sk0RTT51t4lUNQ7UfZrqjQx7q4g0m3iwNA6mvyh7gLsgQYvwKzfdyoAgicC9GqJvkoIkU0UmndV9c7VZ8pJ45Q==","dev":true,"requires":{"es6-promise":"^4.1.1","lodash":"^4.17.4","semver":"^5.4.1","xml2js":"^0.4.19"},"dependencies":{"es6-promise":{"version":"4.2.8","resolved":"https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz","integrity":"sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==","dev":true}}},"currently-unhandled":{"version":"0.4.1","resolved":"https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz","integrity":"sha1-mI3zP+qxke95mmE2nddsF635V+o=","dev":true,"requires":{"array-find-index":"^1.0.1"}},"dargs":{"version":"4.1.0","resolved":"https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz","integrity":"sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=","dev":true,"requires":{"number-is-nan":"^1.0.0"}},"dash-ast":{"version":"1.0.0","resolved":"https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz","integrity":"sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==","dev":true},"dateformat":{"version":"1.0.12","resolved":"https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz","integrity":"sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=","dev":true,"requires":{"get-stdin":"^4.0.1","meow":"^3.3.0"}},"debug":{"version":"2.6.9","resolved":"https://registry.npmjs.org/debug/-/debug-2.6.9.tgz","integrity":"sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==","dev":true,"requires":{"ms":"2.0.0"}},"decamelize":{"version":"1.2.0","resolved":"https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz","integrity":"sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=","dev":true},"decode-uri-component":{"version":"0.2.0","resolved":"https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz","integrity":"sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=","dev":true},"define-property":{"version":"2.0.2","resolved":"https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz","integrity":"sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==","dev":true,"requires":{"is-descriptor":"^1.0.2","isobject":"^3.0.1"},"dependencies":{"is-accessor-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz","integrity":"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-data-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz","integrity":"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-descriptor":{"version":"1.0.2","resolved":"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz","integrity":"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==","dev":true,"requires":{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"defined":{"version":"1.0.0","resolved":"https://registry.npmjs.org/defined/-/defined-1.0.0.tgz","integrity":"sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=","dev":true},"deps-sort":{"version":"2.0.1","resolved":"https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz","integrity":"sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==","dev":true,"requires":{"JSONStream":"^1.0.3","shasum-object":"^1.0.0","subarg":"^1.0.0","through2":"^2.0.0"}},"des.js":{"version":"1.0.1","resolved":"https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz","integrity":"sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==","dev":true,"requires":{"inherits":"^2.0.1","minimalistic-assert":"^1.0.0"}},"detect-file":{"version":"1.0.0","resolved":"https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz","integrity":"sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=","dev":true},"detect-indent":{"version":"4.0.0","resolved":"https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz","integrity":"sha1-920GQ1LN9Docts5hnE7jqUdd4gg=","dev":true,"requires":{"repeating":"^2.0.0"}},"detect-newline":{"version":"2.1.0","resolved":"https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz","integrity":"sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=","dev":true},"detective":{"version":"5.2.0","resolved":"https://registry.npmjs.org/detective/-/detective-5.2.0.tgz","integrity":"sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==","dev":true,"requires":{"acorn-node":"^1.6.1","defined":"^1.0.0","minimist":"^1.1.1"}},"diff":{"version":"3.5.0","resolved":"https://registry.npmjs.org/diff/-/diff-3.5.0.tgz","integrity":"sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==","dev":true},"diffie-hellman":{"version":"5.0.3","resolved":"https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz","integrity":"sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==","dev":true,"requires":{"bn.js":"^4.1.0","miller-rabin":"^4.0.0","randombytes":"^2.0.0"}},"domain-browser":{"version":"1.2.0","resolved":"https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz","integrity":"sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==","dev":true},"duplexer":{"version":"0.1.1","resolved":"https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz","integrity":"sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=","dev":true},"duplexer2":{"version":"0.1.4","resolved":"https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz","integrity":"sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=","dev":true,"requires":{"readable-stream":"^2.0.2"}},"elliptic":{"version":"6.5.2","resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","dev":true,"requires":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}},"error":{"version":"7.2.1","resolved":"https://registry.npmjs.org/error/-/error-7.2.1.tgz","integrity":"sha512-fo9HBvWnx3NGUKMvMwB/CBCMMrfEJgbDTVDEkPygA3Bdd3lM1OyCd+rbQ8BwnpF6GdVeOLDNmyL4N5Bg80ZvdA==","dev":true,"requires":{"string-template":"~0.2.1"}},"error-ex":{"version":"1.3.2","resolved":"https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz","integrity":"sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==","dev":true,"requires":{"is-arrayish":"^0.2.1"}},"es6-promise":{"version":"0.1.2","resolved":"https://registry.npmjs.org/es6-promise/-/es6-promise-0.1.2.tgz","integrity":"sha1-8RLCn+paCZhTn8tqL9IUQ9KPBfc=","dev":true},"escape-string-regexp":{"version":"1.0.5","resolved":"https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz","integrity":"sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=","dev":true},"esprima":{"version":"4.0.1","resolved":"https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz","integrity":"sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==","dev":true},"eventemitter2":{"version":"0.4.14","resolved":"https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz","integrity":"sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=","dev":true},"events":{"version":"2.1.0","resolved":"https://registry.npmjs.org/events/-/events-2.1.0.tgz","integrity":"sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==","dev":true},"evp_bytestokey":{"version":"1.0.3","resolved":"https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz","integrity":"sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==","dev":true,"requires":{"md5.js":"^1.3.4","safe-buffer":"^5.1.1"}},"exit":{"version":"0.1.2","resolved":"https://registry.npmjs.org/exit/-/exit-0.1.2.tgz","integrity":"sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=","dev":true},"expand-brackets":{"version":"2.1.4","resolved":"https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz","integrity":"sha1-t3c14xXOMPa27/D4OwQVGiJEliI=","dev":true,"requires":{"debug":"^2.3.3","define-property":"^0.2.5","extend-shallow":"^2.0.1","posix-character-classes":"^0.1.0","regex-not":"^1.0.0","snapdragon":"^0.8.1","to-regex":"^3.0.1"},"dependencies":{"define-property":{"version":"0.2.5","resolved":"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz","integrity":"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=","dev":true,"requires":{"is-descriptor":"^0.1.0"}},"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}}}},"expand-tilde":{"version":"2.0.2","resolved":"https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz","integrity":"sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=","dev":true,"requires":{"homedir-polyfill":"^1.0.1"}},"extend":{"version":"3.0.2","resolved":"https://registry.npmjs.org/extend/-/extend-3.0.2.tgz","integrity":"sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==","dev":true},"extend-shallow":{"version":"3.0.2","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz","integrity":"sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=","dev":true,"requires":{"assign-symbols":"^1.0.0","is-extendable":"^1.0.1"},"dependencies":{"is-extendable":{"version":"1.0.1","resolved":"https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz","integrity":"sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==","dev":true,"requires":{"is-plain-object":"^2.0.4"}}}},"extglob":{"version":"2.0.4","resolved":"https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz","integrity":"sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==","dev":true,"requires":{"array-unique":"^0.3.2","define-property":"^1.0.0","expand-brackets":"^2.1.4","extend-shallow":"^2.0.1","fragment-cache":"^0.2.1","regex-not":"^1.0.0","snapdragon":"^0.8.1","to-regex":"^3.0.1"},"dependencies":{"define-property":{"version":"1.0.0","resolved":"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz","integrity":"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=","dev":true,"requires":{"is-descriptor":"^1.0.0"}},"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}},"is-accessor-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz","integrity":"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-data-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz","integrity":"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-descriptor":{"version":"1.0.2","resolved":"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz","integrity":"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==","dev":true,"requires":{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"fast-safe-stringify":{"version":"2.0.7","resolved":"https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz","integrity":"sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==","dev":true},"faye-websocket":{"version":"0.10.0","resolved":"https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz","integrity":"sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=","dev":true,"requires":{"websocket-driver":">=0.5.1"}},"figures":{"version":"1.7.0","resolved":"https://registry.npmjs.org/figures/-/figures-1.7.0.tgz","integrity":"sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=","dev":true,"requires":{"escape-string-regexp":"^1.0.5","object-assign":"^4.1.0"}},"file-sync-cmp":{"version":"0.1.1","resolved":"https://registry.npmjs.org/file-sync-cmp/-/file-sync-cmp-0.1.1.tgz","integrity":"sha1-peeo/7+kk7Q7kju9TKiaU7Y7YSs=","dev":true},"file-uri-to-path":{"version":"1.0.0","resolved":"https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz","integrity":"sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==","dev":true,"optional":true},"fill-range":{"version":"4.0.0","resolved":"https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz","integrity":"sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=","dev":true,"requires":{"extend-shallow":"^2.0.1","is-number":"^3.0.0","repeat-string":"^1.6.1","to-regex-range":"^2.1.0"},"dependencies":{"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}}}},"find-up":{"version":"1.1.2","resolved":"https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz","integrity":"sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=","dev":true,"requires":{"path-exists":"^2.0.0","pinkie-promise":"^2.0.0"}},"findup-sync":{"version":"0.3.0","resolved":"https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz","integrity":"sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY=","dev":true,"requires":{"glob":"~5.0.0"},"dependencies":{"glob":{"version":"5.0.15","resolved":"https://registry.npmjs.org/glob/-/glob-5.0.15.tgz","integrity":"sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=","dev":true,"requires":{"inflight":"^1.0.4","inherits":"2","minimatch":"2 || 3","once":"^1.3.0","path-is-absolute":"^1.0.0"}}}},"fined":{"version":"1.2.0","resolved":"https://registry.npmjs.org/fined/-/fined-1.2.0.tgz","integrity":"sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==","dev":true,"requires":{"expand-tilde":"^2.0.2","is-plain-object":"^2.0.3","object.defaults":"^1.1.0","object.pick":"^1.2.0","parse-filepath":"^1.0.1"}},"flagged-respawn":{"version":"1.0.1","resolved":"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz","integrity":"sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==","dev":true},"for-in":{"version":"1.0.2","resolved":"https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz","integrity":"sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=","dev":true},"for-own":{"version":"1.0.0","resolved":"https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz","integrity":"sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=","dev":true,"requires":{"for-in":"^1.0.1"}},"fragment-cache":{"version":"0.2.1","resolved":"https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz","integrity":"sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=","dev":true,"requires":{"map-cache":"^0.2.2"}},"freeice":{"version":"2.2.2","resolved":"https://registry.npmjs.org/freeice/-/freeice-2.2.2.tgz","integrity":"sha512-XNoIxDHufqPIBSLpp4IrFPnoc+hv/0RwdOGhIoggIDC2ZKf5r6OoixbeoFJSmZOAq2aYiEUArhuQ8zVVrM5C4w==","requires":{"normalice":"^1.0.0"}},"fs-extra":{"version":"8.1.0","resolved":"https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz","integrity":"sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==","dev":true,"requires":{"graceful-fs":"^4.2.0","jsonfile":"^4.0.0","universalify":"^0.1.0"}},"fs.realpath":{"version":"1.0.0","resolved":"https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity":"sha1-FQStJSMVjKpA20onh8sBQRmU6k8=","dev":true},"fsevents":{"version":"1.2.12","resolved":"https://registry.npmjs.org/fsevents/-/fsevents-1.2.12.tgz","integrity":"sha512-Ggd/Ktt7E7I8pxZRbGIs7vwqAPscSESMrCSkx2FtWeqmheJgCo2R74fTsZFCifr0VTPwqRpPv17+6b8Zp7th0Q==","dev":true,"optional":true,"requires":{"bindings":"^1.5.0","nan":"^2.12.1","node-pre-gyp":"*"},"dependencies":{"abbrev":{"version":"1.1.1","bundled":true,"dev":true,"optional":true},"ansi-regex":{"version":"2.1.1","bundled":true,"dev":true,"optional":true},"aproba":{"version":"1.2.0","bundled":true,"dev":true,"optional":true},"are-we-there-yet":{"version":"1.1.5","bundled":true,"dev":true,"optional":true,"requires":{"delegates":"^1.0.0","readable-stream":"^2.0.6"}},"balanced-match":{"version":"1.0.0","bundled":true,"dev":true,"optional":true},"brace-expansion":{"version":"1.1.11","bundled":true,"dev":true,"optional":true,"requires":{"balanced-match":"^1.0.0","concat-map":"0.0.1"}},"chownr":{"version":"1.1.4","bundled":true,"dev":true,"optional":true},"code-point-at":{"version":"1.1.0","bundled":true,"dev":true,"optional":true},"concat-map":{"version":"0.0.1","bundled":true,"dev":true,"optional":true},"console-control-strings":{"version":"1.1.0","bundled":true,"dev":true,"optional":true},"core-util-is":{"version":"1.0.2","bundled":true,"dev":true,"optional":true},"debug":{"version":"3.2.6","bundled":true,"dev":true,"optional":true,"requires":{"ms":"^2.1.1"}},"deep-extend":{"version":"0.6.0","bundled":true,"dev":true,"optional":true},"delegates":{"version":"1.0.0","bundled":true,"dev":true,"optional":true},"detect-libc":{"version":"1.0.3","bundled":true,"dev":true,"optional":true},"fs-minipass":{"version":"1.2.7","bundled":true,"dev":true,"optional":true,"requires":{"minipass":"^2.6.0"}},"fs.realpath":{"version":"1.0.0","bundled":true,"dev":true,"optional":true},"gauge":{"version":"2.7.4","bundled":true,"dev":true,"optional":true,"requires":{"aproba":"^1.0.3","console-control-strings":"^1.0.0","has-unicode":"^2.0.0","object-assign":"^4.1.0","signal-exit":"^3.0.0","string-width":"^1.0.1","strip-ansi":"^3.0.1","wide-align":"^1.1.0"}},"glob":{"version":"7.1.6","bundled":true,"dev":true,"optional":true,"requires":{"fs.realpath":"^1.0.0","inflight":"^1.0.4","inherits":"2","minimatch":"^3.0.4","once":"^1.3.0","path-is-absolute":"^1.0.0"}},"has-unicode":{"version":"2.0.1","bundled":true,"dev":true,"optional":true},"iconv-lite":{"version":"0.4.24","bundled":true,"dev":true,"optional":true,"requires":{"safer-buffer":">= 2.1.2 < 3"}},"ignore-walk":{"version":"3.0.3","bundled":true,"dev":true,"optional":true,"requires":{"minimatch":"^3.0.4"}},"inflight":{"version":"1.0.6","bundled":true,"dev":true,"optional":true,"requires":{"once":"^1.3.0","wrappy":"1"}},"inherits":{"version":"2.0.4","bundled":true,"dev":true,"optional":true},"ini":{"version":"1.3.5","bundled":true,"dev":true,"optional":true},"is-fullwidth-code-point":{"version":"1.0.0","bundled":true,"dev":true,"optional":true,"requires":{"number-is-nan":"^1.0.0"}},"isarray":{"version":"1.0.0","bundled":true,"dev":true,"optional":true},"minimatch":{"version":"3.0.4","bundled":true,"dev":true,"optional":true,"requires":{"brace-expansion":"^1.1.7"}},"minimist":{"version":"1.2.5","bundled":true,"dev":true,"optional":true},"minipass":{"version":"2.9.0","bundled":true,"dev":true,"optional":true,"requires":{"safe-buffer":"^5.1.2","yallist":"^3.0.0"}},"minizlib":{"version":"1.3.3","bundled":true,"dev":true,"optional":true,"requires":{"minipass":"^2.9.0"}},"mkdirp":{"version":"0.5.3","bundled":true,"dev":true,"optional":true,"requires":{"minimist":"^1.2.5"}},"ms":{"version":"2.1.2","bundled":true,"dev":true,"optional":true},"needle":{"version":"2.3.3","bundled":true,"dev":true,"optional":true,"requires":{"debug":"^3.2.6","iconv-lite":"^0.4.4","sax":"^1.2.4"}},"node-pre-gyp":{"version":"0.14.0","bundled":true,"dev":true,"optional":true,"requires":{"detect-libc":"^1.0.2","mkdirp":"^0.5.1","needle":"^2.2.1","nopt":"^4.0.1","npm-packlist":"^1.1.6","npmlog":"^4.0.2","rc":"^1.2.7","rimraf":"^2.6.1","semver":"^5.3.0","tar":"^4.4.2"}},"nopt":{"version":"4.0.3","bundled":true,"dev":true,"optional":true,"requires":{"abbrev":"1","osenv":"^0.1.4"}},"npm-bundled":{"version":"1.1.1","bundled":true,"dev":true,"optional":true,"requires":{"npm-normalize-package-bin":"^1.0.1"}},"npm-normalize-package-bin":{"version":"1.0.1","bundled":true,"dev":true,"optional":true},"npm-packlist":{"version":"1.4.8","bundled":true,"dev":true,"optional":true,"requires":{"ignore-walk":"^3.0.1","npm-bundled":"^1.0.1","npm-normalize-package-bin":"^1.0.1"}},"npmlog":{"version":"4.1.2","bundled":true,"dev":true,"optional":true,"requires":{"are-we-there-yet":"~1.1.2","console-control-strings":"~1.1.0","gauge":"~2.7.3","set-blocking":"~2.0.0"}},"number-is-nan":{"version":"1.0.1","bundled":true,"dev":true,"optional":true},"object-assign":{"version":"4.1.1","bundled":true,"dev":true,"optional":true},"once":{"version":"1.4.0","bundled":true,"dev":true,"optional":true,"requires":{"wrappy":"1"}},"os-homedir":{"version":"1.0.2","bundled":true,"dev":true,"optional":true},"os-tmpdir":{"version":"1.0.2","bundled":true,"dev":true,"optional":true},"osenv":{"version":"0.1.5","bundled":true,"dev":true,"optional":true,"requires":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"}},"path-is-absolute":{"version":"1.0.1","bundled":true,"dev":true,"optional":true},"process-nextick-args":{"version":"2.0.1","bundled":true,"dev":true,"optional":true},"rc":{"version":"1.2.8","bundled":true,"dev":true,"optional":true,"requires":{"deep-extend":"^0.6.0","ini":"~1.3.0","minimist":"^1.2.0","strip-json-comments":"~2.0.1"}},"readable-stream":{"version":"2.3.7","bundled":true,"dev":true,"optional":true,"requires":{"core-util-is":"~1.0.0","inherits":"~2.0.3","isarray":"~1.0.0","process-nextick-args":"~2.0.0","safe-buffer":"~5.1.1","string_decoder":"~1.1.1","util-deprecate":"~1.0.1"}},"rimraf":{"version":"2.7.1","bundled":true,"dev":true,"optional":true,"requires":{"glob":"^7.1.3"}},"safe-buffer":{"version":"5.1.2","bundled":true,"dev":true,"optional":true},"safer-buffer":{"version":"2.1.2","bundled":true,"dev":true,"optional":true},"sax":{"version":"1.2.4","bundled":true,"dev":true,"optional":true},"semver":{"version":"5.7.1","bundled":true,"dev":true,"optional":true},"set-blocking":{"version":"2.0.0","bundled":true,"dev":true,"optional":true},"signal-exit":{"version":"3.0.2","bundled":true,"dev":true,"optional":true},"string-width":{"version":"1.0.2","bundled":true,"dev":true,"optional":true,"requires":{"code-point-at":"^1.0.0","is-fullwidth-code-point":"^1.0.0","strip-ansi":"^3.0.0"}},"string_decoder":{"version":"1.1.1","bundled":true,"dev":true,"optional":true,"requires":{"safe-buffer":"~5.1.0"}},"strip-ansi":{"version":"3.0.1","bundled":true,"dev":true,"optional":true,"requires":{"ansi-regex":"^2.0.0"}},"strip-json-comments":{"version":"2.0.1","bundled":true,"dev":true,"optional":true},"tar":{"version":"4.4.13","bundled":true,"dev":true,"optional":true,"requires":{"chownr":"^1.1.1","fs-minipass":"^1.2.5","minipass":"^2.8.6","minizlib":"^1.2.1","mkdirp":"^0.5.0","safe-buffer":"^5.1.2","yallist":"^3.0.3"}},"util-deprecate":{"version":"1.0.2","bundled":true,"dev":true,"optional":true},"wide-align":{"version":"1.1.3","bundled":true,"dev":true,"optional":true,"requires":{"string-width":"^1.0.2 || 2"}},"wrappy":{"version":"1.0.2","bundled":true,"dev":true,"optional":true},"yallist":{"version":"3.1.1","bundled":true,"dev":true,"optional":true}}},"function-bind":{"version":"1.1.1","resolved":"https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz","integrity":"sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==","dev":true},"gaze":{"version":"1.1.3","resolved":"https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz","integrity":"sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==","dev":true,"requires":{"globule":"^1.0.0"}},"get-assigned-identifiers":{"version":"1.2.0","resolved":"https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz","integrity":"sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==","dev":true},"get-stdin":{"version":"4.0.1","resolved":"https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz","integrity":"sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=","dev":true},"get-value":{"version":"2.0.6","resolved":"https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz","integrity":"sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=","dev":true},"getobject":{"version":"0.1.0","resolved":"https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz","integrity":"sha1-BHpEl4n6Fg0Bj1SG7ZEyC27HiFw=","dev":true},"glob":{"version":"7.1.6","resolved":"https://registry.npmjs.org/glob/-/glob-7.1.6.tgz","integrity":"sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==","dev":true,"requires":{"fs.realpath":"^1.0.0","inflight":"^1.0.4","inherits":"2","minimatch":"^3.0.4","once":"^1.3.0","path-is-absolute":"^1.0.0"}},"glob-parent":{"version":"3.1.0","resolved":"https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz","integrity":"sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=","dev":true,"requires":{"is-glob":"^3.1.0","path-dirname":"^1.0.0"}},"global-modules":{"version":"1.0.0","resolved":"https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz","integrity":"sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==","dev":true,"requires":{"global-prefix":"^1.0.1","is-windows":"^1.0.1","resolve-dir":"^1.0.0"}},"global-prefix":{"version":"1.0.2","resolved":"https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz","integrity":"sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=","dev":true,"requires":{"expand-tilde":"^2.0.2","homedir-polyfill":"^1.0.1","ini":"^1.3.4","is-windows":"^1.0.1","which":"^1.2.14"}},"globule":{"version":"1.3.1","resolved":"https://registry.npmjs.org/globule/-/globule-1.3.1.tgz","integrity":"sha512-OVyWOHgw29yosRHCHo7NncwR1hW5ew0W/UrvtwvjefVJeQ26q4/8r8FmPsSF1hJ93IgWkyv16pCTz6WblMzm/g==","dev":true,"requires":{"glob":"~7.1.1","lodash":"~4.17.12","minimatch":"~3.0.2"}},"graceful-fs":{"version":"4.2.3","resolved":"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz","integrity":"sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==","dev":true},"grunt":{"version":"1.1.0","resolved":"https://registry.npmjs.org/grunt/-/grunt-1.1.0.tgz","integrity":"sha512-+NGod0grmviZ7Nzdi9am7vuRS/h76PcWDsV635mEXF0PEQMUV6Kb+OjTdsVxbi0PZmfQOjCMKb3w8CVZcqsn1g==","dev":true,"requires":{"coffeescript":"~1.10.0","dateformat":"~1.0.12","eventemitter2":"~0.4.13","exit":"~0.1.1","findup-sync":"~0.3.0","glob":"~7.0.0","grunt-cli":"~1.2.0","grunt-known-options":"~1.1.0","grunt-legacy-log":"~2.0.0","grunt-legacy-util":"~1.1.1","iconv-lite":"~0.4.13","js-yaml":"~3.13.1","minimatch":"~3.0.2","mkdirp":"~1.0.3","nopt":"~3.0.6","path-is-absolute":"~1.0.0","rimraf":"~2.6.2"},"dependencies":{"glob":{"version":"7.0.6","resolved":"https://registry.npmjs.org/glob/-/glob-7.0.6.tgz","integrity":"sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=","dev":true,"requires":{"fs.realpath":"^1.0.0","inflight":"^1.0.4","inherits":"2","minimatch":"^3.0.2","once":"^1.3.0","path-is-absolute":"^1.0.0"}},"grunt-cli":{"version":"1.2.0","resolved":"https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.2.0.tgz","integrity":"sha1-VisRnrsGndtGSs4oRVAb6Xs1tqg=","dev":true,"requires":{"findup-sync":"~0.3.0","grunt-known-options":"~1.1.0","nopt":"~3.0.6","resolve":"~1.1.0"}},"resolve":{"version":"1.1.7","resolved":"https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz","integrity":"sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=","dev":true}}},"grunt-cli":{"version":"1.3.2","resolved":"https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.3.2.tgz","integrity":"sha512-8OHDiZZkcptxVXtMfDxJvmN7MVJNE8L/yIcPb4HB7TlyFD1kDvjHrb62uhySsU14wJx9ORMnTuhRMQ40lH/orQ==","dev":true,"requires":{"grunt-known-options":"~1.1.0","interpret":"~1.1.0","liftoff":"~2.5.0","nopt":"~4.0.1","v8flags":"~3.1.1"},"dependencies":{"nopt":{"version":"4.0.3","resolved":"https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz","integrity":"sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==","dev":true,"requires":{"abbrev":"1","osenv":"^0.1.4"}}}},"grunt-contrib-copy":{"version":"1.0.0","resolved":"https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-1.0.0.tgz","integrity":"sha1-cGDGWB6QS4qw0A8HbgqPbj58NXM=","dev":true,"requires":{"chalk":"^1.1.1","file-sync-cmp":"^0.1.0"},"dependencies":{"ansi-styles":{"version":"2.2.1","resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz","integrity":"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=","dev":true},"chalk":{"version":"1.1.3","resolved":"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz","integrity":"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=","dev":true,"requires":{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"supports-color":{"version":"2.0.0","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz","integrity":"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=","dev":true}}},"grunt-contrib-sass":{"version":"1.0.0","resolved":"https://registry.npmjs.org/grunt-contrib-sass/-/grunt-contrib-sass-1.0.0.tgz","integrity":"sha1-gGg4JRy8DhqU1k1RXN00z2dNcBs=","dev":true,"requires":{"async":"^0.9.0","chalk":"^1.0.0","cross-spawn":"^0.2.3","dargs":"^4.0.0","which":"^1.0.5"},"dependencies":{"ansi-styles":{"version":"2.2.1","resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz","integrity":"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=","dev":true},"async":{"version":"0.9.2","resolved":"https://registry.npmjs.org/async/-/async-0.9.2.tgz","integrity":"sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=","dev":true},"chalk":{"version":"1.1.3","resolved":"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz","integrity":"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=","dev":true,"requires":{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"supports-color":{"version":"2.0.0","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz","integrity":"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=","dev":true}}},"grunt-contrib-uglify":{"version":"4.0.1","resolved":"https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-4.0.1.tgz","integrity":"sha512-dwf8/+4uW1+7pH72WButOEnzErPGmtUvc8p08B0eQS/6ON0WdeQu0+WFeafaPTbbY1GqtS25lsHWaDeiTQNWPg==","dev":true,"requires":{"chalk":"^2.4.1","maxmin":"^2.1.0","uglify-js":"^3.5.0","uri-path":"^1.0.0"}},"grunt-contrib-watch":{"version":"1.1.0","resolved":"https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.1.0.tgz","integrity":"sha512-yGweN+0DW5yM+oo58fRu/XIRrPcn3r4tQx+nL7eMRwjpvk+rQY6R8o94BPK0i2UhTg9FN21hS+m8vR8v9vXfeg==","dev":true,"requires":{"async":"^2.6.0","gaze":"^1.1.0","lodash":"^4.17.10","tiny-lr":"^1.1.1"},"dependencies":{"async":{"version":"2.6.3","resolved":"https://registry.npmjs.org/async/-/async-2.6.3.tgz","integrity":"sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==","dev":true,"requires":{"lodash":"^4.17.14"}}}},"grunt-known-options":{"version":"1.1.1","resolved":"https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz","integrity":"sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==","dev":true},"grunt-legacy-log":{"version":"2.0.0","resolved":"https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-2.0.0.tgz","integrity":"sha512-1m3+5QvDYfR1ltr8hjiaiNjddxGdQWcH0rw1iKKiQnF0+xtgTazirSTGu68RchPyh1OBng1bBUjLmX8q9NpoCw==","dev":true,"requires":{"colors":"~1.1.2","grunt-legacy-log-utils":"~2.0.0","hooker":"~0.2.3","lodash":"~4.17.5"}},"grunt-legacy-log-utils":{"version":"2.0.1","resolved":"https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.0.1.tgz","integrity":"sha512-o7uHyO/J+i2tXG8r2bZNlVk20vlIFJ9IEYyHMCQGfWYru8Jv3wTqKZzvV30YW9rWEjq0eP3cflQ1qWojIe9VFA==","dev":true,"requires":{"chalk":"~2.4.1","lodash":"~4.17.10"}},"grunt-legacy-util":{"version":"1.1.1","resolved":"https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.1.1.tgz","integrity":"sha512-9zyA29w/fBe6BIfjGENndwoe1Uy31BIXxTH3s8mga0Z5Bz2Sp4UCjkeyv2tI449ymkx3x26B+46FV4fXEddl5A==","dev":true,"requires":{"async":"~1.5.2","exit":"~0.1.1","getobject":"~0.1.0","hooker":"~0.2.3","lodash":"~4.17.10","underscore.string":"~3.3.4","which":"~1.3.0"}},"grunt-postcss":{"version":"0.9.0","resolved":"https://registry.npmjs.org/grunt-postcss/-/grunt-postcss-0.9.0.tgz","integrity":"sha512-lglLcVaoOIqH0sFv7RqwUKkEFGQwnlqyAKbatxZderwZGV1nDyKHN7gZS9LUiTx1t5GOvRBx0BEalHMyVwFAIA==","dev":true,"requires":{"chalk":"^2.1.0","diff":"^3.0.0","postcss":"^6.0.11"}},"grunt-string-replace":{"version":"1.3.1","resolved":"https://registry.npmjs.org/grunt-string-replace/-/grunt-string-replace-1.3.1.tgz","integrity":"sha1-YzoDvHhIKg4OH5339kWBH8H7sWI=","dev":true,"requires":{"async":"^2.0.0","chalk":"^1.0.0"},"dependencies":{"ansi-styles":{"version":"2.2.1","resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz","integrity":"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=","dev":true},"async":{"version":"2.6.3","resolved":"https://registry.npmjs.org/async/-/async-2.6.3.tgz","integrity":"sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==","dev":true,"requires":{"lodash":"^4.17.14"}},"chalk":{"version":"1.1.3","resolved":"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz","integrity":"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=","dev":true,"requires":{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"supports-color":{"version":"2.0.0","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz","integrity":"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=","dev":true}}},"grunt-ts":{"version":"6.0.0-beta.22","resolved":"https://registry.npmjs.org/grunt-ts/-/grunt-ts-6.0.0-beta.22.tgz","integrity":"sha512-g9e+ZImQ7W38dfpwhp0+GUltXWidy3YGPfIA/IyGL5HMv6wmVmMMoSgscI5swhs2HSPf8yAvXAAJbwrouijoRg==","dev":true,"requires":{"chokidar":"^2.0.4","csproj2ts":"^1.1.0","detect-indent":"^4.0.0","detect-newline":"^2.1.0","es6-promise":"~0.1.1","jsmin2":"^1.2.1","lodash":"~4.17.10","ncp":"0.5.1","rimraf":"2.2.6","semver":"^5.3.0","strip-bom":"^2.0.0"},"dependencies":{"rimraf":{"version":"2.2.6","resolved":"https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz","integrity":"sha1-xZWXVpsU2VatKcrMQr3d9fDqT0w=","dev":true}}},"gzip-size":{"version":"3.0.0","resolved":"https://registry.npmjs.org/gzip-size/-/gzip-size-3.0.0.tgz","integrity":"sha1-VGGI6b3DN/Zzdy+BZgRks4nc5SA=","dev":true,"requires":{"duplexer":"^0.1.1"}},"handlebars":{"version":"4.7.6","resolved":"https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz","integrity":"sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==","dev":true,"requires":{"minimist":"^1.2.5","neo-async":"^2.6.0","source-map":"^0.6.1","uglify-js":"^3.1.4","wordwrap":"^1.0.0"},"dependencies":{"source-map":{"version":"0.6.1","resolved":"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz","integrity":"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev":true}}},"hark":{"version":"1.2.3","resolved":"https://registry.npmjs.org/hark/-/hark-1.2.3.tgz","integrity":"sha512-u68vz9SCa38ESiFJSDjqK8XbXqWzyot7Cj6Y2b6jk2NJ+II3MY2dIrLMg/kjtIAun4Y1DHF/20hfx4rq1G5GMg==","requires":{"wildemitter":"^1.2.0"}},"has":{"version":"1.0.3","resolved":"https://registry.npmjs.org/has/-/has-1.0.3.tgz","integrity":"sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==","dev":true,"requires":{"function-bind":"^1.1.1"}},"has-ansi":{"version":"2.0.0","resolved":"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz","integrity":"sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=","dev":true,"requires":{"ansi-regex":"^2.0.0"}},"has-flag":{"version":"3.0.0","resolved":"https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz","integrity":"sha1-tdRU3CGZriJWmfNGfloH87lVuv0=","dev":true},"has-value":{"version":"1.0.0","resolved":"https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz","integrity":"sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=","dev":true,"requires":{"get-value":"^2.0.6","has-values":"^1.0.0","isobject":"^3.0.0"}},"has-values":{"version":"1.0.0","resolved":"https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz","integrity":"sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=","dev":true,"requires":{"is-number":"^3.0.0","kind-of":"^4.0.0"},"dependencies":{"kind-of":{"version":"4.0.0","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz","integrity":"sha1-IIE989cSkosgc3hpGkUGb65y3Vc=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"hash-base":{"version":"3.0.4","resolved":"https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz","integrity":"sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=","dev":true,"requires":{"inherits":"^2.0.1","safe-buffer":"^5.0.1"}},"hash.js":{"version":"1.1.7","resolved":"https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz","integrity":"sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==","dev":true,"requires":{"inherits":"^2.0.3","minimalistic-assert":"^1.0.1"}},"highlight.js":{"version":"9.18.1","resolved":"https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz","integrity":"sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg==","dev":true},"hmac-drbg":{"version":"1.0.1","resolved":"https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz","integrity":"sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=","dev":true,"requires":{"hash.js":"^1.0.3","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.1"}},"homedir-polyfill":{"version":"1.0.3","resolved":"https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz","integrity":"sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==","dev":true,"requires":{"parse-passwd":"^1.0.0"}},"hooker":{"version":"0.2.3","resolved":"https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz","integrity":"sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=","dev":true},"hosted-git-info":{"version":"2.8.8","resolved":"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz","integrity":"sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==","dev":true},"htmlescape":{"version":"1.1.1","resolved":"https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz","integrity":"sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=","dev":true},"http-parser-js":{"version":"0.4.10","resolved":"https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz","integrity":"sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=","dev":true},"https-browserify":{"version":"1.0.0","resolved":"https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz","integrity":"sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=","dev":true},"iconv-lite":{"version":"0.4.24","resolved":"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz","integrity":"sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==","dev":true,"requires":{"safer-buffer":">= 2.1.2 < 3"}},"ieee754":{"version":"1.1.13","resolved":"https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz","integrity":"sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==","dev":true},"indent-string":{"version":"2.1.0","resolved":"https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz","integrity":"sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=","dev":true,"requires":{"repeating":"^2.0.0"}},"inflight":{"version":"1.0.6","resolved":"https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz","integrity":"sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=","dev":true,"requires":{"once":"^1.3.0","wrappy":"1"}},"inherits":{"version":"2.0.4","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity":"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==","dev":true},"ini":{"version":"1.3.5","resolved":"https://registry.npmjs.org/ini/-/ini-1.3.5.tgz","integrity":"sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==","dev":true},"inline-source-map":{"version":"0.6.2","resolved":"https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz","integrity":"sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=","dev":true,"requires":{"source-map":"~0.5.3"}},"insert-module-globals":{"version":"7.2.0","resolved":"https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.0.tgz","integrity":"sha512-VE6NlW+WGn2/AeOMd496AHFYmE7eLKkUY6Ty31k4og5vmA3Fjuwe9v6ifH6Xx/Hz27QvdoMoviw1/pqWRB09Sw==","dev":true,"requires":{"JSONStream":"^1.0.3","acorn-node":"^1.5.2","combine-source-map":"^0.8.0","concat-stream":"^1.6.1","is-buffer":"^1.1.0","path-is-absolute":"^1.0.1","process":"~0.11.0","through2":"^2.0.0","undeclared-identifiers":"^1.1.2","xtend":"^4.0.0"}},"interpret":{"version":"1.1.0","resolved":"https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz","integrity":"sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=","dev":true},"is-absolute":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz","integrity":"sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==","dev":true,"requires":{"is-relative":"^1.0.0","is-windows":"^1.0.1"}},"is-accessor-descriptor":{"version":"0.1.6","resolved":"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz","integrity":"sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=","dev":true,"requires":{"kind-of":"^3.0.2"},"dependencies":{"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"is-arrayish":{"version":"0.2.1","resolved":"https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz","integrity":"sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=","dev":true},"is-binary-path":{"version":"1.0.1","resolved":"https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz","integrity":"sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=","dev":true,"requires":{"binary-extensions":"^1.0.0"}},"is-buffer":{"version":"1.1.6","resolved":"https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz","integrity":"sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==","dev":true},"is-data-descriptor":{"version":"0.1.4","resolved":"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz","integrity":"sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=","dev":true,"requires":{"kind-of":"^3.0.2"},"dependencies":{"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"is-descriptor":{"version":"0.1.6","resolved":"https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz","integrity":"sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==","dev":true,"requires":{"is-accessor-descriptor":"^0.1.6","is-data-descriptor":"^0.1.4","kind-of":"^5.0.0"},"dependencies":{"kind-of":{"version":"5.1.0","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz","integrity":"sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==","dev":true}}},"is-extendable":{"version":"0.1.1","resolved":"https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz","integrity":"sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=","dev":true},"is-extglob":{"version":"2.1.1","resolved":"https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz","integrity":"sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=","dev":true},"is-finite":{"version":"1.1.0","resolved":"https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz","integrity":"sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==","dev":true},"is-glob":{"version":"3.1.0","resolved":"https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz","integrity":"sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=","dev":true,"requires":{"is-extglob":"^2.1.0"}},"is-number":{"version":"3.0.0","resolved":"https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz","integrity":"sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=","dev":true,"requires":{"kind-of":"^3.0.2"},"dependencies":{"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"is-plain-object":{"version":"2.0.4","resolved":"https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz","integrity":"sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==","dev":true,"requires":{"isobject":"^3.0.1"}},"is-relative":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz","integrity":"sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==","dev":true,"requires":{"is-unc-path":"^1.0.0"}},"is-unc-path":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz","integrity":"sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==","dev":true,"requires":{"unc-path-regex":"^0.1.2"}},"is-utf8":{"version":"0.2.1","resolved":"https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz","integrity":"sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=","dev":true},"is-windows":{"version":"1.0.2","resolved":"https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz","integrity":"sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==","dev":true},"isarray":{"version":"1.0.0","resolved":"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz","integrity":"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=","dev":true},"isexe":{"version":"2.0.0","resolved":"https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz","integrity":"sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=","dev":true},"isobject":{"version":"3.0.1","resolved":"https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz","integrity":"sha1-TkMekrEalzFjaqH5yNHMvP2reN8=","dev":true},"js-tokens":{"version":"4.0.0","resolved":"https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz","integrity":"sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==","dev":true},"js-yaml":{"version":"3.13.1","resolved":"https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz","integrity":"sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==","dev":true,"requires":{"argparse":"^1.0.7","esprima":"^4.0.0"}},"jsmin2":{"version":"1.2.1","resolved":"https://registry.npmjs.org/jsmin2/-/jsmin2-1.2.1.tgz","integrity":"sha1-iPvi+/dfCpH2YCD9mBzWk/S/5X4=","dev":true},"json-stable-stringify":{"version":"0.0.1","resolved":"https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz","integrity":"sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=","dev":true,"requires":{"jsonify":"~0.0.0"}},"jsonfile":{"version":"4.0.0","resolved":"https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz","integrity":"sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=","dev":true,"requires":{"graceful-fs":"^4.1.6"}},"jsonify":{"version":"0.0.0","resolved":"https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz","integrity":"sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=","dev":true},"jsonparse":{"version":"1.3.1","resolved":"https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz","integrity":"sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=","dev":true},"kind-of":{"version":"6.0.3","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz","integrity":"sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==","dev":true},"labeled-stream-splicer":{"version":"2.0.2","resolved":"https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz","integrity":"sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==","dev":true,"requires":{"inherits":"^2.0.1","stream-splicer":"^2.0.0"}},"liftoff":{"version":"2.5.0","resolved":"https://registry.npmjs.org/liftoff/-/liftoff-2.5.0.tgz","integrity":"sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=","dev":true,"requires":{"extend":"^3.0.0","findup-sync":"^2.0.0","fined":"^1.0.1","flagged-respawn":"^1.0.0","is-plain-object":"^2.0.4","object.map":"^1.0.0","rechoir":"^0.6.2","resolve":"^1.1.7"},"dependencies":{"findup-sync":{"version":"2.0.0","resolved":"https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz","integrity":"sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=","dev":true,"requires":{"detect-file":"^1.0.0","is-glob":"^3.1.0","micromatch":"^3.0.4","resolve-dir":"^1.0.1"}}}},"livereload-js":{"version":"2.4.0","resolved":"https://registry.npmjs.org/livereload-js/-/livereload-js-2.4.0.tgz","integrity":"sha512-XPQH8Z2GDP/Hwz2PCDrh2mth4yFejwA1OZ/81Ti3LgKyhDcEjsSsqFWZojHG0va/duGd+WyosY7eXLDoOyqcPw==","dev":true},"load-json-file":{"version":"1.1.0","resolved":"https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz","integrity":"sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=","dev":true,"requires":{"graceful-fs":"^4.1.2","parse-json":"^2.2.0","pify":"^2.0.0","pinkie-promise":"^2.0.0","strip-bom":"^2.0.0"}},"lodash":{"version":"4.17.15","resolved":"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz","integrity":"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==","dev":true},"lodash.memoize":{"version":"3.0.4","resolved":"https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz","integrity":"sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=","dev":true},"loud-rejection":{"version":"1.6.0","resolved":"https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz","integrity":"sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=","dev":true,"requires":{"currently-unhandled":"^0.4.1","signal-exit":"^3.0.0"}},"lru-cache":{"version":"2.7.3","resolved":"https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz","integrity":"sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=","dev":true},"lunr":{"version":"2.3.8","resolved":"https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz","integrity":"sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO2P/4quIRg==","dev":true},"make-iterator":{"version":"1.0.1","resolved":"https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz","integrity":"sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==","dev":true,"requires":{"kind-of":"^6.0.2"}},"map-cache":{"version":"0.2.2","resolved":"https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz","integrity":"sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=","dev":true},"map-obj":{"version":"1.0.1","resolved":"https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz","integrity":"sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=","dev":true},"map-visit":{"version":"1.0.0","resolved":"https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz","integrity":"sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=","dev":true,"requires":{"object-visit":"^1.0.0"}},"marked":{"version":"0.8.2","resolved":"https://registry.npmjs.org/marked/-/marked-0.8.2.tgz","integrity":"sha512-EGwzEeCcLniFX51DhTpmTom+dSA/MG/OBUDjnWtHbEnjAH180VzUeAw+oE4+Zv+CoYBWyRlYOTR0N8SO9R1PVw==","dev":true},"maxmin":{"version":"2.1.0","resolved":"https://registry.npmjs.org/maxmin/-/maxmin-2.1.0.tgz","integrity":"sha1-TTsiCQPZXu5+t6x/qGTnLcCaMWY=","dev":true,"requires":{"chalk":"^1.0.0","figures":"^1.0.1","gzip-size":"^3.0.0","pretty-bytes":"^3.0.0"},"dependencies":{"ansi-styles":{"version":"2.2.1","resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz","integrity":"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=","dev":true},"chalk":{"version":"1.1.3","resolved":"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz","integrity":"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=","dev":true,"requires":{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"supports-color":{"version":"2.0.0","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz","integrity":"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=","dev":true}}},"md5.js":{"version":"1.3.5","resolved":"https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz","integrity":"sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==","dev":true,"requires":{"hash-base":"^3.0.0","inherits":"^2.0.1","safe-buffer":"^5.1.2"}},"meow":{"version":"3.7.0","resolved":"https://registry.npmjs.org/meow/-/meow-3.7.0.tgz","integrity":"sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=","dev":true,"requires":{"camelcase-keys":"^2.0.0","decamelize":"^1.1.2","loud-rejection":"^1.0.0","map-obj":"^1.0.1","minimist":"^1.1.3","normalize-package-data":"^2.3.4","object-assign":"^4.0.1","read-pkg-up":"^1.0.1","redent":"^1.0.0","trim-newlines":"^1.0.0"}},"micromatch":{"version":"3.1.10","resolved":"https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz","integrity":"sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==","dev":true,"requires":{"arr-diff":"^4.0.0","array-unique":"^0.3.2","braces":"^2.3.1","define-property":"^2.0.2","extend-shallow":"^3.0.2","extglob":"^2.0.4","fragment-cache":"^0.2.1","kind-of":"^6.0.2","nanomatch":"^1.2.9","object.pick":"^1.3.0","regex-not":"^1.0.0","snapdragon":"^0.8.1","to-regex":"^3.0.2"}},"miller-rabin":{"version":"4.0.1","resolved":"https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz","integrity":"sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==","dev":true,"requires":{"bn.js":"^4.0.0","brorand":"^1.0.1"}},"minimalistic-assert":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz","integrity":"sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==","dev":true},"minimalistic-crypto-utils":{"version":"1.0.1","resolved":"https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz","integrity":"sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=","dev":true},"minimatch":{"version":"3.0.4","resolved":"https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz","integrity":"sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==","dev":true,"requires":{"brace-expansion":"^1.1.7"}},"minimist":{"version":"1.2.5","resolved":"https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz","integrity":"sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==","dev":true},"mixin-deep":{"version":"1.3.2","resolved":"https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz","integrity":"sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==","dev":true,"requires":{"for-in":"^1.0.2","is-extendable":"^1.0.1"},"dependencies":{"is-extendable":{"version":"1.0.1","resolved":"https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz","integrity":"sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==","dev":true,"requires":{"is-plain-object":"^2.0.4"}}}},"mkdirp":{"version":"1.0.4","resolved":"https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz","integrity":"sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==","dev":true},"mkdirp-classic":{"version":"0.5.2","resolved":"https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.2.tgz","integrity":"sha512-ejdnDQcR75gwknmMw/tx02AuRs8jCtqFoFqDZMjiNxsu85sRIJVXDKHuLYvUUPRBUtV2FpSZa9bL1BUa3BdR2g==","dev":true},"module-deps":{"version":"6.2.2","resolved":"https://registry.npmjs.org/module-deps/-/module-deps-6.2.2.tgz","integrity":"sha512-a9y6yDv5u5I4A+IPHTnqFxcaKr4p50/zxTjcQJaX2ws9tN/W6J6YXnEKhqRyPhl494dkcxx951onSKVezmI+3w==","dev":true,"requires":{"JSONStream":"^1.0.3","browser-resolve":"^1.7.0","cached-path-relative":"^1.0.2","concat-stream":"~1.6.0","defined":"^1.0.0","detective":"^5.2.0","duplexer2":"^0.1.2","inherits":"^2.0.1","parents":"^1.0.0","readable-stream":"^2.0.2","resolve":"^1.4.0","stream-combiner2":"^1.1.1","subarg":"^1.0.0","through2":"^2.0.0","xtend":"^4.0.0"}},"ms":{"version":"2.0.0","resolved":"https://registry.npmjs.org/ms/-/ms-2.0.0.tgz","integrity":"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=","dev":true},"nan":{"version":"2.14.1","resolved":"https://registry.npmjs.org/nan/-/nan-2.14.1.tgz","integrity":"sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==","dev":true,"optional":true},"nanomatch":{"version":"1.2.13","resolved":"https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz","integrity":"sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==","dev":true,"requires":{"arr-diff":"^4.0.0","array-unique":"^0.3.2","define-property":"^2.0.2","extend-shallow":"^3.0.2","fragment-cache":"^0.2.1","is-windows":"^1.0.2","kind-of":"^6.0.2","object.pick":"^1.3.0","regex-not":"^1.0.0","snapdragon":"^0.8.1","to-regex":"^3.0.1"}},"ncp":{"version":"0.5.1","resolved":"https://registry.npmjs.org/ncp/-/ncp-0.5.1.tgz","integrity":"sha1-dDmFMW49tFkoG1hxaehFc1oFQ58=","dev":true},"neo-async":{"version":"2.6.1","resolved":"https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz","integrity":"sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==","dev":true},"nopt":{"version":"3.0.6","resolved":"https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz","integrity":"sha1-xkZdvwirzU2zWTF/eaxopkayj/k=","dev":true,"requires":{"abbrev":"1"}},"normalice":{"version":"1.0.1","resolved":"https://registry.npmjs.org/normalice/-/normalice-1.0.1.tgz","integrity":"sha1-A0NcLuzVYxprygLaOTDsPjRagPc="},"normalize-package-data":{"version":"2.5.0","resolved":"https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz","integrity":"sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==","dev":true,"requires":{"hosted-git-info":"^2.1.4","resolve":"^1.10.0","semver":"2 || 3 || 4 || 5","validate-npm-package-license":"^3.0.1"}},"normalize-path":{"version":"3.0.0","resolved":"https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz","integrity":"sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==","dev":true},"number-is-nan":{"version":"1.0.1","resolved":"https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz","integrity":"sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=","dev":true},"object-assign":{"version":"4.1.1","resolved":"https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz","integrity":"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=","dev":true},"object-copy":{"version":"0.1.0","resolved":"https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz","integrity":"sha1-fn2Fi3gb18mRpBupde04EnVOmYw=","dev":true,"requires":{"copy-descriptor":"^0.1.0","define-property":"^0.2.5","kind-of":"^3.0.3"},"dependencies":{"define-property":{"version":"0.2.5","resolved":"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz","integrity":"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=","dev":true,"requires":{"is-descriptor":"^0.1.0"}},"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"object-visit":{"version":"1.0.1","resolved":"https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz","integrity":"sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=","dev":true,"requires":{"isobject":"^3.0.0"}},"object.defaults":{"version":"1.1.0","resolved":"https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz","integrity":"sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=","dev":true,"requires":{"array-each":"^1.0.1","array-slice":"^1.0.0","for-own":"^1.0.0","isobject":"^3.0.0"}},"object.map":{"version":"1.0.1","resolved":"https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz","integrity":"sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=","dev":true,"requires":{"for-own":"^1.0.0","make-iterator":"^1.0.0"}},"object.pick":{"version":"1.3.0","resolved":"https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz","integrity":"sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=","dev":true,"requires":{"isobject":"^3.0.1"}},"once":{"version":"1.4.0","resolved":"https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity":"sha1-WDsap3WWHUsROsF9nFC6753Xa9E=","dev":true,"requires":{"wrappy":"1"}},"os-browserify":{"version":"0.3.0","resolved":"https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz","integrity":"sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=","dev":true},"os-homedir":{"version":"1.0.2","resolved":"https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz","integrity":"sha1-/7xJiDNuDoM94MFox+8VISGqf7M=","dev":true},"os-tmpdir":{"version":"1.0.2","resolved":"https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz","integrity":"sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=","dev":true},"osenv":{"version":"0.1.5","resolved":"https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz","integrity":"sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==","dev":true,"requires":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"}},"pako":{"version":"1.0.11","resolved":"https://registry.npmjs.org/pako/-/pako-1.0.11.tgz","integrity":"sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==","dev":true},"parents":{"version":"1.0.1","resolved":"https://registry.npmjs.org/parents/-/parents-1.0.1.tgz","integrity":"sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=","dev":true,"requires":{"path-platform":"~0.11.15"}},"parse-asn1":{"version":"5.1.5","resolved":"https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.5.tgz","integrity":"sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==","dev":true,"requires":{"asn1.js":"^4.0.0","browserify-aes":"^1.0.0","create-hash":"^1.1.0","evp_bytestokey":"^1.0.0","pbkdf2":"^3.0.3","safe-buffer":"^5.1.1"}},"parse-filepath":{"version":"1.0.2","resolved":"https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz","integrity":"sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=","dev":true,"requires":{"is-absolute":"^1.0.0","map-cache":"^0.2.0","path-root":"^0.1.1"}},"parse-json":{"version":"2.2.0","resolved":"https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz","integrity":"sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=","dev":true,"requires":{"error-ex":"^1.2.0"}},"parse-passwd":{"version":"1.0.0","resolved":"https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz","integrity":"sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=","dev":true},"pascalcase":{"version":"0.1.1","resolved":"https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz","integrity":"sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=","dev":true},"path-browserify":{"version":"0.0.1","resolved":"https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz","integrity":"sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==","dev":true},"path-dirname":{"version":"1.0.2","resolved":"https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz","integrity":"sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=","dev":true},"path-exists":{"version":"2.1.0","resolved":"https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz","integrity":"sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=","dev":true,"requires":{"pinkie-promise":"^2.0.0"}},"path-is-absolute":{"version":"1.0.1","resolved":"https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz","integrity":"sha1-F0uSaHNVNP+8es5r9TpanhtcX18=","dev":true},"path-parse":{"version":"1.0.6","resolved":"https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz","integrity":"sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==","dev":true},"path-platform":{"version":"0.11.15","resolved":"https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz","integrity":"sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=","dev":true},"path-root":{"version":"0.1.1","resolved":"https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz","integrity":"sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=","dev":true,"requires":{"path-root-regex":"^0.1.0"}},"path-root-regex":{"version":"0.1.2","resolved":"https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz","integrity":"sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=","dev":true},"path-type":{"version":"1.1.0","resolved":"https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz","integrity":"sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=","dev":true,"requires":{"graceful-fs":"^4.1.2","pify":"^2.0.0","pinkie-promise":"^2.0.0"}},"pbkdf2":{"version":"3.0.17","resolved":"https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz","integrity":"sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==","dev":true,"requires":{"create-hash":"^1.1.2","create-hmac":"^1.1.4","ripemd160":"^2.0.1","safe-buffer":"^5.0.1","sha.js":"^2.4.8"}},"pify":{"version":"2.3.0","resolved":"https://registry.npmjs.org/pify/-/pify-2.3.0.tgz","integrity":"sha1-7RQaasBDqEnqWISY59yosVMw6Qw=","dev":true},"pinkie":{"version":"2.0.4","resolved":"https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz","integrity":"sha1-clVrgM+g1IqXToDnckjoDtT3+HA=","dev":true},"pinkie-promise":{"version":"2.0.1","resolved":"https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz","integrity":"sha1-ITXW36ejWMBprJsXh3YogihFD/o=","dev":true,"requires":{"pinkie":"^2.0.0"}},"platform":{"version":"1.3.5","resolved":"https://registry.npmjs.org/platform/-/platform-1.3.5.tgz","integrity":"sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q=="},"posix-character-classes":{"version":"0.1.1","resolved":"https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz","integrity":"sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=","dev":true},"postcss":{"version":"6.0.23","resolved":"https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz","integrity":"sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==","dev":true,"requires":{"chalk":"^2.4.1","source-map":"^0.6.1","supports-color":"^5.4.0"},"dependencies":{"source-map":{"version":"0.6.1","resolved":"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz","integrity":"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev":true}}},"pretty-bytes":{"version":"3.0.1","resolved":"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-3.0.1.tgz","integrity":"sha1-J9AAjXeAY6C0gRuzXHnxvV1fvM8=","dev":true,"requires":{"number-is-nan":"^1.0.0"}},"process":{"version":"0.11.10","resolved":"https://registry.npmjs.org/process/-/process-0.11.10.tgz","integrity":"sha1-czIwDoQBYb2j5podHZGn1LwW8YI=","dev":true},"process-nextick-args":{"version":"2.0.1","resolved":"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz","integrity":"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==","dev":true},"progress":{"version":"2.0.3","resolved":"https://registry.npmjs.org/progress/-/progress-2.0.3.tgz","integrity":"sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==","dev":true},"public-encrypt":{"version":"4.0.3","resolved":"https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz","integrity":"sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==","dev":true,"requires":{"bn.js":"^4.1.0","browserify-rsa":"^4.0.0","create-hash":"^1.1.0","parse-asn1":"^5.0.0","randombytes":"^2.0.1","safe-buffer":"^5.1.2"}},"punycode":{"version":"1.4.1","resolved":"https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz","integrity":"sha1-wNWmOycYgArY4esPpSachN1BhF4=","dev":true},"qs":{"version":"6.9.3","resolved":"https://registry.npmjs.org/qs/-/qs-6.9.3.tgz","integrity":"sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==","dev":true},"querystring":{"version":"0.2.0","resolved":"https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz","integrity":"sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=","dev":true},"querystring-es3":{"version":"0.2.1","resolved":"https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz","integrity":"sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=","dev":true},"randombytes":{"version":"2.1.0","resolved":"https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz","integrity":"sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==","dev":true,"requires":{"safe-buffer":"^5.1.0"}},"randomfill":{"version":"1.0.4","resolved":"https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz","integrity":"sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==","dev":true,"requires":{"randombytes":"^2.0.5","safe-buffer":"^5.1.0"}},"raw-body":{"version":"1.1.7","resolved":"https://registry.npmjs.org/raw-body/-/raw-body-1.1.7.tgz","integrity":"sha1-HQJ8K/oRasxmI7yo8AAWVyqH1CU=","dev":true,"requires":{"bytes":"1","string_decoder":"0.10"},"dependencies":{"string_decoder":{"version":"0.10.31","resolved":"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz","integrity":"sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=","dev":true}}},"read-only-stream":{"version":"2.0.0","resolved":"https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz","integrity":"sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=","dev":true,"requires":{"readable-stream":"^2.0.2"}},"read-pkg":{"version":"1.1.0","resolved":"https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz","integrity":"sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=","dev":true,"requires":{"load-json-file":"^1.0.0","normalize-package-data":"^2.3.2","path-type":"^1.0.0"}},"read-pkg-up":{"version":"1.0.1","resolved":"https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz","integrity":"sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=","dev":true,"requires":{"find-up":"^1.0.0","read-pkg":"^1.0.0"}},"readable-stream":{"version":"2.3.7","resolved":"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz","integrity":"sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==","dev":true,"requires":{"core-util-is":"~1.0.0","inherits":"~2.0.3","isarray":"~1.0.0","process-nextick-args":"~2.0.0","safe-buffer":"~5.1.1","string_decoder":"~1.1.1","util-deprecate":"~1.0.1"},"dependencies":{"safe-buffer":{"version":"5.1.2","resolved":"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz","integrity":"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==","dev":true},"string_decoder":{"version":"1.1.1","resolved":"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz","integrity":"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==","dev":true,"requires":{"safe-buffer":"~5.1.0"}}}},"readdirp":{"version":"2.2.1","resolved":"https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz","integrity":"sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==","dev":true,"requires":{"graceful-fs":"^4.1.11","micromatch":"^3.1.10","readable-stream":"^2.0.2"}},"rechoir":{"version":"0.6.2","resolved":"https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz","integrity":"sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=","dev":true,"requires":{"resolve":"^1.1.6"}},"redent":{"version":"1.0.0","resolved":"https://registry.npmjs.org/redent/-/redent-1.0.0.tgz","integrity":"sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=","dev":true,"requires":{"indent-string":"^2.1.0","strip-indent":"^1.0.1"}},"regex-not":{"version":"1.0.2","resolved":"https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz","integrity":"sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==","dev":true,"requires":{"extend-shallow":"^3.0.2","safe-regex":"^1.1.0"}},"remove-trailing-separator":{"version":"1.1.0","resolved":"https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz","integrity":"sha1-wkvOKig62tW8P1jg1IJJuSN52O8=","dev":true},"repeat-element":{"version":"1.1.3","resolved":"https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz","integrity":"sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==","dev":true},"repeat-string":{"version":"1.6.1","resolved":"https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz","integrity":"sha1-jcrkcOHIirwtYA//Sndihtp15jc=","dev":true},"repeating":{"version":"2.0.1","resolved":"https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz","integrity":"sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=","dev":true,"requires":{"is-finite":"^1.0.0"}},"resolve":{"version":"1.17.0","resolved":"https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz","integrity":"sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==","dev":true,"requires":{"path-parse":"^1.0.6"}},"resolve-dir":{"version":"1.0.1","resolved":"https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz","integrity":"sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=","dev":true,"requires":{"expand-tilde":"^2.0.0","global-modules":"^1.0.0"}},"resolve-url":{"version":"0.2.1","resolved":"https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz","integrity":"sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=","dev":true},"ret":{"version":"0.1.15","resolved":"https://registry.npmjs.org/ret/-/ret-0.1.15.tgz","integrity":"sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==","dev":true},"rimraf":{"version":"2.6.3","resolved":"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz","integrity":"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==","dev":true,"requires":{"glob":"^7.1.3"}},"ripemd160":{"version":"2.0.2","resolved":"https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz","integrity":"sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==","dev":true,"requires":{"hash-base":"^3.0.0","inherits":"^2.0.1"}},"safe-buffer":{"version":"5.2.0","resolved":"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz","integrity":"sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==","dev":true},"safe-json-parse":{"version":"1.0.1","resolved":"https://registry.npmjs.org/safe-json-parse/-/safe-json-parse-1.0.1.tgz","integrity":"sha1-PnZyPjjf3aE8mx0poeB//uSzC1c=","dev":true},"safe-regex":{"version":"1.1.0","resolved":"https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz","integrity":"sha1-QKNmnzsHfR6UPURinhV91IAjvy4=","dev":true,"requires":{"ret":"~0.1.10"}},"safer-buffer":{"version":"2.1.2","resolved":"https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz","integrity":"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==","dev":true},"sax":{"version":"1.2.4","resolved":"https://registry.npmjs.org/sax/-/sax-1.2.4.tgz","integrity":"sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==","dev":true},"semver":{"version":"5.7.1","resolved":"https://registry.npmjs.org/semver/-/semver-5.7.1.tgz","integrity":"sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==","dev":true},"set-value":{"version":"2.0.1","resolved":"https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz","integrity":"sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==","dev":true,"requires":{"extend-shallow":"^2.0.1","is-extendable":"^0.1.1","is-plain-object":"^2.0.3","split-string":"^3.0.1"},"dependencies":{"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}}}},"sha.js":{"version":"2.4.11","resolved":"https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz","integrity":"sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==","dev":true,"requires":{"inherits":"^2.0.1","safe-buffer":"^5.0.1"}},"shasum":{"version":"1.0.2","resolved":"https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz","integrity":"sha1-5wEjENj0F/TetXEhUOVni4euVl8=","dev":true,"requires":{"json-stable-stringify":"~0.0.0","sha.js":"~2.4.4"}},"shasum-object":{"version":"1.0.0","resolved":"https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz","integrity":"sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==","dev":true,"requires":{"fast-safe-stringify":"^2.0.7"}},"shell-quote":{"version":"1.7.2","resolved":"https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz","integrity":"sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==","dev":true},"shelljs":{"version":"0.8.3","resolved":"https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz","integrity":"sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==","dev":true,"requires":{"glob":"^7.0.0","interpret":"^1.0.0","rechoir":"^0.6.2"}},"signal-exit":{"version":"3.0.3","resolved":"https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz","integrity":"sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==","dev":true},"simple-concat":{"version":"1.0.0","resolved":"https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz","integrity":"sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=","dev":true},"snapdragon":{"version":"0.8.2","resolved":"https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz","integrity":"sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==","dev":true,"requires":{"base":"^0.11.1","debug":"^2.2.0","define-property":"^0.2.5","extend-shallow":"^2.0.1","map-cache":"^0.2.2","source-map":"^0.5.6","source-map-resolve":"^0.5.0","use":"^3.1.0"},"dependencies":{"define-property":{"version":"0.2.5","resolved":"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz","integrity":"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=","dev":true,"requires":{"is-descriptor":"^0.1.0"}},"extend-shallow":{"version":"2.0.1","resolved":"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz","integrity":"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=","dev":true,"requires":{"is-extendable":"^0.1.0"}}}},"snapdragon-node":{"version":"2.1.1","resolved":"https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz","integrity":"sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==","dev":true,"requires":{"define-property":"^1.0.0","isobject":"^3.0.0","snapdragon-util":"^3.0.1"},"dependencies":{"define-property":{"version":"1.0.0","resolved":"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz","integrity":"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=","dev":true,"requires":{"is-descriptor":"^1.0.0"}},"is-accessor-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz","integrity":"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-data-descriptor":{"version":"1.0.0","resolved":"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz","integrity":"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==","dev":true,"requires":{"kind-of":"^6.0.0"}},"is-descriptor":{"version":"1.0.2","resolved":"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz","integrity":"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==","dev":true,"requires":{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"snapdragon-util":{"version":"3.0.1","resolved":"https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz","integrity":"sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==","dev":true,"requires":{"kind-of":"^3.2.0"},"dependencies":{"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"source-map":{"version":"0.5.7","resolved":"https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz","integrity":"sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=","dev":true},"source-map-resolve":{"version":"0.5.3","resolved":"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz","integrity":"sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==","dev":true,"requires":{"atob":"^2.1.2","decode-uri-component":"^0.2.0","resolve-url":"^0.2.1","source-map-url":"^0.4.0","urix":"^0.1.0"}},"source-map-support":{"version":"0.5.18","resolved":"https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.18.tgz","integrity":"sha512-9luZr/BZ2QeU6tO2uG8N2aZpVSli4TSAOAqFOyTO51AJcD9P99c0K1h6dD6r6qo5dyT44BR5exweOaLLeldTkQ==","dev":true,"requires":{"buffer-from":"^1.0.0","source-map":"^0.6.0"},"dependencies":{"source-map":{"version":"0.6.1","resolved":"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz","integrity":"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev":true}}},"source-map-url":{"version":"0.4.0","resolved":"https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz","integrity":"sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=","dev":true},"spdx-correct":{"version":"3.1.0","resolved":"https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz","integrity":"sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==","dev":true,"requires":{"spdx-expression-parse":"^3.0.0","spdx-license-ids":"^3.0.0"}},"spdx-exceptions":{"version":"2.3.0","resolved":"https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz","integrity":"sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==","dev":true},"spdx-expression-parse":{"version":"3.0.0","resolved":"https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz","integrity":"sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==","dev":true,"requires":{"spdx-exceptions":"^2.1.0","spdx-license-ids":"^3.0.0"}},"spdx-license-ids":{"version":"3.0.5","resolved":"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz","integrity":"sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==","dev":true},"split-string":{"version":"3.1.0","resolved":"https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz","integrity":"sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==","dev":true,"requires":{"extend-shallow":"^3.0.0"}},"sprintf-js":{"version":"1.1.2","resolved":"https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz","integrity":"sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==","dev":true},"static-extend":{"version":"0.1.2","resolved":"https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz","integrity":"sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=","dev":true,"requires":{"define-property":"^0.2.5","object-copy":"^0.1.0"},"dependencies":{"define-property":{"version":"0.2.5","resolved":"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz","integrity":"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=","dev":true,"requires":{"is-descriptor":"^0.1.0"}}}},"stream-browserify":{"version":"2.0.2","resolved":"https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz","integrity":"sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==","dev":true,"requires":{"inherits":"~2.0.1","readable-stream":"^2.0.2"}},"stream-combiner2":{"version":"1.1.1","resolved":"https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz","integrity":"sha1-+02KFCDqNidk4hrUeAOXvry0HL4=","dev":true,"requires":{"duplexer2":"~0.1.0","readable-stream":"^2.0.2"}},"stream-http":{"version":"3.1.0","resolved":"https://registry.npmjs.org/stream-http/-/stream-http-3.1.0.tgz","integrity":"sha512-cuB6RgO7BqC4FBYzmnvhob5Do3wIdIsXAgGycHJnW+981gHqoYcYz9lqjJrk8WXRddbwPuqPYRl+bag6mYv4lw==","dev":true,"requires":{"builtin-status-codes":"^3.0.0","inherits":"^2.0.1","readable-stream":"^3.0.6","xtend":"^4.0.0"},"dependencies":{"readable-stream":{"version":"3.6.0","resolved":"https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz","integrity":"sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==","dev":true,"requires":{"inherits":"^2.0.3","string_decoder":"^1.1.1","util-deprecate":"^1.0.1"}}}},"stream-splicer":{"version":"2.0.1","resolved":"https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz","integrity":"sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==","dev":true,"requires":{"inherits":"^2.0.1","readable-stream":"^2.0.2"}},"string-template":{"version":"0.2.1","resolved":"https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz","integrity":"sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=","dev":true},"string_decoder":{"version":"1.3.0","resolved":"https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz","integrity":"sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==","dev":true,"requires":{"safe-buffer":"~5.2.0"}},"strip-ansi":{"version":"3.0.1","resolved":"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz","integrity":"sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=","dev":true,"requires":{"ansi-regex":"^2.0.0"}},"strip-bom":{"version":"2.0.0","resolved":"https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz","integrity":"sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=","dev":true,"requires":{"is-utf8":"^0.2.0"}},"strip-indent":{"version":"1.0.1","resolved":"https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz","integrity":"sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=","dev":true,"requires":{"get-stdin":"^4.0.1"}},"strip-json-comments":{"version":"2.0.1","resolved":"https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz","integrity":"sha1-PFMZQukIwml8DsNEhYwobHygpgo=","dev":true},"subarg":{"version":"1.0.0","resolved":"https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz","integrity":"sha1-9izxdYHplrSPyWVpn1TAauJouNI=","dev":true,"requires":{"minimist":"^1.1.0"}},"supports-color":{"version":"5.5.0","resolved":"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz","integrity":"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==","dev":true,"requires":{"has-flag":"^3.0.0"}},"syntax-error":{"version":"1.4.0","resolved":"https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz","integrity":"sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==","dev":true,"requires":{"acorn-node":"^1.2.0"}},"terser":{"version":"4.6.11","resolved":"https://registry.npmjs.org/terser/-/terser-4.6.11.tgz","integrity":"sha512-76Ynm7OXUG5xhOpblhytE7X58oeNSmC8xnNhjWVo8CksHit0U0kO4hfNbPrrYwowLWFgM2n9L176VNx2QaHmtA==","dev":true,"requires":{"commander":"^2.20.0","source-map":"~0.6.1","source-map-support":"~0.5.12"},"dependencies":{"source-map":{"version":"0.6.1","resolved":"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz","integrity":"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==","dev":true}}},"through":{"version":"2.3.8","resolved":"https://registry.npmjs.org/through/-/through-2.3.8.tgz","integrity":"sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=","dev":true},"through2":{"version":"2.0.5","resolved":"https://registry.npmjs.org/through2/-/through2-2.0.5.tgz","integrity":"sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==","dev":true,"requires":{"readable-stream":"~2.3.6","xtend":"~4.0.1"}},"timers-browserify":{"version":"1.4.2","resolved":"https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz","integrity":"sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=","dev":true,"requires":{"process":"~0.11.0"}},"tiny-lr":{"version":"1.1.1","resolved":"https://registry.npmjs.org/tiny-lr/-/tiny-lr-1.1.1.tgz","integrity":"sha512-44yhA3tsaRoMOjQQ+5v5mVdqef+kH6Qze9jTpqtVufgYjYt08zyZAwNwwVBj3i1rJMnR52IxOW0LK0vBzgAkuA==","dev":true,"requires":{"body":"^5.1.0","debug":"^3.1.0","faye-websocket":"~0.10.0","livereload-js":"^2.3.0","object-assign":"^4.1.0","qs":"^6.4.0"},"dependencies":{"debug":{"version":"3.2.6","resolved":"https://registry.npmjs.org/debug/-/debug-3.2.6.tgz","integrity":"sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==","dev":true,"requires":{"ms":"^2.1.1"}},"ms":{"version":"2.1.2","resolved":"https://registry.npmjs.org/ms/-/ms-2.1.2.tgz","integrity":"sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==","dev":true}}},"to-object-path":{"version":"0.3.0","resolved":"https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz","integrity":"sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=","dev":true,"requires":{"kind-of":"^3.0.2"},"dependencies":{"kind-of":{"version":"3.2.2","resolved":"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity":"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=","dev":true,"requires":{"is-buffer":"^1.1.5"}}}},"to-regex":{"version":"3.0.2","resolved":"https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz","integrity":"sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==","dev":true,"requires":{"define-property":"^2.0.2","extend-shallow":"^3.0.2","regex-not":"^1.0.2","safe-regex":"^1.1.0"}},"to-regex-range":{"version":"2.1.1","resolved":"https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz","integrity":"sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=","dev":true,"requires":{"is-number":"^3.0.0","repeat-string":"^1.6.1"}},"trim-newlines":{"version":"1.0.0","resolved":"https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz","integrity":"sha1-WIeWa7WCpFA6QetST301ARgVphM=","dev":true},"tsconfig":{"version":"5.0.3","resolved":"https://registry.npmjs.org/tsconfig/-/tsconfig-5.0.3.tgz","integrity":"sha1-X0J45wGACWeo/Dg/0ZZIh48qbjo=","dev":true,"requires":{"any-promise":"^1.3.0","parse-json":"^2.2.0","strip-bom":"^2.0.0","strip-json-comments":"^2.0.0"}},"tsify":{"version":"4.0.1","resolved":"https://registry.npmjs.org/tsify/-/tsify-4.0.1.tgz","integrity":"sha512-ClznEI+pmwY5wmD0J7HCSVERwkD+l71ch3Dqyod2JuQLEsFaiNDI+vPjaGadsuVFVvmzgoI7HghrBtWsSmCDHQ==","dev":true,"requires":{"convert-source-map":"^1.1.0","fs.realpath":"^1.0.0","object-assign":"^4.1.0","semver":"^5.6.0","through2":"^2.0.0","tsconfig":"^5.0.3"}},"tslib":{"version":"1.11.1","resolved":"https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz","integrity":"sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==","dev":true},"tslint":{"version":"6.1.1","resolved":"https://registry.npmjs.org/tslint/-/tslint-6.1.1.tgz","integrity":"sha512-kd6AQ/IgPRpLn6g5TozqzPdGNZ0q0jtXW4//hRcj10qLYBaa3mTUU2y2MCG+RXZm8Zx+KZi0eA+YCrMyNlF4UA==","dev":true,"requires":{"@babel/code-frame":"^7.0.0","builtin-modules":"^1.1.1","chalk":"^2.3.0","commander":"^2.12.1","diff":"^4.0.1","glob":"^7.1.1","js-yaml":"^3.13.1","minimatch":"^3.0.4","mkdirp":"^0.5.3","resolve":"^1.3.2","semver":"^5.3.0","tslib":"^1.10.0","tsutils":"^2.29.0"},"dependencies":{"diff":{"version":"4.0.2","resolved":"https://registry.npmjs.org/diff/-/diff-4.0.2.tgz","integrity":"sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==","dev":true},"mkdirp":{"version":"0.5.5","resolved":"https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz","integrity":"sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==","dev":true,"requires":{"minimist":"^1.2.5"}}}},"tsutils":{"version":"2.29.0","resolved":"https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz","integrity":"sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==","dev":true,"requires":{"tslib":"^1.8.1"}},"tty-browserify":{"version":"0.0.1","resolved":"https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz","integrity":"sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==","dev":true},"typedarray":{"version":"0.0.6","resolved":"https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz","integrity":"sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=","dev":true},"typedoc":{"version":"0.17.4","resolved":"https://registry.npmjs.org/typedoc/-/typedoc-0.17.4.tgz","integrity":"sha512-4Lotef1l6lNU5Fulpux809WPlF9CkmcXfv5QFyanrjYlxMFxSdARRdsy8Jv1OU3z0vjR4JsvUQT0YpiPqztcOA==","dev":true,"requires":{"fs-extra":"^8.1.0","handlebars":"^4.7.6","highlight.js":"^9.18.1","lodash":"^4.17.15","lunr":"^2.3.8","marked":"0.8.2","minimatch":"^3.0.0","progress":"^2.0.3","shelljs":"^0.8.3","typedoc-default-themes":"^0.10.0"}},"typedoc-default-themes":{"version":"0.10.1","resolved":"https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.10.1.tgz","integrity":"sha512-SuqAQI0CkwhqSJ2kaVTgl37cWs733uy9UGUqwtcds8pkFK8oRF4rZmCq+FXTGIb9hIUOu40rf5Kojg0Ha6akeg==","dev":true,"requires":{"lunr":"^2.3.8"}},"typescript":{"version":"3.8.3","resolved":"https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz","integrity":"sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==","dev":true},"uglify-js":{"version":"3.9.1","resolved":"https://registry.npmjs.org/uglify-js/-/uglify-js-3.9.1.tgz","integrity":"sha512-JUPoL1jHsc9fOjVFHdQIhqEEJsQvfKDjlubcCilu8U26uZ73qOg8VsN8O1jbuei44ZPlwL7kmbAdM4tzaUvqnA==","dev":true,"requires":{"commander":"~2.20.3"}},"umd":{"version":"3.0.3","resolved":"https://registry.npmjs.org/umd/-/umd-3.0.3.tgz","integrity":"sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==","dev":true},"unc-path-regex":{"version":"0.1.2","resolved":"https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz","integrity":"sha1-5z3T17DXxe2G+6xrCufYxqadUPo=","dev":true},"undeclared-identifiers":{"version":"1.1.3","resolved":"https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz","integrity":"sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==","dev":true,"requires":{"acorn-node":"^1.3.0","dash-ast":"^1.0.0","get-assigned-identifiers":"^1.2.0","simple-concat":"^1.0.0","xtend":"^4.0.1"}},"underscore.string":{"version":"3.3.5","resolved":"https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz","integrity":"sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==","dev":true,"requires":{"sprintf-js":"^1.0.3","util-deprecate":"^1.0.2"}},"union-value":{"version":"1.0.1","resolved":"https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz","integrity":"sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==","dev":true,"requires":{"arr-union":"^3.1.0","get-value":"^2.0.6","is-extendable":"^0.1.1","set-value":"^2.0.1"}},"universalify":{"version":"0.1.2","resolved":"https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz","integrity":"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==","dev":true},"unset-value":{"version":"1.0.0","resolved":"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz","integrity":"sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=","dev":true,"requires":{"has-value":"^0.3.1","isobject":"^3.0.0"},"dependencies":{"has-value":{"version":"0.3.1","resolved":"https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz","integrity":"sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=","dev":true,"requires":{"get-value":"^2.0.3","has-values":"^0.1.4","isobject":"^2.0.0"},"dependencies":{"isobject":{"version":"2.1.0","resolved":"https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz","integrity":"sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=","dev":true,"requires":{"isarray":"1.0.0"}}}},"has-values":{"version":"0.1.4","resolved":"https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz","integrity":"sha1-bWHeldkd/Km5oCCJrThL/49it3E=","dev":true}}},"upath":{"version":"1.2.0","resolved":"https://registry.npmjs.org/upath/-/upath-1.2.0.tgz","integrity":"sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==","dev":true},"uri-path":{"version":"1.0.0","resolved":"https://registry.npmjs.org/uri-path/-/uri-path-1.0.0.tgz","integrity":"sha1-l0fwGDWJM8Md4PzP2C0TjmcmLjI=","dev":true},"urix":{"version":"0.1.0","resolved":"https://registry.npmjs.org/urix/-/urix-0.1.0.tgz","integrity":"sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=","dev":true},"url":{"version":"0.11.0","resolved":"https://registry.npmjs.org/url/-/url-0.11.0.tgz","integrity":"sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=","dev":true,"requires":{"punycode":"1.3.2","querystring":"0.2.0"},"dependencies":{"punycode":{"version":"1.3.2","resolved":"https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz","integrity":"sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=","dev":true}}},"use":{"version":"3.1.1","resolved":"https://registry.npmjs.org/use/-/use-3.1.1.tgz","integrity":"sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==","dev":true},"util":{"version":"0.10.4","resolved":"https://registry.npmjs.org/util/-/util-0.10.4.tgz","integrity":"sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==","dev":true,"requires":{"inherits":"2.0.3"},"dependencies":{"inherits":{"version":"2.0.3","resolved":"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz","integrity":"sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=","dev":true}}},"util-deprecate":{"version":"1.0.2","resolved":"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz","integrity":"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=","dev":true},"uuid":{"version":"7.0.3","resolved":"https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz","integrity":"sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg=="},"v8flags":{"version":"3.1.3","resolved":"https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz","integrity":"sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==","dev":true,"requires":{"homedir-polyfill":"^1.0.1"}},"validate-npm-package-license":{"version":"3.0.4","resolved":"https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz","integrity":"sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==","dev":true,"requires":{"spdx-correct":"^3.0.0","spdx-expression-parse":"^3.0.0"}},"vm-browserify":{"version":"1.1.2","resolved":"https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz","integrity":"sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==","dev":true},"websocket-driver":{"version":"0.7.3","resolved":"https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz","integrity":"sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==","dev":true,"requires":{"http-parser-js":">=0.4.0 <0.4.11","safe-buffer":">=5.1.0","websocket-extensions":">=0.1.1"}},"websocket-extensions":{"version":"0.1.3","resolved":"https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz","integrity":"sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==","dev":true},"which":{"version":"1.3.1","resolved":"https://registry.npmjs.org/which/-/which-1.3.1.tgz","integrity":"sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==","dev":true,"requires":{"isexe":"^2.0.0"}},"wildemitter":{"version":"1.2.1","resolved":"https://registry.npmjs.org/wildemitter/-/wildemitter-1.2.1.tgz","integrity":"sha512-UMmSUoIQSir+XbBpTxOTS53uJ8s/lVhADCkEbhfRjUGFDPme/XGOb0sBWLx5sTz7Wx/2+TlAw1eK9O5lw5PiEw=="},"wolfy87-eventemitter":{"version":"5.2.9","resolved":"https://registry.npmjs.org/wolfy87-eventemitter/-/wolfy87-eventemitter-5.2.9.tgz","integrity":"sha512-P+6vtWyuDw+MB01X7UeF8TaHBvbCovf4HPEMF/SV7BdDc1SMTiBy13SRD71lQh4ExFTG1d/WNzDGDCyOKSMblw=="},"wordwrap":{"version":"1.0.0","resolved":"https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz","integrity":"sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=","dev":true},"wrappy":{"version":"1.0.2","resolved":"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity":"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=","dev":true},"xml2js":{"version":"0.4.23","resolved":"https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz","integrity":"sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==","dev":true,"requires":{"sax":">=0.6.0","xmlbuilder":"~11.0.0"}},"xmlbuilder":{"version":"11.0.1","resolved":"https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz","integrity":"sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==","dev":true},"xtend":{"version":"4.0.2","resolved":"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz","integrity":"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==","dev":true}}},"_spec":"openvidu-browser@2.15.0","_where":"/opt/openvidu-call-front","author":{"name":"OpenVidu"},"bugs":{"url":"https://github.com/OpenVidu/openvidu/issues"},"bundleDependencies":false,"dependencies":{"@types/node":"13.13.2","@types/platform":"1.3.2","freeice":"2.2.2","hark":"1.2.3","platform":"1.3.5","uuid":"7.0.3","wolfy87-eventemitter":"5.2.9"},"deprecated":false,"description":"OpenVidu Browser","devDependencies":{"browserify":"16.5.1","grunt":"1.1.0","grunt-cli":"1.3.2","grunt-contrib-copy":"1.0.0","grunt-contrib-sass":"1.0.0","grunt-contrib-uglify":"4.0.1","grunt-contrib-watch":"1.1.0","grunt-postcss":"0.9.0","grunt-string-replace":"1.3.1","grunt-ts":"6.0.0-beta.22","terser":"4.6.11","tsify":"4.0.1","tslint":"6.1.1","typedoc":"0.17.4","typescript":"3.8.3"},"homepage":"https://github.com/OpenVidu/openvidu#readme","license":"Apache-2.0","main":"lib/index.js","name":"openvidu-browser","repository":{"type":"git","url":"git://github.com/OpenVidu/openvidu.git"},"scripts":{"browserify":"VERSION=${VERSION:-dev}; cd src && ../node_modules/browserify/bin/cmd.js Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/openvidu-browser-$VERSION.js -v","browserify-prod":"VERSION=${VERSION:-dev}; cd src && ../node_modules/browserify/bin/cmd.js --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | ../node_modules/terser/bin/terser --source-map content=inline --output ../static/js/openvidu-browser-$VERSION.min.js","build":"cd src/OpenVidu && ./../../node_modules/typescript/bin/tsc && cd ../.. && ./node_modules/typescript/bin/tsc --declaration src/index.ts --outDir ./lib --sourceMap --lib dom,es5,es2015.promise,scripthost","docs":"./generate-docs.sh"},"types":"lib/index.d.ts","version":"2.15.0"}')},vqGb:function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n("RvMX"),i=n("JUw6"),o=n("dlaP");function s(e){return e instanceof o.DOMAIN||e instanceof o.TLD}var a=(0,r.createTokenClass)();a.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var c=(0,i.inherits)(a,(0,r.createTokenClass)(),{type:"email",isLink:!0}),u=(0,i.inherits)(a,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),l=(0,i.inherits)(a,(0,r.createTokenClass)(),{type:"text"}),d=(0,i.inherits)(a,(0,r.createTokenClass)(),{type:"nl"}),p=(0,i.inherits)(a,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,i=[],a=0;r[a]instanceof o.PROTOCOL;)t=!0,i.push(r[a].toString().toLowerCase()),a++;for(;r[a]instanceof o.SLASH;)n=!0,i.push(r[a].toString()),a++;for(;s(r[a]);)i.push(r[a].toString().toLowerCase()),a++;for(;a<r.length;a++)i.push(r[a].toString());return i=i.join(""),t||n||(i=e+"://"+i),i},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=a,t.MAILTOEMAIL=c,t.EMAIL=u,t.NL=d,t.TEXT=l,t.URL=p},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}function u(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}var l=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function d(e){return null!==e&&"object"==typeof e}function p(e){return"function"==typeof e}var h=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),f=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var o=0;o<n.length;++o)n[o].remove(this);if(p(r))try{r.call(this)}catch(c){t=c instanceof h?g(c.errors):[c]}if(l(i)){o=-1;for(var s=i.length;++o<s;){var a=i[o];if(d(a))try{a.unsubscribe()}catch(c){t=t||[],c instanceof h?t=t.concat(g(c.errors)):t.push(c)}}}if(t)throw new h(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function g(e){return e.reduce((function(e,t){return e.concat(t instanceof h?t.errors:t)}),[])}var m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function v(e,t){function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var y=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){y=e},get useDeprecatedSynchronousErrorHandling(){return y}};function _(e){setTimeout((function(){throw e}),0)}var w={closed:!0,next:function(e){},error:function(e){if(b.useDeprecatedSynchronousErrorHandling)throw e;_(e)},complete:function(){}},S=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),C=function(e){function t(n,r,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=w;break;case 1:if(!n){o.destination=w;break}if("object"==typeof n){n instanceof t?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new x(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new x(o,n,r,i)}return o}return v(t,e),t.prototype[S]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(f),x=function(e){function t(t,n,r,i){var o,s=e.call(this)||this;s._parentSubscriber=t;var a=s;return p(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==w&&(p((a=Object.create(n)).unsubscribe)&&s.add(a.unsubscribe.bind(a)),a.unsubscribe=s.unsubscribe.bind(s))),s._context=a,s._next=o,s._error=r,s._complete=i,s}return v(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=b.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):_(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;_(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),b.useDeprecatedSynchronousErrorHandling)throw n;_(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return b.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(_(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(C),O=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function E(e){return e}function k(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P(e)}function P(e){return 0===e.length?E:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var M=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof C)return e;if(e[S])return e[S]()}return e||t||n?new C(e,t,n):new C(w)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||b.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),b.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){b.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof C?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=T(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[O]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:P(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=T(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function T(e){if(e||(e=b.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var A=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),I=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return v(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(f),R=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return v(t,e),t}(C),j=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return v(t,e),t.prototype[S]=function(){return new R(this)},t.prototype.lift=function(e){var t=new D(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new A;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new A;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new A;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new A;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new A;return this.hasError?(e.error(this.thrownError),f.EMPTY):this.isStopped?(e.complete(),f.EMPTY):(this.observers.push(e),new I(this,e))},t.prototype.asObservable=function(){var e=new M;return e.source=this,e},t.create=function(e,t){return new D(e,t)},t}(M),D=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return v(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):f.EMPTY},t}(j);function N(e){return e&&"function"==typeof e.schedule}var L=function(e){function t(t,n,r){var i=e.call(this)||this;return i.parent=t,i.outerValue=n,i.outerIndex=r,i.index=0,i}return v(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(C),V=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var F=z(),B=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function U(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var q=function(e){if(e&&"function"==typeof e[O])return r=e,function(e){var t=r[O]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(B(e))return V(e);if(U(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,_),e};if(e&&"function"==typeof e[F])return t=e,function(e){for(var n=t[F]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,i=d(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function W(e,t,n,r,i){if(void 0===i&&(i=new L(e,n,r)),!i.closed)return t instanceof M?t.subscribe(i):q(t)(i)}var H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(C);function G(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Q(e,t))}}var Q=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Z(e,this.project,this.thisArg))},e}(),Z=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return v(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(C);function Y(e,t){return new M((function(n){var r=new f,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function K(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[O]}(e))return function(e,t){return new M((function(n){var r=new f;return r.add(t.schedule((function(){var i=e[O]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(U(e))return function(e,t){return new M((function(n){var r=new f;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(B(e))return Y(e,t);if(function(e){return e&&"function"==typeof e[F]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new M((function(n){var r,i=new f;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[F](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof M?e:new M(q(e))}function X(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(X((function(n,r){return K(e(n,r)).pipe(G((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new J(e,n))})}var J=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new ee(e,this.project,this.concurrent))},e}(),ee=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return v(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new L(this,t,n),i=this.destination;i.add(r);var o=W(this,e,void 0,void 0,r);o!==r&&i.add(o)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(H);function te(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),X(E,e)}function ne(e,t){return t?Y(e,t):new M(V(e))}function re(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,i=e[e.length-1];return N(i)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof M?e[0]:te(n)(ne(e,r))}function ie(){return function(e){return e.lift(new oe(e))}}var oe=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new se(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i},e}(),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return v(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(C),ae=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return v(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new f).add(this.source.subscribe(new ue(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.EMPTY)),e},t.prototype.refCount=function(){return ie()(this)},t}(M),ce=function(){var e=ae.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return v(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(R);function le(){return new j}function de(){return function(e){return ie()((t=le,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ce);return r.source=e,r.subjectFactory=n,r})(e));var t}}function pe(e){return{toString:e}.toString()}var he="__parameters__";function fe(e,t,n){return pe((function(){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var i in r)this[i]=r[i]}}}(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=new((e=i).bind.apply(e,c([void 0],t)));return s.annotation=o,s;function s(e,t,n){for(var r=e.hasOwnProperty(he)?e[he]:Object.defineProperty(e,he,{value:[]})[he];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}var ge=fe("Inject",(function(e){return{token:e}})),me=fe("Optional"),ve=fe("Self"),ye=fe("SkipSelf"),be=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function _e(e){for(var t in e)if(e[t]===_e)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ce(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function xe(e){return Oe(e,e[ke])||Oe(e,e[Te])}function Oe(e,t){return t&&t.token===e?t:null}function Ee(e){return e&&(e.hasOwnProperty(Pe)||e.hasOwnProperty(Ae))?e[Pe]:null}var ke=_e({"\u0275prov":_e}),Pe=_e({"\u0275inj":_e}),Me=_e({"\u0275provFallback":_e}),Te=_e({ngInjectableDef:_e}),Ae=_e({ngInjectorDef:_e});function Ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Re(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var je=_e({__forward_ref__:_e});function De(e){return e.__forward_ref__=De,e.toString=function(){return Ie(this())},e}function Ne(e){return Le(e)?e():e}function Le(e){return"function"==typeof e&&e.hasOwnProperty(je)&&e.__forward_ref__===De}var Ve,ze="undefined"!=typeof globalThis&&globalThis,Fe="undefined"!=typeof window&&window,Be="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ue="undefined"!=typeof global&&global,qe=ze||Ue||Fe||Be,We=_e({"\u0275cmp":_e}),He=_e({"\u0275dir":_e}),Ge=_e({"\u0275pipe":_e}),Qe=_e({"\u0275mod":_e}),Ze=_e({"\u0275loc":_e}),Ye=_e({"\u0275fac":_e}),Ke=_e({__NG_ELEMENT_ID__:_e}),Xe=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Se({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),Je=new Xe("INJECTOR",-1),$e={},et=/\n/gm,tt=_e({provide:String,useValue:_e}),nt=void 0;function rt(e){var t=nt;return nt=e,t}function it(e){var t=Ve;return Ve=e,t}function ot(e,t){if(void 0===t&&(t=be.Default),void 0===nt)throw new Error("inject() must be called from an injection context");return null===nt?ct(e,void 0,t):nt.get(e,t&be.Optional?null:void 0,t)}function st(e,t){return void 0===t&&(t=be.Default),(Ve||ot)(Ne(e),t)}var at=st;function ct(e,t,n){var r=xe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&be.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+Ie(e)+"]")}function ut(e){for(var t=[],n=0;n<e.length;n++){var r=Ne(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=be.Default,s=0;s<r.length;s++){var a=r[s];a instanceof me||"Optional"===a.ngMetadataName||a===me?o|=be.Optional:a instanceof ye||"SkipSelf"===a.ngMetadataName||a===ye?o|=be.SkipSelf:a instanceof ve||"Self"===a.ngMetadataName||a===ve?o|=be.Self:i=a instanceof ge||a===ge?a.token:a}t.push(st(i,o))}else t.push(st(r))}return t}var lt=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=$e),t===$e){var n=new Error("NullInjectorError: No provider for "+Ie(e)+"!");throw n.name="NullInjectorError",n}return t},e}();var dt=function(){return function(){}}(),pt=function(){return function(){}}();function ht(e,t){e.forEach((function(e){return Array.isArray(e)?ht(e,t):t(e)}))}function ft(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mt(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function vt(e,t,n){var r=bt(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function yt(e,t){var n=bt(e,t);if(n>=0)return e[1|n]}function bt(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),s=e[o<<1];if(t===s)return o<<1;s>t?i=o:r=o+1}return~(i<<1)}(e,t)}var _t=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),wt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),St={},Ct=[],xt=0;function Ot(e){return pe((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===_t.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ct,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||wt.Emulated,id:"c",styles:e.styles||Ct,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,s=e.features,a=e.pipes;return i.id+=xt++,i.inputs=Tt(e.inputs,r),i.outputs=Tt(e.outputs),s&&s.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(Et)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(kt)}:null,i}))}function Et(e){return Rt(e)||function(e){return e[He]||null}(e)}function kt(e){return function(e){return e[Ge]||null}(e)}var Pt={};function Mt(e){var t={type:e.type,bootstrap:e.bootstrap||Ct,declarations:e.declarations||Ct,imports:e.imports||Ct,exports:e.exports||Ct,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&pe((function(){Pt[e.id]=e.type})),t}function Tt(e,t){if(null==e)return St;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var At=Ot;function It(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Rt(e){return e[We]||null}function jt(e,t){return e.hasOwnProperty(Ye)?e[Ye]:null}function Dt(e,t){var n=e[Qe]||null;if(!n&&!0===t)throw new Error("Type "+Ie(e)+" does not have '\u0275mod' property.");return n}function Nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Lt(e){return Array.isArray(e)&&!0===e[1]}function Vt(e){return 0!=(8&e.flags)}function zt(e){return 2==(2&e.flags)}function Ft(e){return 1==(1&e.flags)}function Bt(e){return null!==e.template}function Ut(e){return 0!=(512&e[2])}var qt=void 0;function Wt(){return void 0!==qt?qt:"undefined"!=typeof document?document:void 0}function Ht(e){return!!e.listen}var Gt={createRenderer:function(e,t){return Wt()}};function Qt(e){for(;Array.isArray(e);)e=e[0];return e}function Zt(e,t){return Qt(t[e+20])}function Yt(e,t){return Qt(t[e.index])}function Kt(e,t){return e.data[t+20]}function Xt(e,t){return e[t+20]}function Jt(e,t){var n=t[e];return Nt(n)?n:n[0]}function $t(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function en(e){return 4==(4&e[2])}function tn(e){return 128==(128&e[2])}function nn(e,t){return null===e||null==t?null:e[t]}function rn(e){e[18]=0}function on(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var sn={lFrame:Pn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function an(){return sn.bindingsEnabled}function cn(){return sn.lFrame.lView}function un(){return sn.lFrame.tView}function ln(e){sn.lFrame.contextLView=e}function dn(){return sn.lFrame.previousOrParentTNode}function pn(e,t){sn.lFrame.previousOrParentTNode=e,sn.lFrame.isParent=t}function hn(){return sn.lFrame.isParent}function fn(){sn.lFrame.isParent=!1}function gn(){return sn.checkNoChangesMode}function mn(e){sn.checkNoChangesMode=e}function vn(){var e=sn.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yn(){return sn.lFrame.bindingIndex++}function bn(e){var t=sn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _n(e,t){var n=sn.lFrame;n.bindingIndex=n.bindingRootIndex=e,wn(t)}function wn(e){sn.lFrame.currentDirectiveIndex=e}function Sn(e){var t=sn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Cn(){return sn.lFrame.currentQueryIndex}function xn(e){sn.lFrame.currentQueryIndex=e}function On(e,t){var n=kn();sn.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function En(e,t){var n=kn(),r=e[1];sn.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function kn(){var e=sn.lFrame,t=null===e?null:e.child;return null===t?Pn(e):t}function Pn(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Mn(){var e=sn.lFrame;return sn.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var Tn=Mn;function An(){var e=Mn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function In(){return sn.lFrame.selectedIndex}function Rn(e){sn.lFrame.selectedIndex=e}function jn(){var e=sn.lFrame;return Kt(e.tView,e.selectedIndex)}function Dn(){sn.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Nn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n];i.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,i.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,i.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i.onDestroy)}}function Ln(e,t,n){Fn(e,t,3,n)}function Vn(e,t,n,r){(3&e[2])===n&&Fn(e,t,n,r)}function zn(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function Fn(e,t,n,r){for(var i=null!=r?r:-1,o=0,s=void 0!==r?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[18]+=65536),(o<i||-1==i)&&(Bn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function Bn(e,t,n,r){var i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}var Un=function(){return function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}();function qn(e,t,n){for(var r=Ht(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var s=n[i++],a=n[i++],c=n[i++];r?e.setAttribute(t,a,c,s):t.setAttributeNS(s,a,c)}else c=n[++i],Hn(a=o)?r&&e.setProperty(t,a,c):r?e.setAttribute(t,a,c):t.setAttribute(a,c),i++}return i}function Wn(e){return 3===e||4===e||6===e}function Hn(e){return 64===e.charCodeAt(0)}function Gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||Qn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Qn(e,t,n,r,i){var o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){var a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){var c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Zn(e){return-1!==e}function Yn(e){return 32767&e}function Kn(e){return e>>16}function Xn(e,t){for(var n=Kn(e),r=t;n>0;)r=r[15],n--;return r}function Jn(e){return"string"==typeof e?e:null==e?"":""+e}function $n(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Jn(e)}var er=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(qe)}();function tr(e){return{name:"window",target:e.ownerDocument.defaultView}}function nr(e){return{name:"document",target:e.ownerDocument}}function rr(e){return{name:"body",target:e.ownerDocument.body}}function ir(e){return e instanceof Function?e():e}var or=!0;function sr(e){var t=or;return or=e,t}var ar=0;function cr(e,t){var n=lr(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ur(r.data,e),ur(t,null),ur(r.blueprint,null));var i=dr(e,t),o=e.injectorIndex;if(Zn(i))for(var s=Yn(i),a=Xn(i,t),c=a[1].data,u=0;u<8;u++)t[o+u]=a[s+u]|c[s+u];return t[o+8]=i,o}function ur(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function dr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function pr(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Ke]:n.charCodeAt(0)||0;null==r&&(r=n[Ke]=ar++);var i=255&r,o=1<<i,s=64&i,a=32&i,c=t.data;128&i?s?a?c[e+7]|=o:c[e+6]|=o:a?c[e+5]|=o:c[e+4]|=o:s?a?c[e+3]|=o:c[e+2]|=o:a?c[e+1]|=o:c[e]|=o}(e,t,n)}function hr(e,t,n,r,i){if(void 0===r&&(r=be.Default),null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Ke];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){On(t,e);try{var s=o();if(null!=s||r&be.Optional)return s;throw new Error("No provider for "+$n(n)+"!")}finally{Tn()}}else if("number"==typeof o){if(-1===o)return new _r(e,t);var a=null,c=lr(e,t),u=-1,l=r&be.Host?t[16][6]:null;for((-1===c||r&be.SkipSelf)&&(u=-1===c?dr(e,t):t[c+8],br(r,!1)?(a=t[1],c=Yn(u),t=Xn(u,t)):c=-1);-1!==c;){u=t[c+8];var d=t[1];if(yr(o,c,d.data)){var p=gr(c,t,n,a,r,l);if(p!==fr)return p}br(r,t[1].data[c+8]===l)&&yr(o,c,t)?(a=d,c=Yn(u),t=Xn(u,t)):c=-1}}}if(r&be.Optional&&void 0===i&&(i=null),0==(r&(be.Self|be.Host))){var h=t[9],f=it(void 0);try{return h?h.get(n,i,r&be.Optional):ct(n,i,r&be.Optional)}finally{it(f)}}if(r&be.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+$n(n)+"]")}var fr={};function gr(e,t,n,r,i,o){var s=t[1],a=s.data[e+8],c=mr(a,s,n,null==r?zt(a)&&or:r!=s&&3===a.type,i&be.Host&&o===a);return null!==c?vr(t,s,c,a):fr}function mr(e,t,n,r,i){for(var o=e.providerIndexes,s=t.data,a=65535&o,c=e.directiveStart,u=o>>16,l=i?a+u:e.directiveEnd,d=r?a:a+u;d<l;d++){var p=s[d];if(d<c&&n===p||d>=c&&p.type===n)return d}if(i){var h=s[c];if(h&&Bt(h)&&h.type===n)return c}return null}function vr(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Un){var s=i;if(s.resolving)throw new Error("Circular dep for "+$n(o[n]));var a=sr(s.canSeeViewProviders);s.resolving=!0;var c=void 0;s.injectImpl&&(c=it(s.injectImpl)),On(e,r);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{s.injectImpl&&it(c),sr(a),s.resolving=!1,Tn()}}return i}function yr(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function br(e,t){return!(e&be.Self||e&be.Host&&t)}var _r=function(){function e(e,t){this._tNode=e,this._lView=t}return e.prototype.get=function(e,t){return hr(this._tNode,this._lView,e,void 0,t)},e}();function wr(e){return pe((function(){var t=Object.getPrototypeOf(e.prototype).constructor,n=t[Ye]||function e(t){var n=t;if(Le(t))return function(){var t=e(Ne(n));return t?t():null};var r=jt(n);if(null===r){var i=Ee(n);r=i&&i.factory}return r||null}(t);return null!==n?n:function(e){return new e}}))}function Sr(e){return e.ngDebugContext}function Cr(e){return e.ngOriginalError}function xr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var Or=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||xr}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Sr(e)?Sr(e):this._findContext(Cr(e)):null},e.prototype._findOriginalError=function(e){for(var t=Cr(e);t&&Cr(t);)t=Cr(t);return t},e}(),Er=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),kr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Er),Pr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Er),Mr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Er),Tr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Er),Ar=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Er);function Ir(e){return e instanceof Er?e.changingThisBreaksApplicationSecurity:e}function Rr(e,t){var n=jr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe "+t+", got a "+n+" (see http://g.co/ng/security#xss)")}return n===t}function jr(e){return e instanceof Er&&e.getTypeName()||null}var Dr=!0,Nr=!1;function Lr(){return Nr=!0,Dr}var Vr=function(){function e(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var t=this.inertDocument.body;if(null==t){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n),t=this.inertDocument.createElement("body"),n.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},e}(),zr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Fr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Br(e){return(e=String(e)).match(zr)||e.match(Fr)?e:(Lr()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Ur(e){var t,n,r={};try{for(var i=s(e.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function qr(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=s(n),a=o.next();!a.done;a=o.next()){var c=a.value;for(var u in c)c.hasOwnProperty(u)&&(i[u]=!0)}}catch(l){e={error:l}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i}var Wr,Hr=Ur("area,br,col,hr,img,wbr"),Gr=Ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qr=Ur("rp,rt"),Zr=qr(Qr,Gr),Yr=qr(Hr,qr(Gr,Ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qr(Qr,Ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Zr),Kr=Ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xr=Ur("srcset"),Jr=qr(Kr,Xr,Ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$r=Ur("script,style,template"),ei=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!Yr.hasOwnProperty(n))return this.sanitizedSomething=!0,!$r.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),s=o.name,a=s.toLowerCase();if(Jr.hasOwnProperty(a)){var c=o.value;Kr[a]&&(c=Br(c)),Xr[a]&&(t=c,c=(t=String(t)).split(",").map((function(e){return Br(e.trim())})).join(", ")),this.buf.push(" ",s,'="',ri(c),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Yr.hasOwnProperty(t)&&!Hr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(ri(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),ti=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ni=/([^\#-~ |!])/g;function ri(e){return e.replace(/&/g,"&").replace(ti,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ni,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function ii(e,t){var n=null;try{Wr=Wr||new Vr(e);var r=t?String(t):"";n=Wr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Wr.getInertBodyElement(r)}while(r!==o);var s=new ei,a=s.sanitizeChildren(oi(n)||n);return Lr()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var c=oi(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function oi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var si=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),ai=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ci=/^url\(([^)]+)\)$/;function ui(e){if(!(e=String(e).trim()))return"";var t=e.match(ci);return t&&Br(t[1])===t[1]||e.match(ai)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(Lr()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}function li(e){var t=fi();return t?t.sanitize(si.HTML,e)||"":Rr(e,"HTML")?Ir(e):ii(Wt(),Jn(e))}function di(e){var t=fi();return t?t.sanitize(si.STYLE,e)||"":Rr(e,"Style")?Ir(e):ui(Jn(e))}function pi(e){var t=fi();return t?t.sanitize(si.URL,e)||"":Rr(e,"URL")?Ir(e):Br(Jn(e))}var hi=function(e,t,n){if(void 0===t&&void 0===n)return di(e);var r=!0;return 1&(n=n||3)&&(r=function(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}(e)),2&n?r?di(t):Ir(t):r};function fi(){var e=cn();return e&&e[12]}function gi(e,t){e.__ngContext__=t}function mi(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function vi(){throw new Error("Cannot mix multi providers and regular providers")}function yi(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function bi(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==yi((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function _i(e){return 0===e.type&&"ng-template"!==e.tagName}function wi(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Si(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Wn(e[t]))return t;return e.length}(i),s=!1,a=0;a<t.length;a++){var c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!wi(e,c,n)||""===c&&1===t.length){if(Ci(r))return!1;s=!0}}else{var u=8&r?c:t[++a];if(8&r&&null!==e.attrs){if(!bi(e.attrs,u,n)){if(Ci(r))return!1;s=!0}continue}var l=xi(8&r?"class":c,i,_i(e),n);if(-1===l){if(Ci(r))return!1;s=!0;continue}if(""!==u){var d;d=l>o?"":i[l+1].toLowerCase();var p=8&r?d:null;if(p&&-1!==yi(p,u,0)||2&r&&u!==d){if(Ci(r))return!1;s=!0}}}}else{if(!s&&!Ci(r)&&!Ci(c))return!1;if(s&&Ci(c))continue;s=!1,r=c|1&r}}return Ci(r)||s}function Ci(e){return 0==(1&e)}function xi(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){for(var a=t[++i];"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Oi(e,t,n){void 0===n&&(n=!1);for(var r=0;r<t.length;r++)if(Si(e,t[r],n))return!0;return!1}function Ei(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function ki(e,t){return e?":not("+t.trim()+")":t}function Pi(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var s=e[n];if("string"==typeof s)if(2&r){var a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||Ci(s)||(t+=ki(o,i),i=""),r=s,o=o||!Ci(r);n++}return""!==i&&(t+=ki(o,i)),t}var Mi={};function Ti(e){var t=e[3];return Lt(t)?t[3]:t}function Ai(e){return Ri(e[13])}function Ii(e){return Ri(e[4])}function Ri(e){for(;null!==e&&!Lt(e);)e=e[4];return e}function ji(e){Di(un(),cn(),In()+e,gn())}function Di(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&Ln(t,i,n)}else{var o=e.preOrderHooks;null!==o&&Vn(t,o,0,n)}Rn(n)}function Ni(e,t){return e<<17|t<<2}function Li(e){return e>>17&32767}function Vi(e){return 2|e}function zi(e){return(131068&e)>>2}function Fi(e,t){return-131069&e|t<<2}function Bi(e){return 1|e}function Ui(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r+1];if(-1!==i){var o=e.data[i];xn(n[r]),o.contentQueries(2,t[i],i)}}}function qi(e,t,n){return Ht(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Wi(e,t,n,r,i,o,s,a,c,u){var l=t.blueprint.slice();return l[0]=i,l[2]=140|r,rn(l),l[3]=l[15]=e,l[8]=n,l[10]=s||e&&e[10],l[11]=a||e&&e[11],l[12]=c||e&&e[12]||null,l[9]=u||e&&e[9]||null,l[6]=o,l[16]=2==t.type?e[16]:l,l}function Hi(e,t,n,r,i,o){var s=n+20,a=e.data[s]||function(e,t,n,r,i,o){var s=dn(),a=hn(),c=a?s:s&&s.parent,u=e.data[n]=to(0,c&&c!==t?c:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=u),s&&(!a||null!=s.child||null===u.parent&&2!==s.type?a||(s.next=u):s.child=u),u}(e,t,s,r,i,o);return pn(a,!0),a}function Gi(e,t,n){En(t,t[6]);try{var r=e.viewQuery;null!==r&&xo(1,r,n);var i=e.template;null!==i&&Yi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ui(e,t),e.staticViewQueries&&xo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)bo(e,t[n])}(t,o)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),s}finally{t[2]&=-5,An()}}function Qi(e,t,n,r){var i=t[2];if(256!=(256&i)){En(t,t[6]);var o=gn();try{rn(t),sn.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Yi(e,t,n,2,r);var s=3==(3&i);if(!o)if(s){var a=e.preOrderCheckHooks;null!==a&&Ln(t,a,null)}else{var c=e.preOrderHooks;null!==c&&Vn(t,c,0,null),zn(t,0)}if(function(e){for(var t=Ai(e);null!==t;t=Ii(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r];0==(1024&i[2])&&on(i[3],1),i[2]|=1024}}(t),function(e){for(var t=Ai(e);null!==t;t=Ii(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];tn(r)&&Qi(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Ui(e,t),!o)if(s){var u=e.contentCheckHooks;null!==u&&Ln(t,u)}else{var l=e.contentHooks;null!==l&&Vn(t,l,1),zn(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,i=-1,o=0;o<n.length;o++){var s=n[o];"number"==typeof s?s<=0?(Rn(0-s),i=r+=9+n[++o]):r+=s:(null!==s&&(_n(r,i),s(2,t[i])),i++)}}finally{Rn(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)yo(e,t[n])}(t,d);var p=e.viewQuery;if(null!==p&&xo(2,p,r),!o)if(s){var h=e.viewCheckHooks;null!==h&&Ln(t,h)}else{var f=e.viewHooks;null!==f&&Vn(t,f,2),zn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,on(t[3],-1))}finally{An()}}}function Zi(e,t,n,r){var i=t[10],o=!gn(),s=en(t);try{o&&!s&&i.begin&&i.begin(),s&&Gi(e,t,r),Qi(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function Yi(e,t,n,r,i){var o=In();try{Rn(-1),2&r&&t.length>20&&Di(e,t,0,gn()),n(r,i)}finally{Rn(o)}}function Ki(e,t,n){if(Vt(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function Xi(e,t,n){an()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||cr(n,t),gi(r,t);for(var s=n.initialInputs,a=i;a<o;a++){var c=e.data[a],u=Bt(c);u&&fo(t,n,c);var l=vr(t,e,a,n);gi(l,t),null!==s&&go(0,a-i,l,c,0,s),u&&(Jt(n.index,t)[8]=l)}}(e,t,n,Yt(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-20,c=sn.lFrame.currentDirectiveIndex;try{Rn(a);for(var u=r;u<i;u++){var l=e.data[u],d=t[u];wn(u),null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs?ao(l,d):s&&o.push(null)}}finally{Rn(-1),wn(c)}}(e,t,n))}function Ji(e,t,n){void 0===n&&(n=Yt);var r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}function $i(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=eo(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function eo(e,t,n,r,i,o,s,a,c,u){var l=20+r,d=l+i,p=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:Mi);return n}(l,d);return p[1]={type:e,id:t,blueprint:p,template:n,queries:null,viewQuery:a,node:null,data:p.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:u,incompleteFirstPass:!1}}function to(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function no(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function ro(e,t,n,r,i,o,s,a){var c,u,l=Yt(t,n),d=t.inputs;!a&&null!=d&&(c=d[r])?(To(e,n,c,r,i),zt(t)&&function(e,t){var n=Jt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r="class"===(u=r)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,i=null!=s?s(i,t.tagName||"",r):i,Ht(o)?o.setProperty(l,r,i):Hn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function io(e,t,n,r){var i=!1;if(an()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var s=r[o];Oi(n,s.selectors,!1)&&(i||(i=[]),pr(cr(n,t),e,s.type),Bt(s)?(2&n.flags&&mi(n),uo(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){var a=0;i=!0,po(n,e.data.length,o.length);for(var c=0;c<o.length;c++)(d=o[c]).providersResolver&&d.providersResolver(d);co(e,n,o.length);var u=!1,l=!1;for(c=0;c<o.length;c++){var d;n.mergedAttrs=Gn(n.mergedAttrs,(d=o[c]).hostAttrs),ho(e,t,d),lo(e.data.length-1,d,s),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128),!u&&(d.onChanges||d.onInit||d.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),u=!0),l||!d.onChanges&&!d.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),l=!0),oo(e,d),a+=d.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],s=null,a=null,c=t.directiveStart;c<n;c++){var u=r[c],l=u.inputs,d=null===i||_i(t)?null:mo(l,i);o.push(d),s=no(l,c,s),a=no(u.outputs,c,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),so(e,t,a)}s&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '"+t[i+1]+"' not found!");r.push(t[i],o)}}(n,r,s)}return n.mergedAttrs=Gn(n.mergedAttrs,n.attrs),i}function oo(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function so(e,t,n){for(var r=0;r<n;r++)t.push(Mi),e.blueprint.push(Mi),e.data.push(null)}function ao(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function co(e,t,n){var r=20-t.index,i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function uo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function lo(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Bt(t)&&(n[""]=e)}}function po(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ho(e,t,n){e.data.push(n);var r=n.factory||(n.factory=jt(n.type)),i=new Un(r,Bt(n),null);e.blueprint.push(i),t.push(i)}function fo(e,t,n){var r=Yt(t,e),i=$i(n),o=e[10],s=_o(e,Wi(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=s}function go(e,t,n,r,i,o){var s=o[t];if(null!==s)for(var a=r.setInput,c=0;c<s.length;){var u=s[c++],l=s[c++],d=s[c++];null!==a?r.setInput(n,d,u,l):n[l]=d}}function mo(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function vo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function yo(e,t){var n=Jt(t,e);if(tn(n)){var r=n[1];80&n[2]?Qi(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=Ai(t);null!==n;n=Ii(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];Qi(o,i,o.template,i[8])}else i[5]>0&&e(i)}var s=t[1].components;if(null!==s)for(r=0;r<s.length;r++){var a=Jt(s[r],t);tn(a)&&a[5]>0&&e(a)}}(n)}}function bo(e,t){var n=Jt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Gi(r,n,n[8])}function _o(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function wo(e){for(;e;){e[2]|=64;var t=Ti(e);if(Ut(e)&&!t)return e;e=t}return null}function So(e,t,n){var r=t[10];r.begin&&r.begin();try{Qi(e,t,e.template,n)}catch(i){throw Mo(t,i),i}finally{r.end&&r.end()}}function Co(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=$t(n),i=r[1];Zi(i,r,i.template,n)}}(e[8])}function xo(e,t,n){xn(0),t(e,n)}var Oo=function(){return Promise.resolve(null)}();function Eo(e){return e[7]||(e[7]=[])}function ko(e){return e.cleanup||(e.cleanup=[])}function Po(e,t,n){return(null===e||Bt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Mo(e,t){var n=e[9],r=n?n.get(Or,null):null;r&&r.handleError(t)}function To(e,t,n,r,i){for(var o=0;o<n.length;){var s=n[o++],a=n[o++],c=t[s],u=e.data[s];null!==u.setInput?u.setInput(c,i,r,a):c[a]=i}}function Ao(e,t){var n=t[3];return-1===e.index?Lt(n)?n:null:n}function Io(e,t){var n=Ao(e,t);return n?Wo(t[11],n[7]):null}function Ro(e,t,n,r,i){if(null!=r){var o=void 0,s=!1;Lt(r)?o=r:Nt(r)&&(s=!0,r=r[0]);var a=Qt(r);0===e&&null!==n?null==i?Uo(t,n,a):Bo(t,n,a,i||null):1===e&&null!==n?Bo(t,n,a,i||null):2===e?function(e,t,n){var r=Wo(e,t);r&&function(e,t,n,r){Ht(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){var o=n[7];o!==Qt(n)&&Ro(t,e,r,o,i);for(var s=10;s<n.length;s++){var a=n[s];Yo(a[1],a,e,t,r,o)}}(t,e,o,n,i)}}function jo(e,t,n,r){var i=Io(e.node,t);i&&Yo(e,t,t[11],n?1:2,i,r)}function Do(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&on(t[3],-1),n.splice(r,1)}function No(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&Do(i,r),t>0&&(e[n-1][4]=r[4]);var o=gt(e,10+t);jo(r[1],r,!1,null);var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Lo(e,t){if(!(256&t[2])){var n=t[11];Ht(n)&&n.destroyNode&&Yo(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return zo(e[1],e);for(;t;){var n=null;if(Nt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Nt(t)&&zo(t[1],t),t=Vo(t,e);null===t&&(t=e),Nt(t)&&zo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vo(e,t){var n;return Nt(e)&&(n=e[6])&&2===n.type?Ao(n,e):e[3]===t?null:e[3]}function zo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof Un)){var o=n[r+1];if(Array.isArray(o))for(var s=0;s<o.length;s+=2)o[s+1].call(i[o[s]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],s="function"==typeof o?o(t):Qt(t[o]),a=n[i+3];"boolean"==typeof a?s.removeEventListener(n[i],r[n[i+2]],a):a>=0?r[a]():r[-a].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Ht(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Lt(t[3])){r!==t[3]&&Do(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function Fo(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?Io(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Yt(t,n).parentNode;if(2&r.flags){var o=e.data,s=o[o[r.index].directiveStart].encapsulation;if(s!==wt.ShadowDom&&s!==wt.Native)return null}return Yt(r,n)}function Bo(e,t,n,r){Ht(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Uo(e,t,n){Ht(e)?e.appendChild(t,n):t.appendChild(n)}function qo(e,t,n,r){null!==r?Bo(e,t,n,r):Uo(e,t,n)}function Wo(e,t){return Ht(e)?e.parentNode(t):t.parentNode}function Ho(e,t){if(2===e.type){var n=Ao(e,t);return null===n?null:Qo(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Yt(e,t):null}function Go(e,t,n,r){var i=Fo(e,r,t);if(null!=i){var o=t[11],s=Ho(r.parent||t[6],t);if(Array.isArray(n))for(var a=0;a<n.length;a++)qo(o,i,n[a],s);else qo(o,i,n,s)}}function Qo(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){var r=n.type;if(3===r)return Yt(n,t);if(0===r)return Qo(-1,t[n.index]);if(4===r||5===r){var i=n.child;if(null!==i)return e(t,i);var o=t[n.index];return Lt(o)?Qo(-1,o):Qt(o)}var s=t[16],a=s[6],c=Ti(s),u=a.projection[n.projection];return null!=u?e(c,u):e(t,n.next)}return null}(r,i)}return t[7]}function Zo(e,t,n,r,i,o,s){for(;null!=n;){var a=r[n.index],c=n.type;s&&0===t&&(a&&gi(Qt(a),r),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(Zo(e,t,n.child,r,i,o,!1),Ro(t,e,i,a,o)):1===c?Ko(e,t,r,n,i,o):Ro(t,e,i,a,o)),n=s?n.projectionNext:n.next}}function Yo(e,t,n,r,i,o){Zo(n,r,e.node.child,t,i,o,!1)}function Ko(e,t,n,r,i,o){var s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(var c=0;c<a.length;c++)Ro(t,e,i,a[c],o);else Zo(e,t,a,s[3],i,o,!0)}function Xo(e,t,n){Ht(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Jo(e,t,n){Ht(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var $o,es,ts,ns=function(){function e(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i,o){for(void 0===o&&(o=!1);null!==r;){var s=n[r.index];if(null!==s&&i.push(Qt(s)),Lt(s))for(var a=10;a<s.length;a++){var u=s[a],l=u[1].firstChild;null!==l&&e(u[1],u,l,i)}var d=r.type;if(4===d||5===d)e(t,n,r.child,i);else if(1===d){var p=n[16],h=p[6].projection[r.projection];if(Array.isArray(h))i.push.apply(i,c(h));else{var f=Ti(p);e(f[1],f,h,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._lView[8]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 256==(256&this._lView[2])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Lo(this._lView[1],this._lView)},e.prototype.onDestroy=function(e){var t,n,r;t=this._lView[1],r=e,Eo(n=this._lView).push(r),t.firstCreatePass&&ko(t).push(n[7].length-1,null)},e.prototype.markForCheck=function(){wo(this._cdRefInjectingView||this._lView)},e.prototype.detach=function(){this._lView[2]&=-129},e.prototype.reattach=function(){this._lView[2]|=128},e.prototype.detectChanges=function(){So(this._lView[1],this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e,t,n){mn(!0);try{So(e,t,n)}finally{mn(!1)}}(this._lView[1],this._lView,this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){var e;this._appRef=null,Yo(this._lView[1],e=this._lView,e[11],2,null,null)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e}(),rs=function(e){function t(t){var n=e.call(this,t)||this;return n._view=t,n}return i(t,e),t.prototype.detectChanges=function(){Co(this._view)},t.prototype.checkNoChanges=function(){!function(e){mn(!0);try{Co(e)}finally{mn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(ns);function is(e,t,n){return $o||($o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(e)),new $o(Yt(t,n))}function os(e,t,n,r){return es||(es=function(e){function t(t,n,r){var i=e.call(this)||this;return i._declarationView=t,i._declarationTContainer=n,i.elementRef=r,i}return i(t,e),t.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=Wi(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Gi(t,n,e),new ns(n)},t}(e)),0===n.type?new es(r,n,is(t,n,r)):null}function ss(e,t,n,r){var o;ts||(ts=function(e){function n(t,n,r){var i=e.call(this)||this;return i._lContainer=t,i._hostTNode=n,i._hostView=r,i}return i(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return is(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new _r(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=dr(this._hostTNode,this._hostView),t=Xn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=Kn(e),s=t,a=t[6];o>1;)a=(s=s[15])[6],o--;return a}(e,this._hostView,this._hostTNode);return Zn(e)&&null!=n?new _r(n,t):new _r(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-10},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},n.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var s=o.get(dt,null);s&&(i=s)}var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a},n.prototype.insert=function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Lt(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],s=new ts(o,o[6],o[3]);s.detach(s.indexOf(e))}}var a=this._adjustIndex(t);return function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],ft(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var s=t[17];null!==s&&n!==s&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);var a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,this._lContainer,a),jo(r,n,!0,Qo(a,this._lContainer)),e.attachToViewContainerRef(this),ft(this._lContainer[8],a,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)},n.prototype.indexOf=function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1},n.prototype.remove=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=No(e,t);n&&Lo(n[1],n)}(this._lContainer,t),gt(this._lContainer[8],t)},n.prototype.detach=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=No(this._lContainer,t);return n&&null!=gt(this._lContainer[8],t)?new ns(n):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this.length+t:e},n.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},n}(e));var s=r[n.index];if(Lt(s))o=s;else{var a=void 0;if(4===n.type)a=Qt(s);else if(a=r[11].createComment(""),Ut(r)){var c=r[11],u=Yt(n,r);Bo(c,Wo(c,u),a,function(e,t){return Ht(e)?e.nextSibling(t):t.nextSibling}(c,u))}else Go(r[1],r,a,n);r[n.index]=o=vo(s,r,a,n),_o(r,o)}return new ts(o,n,r)}function as(e){return void 0===e&&(e=!1),function(e,t,n){if(!n&&zt(e)){var r=Jt(e.index,t);return new ns(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ns(t[16],t):null}(dn(),cn(),e)}var cs=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return us()},e}(),us=as,ls=new Xe("Set Injector scope."),ds={},ps={},hs=[],fs=void 0;function gs(){return void 0===fs&&(fs=new lt),fs}function ms(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),new vs(e,n,t||gs(),r)}var vs=function(){function e(e,t,n,r){var i=this;void 0===r&&(r=null),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];t&&ht(t,(function(n){return i.processProvider(n,e,t)})),ht([e],(function(e){return i.processInjectorType(e,[],o)})),this.records.set(Je,_s(void 0,this));var s=this.records.get(ls);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:Ie(e))}return Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=$e),void 0===n&&(n=be.Default),this.assertNotDestroyed();var r,i=rt(this);try{if(!(n&be.SkipSelf)){var o=this.records.get(e);if(void 0===o){var s=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Xe)&&xe(e);o=s&&this.injectableDefInScope(s)?_s(ys(e),ds):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&be.Self?gs():this.parent).get(e,t=n&be.Optional&&t===$e?null:t)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(Ie(e)),i)throw a;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=Ie(t);if(Array.isArray(t))i=t.map(Ie).join(" -> ");else if("object"==typeof t){var o=[];for(var s in t)if(t.hasOwnProperty(s)){var a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Ie(a)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+e.replace(et,"\n ")}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(a,e,"R3InjectorError",this.source)}throw a}finally{rt(i)}},e.prototype._resolveInjectorDefTypes=function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))},e.prototype.toString=function(){var e=[];return this.records.forEach((function(t,n){return e.push(Ie(n))})),"R3Injector["+e.join(", ")+"]"},e.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(!(e=Ne(e)))return!1;var i=Ee(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=Ee(o)),null==i)return!1;if(null!=i.imports&&!a){var c;n.push(s);try{ht(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var u=function(e){var t=c[e],n=t.ngModule,i=t.providers;ht(i,(function(e){return r.processProvider(e,n,i||hs)}))},l=0;l<c.length;l++)u(l)}this.injectorDefTypes.add(s),this.records.set(s,_s(i.factory,ds));var d=i.providers;if(null!=d&&!a){var p=e;ht(d,(function(e){return r.processProvider(e,p,d)}))}return void 0!==o&&void 0!==e.providers},e.prototype.processProvider=function(e,t,n){var r=Ss(e=Ne(e))?e:Ne(e&&e.provide),i=function(e,t,n){return ws(e)?_s(void 0,e.useValue):_s(bs(e,t,n),ds)}(e,t,n);if(Ss(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&vi()}else{var s=this.records.get(r);s?void 0===s.multi&&vi():((s=_s(void 0,ds,!0)).factory=function(){return ut(s.multi)},this.records.set(r,s)),r=e,s.multi.push(e)}this.records.set(r,i)},e.prototype.hydrate=function(e,t){var n;return t.value===ps?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(Ie(e)):t.value===ds&&(t.value=ps,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))},e}();function ys(e){var t=xe(e),n=null!==t?t.factory:jt(e);if(null!==n)return n;var r=Ee(e);if(null!==r)return r.factory;if(e instanceof Xe)throw new Error("Token "+Ie(e)+" is missing a \u0275prov definition.");if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=mt(t,"?");throw new Error("Can't resolve all parameters for "+Ie(e)+": ("+n.join(", ")+").")}var r=function(e){var t=e&&(e[ke]||e[Te]||e[Me]&&e[Me]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function bs(e,t,n){var r,i=void 0;if(Ss(e)){var o=Ne(e);return jt(o)||ys(o)}if(ws(e))i=function(){return Ne(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,c(ut(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return st(Ne(e.useExisting))};else{var s=Ne(e&&(e.useClass||e.provide));if(s||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: ["+t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Ie(e)+"'"+r)}(t,n,e),!function(e){return!!e.deps}(e))return jt(s)||ys(s);i=function(){return new(s.bind.apply(s,c([void 0],ut(e.deps))))}}return i}function _s(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function ws(e){return null!==e&&"object"==typeof e&&tt in e}function Ss(e){return"function"==typeof e}var Cs=function(e,t,n){return function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null);var i=ms(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},xs=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?Cs(e,t,""):Cs(e.providers,e.parent,e.name||"")},e.THROW_IF_NOT_FOUND=$e,e.NULL=new lt,e.\u0275prov=Se({token:e,providedIn:"any",factory:function(){return st(Je)}}),e.__NG_ELEMENT_ID__=-1,e}(),Os=new Xe("AnalyzeForEntryComponents"),Es=new Map,ks=new Set;function Ps(e){return"string"==typeof e?e:e.text()}function Ms(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var s=0;s<t.length;s++){var a=t[s];"number"==typeof a?o=a:1==o?i=Re(i,a):2==o&&(r=Re(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var Ts=null;function As(){if(!Ts){var e=qe.Symbol;if(e&&e.iterator)Ts=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ts=r)}}return Ts}function Is(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var Rs=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}();function js(e){return!!Ds(e)&&(Array.isArray(e)||!(e instanceof Map)&&As()in e)}function Ds(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ns(e,t,n){return e[t]=n}function Ls(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Vs(e,t,n,r){var i=cn();return Ls(i,yn(),t)&&(un(),function(e,t,n,r,i,o){var s=Yt(e,t),a=t[11];if(null==r)Ht(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{var c=null==i?Jn(r):i(r,e.tagName||"",n);Ht(a)?a.setAttribute(s,n,c,o):o?s.setAttributeNS(o,n,c):s.setAttribute(n,c)}}(jn(),i,e,t,n,r)),Vs}function zs(e,t,n,r){return Ls(e,yn(),n)?t+Jn(n)+r:Mi}function Fs(e,t,n,r,i,o,s,a){var c=cn(),u=un(),l=e+20,d=u.firstCreatePass?function(e,t,n,r,i,o,s,a,c){var u=t.consts,l=Hi(t,n[6],e,0,s||null,nn(u,a));io(t,n,l,nn(u,c)),Nn(t,l);var d=l.tViews=eo(2,-1,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u),p=to(0,null,2,-1,null,null);return p.injectorIndex=l.injectorIndex,d.node=p,null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(e,u,c,t,n,r,i,o,s):u.data[l];pn(d,!1);var p=c[11].createComment("");Go(u,c,p,d),gi(p,c),_o(c,c[l]=vo(p,c,p,d)),Ft(d)&&Xi(u,c,d),null!=s&&Ji(c,d,a)}function Bs(e,t){void 0===t&&(t=be.Default);var n=cn();return null==n?st(e,t):hr(dn(),n,Ne(e),t)}function Us(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Wn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(dn(),e)}function qs(){throw new Error("invalid")}function Ws(e,t,n){var r=cn();return Ls(r,yn(),t)&&ro(un(),jn(),r,e,t,r[11],n,!1),Ws}function Hs(e,t,n,r,i){var o=i?"class":"style";To(e,n,t.inputs[o],o,r)}function Gs(e,t,n,r){var i=cn(),o=un(),s=20+e,a=i[11],c=i[s]=qi(t,a,sn.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,s){var a=t.consts,c=nn(a,o),u=Hi(t,n[6],e,3,i,c);return io(t,n,u,nn(a,s)),null!==u.attrs&&Ms(u,u.attrs,!1),null!==u.mergedAttrs&&Ms(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,i,0,t,n,r):o.data[s];pn(u,!0);var l=u.mergedAttrs;null!==l&&qn(a,c,l);var d=u.classes;null!==d&&Jo(a,c,d);var p=u.styles;null!==p&&Xo(a,c,p),Go(o,i,c,u),0===sn.lFrame.elementDepthCount&&gi(c,i),sn.lFrame.elementDepthCount++,Ft(u)&&(Xi(o,i,u),Ki(o,u,i)),null!==r&&Ji(i,u)}function Qs(){var e=dn();hn()?fn():pn(e=e.parent,!1);var t=e;sn.lFrame.elementDepthCount--;var n=un();n.firstCreatePass&&(Nn(n,e),Vt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Hs(n,t,cn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Hs(n,t,cn(),t.stylesWithoutHost,!1)}function Zs(e,t,n,r){Gs(e,t,n,r),Qs()}function Ys(e,t,n){var r=cn(),i=un(),o=e+20,s=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,s=nn(o,r),a=Hi(t,n[6],e,4,"ng-container",s);return null!==s&&Ms(a,s,!0),io(t,n,a,nn(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,i,r,t,n):i.data[o];pn(s,!0);var a=r[o]=r[11].createComment("");Go(i,r,a,s),gi(a,r),Ft(s)&&(Xi(i,r,s),Ki(i,s,r)),null!=n&&Ji(r,s)}function Ks(){var e=dn(),t=un();hn()?fn():pn(e=e.parent,!1),t.firstCreatePass&&(Nn(t,e),Vt(e)&&t.queries.elementEnd(e))}function Xs(){return cn()}function Js(e){return!!e&&"function"==typeof e.then}function $s(e){return!!e&&"function"==typeof e.subscribe}function ea(e,t,n,r){void 0===n&&(n=!1);var i=cn(),o=un(),s=dn();return na(o,i,i[11],s,e,t,n,r),ea}function ta(e,t,n,r){void 0===n&&(n=!1);var i=dn(),o=cn(),s=un();return na(s,o,Po(Sn(s.data),i,o),i,e,t,n,r),ta}function na(e,t,n,r,i,o,s,a){void 0===s&&(s=!1);var c=Ft(r),u=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),l=Eo(t),d=!0;if(3===r.type){var p=Yt(r,t),h=a?a(p):St,f=h.target||p,g=l.length,m=a?function(e){return a(Qt(e[r.index])).target}:r.index;if(Ht(n)){var v=null;if(!a&&c&&(v=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var s=i[o];if(s===n&&i[o+1]===r){var a=t[7],c=i[o+2];return a.length>c?a[c]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=o,v.__ngLastListenerFn__=o,d=!1;else{o=ia(r,t,o,!1);var y=n.listen(h.name||f,i,o);l.push(o,y),u&&u.push(i,m,g,g+1)}}else o=ia(r,t,o,!0),f.addEventListener(i,o,s),l.push(o),u&&u.push(i,m,g,s)}var b,_=r.outputs;if(d&&null!==_&&(b=_[i])){var w=b.length;if(w)for(var S=0;S<w;S+=2){var C=t[b[S]][b[S+1]].subscribe(o),x=l.length;l.push(o,C),u&&u.push(i,r.index,x,-(x+1))}}}function ra(e,t,n){try{return!1!==t(n)}catch(r){return Mo(e,r),!1}}function ia(e,t,n,r){return function i(o){if(o===Function)return n;var s=2&e.flags?Jt(e.index,t):t;0==(32&t[2])&&wo(s);for(var a=ra(t,n,o),c=i.__ngNextListenerFn__;c;)a=ra(t,c,o)&&a,c=c.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function oa(e){return void 0===e&&(e=1),function(e){return(sn.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,sn.lFrame.contextLView))[8]}(e)}function sa(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?Oi(e,o,!0):Ei(r,o))return i}else n=i}return n}function aa(e){var t=cn()[16][6];if(!t.projection)for(var n=t.projection=mt(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?sa(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function ca(e,t,n){void 0===t&&(t=0);var r=cn(),i=un(),o=Hi(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),fn(),function(e,t,n){Ko(t[11],0,t,n,Fo(e,n,t),Ho(n.parent||t[6],t))}(i,r,o)}function ua(e,t,n){return la(e,"",t,"",n),ua}function la(e,t,n,r,i){var o=cn(),s=zs(o,t,n,r);return s!==Mi&&ro(un(),jn(),o,e,s,o[11],i,!1),la}var da=[];function pa(e,t,n,r,i){for(var o=e[n+1],s=null===t,a=r?Li(o):zi(o),c=!1;0!==a&&(!1===c||s);){var u=e[a+1];ha(e[a],t)&&(c=!0,e[a+1]=r?Bi(u):Vi(u)),a=r?Li(u):zi(u)}c&&(e[n+1]=r?Vi(o):Bi(o))}function ha(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&bt(e,t)>=0}var fa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ga(e){return e.substring(fa.key,fa.keyEnd)}function ma(e,t){var n=fa.textEnd;return n===t?-1:(t=fa.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,fa.key=t,n),va(e,t,n))}function va(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ya(e,t,n){return wa(e,t,n,!1),ya}function ba(e,t){return wa(e,t,null,!0),ba}function _a(e,t){for(var n=function(e){return function(e){fa.key=0,fa.keyEnd=0,fa.value=0,fa.valueEnd=0,fa.textEnd=e.length}(e),ma(e,va(e,0,fa.textEnd))}(t);n>=0;n=ma(t,n))vt(e,ga(t),!0)}function wa(e,t,n,r){var i,o=cn(),s=un(),a=bn(2);if(s.firstUpdatePass&&Ca(s,e,a,r),t!==Mi&&Ls(o,a,t)){var c=void 0;null==n&&(c=null===(i=sn.lFrame)?null:i.currentSanitizer)&&(n=c),Ea(s,s.data[In()+20],o,o[11],e,o[a+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=Ie(Ir(e)))),e}(t,n),r,a)}}function Sa(e,t){return t>=e.expandoStartIndex}function Ca(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[In()+20],s=Sa(e,n);Ma(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){var i=Sn(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Oa(n=xa(null,e,t,n,r),t.attrs,r),o=null);else{var s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=xa(i,e,t,n,r),null===o){var a=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==zi(r))return e[Li(r)]}(e,t,r);void 0!==a&&Array.isArray(a)&&function(e,t,n,r){e[Li(n?t.classBindings:t.styleBindings)]=r}(e,t,r,a=Oa(a=xa(null,e,t,a[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=Oa(r,e[o].hostAttrs,n);return Oa(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var s=o?t.classBindings:t.styleBindings,a=Li(s),c=zi(s);e[r]=n;var u,l=!1;if(Array.isArray(n)?(null===(u=n[1])||bt(n,u)>0)&&(l=!0):u=n,i)if(0!==c){var d=Li(e[a+1]);e[r+1]=Ni(d,a),0!==d&&(e[d+1]=Fi(e[d+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Ni(a,0),0!==a&&(e[a+1]=Fi(e[a+1],r)),a=r;else e[r+1]=Ni(c,0),0===a?a=r:e[c+1]=Fi(e[c+1],r),c=r;l&&(e[r+1]=Vi(e[r+1])),pa(e,u,r,!0),pa(e,u,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&bt(o,t)>=0&&(n[r+1]=Bi(n[r+1]))}(t,u,e,r,o),s=Ni(a,c),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function xa(e,t,n,r,i){var o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=Oa(r,(o=t[a]).hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Oa(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),vt(e,s,!!n||t[++o]))}return void 0===e?null:e}function Ea(e,t,n,r,i,o,s,a){if(3===t.type){var c=e.data,u=c[a+1];Pa(1==(1&u)?ka(c,t,n,i,zi(u),s):void 0)||(Pa(o)||function(e){return 2==(2&e)}(u)&&(o=ka(c,null,n,i,a,s)),function(e,t,n,r,i){var o=Ht(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var s=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,s):n.style.removeProperty(r):o?e.setStyle(n,r,i,s):n.style.setProperty(r,i)}}(r,s,Zt(In(),n),i,o))}}function ka(e,t,n,r,i,o){for(var s=null===t,a=void 0;i>0;){var c=e[i],u=Array.isArray(c),l=u?c[1]:c,d=null===l,p=n[i+1];p===Mi&&(p=d?da:void 0);var h=d?yt(p,r):l===r?p:void 0;if(u&&!Pa(h)&&(h=yt(c,r)),Pa(h)&&(a=h,s))return a;var f=e[i+1];i=s?Li(f):zi(f)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(a=yt(g,r))}return a}function Pa(e){return void 0!==e}function Ma(e,t){return 0!=(e.flags&(t?16:32))}function Ta(e,t){void 0===t&&(t="");var n=cn(),r=un(),i=e+20,o=r.firstCreatePass?Hi(r,n[6],e,3,null,null):r.data[i],s=n[i]=function(e,t){return Ht(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Go(r,n,s,o),pn(o,!1)}function Aa(e){return Ia("",e,""),Aa}function Ia(e,t,n){var r=cn(),i=zs(r,e,t,n);return i!==Mi&&function(e,t,n){var r=Zt(t,e),i=e[11];Ht(i)?i.setValue(r,n):r.textContent=n}(r,In(),i),Ia}function Ra(e,t,n){var r=cn();return Ls(r,yn(),t)&&ro(un(),jn(),r,e,t,r[11],n,!0),Ra}function ja(e,t,n){var r=cn();if(Ls(r,yn(),t)){var i=un(),o=jn();ro(i,o,r,e,t,Po(Sn(i.data),o,r),n,!0)}return ja}function Da(e,t){var n=$t(e)[1],r=n.data.length-1;Nn(n,{directiveStart:r,directiveEnd:r+1})}function Na(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(Bt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=La(e.inputs),o.declaredInputs=La(e.declaredInputs),o.outputs=La(e.outputs);var s=i.hostBindings;s&&Fa(e,s);var a=i.viewQuery,c=i.contentQueries;if(a&&Va(e,a),c&&za(e,c),we(e.inputs,i.inputs),we(e.declaredInputs,i.declaredInputs),we(e.outputs,i.outputs),Bt(i)&&i.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var l=i.features;if(l)for(var d=0;d<l.length;d++){var p=l[d];p&&p.ngInherit&&p(e),p===Na&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Gn(i.hostAttrs,n=Gn(n,i.hostAttrs))}}(r)}function La(e){return e===St?{}:e===Ct?[]:e}function Va(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function za(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Fa(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Ba=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Ua(e){e.type.prototype.ngOnChanges&&(e.setInput=qa,e.onChanges=function(){var e=Wa(this),t=e&&e.current;if(t){var n=e.previous;if(n===St)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function qa(e,t,n,r){var i=Wa(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:St,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],c=s[a];o[a]=new Ba(c&&c.currentValue,t,s===St),e[r]=t}function Wa(e){return e.__ngSimpleChanges__||null}function Ha(e,t,n,r,i){if(e=Ne(e),Array.isArray(e))for(var o=0;o<e.length;o++)Ha(e[o],t,n,r,i);else{var s=un(),a=cn(),c=Ss(e)?e:Ne(e.provide),u=bs(e),l=dn(),d=65535&l.providerIndexes,p=l.directiveStart,h=l.providerIndexes>>16;if(Ss(e)||!e.multi){var f=new Un(u,i,Bs),g=Za(c,t,i?d:d+h,p);-1===g?(pr(cr(l,a),s,c),Ga(s,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(f),a.push(f)):(n[g]=f,a[g]=f)}else{var m=Za(c,t,d+h,p),v=Za(c,t,d,d+h),y=v>=0&&n[v];i&&!y||!i&&!(m>=0&&n[m])?(pr(cr(l,a),s,c),f=function(e,t,n,r,i){var o=new Un(e,n,Bs);return o.multi=[],o.index=t,o.componentProviders=0,Qa(o,i,r&&!n),o}(i?Ka:Ya,n.length,i,r,u),!i&&y&&(n[v].providerFactory=f),Ga(s,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(f),a.push(f)):Ga(s,e,m>-1?m:v,Qa(n[i?v:m],u,!i&&r)),!i&&r&&y&&n[v].componentProviders++}}}function Ga(e,t,n,r){var i=Ss(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var s=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var a=s.indexOf(n);-1===a?s.push(n,[r,o]):s[a+1].push(r,o)}else s.push(n,o)}}}function Qa(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Za(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Ya(e,t,n,r){return Xa(this.multi,[])}function Ka(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var s=this.providerFactory.componentProviders,a=vr(n,n[1],this.providerFactory.index,r);Xa(o,i=a.slice(0,s));for(var c=s;c<a.length;c++)i.push(a[c])}else Xa(o,i=[]);return i}function Xa(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ja(e,t){return void 0===t&&(t=[]),function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=un();if(r.firstCreatePass){var i=Bt(e);Ha(n,r.data,r.blueprint,i,!0),Ha(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}Ua.ngInherit=!0;var $a=function(){return function(){}}(),ec=function(){return function(){}}(),tc=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw function(e){var t=Error("No component factory found for "+Ie(e)+". Did you add it to @NgModule.entryComponents?");return t.ngComponent=e,t}(e)},e}(),nc=function(){function e(){}return e.NULL=new tc,e}(),rc=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ic(e)},e}(),ic=function(e){return is(e,dn(),cn())},oc=function(){return function(){}}(),sc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),ac=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return cc()},e}(),cc=function(){var e=cn(),t=Jt(dn().index,e);return function(e){var t=e[11];if(Ht(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Nt(t)?t:e)},uc=function(){function e(){}return e.\u0275prov=Se({token:e,providedIn:"root",factory:function(){return null}}),e}(),lc=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),dc=new lc("9.1.11"),pc=function(){function e(){}return e.prototype.supports=function(e){return js(e)},e.prototype.create=function(e){return new fc(e)},e}(),hc=function(e,t){return t},fc=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||hc}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<yc(n,r,i)?t:n,s=yc(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var c=s-r,u=a-r;if(c!=u){for(var l=0;l<c;l++){var d=l<i.length?i[l]:i[l]=0,p=d+l;u<=p&&p<c&&(i[l]=d+1)}i[o.previousIndex]=u-c}}s!==a&&e(o,s,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!js(e))throw new Error("Error trying to diff '"+Ie(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=e[a]),null!==o&&Is(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),Is(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[As()](),i=void 0;!(i=r.next()).done;)t(i.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&Is(o.trackById,i)?(s&&(o=t._verifyReinsertion(o,e,i,n)),Is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),s=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new gc(t,n),i,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new vc),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),gc=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),mc=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Is(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),vc=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new mc,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function yc(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var bc=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Ds(e)},e.prototype.create=function(){return new _c},e}(),_c=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Ds(e)))throw new Error("Error trying to diff '"+Ie(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new wc(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){Is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))},e}(),wc=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Sc=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ye,new me]]}},e.prototype.find=function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.\u0275prov=Se({token:e,providedIn:"root",factory:function(){return new e([new pc])}}),e}(),Cc=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ye,new me]]}},e.prototype.find=function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.\u0275prov=Se({token:e,providedIn:"root",factory:function(){return new e([new bc])}}),e}(),xc=[new bc],Oc=new Sc([new pc]),Ec=new Cc(xc),kc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Pc(e,rc)},e}(),Pc=function(e,t){return os(e,t,dn(),cn())},Mc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Tc(e,rc)},e}(),Tc=function(e,t){return ss(e,t,dn(),cn())},Ac={},Ic=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return i(t,e),t.prototype.resolveComponentFactory=function(e){var t=Rt(e);return new Dc(t,this.ngModule)},t}(nc);function Rc(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var jc=new Xe("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return er}}),Dc=function(e){function t(t,n){var r=e.call(this)||this;return r.componentDef=t,r.ngModule=n,r.componentType=t.type,r.selector=t.selectors.map(Pi).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!n,r}return i(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return Rc(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return Rc(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var i,o,s=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Ac,i);return o!==Ac||r===Ac?o:t.get(n,r,i)}}}(e,r.injector):e,a=s.get(oc,Gt),c=s.get(uc,null),u=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(Ht(e))return e.selectRootElement(t,n===wt.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,n,this.componentDef.encapsulation):qi(l,a.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),p=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),f={components:[],scheduler:er,clean:Oo,playerHandler:null,flags:0},g=eo(0,-1,null,1,0,null,null,null,null,null),m=Wi(null,g,f,p,null,null,a,u,c,s);En(m,null);try{var v=function(e,t,n,r,i,o){var s=n[1];n[20]=e;var a=Hi(s,null,0,3,null,null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(Ms(a,c,!0),null!==e&&(qn(i,e,c),null!==a.classes&&Jo(i,e,a.classes),null!==a.styles&&Xo(i,e,a.styles)));var u=r.createRenderer(e,t),l=Wi(n,$i(t),null,t.onPush?64:16,n[20],a,r,u,void 0);return s.firstCreatePass&&(pr(cr(a,n),s,t.type),uo(s,a),po(a,n.length,1)),_o(n,l),n[20]=l}(d,this.componentDef,m,a,u);if(d)if(n)qn(u,d,["ng-version",dc.full]);else{var y=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Ci(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),b=y.attrs,_=y.classes;b&&qn(u,d,b),_&&_.length>0&&Jo(u,d,_.join(" "))}if(o=Kt(g,0),void 0!==t)for(var w=o.projection=[],S=0;S<this.ngContentSelectors.length;S++){var C=t[S];w.push(null!=C?Array.from(C):null)}i=function(e,t,n,r,i){var o=n[1],s=function(e,t,n){var r=dn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),co(e,r,1),ho(e,t,n));var i=vr(t,e,t.length-1,r);gi(i,t);var o=Yt(r,t);return o&&gi(o,t),i}(o,n,t);r.components.push(s),e[8]=s,i&&i.forEach((function(e){return e(s,t)})),t.contentQueries&&t.contentQueries(1,s,n.length-1);var a=dn();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Rn(a.index-20);var c=n[1];oo(c,t),so(c,n,t.hostVars),ao(t,s)}return s}(v,this.componentDef,m,f,[Da]),Gi(g,m,null)}finally{An()}var x=new Nc(this.componentType,i,is(rc,o,m),m,o);return n&&!h||(g.node.child=o),x},t}(ec),Nc=function(e){function t(t,n,r,i,o){var s,a,c,u=e.call(this)||this;return u.location=r,u._rootLView=i,u._tNode=o,u.destroyCbs=[],u.instance=n,u.hostView=u.changeDetectorRef=new rs(i),a=i,null==(c=(s=i[1]).node)&&(s.node=c=to(0,null,2,-1,null,null)),a[6]=c,u.componentType=t,u}return i(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new _r(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},t.prototype.onDestroy=function(e){this.destroyCbs&&this.destroyCbs.push(e)},t}($a),Lc=void 0,Vc=["en",[["a","p"],["AM","PM"],Lc],[["AM","PM"],Lc,Lc],[["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"]],Lc,[["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"]],Lc,[["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}",Lc,"{1} 'at' {0}",Lc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],zc={};function Fc(e){return e in zc||(zc[e]=qe.ng&&qe.ng.common&&qe.ng.common.locales&&qe.ng.common.locales[e]),zc[e]}var Bc=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function Uc(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+" [Expected=> null != "+t+" <=Actual]")}(n,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var qc=new Map,Wc=function(e){function t(t,n){var r=e.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[],r.componentFactoryResolver=new Ic(r);var i=Dt(t),o=t[Ze]||null;return o&&Uc(o),r._bootstrapComponents=ir(i.bootstrap),r._r3Injector=ms(t,n,[{provide:dt,useValue:r},{provide:nc,useValue:r.componentFactoryResolver}],Ie(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return i(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=xs.THROW_IF_NOT_FOUND),void 0===n&&(n=be.Default),e===xs||e===dt||e===Je?this:this._r3Injector.get(e,t,n)},t.prototype.destroy=function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(dt),Hc=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,null!==Dt(t)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for "+e+" - "+Ie(t)+" vs "+Ie(t.name))})(n,qc.get(n),t),qc.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(t),n}return i(t,e),t.prototype.create=function(e){return new Wc(this.moduleType,e)},t}(pt);function Gc(e,t){var n=e[t];return n===Mi?void 0:n}function Qc(e,t,n,r,i,o){var s=t+n;return Ls(e,s,i)?Ns(e,s+1,o?r.call(o,i):r(i)):Gc(e,s+1)}function Zc(e,t){var n,r=un(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '"+e+"' could not be found!")}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=jt(n.type)),s=it(Bs),a=sr(!1),c=o();return sr(a),it(s),function(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(r,cn(),e,c),c}function Yc(e,t,n){var r=cn(),i=Xt(r,e);return function(e,t){return Rs.isWrapped(t)&&(t=Rs.unwrap(t),e[sn.lFrame.bindingIndex]=Mi),t}(r,function(e,t){return e[1].data[t+20].pure}(r,e)?Qc(r,vn(),t,i.transform,n,i):i.transform(n))}var Kc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return i(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var i,o=function(e){return null},s=function(){return null};t&&"object"==typeof t?(i=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(i=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},n&&(o=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var a=e.prototype.subscribe.call(this,i,o,s);return t instanceof f&&t.add(a),a},t}(j);function Xc(){return this._results[As()]()}var Jc=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Kc,this.length=0;var t=As(),n=e.prototype;n[t]||(n[t]=Xc)}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),$c=function(){function e(e){this.queryList=e,this.matches=null}return e.prototype.clone=function(){return new e(this.queryList)},e.prototype.setDirty=function(){this.queryList.setDirty()},e}(),eu=function(){function e(e){void 0===e&&(e=[]),this.queries=e}return e.prototype.createEmbeddedView=function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new e(i)}return null},e.prototype.insertView=function(e){this.dirtyQueriesWithMatches(e)},e.prototype.detachView=function(e){this.dirtyQueriesWithMatches(e)},e.prototype.dirtyQueriesWithMatches=function(e){for(var t=0;t<this.queries.length;t++)null!==vu(e,t).matches&&this.queries[t].setDirty()},e}(),tu=function(){return function(e,t,n,r){void 0===r&&(r=null),this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}(),nu=function(){function e(e){void 0===e&&(e=[]),this.queries=e}return e.prototype.elementStart=function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)},e.prototype.elementEnd=function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)},e.prototype.embeddedTView=function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null},e.prototype.template=function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)},e.prototype.getByIndex=function(e){return this.queries[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),e.prototype.track=function(e){this.queries.push(e)},e}(),ru=function(){function e(e,t){void 0===t&&(t=-1),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}return e.prototype.elementStart=function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)},e.prototype.elementEnd=function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)},e.prototype.template=function(e,t){this.elementStart(e,t)},e.prototype.embeddedTView=function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null},e.prototype.isApplyingToNode=function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode},e.prototype.matchTNode=function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,iu(t,n[r]));else{var i=this.metadata.predicate;i===kc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,mr(t,e,i,!1,!1))}},e.prototype.matchTNodeWithReadOption=function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===rc||r===Mc||r===kc&&0===t.type)this.addMatch(t.index,-2);else{var i=mr(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}},e.prototype.addMatch=function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)},e}();function iu(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ou(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?is(rc,e,t):0===e.type?os(kc,rc,e,t):null}(t,e):-2===n?function(e,t,n){return n===rc?is(rc,t,e):n===kc?os(kc,rc,t,e):n===Mc?ss(Mc,rc,t,e):void 0}(e,t,r):vr(e,e[1],n,t)}function su(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,s=n.matches,a=[],c=0;c<s.length;c+=2){var u=s[c];a.push(u<0?null:ou(t,o[u],s[c+1],n.metadata.read))}i.matches=a}return i.matches}function au(e){var t=cn(),n=un(),r=Cn();xn(r+1);var i=vu(n,r);if(e.dirty&&en(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),s=o.matches;if(null!==s)for(var a=su(t,n,o,r),c=0;c<s.length;c+=2){var u=s[c];if(u>0)i.push(a[c/2]);else{for(var l=s[c+1],d=n[-u],p=10;p<d.length;p++)(g=d[p])[17]===g[3]&&e(g[1],g,l,i);if(null!==d[9])for(var h=d[9],f=0;f<h.length;f++){var g;e((g=h[f])[1],g,l,i)}}}return i}(n,t,r,[]):su(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function cu(e,t,n){lu(un(),cn(),e,t,n,!0)}function uu(e,t,n){lu(un(),cn(),e,t,n,!1)}function lu(e,t,n,r,i,o){e.firstCreatePass&&(mu(e,new tu(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),gu(e,t)}function du(e,t,n,r){hu(un(),cn(),t,n,r,!1,dn(),e)}function pu(e,t,n,r){hu(un(),cn(),t,n,r,!0,dn(),e)}function hu(e,t,n,r,i,o,s,a){e.firstCreatePass&&(mu(e,new tu(n,r,o,i),s.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a),o&&(e.staticContentQueries=!0)),gu(e,t)}function fu(){return e=cn(),t=Cn(),e[19].queries[t].queryList;var e,t}function gu(e,t){var n=new Jc;!function(e,t,n,r){var i=Eo(t);i.push(n),e.firstCreatePass&&ko(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new eu),t[19].queries.push(new $c(n))}function mu(e,t,n){null===e.queries&&(e.queries=new nu),e.queries.track(new ru(t,n))}function vu(e,t){return e.queries.getByIndex(t)}var yu=new Xe("Application Initializer"),bu=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,n){t.resolve=e,t.reject=n}))}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Js(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}},e.\u0275fac=function(t){return new(t||e)(st(yu,8))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),_u=new Xe("AppId"),wu={provide:_u,useFactory:function(){return""+Su()+Su()+Su()},deps:[]};function Su(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Cu=new Xe("Platform Initializer"),xu=new Xe("Platform ID"),Ou=new Xe("appBootstrapListener"),Eu=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),ku=new Xe("LocaleId"),Pu=new Xe("DefaultCurrencyCode"),Mu=function(){return function(e,t){this.ngModuleFactory=e,this.componentFactories=t}}(),Tu=function(e){return new Hc(e)},Au=Tu,Iu=function(e){return Promise.resolve(Tu(e))},Ru=function(e){var t=Tu(e),n=ir(Dt(e).declarations).reduce((function(e,t){var n=Rt(t);return n&&e.push(new Dc(n)),e}),[]);return new Mu(t,n)},ju=Ru,Du=function(e){return Promise.resolve(Ru(e))},Nu=function(){function e(){this.compileModuleSync=Au,this.compileModuleAsync=Iu,this.compileModuleAndAllComponentsSync=ju,this.compileModuleAndAllComponentsAsync=Du}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Lu=new Xe("compilerOptions"),Vu=function(){return Promise.resolve(0)}();function zu(e){"undefined"==typeof Zone?Vu.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Fu=function(){function e(e){var t,n,r=e.enableLongStackTrace,i=void 0!==r&&r,o=e.shouldCoalesceEventChangeDetection,s=void 0!==o&&o;if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kc(!1),this.onMicrotaskEmpty=new Kc(!1),this.onStable=new Kc(!1),this.onError=new Kc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=qe.requestAnimationFrame,t=qe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,n=!!(t=this).shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(qe,(function(){e.lastRequestAnimationFrameId=-1,Wu(e),qu(e)})),Wu(e))}(t)},t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:n},onInvokeTask:function(e,r,i,o,s,a){try{return Hu(t),e.invokeTask(i,o,s,a)}finally{n&&"eventTask"===o.type&&n(),Gu(t)}},onInvoke:function(e,n,r,i,o,s,a){try{return Hu(t),e.invoke(r,i,o,s,a)}finally{Gu(t)}},onHasTask:function(e,n,r,i){e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Wu(t),qu(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,n,r,i){return e.handleError(r,i),t.runOutsideAngular((function(){return t.onError.emit(i)})),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Uu,Bu,Bu);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Bu(){}var Uu={};function qu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Hu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gu(e){e._nesting--,qu(e)}var Qu,Zu=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kc,this.onMicrotaskEmpty=new Kc,this.onStable=new Kc,this.onError=new Kc}return e.prototype.run=function(e,t,n){return e.apply(t,n)},e.prototype.runGuarded=function(e,t,n){return e.apply(t,n)},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e,t,n,r){return e.apply(t,n)},e}(),Yu=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run((function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Fu.assertNotInAngularZone(),zu((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())zu((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]},e.prototype.addCallback=function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e.\u0275fac=function(t){return new(t||e)(st(Fu))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Ku=function(){function e(){this._applications=new Map,Xu.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Xu.findTestabilityInTree(this,e,t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Xu=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Ju=function(e,t,n){var r=e.get(Lu,[]).concat(t),i=new Hc(n);if(0===Es.size)return Promise.resolve(i);var o,s,a=(o=r.map((function(e){return e.providers})),s=[],o.forEach((function(e){return e&&s.push.apply(s,c(e))})),s);if(0===a.length)return Promise.resolve(i);var u=function(){var e=qe.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),l=xs.create({providers:a}).get(u.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(l.get(e))}(e);n.set(e,t=r.then(Ps))}return t}return Es.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;o&&o.forEach((function(t,n){s.push(""),i.push(r(t).then((function(r){s[a+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(i).then((function(){return function(e){ks.delete(e)}(n)}));t.push(c)})),Es=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},$u=new Xe("AllowMultipleToken"),el=function(){return function(e,t){this.name=e,this.token=t}}();function tl(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,i=new Xe(r);return function(t){void 0===t&&(t=[]);var o=nl();if(!o||o.injector.get($u,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0},{provide:ls,useValue:"platform"});!function(e){if(Qu&&!Qu.destroyed&&!Qu.injector.get($u,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Qu=e.get(rl);var t=e.get(Cu,null);t&&t.forEach((function(e){return e()}))}(xs.create({providers:s,name:r}))}return function(e){var t=nl();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function nl(){return Qu&&!Qu.destroyed?Qu:null}var rl=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r,i=this,o=(r=t&&t.ngZoneEventCoalescing||!1,"noop"===(n=t?t.ngZone:void 0)?new Zu:("zone.js"===n?void 0:n)||new Fu({enableLongStackTrace:Lr(),shouldCoalesceEventChangeDetection:r})),s=[{provide:Fu,useValue:o}];return o.run((function(){var t=xs.create({providers:s,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Or,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return sl(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((s=n.injector.get(bu)).runInitializers(),s.donePromise.then((function(){return Uc(n.injector.get(ku,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Js(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(a){throw t.runOutsideAngular((function(){return e.handleError(a)})),a}var s}(r,o)}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=il({},t);return Ju(this.injector,r,e).then((function(e){return n.bootstrapModuleFactory(e,r)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(ol);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Ie(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(st(xs))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function il(e,t){return Array.isArray(t)?t.reduce(il,e):o(o({},e),t)}var ol=function(){function e(e,t,n,r,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Lr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var a=new M((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),c=new M((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Fu.assertNotInAngularZone(),zu((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Fu.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=re(a,c.pipe(de()))}return e.prototype.bootstrap=function(e,t){var n,r=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=e instanceof ec?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(dt),o=n.create(xs.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var s=o.injector.get(Yu,null);return s&&o.injector.get(Ku).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Lr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e,t,n,r,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var o=s(this._views),a=o.next();!a.done;a=o.next())a.value.detectChanges()}catch(l){e={error:l}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var c=s(this._views),u=c.next();!u.done;u=c.next())u.value.checkNoChanges()}catch(d){n={error:d}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}catch(p){this._zone.runOutsideAngular((function(){return i._exceptionHandler.handleError(p)}))}finally{this._runningTick=!1}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;sl(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ou,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),sl(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(st(Fu),st(Eu),st(xs),st(Or),st(nc),st(bu))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function sl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var al=function(){return function(){}}(),cl=function(){return function(){}}(),ul={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ll=function(){function e(e,t){this._compiler=e,this._config=t||ul}return e.prototype.load=function(e){return this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=a(e.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then((function(e){return e[o]})).then((function(e){return dl(e,i,o)})).then((function(e){return t._compiler.compileModuleAsync(e)}))},e.prototype.loadFactory=function(e){var t=a(e.split("#"),2),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+o]})).then((function(e){return dl(e,r,i)}))},e.\u0275fac=function(t){return new(t||e)(st(Nu),st(cl,8))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function dl(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var pl=tl(null,"core",[{provide:xu,useValue:"unknown"},{provide:rl,deps:[xs]},{provide:Ku,deps:[]},{provide:Eu,deps:[]}]),hl=[{provide:ol,useClass:ol,deps:[Fu,Eu,xs,Or,nc,bu]},{provide:jc,deps:[Fu],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:bu,useClass:bu,deps:[[new me,yu]]},{provide:Nu,useClass:Nu,deps:[]},wu,{provide:Sc,useFactory:function(){return Oc},deps:[]},{provide:Cc,useFactory:function(){return Ec},deps:[]},{provide:ku,useFactory:function(e){return Uc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new ge(ku),new me,new ye]]},{provide:Pu,useValue:"USD"}],fl=function(){function e(e){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(ol))},providers:hl}),e}(),gl=null;function ml(){return gl}var vl=function(){return function(){}}(),yl=new Xe("DocumentToken"),bl=function(){function e(){}return e.\u0275prov=Se({factory:_l,token:e,providedIn:"platform"}),e.\u0275fac=function(t){return new(t||e)},e}();function _l(){return st(Sl)}var wl=new Xe("Location Initialized"),Sl=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return i(t,e),t.prototype._init=function(){this.location=ml().getLocation(),this._history=ml().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return ml().getBaseHref(this._doc)},t.prototype.onPopState=function(e){ml().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){ml().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){Cl()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Cl()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.prototype.getState=function(){return this._history.state},t.\u0275prov=Se({factory:xl,token:t,providedIn:"platform"}),t.\u0275fac=function(e){return new(e||t)(st(yl))},t}(bl);function Cl(){return!!window.history.pushState}function xl(){return new Sl(st(yl))}function Ol(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function El(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function kl(e){return e&&"?"!==e[0]?"?"+e:e}var Pl=function(){function e(){}return e.\u0275prov=Se({factory:Ml,token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}();function Ml(e){var t=st(yl).location;return new Al(st(bl),t&&t.origin||"")}var Tl=new Xe("appBaseHref"),Al=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return i(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return Ol(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+kl(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+kl(r));this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+kl(r));this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.\u0275fac=function(e){return new(e||t)(st(bl),st(Tl,8))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(Pl),Il=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=Ol(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+kl(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+kl(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.\u0275fac=function(e){return new(e||t)(st(bl),st(Tl,8))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(Pl),Rl=function(){function e(e,t){var n=this;this._subject=new Kc,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=El(Dl(r)),this._platformStrategy.onPopState((function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})}))}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+kl(t))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Dl(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kl(t)),n)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kl(t)),n)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach((function(n){return n(e,t)}))},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=kl,e.joinWithSlash=Ol,e.stripTrailingSlash=El,e.\u0275prov=Se({factory:jl,token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Pl),st(bl))},e}();function jl(){return new Rl(st(Pl),st(bl))}function Dl(e){return e.replace(/\/index.html$/,"")}var Nl=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Ll=function(){return function(){}}(),Vl=function(e){function t(t){var n=e.call(this)||this;return n.locale=t,n}return i(t,e),t.prototype.getPluralCategory=function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Fc(t);if(n)return n;var r=t.split("-")[0];if(n=Fc(r))return n;if("en"===r)return Vc;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[Bc.PluralCase]}(t||this.locale)(e)){case Nl.Zero:return"zero";case Nl.One:return"one";case Nl.Two:return"two";case Nl.Few:return"few";case Nl.Many:return"many";default:return"other"}},t.\u0275fac=function(e){return new(e||t)(st(ku))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(Ll);function zl(e,t){var n,r;t=encodeURIComponent(t);try{for(var i=s(e.split(";")),o=i.next();!o.done;o=i.next()){var c=o.value,u=c.indexOf("="),l=a(-1==u?[c,""]:[c.slice(0,u),c.slice(u+1)],2),d=l[1];if(l[0].trim()===t)return decodeURIComponent(d)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var Fl=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(js(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Ie(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))},e.\u0275fac=function(t){return new(t||e)(Bs(Sc),Bs(Cc),Bs(rc),Bs(ac))},e.\u0275dir=At({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),Bl=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Ul=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Lr()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Bl(null,t._ngForOf,-1,-1),null===i?void 0:i),s=new ql(e,o);n.push(s)}else null==i?t._viewContainer.remove(null===r?void 0:r):null!==r&&(o=t._viewContainer.get(r),t._viewContainer.move(o,i),s=new ql(e,o),n.push(s))}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i,o.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e.\u0275fac=function(t){return new(t||e)(Bs(Mc),Bs(kc),Bs(Sc))},e.\u0275dir=At({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),ql=function(){return function(e,t){this.record=e,this.view=t}}(),Wl=function(){function e(e,t){this._viewContainer=e,this._context=new Hl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){Gl("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){Gl("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=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)))},e.ngTemplateContextGuard=function(e,t){return!0},e.\u0275fac=function(t){return new(t||e)(Bs(Mc),Bs(kc))},e.\u0275dir=At({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),Hl=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Gl(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+Ie(t)+"'.")}var Ql=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}return e.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},e.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},e}(),Zl=function(){function e(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),e.prototype._addCase=function(){return this._caseCount++},e.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},e.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},e.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),Yl=function(){function e(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Ql(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},e.\u0275fac=function(t){return new(t||e)(Bs(Mc),Bs(kc),Bs(Zl,1))},e.\u0275dir=At({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),Kl=function(){function e(e,t,n){n._addDefault(new Ql(e,t))}return e.\u0275fac=function(t){return new(t||e)(Bs(Mc),Bs(kc),Bs(Zl,1))},e.\u0275dir=At({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),Xl=function(){function e(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}return Object.defineProperty(e.prototype,"ngStyle",{set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._setStyle=function(e,t){var n=a(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?""+t+i:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))},e.\u0275fac=function(t){return new(t||e)(Bs(rc),Bs(Cc),Bs(ac))},e.\u0275dir=At({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),Jl=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),$l=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,(function(e){throw e}))},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),ed=new Jl,td=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var t;return t=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Is(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Rs.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))},e.prototype._selectStrategy=function(e){if(Js(e))return $l;if($s(e))return ed;throw Error("InvalidPipeArgument: '"+e+"' for pipe '"+Ie(t)+"'")},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e.\u0275fac=function(t){return new(t||e)(function(e){void 0===e&&(e=be.Default);var t=as(!0);if(null!=t||e&be.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},e.\u0275pipe=It({name:"async",type:e,pure:!1}),e}(),nd=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[{provide:Ll,useClass:Vl}]}),e}();function rd(e){return"browser"===e}function id(e){return"server"===e}var od,sd=function(){function e(){}return e.\u0275prov=Se({token:e,providedIn:"root",factory:function(){return new ad(st(yl),window,st(Or))}}),e}(),ad=function(){function e(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),cd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.makeCurrent=function(){var e;e=new t,gl||(gl=e)},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.getValue=function(e){return e.value},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=ud||(ud=document.querySelector("base"))?ud.getAttribute("href"):null;return null==n?null:(t=n,od||(od=document.createElement("a")),od.setAttribute("href",t),"/"===od.pathname.charAt(0)?od.pathname:"/"+od.pathname)},t.prototype.resetBaseElement=function(){ud=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return zl(document.cookie,e)},t}(function(e){function t(){return e.call(this)||this}return i(t,e),t.prototype.supportsDOMEvents=function(){return!0},t}(vl)),ud=null,ld=new Xe("TRANSITION_ID"),dd=[{provide:yu,useFactory:function(e,t,n){return function(){n.get(bu).donePromise.then((function(){var n=ml();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[ld,yl,xs],multi:!0}],pd=function(){function e(){}return e.init=function(){var t;t=new e,Xu=t},e.prototype.addToWindow=function(e){qe.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},qe.getAllAngularTestabilities=function(){return e.getAllTestabilities()},qe.getAllAngularRootElements=function(){return e.getAllRootElements()},qe.frameworkStabilizers||(qe.frameworkStabilizers=[]),qe.frameworkStabilizers.push((function(e){var t=qe.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?ml().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null},e}(),hd=new Xe("EventManagerPlugins"),fd=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach((function(e){return e.manager=n})),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)},e.\u0275fac=function(t){return new(t||e)(st(hd),st(Fu))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),gd=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=ml().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),md=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),vd=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return i(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(e){return ml().remove(e)}))},t.\u0275fac=function(e){return new(e||t)(st(yl))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(md),yd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},bd=/%COMP%/g;function _d(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?_d(e,i,n):(i=i.replace(bd,e),n.push(i))}return n}function wd(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Sd=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Cd(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case wt.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new xd(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case wt.Native:case wt.ShadowDom:return new Od(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=_d(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e.\u0275fac=function(t){return new(t||e)(st(fd),st(vd),st(_u))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Cd=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(yd[t]||t,e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var i=yd[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=yd[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&sc.DashCase?e.style.setProperty(t,n,r&sc.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&sc.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,wd(n)):this.eventManager.addEventListener(e,t,wd(n))},e}(),xd=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;o.component=r;var s=_d(i+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr="_ngcontent-%COMP%".replace(bd,i+"-"+r.id),o.hostAttr=function(e){return"_nghost-%COMP%".replace(bd,e)}(i+"-"+r.id),o}return i(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(Cd),Od=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=i.encapsulation===wt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var s=_d(i.id,i.styles,[]),a=0;a<s.length;a++){var c=document.createElement("style");c.textContent=s[a],o.shadowRoot.appendChild(c)}return o}return i(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(Cd),Ed=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}},t.prototype.removeEventListener=function(e,t,n){return e.removeEventListener(t,n)},t.\u0275fac=function(e){return new(e||t)(st(yl))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(gd),kd=["alt","control","meta","shift"],Pd={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Md={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Td={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ad=function(e){function t(t){return e.call(this,t)||this}var n;return i(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return ml().onAndCancel(e,i.domEventName,o)}))},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(kd.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},t.getEventFullKey=function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Md.hasOwnProperty(t)&&(t=Md[t]))}return Pd[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),kd.forEach((function(r){r!=n&&(0,Td[r])(e)&&(t+=r+".")})),t+=n},t.eventCallback=function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t.\u0275fac=function(e){return new(e||t)(st(yl))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(gd),Id=function(){function e(){}return e.\u0275prov=Se({factory:function(){return st(Rd)},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),Rd=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return i(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case si.NONE:return t;case si.HTML:return Rr(t,"HTML")?Ir(t):ii(this._doc,String(t));case si.STYLE:return Rr(t,"Style")?Ir(t):ui(t);case si.SCRIPT:if(Rr(t,"Script"))return Ir(t);throw new Error("unsafe value used in a script context");case si.URL:return jr(t),Rr(t,"URL")?Ir(t):Br(String(t));case si.RESOURCE_URL:if(Rr(t,"ResourceURL"))return Ir(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.bypassSecurityTrustHtml=function(e){return new kr(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Pr(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Mr(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Tr(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Ar(e)},t.\u0275prov=Se({factory:function(){return e=st(Je),new Rd(e.get(yl));var e},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(st(yl))},t}(Id),jd=tl(pl,"browser",[{provide:xu,useValue:"browser"},{provide:Cu,useValue:function(){cd.makeCurrent(),pd.init()},multi:!0},{provide:yl,useFactory:function(){return function(e){qt=e}(document),document},deps:[]}]),Dd=[[],{provide:ls,useValue:"root"},{provide:Or,useFactory:function(){return new Or},deps:[]},{provide:hd,useClass:Ed,multi:!0,deps:[yl,Fu,xu]},{provide:hd,useClass:Ad,multi:!0,deps:[yl]},[],{provide:Sd,useClass:Sd,deps:[fd,vd,_u]},{provide:oc,useExisting:Sd},{provide:md,useExisting:vd},{provide:vd,useClass:vd,deps:[yl]},{provide:Yu,useClass:Yu,deps:[Fu]},{provide:fd,useClass:fd,deps:[hd,Fu]},[]],Nd=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:_u,useValue:e.appId},{provide:ld,useExisting:_u},dd]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(n){return new(n||e)(st(t,12))},providers:Dd,imports:[nd,fl]}),e}();function Ld(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(l(n))return Vd(n,null);if(d(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return Vd(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return Vd(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(G((function(e){return i.apply(void 0,e)})))}return Vd(e,null)}function Vd(e,t){return new M((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,s=0,a=function(a){var c=K(e[a]),u=!1;n.add(c.subscribe({next:function(e){u||(u=!0,s++),i[a]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&u||(s===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},c=0;c<r;c++)a(c);else n.complete()}))}"undefined"!=typeof window&&window;var zd=new Xe("NgValueAccessor"),Fd={provide:zd,useExisting:De((function(){return Bd})),multi:!0},Bd=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&ea("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Ja([Fd])]}),e}(),Ud={provide:zd,useExisting:De((function(){return Wd})),multi:!0},qd=new Xe("CompositionEventMode"),Wd=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=ml()?ml().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc),Bs(qd,8))},e.\u0275dir=At({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&ea("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Ja([Ud])]}),e}(),Hd=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e}),e}(),Gd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,features:[Na]});var n=wr(t);return t}(Hd);function Qd(){throw new Error("unimplemented")}var Zd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return i(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return Qd()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Qd()},enumerable:!0,configurable:!0}),t}(Hd),Yd=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),Kd=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(Zd,2))},t.\u0275dir=At({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ba("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Na]}),t}(Yd),Xd=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(Gd,2))},t.\u0275dir=At({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&ba("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Na]}),t}(Yd);function Jd(e){return null==e||0===e.length}var $d=new Xe("NgValidators"),ep=new Xe("NgAsyncValidators"),tp=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,np=function(){function e(){}return e.min=function(e){return function(t){if(Jd(t.value)||Jd(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(Jd(t.value)||Jd(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Jd(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Jd(e.value)||tp.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Jd(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(Jd(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(rp);return 0==t.length?null:function(e){return op(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(rp);return 0==t.length?null:function(e){return Ld(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(ip)).pipe(G(op))}},e}();function rp(e){return null!=e}function ip(e){var t=Js(e)?K(e):e;if(!$s(t))throw new Error("Expected validator to return Promise or Observable.");return t}function op(e){var t={};return e.forEach((function(e){t=null!=e?o(o({},t),e):t})),0===Object.keys(t).length?null:t}function sp(e){return e.validate?function(t){return e.validate(t)}:e}function ap(e){return e.validate?function(t){return e.validate(t)}:e}var cp={provide:zd,useExisting:De((function(){return up})),multi:!0},up=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&ea("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ja([cp])]}),e}(),lp={provide:zd,useExisting:De((function(){return pp})),multi:!0},dp=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),pp=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(Zd),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc),Bs(dp),Bs(xs))},e.\u0275dir=At({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&ea("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ja([lp])]}),e}(),hp={provide:zd,useExisting:De((function(){return fp})),multi:!0},fp=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&ea("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ja([hp])]}),e}(),gp='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',mp='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',vp='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',yp=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+gp)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+mp+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+vp)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+gp)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+mp)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}(),bp={provide:zd,useExisting:De((function(){return _p})),multi:!0},_p=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Is}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&ea("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ja([bp])]}),e}(),wp={provide:zd,useExisting:De((function(){return Sp})),multi:!0},Sp=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Is}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var s=i.item(o),a=t._getOptionValue(s.value);r.push(a)}else for(i=n.options,o=0;o<i.length;o++)(s=i.item(o)).selected&&(a=t._getOptionValue(s.value),r.push(a));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o)._value,e))return o}}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e.\u0275fac=function(t){return new(t||e)(Bs(ac),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&ea("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ja([wp])]}),e}();function Cp(e,t){return c(t.path,[e])}function xp(e,t){e||Pp(t,"Cannot find control with"),t.valueAccessor||Pp(t,"No value accessor for form control with"),e.validator=np.compose([e.validator,t.validator]),e.asyncValidator=np.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Op(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Op(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function Op(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ep(e,t){null==e&&Pp(t,"Cannot find control with"),e.validator=np.compose([e.validator,t.validator]),e.asyncValidator=np.composeAsync([e.asyncValidator,t.asyncValidator])}function kp(e){return Pp(e,"There is no FormControl instance attached to form control element with")}function Pp(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function Mp(e){return null!=e?np.compose(e.map(sp)):null}function Tp(e){return null!=e?np.composeAsync(e.map(ap)):null}function Ap(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Is(t,n.currentValue)}var Ip=[Bd,fp,up,_p,Sp,pp];function Rp(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function jp(e,t){if(!t)return null;Array.isArray(t)||Pp(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach((function(t){var o;t.constructor===Wd?n=t:(o=t,Ip.some((function(e){return o.constructor===e}))?(r&&Pp(e,"More than one built-in value accessor matches form control with"),r=t):(i&&Pp(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(Pp(e,"No valid value accessor for form control with"),null)}function Dp(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Np(e){var t=Vp(e)?e.validators:e;return Array.isArray(t)?Mp(t):t||null}function Lp(e,t){var n=Vp(t)?t.asyncValidators:e;return Array.isArray(n)?Tp(n):n||null}function Vp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var zp=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Np(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Lp(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(o(o({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(o(o({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(o(o({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(o(o({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=ip(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof Bp?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Up&&r.at(e)||null})),r}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new Kc,this.statusChanges=new Kc},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(t){return t.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){Vp(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e.prototype._parentMarkedDirty=function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},e}(),Fp=function(e){function t(t,n,r){void 0===t&&(t=null);var i=e.call(this,Np(n),Lp(r,n))||this;return i._onChange=[],i._applyFormState(t),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((function(e){return e(n.value,!1!==t.emitViewToModelChange)})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(zp),Bp=function(e){function t(t,n,r){var i=e.call(this,Np(n),Lp(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof Fp?t.value:t.getRawValue(),e}))},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild((function(r,i){n=n||t.contains(i)&&e(r)})),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},t}(zp),Up=function(e){function t(t,n,r){var i=e.call(this,Np(n),Lp(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach((function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach((function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof Fp?e.value:e.getRawValue()}))},t.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},t.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach((function(t,n){e(t,n)}))},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))},t.prototype._anyControls=function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(zp),qp={provide:Gd,useExisting:De((function(){return Hp}))},Wp=function(){return Promise.resolve(null)}(),Hp=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Kc,r.form=new Bp({},Mp(t),Tp(n)),r}return i(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Wp.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),xp(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Wp.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Dp(t._directives,e)}))},t.prototype.addFormGroup=function(e){var t=this;Wp.then((function(){var n=t._findContainer(e.path),r=new Bp({});Ep(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))},t.prototype.removeFormGroup=function(e){var t=this;Wp.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Wp.then((function(){n.form.get(e.path).setValue(t)}))},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,Rp(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t.\u0275fac=function(e){return new(e||t)(Bs($d,10),Bs(ep,10))},t.\u0275dir=At({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&ea("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([qp]),Na]}),t}(Gd),Gp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Cp(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Mp(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Tp(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,features:[Na]});var n=wr(t);return t}(Gd),Qp=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+gp+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+mp+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+vp)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+mp+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+vp)},e}(),Zp={provide:Gd,useExisting:De((function(){return Yp}))},Yp=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}var n;return i(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Hp||Qp.modelGroupParentException()},t.\u0275fac=function(e){return new(e||t)(Bs(Gd,5),Bs($d,10),Bs(ep,10))},t.\u0275dir=At({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Ja([Zp]),Na]}),t}(Gp),Kp={provide:Zd,useExisting:De((function(){return Jp}))},Xp=function(){return Promise.resolve(null)}(),Jp=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.control=new Fp,o._registered=!1,o.update=new Kc,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=jp(o,i),o}return i(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Ap(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Cp(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Mp(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Tp(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){xp(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof Yp)&&this._parent instanceof Gp?Qp.formGroupNameException():this._parent instanceof Yp||this._parent instanceof Hp||Qp.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Qp.missingNameException()},t.prototype._updateValue=function(e){var t=this;Xp.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Xp.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))},t.\u0275fac=function(e){return new(e||t)(Bs(Gd,9),Bs($d,10),Bs(ep,10),Bs(zd,10))},t.\u0275dir=At({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ja([Kp]),Na,Ua]}),t}(Zd),$p=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),eh=new Xe("NgModelWithFormControlWarning"),th={provide:Zd,useExisting:De((function(){return nh}))},nh=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._ngModelWarningConfig=i,o.update=new Kc,o._ngModelWarningSent=!1,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=jp(o,r),o}var n;return i(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){yp.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){var t,r;this._isControlChanged(e)&&(xp(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Ap(e,this.viewModel)&&("formControl",t=n,this,r=this._ngModelWarningConfig,Lr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(yp.ngModelWarning("formControl"),t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Mp(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Tp(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(Bs($d,10),Bs(ep,10),Bs(zd,10),Bs(eh,8))},t.\u0275dir=At({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ja([th]),Na,Ua]}),t}(Zd),rh={provide:Gd,useExisting:De((function(){return ih}))},ih=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Kc,r}return i(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return xp(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){Dp(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);Ep(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);Ep(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,Rp(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return kp(t)})),t.valueAccessor.registerOnTouched((function(){return kp(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&xp(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=Mp(this._validators);this.form.validator=np.compose([this.form.validator,e]);var t=Tp(this._asyncValidators);this.form.asyncValidator=np.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||yp.missingFormException()},t.\u0275fac=function(e){return new(e||t)(Bs($d,10),Bs(ep,10))},t.\u0275dir=At({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&ea("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([rh]),Na,Ua]}),t}(Gd),oh=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),sh=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Bp(n,{asyncValidators:i,updateOn:o,validators:r})},e.prototype.control=function(e,t,n){return new Fp(e,t,n)},e.prototype.array=function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new Up(i,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n},e.prototype._createControl=function(e){return e instanceof Fp||e instanceof Bp||e instanceof Up?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),ah=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[dp],imports:[oh]}),e}(),ch=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:eh,useValue:e.warnOnNgModelWithFormControl}]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[sh,dp],imports:[oh]}),e}(),uh=function(){return function(){}}(),lh=function(){return function(){}}();function dh(e,t){return{type:7,name:e,definitions:t,options:{}}}function ph(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function hh(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function fh(e){return{type:6,styles:e,offset:null}}function gh(e,t,n){return{type:0,name:e,styles:t,options:n}}function mh(e){return{type:5,steps:e}}function vh(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function yh(e){return void 0===e&&(e=null),{type:9,options:e}}function bh(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}function _h(e){Promise.resolve(null).then(e)}var wh=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;_h((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),Sh=function(){function e(e){var t=this;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 n=0,r=0,i=0,o=this.players.length;0==o?_h((function(){return t._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++n==o&&t._onFinish()})),e.onDestroy((function(){++r==o&&t._onDestroy()})),e.onStart((function(){++i==o&&t._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}();function Ch(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function xh(e){switch(e.length){case 0:return new wh;case 1:return e[0];default:return new Sh(e)}}function Oh(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],c=-1,u=null;if(r.forEach((function(e){var n=e.offset,r=n==c,l=r&&u||{};Object.keys(e).forEach((function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case"!":a=i[n];break;case"*":a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}l[r]=a})),r||a.push(l),u=l,c=n})),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function Eh(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&kh(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&kh(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&kh(n,"destroy",e))}))}}function kh(e,t,n){var r=n.totalTime,i=Ph(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function Ph(e,t,n,r,i,o,s){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Mh(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function Th(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Ah=function(e,t){return!1},Ih=function(e,t){return!1},Rh=function(e,t,n){return[]},jh=Ch();(jh||"undefined"!=typeof Element)&&(Ah=function(e,t){return e.contains(t)},Ih=function(){if(jh||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Ih}(),Rh=function(e,t,n){var r=[];if(n)r.push.apply(r,c(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var Dh=null,Nh=!1;function Lh(e){Dh||(Dh=("undefined"!=typeof document?document.body:null)||{},Nh=!!Dh.style&&"WebkitAppearance"in Dh.style);var t=!0;return Dh.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Dh.style)&&Nh&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Dh.style),t}var Vh=Ih,zh=Ah,Fh=Rh;function Bh(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var Uh=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return Lh(e)},e.prototype.matchesElement=function(e,t){return Vh(e,t)},e.prototype.containsElement=function(e,t){return zh(e,t)},e.prototype.query=function(e,t,n){return Fh(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o,s){return void 0===o&&(o=[]),new wh(n,r)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),qh=function(){function e(){}return e.NOOP=new Uh,e}();function Wh(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Hh(parseFloat(t[1]),t[2])}function Hh(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Gh(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=Hh(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Hh(parseFloat(a),s[4]));var c=s[5];c&&(o=c)}else r=e;if(!n){var u=!1,l=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(l,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function Qh(e,t){return void 0===t&&(t={}),Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function Zh(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else Qh(e,n);return n}function Yh(e,t,n){return n?t+":"+n+";":""}function Kh(e){for(var t="",n=0;n<e.style.length;n++)t+=Yh(0,r=e.style.item(n),e.style.getPropertyValue(r));for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=Yh(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function Xh(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=sf(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),Ch()&&Kh(e))}function Jh(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=sf(t);e.style[n]=""})),Ch()&&Kh(e))}function $h(e){return Array.isArray(e)?1==e.length?e[0]:hh(e):e}var ef=new RegExp("{{\\s*(.+?)\\s*}}","g");function tf(e){var t=[];if("string"==typeof e){for(var n=void 0;n=ef.exec(e);)t.push(n[1]);ef.lastIndex=0}return t}function nf(e,t,n){var r=e.toString(),i=r.replace(ef,(function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()}));return i==r?e:i}function rf(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var of=/-+([a-z0-9])/g;function sf(e){return e.replace(of,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()}))}function af(e,t){return 0===e||0===t}function cf(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach((function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var s=function(){var n=t[a];o.forEach((function(t){n[t]=lf(e,t)}))},a=1;a<t.length;a++)s()}return t}function uf(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function lf(e,t){return window.getComputedStyle(e)[t]}var df=new Set(["true","1"]),pf=new Set(["false","0"]);function hf(e,t){var n=df.has(e)||pf.has(e),r=df.has(t)||pf.has(t);return function(i,o){var s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?df.has(e):pf.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?df.has(t):pf.has(t)),s&&a}}var ff=new RegExp("s*:selfs*,?","g");function gf(e,t,n){return new mf(e).build(t,n)}var mf=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new vf(t);return this._resetContextStyleTimingState(n),uf(this,$h(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var a=e,c=a.name;c.toString().split(/\s*,\s*/).forEach((function(e){a.name=e,o.push(n.visitState(a,t))})),a.name=c}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,i+=u.depCount,s.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach((function(e){if(yf(e)){var t=e;Object.keys(t).forEach((function(e){tf(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var s=rf(i.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=uf(this,$h(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'+e+'" is not supported'),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],s=i[2],a=i[3];t.push(hf(o,a)),"<"!=s[0]||"*"==o&&"*"==a||t.push(hf(a,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:bf(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return uf(n,e,t)})),options:bf(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map((function(e){t.currentTime=r;var o=uf(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:bf(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return _f(Gh(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=_f(0,0,"");return i.dynamic=!0,i.strValue=r,i}return _f((n=n||Gh(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:fh({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=fh(a)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=s,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(yf(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var s,a,c,u=t.collectedStyles[t.currentQuerySelector],l=u[r],d=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=l.startTime),d&&(u[r]={startTime:o,endTime:i}),t.options&&(s=t.errors,a=t.options.params||{},(c=tf(e[r])).length&&c.forEach((function(e){a.hasOwnProperty(e)||s.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,c=0,u=e.steps.map((function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(yf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(yf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=u&&(i++,l=r.offset=u),a=a||l<0||l>1,s=s||l<c,c=l,o.push(l),r}));a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");var l=e.steps.length,d=0;i>0&&i<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(l-1));var p=l-1,h=t.currentTime,f=t.currentAnimateTimings,g=f.duration;return u.forEach((function(e,i){var s=d>0?i==p?1:d*i:o[i],a=s*g;t.currentTime=h+f.delay+a,f.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)})),r},e.prototype.visitReference=function(e,t){return{type:8,animation:uf(this,$h(e.animation),t),options:bf(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:bf(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bf(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=a(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(ff,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],s=i[1];t.currentQuerySelector=n.length?n+" "+o:o,Mh(t.collectedStyles,t.currentQuerySelector,{});var c=uf(this,$h(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:c,originalSelector:e.selector,options:bf(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Gh(e.timings,t.errors,!0);return{type:12,animation:uf(this,$h(e.animation),t),timings:n,options:null}},e}(),vf=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function yf(e){return!Array.isArray(e)&&"object"==typeof e}function bf(e){var t;return e?(e=Qh(e)).params&&(e.params=(t=e.params)?Qh(t):null):e={},e}function _f(e,t,n){return{duration:e,delay:t,easing:n}}function wf(e,t,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Sf=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,c(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),Cf=new RegExp(":enter","g"),xf=new RegExp(":leave","g");function Of(e,t,n,r,i,o,s,a,c,u){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===u&&(u=[]),(new Ef).buildKeyframes(e,t,n,r,i,o,s,a,c,u)}var Ef=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,s,a,c,u){void 0===u&&(u=[]),c=c||new Sf;var l=new Pf(e,t,c,r,i,u,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),uf(this,n,l);var d=l.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(s).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([s],null,l.errors,a)}return d.length?d.map((function(e){return e.buildKeyframes()})):[wf(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?Wh(n.duration):null,o=null!=n.delay?Wh(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)})),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),uf(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=kf);var s=Wh(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach((function(e){return uf(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Wh(e.options.delay):0;e.steps.forEach((function(s){var a=t.createSubContext(e.options);o&&a.delayNextStep(o),uf(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Gh(t.params?nf(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?Wh(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=kf);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;var c=null;a.forEach((function(r,i){t.currentQueryIndex=i;var a=t.createSubContext(e.options,r);o&&a.delayNextStep(o),r===t.element&&(c=a.currentTimeline),uf(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1),a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var c=t.currentTimeline;a&&c.delayNextStep(a);var u=c.currentTime;uf(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),kf={},Pf=function(){function e(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Mf(this._driver,t,0),s.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=Wh(r.duration)),null!=r.delay&&(i.delay=Wh(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach((function(e){t&&s.hasOwnProperty(e)||(s[e]=nf(o[e],s,n.errors))}))}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=kf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Tf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,i,o){var s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(Cf,"."+this._enterClassName)).replace(xf,"."+this._leaveClassName);var a=this._driver.query(this.element,e,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,c(a))}return i||0!=s.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),Mf=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]="*"})):Zh(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=nf(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:"*"),i._updateStyle(e,t)}))},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,s){var a=Zh(o,!0);Object.keys(a).forEach((function(e){var r=a[e];"!"==r?t.add(e):"*"==r&&n.add(e)})),r||(a.offset=s/e.duration),i.push(a)}));var o=t.size?rf(t.values()):[],s=n.size?rf(n.values()):[];if(r){var a=i[0],c=Qh(a);a.offset=0,c.offset=1,i=[a,c]}return wf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},e}(),Tf=function(e){function t(t,n,r,i,o,s,a){void 0===a&&(a=!1);var c=e.call(this,t,n,s.delay)||this;return c.element=n,c.keyframes=r,c.preStyleProps=i,c.postStyleProps=o,c._stretchStartingKeyframe=a,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return i(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,c=Zh(e[0],!1);c.offset=0,o.push(c);var u=Zh(e[0],!1);u.offset=Af(a),o.push(u);for(var l=e.length-1,d=1;d<=l;d++){var p=Zh(e[d],!1);p.offset=Af((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",e=o}return wf(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(Mf);function Af(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var If=function(){return function(){}}(),Rf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.normalizePropertyName=function(e,t){return sf(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(jf[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(If),jf=function(){return 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(","),t={},e.forEach((function(e){return t[e]=!0})),t;var e,t}();function Df(e,t,n,r,i,o,s,a,c,u,l,d,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:d,errors:p}}var Nf={},Lf=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,r,i,s,a,c,u,l){var d=[],p=this.ast.options&&this.ast.options.params||Nf,h=this.buildStyles(n,a&&a.params||Nf,d),f=c&&c.params||Nf,g=this.buildStyles(r,f,d),m=new Set,v=new Map,y=new Map,b="void"===r,_={params:o(o({},p),f)},w=l?[]:Of(e,t,this.ast.animation,i,s,h,g,_,u,d),S=0;if(w.forEach((function(e){S=Math.max(e.duration+e.delay,S)})),d.length)return Df(t,this._triggerName,n,r,b,h,g,[],[],v,y,S,d);w.forEach((function(e){var n=e.element,r=Mh(v,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=Mh(y,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&m.add(n)}));var C=rf(m.values());return Df(t,this._triggerName,n,r,b,h,g,w,C,v,y,S)},e}(),Vf=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=Qh(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=nf(o,r,t)),n[e]=o}))}})),n},e}(),zf=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((function(e){n.states[e.name]=new Vf(e.style,e.options&&e.options.params||{})})),Ff(this.states,"true","1"),Ff(this.states,"false","0"),t.transitions.forEach((function(t){n.transitionFactories.push(new Lf(e,t,n.states))})),this.fallbackTransition=new Lf(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ff(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Bf=new Sf,Uf=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=gf(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=Oh(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[e],a=new Map;if(s?(i=Of(this._driver,t,s,"ng-enter","ng-leave",{},{},n,Bf,o)).forEach((function(e){var t=Mh(a,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,"*")}))}));var c=xh(i.map((function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=c,c.onDestroy((function(){return r.destroy(e)})),this.players.push(c),c},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=Ph(t,"","","");return Eh(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),qf=[],Wf={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gf=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n,r=e&&e.hasOwnProperty("value");if(this.value=null!=(n=r?e.value:e)?n:null,r){var i=Qh(e);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}},e}(),Qf=new Gf("void"),Zf=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,tg(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var s=Mh(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var c=Mh(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(tg(e,"ng-trigger"),tg(e,"ng-trigger-"+t),c[t]=Qf),function(){o._engine.afterFlush((function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),o._triggers[t]||delete c[t]}))}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),s=new Kf(this.id,t,e),a=this._engine.statesByElement.get(e);a||(tg(e,"ng-trigger"),tg(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var c=a[t],u=new Gf(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),a[t]=u,c||(c=Qf),"void"===u.value||c.value!==u.value){var l=Mh(this._engine.playersByElement,e,[]);l.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var d=o.matchTransition(c.value,u.value,e,u.params),p=!1;if(!d){if(!r)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:c,toState:u,player:s,isFallbackTransition:p}),p||(tg(e,"ng-animate-queued"),s.onStart((function(){ng(e,"ng-animate-queued")}))),s.onDone((function(){var t=i.players.indexOf(s);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}})),this.players.push(s),l.push(s),s}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(c.params,u.params)){var h=[],f=o.matchStyles(c.value,c.params,h),g=o.matchStyles(u.value,u.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush((function(){Jh(e,f),Xh(e,g)}))}},e.prototype.deregister=function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))},e.prototype.clearElementCache=function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))},e.prototype._signalRemovalForInnerTriggers=function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach((function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(e){return n.clearElementCache(e)}))}))},e.prototype.triggerLeaveAnimation=function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var s=[];if(Object.keys(o).forEach((function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&s.push(n)}})),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&xh(s).onDone((function(){return i._engine.processLeaveNode(e)})),!0}return!1},e.prototype.prepareLeaveAnimationListeners=function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,s=t._engine.statesByElement.get(e)[i]||Qf,a=new Gf("void"),c=new Kf(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:s,toState:a,player:c,isFallbackTransition:!0})}}))}},e.prototype.removeNode=function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var s=e;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var a=e.__ng_removed;a&&a!==Wf||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}},e.prototype.insertNode=function(e,t){tg(e,this._hostClassName)},e.prototype.drainQueuedTransitions=function(e){var t=this,n=[];return this._queue.forEach((function(r){var i=r.player;if(!i.destroyed){var o=r.element,s=t._elementListeners.get(o);s&&s.forEach((function(t){if(t.name==r.triggerName){var n=Ph(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,Eh(r.player,t.phase,n,t.callback)}})),i.markedForDestroy?t._engine.afterFlush((function(){i.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1}))},e.prototype.destroy=function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)},e.prototype.elementContainsData=function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find((function(t){return t.element===e}))||t},e}(),Yf=function(){function e(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return e.prototype._onRemovalComplete=function(e,t){this.onRemovalComplete(e,t)},Object.defineProperty(e.prototype,"queuedPlayers",{get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e},enumerable:!0,configurable:!0}),e.prototype.createNamespace=function(e,t){var n=new Zf(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n},e.prototype._balanceNamespaceList=function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&t.add(s)}}return t},e.prototype.trigger=function(e,t,n,r){if(Xf(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1},e.prototype.insertNode=function(e,t,n,r){if(Xf(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),tg(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ng(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n,r){if(Xf(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,i){return Xf(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},e.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(t){if(e.players.length)return xh(e.players).onDone((function(){return t()}));t()}))},e.prototype.processLeaveNode=function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Wf,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var 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 r=0;r<this.collectedEnterElements.length;r++)tg(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,e)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?xh(n).onDone((function(){o.forEach((function(e){return e()}))})):o.forEach((function(e){return e()}))}},e.prototype.reportError=function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))},e.prototype._flushAnimations=function(e,t){var n=this,r=new Sf,i=[],s=new Map,a=[],u=new Map,l=new Map,d=new Map,p=new Set;this.disabledNodes.forEach((function(e){p.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)p.add(t[r])}));var h=this.bodyNode,f=Array.from(this.statesByElement.keys()),g=eg(f,this.collectedEnterElements),m=new Map,v=0;g.forEach((function(e,t){var n="ng-enter"+v++;m.set(t,n),e.forEach((function(e){return tg(e,n)}))}));for(var y=[],b=new Set,_=new Set,w=0;w<this.collectedLeaveElements.length;w++)(V=(L=this.collectedLeaveElements[w]).__ng_removed)&&V.setForRemoval&&(y.push(L),b.add(L),V.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach((function(e){return b.add(e)})):_.add(L));var S=new Map,C=eg(f,Array.from(b));C.forEach((function(e,t){var n="ng-leave"+v++;S.set(t,n),e.forEach((function(e){return tg(e,n)}))})),e.push((function(){g.forEach((function(e,t){var n=m.get(t);e.forEach((function(e){return ng(e,n)}))})),C.forEach((function(e,t){var n=S.get(t);e.forEach((function(e){return ng(e,n)}))})),y.forEach((function(e){n.processLeaveNode(e)}))}));for(var x=[],O=[],E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(x.push(t),n.collectedEnterElements.length){var s=o.__ng_removed;if(s&&s.setForMove)return void t.destroy()}var c=!h||!n.driver.containsElement(h,o),p=S.get(o),f=m.get(o),g=n._buildInstruction(e,r,f,p,c);if(g.errors&&g.errors.length)O.push(g);else{if(c)return t.onStart((function(){return Jh(o,g.fromStyles)})),t.onDestroy((function(){return Xh(o,g.toStyles)})),void i.push(t);if(e.isFallbackTransition)return t.onStart((function(){return Jh(o,g.fromStyles)})),t.onDestroy((function(){return Xh(o,g.toStyles)})),void i.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(o,g.timelines),a.push({instruction:g,player:t,element:o}),g.queriedElements.forEach((function(e){return Mh(u,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=d.get(t);r||d.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(O.length){var k=[];O.forEach((function(e){k.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return k.push("- "+e+"\n")}))})),x.forEach((function(e){return e.destroy()})),this.reportError(k)}var P=new Map,M=new Map;a.forEach((function(e){var t=e.element;r.has(t)&&(M.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,P))})),i.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){Mh(P,t,[]).push(e),e.destroy()}))}));var T=y.filter((function(e){return ig(e,l,d)})),A=new Map;$f(A,this.driver,_,d,"*").forEach((function(e){ig(e,l,d)&&T.push(e)}));var I=new Map;g.forEach((function(e,t){$f(I,n.driver,new Set(e),l,"!")})),T.forEach((function(e){var t=A.get(e),n=I.get(e);A.set(e,o(o({},t),n))}));var R=[],j=[],D={};a.forEach((function(e){var t=e.element,o=e.player,a=e.instruction;if(r.has(t)){if(p.has(t))return o.onDestroy((function(){return Xh(t,a.toStyles)})),o.disabled=!0,o.overrideTotalTime(a.totalTime),void i.push(o);var c=D;if(M.size>1){for(var u=t,l=[];u=u.parentNode;){var d=M.get(u);if(d){c=d;break}l.push(u)}l.forEach((function(e){return M.set(e,c)}))}var h=n._buildAnimation(o.namespaceId,a,P,s,I,A);if(o.setRealPlayer(h),c===D)R.push(o);else{var f=n.playersByElement.get(c);f&&f.length&&(o.parentPlayer=xh(f)),i.push(o)}}else Jh(t,a.fromStyles),o.onDestroy((function(){return Xh(t,a.toStyles)})),j.push(o),p.has(t)&&i.push(o)})),j.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=xh(t);e.setRealPlayer(n)}})),i.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var N=0;N<y.length;N++){var L,V=(L=y[N]).__ng_removed;if(ng(L,"ng-leave"),!V||!V.hasAnimation){var z=[];if(u.size){var F=u.get(L);F&&F.length&&z.push.apply(z,c(F));for(var B=this.driver.query(L,".ng-animating",!0),U=0;U<B.length;U++){var q=u.get(B[U]);q&&q.length&&z.push.apply(z,c(q))}}var W=z.filter((function(e){return!e.destroyed}));W.length?rg(this,L,W):this.processLeaveNode(L)}}return y.length=0,R.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),R},e.prototype.elementContainsData=function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n},e.prototype.afterFlush=function(e){this._flushFns.push(e)},e.prototype.afterFlushAnimationsDone=function(e){this._whenQuietFns.push(e)},e.prototype._getPreviousPlayers=function(e,t,n,r,i){var o=[];if(t){var s=this.playersByQueriedElement.get(e);s&&(o=s)}else{var a=this.playersByElement.get(e);if(a){var c=!i||"void"==i;a.forEach((function(e){e.queued||(c||e.triggerName==r)&&o.push(e)}))}}return(n||r)&&(o=o.filter((function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)}))),o},e.prototype._beforeAnimationBuild=function(e,t,n){var r,i,o=t.element,a=t.isRemovalTransition?void 0:e,c=t.isRemovalTransition?void 0:t.triggerName,u=function(e){var r=e.element,i=r!==o,s=Mh(n,r,[]);l._getPreviousPlayers(r,i,a,c,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),s.push(e)}))},l=this;try{for(var d=s(t.timelines),p=d.next();!p.done;p=d.next())u(p.value)}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}Jh(o,t.fromStyles)},e.prototype._buildAnimation=function(e,t,n,r,i,o){var s=this,a=t.triggerName,c=t.element,u=[],l=new Set,d=new Set,p=t.timelines.map((function(t){var p=t.element;l.add(p);var h=p.__ng_removed;if(h&&h.removedBeforeQueried)return new wh(t.duration,t.delay);var f,g,m=p!==c,v=(f=(n.get(p)||qf).map((function(e){return e.getRealPlayer()})),g=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof Sh?e(i.players,n):n.push(i)}}(f,g),g).filter((function(e){return!!e.element&&e.element===p})),y=i.get(p),b=o.get(p),_=Oh(0,s._normalizer,0,t.keyframes,y,b),w=s._buildPlayer(t,_,v);if(t.subTimeline&&r&&d.add(p),m){var S=new Kf(e,a,p);S.setRealPlayer(w),u.push(S)}return w}));u.forEach((function(e){Mh(s.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else(r=e[t])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete e[t]);return r}(s.playersByQueriedElement,e.element,e)}))})),l.forEach((function(e){return tg(e,"ng-animating")}));var h=xh(p);return h.onDestroy((function(){l.forEach((function(e){return ng(e,"ng-animating")})),Xh(c,t.toStyles)})),d.forEach((function(e){Mh(r,e,[]).push(h)})),h},e.prototype._buildPlayer=function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new wh(e.duration,e.delay)},e}(),Kf=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new wh,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return Eh(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))},e.prototype._queueEvent=function(e,t){Mh(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Xf(e){return e&&1===e.nodeType}function Jf(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function $f(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(Jf(e))}));var s=[];r.forEach((function(n,r){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Hf,s.push(r))})),e.set(r,o)}));var a=0;return n.forEach((function(e){return Jf(e,o[a++])})),s}function eg(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function tg(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function ng(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function rg(e,t,n){xh(n).onDone((function(){return e.processLeaveNode(t)}))}function ig(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var og=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Yf(e,t,n),this._timelineEngine=new Uf(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,s=this._triggerCache[o];if(!s){var a=[],c=gf(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(e,t){return new zf(e,t)}(r,c),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var i=a(Th(n),2);this._timelineEngine.command(i[0],t,i[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,i){if("@"==n.charAt(0)){var o=a(Th(n),2);return this._timelineEngine.listen(o[0],t,o[1],i)}return this._transitionEngine.listen(e,t,n,r,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}();function sg(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=cg(t[0]),t.length>1&&(r=cg(t[t.length-1]))):t&&(n=cg(t)),n||r?new ag(e,n,r):null}var ag=function(){function e(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return e.prototype.start=function(){this._state<1&&(this._startStyles&&Xh(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(Xh(this._element,this._initialStyles),this._endStyles&&(Xh(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Jh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jh(this._element,this._endStyles),this._endStyles=null),Xh(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function cg(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];ug(i)&&((t=t||{})[i]=e[i])}return t}function ug(e){return"display"===e||"position"===e}var lg=function(){function e(e,t,n,r,i,o,s){var a=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return a._handleCallback(e)}}return e.prototype.apply=function(){var e,t,n;t=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=mg(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t=n+", "+t),gg(e,"",t),fg(this._element,this._eventFn,!1),this._startTime=Date.now()},e.prototype.pause=function(){dg(this._element,this._name,"paused")},e.prototype.resume=function(){dg(this._element,this._name,"running")},e.prototype.setPosition=function(e){var t=pg(this._element,this._name);this._position=e*this._duration,gg(this._element,"Delay","-"+this._position+"ms",t)},e.prototype.getPosition=function(){return this._position},e.prototype._handleCallback=function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),fg(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=hg(n=mg(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),gg(e,"",n.join(","))))},e}();function dg(e,t,n){gg(e,"PlayState",n,pg(e,t))}function pg(e,t){var n=mg(e,"");return n.indexOf(",")>0?hg(n.split(","),t):hg([n],t)}function hg(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function fg(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function gg(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}e.style[i]=n}function mg(e,t){return e.style["animation"+t]}var vg=function(){function e(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=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(e){return e()})),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new lg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:lf(e.element,r))}))}this.currentSnapshot=t},e}(),yg=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=Bh(n),r}return i(t,e),t.prototype.init=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]})),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),e.prototype.play.call(this))},t.prototype.destroy=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,e.prototype.destroy.call(this))},t}(wh),bg=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return Lh(e)},e.prototype.matchesElement=function(e,t){return Vh(e,t)},e.prototype.containsElement=function(e,t){return zh(e,t)},e.prototype.query=function(e,t,n){return Fh(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map((function(e){return Bh(e)}));var r="@keyframes "+t+" {\n",i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+=""+i+100*t+"% {\n",i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+t+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},e.prototype.animate=function(e,t,n,r,i,o,s){void 0===o&&(o=[]),s&&this._notifyFaultyScrubber();var a=o.filter((function(e){return e instanceof vg})),c={};af(n,r)&&a.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=cf(e,t,c));if(0==n)return new yg(e,u);var l="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(d);var p=sg(e,t),h=new vg(e,t,l,n,r,i,u,p);return h.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),h},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),_g=function(){function e(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:lf(e.element,n))})),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),wg=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Sg().toString()),this._cssKeyframesDriver=new bg}return e.prototype.validateStyleProperty=function(e){return Lh(e)},e.prototype.matchesElement=function(e,t){return Vh(e,t)},e.prototype.containsElement=function(e,t){return zh(e,t)},e.prototype.query=function(e,t,n){return Fh(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,i,o,s){if(void 0===o&&(o=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var c={},u=o.filter((function(e){return e instanceof _g}));af(n,r)&&u.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=sg(e,t=cf(e,t=t.map((function(e){return Zh(e,!1)})),c));return new _g(e,t,a,l)},e}();function Sg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Cg=function(e){function t(t,n){var r=e.call(this)||this;return r._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:wt.None,styles:[],data:{animation:[]}}),r}return i(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?hh(e):e;return Eg(this._renderer,null,t,"register",[n]),new xg(t,this._renderer)},t.\u0275fac=function(e){return new(e||t)(st(oc),st(yl))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(uh),xg=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return i(t,e),t.prototype.create=function(e,t){return new Og(this._id,e,t||{},this._renderer)},t}(lh),Og=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Eg(this._renderer,this.element,this.id,e,t)},e.prototype.onDone=function(e){this._listen("done",e)},e.prototype.onStart=function(e){this._listen("start",e)},e.prototype.onDestroy=function(e){this._listen("destroy",e)},e.prototype.init=function(){this._command("init")},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this._command("play"),this._started=!0},e.prototype.pause=function(){this._command("pause")},e.prototype.restart=function(){this._command("restart")},e.prototype.finish=function(){this._command("finish")},e.prototype.destroy=function(){this._command("destroy")},e.prototype.reset=function(){this._command("reset")},e.prototype.setPosition=function(e){this._command("setPosition",e)},e.prototype.getPosition=function(){return 0},e}();function Eg(e,t,n,r,i){return e.setProperty(t,"@@"+n+":"+r,i)}var kg=function(){function e(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return e.prototype.createRenderer=function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new Pg("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);var a=function(t){Array.isArray(t)?t.forEach(a):n.engine.registerTrigger(o,s,e,t.name,t)};return t.data.animation.forEach(a),new Mg(this,s,r,this.engine)},e.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},e.prototype._scheduleCountTask=function(){var e=this;this.promise.then((function(){e._microtaskId++}))},e.prototype.scheduleListenerCallback=function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){r._zone.run((function(){r._animationCallbacksBuffer.forEach((function(e){var t=a(e,2);(0,t[0])(t[1])})),r._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))},e.prototype.end=function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},e.\u0275fac=function(t){return new(t||e)(st(oc),st(og),st(Fu))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Pg=function(){function e(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(e){return t.destroyNode(e)}:null}return Object.defineProperty(e.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},e.prototype.createElement=function(e,t){return this.delegate.createElement(e,t)},e.prototype.createComment=function(e){return this.delegate.createComment(e)},e.prototype.createText=function(e){return this.delegate.createText(e)},e.prototype.appendChild=function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)},e.prototype.insertBefore=function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)},e.prototype.removeChild=function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)},e.prototype.selectRootElement=function(e,t){return this.delegate.selectRootElement(e,t)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setAttribute=function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)},e.prototype.setValue=function(e,t){this.delegate.setValue(e,t)},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.disableAnimations=function(e,t){this.engine.disableAnimations(e,t)},e}(),Mg=function(e){function t(t,n,r,i){var o=e.call(this,n,r,i)||this;return o.factory=t,o.namespaceId=n,o}return i(t,e),t.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)},t.prototype.listen=function(e,t,n){var r,i,o,s=this;if("@"==t.charAt(0)){var c=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),u=t.substr(1),l="";return"@"!=u.charAt(0)&&(u=(r=a((i=u,o=i.indexOf("."),[i.substring(0,o),i.substr(o+1)]),2))[0],l=r[1]),this.engine.listen(this.namespaceId,c,u,l,(function(e){s.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)},t}(Pg),Tg=function(e){function t(t,n,r){return e.call(this,t.body,n,r)||this}return i(t,e),t.\u0275fac=function(e){return new(e||t)(st(yl),st(qh),st(If))},t.\u0275prov=Se({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(og),Ag=new Xe("AnimationModuleType"),Ig=[{provide:uh,useClass:Cg},{provide:If,useFactory:function(){return new Rf}},{provide:og,useClass:Tg},{provide:oc,useFactory:function(e,t,n){return new kg(e,t,n)},deps:[Sd,og,Fu]}],Rg=c([{provide:qh,useFactory:function(){return"function"==typeof Sg()?new wg:new bg}},{provide:Ag,useValue:"BrowserAnimations"}],Ig),jg=(c([{provide:qh,useClass:Uh},{provide:Ag,useValue:"NoopAnimations"}],Ig),function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:Rg,imports:[Nd]}),e}());function Dg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return N(n)?(e.pop(),Y(e,n)):ne(e)}function Ng(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length?t.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function Lg(){}function Vg(e,t,n){return function(r){return r.lift(new zg(e,t,n))}}var zg=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new Fg(e,this.nextOrObserver,this.error,this.complete))},e}(),Fg=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=Lg,o._tapError=Lg,o._tapComplete=Lg,o._tapError=r||Lg,o._tapComplete=i||Lg,p(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||Lg,o._tapError=n.error||Lg,o._tapComplete=n.complete||Lg),o}return v(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(C),Bg=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return v(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){return e.call(this)||this}return v(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(f)),Ug=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),qg=new(function(e){function t(n,r){void 0===r&&(r=Ug.now);var i=e.call(this,n,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return v(t,e),t.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,i):e.prototype.schedule.call(this,n,r,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(Ug))(Bg);function Wg(e,t){return void 0===t&&(t=qg),function(n){return n.lift(new Hg(e,t))}}var Hg=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Gg(e,this.dueTime,this.scheduler))},e}(),Gg=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return v(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Qg,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(C);function Qg(e){e.debouncedNext()}function Zg(e,t){return function(n){return n.lift(new Yg(e,t))}}var Yg=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Kg(e,this.predicate,this.thisArg))},e}(),Kg=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return v(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(C),Xg=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),Jg=new M((function(e){return e.complete()}));function $g(e){return e?function(e){return new M((function(t){return e.schedule((function(){return t.complete()}))}))}(e):Jg}function em(e){return function(t){return 0===e?$g():t.lift(new nm(e))}}var tm,nm=function(){function e(e){if(this.total=e,this.total<0)throw new Xg}return e.prototype.call=function(e,t){return t.subscribe(new rm(e,this.total))},e}(),rm=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return v(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(C);function im(e){return null!=e&&""+e!="false"}function om(e,t){return void 0===t&&(t=0),function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function sm(e){return Array.isArray(e)?e:[e]}function am(e){return null==e?"":"string"==typeof e?e:e+"px"}function cm(e){return e instanceof rc?e.nativeElement:e}try{tm="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ST){tm=!1}var um,lm,dm,pm,hm=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?rd(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&&!tm)&&"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 e.\u0275prov=Se({factory:function(){return new e(st(xu,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(xu,8))},e}(),fm=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),gm=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mm(){if(um)return um;if("object"!=typeof document||!document)return um=new Set(gm);var e=document.createElement("input");return um=new Set(gm.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function vm(e){return function(){if(null==lm&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return lm=!0}}))}finally{lm=lm||!1}return lm}()?e:!!e.capture}function ym(){if("object"!=typeof document||!document)return 0;if(null==dm){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),dm=0,0===e.scrollLeft&&(e.scrollLeft=1,dm=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return dm}function bm(e){if(function(){if(null==pm){var e="undefined"!=typeof document?document.head:null;pm=!(!e||!e.createShadowRoot&&!e.attachShadow)}return pm}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}var _m=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.\u0275prov=Se({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),wm=function(){function e(e){this._mutationObserverFactory=e,this._observedElements=new Map}return e.prototype.ngOnDestroy=function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))},e.prototype.observe=function(e){var t=this,n=cm(e);return new M((function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}}))},e.prototype._observeElement=function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new j,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream},e.prototype._unobserveElement=function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))},e.prototype._cleanupObserver=function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}},e.\u0275prov=Se({factory:function(){return new e(st(_m))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(_m))},e}(),Sm=function(){function e(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new Kc,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=im(e),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debounce},set:function(e){this._debounce=om(e),this._subscribe()},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},e.prototype.ngOnDestroy=function(){this._unsubscribe()},e.prototype._subscribe=function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(Wg(e.debounce)):t).subscribe(e.event)}))},e.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(Bs(wm),Bs(rc),Bs(Fu))},e.\u0275dir=At({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),Cm=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[_m]}),e}();function xm(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var Om=0,Em=new Map,km=null,Pm=function(){function e(e){this._document=e}return e.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Em.set(t,{messageElement:t,referenceCount:0})):Em.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},e.prototype.removeDescription=function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=Em.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}km&&0===km.childNodes.length&&this._deleteMessagesContainer()}},e.prototype.ngOnDestroy=function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");km&&this._deleteMessagesContainer(),Em.clear()},e.prototype._createMessageElement=function(e){var t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),km.appendChild(t),Em.set(e,{messageElement:t,referenceCount:0})},e.prototype._setMessageId=function(e){e.id||(e.id="cdk-describedby-message-"+Om++)},e.prototype._deleteMessageElement=function(e){var t=Em.get(e),n=t&&t.messageElement;km&&n&&km.removeChild(n),Em.delete(e)},e.prototype._createMessagesContainer=function(){if(!km){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(km=this._document.createElement("div")).id="cdk-describedby-message-container",km.setAttribute("aria-hidden","true"),km.style.display="none",this._document.body.appendChild(km)}},e.prototype._deleteMessagesContainer=function(){km&&km.parentNode&&(km.parentNode.removeChild(km),km=null)},e.prototype._removeCdkDescribedByReferenceIds=function(e){var t=xm(e,"aria-describedby").filter((function(e){return 0!=e.indexOf("cdk-describedby-message")}));e.setAttribute("aria-describedby",t.join(" "))},e.prototype._addMessageReference=function(e,t){var n,r,i,o=Em.get(t);r=o.messageElement.id,(i=xm(n=e,"aria-describedby")).some((function(e){return e.trim()==r.trim()}))||(i.push(r.trim()),n.setAttribute("aria-describedby",i.join(" "))),e.setAttribute("cdk-describedby-host",""),o.referenceCount++},e.prototype._removeMessageReference=function(e,t){var n,r,i,o,s=Em.get(t);s.referenceCount--,i=s.messageElement.id,(o=xm(n=e,r="aria-describedby").filter((function(e){return e!=i.trim()}))).length?n.setAttribute(r,o.join(" ")):n.removeAttribute(r),e.removeAttribute("cdk-describedby-host")},e.prototype._isElementDescribedByMessage=function(e,t){var n=xm(e,"aria-describedby"),r=Em.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)},e.prototype._canBeDescribed=function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":(""+t).trim(),r=e.getAttribute("aria-label");return!(!n||r&&r.trim()===n)},e.prototype._isElementNode=function(e){return e.nodeType===this._document.ELEMENT_NODE},e.\u0275prov=Se({factory:function(){return new e(st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(yl))},e}(),Mm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(function(){function e(e){var t=this;this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new j,this._typeaheadSubscription=f.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new j,this.change=new j,e instanceof Jc&&e.changes.subscribe((function(e){if(t._activeItem){var n=e.toArray().indexOf(t._activeItem);n>-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}}))}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Vg((function(e){return t._pressedLetters.push(e)})),Wg(e),Zg((function(){return t._pressedLetters.length>0})),G((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),r=1;r<n.length+1;r++){var i=(t._activeItemIndex+r)%n.length,o=n[i];if(!t._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(i);break}}t._pressedLetters=[]})),this},e.prototype.setActiveItem=function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)},e.prototype.onKeydown=function(e){var t=this,n=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every((function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Ng(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.isTyping=function(){return this._pressedLetters.length>0},e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof Jc?this._items.toArray():this._items},e}()),Tm=function(){function e(e){this._platform=e}return e.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},e.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(ST){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===Im(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=Im(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0},e.prototype.isFocusable=function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Am(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e.\u0275prov=Se({factory:function(){return new e(st(hm))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(hm))},e}();function Am(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Im(e){if(!Am(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var Rm=function(){function e(e,t,n,r,i){var o=this;void 0===i&&(i=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null},e.prototype.attachAnchors=function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)},e.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))},e.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))},e.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))},e.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)},e.prototype.focusInitialElement=function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Lr()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()},e.prototype.focusFirstTabbableElement=function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e},e.prototype.focusLastTabbableElement=function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e},e.prototype.hasAttached=function(){return this._hasAttached},e.prototype._getFirstTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._getLastTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._createAnchor=function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e},e.prototype._toggleAnchorTabIndex=function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")},e.prototype.toggleAnchors=function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},e.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(em(1)).subscribe(e)},e}(),jm=function(){function e(e,t,n){this._checker=e,this._ngZone=t,this._document=n}return e.prototype.create=function(e,t){return void 0===t&&(t=!1),new Rm(e,this._checker,this._ngZone,this._document,t)},e.\u0275prov=Se({factory:function(){return new e(st(Tm),st(Fu),st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Tm),st(Fu),st(yl))},e}();"undefined"!=typeof Element&∈var Dm=new Xe("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Nm=new Xe("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Lm=function(){function e(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e){for(var t,n=this,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o,s,c=this._defaultOptions;return 1===r.length&&"number"==typeof r[0]?s=r[0]:(o=(t=a(r,2))[0],s=t[1]),this.clear(),clearTimeout(this._previousTimeout),o||(o=c&&c.politeness?c.politeness:"polite"),null==s&&c&&(s=c.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular((function(){return new Promise((function(t){clearTimeout(n._previousTimeout),n._previousTimeout=setTimeout((function(){n._liveElement.textContent=e,t(),"number"==typeof s&&(n._previousTimeout=setTimeout((function(){return n.clear()}),s))}),100)}))}))},e.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},e.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},e.prototype._createLiveElement=function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t},e.\u0275prov=Se({factory:function(){return new e(st(Dm,8),st(Fu),st(yl),st(Nm,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Dm,8),st(Fu),st(yl),st(Nm,8))},e}();function Vm(e){return 0===e.buttons}var zm=new Xe("cdk-focus-monitor-default-options"),Fm=vm({passive:!0,capture:!0}),Bm=function(){function e(e,t,n,r){var i=this;this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){i._lastTouchTarget=null,i._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!i._lastTouchTarget){var t=Vm(e)?"keyboard":"mouse";i._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=i._touchTimeoutId&&clearTimeout(i._touchTimeoutId),i._lastTouchTarget=Um(e),i._touchTimeoutId=setTimeout((function(){return i._lastTouchTarget=null}),650)},this._windowFocusListener=function(){i._windowFocused=!0,i._windowFocusTimeoutId=setTimeout((function(){return i._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=Um(e),n="focus"===e.type?i._onFocus:i._onBlur,r=t;r;r=r.parentElement)n.call(i,e,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return e.prototype.monitor=function(e,t){if(void 0===t&&(t=!1),!this._platform.isBrowser)return Dg(null);var n=cm(e),r=bm(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject.asObservable();var o={checkChildren:t,subject:new j,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=cm(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))},e.prototype.focusVia=function(e,t,n){var r=cm(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._getFocusOrigin=function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"},e.prototype._setClasses=function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))},e.prototype._wasCausedByTouch=function(e){var t=Um(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===Um(e))){var r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},e.prototype._emitOrigin=function(e,t){this._ngZone.run((function(){return e.next(t)}))},e.prototype._registerGlobalListeners=function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,Fm),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,Fm)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,Fm),e.addEventListener("mousedown",t._documentMousedownListener,Fm),e.addEventListener("touchstart",t._documentTouchstartListener,Fm),n.addEventListener("focus",t._windowFocusListener)}))}},e.prototype._removeGlobalListeners=function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fm),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fm),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,Fm),r.removeEventListener("mousedown",this._documentMousedownListener,Fm),r.removeEventListener("touchstart",this._documentTouchstartListener,Fm),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}},e.\u0275prov=Se({factory:function(){return new e(st(Fu),st(hm),st(yl,8),st(zm,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Fu),st(hm),st(yl,8),st(zm,8))},e}();function Um(e){return e.composedPath?e.composedPath()[0]:e.target}var qm=function(){function e(e,t){this._platform=e,this._document=t}return e.prototype.getHighContrastMode=function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0},e.prototype._applyBodyHighContrastModeCssClasses=function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}},e.\u0275prov=Se({factory:function(){return new e(st(hm),st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(hm),st(yl))},e}(),Wm=function(){function e(e){e._applyBodyHighContrastModeCssClasses()}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(qm))},imports:[[fm,Cm]]}),e}(),Hm=new Xe("cdk-dir-doc",{providedIn:"root",factory:function(){return at(yl)}}),Gm=function(){function e(e){if(this.value="ltr",this.change=new Kc,e){var t=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===t||"rtl"===t?t:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.\u0275prov=Se({factory:function(){return new e(st(Hm,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Hm,8))},e}(),Qm=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),Zm=new lc("9.2.4");function Ym(){return te(1)}function Km(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ym()(Dg.apply(void 0,e))}function Xm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return N(n)?(e.pop(),function(t){return Km(e,t,n)}):function(t){return Km(e,t)}}var Jm=["*",[["mat-option"],["ng-container"]]],$m=["*","mat-option, ng-container"];function ev(e,t){if(1&e&&Zs(0,"mat-pseudo-checkbox",3),2&e){var n=oa();Ws("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var tv=["*"],nv=new lc("9.2.4"),rv=new Xe("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),iv=function(){function e(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return e.prototype._getDocument=function(){var e=this._document||document;return"object"==typeof e&&e?e:null},e.prototype._getWindow=function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null},e.prototype._checksAreEnabled=function(){return Lr()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)},e.prototype._checkDoctypeIsDefined=function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}},e.prototype._checkCdkVersionMatch=function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&nv.full!==Zm.full&&console.warn("The Angular Material version ("+nv.full+") does not match the Angular CDK version ("+Zm.full+").\nPlease ensure the versions of these two packages exactly match.")},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(qm),st(rv,8),st(yl,8))},imports:[[Qm],Qm]}),e}();function ov(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,c(t))||this;return r._disabled=!1,r}return i(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=im(e)},enumerable:!0,configurable:!0}),t}(e)}function sv(e,t){return function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,c(n))||this;return i.color=t,i}return i(n,e),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(e)}function av(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,c(t))||this;return r._disableRipple=!1,r}return i(t,e),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=im(e)},enumerable:!0,configurable:!0}),t}(e)}function cv(e,t){return void 0===t&&(t=0),function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,c(n))||this;return i._tabIndex=t,i}return i(n,e),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t},enumerable:!0,configurable:!0}),n}(e)}function uv(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,c(t))||this;return r.errorState=!1,r.stateChanges=new j,r}return i(t,e),t.prototype.updateErrorState=function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())},t}(e)}var lv=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},e.\u0275prov=Se({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),dv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv],iv]}),e}(),pv=function(){function e(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}return e.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},e}(),hv={enterDuration:450,exitDuration:400},fv=vm({passive:!0}),gv=["mousedown","touchstart"],mv=["mouseup","mouseleave","touchend","touchcancel"],vv=function(){function e(e,t,n,r){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=cm(n))}return e.prototype.fadeInRipple=function(e,t,n){var r=this;void 0===n&&(n={});var i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=o(o({},hv),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var a=n.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),c=e-i.left,u=t-i.top,l=s.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=c-a+"px",d.style.top=u-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",null!=n.color&&(d.style.backgroundColor=n.color),d.style.transitionDuration=l+"ms",this._containerElement.appendChild(d),window.getComputedStyle(d).getPropertyValue("opacity"),d.style.transform="scale(1)";var p=new pv(this,d,n);return p.state=0,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone((function(){var e=p===r._mostRecentTransientRipple;p.state=1,n.persistent||e&&r._isPointerDown||p.fadeOut()}),l),p},e.prototype.fadeOutRipple=function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=o(o({},hv),e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),r.exitDuration)}},e.prototype.fadeOutAll=function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))},e.prototype.setupTriggerEvents=function(e){var t=cm(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(gv))},e.prototype.handleEvent=function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(mv),this._pointerUpEventsRegistered=!0)},e.prototype._onMousedown=function(e){var t=Vm(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))},e.prototype._onTouchStart=function(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}},e.prototype._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach((function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()})))},e.prototype._runTimeoutOutsideZone=function(e,t){void 0===t&&(t=0),this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))},e.prototype._registerEvents=function(e){var t=this;this._ngZone.runOutsideAngular((function(){e.forEach((function(e){t._triggerElement.addEventListener(e,t,fv)}))}))},e.prototype._removeTriggerEvents=function(){var e=this;this._triggerElement&&(gv.forEach((function(t){e._triggerElement.removeEventListener(t,e,fv)})),this._pointerUpEventsRegistered&&mv.forEach((function(t){e._triggerElement.removeEventListener(t,e,fv)})))},e}(),yv=new Xe("mat-ripple-global-options"),bv=function(){function e(e,t,n,r,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new vv(this,t,e,n)}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},e.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},e.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(e.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:o(o(o({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),e.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},e.prototype.launch=function(e,t,n){return void 0===t&&(t=0),"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,o(o({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,o(o({},this.rippleConfig),e))},e.\u0275fac=function(t){return new(t||e)(Bs(rc),Bs(Fu),Bs(hm),Bs(yv,8),Bs(Ag,8))},e.\u0275dir=At({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&ba("mat-ripple-unbounded",t.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"]}),e}(),_v=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv,fm],iv]}),e}(),wv=function(){function e(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}return e.\u0275fac=function(t){return new(t||e)(Bs(Ag,8))},e.\u0275cmp=Ot({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&ba("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),Sv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),Cv=0,xv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+Cv++,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=Ot({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(Vs("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),ba("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Na],ngContentSelectors:$m,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(aa(Jm),Gs(0,"label",0),Ta(1),ca(2),Qs(),ca(3,1)),2&e&&(Ws("id",t._labelId),ji(1),Ia("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0});var n=wr(t);return t}(ov(function(){return function(){}}())),Ov=0,Ev=function(){return function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t}}(),kv=new Xe("MAT_OPTION_PARENT_COMPONENT"),Pv=function(){function e(e,t,n,r){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ov++,this.onSelectionChange=new Kc,this._stateChanges=new j}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),e.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.focus=function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)},e.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},e.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},e.prototype.getLabel=function(){return this.viewValue},e.prototype._handleKeydown=function(e){13!==e.keyCode&&32!==e.keyCode||Ng(e)||(this._selectViaInteraction(),e.preventDefault())},e.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},e.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype.ngAfterViewChecked=function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype._emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.onSelectionChange.emit(new Ev(this,e))},e.\u0275fac=function(t){return new(t||e)(Bs(rc),Bs(cs),Bs(kv,8),Bs(xv,8))},e.\u0275cmp=Ot({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&ea("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(Ra("id",t.id),Vs("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),ba("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:tv,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(aa(),Fs(0,ev,1,2,"mat-pseudo-checkbox",0),Gs(1,"span",1),ca(2),Qs(),Zs(3,"div",2)),2&e&&(Ws("ngIf",t.multiple),ji(3),Ws("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Wl,bv,wv],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function Mv(e,t,n){if(n.length){for(var r=t.toArray(),i=n.toArray(),o=0,s=0;s<e+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}var Tv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[_v,nd,Sv]]}),e}(),Av=new Xe("mat-label-global-options"),Iv=0,Rv=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;if(s._ngZone=t,s._elementRef=n,s._ariaDescriber=r,s._renderer=i,s._animationMode=o,s._hasContent=!1,s._color="primary",s._overlap=!0,s.position="above after",s.size="medium",s._id=Iv++,Lr()){var a=n.nativeElement;if(a.nodeType!==a.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}return s}return i(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._setColor(e),this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlap",{get:function(){return this._overlap},set:function(e){this._overlap=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this._description},set:function(e){if(e!==this._description){var t=this._badgeElement;this._updateHostAriaDescription(e,this._description),this._description=e,t&&(e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label"))}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hidden",{get:function(){return this._hidden},set:function(e){this._hidden=im(e)},enumerable:!0,configurable:!0}),t.prototype.isAbove=function(){return-1===this.position.indexOf("below")},t.prototype.isAfter=function(){return-1===this.position.indexOf("before")},t.prototype.ngOnChanges=function(e){var t=e.content;if(t){var n=t.currentValue;this._hasContent=null!=n&&(""+n).trim().length>0,this._updateTextContent()}},t.prototype.ngOnDestroy=function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(e))},t.prototype.getBadgeElement=function(){return this._badgeElement},t.prototype._updateTextContent=function(){return this._badgeElement?this._badgeElement.textContent=this.content:this._badgeElement=this._createBadgeElement(),this._badgeElement},t.prototype._createBadgeElement=function(){var e=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),e.setAttribute("id","mat-badge-content-"+this._id),e.classList.add("mat-badge-content"),e.textContent=this.content,"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e.classList.add("mat-badge-active")}))})):e.classList.add("mat-badge-active"),e},t.prototype._updateHostAriaDescription=function(e,t){var n=this._updateTextContent();t&&this._ariaDescriber.removeDescription(n,t),e&&this._ariaDescriber.describe(n,e)},t.prototype._setColor=function(e){e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-badge-"+e))},t.prototype._clearExistingBadges=function(e){for(var t=this._elementRef.nativeElement,n=t.children.length;n--;){var r=t.children[n];r.classList.contains(e)&&t.removeChild(r)}},t.\u0275fac=function(e){return new(e||t)(Bs(Fu),Bs(rc),Bs(Pm),Bs(ac),Bs(Ag,8))},t.\u0275dir=At({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,t){2&e&&ba("mat-badge-overlap",t.overlap)("mat-badge-above",t.isAbove())("mat-badge-below",!t.isAbove())("mat-badge-before",!t.isAfter())("mat-badge-after",t.isAfter())("mat-badge-small","small"===t.size)("mat-badge-medium","medium"===t.size)("mat-badge-large","large"===t.size)("mat-badge-hidden",t.hidden||!t._hasContent)("mat-badge-disabled",t.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],position:["matBadgePosition","position"],content:["matBadge","content"],size:["matBadgeSize","size"]},features:[Na,Ua]}),t}(ov(function(){return function(){}}())),jv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[Wm,iv],iv]}),e}(),Dv=["mat-button",""],Nv=["*"],Lv=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Vv=function(e){function t(t,n,r){var i,o,a=e.call(this,t)||this;a._focusMonitor=n,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");try{for(var c=s(Lv),u=c.next();!u.done;u=c.next()){var l=u.value;a._hasHostAttributes(l)&&a._getHostElement().classList.add(l)}}catch(d){i={error:d}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return t.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color="accent"),a}return i(t,e),t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.focus=function(e,t){void 0===e&&(e="program"),this._focusMonitor.focusVia(this._getHostElement(),e,t)},t.prototype._getHostElement=function(){return this._elementRef.nativeElement},t.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},t.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.some((function(t){return e._getHostElement().hasAttribute(t)}))},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(Bm),Bs(Ag,8))},t.\u0275cmp=Ot({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&uu(bv,!0),2&e&&au(n=fu())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(Vs("disabled",t.disabled||null),ba("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Na],attrs:Dv,ngContentSelectors:Nv,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(aa(),Gs(0,"span",0),ca(1),Qs(),Zs(2,"div",1),Zs(3,"div",2)),2&e&&(ji(2),ba("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ws("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[bv],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.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:block;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}\n"],encapsulation:2,changeDetection:0}),t}(sv(ov(av(function(){return function(e){this._elementRef=e}}())))),zv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[_v,iv],iv]}),e}(),Fv=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv],iv]}),e}();function Bv(e,t,n,r){return p(n)&&(r=n,n=void 0),r?Bv(e,t,n).pipe(G((function(e){return l(e)?r.apply(void 0,e):r(e)}))):new M((function(r){!function e(t,n,r,i,o){var s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(n,r,o),s=function(){return a.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,r),s=function(){return c.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,r),s=function(){return u.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,d=t.length;l<d;l++)e(t[l],n,r,i,o)}i.add(s)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}function Uv(e,t){return function(n){return n.lift(new qv(e,t))}}var qv=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Wv(e,this.compare,this.keySelector))},e}(),Wv=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return v(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))},t}(C),Hv=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Gv(e,this.durationSelector))},e}(),Gv=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r}return v(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=W(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(H);function Qv(e){return!l(e)&&e-parseFloat(e)+1>=0}function Zv(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function Yv(e,t){return void 0===t&&(t=qg),n=function(){return function(e,t,n){void 0===e&&(e=0);var r=-1;return Qv(t)?r=Number(t)<1?1:Number(t):N(t)&&(n=t),N(n)||(n=qg),new M((function(t){var i=Qv(e)?e:+e-n.now();return n.schedule(Zv,i,{index:0,period:r,subscriber:t})}))}(e,t)},function(e){return e.lift(new Hv(n))};var n}function Kv(e){return function(t){return t.lift(new Xv(e))}}var Xv=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new Jv(e),r=W(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},e}(),Jv=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return v(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(H);function $v(e,t){return"function"==typeof t?function(n){return n.pipe($v((function(n,r){return K(e(n,r)).pipe(G((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new ey(e))}}var ey=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new ty(e,this.project))},e}(),ty=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return v(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new L(this,t,n),o=this.destination;o.add(i),this.innerSubscription=W(this,e,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(H);function ny(e,t){return new M(t?function(n){return t.schedule(ry,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function ry(e){e.subscriber.error(e.error)}var iy=function(){function e(e,t,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!0),this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new j,t&&t.length&&(e?t.forEach((function(e){return r._markSelected(e)})):this._markSelected(t[0]),this._selectedToEmit.length=0)}return Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach((function(t){return e._markSelected(t)})),this._emitChangeEvent()},e.prototype.deselect=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach((function(t){return e._unmarkSelected(t)})),this._emitChangeEvent()},e.prototype.toggle=function(e){this.isSelected(e)?this.deselect(e):this.select(e)},e.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},e.prototype.isSelected=function(e){return this._selection.has(e)},e.prototype.isEmpty=function(){return 0===this._selection.size},e.prototype.hasValue=function(){return!this.isEmpty()},e.prototype.sort=function(e){this._multiple&&this.selected&&this._selected.sort(e)},e.prototype.isMultipleSelection=function(){return this._multiple},e.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},e.prototype._markSelected=function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))},e.prototype._unmarkSelected=function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))},e.prototype._unmarkAll=function(){var e=this;this.isEmpty()||this._selection.forEach((function(t){return e._unmarkSelected(t)}))},e.prototype._verifyValueAssignment=function(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},e}(),oy=function(){function e(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new j,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?new M((function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Yv(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Dg()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Zg((function(e){return!e||n.indexOf(e)>-1})))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Bv(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.\u0275prov=Se({factory:function(){return new e(st(Fu),st(hm),st(yl,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Fu),st(hm),st(yl,8))},e}(),sy=function(){function e(e,t,n,r){var i=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new j,this._elementScrolled=new M((function(e){return i.ngZone.runOutsideAngular((function(){return Bv(i.elementRef.nativeElement,"scroll").pipe(Kv(i._destroyed)).subscribe(e)}))}))}return e.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},e.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},e.prototype.elementScrolled=function(){return this._elementScrolled},e.prototype.getElementRef=function(){return this.elementRef},e.prototype.scrollTo=function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=ym()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==ym()?e.left=e.right:1==ym()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)},e.prototype._applyScrollToOptions=function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))},e.prototype.measureScrollOffset=function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==ym()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==ym()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft},e.\u0275fac=function(t){return new(t||e)(Bs(rc),Bs(oy),Bs(Fu),Bs(Gm,8))},e.\u0275dir=At({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),ay=function(){function e(e,t,n){var r=this;this._platform=e,this._document=n,t.runOutsideAngular((function(){var t=r._getWindow();r._change=e.isBrowser?re(Bv(t,"resize"),Bv(t,"orientationchange")):Dg(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Yv(e)):this._change},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._updateViewportSize=function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}},e.\u0275prov=Se({factory:function(){return new e(st(hm),st(Fu),st(yl,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(hm),st(Fu),st(yl,8))},e}(),cy=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),uy=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[Qm,fm,cy],Qm,cy]}),e}();function ly(){throw Error("Host already has a portal attached")}var dy=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&ly(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),py=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return i(t,e),t}(dy),hy=function(e){function t(t,n,r){var i=e.call(this)||this;return i.templateRef=t,i.viewContainerRef=n,i.context=r,i}return i(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(dy),fy=function(e){function t(t){var n=e.call(this)||this;return n.element=t instanceof rc?t.nativeElement:t,n}return i(t,e),t}(dy),gy=function(){function e(){this._isDisposed=!1,this.attachDomPortal=null}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&ly(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof py?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof hy?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof fy?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),my=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s.outletElement=t,s._componentFactoryResolver=n,s._appRef=r,s._defaultInjector=i,s.attachDomPortal=function(t){if(!s._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=t.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var r=s._document.createComment("dom-portal");n.parentNode.insertBefore(r,n),s.outletElement.appendChild(n),e.prototype.setDisposeFn.call(s,(function(){r.parentNode&&r.parentNode.replaceChild(n,r)}))},s._document=o,s}return i(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(r);-1!==e&&n.remove(e)})),r},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(gy),vy=function(e){function t(t,n,r){var i=e.call(this)||this;return i._componentFactoryResolver=t,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new Kc,i.attachDomPortal=function(t){if(!i._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=t.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var r=i._document.createComment("dom-portal");t.setAttachedHost(i),n.parentNode.insertBefore(r,n),i._getRootNode().appendChild(n),e.prototype.setDisposeFn.call(i,(function(){r.parentNode&&r.parentNode.replaceChild(n,r)}))},i._document=r,i}return i(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=n.createComponent(r,n.length,t.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),e.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.prototype._getRootNode=function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode},t.\u0275fac=function(e){return new(e||t)(Bs(nc),Bs(Mc),Bs(yl))},t.\u0275dir=At({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Na]}),t}(gy),yy=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)}}),e}(),by=function(){function e(e,t){this._parentInjector=e,this._customTokens=t}return e.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},e}(),_y=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=am(-this._previousScrollPosition.left),e.style.top=am(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function wy(){return Error("Scroll strategy has already been attached.")}var Sy=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run((function(){return i._overlayRef.detach()}))}}return e.prototype.attach=function(e){if(this._overlayRef)throw wy();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),Cy=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function xy(e,t){return t.some((function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right}))}function Oy(e,t){return t.some((function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right}))}var Ey=function(){function e(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw wy();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;xy(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),ky=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new Cy},this.close=function(e){return new Sy(i._scrollDispatcher,i._ngZone,i._viewportRuler,e)},this.block=function(){return new _y(i._viewportRuler,i._document)},this.reposition=function(e){return new Ey(i._scrollDispatcher,i._viewportRuler,i._ngZone,e)},this._document=r}return e.\u0275prov=Se({factory:function(){return new e(st(oy),st(ay),st(Fu),st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(oy),st(ay),st(Fu),st(yl))},e}(),Py=function(){return function(e){var t,n;if(this.scrollStrategy=new Cy,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){var r=Object.keys(e);try{for(var i=s(r),o=i.next();!o.done;o=i.next()){var a=o.value;void 0!==e[a]&&(this[a]=e[a])}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}}}(),My=function(){return function(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),Ty=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function Ay(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function Iy(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var Ry=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEvents.observers.length>0){n[r]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},e.\u0275prov=Se({factory:function(){return new e(st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(yl))},e}(),jy=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),Dy=function(){function e(e,t){this._platform=t,this._document=e}return e.prototype.ngOnDestroy=function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||jy)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var r=this._document.createElement("div");r.classList.add("cdk-overlay-container"),jy?r.setAttribute("platform","test"):e||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r},e.\u0275prov=Se({factory:function(){return new e(st(yl),st(hm))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(yl),st(hm))},e}(),Ny=function(){function e(e,t,n,r,i,o,s,a){var c=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._backdropElement=null,this._backdropClick=new j,this._attachments=new j,this._detachments=new j,this._locationChanges=f.EMPTY,this._backdropClickHandler=function(e){return c._backdropClick.next(e)},this._keydownEvents=new j,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(em(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return t.dispose()}))),n},e.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}},e.prototype.dispose=function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},e.prototype.updatePositionStrategy=function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))},e.prototype.updateSize=function(e){this._config=o(o({},this._config),e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=o(o({},this._config),{direction:e}),this._updateElementDirection()},e.prototype.addPanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!0)},e.prototype.removePanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!1)},e.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},e.prototype.updateScrollStrategy=function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))},e.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},e.prototype._updateElementSize=function(){if(this._pane){var e=this._pane.style;e.width=am(this._config.width),e.height=am(this._config.height),e.minWidth=am(this._config.minWidth),e.minHeight=am(this._config.minHeight),e.maxWidth=am(this._config.maxWidth),e.maxHeight=am(this._config.maxHeight)}},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,r=function(){t&&(t.removeEventListener("click",e._backdropClickHandler),t.removeEventListener("transitionend",r),t.parentNode&&t.parentNode.removeChild(t)),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){t.addEventListener("transitionend",r)})),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular((function(){return setTimeout(r,500)}))}},e.prototype._toggleClasses=function(e,t,n){var r=e.classList;sm(t).forEach((function(e){e&&(n?r.add(e):r.remove(e))}))},e.prototype._detachContentWhenStable=function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._ngZone.onStable.asObservable().pipe(Kv(re(e._attachments,e._detachments))).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())}))}))},e.prototype._disposeScrollStrategy=function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())},e}(),Ly=/([A-Za-z%]+)$/,Vy=function(){function e(e,t,n,r,i){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new j,this._resizeSubscription=f.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}return Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){t._isInitialRender=!0,t.apply()}))},e.prototype.apply=function(){var e,t,n,r;if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var i,o=this._originRect,a=this._overlayRect,c=this._viewportRect,u=[];try{for(var l=s(this._preferredPositions),d=l.next();!d.done;d=l.next()){var p=d.value,h=this._getOriginPoint(o,p),f=this._getOverlayPoint(h,a,p),g=this._getOverlayFit(f,a,c,p);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(p,h);this._canFitWithFlexibleDimensions(g,f,c)?u.push({position:p,origin:h,overlayRect:a,boundingBoxRect:this._calculateBoundingBoxRect(h,p)}):(!i||i.overlayFit.visibleArea<g.visibleArea)&&(i={overlayFit:g,overlayPoint:f,originPoint:h,position:p,overlayRect:a})}}catch(S){e={error:S}}finally{try{d&&!d.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}if(u.length){var m=null,v=-1;try{for(var y=s(u),b=y.next();!b.done;b=y.next()){var _=b.value,w=_.boundingBoxRect.width*_.boundingBoxRect.height*(_.position.weight||1);w>v&&(v=w,m=_)}}catch(C){n={error:C}}finally{try{b&&!b.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}return this._isPushed=!1,void this._applyPosition(m.position,m.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}},e.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&zy(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){return this._scrollables=e,this},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var r;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+r,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,r){var i=e.x,o=e.y,s=this._getOffset(r,"x"),a=this._getOffset(r,"y");s&&(i+=s),a&&(o+=a);var c=0-o,u=o+t.height-n.height,l=this._subtractOverflows(t.width,0-i,i+t.width-n.width),d=this._subtractOverflows(t.height,c,u),p=l*d;return{visibleArea:p,isCompletelyWithinViewport:t.width*t.height===p,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:l==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=Fy(this._overlayRef.getConfig().minHeight),s=Fy(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=o&&o<=r)&&(e.fitsInViewportHorizontally||null!=s&&s<=i)}return!1},e.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,s=Math.max(e.x+t.width-o.right,0),a=Math.max(e.y+t.height-o.bottom,0),c=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:r=t.width<=o.width?u||-s:e.x<this._viewportMargin?o.left-n.left-e.x:0,y:i=t.height<=o.height?c||-a:e.y<this._viewportMargin?o.top-n.top-e.y:0},{x:e.x+r,y:e.y+i}},e.prototype._applyPosition=function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new Ty(e,n);this._positionChanges.next(r)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin=t+" "+r}},e.prototype._calculateBoundingBoxRect=function(e,t){var n,r,i,o,s,a,c=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)n=c.height-(r=e.y)+this._viewportMargin;else if("bottom"===t.overlayY)n=c.height-(i=c.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var l=Math.min(c.bottom-e.y+c.top,e.y),d=this._lastBoundingBoxSize.height;r=e.y-l,(n=2*l)>d&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-d/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)a=c.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)s=e.x,o=c.right-e.x;else{l=Math.min(c.right-e.x+c.left,e.x);var p=this._lastBoundingBoxSize.width;s=e.x-l,(o=2*l)>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.x-p/2)}return{top:r,left:s,bottom:i,right:a,width:o,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=am(n.height),r.top=am(n.top),r.bottom=am(n.bottom),r.width=am(n.width),r.left=am(n.left),r.right=am(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=am(i)),o&&(r.maxWidth=am(o))}this._lastBoundingBoxSize=n,zy(this._boundingBox.style,r)},e.prototype._resetBoundingBoxStyles=function(){zy(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){zy(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){var s=this._viewportRuler.getViewportScrollPosition();zy(n,this._getExactOverlayY(t,e,s)),zy(n,this._getExactOverlayX(t,e,s))}else n.position="static";var a="",c=this._getOffset(t,"x"),u=this._getOffset(t,"y");c&&(a+="translateX("+c+"px) "),u&&(a+="translateY("+u+"px)"),n.transform=a.trim(),o.maxHeight&&(r?n.maxHeight=am(o.maxHeight):i&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=am(o.maxWidth):i&&(n.maxWidth="")),zy(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var r={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=am(i.y),r},e.prototype._getExactOverlayX=function(e,t,n){var r={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=am(i.x),r},e.prototype._getScrollVisibility=function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:Oy(e,n),isOriginOutsideView:xy(e,n),isOverlayClipped:Oy(t,n),isOverlayOutsideView:xy(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(e,t){return e-Math.max(t,0)}),e)},e.prototype._getNarrowedViewportRect=function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}},e.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},e.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},e.prototype._getOffset=function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY},e.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(e){Iy("originX",e.originX),Ay("originY",e.originY),Iy("overlayX",e.overlayX),Ay("overlayY",e.overlayY)}))},e.prototype._addPanelClasses=function(e){var t=this;this._pane&&sm(e).forEach((function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))}))},e.prototype._clearPanelClasses=function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach((function(t){e._pane.classList.remove(t)})),this._appliedPanelClasses=[])},e.prototype._getOriginRect=function(){var e=this._origin;if(e instanceof rc)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}},e}();function zy(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Fy(e){if("number"!=typeof e&&null!=e){var t=a(e.split(Ly),2),n=t[1];return n&&"px"!==n?null:parseFloat(t[0])}return e||null}var By=function(){function e(e,t,n,r,i,o,s){this._preferredPositions=[],this._positionStrategy=new Vy(n,r,i,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}return Object.defineProperty(e.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)},e.prototype.dispose=function(){this._positionStrategy.dispose()},e.prototype.detach=function(){this._positionStrategy.detach()},e.prototype.apply=function(){this._positionStrategy.apply()},e.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},e.prototype.withScrollableContainers=function(e){this._positionStrategy.withScrollableContainers(e)},e.prototype.withFallbackPosition=function(e,t,n,r){var i=new My(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.withDirection=function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this},e.prototype.withOffsetX=function(e){return this._positionStrategy.withDefaultOffsetX(e),this},e.prototype.withOffsetY=function(e){return this._positionStrategy.withDefaultOffsetY(e),this},e.prototype.withLockedPosition=function(e){return this._positionStrategy.withLockedPosition(e),this},e.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.setOrigin=function(e){return this._positionStrategy.setOrigin(e),this},e}(),Uy=function(){function e(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return e.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},e.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},e.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},e.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},e.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},e.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},e.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},e.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},e.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},e.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),r=n.width,i=n.height,o=n.maxWidth,s=n.maxHeight,a=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==i&&"100vh"!==i||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}},e.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},e}(),qy=function(){function e(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}return e.prototype.global=function(){return new Uy},e.prototype.connectedTo=function(e,t,n){return new By(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.prototype.flexibleConnectedTo=function(e){return new Vy(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.\u0275prov=Se({factory:function(){return new e(st(ay),st(yl),st(hm),st(Dy))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(ay),st(yl),st(hm),st(Dy))},e}(),Wy=0,Hy=function(){function e(e,t,n,r,i,o,s,a,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=s,this._document=a,this._directionality=c,this._location=u}return e.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new Py(e);return i.direction=i.direction||this._directionality.value,new Ny(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},e.prototype.position=function(){return this._positionBuilder},e.prototype._createPaneElement=function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+Wy++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t},e.prototype._createHostElement=function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e},e.prototype._createPortalOutlet=function(e){return this._appRef||(this._appRef=this._injector.get(ol)),new my(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)},e.\u0275fac=function(t){return new(t||e)(st(ky),st(Dy),st(nc),st(qy),st(Ry),st(xs),st(Fu),st(yl),st(Gm),st(Rl,8))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Gy=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Qy=new Xe("cdk-connected-overlay-scroll-strategy"),Zy=function(){function e(e){this.elementRef=e}return e.\u0275fac=function(t){return new(t||e)(Bs(rc))},e.\u0275dir=At({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),Yy=function(){function e(e,t,n,r,i){this._overlay=e,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=f.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Kc,this.positionChange=new Kc,this.attach=new Kc,this.detach=new Kc,this.overlayKeydown=new Kc,this._templatePortal=new hy(t,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(e.prototype,"offsetX",{get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(e){this._lockPosition=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"push",{get:function(){return this._push},set:function(e){this._push=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},e.prototype.ngOnChanges=function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())},e.prototype._createOverlay=function(){var e=this;this.positions&&this.positions.length||(this.positions=Gy),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||Ng(t)||(t.preventDefault(),e._detachOverlay())}))},e.prototype._buildConfig=function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Py({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t},e.prototype._updatePositionStrategy=function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)},e.prototype._createPositionStrategy=function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t},e.prototype._attachOverlay=function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()},e.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(Bs(Hy),Bs(kc),Bs(Mc),Bs(Qy),Bs(Gm,8))},e.\u0275dir=At({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[Ua]}),e}(),Ky={provide:Qy,deps:[Hy],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Xy=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[Hy,Ky],imports:[[Qm,yy,uy],uy]}),e}();function Jy(e){return new M((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?K(n):$g()).subscribe(t)}))}function $y(e,t){}var eb=function(){return function(){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}}(),tb={dialogContainer:dh("dialogContainer",[gh("void, exit",fh({opacity:0,transform:"scale(0.7)"})),gh("enter",fh({transform:"none"})),vh("* => enter",ph("150ms cubic-bezier(0, 0, 0.2, 1)",fh({transform:"none",opacity:1}))),vh("* => void, * => exit",ph("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",fh({opacity:0})))])};function nb(){throw Error("Attempting to attach dialog content after content is already attached")}var rb=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s._elementRef=t,s._focusTrapFactory=n,s._changeDetectorRef=r,s._config=o,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new Kc,s.attachDomPortal=function(e){return s._portalOutlet.hasAttached()&&nb(),s._setupFocusTrap(),s._portalOutlet.attachDomPortal(e)},s._ariaLabelledBy=o.ariaLabelledBy||null,s._document=i,s}return i(t,e),t.prototype.attachComponentPortal=function(e){return this._portalOutlet.hasAttached()&&nb(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(e)},t.prototype.attachTemplatePortal=function(e){return this._portalOutlet.hasAttached()&&nb(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(e)},t.prototype._recaptureFocus=function(){this._containsFocus()||this._focusTrap.focusInitialElement()||this._elementRef.nativeElement.focus()},t.prototype._trapFocus=function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()},t.prototype._restoreFocus=function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()},t.prototype._setupFocusTrap=function(){var e=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))},t.prototype._containsFocus=function(){var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)},t.prototype._onAnimationDone=function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)},t.prototype._onAnimationStart=function(e){this._animationStateChanged.emit(e)},t.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(jm),Bs(cs),Bs(yl,8),Bs(eb))},t.\u0275cmp=Ot({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var n;1&e&&cu(vy,!0),2&e&&au(n=fu())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&ta("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(Vs("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),ja("@dialogContainer",t._state))},features:[Na],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fs(0,$y,0,0,"ng-template",0)},directives:[vy],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;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:[tb.dialogContainer]}}),t}(gy),ib=0,ob=function(){function e(e,t,n){var r=this;void 0===n&&(n="mat-dialog-"+ib++),this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new j,this._afterClosed=new j,this._beforeClosed=new j,this._state=0,t._id=n,t._animationStateChanged.pipe(Zg((function(e){return"done"===e.phaseName&&"enter"===e.toState})),em(1)).subscribe((function(){r._afterOpened.next(),r._afterOpened.complete()})),t._animationStateChanged.pipe(Zg((function(e){return"done"===e.phaseName&&"exit"===e.toState})),em(1)).subscribe((function(){clearTimeout(r._closeFallbackTimeout),r._finishDialogClose()})),e.detachments().subscribe((function(){r._beforeClosed.next(r._result),r._beforeClosed.complete(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null,r._overlayRef.dispose()})),e.keydownEvents().pipe(Zg((function(e){return 27===e.keyCode&&!r.disableClose&&!Ng(e)}))).subscribe((function(e){e.preventDefault(),r.close()})),e.backdropClick().subscribe((function(){r.disableClose?r._containerInstance._recaptureFocus():r.close()}))}return e.prototype.close=function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Zg((function(e){return"start"===e.phaseName})),em(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){return t._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1},e.prototype.afterOpened=function(){return this._afterOpened.asObservable()},e.prototype.afterClosed=function(){return this._afterClosed.asObservable()},e.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},e.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},e.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},e.prototype.updatePosition=function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this},e.prototype.updateSize=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this},e.prototype.addPanelClass=function(e){return this._overlayRef.addPanelClass(e),this},e.prototype.removePanelClass=function(e){return this._overlayRef.removePanelClass(e),this},e.prototype.getState=function(){return this._state},e.prototype._finishDialogClose=function(){this._state=2,this._overlayRef.dispose()},e.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},e}(),sb=new Xe("MatDialogData"),ab=new Xe("mat-dialog-default-options"),cb=new Xe("mat-dialog-scroll-strategy"),ub={provide:cb,deps:[Hy],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},lb=function(){function e(e,t,n,r,i,o,s){var a=this;this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new j,this._afterOpenedAtThisLevel=new j,this._ariaHiddenElements=new Map,this.afterAllClosed=Jy((function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Xm(void 0))})),this._scrollStrategy=i}return Object.defineProperty(e.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_afterAllClosed",{get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),e.prototype.open=function(e,t){var n=this;if((t=function(e,t){return o(o({},t),e)}(t,this._defaultOptions||new eb)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'+t.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(t),i=this._attachDialogContainer(r,t),s=this._attachDialogContent(e,i,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe((function(){return n._removeOpenDialog(s)})),this.afterOpened.next(s),s},e.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},e.prototype.getDialogById=function(e){return this.openDialogs.find((function(t){return t.id===e}))},e.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},e.prototype._createOverlay=function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)},e.prototype._getOverlayConfig=function(e){var t=new Py({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t},e.prototype._attachDialogContainer=function(e,t){var n=xs.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:eb,useValue:t}]}),r=new py(rb,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(r).instance},e.prototype._attachDialogContent=function(e,t,n,r){var i=new ob(n,t,r.id);if(e instanceof kc)t.attachTemplatePortal(new hy(e,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,t),s=t.attachComponentPortal(new py(e,r.viewContainerRef,o));i.componentInstance=s.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},e.prototype._createInjector=function(e,t,n){var r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:rb,useValue:n},{provide:sb,useValue:e.data},{provide:ob,useValue:t}];return!e.direction||r&&r.get(Gm,null)||i.push({provide:Gm,useValue:{value:e.direction,change:Dg()}}),xs.create({parent:r||this._injector,providers:i})},e.prototype._removeOpenDialog=function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},e.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},e.prototype._closeDialogs=function(e){for(var t=e.length;t--;)e[t].close()},e.\u0275fac=function(t){return new(t||e)(st(Hy),st(xs),st(Rl,8),st(ab,8),st(cb),st(e,12),st(Dy))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),db=0,pb=function(){function e(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+db++}return e.prototype.ngOnInit=function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))},e.\u0275fac=function(t){return new(t||e)(Bs(ob,8),Bs(rc),Bs(lb))},e.\u0275dir=At({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Ra("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),hb=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[lb,ub],imports:[[Xy,yy,iv],iv]}),e}(),fb=["underline"],gb=["connectionContainer"],mb=["inputContainer"],vb=["label"];function yb(e,t){1&e&&(Ys(0),Gs(1,"div",14),Zs(2,"div",15),Zs(3,"div",16),Zs(4,"div",17),Qs(),Gs(5,"div",18),Zs(6,"div",15),Zs(7,"div",16),Zs(8,"div",17),Qs(),Ks())}function bb(e,t){1&e&&(Gs(0,"div",19),ca(1,1),Qs())}function _b(e,t){if(1&e&&(Ys(0),ca(1,2),Gs(2,"span"),Ta(3),Qs(),Ks()),2&e){var n=oa(2);ji(3),Aa(n._control.placeholder)}}function wb(e,t){1&e&&ca(0,3,["*ngSwitchCase","true"])}function Sb(e,t){1&e&&(Gs(0,"span",23),Ta(1," *"),Qs())}function Cb(e,t){if(1&e){var n=Xs();Gs(0,"label",20,21),ea("cdkObserveContent",(function(){return ln(n),oa().updateOutlineGap()})),Fs(2,_b,4,1,"ng-container",12),Fs(3,wb,1,0,void 0,12),Fs(4,Sb,2,0,"span",22),Qs()}if(2&e){var r=oa();ba("mat-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-form-field-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-accent","accent"==r.color)("mat-warn","warn"==r.color),Ws("cdkObserveContentDisabled","outline"!=r.appearance)("id",r._labelId)("ngSwitch",r._hasLabel()),Vs("for",r._control.id)("aria-owns",r._control.id),ji(2),Ws("ngSwitchCase",!1),ji(1),Ws("ngSwitchCase",!0),ji(1),Ws("ngIf",!r.hideRequiredMarker&&r._control.required&&!r._control.disabled)}}function xb(e,t){1&e&&(Gs(0,"div",24),ca(1,4),Qs())}function Ob(e,t){if(1&e&&(Gs(0,"div",25,26),Zs(2,"span",27),Qs()),2&e){var n=oa();ji(2),ba("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function Eb(e,t){1&e&&(Gs(0,"div"),ca(1,5),Qs()),2&e&&Ws("@transitionMessages",oa()._subscriptAnimationState)}function kb(e,t){if(1&e&&(Gs(0,"div",31),Ta(1),Qs()),2&e){var n=oa(2);Ws("id",n._hintLabelId),ji(1),Aa(n.hintLabel)}}function Pb(e,t){if(1&e&&(Gs(0,"div",28),Fs(1,kb,2,2,"div",29),ca(2,6),Zs(3,"div",30),ca(4,7),Qs()),2&e){var n=oa();Ws("@transitionMessages",n._subscriptAnimationState),ji(1),Ws("ngIf",n.hintLabel)}}var Mb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Tb=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Ab=0,Ib=function(){function e(){this.id="mat-error-"+Ab++}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Vs("id",t.id)},inputs:{id:"id"}}),e}(),Rb={transitionMessages:dh("transitionMessages",[gh("enter",fh({opacity:1,transform:"translateY(0%)"})),vh("void => enter",[fh({opacity:0,transform:"translateY(-100%)"}),ph("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},jb=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e}),e}();function Db(e){return Error("A hint was already declared for 'align=\""+e+"\"'.")}var Nb=0,Lb=function(){function e(){this.align="start",this.id="mat-hint-"+Nb++}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Vs("id",t.id)("align",null),ba("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),e}(),Vb=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-label"]]}),e}(),zb=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-placeholder"]]}),e}(),Fb=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["","matPrefix",""]]}),e}(),Bb=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["","matSuffix",""]]}),e}(),Ub=0,qb=sv(function(){return function(e){this._elementRef=e}}(),"primary"),Wb=new Xe("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Hb=new Xe("MatFormField"),Gb=function(e){function t(t,n,r,i,o,s,a,c){var u=e.call(this,t)||this;return u._elementRef=t,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=s,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new j,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+Ub++,u._labelId="mat-form-field-label-"+Ub++,u._labelOptions=r||{},u.floatLabel=u._getDefaultFloatLabelState(),u._animationsEnabled="NoopAnimations"!==c,u.appearance=o&&o.appearance?o.appearance:"legacy",u._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,u}return i(t,e),Object.defineProperty(t.prototype,"appearance",{get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),t.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},t.prototype.ngAfterContentInit=function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Xm(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Kv(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Kv(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),re(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Xm(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Xm(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Kv(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))},t.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},t.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._shouldForward=function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]},t.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},t.prototype._hasLabel=function(){return!!this._labelChild},t.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},t.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},t.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},t.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},t.prototype._animateAndLockLabel=function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Bv(this._label.nativeElement,"transitionend").pipe(em(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},t.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},t.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},t.prototype._validateHints=function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(r){if("start"===r.align){if(e||n.hintLabel)throw Db("start");e=r}else if("end"===r.align){if(t)throw Db("end");t=r}}))},t.prototype._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"},t.prototype._syncDescribedByIds=function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}},t.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},t.prototype.updateOutlineGap=function(){var e,t,n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var r=0,i=0,o=this._connectionContainerRef.nativeElement,a=o.querySelectorAll(".mat-form-field-outline-start"),c=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var u=o.getBoundingClientRect();if(0===u.width&&0===u.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var l=this._getStartEnd(u),d=this._getStartEnd(n.children[0].getBoundingClientRect()),p=0;try{for(var h=s(n.children),f=h.next();!f.done;f=h.next())p+=f.value.offsetWidth}catch(m){e={error:m}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}r=Math.abs(d-l)-5,i=p>0?.75*p+10:0}for(var g=0;g<a.length;g++)a[g].style.width=r+"px";for(g=0;g<c.length;g++)c[g].style.width=i+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},t.prototype._getStartEnd=function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left},t.prototype._isAttachedToDOM=function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(cs),Bs(Av,8),Bs(Gm,8),Bs(Wb,8),Bs(hm),Bs(Fu),Bs(Ag,8))},t.\u0275cmp=Ot({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var r;1&e&&(du(n,jb,!0),pu(n,jb,!0),du(n,Vb,!0),pu(n,Vb,!0),du(n,zb,!0),du(n,Ib,!0),du(n,Lb,!0),du(n,Fb,!0),du(n,Bb,!0)),2&e&&(au(r=fu())&&(t._controlNonStatic=r.first),au(r=fu())&&(t._controlStatic=r.first),au(r=fu())&&(t._labelChildNonStatic=r.first),au(r=fu())&&(t._labelChildStatic=r.first),au(r=fu())&&(t._placeholderChild=r.first),au(r=fu())&&(t._errorChildren=r),au(r=fu())&&(t._hintChildren=r),au(r=fu())&&(t._prefixChildren=r),au(r=fu())&&(t._suffixChildren=r))},viewQuery:function(e,t){var n;1&e&&(uu(fb,!0),cu(gb,!0),uu(mb,!0),uu(vb,!0)),2&e&&(au(n=fu())&&(t.underlineRef=n.first),au(n=fu())&&(t._connectionContainerRef=n.first),au(n=fu())&&(t._inputContainerRef=n.first),au(n=fu())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&ba("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat)("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Ja([{provide:Hb,useExisting:t}]),Na],ngContentSelectors:Tb,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(aa(Mb),Gs(0,"div",0),Gs(1,"div",1,2),ea("click",(function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)})),Fs(3,yb,9,0,"ng-container",3),Fs(4,bb,2,0,"div",4),Gs(5,"div",5,6),ca(7),Gs(8,"span",7),Fs(9,Cb,5,16,"label",8),Qs(),Qs(),Fs(10,xb,2,0,"div",9),Qs(),Fs(11,Ob,3,4,"div",10),Gs(12,"div",11),Fs(13,Eb,2,1,"div",12),Fs(14,Pb,5,2,"div",13),Qs(),Qs()),2&e&&(ji(3),Ws("ngIf","outline"==t.appearance),ji(1),Ws("ngIf",t._prefixChildren.length),ji(5),Ws("ngIf",t._hasFloatingLabel()),ji(1),Ws("ngIf",t._suffixChildren.length),ji(1),Ws("ngIf","outline"!=t.appearance),ji(1),Ws("ngSwitch",t._getDisplayedMessages()),ji(1),Ws("ngSwitchCase","error"),ji(1),Ws("ngSwitchCase","hint"))},directives:[Wl,Zl,Yl,Sm],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[Rb.transitionMessages]},changeDetection:0}),t}(qb),Qb=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[nd,iv,Cm],iv]}),e}(),Zb=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[dv,iv],dv,iv]}),e}();function Yb(e){return function(t){var n=new Kb(e),r=t.lift(n);return n.caught=r}}var Kb=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Xb(e,this.selector,this.caught))},e}(),Xb=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return v(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(o){return void e.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new L(this,void 0,void 0);this.add(r);var i=W(this,n,void 0,void 0,r);i!==r&&this.add(i)}},t}(H);function Jb(e){return function(t){return t.lift(new $b(e))}}var $b=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new e_(e,this.callback))},e}(),e_=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new f(n)),r}return v(t,e),t}(C);function t_(e,t){return X(e,t,1)}var n_=function(){return function(){}}(),r_=function(){return function(){}}(),i_=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),i=r.toLowerCase(),o=e.slice(n+1).trim();t.maybeSetNormalizedName(r,i),t.headers.has(i)?t.headers.get(i).push(o):t.headers.set(i,[o])}}))}:function(){t.headers=new Map,Object.keys(e).forEach((function(n){var r=e[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(i,r),t.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,c(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter((function(e){return-1===i.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))},e}(),o_=function(){function e(){}return e.prototype.encodeKey=function(e){return s_(e)},e.prototype.encodeValue=function(e){return s_(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function s_(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var a_=function(){function e(e){var t,n,r,i=this;if(void 0===e&&(e={}),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new o_,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),i=a(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=i[0],s=i[1],c=r.get(o)||[];c.push(s),r.set(o,c)})),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((function(t){var n=e.fromObject[t];i.map.set(t,Array.isArray(n)?n:[n])}))):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)},e}();function c_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function u_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function l_(e){return"undefined"!=typeof FormData&&e instanceof FormData}var d_=function(){function e(e,t,n,r){var i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new i_),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s<t.length-1?"&":"")+o}}else this.params=new a_,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:c_(this.body)||u_(this.body)||l_(this.body)||"string"==typeof this.body?this.body:this.body instanceof a_?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body||l_(this.body)?null:u_(this.body)?this.body.type||null:c_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof a_?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),u)),new e(n,r,o,{params:u,headers:c,reportProgress:a,responseType:i,withCredentials:s})},e}(),p_=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),h_=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new i_,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),f_=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=p_.ResponseHeader,n}return i(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(h_),g_=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=p_.Response,n.body=void 0!==t.body?t.body:null,n}return i(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(h_),m_=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return i(t,e),t}(h_);function v_(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var y_=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,i=this;if(void 0===n&&(n={}),e instanceof d_)r=e;else{var o;o=n.headers instanceof i_?n.headers:new i_(n.headers);var s=void 0;n.params&&(s=n.params instanceof a_?n.params:new a_({fromObject:n.params})),r=new d_(e,t,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=Dg(r).pipe(t_((function(e){return i.handler.handle(e)})));if(e instanceof d_||"events"===n.observe)return a;var c=a.pipe(Zg((function(e){return e instanceof g_})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(G((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(G((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(G((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(G((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new a_).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,v_(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,v_(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,v_(n,t))},e.\u0275fac=function(t){return new(t||e)(st(n_))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),b_=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),__=new Xe("HTTP_INTERCEPTORS"),w_=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),S_=/^\)\]\}',?\n/,C_=function(){return function(){}}(),x_=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),O_=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new M((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=e.serializeBody(),a=null,c=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new i_(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new f_({headers:i,status:t,statusText:n,url:o})},u=function(){var t=c(),i=t.headers,o=t.status,s=t.statusText,a=t.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var d=u;u=u.replace(S_,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=d,l&&(l=!1,u={error:p,text:u})}}l?(n.next(new g_({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new m_({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},l=function(e){var t=c().url,i=new m_({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},d=!1,p=function(t){d||(n.next(c()),d=!0);var i={type:p_.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},h=function(e){var t={type:p_.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",p),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:p_.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",u),e.reportProgress&&(r.removeEventListener("progress",p),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}}))},e.\u0275fac=function(t){return new(t||e)(st(C_))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),E_=new Xe("XSRF_COOKIE_NAME"),k_=new Xe("XSRF_HEADER_NAME"),P_=function(){return function(){}}(),M_=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=zl(e,this.cookieName),this.lastCookieString=e),this.lastToken},e.\u0275fac=function(t){return new(t||e)(st(yl),st(xu),st(E_))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),T_=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e.\u0275fac=function(t){return new(t||e)(st(P_),st(k_))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),A_=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(__,[]);this.chain=t.reduceRight((function(e,t){return new b_(e,t)}),this.backend)}return this.chain.handle(e)},e.\u0275fac=function(t){return new(t||e)(st(r_),st(xs))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),I_=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:T_,useClass:w_}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:E_,useValue:e.cookieName}:[],e.headerName?{provide:k_,useValue:e.headerName}:[]]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[T_,{provide:__,useExisting:T_,multi:!0},{provide:P_,useClass:M_},{provide:E_,useValue:"XSRF-TOKEN"},{provide:k_,useValue:"X-XSRF-TOKEN"}]}),e}(),R_=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[y_,{provide:n_,useClass:A_},O_,{provide:r_,useExisting:O_},x_,{provide:C_,useExisting:x_}],imports:[[I_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}(),j_=["*"];function D_(e){return Error('Unable to find icon with the name "'+e+'"')}function N_(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+e+'".')}function L_(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+e+'".')}var V_=function(){return function(e,t){this.options=t,e.nodeName?this.svgElement=e:this.url=e}}(),z_=function(){function e(e,t,n,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return e.prototype.addSvgIcon=function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)},e.prototype.addSvgIconLiteral=function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)},e.prototype.addSvgIconInNamespace=function(e,t,n,r){return this._addSvgIconConfig(e,t,new V_(n,r))},e.prototype.addSvgIconLiteralInNamespace=function(e,t,n,r){var i=this._sanitizer.sanitize(si.HTML,n);if(!i)throw L_(n);var o=this._createSvgElementForSingleIcon(i,r);return this._addSvgIconConfig(e,t,new V_(o,r))},e.prototype.addSvgIconSet=function(e,t){return this.addSvgIconSetInNamespace("",e,t)},e.prototype.addSvgIconSetLiteral=function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)},e.prototype.addSvgIconSetInNamespace=function(e,t,n){return this._addSvgIconSetConfig(e,new V_(t,n))},e.prototype.addSvgIconSetLiteralInNamespace=function(e,t,n){var r=this._sanitizer.sanitize(si.HTML,t);if(!r)throw L_(t);var i=this._svgElementFromString(r);return this._addSvgIconSetConfig(e,new V_(i,n))},e.prototype.registerFontClassAlias=function(e,t){return void 0===t&&(t=e),this._fontCssClassesByAlias.set(e,t),this},e.prototype.classNameForFontAlias=function(e){return this._fontCssClassesByAlias.get(e)||e},e.prototype.setDefaultFontSetClass=function(e){return this._defaultFontSetClass=e,this},e.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},e.prototype.getSvgIconFromUrl=function(e){var t=this,n=this._sanitizer.sanitize(si.RESOURCE_URL,e);if(!n)throw N_(e);var r=this._cachedIconsByUrl.get(n);return r?Dg(F_(r)):this._loadSvgIconFromConfig(new V_(e)).pipe(Vg((function(e){return t._cachedIconsByUrl.set(n,e)})),G((function(e){return F_(e)})))},e.prototype.getNamedSvgIcon=function(e,t){void 0===t&&(t="");var n=B_(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):ny(D_(n))},e.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},e.prototype._getSvgFromConfig=function(e){return e.svgElement?Dg(F_(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(Vg((function(t){return e.svgElement=t})),G((function(e){return F_(e)})))},e.prototype._getSvgFromIconSetConfigs=function(e,t){var n=this,r=this._extractIconWithNameFromAnySet(e,t);return r?Dg(r):Ld(t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe(Yb((function(t){var r="Loading icon set URL: "+n._sanitizer.sanitize(si.RESOURCE_URL,e.url)+" failed: "+t.message;return n._errorHandler?n._errorHandler.handleError(new Error(r)):console.error(r),Dg(null)})))}))).pipe(G((function(){var r=n._extractIconWithNameFromAnySet(e,t);if(!r)throw D_(e);return r})))},e.prototype._extractIconWithNameFromAnySet=function(e,t){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,e,r.options);if(i)return i}}return null},e.prototype._loadSvgIconFromConfig=function(e){var t=this;return this._fetchUrl(e.url).pipe(G((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))},e.prototype._loadSvgIconSetFromConfig=function(e){var t=this;return e.svgElement?Dg(e.svgElement):this._fetchUrl(e.url).pipe(G((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))},e.prototype._createSvgElementForSingleIcon=function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n},e.prototype._extractSvgIconFromSet=function(e,t,n){var r=e.querySelector('[id="'+t+'"]');if(!r)return null;var i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(i),this._setSvgAttributes(o,n)},e.prototype._svgElementFromString=function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n},e.prototype._toSvgElement=function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,r=0;r<n.length;r++){var i=n[r],o=i.name;"id"!==o&&t.setAttribute(o,i.value)}for(r=0;r<e.childNodes.length;r++)e.childNodes[r].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[r].cloneNode(!0));return t},e.prototype._setSvgAttributes=function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e},e.prototype._fetchUrl=function(e){var t=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==e)throw Error('Cannot fetch icon from URL "'+e+'".');var n=this._sanitizer.sanitize(si.RESOURCE_URL,e);if(!n)throw N_(e);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(Jb((function(){return t._inProgressUrlFetches.delete(n)})),de());return this._inProgressUrlFetches.set(n,i),i},e.prototype._addSvgIconConfig=function(e,t,n){return this._svgIconConfigs.set(B_(e,t),n),this},e.prototype._addSvgIconSetConfig=function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this},e.\u0275prov=Se({factory:function(){return new e(st(y_,8),st(Id),st(yl,8),st(Or,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(y_,8),st(Id),st(yl,8),st(Or,8))},e}();function F_(e){return e.cloneNode(!0)}function B_(e,t){return e+":"+t}var U_=sv(function(){return function(e){this._elementRef=e}}()),q_=new Xe("mat-icon-location",{providedIn:"root",factory:function(){var e=at(yl),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),W_=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],H_=W_.map((function(e){return"["+e+"]"})).join(", "),G_=/^url\(['"]?#(.*?)['"]?\)$/,Q_=function(e){function t(t,n,r,i,o){var s=e.call(this,t)||this;return s._iconRegistry=n,s._location=i,s._errorHandler=o,s._inline=!1,s._currentIconFetch=f.EMPTY,r||t.nativeElement.setAttribute("aria-hidden","true"),s}return i(t,e),Object.defineProperty(t.prototype,"inline",{get:function(){return this._inline},set:function(e){this._inline=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSet",{get:function(){return this._fontSet},set:function(e){this._fontSet=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(e){this._fontIcon=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),t.prototype._splitIconName=function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'+e+'"')}},t.prototype.ngOnChanges=function(e){var t=this,n=e.svgIcon;if(n)if(this._currentIconFetch.unsubscribe(),this.svgIcon){var r=a(this._splitIconName(this.svgIcon),2),i=r[0],o=r[1];this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(em(1)).subscribe((function(e){return t._setSvgElement(e)}),(function(e){var n="Error retrieving icon "+i+":"+o+"! "+e.message;t._errorHandler?t._errorHandler.handleError(new Error(n)):console.error(n)}))}else n.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngAfterViewChecked=function(){var e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}},t.prototype.ngOnDestroy=function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},t.prototype._usingFontIcon=function(){return!this.svgIcon},t.prototype._setSvgElement=function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";if(this._location){var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r)}this._elementRef.nativeElement.appendChild(e)},t.prototype._clearSvgElement=function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}},t.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},t.prototype._cleanupFontValue=function(e){return"string"==typeof e?e.trim().split(" ")[0]:e},t.prototype._prependPathToReferences=function(e){var t=this._elementsWithExternalReferences;t&&t.forEach((function(t,n){t.forEach((function(t){n.setAttribute(t.name,"url('"+e+"#"+t.value+"')")}))}))},t.prototype._cacheChildrenWithExternalReferences=function(e){for(var t=e.querySelectorAll(H_),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(e){W_.forEach((function(r){var i=t[e],o=i.getAttribute(r),s=o?o.match(G_):null;if(s){var a=n.get(i);a||n.set(i,a=[]),a.push({name:r,value:s[1]})}}))},i=0;i<t.length;i++)r(i)},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(z_),Us("aria-hidden"),Bs(q_,8),Bs(Or,8))},t.\u0275cmp=Ot({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&ba("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[Na,Ua],ngContentSelectors:j_,decls:1,vars:0,template:function(e,t){1&e&&(aa(),ca(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(U_),Z_=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv],iv]}),e}(),Y_=vm({passive:!0}),K_=function(){function e(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}return e.prototype.monitor=function(e){var t=this;if(!this._platform.isBrowser)return Jg;var n=cm(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new j,o="cdk-text-field-autofilled",s=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(o)&&(n.classList.remove(o),t._ngZone.run((function(){return i.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(o),t._ngZone.run((function(){return i.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",s,Y_),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",s,Y_)}}),i.asObservable()},e.prototype.stopMonitoring=function(e){var t=cm(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))},e.prototype.ngOnDestroy=function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))},e.\u0275prov=Se({factory:function(){return new e(st(hm),st(Fu))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(hm),st(Fu))},e}(),X_=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[fm]]}),e}(),J_=new Xe("MAT_INPUT_VALUE_ACCESSOR"),$_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ew=0,tw=function(e){function t(t,n,r,i,o,s,a,c,u){var l=e.call(this,s,i,o,r)||this;l._elementRef=t,l._platform=n,l.ngControl=r,l._autofillMonitor=c,l._uid="mat-input-"+ew++,l.focused=!1,l.stateChanges=new j,l.controlType="mat-input",l.autofilled=!1,l._disabled=!1,l._required=!1,l._type="text",l._readonly=!1,l._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return mm().has(e)}));var d=l._elementRef.nativeElement,p=d.nodeName.toLowerCase();return l._inputValueAccessor=a||d,l._previousNativeValue=l.value,l.id=l.id,n.IOS&&u.runOutsideAngular((function(){t.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),l._isServer=!l._platform.isBrowser,l._isNativeSelect="select"===p,l._isTextarea="textarea"===p,l._isNativeSelect&&(l.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),l}return i(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=im(e),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&mm().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=im(e)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))},t.prototype.ngOnChanges=function(){this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},t.prototype.focus=function(e){this._elementRef.nativeElement.focus(e)},t.prototype._focusChanged=function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())},t.prototype._onInput=function(){},t.prototype._dirtyCheckNativeValue=function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())},t.prototype._validateType=function(){if($_.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},t.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},t.prototype._isBadInput=function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput},Object.defineProperty(t.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focused||this.focus()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(hm),Bs(Zd,10),Bs(Hp,8),Bs(ih,8),Bs(lv),Bs(J_,10),Bs(K_),Bs(Fu))},t.\u0275dir=At({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&ea("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(Ra("disabled",t.disabled)("required",t.required),Vs("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),ba("mat-input-server",t._isServer))},inputs:{disabled:"disabled",id:"id",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Ja([{provide:jb,useExisting:t}]),Na,Ua]}),t}(uv(function(){return function(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}}())),nw=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[lv],imports:[[X_,Qb],X_,Qb]}),e}();function rw(e,t){if(1&e&&(Dn(),Zs(0,"circle",3)),2&e){var n=oa();ya("animation-name","mat-progress-spinner-stroke-rotate-"+n.diameter)("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),Vs("r",n._circleRadius)}}function iw(e,t){if(1&e&&(Dn(),Zs(0,"circle",3)),2&e){var n=oa();ya("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),Vs("r",n._circleRadius)}}function ow(e,t){if(1&e&&(Dn(),Zs(0,"circle",3)),2&e){var n=oa();ya("animation-name","mat-progress-spinner-stroke-rotate-"+n.diameter)("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),Vs("r",n._circleRadius)}}function sw(e,t){if(1&e&&(Dn(),Zs(0,"circle",3)),2&e){var n=oa();ya("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),Vs("r",n._circleRadius)}}var aw=sv(function(){return function(e){this._elementRef=e}}(),"primary"),cw=new Xe("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),uw=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r,i,o)||this;return s.mode="indeterminate",s}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(hm),Bs(yl,8),Bs(Ag,8),Bs(cw))},t.\u0275cmp=Ot({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(ya("width",t.diameter,"px")("height",t.diameter,"px"),ba("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[Na],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(Dn(),Gs(0,"svg",0),Fs(1,ow,1,9,"circle",1),Fs(2,sw,1,7,"circle",2),Qs()),2&e&&(ya("width",t.diameter,"px")("height",t.diameter,"px"),Ws("ngSwitch","indeterminate"===t.mode),Vs("viewBox",t._viewBox),ji(1),Ws("ngSwitchCase",!0),ji(1),Ws("ngSwitchCase",!1))},directives:[Zl,Yl],styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),t}(function(e){function t(n,r,i,o,s){var a=e.call(this,n)||this;a._elementRef=n,a._document=i,a._diameter=100,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var c=t._diameters;return c.has(i.head)||c.set(i.head,new Set([100])),a._fallbackAnimation=r.EDGE||r.TRIDENT,a._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(a.diameter=s.diameter),s.strokeWidth&&(a.strokeWidth=s.strokeWidth)),a}return i(t,e),Object.defineProperty(t.prototype,"diameter",{get:function(){return this._diameter},set:function(e){this._diameter=om(e),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=om(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,om(e)))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this._elementRef.nativeElement;this._styleRoot=bm(e)||this._document.head,this._attachStyleNode(),e.classList.add("mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation")},Object.defineProperty(t.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_viewBox",{get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 "+e+" "+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),t.prototype._attachStyleNode=function(){var e=this._styleRoot,n=this._diameter,r=t._diameters,i=r.get(e);if(!i||!i.has(n)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",n+""),o.textContent=this._getAnimationText(),e.appendChild(o),i||(i=new Set,r.set(e,i)),i.add(n)}},t.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},t._diameters=new WeakMap,t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(hm),Bs(yl,8),Bs(Ag,8),Bs(cw))},t.\u0275cmp=Ot({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(Vs("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),ya("width",t.diameter,"px")("height",t.diameter,"px"),ba("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",value:"value",mode:"mode"},exportAs:["matProgressSpinner"],features:[Na],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(Dn(),Gs(0,"svg",0),Fs(1,rw,1,9,"circle",1),Fs(2,iw,1,7,"circle",2),Qs()),2&e&&(ya("width",t.diameter,"px")("height",t.diameter,"px"),Ws("ngSwitch","indeterminate"===t.mode),Vs("viewBox",t._viewBox),ji(1),Ws("ngSwitchCase",!0),ji(1),Ws("ngSwitchCase",!1))},directives:[Zl,Yl],styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),t}(aw)),lw=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv,nd],iv]}),e}(),dw=["trigger"],pw=["panel"];function hw(e,t){if(1&e&&(Gs(0,"span",8),Ta(1),Qs()),2&e){var n=oa();ji(1),Aa(n.placeholder||"\xa0")}}function fw(e,t){if(1&e&&(Gs(0,"span"),Ta(1),Qs()),2&e){var n=oa(2);ji(1),Aa(n.triggerValue||"\xa0")}}function gw(e,t){1&e&&ca(0,0,["*ngSwitchCase","true"])}function mw(e,t){1&e&&(Gs(0,"span",9),Fs(1,fw,2,1,"span",10),Fs(2,gw,1,0,void 0,11),Qs()),2&e&&(Ws("ngSwitch",!!oa().customTrigger),ji(2),Ws("ngSwitchCase",!0))}function vw(e,t){if(1&e){var n=Xs();Gs(0,"div",12),Gs(1,"div",13,14),ea("@transformPanel.done",(function(e){return ln(n),oa()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return ln(n),oa()._handleKeydown(e)})),ca(3,1),Qs(),Qs()}if(2&e){var r=oa();Ws("@transformPanelWrap",void 0),ji(1),i="mat-select-panel ",o=r._getPanelTheme(),s="",function(e,t,n,r){var i=un(),o=bn(2);i.firstUpdatePass&&Ca(i,null,o,!0);var s=cn();if(n!==Mi&&Ls(s,o,n)){var a=i.data[In()+20];if(Ma(a,!0)&&!Sa(i,o)){var c=a.classesWithoutHost;null!==c&&(n=Re(c,n||"")),Hs(i,a,s,n,!0)}else!function(e,t,n,r,i,o,s,a){i===Mi&&(i=da);for(var c=0,u=0,l=0<i.length?i[0]:null,d=0<o.length?o[0]:null;null!==l||null!==d;){var p=c<i.length?i[c+1]:void 0,h=u<o.length?o[u+1]:void 0,f=null,g=void 0;l===d?(c+=2,u+=2,p!==h&&(f=d,g=h)):null===d||null!==l&&l<d?(c+=2,f=l):(u+=2,f=d,g=h),null!==f&&Ea(e,t,n,r,f,g,!0,a),l=c<i.length?i[c]:null,d=u<o.length?o[u]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return da;var r=[],i=Ir(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),0,o)}}(vt,_a,zs(cn(),i,o,s)),ya("transform-origin",r._transformOrigin)("font-size",r._triggerFontSize,"px"),Ws("ngClass",r.panelClass)("@transformPanel",r.multiple?"showing-multiple":"showing"),Vs("id",r.id+"-panel")}var i,o,s}var yw=[[["mat-select-trigger"]],"*"],bw=["mat-select-trigger","*"],_w={transformPanelWrap:dh("transformPanelWrap",[vh("* => void",bh("@transformPanel",[yh()],{optional:!0}))]),transformPanel:dh("transformPanel",[gh("void",fh({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),gh("showing",fh({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),gh("showing-multiple",fh({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),vh("void => *",ph("120ms cubic-bezier(0, 0, 0.2, 1)")),vh("* => void",ph("100ms 25ms linear",fh({opacity:0})))])},ww=0,Sw=new Xe("mat-select-scroll-strategy"),Cw=new Xe("MAT_SELECT_CONFIG"),xw={provide:Sw,deps:[Hy],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Ow=function(){return function(e,t){this.source=e,this.value=t}}(),Ew=av(cv(ov(uv(function(){return function(e,t,n,r,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}}())))),kw=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-select-trigger"]]}),e}(),Pw=function(e){function t(t,n,r,i,o,s,a,u,l,d,p,h,f,g){var m=e.call(this,o,i,a,u,d)||this;return m._viewportRuler=t,m._changeDetectorRef=n,m._ngZone=r,m._dir=s,m._parentFormField=l,m.ngControl=d,m._liveAnnouncer=f,m._panelOpen=!1,m._required=!1,m._scrollTop=0,m._multiple=!1,m._compareWith=function(e,t){return e===t},m._uid="mat-select-"+ww++,m._destroy=new j,m._triggerFontSize=0,m._onChange=function(){},m._onTouched=function(){},m._optionIds="",m._transformOrigin="top",m._panelDoneAnimatingStream=new j,m._offsetY=0,m._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],m._disableOptionCentering=!1,m._focused=!1,m.controlType="mat-select",m.ariaLabel="",m.optionSelectionChanges=Jy((function(){var e=m.options;return e?e.changes.pipe(Xm(e),$v((function(){return re.apply(void 0,c(e.map((function(e){return e.onSelectionChange}))))}))):m._ngZone.onStable.asObservable().pipe(em(1),$v((function(){return m.optionSelectionChanges})))})),m.openedChange=new Kc,m._openedStream=m.openedChange.pipe(Zg((function(e){return e})),G((function(){}))),m._closedStream=m.openedChange.pipe(Zg((function(e){return!e})),G((function(){}))),m.selectionChange=new Kc,m.valueChange=new Kc,m.ngControl&&(m.ngControl.valueAccessor=m),m._scrollStrategyFactory=h,m._scrollStrategy=m._scrollStrategyFactory(),m.tabIndex=parseInt(p)||0,m.id=m.id,g&&(null!=g.disableOptionCentering&&(m.disableOptionCentering=g.disableOptionCentering),null!=g.typeaheadDebounceInterval&&(m.typeaheadDebounceInterval=g.typeaheadDebounceInterval)),m}return i(t,e),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused||this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=im(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadDebounceInterval",{get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=om(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._selectionModel=new iy(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Uv(),Kv(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Kv(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))},t.prototype.ngAfterContentInit=function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Kv(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Xm(null),Kv(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnChanges=function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},t.prototype.toggle=function(){this.panelOpen?this.close():this.open()},t.prototype.open=function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(em(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")})))},t.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},t.prototype.writeValue=function(e){this.options&&this._setSelectionByValue(e)},t.prototype.registerOnChange=function(e){this._onChange=e},t.prototype.registerOnTouched=function(e){this._onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),t.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},t.prototype._handleKeydown=function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))},t.prototype._handleClosedKeydown=function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,r=13===t||32===t,i=this._keyManager;if(!i.isTyping()&&r&&!Ng(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;36===t||35===t?(36===t?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault()):i.onKeydown(e);var s=this.selected;s&&o!==s&&this._liveAnnouncer.announce(s.viewValue,1e4)}},t.prototype._handleOpenKeydown=function(e){var t=this._keyManager,n=e.keyCode,r=40===n||38===n,i=t.isTyping();if(36===n||35===n)e.preventDefault(),36===n?t.setFirstItemActive():t.setLastItemActive();else if(r&&e.altKey)e.preventDefault(),this.close();else if(i||13!==n&&32!==n||!t.activeItem||Ng(e))if(!i&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var o=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(o?e.select():e.deselect())}))}else{var s=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()},t.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},t.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},t.prototype._onAttached=function(){var e=this;this.overlayDir.positionChange.pipe(em(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))},t.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),t.prototype._initializeSelection=function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))},t.prototype._setSelectionByValue=function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},t.prototype._selectValue=function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return Lr()&&console.warn(r),!1}}));return n&&this._selectionModel.select(n),n},t.prototype._initKeyManager=function(){var e=this;this._keyManager=new Mm(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Kv(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(Kv(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))},t.prototype._resetOptions=function(){var e=this,t=re(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Kv(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),re.apply(void 0,c(this.options.map((function(e){return e._stateChanges})))).pipe(Kv(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()},t.prototype._onSelect=function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,r){return e.sortComparator?e.sortComparator(n,r,t):t.indexOf(n)-t.indexOf(r)})),this.stateChanges.next()}},t.prototype._propagateChanges=function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new Ow(this,t)),this._changeDetectorRef.markForCheck()},t.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")},t.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},t.prototype._scrollActiveOptionIntoView=function(){var e,t,n,r=this._keyManager.activeItemIndex||0,i=Mv(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(r+i)*(e=this._getItemHeight()))<(t=this.panel.nativeElement.scrollTop)?n:n+e>t+256?Math.max(0,n-256+e):t},t.prototype.focus=function(e){this._elementRef.nativeElement.focus(e)},t.prototype._getOptionIndex=function(e){return this.options.reduce((function(t,n,r){return void 0!==t?t:e===n?r:void 0}),void 0)},t.prototype._calculateOverlayPosition=function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Mv(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},t.prototype._calculateOverlayScroll=function(e,t,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)},t.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},t.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},t.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},t.prototype._calculateOverlayOffsetX=function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)e=40;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var s=0-(t.left+e-(r?i:0)),a=t.right+e-n.width+(r?0:i);s>0?e+=s+8:a>0&&(e-=a+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,s=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))},t.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()},t.prototype._adjustPanelUp=function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},t.prototype._adjustPanelDown=function(e,t,n){var r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},t.prototype._getOriginBasedOnOption=function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-t+e/2)+"px 0px"},t.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},t.prototype._getItemHeight=function(){return 3*this._triggerFontSize},t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(Bs(ay),Bs(cs),Bs(Fu),Bs(lv),Bs(rc),Bs(Gm,8),Bs(Hp,8),Bs(ih,8),Bs(Hb,8),Bs(Zd,10),Us("tabindex"),Bs(Sw),Bs(Lm),Bs(Cw,8))},t.\u0275cmp=Ot({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var r;1&e&&(du(n,kw,!0),du(n,Pv,!0),du(n,xv,!0)),2&e&&(au(r=fu())&&(t.customTrigger=r.first),au(r=fu())&&(t.options=r),au(r=fu())&&(t.optionGroups=r))},viewQuery:function(e,t){var n;1&e&&(uu(dw,!0),uu(pw,!0),uu(Yy,!0)),2&e&&(au(n=fu())&&(t.trigger=n.first),au(n=fu())&&(t.panel=n.first),au(n=fu())&&(t.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&ea("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(Vs("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),ba("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",id:"id",panelClass:"panelClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ja([{provide:jb,useExisting:t},{provide:kv,useExisting:t}]),Na,Ua],ngContentSelectors:bw,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(aa(yw),Gs(0,"div",0,1),ea("click",(function(){return t.toggle()})),Gs(3,"div",2),Fs(4,hw,2,1,"span",3),Fs(5,mw,3,2,"span",4),Qs(),Gs(6,"div",5),Zs(7,"div",6),Qs(),Qs(),Fs(8,vw,4,11,"ng-template",7),ea("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var n=Xt(sn.lFrame.contextLView,1);ji(3),Ws("ngSwitch",t.empty),ji(1),Ws("ngSwitchCase",!0),ji(1),Ws("ngSwitchCase",!1),ji(3),Ws("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Zy,Zl,Yl,Yy,Kl,Fl],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[_w.transformPanelWrap,_w.transformPanel]},changeDetection:0}),t}(Ew),Mw=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[xw],imports:[[nd,Xy,Tv,iv],cy,Qb,Tv,iv]}),e}(),Tw=["*"];function Aw(e,t){if(1&e){var n=Xs();Gs(0,"div",2),ea("click",(function(){return ln(n),oa()._onBackdropClicked()})),Qs()}2&e&&ba("mat-drawer-shown",oa()._isShowingBackdrop())}function Iw(e,t){1&e&&(Gs(0,"mat-drawer-content"),ca(1,2),Qs())}var Rw=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],jw=["mat-drawer","mat-drawer-content","*"];function Dw(e,t){if(1&e){var n=Xs();Gs(0,"div",2),ea("click",(function(){return ln(n),oa()._onBackdropClicked()})),Qs()}2&e&&ba("mat-drawer-shown",oa()._isShowingBackdrop())}function Nw(e,t){1&e&&(Gs(0,"mat-sidenav-content",3),ca(1,2),Qs())}var Lw=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Vw=["mat-sidenav","mat-sidenav-content","*"],zw={transformDrawer:dh("transform",[gh("open, open-instant",fh({transform:"none",visibility:"visible"})),gh("void",fh({"box-shadow":"none",visibility:"hidden"})),vh("void => open-instant",ph("0ms")),vh("void <=> open, open-instant => void",ph("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function Fw(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var Bw=new Xe("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),Uw=new Xe("MAT_DRAWER_CONTAINER"),qw=function(e){function t(t,n,r,i,o){var s=e.call(this,r,i,o)||this;return s._changeDetectorRef=t,s._container=n,s}return i(t,e),t.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))},t.\u0275fac=function(e){return new(e||t)(Bs(cs),Bs(De((function(){return Hw}))),Bs(rc),Bs(oy),Bs(Fu))},t.\u0275cmp=Ot({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&ya("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Na],ngContentSelectors:Tw,decls:1,vars:0,template:function(e,t){1&e&&(aa(),ca(0))},encapsulation:2,changeDetection:0}),t}(sy),Ww=function(){function e(e,t,n,r,i,o,s){var a=this;this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new j,this._animationEnd=new j,this._animationState="void",this.openedChange=new Kc(!0),this._destroyed=new j,this.onPositionChanged=new Kc,this._modeChanged=new j,this.openedChange.subscribe((function(e){e?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._takeFocus()):a._restoreFocus()})),this._ngZone.runOutsideAngular((function(){Bv(a._elementRef.nativeElement,"keydown").pipe(Zg((function(e){return 27===e.keyCode&&!a.disableClose&&!Ng(e)})),Kv(a._destroyed)).subscribe((function(e){return a._ngZone.run((function(){a.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Uv((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&a.openedChange.emit(a._opened)}))}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClose",{get:function(){return this._disableClose},set:function(e){this._disableClose=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoFocus",{get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(im(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(Zg((function(e){return e})),G((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(Zg((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),G((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(Zg((function(e){return!e})),G((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(Zg((function(e){return e.fromState!==e.toState&&"void"===e.toState})),G((function(){})))},enumerable:!0,configurable:!0}),e.prototype._takeFocus=function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))},e.prototype._restoreFocus=function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},e.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()},e.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},e.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()},e.prototype.open=function(e){return this.toggle(!0,e)},e.prototype.close=function(){return this.toggle(!1)},e.prototype.toggle=function(e,t){var n=this;return void 0===e&&(e=!this.opened),void 0===t&&(t="program"),this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(e){n.openedChange.pipe(em(1)).subscribe((function(t){return e(t?"open":"close")}))}))},Object.defineProperty(e.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),e.prototype._updateFocusTrapState=function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)},e.prototype._animationStartListener=function(e){this._animationStarted.next(e)},e.prototype._animationDoneListener=function(e){this._animationEnd.next(e)},e.\u0275fac=function(t){return new(t||e)(Bs(rc),Bs(jm),Bs(Bm),Bs(hm),Bs(Fu),Bs(yl,8),Bs(Uw,8))},e.\u0275cmp=Ot({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&ta("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Vs("align",null),ja("@transform",t._animationState),ba("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:Tw,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(aa(),Gs(0,"div",0),ca(1),Qs())},encapsulation:2,data:{animation:[zw.transformDrawer]},changeDetection:0}),e}(),Hw=function(){function e(e,t,n,r,i,o,s){var a=this;void 0===o&&(o=!1),this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=s,this._drawers=new Jc,this.backdropClick=new Kc,this._destroyed=new j,this._doCheckSubject=new j,this._contentMargins={left:null,right:null},this._contentMarginChanges=new j,e&&e.change.pipe(Kv(this._destroyed)).subscribe((function(){a._validateDrawers(),a.updateContentMargins()})),i.change().pipe(Kv(this._destroyed)).subscribe((function(){return a.updateContentMargins()})),this._autosize=o}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autosize",{get:function(){return this._autosize},set:function(e){this._autosize=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollable",{get:function(){return this._userContent||this._content},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;this._allDrawers.changes.pipe(Xm(this._allDrawers),Kv(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Xm(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(Wg(10),Kv(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))},e.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()},e.prototype.open=function(){this._drawers.forEach((function(e){return e.open()}))},e.prototype.close=function(){this._drawers.forEach((function(e){return e.close()}))},e.prototype.updateContentMargins=function(){var e=this,t=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?t+=this._left._width:"push"==this._left.mode&&(t+=r=this._left._width,n-=r)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r;n+=r=this._right._width,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))},e.prototype.ngDoCheck=function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))},e.prototype._watchDrawerToggle=function(e){var t=this;e._animationStarted.pipe(Zg((function(e){return e.fromState!==e.toState})),Kv(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(Kv(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))},e.prototype._watchDrawerPosition=function(e){var t=this;e&&e.onPositionChanged.pipe(Kv(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(em(1)).subscribe((function(){t._validateDrawers()}))}))},e.prototype._watchDrawerMode=function(e){var t=this;e&&e._modeChanged.pipe(Kv(re(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))},e.prototype._setContainerClass=function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)},e.prototype._validateDrawers=function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&Fw("end"),e._end=t):(null!=e._start&&Fw("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},e.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},e.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},e.prototype._closeModalDrawer=function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))},e.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},e.prototype._canHaveBackdrop=function(e){return"side"!==e.mode||!!this._backdropOverride},e.prototype._isDrawerOpen=function(e){return null!=e&&e.opened},e.\u0275fac=function(t){return new(t||e)(Bs(Gm,8),Bs(rc),Bs(Fu),Bs(cs),Bs(ay),Bs(Bw),Bs(Ag,8))},e.\u0275cmp=Ot({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(du(n,qw,!0),du(n,Ww,!0)),2&e&&(au(r=fu())&&(t._content=r.first),au(r=fu())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&uu(qw,!0),2&e&&au(n=fu())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&ba("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ja([{provide:Uw,useExisting:e}])],ngContentSelectors:jw,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(aa(Rw),Fs(0,Aw,1,2,"div",0),ca(1),ca(2,1),Fs(3,Iw,2,0,"mat-drawer-content",1)),2&e&&(Ws("ngIf",t.hasBackdrop),ji(3),Ws("ngIf",!t._content))},directives:[Wl,qw],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e}(),Gw=function(e){function t(t,n,r,i,o){return e.call(this,t,n,r,i,o)||this}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(cs),Bs(De((function(){return Zw}))),Bs(rc),Bs(oy),Bs(Fu))},t.\u0275cmp=Ot({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&ya("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Na],ngContentSelectors:Tw,decls:1,vars:0,template:function(e,t){1&e&&(aa(),ca(0))},encapsulation:2,changeDetection:0}),t}(qw),Qw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}i(t,e),Object.defineProperty(t.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=im(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=om(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=om(e)},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=Ot({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Vs("align",null),ya("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),ba("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Na],ngContentSelectors:Tw,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(aa(),Gs(0,"div",0),ca(1),Qs())},encapsulation:2,data:{animation:[zw.transformDrawer]},changeDetection:0});var n=wr(t);return t}(Ww),Zw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=Ot({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(du(n,Gw,!0),du(n,Qw,!0)),2&e&&(au(r=fu())&&(t._content=r.first),au(r=fu())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&ba("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ja([{provide:Uw,useExisting:t}]),Na],ngContentSelectors:Vw,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(aa(Lw),Fs(0,Dw,1,2,"div",0),ca(1),ca(2,1),Fs(3,Nw,2,0,"mat-sidenav-content",1)),2&e&&(Ws("ngIf",t.hasBackdrop),ji(3),Ws("ngIf",!t._content))},directives:[Wl,Gw,sy],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0});var n=wr(t);return t}(Hw),Yw=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[nd,iv,fm,cy],cy,iv]}),e}(),Kw=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[nd,iv],iv]}),e}(),Xw=["*",[["mat-toolbar-row"]]],Jw=["*","mat-toolbar-row"],$w=sv(function(){return function(e){this._elementRef=e}}()),eS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=At({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),tS=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i._platform=n,i._document=r,i}return i(t,e),t.prototype.ngAfterViewInit=function(){var e=this;Lr()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))},t.prototype._checkToolbarMixedModes=function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(hm),Bs(yl))},t.\u0275cmp=Ot({type:t,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r;1&e&&du(n,eS,!0),2&e&&au(r=fu())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&ba("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Na],ngContentSelectors:Jw,decls:2,vars:0,template:function(e,t){1&e&&(aa(Xw),ca(0),ca(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),t}($w),nS=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[iv],iv]}),e}(),rS={};function iS(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return N(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),ne(e,r).lift(new sS(n))}var oS,sS=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new aS(e,this.resultSelector))},e}(),aS=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return v(t,e),t.prototype._next=function(e){this.values.push(rS),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(W(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,i){var o=this.values,s=this.toRespond?o[n]===rS?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(H),cS=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new uS(e,this.total))},e}(),uS=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return v(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(C),lS=new Set,dS=function(){function e(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):pS}return e.prototype.matchMedia=function(e){return this._platform.WEBKIT&&function(e){if(!lS.has(e))try{oS||((oS=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(oS)),oS.sheet&&(oS.sheet.insertRule("@media "+e+" {.fx-query-test{ }}",0),lS.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)},e.\u0275prov=Se({factory:function(){return new e(st(hm))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(hm))},e}();function pS(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var hS=function(){function e(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new j}return e.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},e.prototype.isMatched=function(e){var t=this;return fS(sm(e)).some((function(e){return t._registerQuery(e).mql.matches}))},e.prototype.observe=function(e){var t=this,n=iS(fS(sm(e)).map((function(e){return t._registerQuery(e).observable})));return(n=Km(n.pipe(em(1)),n.pipe((function(e){return e.lift(new cS(1))}),Wg(0)))).pipe(G((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))},e.prototype._registerQuery=function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),r={observable:new M((function(e){var r=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Xm(n),G((function(t){return{query:e,matches:t.matches}})),Kv(this._destroySubject)),mql:n};return this._queries.set(e,r),r},e.\u0275prov=Se({factory:function(){return new e(st(dS),st(Fu))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(dS),st(Fu))},e}();function fS(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var gS={tooltipState:dh("state",[gh("initial, void, hidden",fh({opacity:0,transform:"scale(0)"})),gh("visible",fh({transform:"scale(1)"})),vh("* => visible",ph("200ms cubic-bezier(0, 0, 0.2, 1)",mh([fh({opacity:0,transform:"scale(0)",offset:0}),fh({opacity:.5,transform:"scale(0.99)",offset:.5}),fh({opacity:1,transform:"scale(1)",offset:1})]))),vh("* => hidden",ph("100ms cubic-bezier(0, 0, 0.2, 1)",fh({opacity:0})))])},mS=vm({passive:!0});function vS(e){return Error('Tooltip position "'+e+'" is invalid.')}var yS=new Xe("mat-tooltip-scroll-strategy"),bS={provide:yS,deps:[Hy],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},_S=new Xe("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),wS=function(){function e(e,t,n,r,i,o,s,a,c,u,l,d){var p=this;this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._platform=o,this._ariaDescriber=s,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new j,this._handleKeydown=function(e){p._isTooltipVisible()&&27===e.keyCode&&!Ng(e)&&(e.preventDefault(),e.stopPropagation(),p._ngZone.run((function(){return p.hide(0)})))},this._scrollStrategy=c,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),a.monitor(t).pipe(Kv(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),i.runOutsideAngular((function(){t.nativeElement.addEventListener("keydown",p._handleKeydown)}))}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=im(e),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._setupPointerEvents()},e.prototype.ngOnDestroy=function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,mS)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)},e.prototype.show=function(e){var t=this;if(void 0===e&&(e=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new py(SS,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Kv(this._destroyed)).subscribe((function(){return t._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}},e.prototype.hide=function(e){void 0===e&&(e=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(e)},e.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},e.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},e.prototype._createOverlay=function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(Kv(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Kv(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef},e.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},e.prototype._updatePosition=function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([o(o({},t.main),n.main),o(o({},t.fallback),n.fallback)])},e.prototype._getOrigin=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw vS(n);e={originX:"end",originY:"center"}}var r=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:r.x,originY:r.y}}},e.prototype._getOverlayPosition=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw vS(n);e={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:r.x,overlayY:r.y}}},e.prototype._updateTooltipMessage=function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(em(1),Kv(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))},e.prototype._setTooltipClass=function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())},e.prototype._invertPosition=function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}},e.prototype._setupPointerEvents=function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,mS)}))},e.prototype._disableNativeGesturesIfNecessary=function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")},e.\u0275fac=function(t){return new(t||e)(Bs(Hy),Bs(rc),Bs(oy),Bs(Mc),Bs(Fu),Bs(hm),Bs(Pm),Bs(Bm),Bs(yS),Bs(Gm,8),Bs(_S,8),Bs(rc))},e.\u0275dir=At({type:e,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e}(),SS=function(){function e(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new j,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return e.prototype.show=function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)},e.prototype.hide=function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)},e.prototype.afterHidden=function(){return this._onHide.asObservable()},e.prototype.isVisible=function(){return"visible"===this._visibility},e.prototype.ngOnDestroy=function(){this._onHide.complete()},e.prototype._animationStart=function(){this._closeOnInteraction=!1},e.prototype._animationDone=function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)},e.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},e.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},e.\u0275fac=function(t){return new(t||e)(Bs(cs),Bs(hS))},e.\u0275cmp=Ot({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&ea("click",(function(){return t._handleBodyInteraction()}),!1,rr),2&e&&ya("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;1&e&&(Gs(0,"div",0),ea("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),Zc(1,"async"),Ta(2),Qs()),2&e&&(ba("mat-tooltip-handset",null==(n=Yc(1,5,t._isHandset))?null:n.matches),Ws("ngClass",t.tooltipClass)("@state",t._visibility),ji(2),Aa(t.message))},directives:[Fl],pipes:[td],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[gS.tooltipState]},changeDetection:0}),e}(),CS=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[bS],imports:[[Wm,nd,Xy,iv],iv,cy]}),e}();function xS(e,t){if(1&e){var n=Xs();Gs(0,"div",1),Gs(1,"button",2),ea("click",(function(){return ln(n),oa().action()})),Ta(2),Qs(),Qs()}if(2&e){var r=oa();ji(2),Aa(r.data.action)}}function OS(e,t){}var ES=Math.pow(2,31)-1,kS=function(){function e(e,t){var n=this;this._overlayRef=t,this._afterDismissed=new j,this._afterOpened=new j,this._onAction=new j,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe((function(){return n.dismiss()})),e._onExit.subscribe((function(){return n._finishDismiss()}))}return e.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},e.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},e.prototype.closeWithAction=function(){this.dismissWithAction()},e.prototype._dismissAfter=function(e){var t=this;this._durationTimeoutId=setTimeout((function(){return t.dismiss()}),Math.min(e,ES))},e.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},e.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},e.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},e.prototype.afterOpened=function(){return this.containerInstance._onEnter},e.prototype.onAction=function(){return this._onAction.asObservable()},e}(),PS=new Xe("MatSnackBarData"),MS=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),TS=function(){function e(e,t){this.snackBarRef=e,this.data=t}return e.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(e.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(Bs(kS),Bs(PS))},e.\u0275cmp=Ot({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(Gs(0,"span"),Ta(1),Qs(),Fs(2,xS,3,1,"div",0)),2&e&&(ji(1),Aa(t.data.message),ji(1),Ws("ngIf",t.hasAction))},directives:[Wl,Vv],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e}(),AS={snackBarState:dh("state",[gh("void, hidden",fh({transform:"scale(0.8)",opacity:0})),gh("visible",fh({transform:"scale(1)",opacity:1})),vh("* => visible",ph("150ms cubic-bezier(0, 0, 0.2, 1)")),vh("* => void, * => hidden",ph("75ms cubic-bezier(0.4, 0.0, 1, 1)",fh({opacity:0})))])},IS=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._ngZone=t,o._elementRef=n,o._changeDetectorRef=r,o.snackBarConfig=i,o._destroyed=!1,o._onExit=new j,o._onEnter=new j,o._animationState="void",o.attachDomPortal=function(e){return o._assertNotAttached(),o._applySnackBarClasses(),o._portalOutlet.attachDomPortal(e)},o._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert",o}return i(t,e),t.prototype.attachComponentPortal=function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)},t.prototype.attachTemplatePortal=function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)},t.prototype.onAnimationEnd=function(e){var t=e.toState;if(("void"===t&&"void"!==e.fromState||"hidden"===t)&&this._completeExit(),"visible"===t){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}},t.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},t.prototype.exit=function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit},t.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},t.prototype._completeExit=function(){var e=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(em(1)).subscribe((function(){e._onExit.next(),e._onExit.complete()}))},t.prototype._applySnackBarClasses=function(){var e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach((function(t){return e.classList.add(t)})):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")},t.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},t.\u0275fac=function(e){return new(e||t)(Bs(Fu),Bs(rc),Bs(cs),Bs(MS))},t.\u0275cmp=Ot({type:t,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&cu(vy,!0),2&e&&au(n=fu())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(e,t){1&e&&ta("@state.done",(function(e){return t.onAnimationEnd(e)})),2&e&&(Vs("role",t._role),ja("@state",t._animationState))},features:[Na],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fs(0,OS,0,0,"ng-template",0)},directives:[vy],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[AS.snackBarState]}}),t}(gy),RS=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[Xy,yy,nd,zv,iv],iv]}),e}(),jS=new Xe("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new MS}}),DS=function(){function e(e,t,n,r,i,o){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}return Object.defineProperty(e.prototype,"_openedSnackBarRef",{get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e},enumerable:!0,configurable:!0}),e.prototype.openFromComponent=function(e,t){return this._attach(e,t)},e.prototype.openFromTemplate=function(e,t){return this._attach(e,t)},e.prototype.open=function(e,t,n){void 0===t&&(t="");var r=o(o({},this._defaultConfig),n);return r.data={message:e,action:t},r.announcementMessage||(r.announcementMessage=e),this.openFromComponent(TS,r)},e.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},e.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},e.prototype._attachSnackBarContainer=function(e,t){var n=new by(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[MS,t]])),r=new py(IS,t.viewContainerRef,n),i=e.attach(r);return i.instance.snackBarConfig=t,i.instance},e.prototype._attach=function(e,t){var n=o(o(o({},new MS),this._defaultConfig),t),r=this._createOverlay(n),i=this._attachSnackBarContainer(r,n),s=new kS(i,r);if(e instanceof kc){var a=new hy(e,null,{$implicit:n.data,snackBarRef:s});s.instance=i.attachTemplatePortal(a)}else{var c=this._createInjector(n,s),u=(a=new py(e,void 0,c),i.attachComponentPortal(a));s.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(Kv(r.detachments())).subscribe((function(e){var t=r.overlayElement.classList;e.matches?t.add("mat-snack-bar-handset"):t.remove("mat-snack-bar-handset")})),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef},e.prototype._animateSnackBar=function(e,t){var n=this;e.afterDismissed().subscribe((function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){e.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe((function(){return e._dismissAfter(t.duration)})),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)},e.prototype._createOverlay=function(e){var t=new Py;t.direction=e.direction;var n=this._overlay.position().global(),r="rtl"===e.direction,i="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,o=!i&&"center"!==e.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)},e.prototype._createInjector=function(e,t){return new by(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[kS,t],[PS,e.data]]))},e.\u0275prov=Se({factory:function(){return new e(st(Hy),st(Lm),st(Je),st(hS),st(e,12),st(jS))},token:e,providedIn:RS}),e.\u0275fac=function(t){return new(t||e)(st(Hy),st(Lm),st(xs),st(hS),st(e,12),st(jS))},e}(),NS=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return v(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(j),LS=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}();function VS(e){return function(t){return 0===e?$g():t.lift(new zS(e))}}var zS=function(){function e(e){if(this.total=e,this.total<0)throw new Xg}return e.prototype.call=function(e,t){return t.subscribe(new FS(e,this.total))},e}(),FS=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return v(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()},t}(C);function BS(e){return void 0===e&&(e=WS),function(t){return t.lift(new US(e))}}var US=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new qS(e,this.errorFactory))},e}(),qS=function(e){function t(t,n){var r=e.call(this,t)||this;return r.errorFactory=n,r.hasValue=!1,r}return v(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(C);function WS(){return new LS}function HS(e){return void 0===e&&(e=null),function(t){return t.lift(new GS(e))}}var GS=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new QS(e,this.defaultValue))},e}(),QS=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return v(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(C);function ZS(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Zg((function(t,n){return e(t,n,r)})):E,VS(1),n?HS(t):BS((function(){return new LS})))}}function YS(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Zg((function(t,n){return e(t,n,r)})):E,em(1),n?HS(t):BS((function(){return new LS})))}}var KS=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new XS(e,this.predicate,this.thisArg,this.source))},e}(),XS=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return v(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(C);function JS(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new $S(e,t,n))}}var $S=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new eC(e,this.accumulator,this.seed,this.hasSeed))},e}(),eC=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return v(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(C),tC=function(){return function(e,t){this.id=e,this.url=t}}(),nC=function(e){function t(t,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=e.call(this,t,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(tC),rC=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(tC),iC=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.reason=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(tC),oC=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.error=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(tC),sC=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(tC),aC=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(tC),cC=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n)||this;return s.urlAfterRedirects=r,s.state=i,s.shouldActivate=o,s}return i(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(tC),uC=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(tC),lC=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(tC),dC=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),pC=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),hC=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),fC=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),gC=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),mC=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),vC=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),yC=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ot({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Zs(0,"router-outlet")},directives:function(){return[wO]},encapsulation:2}),e}(),bC=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function _C(e){return new bC(e)}function wC(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function SC(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var CC=function(){return function(e,t){this.routes=e,this.module=t}}();function xC(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];OC(r,EC(t,r))}}function OC(e,t){if(!e)throw new Error("\n Invalid configuration of route '"+t+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&xC(e.children,t)}function EC(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function kC(e){var t=e.children&&e.children.map(kC),n=t?o(o({},e),{children:t}):o({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=yC),n}function PC(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(!MC(e[n=r[o]],t[n]))return!1;return!0}function MC(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function TC(e){return Array.prototype.concat.apply([],e)}function AC(e){return e.length>0?e[e.length-1]:null}function IC(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function RC(e){return $s(e)?e:Js(e)?K(Promise.resolve(e)):Dg(e)}function jC(e,t,n){return n?function(e,t){return PC(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!VC(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return MC(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!VC(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!VC(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!VC(n.segments,s)&&!!n.children.primary&&t(n.children.primary,r,a)}(t,n,n.segments)}(e.root,t.root)}var DC=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_C(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return UC.serialize(this)},e}(),NC=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,IC(t,(function(e,t){return e.parent=n}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return qC(this)},e}(),LC=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=_C(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return YC(this)},e}();function VC(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function zC(e,t){var n=[];return IC(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),IC(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var FC=function(){return function(){}}(),BC=function(){function e(){}return e.prototype.parse=function(e){var t=new ex(e);return new DC(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return qC(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return IC(t.children,(function(t,n){"primary"!==n&&i.push(n+":"+e(t,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=zC(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:[r+":"+e(n,!1)]}));return qC(t)+"/("+o.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return HC(e)+"="+HC(t)})).join("&"):HC(e)+"="+HC(n)}))).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),UC=new BC;function qC(e){return e.segments.map((function(e){return YC(e)})).join("/")}function WC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function HC(e){return WC(e).replace(/%3B/gi,";")}function GC(e){return WC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function QC(e){return decodeURIComponent(e)}function ZC(e){return QC(e.replace(/\+/g,"%20"))}function YC(e){return""+GC(e.path)+(t=e.parameters,Object.keys(t).map((function(e){return";"+GC(e)+"="+GC(t[e])})).join(""));var t}var KC=/^[^\/()?;=#]+/;function XC(e){var t=e.match(KC);return t?t[0]:""}var JC=/^[^=?&#]+/,$C=/^[^?&#]+/,ex=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new NC([],{}):new NC([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new NC(e,t)),n},e.prototype.parseSegment=function(){var e=XC(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new LC(QC(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=XC(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=XC(this.remaining);r&&this.capture(n=r)}e[QC(t)]=QC(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(JC))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(e){var t=e.match($C);return t?t[0]:""}(this.remaining);i&&this.capture(r=i)}var o=ZC(n),s=ZC(r);if(e.hasOwnProperty(o)){var a=e[o];Array.isArray(a)||(e[o]=a=[a]),a.push(s)}else e[o]=s}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=XC(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new NC([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),tx=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=nx(e,this._root);return t?t.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var t=nx(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=rx(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))},e.prototype.pathFromRoot=function(e){return rx(e,this._root).map((function(e){return e.value}))},e}();function nx(e,t){var n,r;if(e===t.value)return t;try{for(var i=s(t.children),o=i.next();!o.done;o=i.next()){var a=nx(e,o.value);if(a)return a}}catch(c){n={error:c}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function rx(e,t){var n,r;if(e===t.value)return[t];try{for(var i=s(t.children),o=i.next();!o.done;o=i.next()){var a=rx(e,o.value);if(a.length)return a.unshift(t),a}}catch(c){n={error:c}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var ix=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function ox(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var sx=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,px(r,t),r}return i(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(tx);function ax(e,t){var n=function(e,t){var n=new lx([],{},{},"",{},"primary",t,null,e.root,-1,{});return new dx("",new ix(n,[]))}(e,t),r=new NS([new LC("",{})]),i=new NS({}),o=new NS({}),s=new NS({}),a=new NS(""),c=new cx(r,i,s,a,o,"primary",t,n.root);return c.snapshot=n.root,new sx(new ix(c,[]),n)}var cx=function(){function e(e,t,n,r,i,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(G((function(e){return _C(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G((function(e){return _C(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function ux(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:o(o({},e.params),t.params),data:o(o({},e.data),t.data),resolve:o(o({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var lx=function(){function e(e,t,n,r,i,o,s,a,c,u,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=_C(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=_C(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),dx=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,px(r,n),r}return i(t,e),t.prototype.toString=function(){return hx(this._root)},t}(tx);function px(e,t){t.value._routerState=e,t.children.forEach((function(t){return px(e,t)}))}function hx(e){var t=e.children.length>0?" { "+e.children.map(hx).join(", ")+" } ":"";return""+e.value+t}function fx(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,PC(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),PC(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!PC(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),PC(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function gx(e,t){var n,r;return PC(e.params,t.params)&&VC(n=e.url,r=t.url)&&n.every((function(e,t){return PC(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||gx(e.parent,t.parent))}function mx(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function vx(e,t,n,r,i){var o={};return r&&IC(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new DC(n.root===e?t:function e(t,n,r){var i={};return IC(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new NC(t.segments,i)}(n.root,e,t),o,i)}var yx=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&mx(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==AC(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),bx=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function _x(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function wx(e,t,n){if(e||(e=new NC([],{})),0===e.segments.length&&e.hasChildren())return Sx(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return o;var s=e.segments[i],a=_x(n[r]),c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Ex(a,c,s))return o;r+=2}else{if(!Ex(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new NC(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new NC(e.segments.slice(r.pathIndex),e.children),Sx(o,0,i)}return r.match&&0===i.length?new NC(e.segments,{}):r.match&&!e.hasChildren()?Cx(e,t,n):r.match?Sx(e,0,i):Cx(e,t,n)}function Sx(e,t,n){if(0===n.length)return new NC(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={}).primary=e,t):void 0===e[0].outlets?((n={}).primary=e,n):e[0].outlets}(n),i={};return IC(r,(function(n,r){null!==n&&(i[r]=wx(e.children[r],t,n))})),IC(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new NC(e.segments,i)}function Cx(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=xx(n[i].outlets);return new NC(r,o)}if(0===i&&mx(n[0]))r.push(new LC(e.segments[t].path,n[0])),i++;else{var s=_x(n[i]),a=i<n.length-1?n[i+1]:null;s&&a&&mx(a)?(r.push(new LC(s,Ox(a))),i+=2):(r.push(new LC(s,{})),i++)}}return new NC(r,{})}function xx(e){var t={};return IC(e,(function(e,n){null!==e&&(t[n]=Cx(new NC([],{}),0,e))})),t}function Ox(e){var t={};return IC(e,(function(e,n){return t[n]=""+e})),t}function Ex(e,t,n){return e==n.path&&PC(t,n.parameters)}var kx=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),fx(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,i=ox(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),IC(i,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=ox(e),o=e.value.component?r.children:t;IC(i,(function(e,t){return n.deactivateRouteAndItsChildren(e,o)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,i=ox(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new mC(e.value.snapshot))})),e.children.length&&this.forwardEvent(new fC(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(fx(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Px(s.route)}else{var a=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),c=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=c,o.outlet&&o.outlet.activateWith(r,c),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,n)},e}();function Px(e){fx(e.value),e.children.forEach(Px)}function Mx(e){return"function"==typeof e}function Tx(e){return e instanceof DC}var Ax=function(){return function(e){this.segmentGroup=e||null}}(),Ix=function(){return function(e){this.urlTree=e}}();function Rx(e){return new M((function(t){return t.error(new Ax(e))}))}function jx(e){return new M((function(t){return t.error(new Ix(e))}))}function Dx(e){return new M((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))}))}var Nx=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(dt)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(G((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(Yb((function(t){if(t instanceof Ix)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Ax)throw e.noMatchError(t);throw t})))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(G((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(Yb((function(e){if(e instanceof Ax)throw t.noMatchError(e);throw e})))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,i=e.segments.length>0?new NC([],((r={}).primary=e,r)):e;return new DC(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(G((function(e){return new NC([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Dg({});var o=[],s=[],a={};return IC(n,(function(n,i){var c,u,l=(c=i,u=n,r.expandSegmentGroup(e,t,u,c)).pipe(G((function(e){return a[i]=e})));"primary"===i?o.push(l):s.push(l)})),Dg.apply(null,o.concat(s)).pipe(Ym(),ZS(),G((function(){return a})))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,i,o){var s=this;return Dg.apply(void 0,c(n)).pipe(G((function(a){return s.expandSegmentAgainstRoute(e,t,n,a,r,i,o).pipe(Yb((function(e){if(e instanceof Ax)return Dg(null);throw e})))})),Ym(),YS((function(e){return!!e})),Yb((function(e,n){if(e instanceof LS||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,r,i))return Dg(new NC([],{}));throw new Ax(t)}throw e})))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,s){return Fx(r)!==o?Rx(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Rx(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?jx(o):this.lineralizeSegments(n,o).pipe(X((function(n){var o=new NC(n,{});return i.expandSegment(e,o,t,n,r,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){var s=this,a=Lx(t,r,i),c=a.consumedSegments,u=a.lastChild,l=a.positionalParamSegments;if(!a.matched)return Rx(t);var d=this.applyRedirectCommands(c,r.redirectTo,l);return r.redirectTo.startsWith("/")?jx(d):this.lineralizeSegments(r,d).pipe(X((function(r){return s.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(G((function(e){return n._loadedConfig=e,new NC(r,{})}))):Dg(new NC(r,{}));var a=Lx(t,n,r),c=a.consumedSegments,u=a.lastChild;if(!a.matched)return Rx(t);var l=r.slice(u);return this.getChildConfig(e,n,r).pipe(X((function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return zx(e,t,n)&&"primary"!==Fx(n)}))}(e,n,r)?{segmentGroup:Vx(new NC(t,function(e,t){var n,r,i={};i.primary=t;try{for(var o=s(e),a=o.next();!a.done;a=o.next()){var c=a.value;""===c.path&&"primary"!==Fx(c)&&(i[Fx(c)]=new NC([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new NC(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return zx(e,t,n)}))}(e,n,r)?{segmentGroup:Vx(new NC(e.segments,function(e,t,n,r){var i,a,c={};try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var d=l.value;zx(e,t,d)&&!r[Fx(d)]&&(c[Fx(d)]=new NC([],{}))}}catch(p){i={error:p}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return o(o({},r),c)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,c,l,r),u=a.segmentGroup,d=a.slicedSegments;return 0===d.length&&u.hasChildren()?i.expandChildren(n,r,u).pipe(G((function(e){return new NC(c,e)}))):0===r.length&&0===d.length?Dg(new NC(c,{})):i.expandSegment(n,u,r,d,"primary",!0).pipe(G((function(e){return new NC(c.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Dg(new CC(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Dg(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?K(i).pipe(G((function(r){var i,o=e.get(r);if(function(e){return e&&Mx(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Mx(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return RC(i)}))).pipe(Ym(),(r=function(e){return!0===e},function(e){return e.lift(new KS(r,void 0,e))})):Dg(!0)}(e.injector,t,n).pipe(X((function(n){return n?r.configLoader.load(e.injector,t).pipe(G((function(e){return t._loadedConfig=e,e}))):function(e){return new M((function(t){return t.error(wC("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))}))}(t)}))):Dg(new CC([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Dg(n);if(r.numberOfChildren>1||!r.children.primary)return Dx(e.redirectTo);r=r.children.primary}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new DC(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return IC(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n},e.prototype.createSegmentGroup=function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),s={};return IC(t.children,(function(t,o){s[o]=i.createSegmentGroup(e,t,n,r)})),new NC(o,s)},e.prototype.createSegments=function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,i=0;try{for(var o=s(t),a=o.next();!a.done;a=o.next()){var c=a.value;if(c.path===e.path)return t.splice(i),c;i++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e},e}();function Lx(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||SC)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Vx(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new NC(e.segments.concat(t.segments),t.children)}return e}function zx(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Fx(e){return e.outlet||"primary"}var Bx=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),Ux=function(){return function(e,t){this.component=e,this.route=t}}();function qx(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Wx(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=ox(t);return e.children.forEach((function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!VC(e.url,t.url);case"pathParamsOrQueryParamsChange":return!VC(e.url,t.url)||!PC(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gx(e,t)||!PC(e.queryParams,t.queryParams);case"paramsChange":default:return!gx(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Bx(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Wx(e,t,o.component?a?a.children:null:n,r,i),c&&i.canDeactivateChecks.push(new Ux(a&&a.outlet&&a.outlet.component||null,s))}else s&&Hx(t,a,i),i.canActivateChecks.push(new Bx(r)),Wx(e,null,o.component?a?a.children:null:n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]})),IC(o,(function(e,t){return Hx(e,n.getContext(t),i)})),i}function Hx(e,t,n){var r=ox(e),i=e.value;IC(r,(function(e,r){Hx(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new Ux(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Gx=Symbol("INITIAL_VALUE");function Qx(){return $v((function(e){return iS.apply(void 0,c(e.map((function(e){return e.pipe(em(1),Xm(Gx))})))).pipe(JS((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Gx)return e;if(r===Gx&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Tx(r))return r}return e}),e)}),Gx),Zg((function(e){return e!==Gx})),G((function(e){return Tx(e)?e:!0===e})),em(1))}))}function Zx(e,t){return null!==e&&t&&t(new gC(e)),Dg(!0)}function Yx(e,t){return null!==e&&t&&t(new hC(e)),Dg(!0)}function Kx(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Dg(r.map((function(r){return Jy((function(){var i,o=qx(r,t,n);if(function(e){return e&&Mx(e.canActivate)}(o))i=RC(o.canActivate(t,e));else{if(!Mx(o))throw new Error("Invalid CanActivate guard");i=RC(o(t,e))}return i.pipe(YS())}))}))).pipe(Qx()):Dg(!0)}function Xx(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Jy((function(){return Dg(t.guards.map((function(i){var o,s=qx(i,t.node,n);if(function(e){return e&&Mx(e.canActivateChild)}(s))o=RC(s.canActivateChild(r,e));else{if(!Mx(s))throw new Error("Invalid CanActivateChild guard");o=RC(s(r,e))}return o.pipe(YS())}))).pipe(Qx())}))}));return Dg(i).pipe(Qx())}var Jx=function(){return function(){}}(),$x=function(){function e(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=nO(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new lx([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ix(n,t),i=new dx(this.url,r);return this.inheritParamsAndData(i._root),Dg(i)}catch(s){return new M((function(e){return e.error(s)}))}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=ux(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,i=zC(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[e.value.outlet]=e.value})),function(e){e.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)}))}(i),i},e.prototype.processSegment=function(e,t,n,r){var i,o;try{for(var a=s(e),c=a.next();!c.done;c=a.next()){var u=c.value;try{return this.processSegmentAgainstRoute(u,t,n,r)}catch(l){if(!(l instanceof Jx))throw l}}}catch(d){i={error:d}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new Jx},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new Jx;if((e.outlet||"primary")!==r)throw new Jx;var i,s=[],a=[];if("**"===e.path){var c=n.length>0?AC(n).parameters:{};i=new lx(n,c,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,oO(e),r,e.component,e,eO(t),tO(t)+n.length,sO(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Jx;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||SC)(n,e,t);if(!r)throw new Jx;var i={};IC(r.posParams,(function(e,t){i[t]=e.path}));var s=r.consumed.length>0?o(o({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(t,e,n);s=u.consumedSegments,a=n.slice(u.lastChild),i=new lx(s,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,oO(e),r,e.component,e,eO(t),tO(t)+s.length,sO(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),d=nO(t,s,a,l,this.relativeLinkResolution),p=d.segmentGroup,h=d.slicedSegments;if(0===h.length&&p.hasChildren()){var f=this.processChildren(l,p);return[new ix(i,f)]}if(0===l.length&&0===h.length)return[new ix(i,[])];var g=this.processSegment(l,p,h,"primary");return[new ix(i,g)]},e}();function eO(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function tO(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function nO(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return rO(e,t,n)&&"primary"!==iO(n)}))}(e,n,r)){var a=new NC(t,function(e,t,n,r){var i,o,a={};a.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var c=s(n),u=c.next();!u.done;u=c.next()){var l=u.value;if(""===l.path&&"primary"!==iO(l)){var d=new NC([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,a[iO(l)]=d}}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a}(e,t,r,new NC(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return rO(e,t,n)}))}(e,n,r)){var c=new NC(e.segments,function(e,t,n,r,i,a){var c,u,l={};try{for(var d=s(r),p=d.next();!p.done;p=d.next()){var h=p.value;if(rO(e,n,h)&&!i[iO(h)]){var f=new NC([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===a?e.segments.length:t.length,l[iO(h)]=f}}}catch(g){c={error:g}}finally{try{p&&!p.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return o(o({},i),l)}(e,t,n,r,e.children,i));return c._sourceSegment=e,c._segmentIndexShift=t.length,{segmentGroup:c,slicedSegments:n}}var u=new NC(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}function rO(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function iO(e){return e.outlet||"primary"}function oO(e){return e.data||{}}function sO(e){return e.resolve||{}}function aO(e,t,n,r){var i=qx(e,t,r);return RC(i.resolve?i.resolve(t,n):i(t,n))}function cO(e){return function(t){return t.pipe($v((function(t){var n=e(t);return n?K(n).pipe(G((function(){return t}))):K([t])})))}}var uO=function(){return function(){}}(),lO=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),dO=new Xe("ROUTES"),pO=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(G((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new CC(TC(i.injector.get(dO)).map(kC),i)})))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?K(this.loader.load(e)):RC(e()).pipe(X((function(e){return e instanceof pt?Dg(e):K(t.compiler.compileModuleAsync(e))})))},e}(),hO=function(){return function(){}}(),fO=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function gO(e){throw e}function mO(e,t,n){return t.parse("/")}function vO(e,t){return Dg(null)}var yO=function(){function e(e,t,n,r,i,o,s,a){var c=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=gO,this.malformedUriErrorHandler=mO,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vO,afterPreactivation:vO},this.urlHandlingStrategy=new fO,this.routeReuseStrategy=new lO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(dt),this.console=i.get(Eu);var u=i.get(Fu);this.isNgZoneEnabled=u instanceof Fu,this.resetConfig(a),this.currentUrlTree=new DC(new NC([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pO(o,s,(function(e){return c.triggerEvent(new dC(e))}),(function(e){return c.triggerEvent(new pC(e))})),this.routerState=ax(this.currentUrlTree,this.rootComponentType),this.transitions=new NS({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Zg((function(e){return 0!==e.id})),G((function(e){return o(o({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),$v((function(e){var r,i,a,c=!1,u=!1;return Dg(e).pipe(Vg((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?o(o({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),$v((function(e){var r,i,s,a,c=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Dg(e).pipe($v((function(e){var r=t.transitions.getValue();return n.next(new nC(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Jg:[e]})),$v((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,s=t.urlSerializer,a=t.config,function(e){return e.pipe($v((function(e){return function(e,t,n,r,i){return new Nx(e,t,n,r,i).apply()}(r,i,s,e.extractedUrl,a).pipe(G((function(t){return o(o({},e),{urlAfterRedirects:t})})))})))}),Vg((function(e){t.currentNavigation=o(o({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,s){return function(r){return r.pipe(X((function(r){return function(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new $x(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,s).pipe(G((function(e){return o(o({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Vg((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Vg((function(e){var r=new sC(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,l=e.source,d=e.restoredState,p=e.extras,h=new nC(e.id,t.serializeUrl(u),l,d);n.next(h);var f=ax(u,t.rootComponentType).snapshot;return Dg(o(o({},e),{targetSnapshot:f,urlAfterRedirects:u,extras:o(o({},p),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Jg})),cO((function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Vg((function(e){var n=new aC(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),G((function(e){return o(o({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,s=n._root,Wx(s,r?r._root:null,i,[s.value]))});var n,r,i,s})),function(e,t){return function(n){return n.pipe(X((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,s=n.guards,a=s.canActivateChecks,c=s.canDeactivateChecks;return 0===c.length&&0===a.length?Dg(o(o({},n),{guardsResult:!0})):function(e,t,n,r){return K(e).pipe(X((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Dg(o.map((function(o){var s,a=qx(o,t,i);if(function(e){return e&&Mx(e.canDeactivate)}(a))s=RC(a.canDeactivate(e,t,n,r));else{if(!Mx(a))throw new Error("Invalid CanDeactivate guard");s=RC(a(e,t,n,r))}return s.pipe(YS())}))).pipe(Qx()):Dg(!0)}(e.component,e.route,n,t,r)})),YS((function(e){return!0!==e}),!0))}(c,r,i,e).pipe(X((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return K(t).pipe(t_((function(t){return K([Yx(t.route.parent,r),Zx(t.route,r),Xx(e,t.path,n),Kx(e,t.route,n)]).pipe(Ym(),YS((function(e){return!0!==e}),!0))})),YS((function(e){return!0!==e}),!0))}(r,a,e,t):Dg(n)})),G((function(e){return o(o({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Vg((function(e){if(Tx(e.guardsResult)){var n=wC('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}})),Vg((function(e){var n=new cC(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Zg((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new iC(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),cO((function(e){if(e.guards.canActivateChecks.length)return Dg(e).pipe(Vg((function(e){var n=new uC(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(X((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?K(i).pipe(t_((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Dg({});if(1===i.length){var o=i[0];return aO(e[o],t,n,r).pipe(G((function(e){var t;return(t={})[o]=e,t})))}var s={};return K(i).pipe(X((function(i){return aO(e[i],t,n,r).pipe(G((function(e){return s[i]=e,e})))}))).pipe(ZS(),G((function(){return s})))}(e._resolve,e,t,r).pipe(G((function(t){return e._resolvedData=t,e.data=o(o({},e.data),ux(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return k(JS(e,t),VS(1),HS(t))(n)}:function(t){return k(JS((function(t,n,r){return e(t,n,r+1)})),VS(1))(t)}}((function(e,t){return e})),G((function(t){return e}))):Dg(e)})))}),Vg((function(e){var n=new lC(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),cO((function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),G((function(e){var n,r,i,a=(i=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var i=function(t,n,r){return n.children.map((function(n){var i,o;try{for(var a=s(r.children),c=a.next();!c.done;c=a.next()){var u=c.value;if(t.shouldReuseRoute(u.value.snapshot,n.value))return e(t,n,u)}}catch(l){i={error:l}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return e(t,n)}))}(t,n,r);return new ix(u,i)}var o=t.retrieve(n.value);if(o){var a=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,a),a}var c,u=new cx(new NS((c=n.value).url),new NS(c.params),new NS(c.queryParams),new NS(c.fragment),new NS(c.data),c.outlet,c.component,c);return i=n.children.map((function(n){return e(t,n)})),new ix(u,i)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(r=e.currentRouterState)?r._root:void 0),new sx(i,n));return o(o({},e),{targetRouterState:a})})),Vg((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(r=t.rootContexts,i=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},G((function(e){return new kx(i,e.targetRouterState,e.currentRouterState,a).activate(r),e}))),Vg({next:function(){c=!0},complete:function(){c=!0}}),Jb((function(){if(!c&&!u){t.resetUrlToCurrentUrlTree();var r=new iC(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}t.currentNavigation=null})),Yb((function(r){if(u=!0,(a=r)&&a.ngNavigationCancelingError){var i=Tx(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new iC(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),i?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var s=new oC(e.id,t.serializeUrl(e.extractedUrl),r);n.next(s);try{e.resolve(t.errorHandler(r))}catch(c){e.reject(c)}}var a;return Jg})))})))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},e.prototype.setTransition=function(e){this.transitions.next(o(o({},this.getTransition()),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){xC(e),this.config=e.map(kC),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,i=t.fragment,s=t.preserveQueryParams,a=t.queryParamsHandling,u=t.preserveFragment;Lr()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,d=u?this.currentUrlTree.fragment:i,p=null;if(a)switch(a){case"merge":p=o(o({},this.currentUrlTree.queryParams),r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=s?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,i){if(0===n.length)return vx(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new yx(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return IC(r.outlets,(function(e,t){o[t]="string"==typeof e?e.split("/"):e})),c(e,[{outlets:o}])}if(r.segmentPath)return c(e,[r.segmentPath])}return"string"!=typeof r?c(e,[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):c(e,[r])}),[]);return new yx(n,t,r)}(n);if(o.toRoot())return vx(t.root,new NC([],{}),t,r,i);var s=function(e,t,n){if(e.isAbsolute)return new bx(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new bx(n.snapshot._urlSegment,!0,0);var r=mx(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new bx(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?Sx(s.segmentGroup,s.index,o.commands):wx(s.segmentGroup,s.index,o.commands);return vx(s.segmentGroup,a,t,r,i)}(l,this.currentUrlTree,e,p,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Lr()&&this.isNgZoneEnabled&&!Fu.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Tx(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(Tx(e))return jC(this.currentUrlTree,e,t);var n=this.parseUrl(e);return jC(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new rC(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))},e.prototype.scheduleNavigation=function(e,t,n,r,i){var o,s,a,c=this.getTransition();if(c&&"imperative"!==t&&"imperative"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"hashchange"==t&&"popstate"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"popstate"==t&&"hashchange"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);i?(o=i.resolve,s=i.reject,a=i.promise):a=new Promise((function(e,t){o=e,s=t}));var u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((function(e){return Promise.reject(e)}))},e.prototype.setBrowserUrl=function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",o(o({},r),{navigationId:n})):this.location.go(i,"",o(o({},r),{navigationId:n}))},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e.\u0275fac=function(e){qs()},e.\u0275dir=At({type:e}),e}(),bO=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new _O,this.attachRef=null}}(),_O=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new bO,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),wO=function(){function e(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Kc,this.deactivateEvents=new Kc,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new SO(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e.\u0275fac=function(t){return new(t||e)(Bs(_O),Bs(Mc),Bs(nc),Us("name"),Bs(cs))},e.\u0275dir=At({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e}(),SO=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===cx?this.route:e===_O?this.childContexts:this.parent.get(e,t)},e}(),CO=function(){return function(){}}(),xO=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Yb((function(){return Dg(null)})))},e}(),OO=function(){function e(){}return e.prototype.preload=function(e,t){return Dg(null)},e}(),EO=function(){function e(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new pO(t,n,(function(t){return e.triggerEvent(new dC(t))}),(function(t){return e.triggerEvent(new pC(t))}))}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(Zg((function(e){return e instanceof rC})),t_((function(){return e.preload()}))).subscribe((function(){}))},e.prototype.preload=function(){var e=this.injector.get(dt);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,i=[];try{for(var o=s(t),a=o.next();!a.done;a=o.next()){var c=a.value;if(c.loadChildren&&!c.canLoad&&c._loadedConfig){var u=c._loadedConfig;i.push(this.processRoutes(u.module,u.routes))}else c.loadChildren&&!c.canLoad?i.push(this.preloadConfig(e,c)):c.children&&i.push(this.processRoutes(e,c.children))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return K(i).pipe(te(),G((function(e){})))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(X((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))},e.\u0275fac=function(t){return new(t||e)(st(yO),st(al),st(Nu),st(xs),st(CO))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),kO=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe((function(t){t instanceof nC?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof rC&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe((function(t){t instanceof vC&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new vC(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e.\u0275fac=function(e){qs()},e.\u0275dir=At({type:e}),e}(),PO=new Xe("ROUTER_CONFIGURATION"),MO=new Xe("ROUTER_FORROOT_GUARD"),TO=[Rl,{provide:FC,useClass:BC},{provide:yO,useFactory:function(e,t,n,r,i,o,s,a,c,u){void 0===a&&(a={});var l=new yO(null,e,t,n,r,i,o,TC(s));if(c&&(l.urlHandlingStrategy=c),u&&(l.routeReuseStrategy=u),a.errorHandler&&(l.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(l.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){var d=ml();l.events.subscribe((function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()}))}return a.onSameUrlNavigation&&(l.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(l.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(l.relativeLinkResolution=a.relativeLinkResolution),l},deps:[FC,_O,Rl,xs,al,Nu,dO,PO,[hO,new me],[uO,new me]]},_O,{provide:cx,useFactory:function(e){return e.routerState.root},deps:[yO]},{provide:al,useClass:ll},EO,OO,xO,{provide:PO,useValue:{enableTracing:!1}}];function AO(){return new el("Router",yO)}var IO=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[TO,NO(e),{provide:MO,useFactory:DO,deps:[[yO,new me,new ye]]},{provide:PO,useValue:n||{}},{provide:Pl,useFactory:jO,deps:[bl,[new ge(Tl),new me],PO]},{provide:kO,useFactory:RO,deps:[yO,sd,PO]},{provide:CO,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:OO},{provide:el,multi:!0,useFactory:AO},[LO,{provide:yu,multi:!0,useFactory:VO,deps:[LO]},{provide:FO,useFactory:zO,deps:[LO]},{provide:Ou,multi:!0,useExisting:FO}]]}},e.forChild=function(e){return{ngModule:t,providers:[NO(e)]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(MO,8),st(yO,8))}}),e}();function RO(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new kO(e,t,n)}function jO(e,t,n){return void 0===n&&(n={}),n.useHash?new Il(e,t):new Al(e,t)}function DO(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function NO(e){return[{provide:Os,multi:!0,useValue:e},{provide:dO,multi:!0,useValue:e}]}var LO=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new j}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(wl,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(yO),i=e.injector.get(PO);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Dg(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))},e.prototype.bootstrapListener=function(e){var t=this.injector.get(PO),n=this.injector.get(EO),r=this.injector.get(kO),i=this.injector.get(yO),o=this.injector.get(ol);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e.\u0275fac=function(t){return new(t||e)(st(xs))},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function VO(e){return e.appInitializer.bind(e)}function zO(e){return e.bootstrapListener.bind(e)}var FO=new Xe("Router Initializer"),BO=function(e){var t=e.length,n=e.separator,r=e.style;this.dictionaries=e.dictionaries,this.separator=n,this.length=t,this.style=r};BO.prototype.generate=function(){var e=this;if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error("The length cannot be bigger than the number of dictionaries.\nLength provided: "+this.length+". Number of dictionaries provided: "+this.dictionaries.length);return this.dictionaries.slice(0,this.length).reduce((function(t,n){var r=n[Math.floor(Math.random()*n.length)]||"";if("lowerCase"===e.style)r=r.toLowerCase();else if("capital"===e.style){var i=r.split(""),o=i[0],s=i.slice(1);r=o.toUpperCase()+s.join("")}else"upperCase"===e.style&&(r=r.toUpperCase());return t?""+t+e.separator+r:""+r}),"")};var UO={separator:"_",length:3,dictionaries:[]},qO=["average","big","colossal","fat","giant","gigantic","great","huge","immense","large","little","long","mammoth","massive","miniature","petite","puny","short","small","tall","tiny","boiling","breezy","broken","bumpy","chilly","cold","cool","creepy","crooked","cuddly","curly","damaged","damp","dirty","dry","dusty","filthy","flaky","fluffy","wet","broad","chubby","crooked","curved","deep","flat","high","hollow","low","narrow","round","shallow","skinny","square","steep","straight","wide","ancient","brief","early","fast","late","long","modern","old","quick","rapid","short","slow","swift","young","abundant","empty","few","heavy","light","many","numerous","Sound","cooing","deafening","faint","harsh","hissing","hushed","husky","loud","melodic","moaning","mute","noisy","purring","quiet","raspy","resonant","screeching","shrill","silent","soft","squealing","thundering","voiceless","whispering","bitter","delicious","fresh","juicy","ripe","rotten","salty","sour","spicy","stale","sticky","strong","sweet","tasteless","tasty","thirsty","fluttering","fuzzy","greasy","grubby","hard","hot","icy","loose","melted","plastic","prickly","rainy","rough","scattered","shaggy","shaky","sharp","shivering","silky","slimy","slippery","smooth","soft","solid","steady","sticky","tender","tight","uneven","weak","wet","wooden","afraid","angry","annoyed","anxious","arrogant","ashamed","awful","bad","bewildered","bored","combative","condemned","confused","creepy","cruel","dangerous","defeated","defiant","depressed","disgusted","disturbed","eerie","embarrassed","envious","evil","fierce","foolish","frantic","frightened","grieving","helpless","homeless","hungry","hurt","ill","jealous","lonely","mysterious","naughty","nervous","obnoxious","outrageous","panicky","repulsive","scary","scornful","selfish","sore","tense","terrible","thoughtless","tired","troubled","upset","uptight","weary","wicked","worried","agreeable","amused","brave","calm","charming","cheerful","comfortable","cooperative","courageous","delightful","determined","eager","elated","enchanting","encouraging","energetic","enthusiastic","excited","exuberant","fair","faithful","fantastic","fine","friendly","funny","gentle","glorious","good","happy","healthy","helpful","hilarious","jolly","joyous","kind","lively","lovely","lucky","obedient","perfect","pleasant","proud","relieved","silly","smiling","splendid","successful","thoughtful","victorious","vivacious","witty","wonderful","zealous","zany","other","good","new","old","great","high","small","different","large","local","social","important","long","young","national","british","right","early","possible","big","little","political","able","late","general","full","far","low","public","available","bad","main","sure","clear","major","economic","only","likely","real","black","particular","international","special","difficult","certain","open","whole","white","free","short","easy","strong","european","central","similar","human","common","necessary","single","personal","hard","private","poor","financial","wide","foreign","simple","recent","concerned","american","various","close","fine","english","wrong","present","royal","natural","individual","nice","french","following","current","modern","labour","legal","happy","final","red","normal","serious","previous","total","prime","significant","industrial","sorry","dead","specific","appropriate","top","soviet","basic","military","original","successful","aware","hon","popular","heavy","professional","direct","dark","cold","ready","green","useful","effective","western","traditional","scottish","german","independent","deep","interesting","considerable","involved","physical","left","hot","existing","responsible","complete","medical","blue","extra","past","male","interested","fair","essential","beautiful","civil","primary","obvious","future","environmental","positive","senior","nuclear","annual","relevant","huge","rich","commercial","safe","regional","practical","official","separate","key","chief","regular","due","additional","active","powerful","complex","standard","impossible","light","warm","middle","fresh","sexual","front","domestic","actual","united","technical","ordinary","cheap","strange","internal","excellent","quiet","soft","potential","northern","religious","quick","very","famous","cultural","proper","broad","joint","formal","limited","conservative","lovely","usual","ltd","unable","rural","initial","substantial","christian","bright","average","leading","reasonable","immediate","suitable","equal","detailed","working","overall","female","afraid","democratic","growing","sufficient","scientific","eastern","correct","inc","irish","expensive","educational","mental","dangerous","critical","increased","familiar","unlikely","double","perfect","slow","tiny","dry","historical","thin","daily","southern","increasing","wild","alone","urban","empty","married","narrow","liberal","supposed","upper","apparent","tall","busy","bloody","prepared","russian","moral","careful","clean","attractive","japanese","vital","thick","alternative","fast","ancient","elderly","rare","external","capable","brief","wonderful","grand","typical","entire","grey","constant","vast","surprised","ideal","terrible","academic","funny","minor","pleased","severe","ill","corporate","negative","permanent","weak","brown","fundamental","odd","crucial","inner","used","criminal","contemporary","sharp","sick","near","roman","massive","unique","secondary","parliamentary","african","unknown","subsequent","angry","alive","guilty","lucky","enormous","well","communist","yellow","unusual","net","tough","dear","extensive","glad","remaining","agricultural","alright","healthy","italian","principal","tired","efficient","comfortable","chinese","relative","friendly","conventional","willing","sudden","proposed","voluntary","slight","valuable","dramatic","golden","temporary","federal","keen","flat","silent","indian","worried","pale","statutory","welsh","dependent","firm","wet","competitive","armed","radical","outside","acceptable","sensitive","living","pure","global","emotional","sad","secret","rapid","adequate","fixed","sweet","administrative","wooden","remarkable","comprehensive","surprising","solid","rough","mere","mass","brilliant","maximum","absolute","tory","electronic","visual","electric","cool","spanish","literary","continuing","supreme","chemical","genuine","exciting","written","stupid","advanced","extreme","classical","fit","favourite","socialist","widespread","confident","straight","catholic","proud","numerous","opposite","distinct","mad","helpful","given","disabled","consistent","anxious","nervous","awful","stable","constitutional","satisfied","conscious","developing","strategic","holy","smooth","dominant","remote","theoretical","outstanding","pink","pretty","clinical","minimum","honest","impressive","related","residential","extraordinary","plain","visible","accurate","distant","still","greek","complicated","musical","precise","gentle","broken","live","silly","fat","tight","monetary","round","psychological","violent","unemployed","inevitable","junior","sensible","grateful","pleasant","dirty","structural","welcome","deaf","above","continuous","blind","overseas","mean","entitled","delighted","loose","occasional","evident","desperate","fellow","universal","square","steady","classic","equivalent","intellectual","victorian","level","ultimate","creative","lost","medieval","clever","linguistic","convinced","judicial","raw","sophisticated","asleep","vulnerable","illegal","outer","revolutionary","bitter","changing","australian","native","imperial","strict","wise","informal","flexible","collective","frequent","experimental","spiritual","intense","rational","ethnic","generous","inadequate","prominent","logical","bare","historic","modest","dutch","acute","electrical","valid","weekly","gross","automatic","loud","reliable","mutual","liable","multiple","ruling","curious","arab","sole","jewish","managing","pregnant","latin","nearby","exact","underlying","identical","satisfactory","marginal","distinctive","electoral","urgent","presidential","controversial","oral","everyday","encouraging","organic","continued","expected","statistical","desirable","innocent","improved","exclusive","marked","experienced","unexpected","superb","sheer","disappointed","frightened","gastric","capitalist","romantic","naked","reluctant","magnificent","convenient","established","closed","uncertain","artificial","diplomatic","tremendous","marine","mechanical","retail","institutional","mixed","required","biological","known","functional","straightforward","superior","digital","spectacular","unhappy","confused","unfair","aggressive","spare","painful","abstract","asian","associated","legislative","monthly","intelligent","hungry","explicit","nasty","just","faint","coloured","ridiculous","amazing","comparable","successive","realistic","back","decent","unnecessary","flying","random","influential","dull","genetic","neat","marvellous","crazy","damp","giant","secure","bottom","skilled","subtle","elegant","brave","lesser","parallel","steep","intensive","casual","tropical","lonely","partial","preliminary","concrete","alleged","assistant","vertical","upset","delicate","mild","occupational","excessive","progressive","iraqi","exceptional","integrated","striking","continental","okay","harsh","combined","fierce","handsome","characteristic","chronic","compulsory","interim","objective","splendid","magic","systematic","obliged","payable","fun","horrible","primitive","fascinating","ideological","metropolitan","surrounding","estimated","peaceful","premier","operational","technological","kind","advisory","hostile","precious","gay","accessible","determined","excited","impressed","provincial","smart","endless","isolated","drunk","geographical","like","dynamic","boring","forthcoming","unfortunate","definite","super","notable","indirect","stiff","wealthy","awkward","lively","neutral","artistic","content","mature","colonial","ambitious","evil","magnetic","verbal","legitimate","sympathetic","empirical","head","shallow","vague","naval","depressed","shared","added","shocked","mid","worthwhile","qualified","missing","blank","absent","favourable","polish","israeli","developed","profound","representative","enthusiastic","dreadful","rigid","reduced","cruel","coastal","peculiar","racial","ugly","swiss","crude","extended","selected","eager","feminist","canadian","bold","relaxed","corresponding","running","planned","applicable","immense","allied","comparative","uncomfortable","conservation","productive","beneficial","bored","charming","minimal","mobile","turkish","orange","rear","passive","suspicious","overwhelming","fatal","resulting","symbolic","registered","neighbouring","calm","irrelevant","patient","compact","profitable","rival","loyal","moderate","distinguished","interior","noble","insufficient","eligible","mysterious","varying","managerial","molecular","olympic","linear","prospective","printed","parental","diverse","elaborate","furious","fiscal","burning","useless","semantic","embarrassed","inherent","philosophical","deliberate","awake","variable","promising","unpleasant","varied","sacred","selective","inclined","tender","hidden","worthy","intermediate","sound","protective","fortunate","slim","islamic","defensive","divine","stuck","driving","invisible","misleading","circular","mathematical","inappropriate","liquid","persistent","solar","doubtful","manual","architectural","intact","incredible","devoted","prior","tragic","respectable","optimistic","convincing","unacceptable","decisive","competent","spatial","respective","binding","relieved","nursing","toxic","select","redundant","integral","then","probable","amateur","fond","passing","specified","territorial","horizontal","inland","cognitive","regulatory","miserable","resident","polite","scared","marxist","gothic","civilian","instant","lengthy","adverse","korean","unconscious","anonymous","aesthetic","orthodox","static","unaware","costly","fantastic","foolish","fashionable","causal","compatible","wee","implicit","dual","ok","cheerful","subjective","forward","surviving","exotic","purple","cautious","visiting","aggregate","ethical","protestant","teenage","dying","disastrous","delicious","confidential","underground","thorough","grim","autonomous","atomic","frozen","colourful","injured","uniform","ashamed","glorious","wicked","coherent","rising","shy","novel","balanced","delightful","arbitrary","adjacent","psychiatric","worrying","weird","unchanged","rolling","evolutionary","intimate","sporting","disciplinary","formidable","lexical","noisy","gradual","accused","homeless","supporting","coming","renewed","excess","retired","rubber","chosen","outdoor","embarrassing","preferred","bizarre","appalling","agreed","imaginative","governing","accepted","vocational","palestinian","mighty","puzzled","worldwide","handicapped","organisational","sunny","eldest","eventual","spontaneous","vivid","rude","faithful","ministerial","innovative","controlled","conceptual","unwilling","civic","meaningful","disturbing","alive","brainy","breakable","busy","careful","cautious","clever","concerned","crazy","curious","dead","different","difficult","doubtful","easy","famous","fragile","helpful","helpless","important","impossible","innocent","inquisitive","modern","open","outstanding","poor","powerful","puzzled","real","rich","shy","sleepy","stupid","super","tame","uninterested","wandering","wild","wrong","adorable","alert","average","beautiful","blonde","bloody","blushing","bright","clean","clear","cloudy","colorful","crowded","cute","dark","drab","distinct","dull","elegant","fancy","filthy","glamorous","gleaming","graceful","grotesque","homely","light","misty","motionless","muddy","plain","poised","quaint","shiny","smoggy","sparkling","spotless","stormy","strange","ugly","unsightly","unusual","bad","better","beautiful","big","black","blue","bright","clumsy","crazy","dizzy","dull","fat","frail","friendly","funny","great","green","gigantic","gorgeous","grumpy","handsome","happy","horrible","itchy","jittery","jolly","kind","long","lazy","magnificent","magenta","many","mighty","mushy","nasty","new","nice","nosy","nutty","nutritious","odd","orange","ordinary","pretty","precious","prickly","purple","quaint","quiet","quick","quickest","rainy","rare","ratty","red","roasted","robust","round","sad","scary","scrawny","short","silly","stingy","strange","striped","spotty","tart","tall","tame","tan","tender","testy","tricky","tough","ugly","ugliest","vast","watery","wasteful","wonderful","yellow","yummy","zany"],WO=["canidae","felidae","cat","cattle","dog","donkey","goat","horse","pig","rabbit","aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","capybara","cardinal","caribou","carp","cat","catshark","caterpillar","catfish","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","cicada","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragonfly","dragon","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","gamefowl","galliform","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","urial","vicuna","viper","vole","vulture","wallaby","walrus","wasp","warbler","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra","alpaca","cat","cattle","chicken","dog","donkey","ferret","gayal","goldfish","guppy","horse","koi","llama","sheep","yak","unicorn"],HO=["amaranth","amber","amethyst","apricot","aqua","aquamarine","azure","beige","black","blue","blush","bronze","brown","chocolate","coffee","copper","coral","crimson","cyan","emerald","fuchsia","gold","gray","green","harlequin","indigo","ivory","jade","lavender","lime","magenta","maroon","moccasin","olive","orange","peach","pink","plum","purple","red","rose","salmon","sapphire","scarlet","silver","tan","teal","tomato","turquoise","violet","white","yellow"];function GO(e,t){1&e&&(Gs(0,"div",18),Ta(1," Room name is "),Gs(2,"strong"),Ta(3,"required"),Qs(),Qs())}function QO(e,t){1&e&&(Gs(0,"div",19),Ta(1," Room name is "),Gs(2,"strong"),Ta(3,"too short!"),Qs(),Qs())}var ZO=function(){function e(e,t){this.router=e,this.formBuilder=t,this.version=n("kiQV").version}return e.prototype.ngOnInit=function(){var e=function(e){var t=Object.assign({},UO,e,{dictionaries:[].concat(e&&e.dictionaries||UO.dictionaries)});if(!e||!e.dictionaries||!e.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new BO(t).generate()}({dictionaries:[qO,HO,WO],separator:"-"});this.roomForm=new Fp(e,[np.minLength(4),np.required])},e.prototype.goToVideoCall=function(){if(this.roomForm.valid){var e=this.roomForm.value.replace(/ /g,"-");this.roomForm.setValue(e),this.router.navigate(["/",e])}},e.\u0275fac=function(t){return new(t||e)(Bs(yO),Bs(sh))},e.\u0275cmp=Ot({type:e,selectors:[["app-home"]],decls:28,vars:5,consts:[[1,"section1"],["id","header"],["href","https://openvidu.io/","target","_blank"],["id","header_img","alt","OpenVidu Logo","src","assets/images/openvidu_logo.png"],[1,"ovVersion"],[1,"container"],[1,"ovInfo"],["alt","OpenVidu Logo","src","assets/images/openvidu_vert_white_bg_trans_cropped.png",1,"ovLogo"],[1,"formContainer"],["class","roomError","id","requiredNameError",4,"ngIf"],["class","roomError","id","shortNameError",4,"ngIf"],["novalidate","",3,"formGroup","ngSubmit"],[1,"joinForm"],["matInput","","type","text","autocomplete","off","id","roomInput",1,"inputForm",3,"formControl"],["type","submit","id","joinButton",1,"joinButton"],[1,"footer"],["rel","noopener noreferrer","target","_blank","href","https://unsplash.com/@danielleone?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"],["href","https://unsplash.com/s/photos/mountain?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText","target","_blank"],["id","requiredNameError",1,"roomError"],["id","shortNameError",1,"roomError"]],template:function(e,t){1&e&&(Gs(0,"div",0),Gs(1,"mat-toolbar",1),Gs(2,"a",2),Zs(3,"img",3),Qs(),Gs(4,"div",4),Gs(5,"span"),Ta(6),Qs(),Qs(),Qs(),Gs(7,"div",5),Gs(8,"div",6),Zs(9,"img",7),Gs(10,"h4"),Ta(11,"Videoconference rooms in one click"),Qs(),Qs(),Gs(12,"div",8),Fs(13,GO,4,0,"div",9),Fs(14,QO,4,0,"div",10),Gs(15,"form",11),ea("ngSubmit",(function(){return t.goToVideoCall()})),Gs(16,"div",12),Zs(17,"input",13),Gs(18,"button",14),Ta(19,"JOIN"),Qs(),Qs(),Qs(),Qs(),Qs(),Gs(20,"mat-toolbar",15),Gs(21,"span"),Ta(22," Photo by "),Gs(23,"a",16),Ta(24," Daniel Leone "),Qs(),Ta(25," on "),Gs(26,"a",17),Ta(27," Unsplash "),Qs(),Qs(),Qs(),Qs()),2&e&&(ji(6),Aa(t.version),ji(7),Ws("ngIf",t.roomForm.hasError("required")),ji(1),Ws("ngIf",t.roomForm.hasError("minlength")),ji(1),Ws("formGroup",t.roomForm),ji(2),Ws("formControl",t.roomForm))},directives:[tS,Wl,$p,Xd,ih,tw,Wd,Kd,nh],styles:[".section1[_ngcontent-%COMP%]{background:url(/assets/images/bg.jpg) top no-repeat;background-size:cover;height:100%;text-align:center;position:relative;color:#fff}#header[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%]{background-color:transparent;color:#fff}.roomError[_ngcontent-%COMP%]{font-size:16px;color:#c01515}.footer[_ngcontent-%COMP%]{position:absolute;bottom:0;font-size:9px;height:auto}.footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}#header_img[_ngcontent-%COMP%]{max-width:200px;margin-right:10px;margin-top:10px}.ovVersion[_ngcontent-%COMP%]{position:absolute;right:5px;font-size:16px;font-weight:700}.ovLogo[_ngcontent-%COMP%]{margin:auto}#card_content[_ngcontent-%COMP%]{height:50%}h4[_ngcontent-%COMP%]{font-size:25px;font-weight:500;color:#fff;position:relative;padding-bottom:5px}#room_card[_ngcontent-%COMP%]{color:#303030;position:inherit;max-width:700px;width:75%;margin:auto;background:hsla(0,0%,86.7%,.856)}#room_card[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin:auto;padding:0 5px}@media only screen and (max-width:600px){#header_img[_ngcontent-%COMP%], .footer[_ngcontent-%COMP%], .ovVersion[_ngcontent-%COMP%]{display:none}.joinForm[_ngcontent-%COMP%], .ovLogo[_ngcontent-%COMP%]{max-width:80%}.inputForm[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{font-size:16px}}.container[_ngcontent-%COMP%]{position:relative;width:100%;padding:100px 0;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.formContainer[_ngcontent-%COMP%]{font-size:20px;text-align:center}.joinForm[_ngcontent-%COMP%]{min-width:300px;margin:10px auto;max-width:50%;background:#fff;padding:6px 10px;position:relative;border-radius:10px 5px 10px 0;text-align:left}.inputForm[_ngcontent-%COMP%]{border:0;padding:4px 8px;font-size:17px;width:calc(100% - 90px);outline:none;caret-color:#000;color:#303030}.joinButton[_ngcontent-%COMP%]{position:absolute;top:0;right:-2px;bottom:0;border:0;background:none;font-size:16px;font-weight:700;padding:0 20px;background:#00ad4e;color:#fff;border-radius:0 5px 10px 0;transition:.3s;box-shadow:0 2px 15px rgba(0,0,0,.1);margin:0}.joinButton[_ngcontent-%COMP%]:hover{background:#009242}@media only screen and (min-width:600px){.ovLogo[_ngcontent-%COMP%]{max-width:75%}}@media only screen and (min-width:992px){.ovLogo[_ngcontent-%COMP%]{max-width:60%}.inputForm[_ngcontent-%COMP%]{font-size:20px!important}}@media only screen and (min-width:1200px){.section1[_ngcontent-%COMP%]{background-attachment:fixed}.ovLogo[_ngcontent-%COMP%]{max-width:50%}}"]}),e}(),YO=function(){function e(){}return e.prototype.updateLayout=function(){var e=this;setTimeout((function(){if("none"!==e.layoutContainer.style.display){var t=e.layoutContainer.id;t||(t="OT_"+e.cheapUUID(),e.layoutContainer.id=t);var n=e.getHeight(e.layoutContainer)-e.getCSSNumber(e.layoutContainer,"borderTop")-e.getCSSNumber(e.layoutContainer,"borderBottom"),r=e.getWidth(e.layoutContainer)-e.getCSSNumber(e.layoutContainer,"borderLeft")-e.getCSSNumber(e.layoutContainer,"borderRight"),i=n/r,o=0,s=0,a=0,c=0,u=Array.prototype.filter.call(e.layoutContainer.querySelectorAll("#"+t+">."+e.opts.bigClass),e.filterDisplayNone),l=Array.prototype.filter.call(e.layoutContainer.querySelectorAll("#"+t+">*:not(."+e.opts.bigClass+")"),e.filterDisplayNone);if(u.length>0&&l.length>0){var d=void 0,p=void 0;i>e.getVideoRatio(u[0])?(d=r,a=n-(s=p=Math.floor(n*e.opts.bigPercentage))):(p=n,c=r-(o=d=Math.floor(r*e.opts.bigPercentage))),e.opts.bigFirst?(e.arrange(u,d,p,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate),e.arrange(l,r-o,n-s,o,s,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate)):(e.arrange(l,r-o,n-s,0,0,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate),e.arrange(u,d,p,c,a,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate))}else u.length>0&&0===l.length?e.arrange(u,r,n,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate):e.arrange(l,r-o,n-s,o,s,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate)}}),50)},e.prototype.initLayoutContainer=function(e,t){this.opts={maxRatio:null!=t.maxRatio?t.maxRatio:1.5,minRatio:null!=t.minRatio?t.minRatio:9/16,fixedRatio:null!=t.fixedRatio&&t.fixedRatio,animate:null!=t.animate&&t.animate,bigClass:null!=t.bigClass?t.bigClass:"OT_big",bigPercentage:null!=t.bigPercentage?t.bigPercentage:.8,bigFixedRatio:null!=t.bigFixedRatio&&t.bigFixedRatio,bigMaxRatio:null!=t.bigMaxRatio?t.bigMaxRatio:1.5,bigMinRatio:null!=t.bigMinRatio?t.bigMinRatio:9/16,bigFirst:null==t.bigFirst||t.bigFirst},this.layoutContainer="string"==typeof e?$(e):e},e.prototype.setLayoutOptions=function(e){this.opts=e},e.prototype.fixAspectRatio=function(e,t){var n=e.querySelector(".OT_root");if(n){var r=n.style.width;n.style.width=t+"px",n.style.width=r||""}},e.prototype.positionElement=function(e,t,n,r,i,o){var s=this,a={left:t+"px",top:n+"px",width:r+"px",height:i+"px"};this.fixAspectRatio(e,r),o&&$?($(e).stop(),$(e).animate(a,o.duration||200,o.easing||"swing",(function(){s.fixAspectRatio(e,r),o.complete&&o.complete.call(s)}))):$(e).css(a),this.fixAspectRatio(e,r)},e.prototype.getVideoRatio=function(e){if(!e)return 3/4;var t=e.querySelector("video");return t&&t.videoHeight&&t.videoWidth?t.videoHeight/t.videoWidth:e.videoHeight&&e.videoWidth?e.videoHeight/e.videoWidth:3/4},e.prototype.getCSSNumber=function(e,t){var n=$(e).css(t);return n?parseInt(n,10):0},e.prototype.cheapUUID=function(){return(1e8*Math.random()).toFixed(0)},e.prototype.getHeight=function(e){var t=$(e).css("height");return t?parseInt(t,10):0},e.prototype.getWidth=function(e){var t=$(e).css("width");return t?parseInt(t,10):0},e.prototype.getBestDimensions=function(e,t,n,r,i,o){for(var s,a,c,u,l,d,p,h=1;h<=n;h++){var f=h,g=Math.ceil(n/f);(p=(d=Math.floor(i/g))/(l=Math.floor(r/f)))>t?d=l*(p=t):p<e&&(l=d/(p=e));var m=l*d*n;(void 0===s||m>s)&&(s=m,o=d,u=l,a=f,c=g)}return{maxArea:s,targetCols:a,targetRows:c,targetHeight:o,targetWidth:u,ratio:o/u}},e.prototype.arrange=function(e,t,n,r,i,o,s,a,c){var u,l,d=e.length;if(o){var p=this.getVideoRatio(e.length>0?e[0]:null);l=this.getBestDimensions(p,p,d,t,n,u)}else l=this.getBestDimensions(s,a,d,t,n,u);for(var h,f=0,g=0,m=[],v=0;v<e.length;v++){v%l.targetCols==0&&m.push(h={children:[],width:0,height:0}),h.children.push(x=e[v]);var y=l.targetWidth;u=l.targetHeight,o&&(y=u/this.getVideoRatio(x)),h.width+=y,h.height=u}var b=0,_=0;for(v=0;v<m.length;v++)(h=m[v]).width>t?(h.height=Math.floor(h.height*(t/h.width)),h.width=t):h.width<t&&(_+=1),b+=h.height;if(b<n&&_>0){var w=n-b;for(b=0,v=0;v<m.length;v++){if((h=m[v]).width<t){var S=w/_;S/h.height>(t-h.width)/h.width&&(S=Math.floor((t-h.width)/h.width*h.height)),h.width+=Math.floor(S/h.height*h.width),h.height+=S,w-=S,_-=1}b+=h.height}}for(g=(n-b)/2,v=0;v<m.length;v++){f=(t-(h=m[v]).width)/2;for(var C=0;C<h.children.length;C++){var x=h.children[C];y=l.targetWidth,u=h.height,o&&(y=Math.floor(u/this.getVideoRatio(x))),x.style.position="absolute";var O=y-this.getCSSNumber(x,"paddingLeft")-this.getCSSNumber(x,"paddingRight")-this.getCSSNumber(x,"marginLeft")-this.getCSSNumber(x,"marginRight")-this.getCSSNumber(x,"borderLeft")-this.getCSSNumber(x,"borderRight"),E=u-this.getCSSNumber(x,"paddingTop")-this.getCSSNumber(x,"paddingBottom")-this.getCSSNumber(x,"marginTop")-this.getCSSNumber(x,"marginBottom")-this.getCSSNumber(x,"borderTop")-this.getCSSNumber(x,"borderBottom");this.positionElement(x,f+r,g+i,O,E,c),f+=y}g+=u}},e.prototype.filterDisplayNone=function(e){return"none"!==e.style.display},e}(),KO=function(e){return e.CAMERA="CAMERA",e.SCREEN="SCREEN",e.CUSTOM="CUSTOM",e}({}),XO=function(e){return e.WINDOW="window",e.SCREEN="screen",e}({}),JO=function(){function e(e,t,n){this.connectionId=e||"",this.nickname=n||"OpenVidu",this.streamManager=t||null}return e.prototype.isAudioActive=function(){var e,t;return null===(t=null===(e=this.streamManager)||void 0===e?void 0:e.stream)||void 0===t?void 0:t.audioActive},e.prototype.isVideoActive=function(){var e,t;return null===(t=null===(e=this.streamManager)||void 0===e?void 0:e.stream)||void 0===t?void 0:t.videoActive},e.prototype.getConnectionId=function(){var e,t,n;return null===(n=null===(t=null===(e=this.streamManager)||void 0===e?void 0:e.stream)||void 0===t?void 0:t.connection)||void 0===n?void 0:n.connectionId},e.prototype.getNickname=function(){return this.nickname},e.prototype.getStreamManager=function(){return this.streamManager},e.prototype.getAvatar=function(){return this.videoAvatar?this.videoAvatar.toDataURL():this.randomAvatar},e.prototype.isLocal=function(){return!this.isRemote()},e.prototype.isRemote=function(){var e;return null===(e=this.streamManager)||void 0===e?void 0:e.remote},e.prototype.isScreen=function(){var e,t;return(null===(t=null===(e=this.streamManager)||void 0===e?void 0:e.stream)||void 0===t?void 0:t.typeOfVideo)===KO.SCREEN},e.prototype.isCamera=function(){var e,t;return(null===(t=null===(e=this.streamManager)||void 0===e?void 0:e.stream)||void 0===t?void 0:t.typeOfVideo)===KO.CAMERA||this.isLocal()&&!this.isScreen()},e.prototype.setStreamManager=function(e){this.streamManager=e},e.prototype.setNickname=function(e){this.nickname=e},e.prototype.isVideoSizeBig=function(){return this.videoSizeBig},e.prototype.setVideoSizeBig=function(e){this.videoSizeBig=e},e.prototype.setUserAvatar=function(e){var t=this;return new Promise((function(n){if(e)t.randomAvatar=e,n();else{t.createVideoAvatar();var r=document.getElementById("video-"+t.getStreamManager().stream.streamId);t.videoAvatar.getContext("2d").drawImage(r,200,120,285,285,0,0,100,100),n()}}))},e.prototype.removeVideoAvatar=function(){this.videoAvatar=null},e.prototype.createVideoAvatar=function(){this.videoAvatar=document.createElement("canvas"),this.videoAvatar.className="user-img",this.videoAvatar.width=100,this.videoAvatar.height=100},e}(),$O=n("PZzU"),eE=function(e){return e.RANDOM="random",e.VIDEO="video",e}({}),tE=function(){function e(){this.log=window.console,this.LOG_FNS=[],this.MSG_PREFIXES=[["[","]"],["[","] WARN: "],["[","] ERROR: "]],this.LOG_FNS=[this.log.log,this.log.warn,this.log.error]}return e.prototype.get=function(e){var t=this,n=this.LOG_FNS.map((function(n,r){return n.bind(t.log,t.MSG_PREFIXES[r][0]+e+t.MSG_PREFIXES[r][1])}));return{d:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},w:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n[1].apply(this.log,arguments)},e:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n[2].apply(this.log,arguments)}}},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}(),nE=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function a(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},rE=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},iE=function(){function e(e){this.loggerSrv=e,this._OVUsers=new NS([]),this.OV=null,this.OVScreen=null,this.webcamSession=null,this.screenSession=null,this.webcamUser=null,this.screenUser=null,this.videoSource=void 0,this.audioSource=void 0,this.sessionId="",this.screenMediaStream=null,this.webcamMediaStream=null,this.log=this.loggerSrv.get("OpenViduSessionService"),this.OV=new $O.OpenVidu,this.OVScreen=new $O.OpenVidu,this.OVUsers=this._OVUsers.asObservable(),this.webcamUser=new JO,this._OVUsers.next([this.webcamUser])}return e.prototype.initSessions=function(){this.webcamSession=this.OV.initSession(),this.screenSession=this.OVScreen.initSession()},e.prototype.getWebcamSession=function(){return this.webcamSession},e.prototype.getConnectedUserSession=function(){return this.isWebCamEnabled()?this.getWebcamSession():this.getScreenSession()},e.prototype.getScreenSession=function(){return this.screenSession},e.prototype.connectWebcamSession=function(e){return nE(this,void 0,void 0,(function(){return rE(this,(function(t){switch(t.label){case 0:return e?[4,this.webcamSession.connect(e,{clientData:this.getWebcamUserName(),avatar:this.getWebCamAvatar()})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.connectScreenSession=function(e){return nE(this,void 0,void 0,(function(){return rE(this,(function(t){switch(t.label){case 0:return e?[4,this.screenSession.connect(e,{clientData:this.getScreenUserName(),avatar:this.getWebCamAvatar()})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.publishWebcam=function(){return nE(this,void 0,void 0,(function(){var e;return rE(this,(function(t){switch(t.label){case 0:return this.webcamSession.capabilities.publish&&(e=this.webcamUser.getStreamManager())?[4,this.webcamSession.publish(e)]:[3,2];case 1:return[2,t.sent()];case 2:return this.log.w("User cannot publish"),[2]}}))}))},e.prototype.publishScreen=function(){return nE(this,void 0,void 0,(function(){var e;return rE(this,(function(t){switch(t.label){case 0:return this.screenSession.capabilities.publish&&(e=this.screenUser.getStreamManager())?[4,this.screenSession.publish(e)]:[3,2];case 1:return[2,t.sent()];case 2:return this.log.w("User cannot publish"),[2]}}))}))},e.prototype.unpublishWebcam=function(){var e=this.webcamUser.getStreamManager();e&&(this.publishScreenAudio(this.hasWebcamAudioActive()),this.webcamSession.unpublish(e))},e.prototype.unpublishScreen=function(){var e=this.screenUser.getStreamManager();e&&this.screenSession.unpublish(e)},e.prototype.enableWebcamUser=function(){this._OVUsers.next([this.webcamUser,this.screenUser])},e.prototype.disableWebcamUser=function(){this._OVUsers.next([this.screenUser])},e.prototype.enableScreenUser=function(e){var t,n,r=null===(n=null===(t=this.screenSession)||void 0===t?void 0:t.connection)||void 0===n?void 0:n.connectionId;this.screenUser=new JO(r,e,this.getScreenUserName()),this.screenUser.setUserAvatar(this.webcamUser.getAvatar()),this.isWebCamEnabled()?this._OVUsers.next([this.webcamUser,this.screenUser]):(this.log.d("ENABLED SCREEN SHARE"),this._OVUsers.next([this.screenUser]))},e.prototype.disableScreenUser=function(){this.destryoScreenUser(),this._OVUsers.next([this.webcamUser])},e.prototype.initCamPublisher=function(e,t){var n=this.initPublisher(e,t);return this.webcamUser.setStreamManager(n),n},e.prototype.publishVideo=function(e){this.webcamUser.getStreamManager().publishVideo(e),this._OVUsers.next(this._OVUsers.getValue())},e.prototype.publishWebcamAudio=function(e){var t,n=null===(t=this.webcamUser)||void 0===t?void 0:t.getStreamManager();n&&n.publishAudio(e)},e.prototype.publishScreenAudio=function(e){var t,n=null===(t=this.screenUser)||void 0===t?void 0:t.getStreamManager();n&&n.publishAudio(e)},e.prototype.replaceTrack=function(e,t,n){var r=this;return void 0===n&&(n=!0),new Promise((function(i,o){e&&(r.log.d("Replacing video track "+e),r.videoSource=e),t&&(r.log.d("Replacing audio track "+t),r.audioSource=t),r.destryoWebcamUser();var s=r.createProperties(r.videoSource,r.audioSource,r.hasWebcamVideoActive(),r.hasWebcamAudioActive(),n),a=r.initCamPublisher(void 0,s);a.once("streamPlaying",(function(){r.webcamUser.setStreamManager(a),i()})),a.once("accessDenied",(function(){o()}))}))},e.prototype.replaceScreenTrack=function(){return nE(this,void 0,void 0,(function(){var e,t,n,r;return rE(this,(function(i){switch(i.label){case 0:return e=XO.SCREEN,t=!this.isWebCamEnabled(),n=this.createProperties(e,void 0,!0,t,!1),this.stopScreenTracks(),r=this,[4,this.OVScreen.getUserMedia(n)];case 1:return r.screenMediaStream=i.sent(),[4,this.screenUser.getStreamManager().replaceTrack(this.screenMediaStream.getVideoTracks()[0])];case 2:return i.sent(),[2]}}))}))},e.prototype.initScreenPublisher=function(e,t){return this.log.d("init screen properties",t),this.initPublisher(e,t)},e.prototype.destroyUsers=function(){this.destryoScreenUser(),this.destryoWebcamUser()},e.prototype.disconnect=function(){var e=this;this.webcamSession&&(this.log.d("Disconnecting screen session"),this.webcamSession.disconnect(),this.webcamSession=null),this.screenSession&&setTimeout((function(){e.log.d("Disconnecting screen session"),e.screenSession.disconnect(),e.stopScreenTracks(),e.screenSession=null}),50),this.destroyUsers(),this.screenUser=null,this.videoSource=void 0,this.audioSource=void 0,this.sessionId="",this.webcamUser=new JO,this._OVUsers.next([this.webcamUser])},e.prototype.isWebCamEnabled=function(){return this._OVUsers.getValue()[0].isCamera()},e.prototype.isOnlyScreenConnected=function(){return this._OVUsers.getValue()[0].isScreen()},e.prototype.hasWebcamVideoActive=function(){return this.webcamUser.isVideoActive()},e.prototype.hasWebcamAudioActive=function(){var e;return null===(e=this.webcamUser)||void 0===e?void 0:e.isAudioActive()},e.prototype.hasScreenAudioActive=function(){var e;return null===(e=this.screenUser)||void 0===e?void 0:e.isAudioActive()},e.prototype.areBothConnected=function(){return 2===this._OVUsers.getValue().length},e.prototype.isOnlyWebcamConnected=function(){return this.isWebCamEnabled()&&!this.areBothConnected()},e.prototype.isScreenShareEnabled=function(){return this.areBothConnected()||this.isOnlyScreenConnected()},e.prototype.isMyOwnConnection=function(e){var t,n;return(null===(t=this.webcamUser)||void 0===t?void 0:t.getConnectionId())===e||(null===(n=this.screenUser)||void 0===n?void 0:n.getConnectionId())===e},e.prototype.createProperties=function(e,t,n,r,i){return{videoSource:e,audioSource:t,publishVideo:n,publishAudio:r,mirror:i}},e.prototype.setSessionId=function(e){this.sessionId=e},e.prototype.getSessionId=function(){return this.sessionId},e.prototype.setWebcamAvatar=function(){this.webcamUser.setUserAvatar()},e.prototype.setAvatar=function(e,t){(e===eE.RANDOM&&t||eE.VIDEO&&t)&&e===eE.RANDOM&&this.webcamUser.setUserAvatar(t)},e.prototype.setWebcamName=function(e){this.webcamUser.setNickname(e)},e.prototype.getWebCamAvatar=function(){return this.webcamUser.getAvatar()},e.prototype.getWebcamUserName=function(){return this.webcamUser.getNickname()},e.prototype.getScreenUserName=function(){return this.getWebcamUserName()+"_SCREEN"},e.prototype.resetUsersZoom=function(){var e,t;null===(e=this.webcamUser)||void 0===e||e.setVideoSizeBig(!1),null===(t=this.screenUser)||void 0===t||t.setVideoSizeBig(!1)},e.prototype.toggleZoom=function(e){this.webcamUser.getConnectionId()!==e?this.screenUser.setVideoSizeBig(!this.screenUser.isVideoSizeBig()):this.webcamUser.setVideoSizeBig(!this.webcamUser.isVideoSizeBig())},e.prototype.initPublisher=function(e,t){return this.OV.initPublisher(e,t)},e.prototype.destryoScreenUser=function(){var e;(null===(e=this.screenUser)||void 0===e?void 0:e.getStreamManager())&&(this.screenUser.getStreamManager().stream.disposeWebRtcPeer(),this.screenUser.getStreamManager().stream.disposeMediaStream())},e.prototype.destryoWebcamUser=function(){var e;(null===(e=this.webcamUser)||void 0===e?void 0:e.getStreamManager())&&(this.webcamUser.getStreamManager().stream.disposeWebRtcPeer(),this.webcamUser.getStreamManager().stream.disposeMediaStream())},e.prototype.stopScreenTracks=function(){this.screenMediaStream&&(this.stopAudioTracks(this.screenMediaStream),this.stopVideoTracks(this.screenMediaStream))},e.prototype.stopAudioTracks=function(e){var t,n;null===(t=e)||void 0===t||t.getAudioTracks().forEach((function(e){e.stop(),e.enabled=!1})),null===(n=this.webcamMediaStream)||void 0===n||n.getAudioTracks().forEach((function(e){e.stop()}))},e.prototype.stopVideoTracks=function(e){var t;null===(t=e)||void 0===t||t.getVideoTracks().forEach((function(e){e.stop()}))},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(tE))},providedIn:"root"}),e}(),oE=function(){function e(e){this.loggerSrv=e,this._remoteUsers=new NS([]),this.users=[],this.log=this.loggerSrv.get("RemoteService"),this.remoteUsers=this._remoteUsers.asObservable()}return e.prototype.updateUsers=function(){this._remoteUsers.next(this.users)},e.prototype.add=function(e,t){var n,r,i="",o="",s=e.stream.connection.connectionId;try{i=null===(n=JSON.parse(e.stream.connection.data))||void 0===n?void 0:n.clientData,o=null===(r=JSON.parse(e.stream.connection.data))||void 0===r?void 0:r.avatar}catch(c){i="Unknown"}var a=new JO(s,t,i);a.setUserAvatar(o),this.users.push(a),this.updateUsers()},e.prototype.removeUserByConnectionId=function(e){this.log.w("Deleting user: ",e);var t=this.getRemoteUserByConnectionId(e),n=this.users.indexOf(t,0);n>-1&&(this.users.splice(n,1),this.updateUsers())},e.prototype.someoneIsSharingScreen=function(){return this.users.some((function(e){return e.isScreen()}))},e.prototype.toggleUserZoom=function(e){var t=this.getRemoteUserByConnectionId(e);t.setVideoSizeBig(!t.isVideoSizeBig())},e.prototype.resetUsersZoom=function(){this.users.forEach((function(e){return e.setVideoSizeBig(!1)}))},e.prototype.setUserZoom=function(e,t){var n;null===(n=this.getRemoteUserByConnectionId(e))||void 0===n||n.setVideoSizeBig(t)},e.prototype.getRemoteUserByConnectionId=function(e){return this.users.find((function(t){return t.getConnectionId()===e}))},e.prototype.updateNickname=function(e,t){var n;null===(n=this.getRemoteUserByConnectionId(e))||void 0===n||n.setNickname(t),this._remoteUsers.next(this.users)},e.prototype.clean=function(){this._remoteUsers=new NS([]),this.remoteUsers=this._remoteUsers.asObservable(),this.users=[]},e.prototype.getUserAvatar=function(e){return this.getRemoteUserByConnectionId(e).getAvatar()},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(tE))},providedIn:"root"}),e}(),sE=function(){function e(e){this.snackBar=e}return e.prototype.newMessage=function(e,t){this.launchNotification(e+" sent a message","OPEN","messageSnackbar",3e3).onAction().subscribe((function(){t()}))},e.prototype.launchNotification=function(e,t,n,r){return this.snackBar.open(e,t,{duration:r,verticalPosition:"top",horizontalPosition:"end",panelClass:n})},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(DS))},providedIn:"root"}),e}(),aE=function(){function e(e,t,n,r){this.loggerSrv=e,this.oVSessionService=t,this.remoteUsersService=n,this.notificationService=r,this._messageList=new NS([]),this._toggleChat=new NS(!1),this.messageList=[],this.messagesUnread=0,this._messagesUnread=new NS(0),this.log=this.loggerSrv.get("ChatService"),this.messagesObs=this._messageList.asObservable(),this.toggleChatObs=this._toggleChat.asObservable(),this.messagesUnreadObs=this._messagesUnread.asObservable()}return e.prototype.setChatComponent=function(e){this.chatComponent=e},e.prototype.subscribeToChat=function(){var e=this;this.oVSessionService.getWebcamSession().on("signal:chat",(function(t){var n=t.from.connectionId,r=JSON.parse(t.data),i=e.oVSessionService.isMyOwnConnection(n);e.messageList.push({isLocal:i,nickname:r.nickname,message:r.message,userAvatar:i?e.oVSessionService.getWebCamAvatar():e.remoteUsersService.getUserAvatar(n)}),e.isChatOpened()||(e.addMessageUnread(),e.notificationService.newMessage(r.nickname.toUpperCase(),e.toggleChat.bind(e))),e._messageList.next(e.messageList)}))},e.prototype.sendMessage=function(e){if(""!==(e=e.replace(/ +(?= )/g,""))&&" "!==e){var t={message:e,nickname:this.oVSessionService.getWebcamUserName()};this.oVSessionService.getConnectedUserSession().signal({data:JSON.stringify(t),type:"chat"})}},e.prototype.toggleChat=function(){var e=this;this.log.d("Toggling chat"),this.chatComponent.toggle().then((function(){e.chatOpened=e.chatComponent.opened,e._toggleChat.next(e.chatOpened),e.chatOpened&&(e.messagesUnread=0,e._messagesUnread.next(e.messagesUnread))}))},e.prototype.isChatOpened=function(){return this.chatOpened},e.prototype.addMessageUnread=function(){this.messagesUnread++,this._messagesUnread.next(this.messagesUnread)},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(tE),st(iE),st(oE),st(sE))},providedIn:"root"}),e}(),cE={provide:Ou,useFactory:function(e,t){return function(){if(rd(t)){var n=Array.from(e.querySelectorAll("[class*="+uE+"]")),r=/\bflex-layout-.+?\b/g;n.forEach((function(e){e.classList.contains(uE+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(r,"")}))}}},deps:[yl,xu],multi:!0},uE="flex-layout-",lE=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},providers:[cE]}),e}(),dE=function(){function e(e,t,n,r,i){void 0===e&&(e=!1),void 0===t&&(t="all"),void 0===n&&(n=""),void 0===r&&(r=""),void 0===i&&(i=0),this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}return e.prototype.clone=function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},e}(),pE=function(){function e(){this.stylesheet=new Map}return e.prototype.addStyleToElement=function(e,t,n){var r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))},e.prototype.clearStyles=function(){this.stylesheet.clear()},e.prototype.getStyleForElement=function(e,t){var n=this.stylesheet.get(e),r="";if(n){var i=n.get(t);"number"!=typeof i&&"string"!=typeof i||(r=i+"")}return r},e.\u0275prov=Se({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),hE={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},fE=new Xe("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return hE}}),gE=new Xe("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),mE=new Xe("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function vE(e,t){return e=e?e.clone():new dE,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var yE=["row","column","row-reverse","column-reverse"];function bE(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var _E=function(){function e(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new j,this.styleCache=new Map}return Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.elementRef.nativeElement.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedValue",{get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=this;Object.keys(e).forEach((function(n){if(-1!==t.inputs.indexOf(n)){var r=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,r)}}))},e.prototype.ngOnDestroy=function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)},e.prototype.init=function(e){void 0===e&&(e=[]),this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)},e.prototype.addStyles=function(e,t){var n=this.styleBuilder,r=n.shouldCache,i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=o({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)},e.prototype.clearStyles=function(){var e=this;Object.keys(this.mru).forEach((function(t){e.mru[t]=""})),this.applyStyleToElement(this.mru),this.mru={}},e.prototype.triggerUpdate=function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)},e.prototype.getFlexFlowDirection=function(e,t){if(void 0===t&&(t=!1),e){var n=this.styler.getFlowDirection(e),r=n[0];if(!n[1]&&t){var i=function(e){var t,n,r=function(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],r=t[1],i=t[2];return yE.find((function(e){return e===n}))||(n=yE[0]),"inline"===r&&(r="inline"!==i?i:"",i="inline"),[n,bE(r),!!i]}(e);return void 0===(t=r[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null}}(r);this.styler.applyStyleToElements(i,[e])}return r.trim()}return"row"},e.prototype.hasWrap=function(e){return this.styler.hasWrap(e)},e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=this.nativeElement),this.styler.applyStyleToElement(n,e,t)},e.prototype.setValue=function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)},e.prototype.updateWithValue=function(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)},e.\u0275fac=function(e){qs()},e.\u0275dir=At({type:e,features:[Ua]}),e}(),wE=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],SE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",CE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",xE="(orientation: portrait) and (min-width: 840px)",OE="(orientation: landscape) and (min-width: 1280px)",EE={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:SE+" , "+CE,WEB:xE+", "+OE+" ",HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:SE+" ",WEB_PORTRAIT:""+xE,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+CE,WEB_LANDSCAPE:""+OE},kE=[{alias:"handset",priority:2e3,mediaQuery:EE.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:EE.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:EE.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:EE.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:EE.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:EE.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:EE.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:EE.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:EE.WEB_PORTRAIT,overlapping:!0}],PE=/(\.|-|_)/g;function ME(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var TE=new Xe("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=at(mE),t=at(fE),n=[].concat.apply([],(e||[]).map((function(e){return Array.isArray(e)?e:[e]})));return function(e,t){void 0===t&&(t=[]);var n,r={};return e.forEach((function(e){r[e.alias]=e})),t.forEach((function(e){r[e.alias]?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var r=0,i=t;r<i.length;r++){var o=i[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}}(r[e.alias],e):r[e.alias]=e})),(n=Object.keys(r).map((function(e){return r[e]}))).forEach((function(e){e.suffix||(e.suffix=e.alias.replace(PE,"|").split("|").map(ME).join(""),e.overlapping=!!e.overlapping)})),n}((t.disableDefaultBps?[]:wE).concat(t.addOrientationBps?kE:[]),n)}});function AE(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function IE(e,t){return(e.priority||0)-(t.priority||0)}var RE=function(){function e(e){this.findByMap=new Map,this.items=u(e).sort(IE)}return e.prototype.findByAlias=function(e){return e?this.findWithPredicate(e,(function(t){return t.alias==e})):null},e.prototype.findByQuery=function(e){return this.findWithPredicate(e,(function(t){return t.mediaQuery==e}))},Object.defineProperty(e.prototype,"overlappings",{get:function(){return this.items.filter((function(e){return 1==e.overlapping}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aliases",{get:function(){return this.items.map((function(e){return e.alias}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suffixes",{get:function(){return this.items.map((function(e){return e.suffix?e.suffix:""}))},enumerable:!0,configurable:!0}),e.prototype.findWithPredicate=function(e,t){var n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null},e.\u0275prov=Se({factory:function(){return new e(st(TE))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(TE))},e}(),jE=function(){function e(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new NS(new dE(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}return Object.defineProperty(e.prototype,"activations",{get:function(){var e=[];return this.registry.forEach((function(t,n){t.matches&&e.push(n)})),e},enumerable:!0,configurable:!0}),e.prototype.isActive=function(e){var t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some((function(e){return e.matches}))},e.prototype.observe=function(e,t){var n=this;if(void 0===t&&(t=!1),e&&e.length){var r=this._observable$.pipe(Zg((function(n){return!t||e.indexOf(n.mediaQuery)>-1})));return re(new M((function(t){var r=n.registerQuery(e);if(r.length){var i=r.pop();r.forEach((function(e){t.next(e)})),n.source.next(i)}t.complete()})),r)}return this._observable$},e.prototype.registerQuery=function(e){var t=this,n=Array.isArray(e)?e:[e],r=[];return function(e,t){var n=e.filter((function(e){return!DE[e]}));if(n.length>0){var r=n.join(", ");try{var i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media "+r+" {.fx-query-test{ }}\n")),t.head.appendChild(i),n.forEach((function(e){return DE[e]=i}))}catch(o){console.error(o)}}}(n,this._document),n.forEach((function(e){var n=function(n){t._zone.run((function(){return t.source.next(new dE(n.matches,e))}))},i=t.registry.get(e);i||((i=t.buildMQL(e)).addListener(n),t.pendingRemoveListenerFns.push((function(){return i.removeListener(n)})),t.registry.set(e,i)),i.matches&&r.push(new dE(!0,e))})),r},e.prototype.ngOnDestroy=function(){for(var e;e=this.pendingRemoveListenerFns.pop();)e()},e.prototype.buildMQL=function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){},onchange:null,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}(e,rd(this._platformId))},e.\u0275prov=Se({factory:function(){return new e(st(Fu),st(xu),st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(Fu),st(xu),st(yl))},e}(),DE={},NE={alias:"print",mediaQuery:"print",priority:1e3},LE=function(){function e(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new VE,this.deactivations=[]}return e.prototype.withPrintQuery=function(e){return u(e,["print"])},e.prototype.isPrintEvent=function(e){return e.mediaQuery.startsWith("print")},Object.defineProperty(e.prototype,"printAlias",{get:function(){return this.layoutConfig.printWithBreakpoints||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"printBreakPoints",{get:function(){var e=this;return this.printAlias.map((function(t){return e.breakpoints.findByAlias(t)})).filter((function(e){return null!==e}))},enumerable:!0,configurable:!0}),e.prototype.getEventBreakpoints=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return(t?u(this.printBreakPoints,[t]):this.printBreakPoints).sort(AE)},e.prototype.updateEvent=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),vE(e,t)},e.prototype.registerBeforeAfterPrintHooks=function(e){var t=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var n=function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new dE(!0,"print"))),e.updateStyles())},r=function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",n),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(n),this.afterPrintEventListeners.push(r)}},e.prototype.interceptEvents=function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}},e.prototype.blockPropagation=function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}},e.prototype.startPrinting=function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)},e.prototype.stopPrinting=function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1},e.prototype.collectActivations=function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(AE))}},e.prototype.ngOnDestroy=function(){var e=this;this.beforePrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("beforeprint",t)})),this.afterPrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("afterprint",t)}))},e.\u0275prov=Se({factory:function(){return new e(st(RE),st(fE),st(yl))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(RE),st(fE),st(yl))},e}(),VE=function(){function e(){this.printBreakpoints=[]}return e.prototype.addPrintBreakpoints=function(e){var t=this;return e.push(NE),e.sort(AE),e.forEach((function(e){return t.addBreakpoint(e)})),this.printBreakpoints},e.prototype.addBreakpoint=function(e){e&&void 0===this.printBreakpoints.find((function(t){return t.mediaQuery===e.mediaQuery}))&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?u([e],this.printBreakpoints):u(this.printBreakpoints,[e]))},e.prototype.clear=function(){this.printBreakpoints=[]},e}();function zE(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":e["-webkit-flex-direction"]=n=n||"row",e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var FE=function(){function e(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}return e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=null);var r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:zE(t),this._applyMultiValueStyleToElement(r,e)},e.prototype.applyStyleToElements=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.layoutConfig.disableVendorPrefixes?e:zE(e);t.forEach((function(e){n._applyMultiValueStyleToElement(r,e)}))},e.prototype.getFlowDirection=function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||id(this._platformId)&&this._serverModuleLoaded?t:""]},e.prototype.hasWrap=function(e){return"wrap"===this.lookupStyle(e,"flex-wrap")},e.prototype.lookupAttributeValue=function(e,t){return e.getAttribute(t)||""},e.prototype.lookupInlineStyle=function(e,t){return rd(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)},e.prototype.lookupStyle=function(e,t,n){void 0===n&&(n=!1);var r="";return e&&((r=this.lookupInlineStyle(e,t))||(rd(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""},e.prototype._applyMultiValueStyleToElement=function(e,t){var n=this;Object.keys(e).sort().forEach((function(r){var i=e[r],o=Array.isArray(i)?i:[i];o.sort();for(var s=0,a=o;s<a.length;s++){var c=a[s];c=c?c+"":"",rd(n._platformId)||!n._serverModuleLoaded?rd(n._platformId)?t.style.setProperty(r,c):n._setServerStyle(t,r,c):n._serverStylesheet.addStyleToElement(t,r,c)}}))},e.prototype._setServerStyle=function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)},e.prototype._getServerStyle=function(e,t){return this._readStyleAttribute(e)[t]||""},e.prototype._readStyleAttribute=function(e){var t={},n=e.getAttribute("style");if(n)for(var r=n.split(/;+/g),i=0;i<r.length;i++){var o=r[i].trim();if(o.length>0){var s=o.indexOf(":");if(-1===s)throw new Error("Invalid CSS style: "+o);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}return t},e.prototype._writeStyleAttribute=function(e,t){var n="";for(var r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)},e.\u0275prov=Se({factory:function(){return new e(st(pE),st(gE),st(xu),st(fE))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(pE),st(gE),st(xu),st(fE))},e}(),BE=function(){function e(){this.shouldCache=!0}return e.prototype.sideEffect=function(e,t,n){},e}();function UE(e,t,n){void 0===t&&(t="1"),void 0===n&&(n="1");var r=[t,n,e],i=e.indexOf("calc");if(i>0)r[2]=qE(e.substring(i).trim()),2==(o=e.substr(0,i).trim().split(" ")).length&&(r[0]=o[0],r[1]=o[1]);else if(0==i)r[2]=qE(e.trim());else{var o;r=3===(o=e.split(" ")).length?o:[t,n,e]}return r}function qE(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var WE=function(){function e(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new j,this.observeActivations()}return Object.defineProperty(e.prototype,"activatedAlias",{get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""},enumerable:!0,configurable:!0}),e.prototype.onMediaChange=function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=vE(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(AE),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(AE),this.updateStyles()))},e.prototype.init=function(e,t,n,r,i){void 0===i&&(i=[]),HE(this.updateMap,e,t,n),HE(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)},e.prototype.getValue=function(e,t,n){var r=this.elementMap.get(e);if(r){var i=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(i)return i.get(t)}},e.prototype.hasValue=function(e,t){var n=this.elementMap.get(e);if(n){var r=this.getActivatedValues(n,t);if(r)return void 0!==r.get(t)||!1}return!1},e.prototype.setValue=function(e,t,n,r){var i=this.elementMap.get(e);if(i){var o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);var s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)},e.prototype.trackValue=function(e,t){return this.subject.asObservable().pipe(Zg((function(n){return n.element===e&&n.key===t})))},e.prototype.updateStyles=function(){var e=this;this.elementMap.forEach((function(t,n){var r=new Set(e.elementKeyMap.get(n)),i=e.getActivatedValues(t);i&&i.forEach((function(t,i){e.updateElement(n,i,t),r.delete(i)})),r.forEach((function(r){if(i=e.getActivatedValues(t,r)){var o=i.get(r);e.updateElement(n,r,o)}else e.clearElement(n,r)}))}))},e.prototype.clearElement=function(e,t){var n=this.clearMap.get(e);if(n){var r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}},e.prototype.updateElement=function(e,t,n){var r=this.updateMap.get(e);if(r){var i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}},e.prototype.releaseElement=function(e){var t=this.watcherMap.get(e);t&&(t.forEach((function(e){return e.unsubscribe()})),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach((function(e,t){return n.delete(t)})),this.elementMap.delete(e))},e.prototype.triggerUpdate=function(e,t){var n=this,r=this.elementMap.get(e);if(r){var i=this.getActivatedValues(r,t);i&&(t?this.updateElement(e,t,i.get(t)):i.forEach((function(t,r){return n.updateElement(e,r,t)})))}},e.prototype.buildElementKeyMap=function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)},e.prototype.watchExtraTriggers=function(e,t,n){var r=this;if(n&&n.length){var i=this.watcherMap.get(e);if(i||(i=new Map,this.watcherMap.set(e,i)),!i.get(t)){var o=re.apply(void 0,n).subscribe((function(){var n=r.getValue(e,t);r.updateElement(e,t,n)}));i.set(t,o)}}},e.prototype.findByQuery=function(e){return this.breakpoints.findByQuery(e)},e.prototype.getActivatedValues=function(e,t){for(var n=0;n<this.activatedBreakpoints.length;n++){var r=e.get(this.activatedBreakpoints[n].alias);if(r&&(void 0===t||r.has(t)&&null!=r.get(t)))return r}var i=e.get("");return void 0===t||i&&i.has(t)?i:void 0},e.prototype.observeActivations=function(){var e=this.breakpoints.items.map((function(e){return e.mediaQuery}));this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Vg(this.hook.interceptEvents(this)),Zg(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))},e.\u0275prov=Se({factory:function(){return new e(st(jE),st(RE),st(LE))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(st(jE),st(RE),st(LE))},e}();function HE(e,t,n,r){if(void 0!==r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}var GE=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],QE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=GE,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i,o,s,a){var c=e.call(this,t,null,n,r)||this;return c.ngClassInstance=a,c.DIRECTIVE_KEY="ngClass",c.ngClassInstance||(c.ngClassInstance=new Fl(i,o,t,s)),c.init(),c.setValue("",""),c}return i(t,e),Object.defineProperty(t.prototype,"klass",{set:function(e){this.ngClassInstance.klass=e,this.setValue(e,"")},enumerable:!0,configurable:!0}),t.prototype.updateWithValue=function(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()},t.prototype.ngDoCheck=function(){this.ngClassInstance.ngDoCheck()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(WE),Bs(Sc),Bs(Cc),Bs(ac),Bs(Fl,10))},t.\u0275dir=At({type:t,inputs:{klass:["class","klass"]},features:[Na]}),t}(_E)),ZE=function(){return function(e,t,n){void 0===n&&(n=!0),this.key=e,this.value=t,this.key=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=this.value.replace(/;/,"")}}();function YE(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function KE(e){var t=e.split(":"),n=t[0],r=t.slice(1);return new ZE(n,r.join(":"))}function XE(e,t){return t.key&&(e[t.key]=t.value),e}var JE=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"],$E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=JE,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i,o,s,a,c,u){var l=e.call(this,t,null,n,r)||this;l.sanitizer=i,l.ngStyleInstance=a,l.DIRECTIVE_KEY="ngStyle",l.ngStyleInstance||(l.ngStyleInstance=new Xl(t,o,s)),l.init();var d=l.nativeElement.getAttribute("style")||"";return l.fallbackStyles=l.buildStyleMap(d),l.isServer=c&&id(u),l}return i(t,e),t.prototype.updateWithValue=function(e){var t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=o(o({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()},t.prototype.clearStyles=function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()},t.prototype.buildStyleMap=function(e){var t,n=this,r=function(e){return n.sanitizer.sanitize(si.STYLE,e)||""};if(e)switch(YE(e)){case"string":return ek((void 0===t&&(t=";"),String(e).trim().split(t).map((function(e){return e.trim()})).filter((function(e){return""!==e}))),r);case"array":return ek(e,r);case"set":default:return function(e,t){var n=[];return"set"===YE(e)?e.forEach((function(e){return n.push(e)})):Object.keys(e).forEach((function(t){n.push(t+":"+e[t])})),function(e,t){return e.map(KE).filter((function(e){return!!e})).map((function(e){return t&&(e.value=t(e.value)),e})).reduce(XE,{})}(n,t)}(e,r)}return{}},t.prototype.ngDoCheck=function(){this.ngStyleInstance.ngDoCheck()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(WE),Bs(Id),Bs(Cc),Bs(ac),Bs(Xl,10),Bs(gE),Bs(xu))},t.\u0275dir=At({type:t,features:[Na]}),t}(_E));function ek(e,t){return e.map(KE).filter((function(e){return!!e})).map((function(e){return t&&(e.value=t(e.value)),e})).reduce(XE,{})}var tk=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[lE]]}),e}(),nk=n("dP7y"),rk=n("joaK"),ik=n.n(rk),ok=n("bGVd"),sk=n.n(ok),ak=(n("mgp7"),function(){function e(){}return e.prototype.linkify=function(e,t){return e.linkify(t)},e.prototype.find=function(e){return Object(nk.find)(e)},e.prototype.test=function(e){return"string"==typeof e?Object(nk.test)(e):nk.test.apply(nk,e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Se({token:e,factory:function(t){return e.\u0275fac(t)}}),e}()),ck=new Xe("NgxLinkifyjsConfig"),uk={enableHash:!0,enableMention:!0},lk=function(){function e(e){this.config=e,e.enableHash&&ik()(nk),e.enableMention&&sk()(nk)}return e.forRoot=function(t){return void 0===t&&(t=uk),{ngModule:e,providers:[ak,{provide:ck,useValue:t}]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(ck))},imports:[[nd]]}),e}(),dk=function(){function e(e){this.linkifyService=e}return e.prototype.transform=function(e){return e?this.linkifyService.linkify(e):e},e.\u0275fac=function(t){return new(t||e)(Bs(ak))},e.\u0275pipe=It({name:"linkify",type:e,pure:!0}),e}(),pk=["chatScroll"],hk=["chatInput"];function fk(e,t){if(1&e&&(Gs(0,"div",13),Zs(1,"img",14),Gs(2,"div",15),Gs(3,"div",16),Gs(4,"p"),Ta(5),Qs(),Qs(),Gs(6,"div",17),Zs(7,"span",18),Zs(8,"p",19),Zc(9,"linkify"),Qs(),Qs(),Qs()),2&e){var n=t.$implicit;Ws("ngClass",n.isLocal?"right":"left"),ji(1),Ws("src",n.userAvatar,pi),ji(4),Aa(n.nickname),ji(3),Ws("innerHTML",Yc(9,4,n.message),li)}}var gk=function(){function e(e){this.chatService=e,this.messageList=[]}return e.prototype.onKeydownHandler=function(e){console.log(e),this.chatOpened&&this.close()},e.prototype.ngOnInit=function(){this.subscribeToMessages(),this.subscribeToToggleChat()},e.prototype.ngOnDestroy=function(){this.chatMessageSubscription&&this.chatMessageSubscription.unsubscribe(),this.chatToggleSubscription&&this.chatToggleSubscription.unsubscribe()},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.sendMessage()},e.prototype.sendMessage=function(){this.chatService.sendMessage(this.message),this.message=""},e.prototype.scrollToBottom=function(){var e=this;setTimeout((function(){try{e.chatScroll.nativeElement.scrollTop=e.chatScroll.nativeElement.scrollHeight}catch(t){}}),20)},e.prototype.close=function(){this.chatService.toggleChat()},e.prototype.subscribeToMessages=function(){var e=this;this.chatMessageSubscription=this.chatService.messagesObs.subscribe((function(t){e.messageList=t}))},e.prototype.subscribeToToggleChat=function(){var e=this;this.chatToggleSubscription=this.chatService.toggleChatObs.subscribe((function(t){e.chatOpened=t,e.chatOpened&&(e.scrollToBottom(),setTimeout((function(){e.chatInput.nativeElement.focus()})))}))},e.\u0275fac=function(t){return new(t||e)(Bs(aE))},e.\u0275cmp=Ot({type:e,selectors:[["chat-component"]],viewQuery:function(e,t){var n;1&e&&(uu(pk,!0),uu(hk,!0)),2&e&&(au(n=fu())&&(t.chatScroll=n.first),au(n=fu())&&(t.chatInput=n.first))},hostBindings:function(e,t){1&e&&ea("keydown.escape",(function(e){return t.onKeydownHandler(e)}),!1,nr)},inputs:{lightTheme:"lightTheme"},decls:17,vars:4,consts:[["id","chatContainer"],["id","chatComponent"],["id","chatToolbar"],["mat-icon-button","","id","closeButton",3,"click"],["matTooltip","Close","color","warn"],[1,"message-wrap"],["chatScroll",""],["class","message",3,"ngClass",4,"ngFor","ngForOf"],["id","messageInput"],["placeholder","Send a message","autocomplete","off","id","chatInput",3,"ngModel","keypress","ngModelChange"],["chatInput",""],["mat-mini-fab","","id","sendButton",3,"click"],["matTooltip","Send"],[1,"message",3,"ngClass"],[1,"user-img",3,"src"],[1,"msg-detail"],[1,"msg-info"],[1,"msg-content"],[1,"triangle"],[1,"text",3,"innerHTML"]],template:function(e,t){1&e&&(Gs(0,"div",0),Gs(1,"div",1),Gs(2,"div",2),Gs(3,"span"),Ta(4," CHAT"),Qs(),Gs(5,"button",3),ea("click",(function(){return t.close()})),Gs(6,"mat-icon",4),Ta(7,"highlight_off"),Qs(),Qs(),Qs(),Gs(8,"div",5,6),Fs(10,fk,10,6,"div",7),Qs(),Gs(11,"div",8),Gs(12,"input",9,10),ea("keypress",(function(e){return t.eventKeyPress(e)}))("ngModelChange",(function(e){return t.message=e})),Qs(),Gs(14,"button",11),ea("click",(function(){return t.sendMessage()})),Gs(15,"mat-icon",12),Ta(16,"send"),Qs(),Qs(),Qs(),Qs(),Qs()),2&e&&(ji(1),ba("chatComponentLight",t.lightTheme),ji(9),Ws("ngForOf",t.messageList),ji(2),Ws("ngModel",t.message))},directives:[Vv,Q_,wS,Ul,Wd,Kd,Jp,Fl,QE],pipes:[dk],styles:["#chatContainer[_ngcontent-%COMP%]{position:absolute;z-index:0;width:100%;height:calc(100% - 20px)}input[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif}#chatToolbar[_ngcontent-%COMP%]{height:30px;background-color:#3d3d3d;box-sizing:border-box;font-weight:700;font-size:14px;text-align:center;padding-top:4px;border-top-left-radius:6px;border-top-right-radius:6px;color:#fff}#closeButton[_ngcontent-%COMP%]{position:absolute;right:0;top:-5px}#chatComponent[_ngcontent-%COMP%]{background-color:#b8b8b8;position:absolute;z-index:99999;top:0;left:0;right:0;bottom:0;margin:auto;height:calc(100% - 30px);width:calc(100% - 30px);border-radius:20px}.message-wrap[_ngcontent-%COMP%]{padding:0 15px;height:calc(100% - 80px);overflow:auto}.message[_ngcontent-%COMP%]{position:relative;padding:7px 0}.user-img[_ngcontent-%COMP%]{position:absolute;border-radius:45px;width:60px;height:60px;top:15px}.msg-detail[_ngcontent-%COMP%]{width:calc(100% - 65px);display:inline-block}.msg-detail[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:15px}.msg-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.8em;color:#000;font-style:italic}.msg-content[_ngcontent-%COMP%]{position:relative;margin-top:5px;border-radius:5px;padding:8px;color:#000;width:auto;max-width:95%}span.triangle[_ngcontent-%COMP%]{border-radius:2px;height:8px;width:8px;top:12px;display:block;transform:rotate(45deg);position:absolute}.text[_ngcontent-%COMP%]{word-break:break-all}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-info[_ngcontent-%COMP%]{text-align:left}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%]{padding-left:65px}.message.left[_ngcontent-%COMP%] .user-img[_ngcontent-%COMP%]{left:-5px;border:1px solid hsla(0,0%,94.1%,.58)}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%]{background-color:#f0f0f0;float:left}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%] span.triangle[_ngcontent-%COMP%]{background-color:#f0f0f0;border-bottom-width:0;border-left-width:0;left:-5px}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-info[_ngcontent-%COMP%]{text-align:right}.message.right[_ngcontent-%COMP%] .user-img[_ngcontent-%COMP%]{right:-5px;border:1px solid rgba(200,255,232,.67)}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%]{background-color:#c8ffe8;float:right}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%] span.triangle[_ngcontent-%COMP%]{background-color:#c8ffe8;border-bottom-width:0;border-left-width:0;right:-5px}#messageInput[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;background-color:#fff;text-align:center;padding:10px 0;height:30px;border-bottom-left-radius:6px;border-bottom-right-radius:6px}#messageInput[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:90%;height:100%;border:none;outline:none;font-size:14px;margin-left:-6%}#sendButton[_ngcontent-%COMP%]{background-color:#81e9b0;position:absolute;right:10px;top:0;bottom:0;margin:auto;border:1px solid #7ae2a9;box-shadow:none!important}#sendButton[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-left:3px!important;margin-bottom:2px!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#6b6b6b}.chatComponentLight[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#eee!important}"]}),e}(),mk=function(){function e(){this.ovSettings={chat:!0,autopublish:!1,toolbarButtons:{video:!0,audio:!0,fullscreen:!0,screenShare:!0,layoutSpeaking:!0,exit:!0}}}return e.prototype.set=function(e){this.ovSettings=e},e.prototype.isAutoPublish=function(){return this.ovSettings.autopublish},e.prototype.hasVideo=function(){return this.ovSettings.toolbarButtons.video},e.prototype.hasScreenSharing=function(){return this.ovSettings.toolbarButtons.screenShare},e.prototype.hasLayoutSpeaking=function(){return this.ovSettings.toolbarButtons.layoutSpeaking},e.prototype.hasFullscreen=function(){return this.ovSettings.toolbarButtons.fullscreen},e.prototype.hasAudio=function(){return this.ovSettings.toolbarButtons.audio},e.prototype.hasChat=function(){return this.ovSettings.chat},e.prototype.hasExit=function(){return this.ovSettings.toolbarButtons.exit},e.prototype.setScreenSharing=function(e){this.ovSettings.toolbarButtons.screenShare=e},e}(),vk=function(e){return e.ROOT_CLASS="OT_root",e}({}),yk=function(e){return e.BIG_ELEMENT_CLASS="OV_big",e}({}),bk=function(e){return e.DARK="dark",e.LIGHT="light",e}({}),_k=function(){function e(){this.theme=bk.DARK,this.ovSettings=new mk}return e.prototype.getComponentName=function(){},e.prototype.getOvSettings=function(){return this.ovSettings},e.prototype.getSessionName=function(){return this.sessionName},e.prototype.getOvServerUrl=function(){return this.ovServerUrl},e.prototype.getOvSecret=function(){return this.ovSecret},e.prototype.getTheme=function(){return this.theme},e.prototype.getNickname=function(){return this.nickname},e.prototype.getTokens=function(){return this.tokens},e.prototype.getScreenToken=function(){return this.tokens[1]},e.prototype.getWebcamToken=function(){return this.tokens[0]},e.prototype.setOvSettings=function(e){e&&this.ovSettings.set(e)},e.prototype.setSessionName=function(e){this.sessionName=e},e.prototype.setOvServerUrl=function(e){this.ovServerUrl=e},e.prototype.setOvSecret=function(e){this.ovSecret=e},e.prototype.setTheme=function(e){Object.values(bk).includes(e)&&(this.theme=e===bk.DARK?bk.DARK:bk.LIGHT)},e.prototype.setNickname=function(e){this.nickname=e},e.prototype.setTokens=function(e){this.tokens=e},e.prototype.canJoinToSession=function(){return this.canOVCallGenerateToken()||this.hasReceivedToken()},e.prototype.hasTokens=function(){var e;return(null===(e=this.tokens)||void 0===e?void 0:e.length)>0},e.prototype.canOVCallGenerateToken=function(){return!!(this.sessionName&&this.ovServerUrl&&this.ovSecret&&this.nickname)},e.prototype.hasReceivedToken=function(){return!!this.tokens&&this.tokens.length>0&&!!this.nickname},e}(),wk=function(e){return e.FRONT="FRONT",e.BACK="BACK",e}({}),Sk=function(){function e(e,t){this.dialogRef=e,this.data=t}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(Bs(ob),Bs(sb))},e.\u0275cmp=Ot({type:e,selectors:[["app-dialog-error"]],decls:5,vars:2,consts:[["mat-dialog-title",""]],template:function(e,t){1&e&&(Gs(0,"div"),Gs(1,"h1",0),Ta(2),Qs(),Gs(3,"span"),Ta(4),Qs(),Qs()),2&e&&(ji(2),Aa(t.data.header),ji(2),Ia(" ",t.data.message," "))},directives:[pb],styles:["h1[_ngcontent-%COMP%]{color:#a30101}"]}),e}(),Ck=function(){function e(e){this.dialog=e}return e.prototype.toggleFullscreen=function(e){var t=window.document,n=t.getElementById(e);t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen&&t.webkitExitFullscreen():n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen()},e.prototype.getOpenViduAvatar=function(){return"https://openvidu.io/img/logos/openvidu_globe_bg_transp_cropped.png"},e.prototype.handlerScreenShareError=function(e){e&&"SCREEN_SHARING_NOT_SUPPORTED"===e.name?alert("Your browser does not support screen sharing"):e&&"SCREEN_EXTENSION_DISABLED"===e.name&&alert("You need to enable screen sharing extension")},e.prototype.getOpenviduLayoutOptions=function(){return{maxRatio:1.5,minRatio:.6,fixedRatio:!1,bigClass:yk.BIG_ELEMENT_CLASS,bigPercentage:.85,bigFixedRatio:!1,bigMaxRatio:1.5,bigMinRatio:9/16,bigFirst:!0,animate:!0}},e.prototype.generateNickname=function(){return"OpenVidu_User"+Math.floor(100*Math.random())},e.prototype.isFF=function(){return/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)},e.prototype.isMobile=function(){return this.isAndroid()||this.isIos()},e.prototype.showErrorMessage=function(e,t,n){void 0===n&&(n=!1),this.dialogRef=this.dialog.open(Sk,{data:{header:e,message:t},disableClose:n})},e.prototype.closeDialog=function(){this.dialogRef.close()},e.prototype.getHTMLElementByClassName=function(e,t){for(;e&&e!==document.body;){if(e.className.includes(t))return e;e=e.parentElement}return null},e.prototype.toggleBigElementClass=function(e){var t,n;(null===(t=e)||void 0===t?void 0:t.className.includes(yk.BIG_ELEMENT_CLASS))?null===(n=e)||void 0===n||n.classList.remove(yk.BIG_ELEMENT_CLASS):e.classList.add(yk.BIG_ELEMENT_CLASS)},e.prototype.removeAllBigElementClass=function(){for(var e=document.getElementsByClassName(yk.BIG_ELEMENT_CLASS);e.length>0;)this.toggleBigElementClass(e[0])},e.prototype.isAndroid=function(){return/\b(\w*Android\w*)\b/.test(navigator.userAgent)&&/\b(\w*Mobile\w*)\b/.test(navigator.userAgent)},e.prototype.isIos=function(){return/\b(\w*iOS\w*)\b/.test(navigator.userAgent)},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(lb))},providedIn:"root"}),e}(),xk=function(){function e(e){this.loggerSrv=e,this.storage=window.localStorage,this.log=this.loggerSrv.get("StorageService")}return e.prototype.set=function(e,t){var n=JSON.stringify({item:t});this.log.d('Storing on localStorage "'+e+'" with value "'+n+'"'),this.storage.setItem(e,n)},e.prototype.get=function(e){var t,n=JSON.parse(this.storage.getItem(e));return(null===(t=n)||void 0===t?void 0:t.item)?n.item:null},e.prototype.clear=function(){this.log.d("Clearing localStorage"),this.storage.clear()},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(tE))},providedIn:"root"}),e}(),Ok=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function a(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},Ek=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},kk=function(){function e(e,t,n){this.loggerSrv=e,this.utilSrv=t,this.storageSrv=n,this.VIDEO_DEVICE="openviduCallVideoDevice",this.AUDIO_DEVICE="openviduCallAudioDevice",this.OV=null,this.cameras=[],this.microphones=[],this.log=this.loggerSrv.get("DevicesService"),this.OV=new $O.OpenVidu}return e.prototype.initDevices=function(){return Ok(this,void 0,void 0,(function(){return Ek(this,(function(e){switch(e.label){case 0:return[4,this.initOpenViduDevices()];case 1:return e.sent(),this.devices.length>0?this.log.d("Devices found: ",this.devices):this.log.w("No devices found!"),this.resetDevicesArray(),this.hasAudioDeviceAvailable()&&(this.initAudioDevices(),this.micSelected=this.getMicSelected()),this.hasVideoDeviceAvailable()&&(this.initVideoDevices(),this.camSelected=this.cameras.find((function(e){return e.type===wk.FRONT}))),[2]}}))}))},e.prototype.initOpenViduDevices=function(){return Ok(this,void 0,void 0,(function(){var e;return Ek(this,(function(t){switch(t.label){case 0:return e=this,[4,this.OV.getDevices()];case 1:return e.devices=t.sent(),[2]}}))}))},e.prototype.initAudioDevices=function(){var e=this;this.devices.filter((function(e){return"audioinput"===e.kind})).forEach((function(t){e.microphones.push({label:t.label,device:t.deviceId})}))},e.prototype.initVideoDevices=function(){var e=this;this.devices.filter((function(e){return"videoinput"===e.kind})).forEach((function(t,n){var r={label:t.label,device:t.deviceId,type:wk.BACK};e.utilSrv.isMobile()?r.label.toLowerCase().includes(wk.FRONT.toLowerCase())&&(r.type=wk.FRONT):0===n&&(r.type=wk.FRONT),e.cameras.push(r)})),this.log.d("Camera selected",this.camSelected)},e.prototype.getCamSelected=function(){if(0!==this.cameras.length)return this.getCamFromStorage()||this.camSelected||this.cameras[0];this.log.e("No video devices found!")},e.prototype.getCamFromStorage=function(){var e,t=this.storageSrv.get(this.VIDEO_DEVICE);if(t=this.getCameraByDeviceField(null===(e=t)||void 0===e?void 0:e.device))return t},e.prototype.getMicSelected=function(){if(0!==this.microphones.length)return this.getMicFromStogare()||this.micSelected||this.microphones[0];this.log.e("No audio devices found!")},e.prototype.getMicFromStogare=function(){var e,t=this.storageSrv.get(this.AUDIO_DEVICE);if(t=this.getMicrophoneByDeviceField(null===(e=t)||void 0===e?void 0:e.device))return t},e.prototype.setCamSelected=function(e){this.camSelected=this.getCameraByDeviceField(e),this.saveCamToStorage(this.camSelected)},e.prototype.saveCamToStorage=function(e){this.storageSrv.set(this.VIDEO_DEVICE,e)},e.prototype.setMicSelected=function(e){this.micSelected=this.getMicrophoneByDeviceField(e),this.saveMicToStorage(this.micSelected)},e.prototype.saveMicToStorage=function(e){this.storageSrv.set(this.AUDIO_DEVICE,e)},e.prototype.needUpdateVideoTrack=function(e){return this.getCamSelected().device!==e},e.prototype.needUpdateAudioTrack=function(e){return this.getMicSelected().device!==e},e.prototype.getCameras=function(){return this.cameras},e.prototype.getMicrophones=function(){return this.microphones},e.prototype.hasVideoDeviceAvailable=function(){var e;return!!(null===(e=this.devices)||void 0===e?void 0:e.find((function(e){return"videoinput"===e.kind})))},e.prototype.hasAudioDeviceAvailable=function(){var e;return!!(null===(e=this.devices)||void 0===e?void 0:e.find((function(e){return"audioinput"===e.kind})))},e.prototype.cameraNeedsMirror=function(e){var t;return(null===(t=this.getCameraByDeviceField(e))||void 0===t?void 0:t.type)===wk.FRONT},e.prototype.areEmptyLabels=function(){return!!this.cameras.find((function(e){return""===e.label}))||!!this.microphones.find((function(e){return""===e.label}))},e.prototype.getCameraByDeviceField=function(e){return this.cameras.find((function(t){return t.device===e||t.label===e}))},e.prototype.getMicrophoneByDeviceField=function(e){return this.microphones.find((function(t){return t.device===e||t.label===e}))},e.prototype.resetDevicesArray=function(){this.cameras=[{label:"None",device:null,type:null}],this.microphones=[{label:"None",device:null,type:null}]},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(tE),st(Ck),st(xk))},providedIn:"root"}),e}(),Pk=function(){function e(e,t){this.http=e,this.loggerSrv=t,this.log=this.loggerSrv.get("NetworkService"),this.baseHref="/"+(window.location.pathname.split("/")[1]?window.location.pathname.split("/")[1]+"/":"")}return e.prototype.getToken=function(e,t,n){return r=this,void 0,o=function(){var r,i;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(o){switch(o.label){case 0:return t&&n?[4,this.createSession(e,t,n)]:[3,3];case 1:return r=o.sent(),[4,this.createToken(r,t,n)];case 2:return[2,o.sent()];case 3:return o.trys.push([3,5,,6]),this.log.d("Getting token from backend"),[4,this.http.post(this.baseHref+"call",{sessionId:e}).toPromise()];case 4:return[2,o.sent()];case 5:if(404===(i=o.sent()).status)throw{status:i.status,message:"Cannot connect with backend. "+i.url+" not found"};throw i;case 6:return[2]}}))},new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{a(o.next(e))}catch(n){t(n)}}function s(e){try{a(o.throw(e))}catch(n){t(n)}}function a(t){var r;t.done?e(t.value):(r=t.value,r instanceof i?r:new i((function(e){e(r)}))).then(n,s)}a((o=o.apply(r,[])).next())}));var r,i,o},e.prototype.createSession=function(e,t,n){var r=this;return new Promise((function(i,o){var s=JSON.stringify({customSessionId:e}),a={headers:new i_({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return r.http.post(t+"/api/sessions",s,a).pipe(Yb((function(t){return 409===t.status&&i(e),"Unknown Error"===t.statusText&&o({status:401,message:"ERR_CERT_AUTHORITY_INVALID"}),ny(t)}))).subscribe((function(e){i(e.id)}))}))},e.prototype.createToken=function(e,t,n){var r=this;return new Promise((function(i,o){var s=JSON.stringify({session:e}),a={headers:new i_({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return r.http.post(t+"/api/tokens",s,a).pipe(Yb((function(e){return o(e),ny(e)}))).subscribe((function(e){r.log.d(e),i(e.token)}))}))},e.\u0275prov=Se({token:e,factory:e.\u0275fac=function(t){return new(t||e)(st(y_),st(tE))},providedIn:"root"}),e}(),Mk=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.dirty||e.touched||t&&t.submitted))},e}(),Tk=["row","column","row-reverse","column-reverse"];function Ak(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],r=t[1],i=t[2];return Tk.find((function(e){return e===n}))||(n=Tk[0]),"inline"===r&&(r="inline"!==i?i:"",i="inline"),[n,Rk(r),!!i]}function Ik(e){return Ak(e)[0].indexOf("row")>-1}function Rk(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var jk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.prototype.buildStyles=function(e){return void 0===(t=(r=Ak(e))[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null};var t,n,r},t.\u0275prov=Se({factory:function(){return new t},token:t,providedIn:"root"}),t.\u0275fac=function(e){return n(e||t)};var n=wr(t);return t}(BE),Dk=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],Nk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=Dk,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.DIRECTIVE_KEY="layout",o.styleCache=Lk,o.init(),o}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(jk),Bs(WE))},t.\u0275dir=At({type:t,features:[Na]}),t}(_E)),Lk=new Map,Vk={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},zk=function(e){function t(t){var n=e.call(this)||this;return n._styler=t,n}return i(t,e),t.prototype.buildStyles=function(e,t){return e.endsWith(Gk)?(n=e=e.slice(0,e.indexOf(Gk)),r=t.directionality,o=(i=n.split(" "))[0],a="0px",c=(s=function(e){return"-"+e})(i[1]||o),u="0px","rtl"===r?u=s(o):a=s(o),{margin:"0px "+a+" "+c+" "+u}):{};var n,r,i,o,s,a,c,u},t.prototype.sideEffect=function(e,t,n){var r,i,s,a,c,u,l=n.items;if(e.endsWith(Gk)){var d=(r=e=e.slice(0,e.indexOf(Gk)),i=n.directionality,a=(s=r.split(" "))[0],c="0px",u="0px","rtl"===i?u=a:c=a,{padding:"0px "+c+" "+(s[1]||a)+" "+u});this._styler.applyStyleToElements(d,n.items)}else{var p=l.pop(),h=function(e,t){var n=Qk(t.directionality,t.layout),r=o({},Vk);return r[n]=e,r}(e,n);this._styler.applyStyleToElements(h,l),this._styler.applyStyleToElements(Vk,[p])}},t.\u0275prov=Se({factory:function(){return new t(st(FE))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(st(FE))},t}(BE),Fk=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],Bk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=Fk,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i,o,s){var a=e.call(this,t,o,i,s)||this;a.zone=n,a.directionality=r,a.styleUtils=i,a.layout="row",a.DIRECTIVE_KEY="layout-gap",a.observerSubject=new j;var c=[a.directionality.change,a.observerSubject.asObservable()];return a.init(c),a.marshal.trackValue(a.nativeElement,"layout").pipe(Kv(a.destroySubject)).subscribe(a.onLayoutChange.bind(a)),a}return i(t,e),Object.defineProperty(t.prototype,"childrenNodes",{get:function(){for(var e=this.nativeElement.children,t=[],n=e.length;n--;)t[n]=e[n];return t},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this.buildChildObservable(),this.triggerUpdate()},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this.observer&&this.observer.disconnect()},t.prototype.onLayoutChange=function(e){var t=this,n=e.value.split(" ");this.layout=n[0],Tk.find((function(e){return e===t.layout}))||(this.layout="row"),this.triggerUpdate()},t.prototype.updateWithValue=function(e){var t=this,n=this.childrenNodes.filter((function(e){return 1===e.nodeType&&t.willDisplay(e)})).sort((function(e,n){var r=+t.styler.lookupStyle(e,"order"),i=+t.styler.lookupStyle(n,"order");return isNaN(r)||isNaN(i)||r===i?0:r>i?1:-1}));if(n.length>0){var r=this.directionality.value,i=this.layout;"row"===i&&"rtl"===r?this.styleCache=Uk:"row"===i&&"rtl"!==r?this.styleCache=Wk:"column"===i&&"rtl"===r?this.styleCache=qk:"column"===i&&"rtl"!==r&&(this.styleCache=Hk),this.addStyles(e,{directionality:r,items:n,layout:i})}},t.prototype.clearStyles=function(){var t,n=Object.keys(this.mru).length>0,r=n?"padding":Qk(this.directionality.value,this.layout);n&&e.prototype.clearStyles.call(this),this.styleUtils.applyStyleToElements(((t={})[r]="",t),this.childrenNodes)},t.prototype.willDisplay=function(e){var t=this.marshal.getValue(e,"show-hide");return!0===t||void 0===t&&"none"!==this.styleUtils.lookupStyle(e,"display")},t.prototype.buildChildObservable=function(){var e=this;this.zone.runOutsideAngular((function(){"undefined"!=typeof MutationObserver&&(e.observer=new MutationObserver((function(t){t.some((function(e){return e.addedNodes&&e.addedNodes.length>0||e.removedNodes&&e.removedNodes.length>0}))&&e.observerSubject.next()})),e.observer.observe(e.nativeElement,{childList:!0}))}))},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(Fu),Bs(Gm),Bs(FE),Bs(zk),Bs(WE))},t.\u0275dir=At({type:t,features:[Na]}),t}(_E)),Uk=new Map,qk=new Map,Wk=new Map,Hk=new Map,Gk=" grid";function Qk(e,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left";default:return"rtl"===e?"margin-left":"margin-right"}}function Zk(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var r=0,i=t;r<i.length;r++){var o=i[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}return e}var Yk=function(e){function t(t){var n=e.call(this)||this;return n.layoutConfig=t,n}return i(t,e),t.prototype.buildStyles=function(e,t){var n=e.split(" "),r=n[0],i=n[1],o=n.slice(2).join(" "),s=t.direction.indexOf("column")>-1?"column":"row",a=Ik(s)?"max-width":"max-height",c=Ik(s)?"min-width":"min-height",u=String(o).indexOf("calc")>-1,l=u||"auto"===o,d=String(o).indexOf("%")>-1&&!u,p=String(o).indexOf("px")>-1||String(o).indexOf("rem")>-1||String(o).indexOf("em")>-1||String(o).indexOf("vw")>-1||String(o).indexOf("vh")>-1,h=u||p;i="0"==i?0:i;var f=!(r="0"==r?0:r)&&!i,g={},m={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===s?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,o="auto";break;case"grow":o="100%";break;case"noshrink":i=0,o="auto";break;case"auto":break;case"none":r=0,i=0,o="auto";break;default:h||d||isNaN(o)||(o+="%"),"0%"===o&&(h=!0),"0px"===o&&(o="0%"),g=Zk(m,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":h?o:"100%"}:{flex:r+" "+i+" "+(h?o:"100%")})}return g.flex||g["flex-grow"]||(g=Zk(m,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(g[c]=f||h&&r?o:null,g[a]=f||!l&&i?o:null),g[c]||g[a]?t.hasWrap&&(g[u?"flex-basis":"flex"]=g[a]?u?g[a]:r+" "+i+" "+g[a]:u?g[c]:r+" "+i+" "+g[c]):g=Zk(m,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o}),Zk(g,{"box-sizing":"border-box"})},t.\u0275prov=Se({factory:function(){return new t(st(fE))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(st(fE))},t}(BE),Kk=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],Xk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=Kk,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i,o){var s=e.call(this,t,i,n,o)||this;return s.layoutConfig=r,s.marshal=o,s.DIRECTIVE_KEY="flex",s.direction=void 0,s.wrap=void 0,s.flexGrow="1",s.flexShrink="1",s.init(),s}return i(t,e),Object.defineProperty(t.prototype,"shrink",{get:function(){return this.flexShrink},set:function(e){this.flexShrink=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"grow",{get:function(){return this.flexGrow},set:function(e){this.flexGrow=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Kv(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Kv(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))},t.prototype.onLayoutChange=function(e){var t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()},t.prototype.updateWithValue=function(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));var t=this.direction,n=t.startsWith("row"),r=this.wrap;n&&r?this.styleCache=eP:n&&!r?this.styleCache=Jk:!n&&r?this.styleCache=tP:n||r||(this.styleCache=$k);var i=UE(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:t,hasWrap:r})},t.prototype.triggerReflow=function(){var e=this.activatedValue;if(void 0!==e){var t=UE(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(fE),Bs(Yk),Bs(WE))},t.\u0275dir=At({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[Na]}),t}(_E)),Jk=new Map,$k=new Map,eP=new Map,tP=new Map,nP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.prototype.buildStyles=function(e){return{order:e&&parseInt(e,10)||""}},t.\u0275prov=Se({factory:function(){return new t},token:t,providedIn:"root"}),t.\u0275fac=function(e){return n(e||t)};var n=wr(t);return t}(BE),rP=["fxFlexOrder","fxFlexOrder.xs","fxFlexOrder.sm","fxFlexOrder.md","fxFlexOrder.lg","fxFlexOrder.xl","fxFlexOrder.lt-sm","fxFlexOrder.lt-md","fxFlexOrder.lt-lg","fxFlexOrder.lt-xl","fxFlexOrder.gt-xs","fxFlexOrder.gt-sm","fxFlexOrder.gt-md","fxFlexOrder.gt-lg"],iP=function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.DIRECTIVE_KEY="flex-order",o.styleCache=oP,o.init(),o}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(nP),Bs(WE))},t.\u0275dir=At({type:t,features:[Na]}),t}(_E),oP=new Map,sP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=rP,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","fxFlexOrder",""],["","fxFlexOrder.xs",""],["","fxFlexOrder.sm",""],["","fxFlexOrder.md",""],["","fxFlexOrder.lg",""],["","fxFlexOrder.xl",""],["","fxFlexOrder.lt-sm",""],["","fxFlexOrder.lt-md",""],["","fxFlexOrder.lt-lg",""],["","fxFlexOrder.lt-xl",""],["","fxFlexOrder.gt-xs",""],["","fxFlexOrder.gt-sm",""],["","fxFlexOrder.gt-md",""],["","fxFlexOrder.gt-lg",""]],inputs:{fxFlexOrder:"fxFlexOrder","fxFlexOrder.xs":"fxFlexOrder.xs","fxFlexOrder.sm":"fxFlexOrder.sm","fxFlexOrder.md":"fxFlexOrder.md","fxFlexOrder.lg":"fxFlexOrder.lg","fxFlexOrder.xl":"fxFlexOrder.xl","fxFlexOrder.lt-sm":"fxFlexOrder.lt-sm","fxFlexOrder.lt-md":"fxFlexOrder.lt-md","fxFlexOrder.lt-lg":"fxFlexOrder.lt-lg","fxFlexOrder.lt-xl":"fxFlexOrder.lt-xl","fxFlexOrder.gt-xs":"fxFlexOrder.gt-xs","fxFlexOrder.gt-sm":"fxFlexOrder.gt-sm","fxFlexOrder.gt-md":"fxFlexOrder.gt-md","fxFlexOrder.gt-lg":"fxFlexOrder.gt-lg"},features:[Na]});var n=wr(t);return t}(iP),aP={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},cP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.prototype.buildStyles=function(e){return aP},t.\u0275prov=Se({factory:function(){return new t},token:t,providedIn:"root"}),t.\u0275fac=function(e){return n(e||t)};var n=wr(t);return t}(BE),uP=function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.styleCache=lP,o.addStyles(""),o}return i(t,e),t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(cP),Bs(WE))},t.\u0275dir=At({type:t,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[Na]}),t}(_E),lP=new Map,dP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}i(t,e),t.prototype.buildStyles=function(e,t){var n={},r=e.split(" "),i=r[1];switch(r[0]){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return Zk(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===i?Ik(t.layout)?null:"100%":null,"max-height":"stretch"===i&&Ik(t.layout)?"100%":null})},t.\u0275prov=Se({factory:function(){return new t},token:t,providedIn:"root"}),t.\u0275fac=function(e){return n(e||t)};var n=wr(t);return t}(BE),pP=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],hP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=pP,t}i(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=At({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[Na]});var n=wr(t);return t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.DIRECTIVE_KEY="layout-align",o.layout="row",o.inline=!1,o.init(),o.marshal.trackValue(o.nativeElement,"layout").pipe(Kv(o.destroySubject)).subscribe(o.onLayoutChange.bind(o)),o}return i(t,e),t.prototype.updateWithValue=function(e){var t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=yP:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=_P:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=bP:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=wP:"column-reverse"!==t||n||(this.styleCache=vP):this.styleCache=gP:this.styleCache=mP:this.styleCache=fP,this.addStyles(e,{layout:t,inline:n})},t.prototype.onLayoutChange=function(e){var t=this,n=e.value.split(" ");this.layout=n[0],this.inline=e.value.includes("inline"),Tk.find((function(e){return e===t.layout}))||(this.layout="row"),this.triggerUpdate()},t.\u0275fac=function(e){return new(e||t)(Bs(rc),Bs(FE),Bs(dP),Bs(WE))},t.\u0275dir=At({type:t,features:[Na]}),t}(_E)),fP=new Map,gP=new Map,mP=new Map,vP=new Map,yP=new Map,bP=new Map,_P=new Map,wP=new Map,SP=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[lE,Qm]]}),e}(),CP=["videoElement"],xP=function(){function e(){this.toggleVideoSizeEvent=new Kc}return e.prototype.ngAfterViewInit=function(){var e=this;setTimeout((function(){e._streamManager&&e._videoElement&&e._streamManager.addVideoElement(e._videoElement.nativeElement)}))},Object.defineProperty(e.prototype,"videoElement",{set:function(e){this._videoElement=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"streamManager",{set:function(e){var t=this;setTimeout((function(){t._streamManager=e,t._videoElement&&t._streamManager&&(t._streamManager.stream.typeOfVideo===KO.SCREEN?(t._videoElement.nativeElement.style.objectFit="contain",t._videoElement.nativeElement.style.background="#272727",t.enableVideoSizeBig()):t._videoElement.nativeElement.style.objectFit="cover",t._streamManager.addVideoElement(t._videoElement.nativeElement))}))},enumerable:!0,configurable:!0}),e.prototype.enableVideoSizeBig=function(){var e=this;setTimeout((function(){e.toggleVideoSizeEvent.emit(!0)}),590)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ot({type:e,selectors:[["ov-video"]],viewQuery:function(e,t){var n;1&e&&uu(CP,!0),2&e&&au(n=fu())&&(t.videoElement=n.first)},inputs:{mutedSound:"mutedSound",streamManager:"streamManager"},outputs:{toggleVideoSizeEvent:"toggleVideoSizeEvent"},decls:2,vars:2,consts:[[3,"muted"],["videoElement",""]],template:function(e,t){1&e&&Zs(0,"video",0,1),2&e&&(Ws("muted",t.mutedSound),Vs("id",t.streamManager&&t._streamManager.stream?"video-"+t._streamManager.stream.streamId:"video-undefined"))},styles:[".nickname[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:999;border-radius:5px;color:#fff;font-family:Ubuntu,sans-serif}.nicknameContainer[_ngcontent-%COMP%]{background-color:#424242;padding:5px;color:#fff;font-weight:700}#dialogNickname[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.37);border-radius:5px}#closeButton[_ngcontent-%COMP%]{position:absolute;top:-3px;right:0;z-index:999}#nicknameForm[_ngcontent-%COMP%]{padding:10px}.fullscreen[_ngcontent-%COMP%]{top:40px}mat-error[_ngcontent-%COMP%]{text-align:center;color:#353535}video[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;color:#fff;margin:0;padding:0;border:0;font-size:100%}.statusIcons[_ngcontent-%COMP%]{bottom:0;left:5px;width:40px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;color:#fff}.statusIcons[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline;font-size:20px}.videoButtons[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px}.videoButtons[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{line-height:0}#camStatus[_ngcontent-%COMP%]{bottom:43px}#statusCam[_ngcontent-%COMP%], #statusMic[_ngcontent-%COMP%]{text-align:center;width:28px;height:28px;border-radius:50%;background:#c71100;margin:5px auto}.videoButtons[_ngcontent-%COMP%]{right:0;position:absolute;bottom:0;z-index:9999999;width:50px;text-align:center}.videoButtons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#000;width:30px;height:30px;margin:1px}.OT_widget-container[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;overflow:hidden} .mat-focused .mat-form-field-label, .mat-form-field-appearance-legacy .mat-form-field-label, mat-error[_ngcontent-%COMP%]{color:#cacaca!important} .mat-form-field-appearance-legacy .mat-form-field-underline, .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#cacaca!important}input[_ngcontent-%COMP%]{caret-color:#fff!important}"]}),e}(),OP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasChat()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasChat",type:e,pure:!0}),e}(),EP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasAudio()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasAudio",type:e,pure:!0}),e}(),kP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasVideo()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasVideo",type:e,pure:!0}),e}(),PP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.isAutoPublish()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"isAutoPublish",type:e,pure:!0}),e}(),MP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasScreenSharing()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasScreenSharing",type:e,pure:!0}),e}(),TP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasFullscreen()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasFullscreen",type:e,pure:!0}),e}(),AP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasLayoutSpeaking()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasLayoutSpeaking",type:e,pure:!0}),e}(),IP=function(){function e(){}return e.prototype.transform=function(e){return!e||e.hasExit()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"hasExit",type:e,pure:!0}),e}(),RP=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function a(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},jP=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},DP=["bodyCard"];function NP(e,t){if(1&e&&Zs(0,"ov-video",38),2&e){var n=oa(),r=n.$implicit,i=n.index,o=oa(2);Ws("streamManager",r.streamManager)("className",o.localUsers.length>1&&0===i?"ovVideoSmall":"")}}function LP(e,t){1&e&&(Gs(0,"div",39),Gs(1,"span"),Ta(2,"Oops! Camera is not available"),Qs(),Qs())}function VP(e,t){if(1&e&&(Gs(0,"div"),Fs(1,NP,1,2,"ov-video",36),Fs(2,LP,3,0,"div",37),Qs()),2&e){var n=t.$implicit,r=oa(2);ji(1),Ws("ngIf",n.isCamera()&&r.hasVideoDevices||n.isScreen()),ji(1),Ws("ngIf",n.isCamera()&&!r.hasVideoDevices)}}function zP(e,t){1&e&&(Gs(0,"div",46),Gs(1,"span"),Ta(2,"Press Avatar Button"),Qs(),Qs())}function FP(e,t){1&e&&Zs(0,"img",47),2&e&&Ws("src",oa(3).videoAvatar,pi)}function BP(e,t){1&e&&Zs(0,"mat-spinner",48),2&e&&Ws("diameter",70)}function UP(e,t){1&e&&Zs(0,"img",47),2&e&&Ws("src",oa(3).randomAvatar,pi)}function qP(e,t){if(1&e){var n=Xs();Gs(0,"div",40),Gs(1,"div",41),Gs(2,"div",42),ea("click",(function(){return ln(n),oa(2).setAvatar("video")})),Fs(3,zP,3,0,"div",43),Fs(4,FP,1,1,"img",44),Qs(),Gs(5,"div",42),ea("click",(function(){return ln(n),oa(2).setAvatar("random")})),Fs(6,BP,1,1,"mat-spinner",45),Fs(7,UP,1,1,"img",44),Qs(),Qs(),Qs()}if(2&e){var r=oa(2);ji(2),ya("background","video"===r.avatarSelected?"lightgreen":"transparent",hi),ji(1),Ws("ngIf",!r.videoAvatar),ji(1),Ws("ngIf",r.videoAvatar),ji(1),ya("background","random"===r.avatarSelected?"lightgreen":"transparent",hi),ji(1),Ws("ngIf",!r.randomAvatar),ji(1),Ws("ngIf",r.randomAvatar)}}function WP(e,t){1&e&&(Gs(0,"mat-error"),Ta(1," Nickname is "),Gs(2,"strong"),Ta(3,"required"),Qs(),Qs())}function HP(e,t){1&e&&(Gs(0,"mat-error"),Ta(1," Nickname is "),Gs(2,"strong"),Ta(3,"too long!"),Qs(),Qs())}function GP(e,t){1&e&&(Gs(0,"mat-icon",55),Ta(1,"mic"),Qs())}function QP(e,t){1&e&&(Gs(0,"mat-icon",56),Ta(1,"mic_off"),Qs())}function ZP(e,t){if(1&e&&(Gs(0,"mat-option",57),Ta(1),Qs()),2&e){var n=t.$implicit;Ws("value",n.device),ji(1),Ia(" ",n.label," ")}}function YP(e,t){if(1&e){var n=Xs();Gs(0,"div",24),Gs(1,"div",25),Gs(2,"div",26),Gs(3,"button",49),ea("click",(function(){return ln(n),oa(2).toggleMic()})),Fs(4,GP,2,0,"mat-icon",50),Fs(5,QP,2,0,"mat-icon",51),Qs(),Qs(),Gs(6,"div",29),Gs(7,"mat-form-field",52),Gs(8,"mat-select",53),ea("selectionChange",(function(e){return ln(n),oa(2).onMicrophoneSelected(e)})),Fs(9,ZP,2,2,"mat-option",54),Qs(),Qs(),Qs(),Qs(),Qs()}if(2&e){var r=oa(2);ji(4),Ws("ngIf",r.isAudioActive),ji(1),Ws("ngIf",!r.isAudioActive),ji(3),Ws("ngModel",r.isAudioActive&&r.micSelected?r.micSelected.device:"None"),ji(1),Ws("ngForOf",r.microphones)}}function KP(e,t){1&e&&(Gs(0,"mat-icon",62),Ta(1,"videocam"),Qs())}function XP(e,t){1&e&&(Gs(0,"mat-icon",63),Ta(1,"videocam_off"),Qs())}function JP(e,t){if(1&e&&(Gs(0,"mat-option",57),Ta(1),Qs()),2&e){var n=t.$implicit;Ws("value",n.device),ji(1),Ia(" ",n.label," ")}}function $P(e,t){if(1&e){var n=Xs();Gs(0,"div",24),Gs(1,"div",25),Gs(2,"div",26),Gs(3,"button",58),ea("click",(function(){return ln(n),oa(2).toggleCam()})),Fs(4,KP,2,0,"mat-icon",59),Fs(5,XP,2,0,"mat-icon",60),Qs(),Qs(),Gs(6,"div",29),Gs(7,"mat-form-field",52),Gs(8,"mat-select",61),ea("selectionChange",(function(e){return ln(n),oa(2).onCameraSelected(e)})),Fs(9,JP,2,2,"mat-option",54),Qs(),Qs(),Qs(),Qs(),Qs()}if(2&e){var r=oa(2);ji(4),Ws("ngIf",r.isVideoActive),ji(1),Ws("ngIf",!r.isVideoActive),ji(3),Ws("ngModel",r.isVideoActive&&r.camSelected?r.camSelected.device:"None"),ji(1),Ws("ngForOf",r.cameras)}}function eM(e,t){1&e&&(Gs(0,"mat-icon",68),Ta(1,"screen_share"),Qs())}function tM(e,t){1&e&&(Gs(0,"mat-icon",69),Ta(1," stop_screen_share"),Qs())}function nM(e,t){if(1&e){var n=Xs();Gs(0,"div",24),Gs(1,"div",25),Gs(2,"div",26),Gs(3,"button",64),ea("click",(function(){return ln(n),oa(2).toggleScreenShare()})),Fs(4,eM,2,0,"mat-icon",65),Fs(5,tM,2,0,"mat-icon",66),Qs(),Qs(),Gs(6,"div",29),Gs(7,"mat-form-field",52),Zs(8,"input",67),Qs(),Qs(),Qs(),Qs()}if(2&e){var r=oa(2);ji(4),Ws("ngIf",r.oVSessionService.isScreenShareEnabled()),ji(1),Ws("ngIf",!r.oVSessionService.isScreenShareEnabled()),ji(3),Ws("ngModel",r.oVSessionService.isScreenShareEnabled()?"Screen":"None")}}function rM(e,t){if(1&e){var n=Xs();Gs(0,"div",2),Gs(1,"div",3),Gs(2,"div",4),Gs(3,"div",5),Gs(4,"div",6),Zs(5,"img",7),Qs(),Gs(6,"h3",8),Ta(7),Qs(),Gs(8,"button",9),ea("click",(function(){return ln(n),oa().close()})),Gs(9,"mat-icon",10),Ta(10,"highlight_off"),Qs(),Qs(),Qs(),Gs(11,"div",11,12),Gs(13,"div",13),Gs(14,"div",14),Gs(15,"div",15),Fs(16,VP,3,2,"div",16),Qs(),Gs(17,"div",17),Gs(18,"button",18),ea("click",(function(){return ln(n),oa().takePhoto()})),Gs(19,"mat-icon",19),Ta(20,"photo_camera"),Qs(),Gs(21,"span",20),Ta(22,"Capture Avatar"),Qs(),Qs(),Qs(),Qs(),Gs(23,"div",21),Gs(24,"div",22),Gs(25,"h3"),Ta(26,"Avatar"),Qs(),Qs(),Fs(27,qP,8,8,"div",23),Gs(28,"div",24),Gs(29,"div",25),Gs(30,"div",26),Gs(31,"button",27),ea("click",(function(){return ln(n),oa().setNicknameForm()})),Gs(32,"mat-icon",28),Ta(33,"person"),Qs(),Qs(),Qs(),Gs(34,"div",29),Gs(35,"form",30),Gs(36,"mat-form-field"),Gs(37,"input",31),ea("keypress",(function(e){return ln(n),oa().eventKeyPress(e)})),Qs(),Fs(38,WP,4,0,"mat-error",32),Fs(39,HP,4,0,"mat-error",32),Qs(),Qs(),Qs(),Qs(),Qs(),Fs(40,YP,10,4,"div",33),Zc(41,"hasAudio"),Fs(42,$P,10,4,"div",33),Zc(43,"hasVideo"),Fs(44,nM,9,3,"div",33),Zc(45,"hasScreenSharing"),Qs(),Qs(),Qs(),Gs(46,"div",34),Gs(47,"button",35),ea("click",(function(){return ln(n),oa().joinSession()})),Ta(48,"JOIN"),Qs(),Qs(),Qs(),Qs(),Qs()}if(2&e){var r=oa();ji(7),Aa(r.mySessionId),ji(9),Ws("ngForOf",r.localUsers),ji(11),Ws("ngIf",r.hasVideoDevices),ji(10),Ws("formControl",r.nicknameFormControl)("errorStateMatcher",r.matcher),ji(1),Ws("ngIf",r.nicknameFormControl.hasError("required")),ji(1),Ws("ngIf",r.nicknameFormControl.hasError("maxlength")),ji(1),Ws("ngIf",r.hasAudioDevices&&Yc(41,10,r.ovSettings)),ji(2),Ws("ngIf",r.hasVideoDevices&&Yc(43,12,r.ovSettings)),ji(2),Ws("ngIf",Yc(45,14,r.ovSettings))}}var iM=function(e){return{display:e}},oM=function(){function e(e,t,n,r,i,o){this.route=e,this.utilsSrv=t,this.oVSessionService=n,this.oVDevicesService=r,this.loggerSrv=i,this.storageSrv=o,this.USER_NICKNAME="openviduCallNickname",this.join=new Kc,this.leaveSession=new Kc,this.publisherCreated=new Kc,this.isVideoActive=!0,this.isAudioActive=!0,this.localUsers=[],this.nicknameFormControl=new Fp("",[np.maxLength(25),np.required]),this.matcher=new Mk,this.log=this.loggerSrv.get("RoomConfigComponent")}return e.prototype.beforeunloadHandler=function(){this.close()},e.prototype.ngOnInit=function(){return RP(this,void 0,void 0,(function(){return jP(this,(function(e){switch(e.label){case 0:return this.subscribeToUsers(),this.setNicknameForm(),this.setRandomAvatar(),this.columns=window.innerWidth>900?2:1,this.setSessionName(),[4,this.oVDevicesService.initDevices()];case 1:return e.sent(),this.setDevicesInfo(),this.initwebcamPublisher(),[2]}}))}))},e.prototype.ngOnDestroy=function(){this.oVUsersSubscription.unsubscribe()},e.prototype.onCameraSelected=function(e){var t;return RP(this,void 0,void 0,(function(){var n,r;return jP(this,(function(i){switch(i.label){case 0:return(n=null===(t=e)||void 0===t?void 0:t.value)?this.oVDevicesService.needUpdateVideoTrack(n)?(r=this.oVDevicesService.cameraNeedsMirror(n),[4,this.oVSessionService.replaceTrack(n,null,r)]):[3,2]:[3,3];case 1:i.sent(),this.oVDevicesService.setCamSelected(n),this.camSelected=this.oVDevicesService.getCamSelected(),i.label=2;case 2:return this.oVSessionService.publishVideo(!0),this.isVideoActive=!0,[2];case 3:return this.oVSessionService.publishVideo(!1),this.isVideoActive=!1,[2]}}))}))},e.prototype.onMicrophoneSelected=function(e){var t;return RP(this,void 0,void 0,(function(){var n,r;return jP(this,(function(i){switch(i.label){case 0:return(n=null===(t=e)||void 0===t?void 0:t.value)?this.oVDevicesService.needUpdateAudioTrack(n)?(console.log(this.camSelected),r=this.oVDevicesService.cameraNeedsMirror(this.camSelected.device),[4,this.oVSessionService.replaceTrack(null,n,r)]):[3,2]:[3,3];case 1:i.sent(),this.oVDevicesService.setMicSelected(n),this.micSelected=this.oVDevicesService.getMicSelected(),i.label=2;case 2:return this.publishAudio(!0),this.isAudioActive=!0,[2];case 3:return this.publishAudio(!1),this.isAudioActive=!1,[2]}}))}))},e.prototype.toggleCam=function(){this.isVideoActive=!this.isVideoActive,this.oVSessionService.publishVideo(this.isVideoActive),this.oVSessionService.areBothConnected()?(this.oVSessionService.disableWebcamUser(),this.oVSessionService.publishScreenAudio(this.isAudioActive)):this.oVSessionService.isOnlyScreenConnected()&&this.oVSessionService.enableWebcamUser()},e.prototype.toggleScreenShare=function(){var e=this;if(this.oVSessionService.areBothConnected())this.oVSessionService.disableScreenUser();else{if(this.oVSessionService.isOnlyWebcamConnected()){var t=this.initScreenPublisher();return t.on("accessAllowed",(function(n){t.stream.getMediaStream().getVideoTracks()[0].addEventListener("ended",(function(){e.log.d("Clicked native stop button. Stopping screen sharing"),e.toggleScreenShare()})),e.oVSessionService.enableScreenUser(t),e.oVSessionService.hasWebcamVideoActive()||e.oVSessionService.disableWebcamUser()})),void t.on("accessDenied",(function(t){e.log.w("ScreenShare: Access Denied")}))}this.oVSessionService.enableWebcamUser(),this.oVSessionService.disableScreenUser()}},e.prototype.toggleMic=function(){this.isAudioActive=!this.isAudioActive,this.publishAudio(this.isAudioActive)},e.prototype.takePhoto=function(){this.oVSessionService.setWebcamAvatar(),this.videoAvatar=this.oVSessionService.getWebCamAvatar(),this.oVSessionService.setAvatar(eE.VIDEO)},e.prototype.setNicknameForm=function(){if(this.externalConfig)this.nicknameFormControl.setValue(this.externalConfig.getNickname());else{var e=this.storageSrv.get(this.USER_NICKNAME)||this.utilsSrv.generateNickname();this.nicknameFormControl.setValue(e)}},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.nicknameFormControl.valid&&this.joinSession()},e.prototype.onResize=function(e){this.columns=e.target.innerWidth>900?2:1},e.prototype.joinSession=function(){this.nicknameFormControl.valid&&(this.oVSessionService.setWebcamName(this.nicknameFormControl.value),this.storageSrv.set(this.USER_NICKNAME,this.nicknameFormControl.value),this.join.emit()),this.scrollToBottom()},e.prototype.close=function(){this.leaveSession.emit(),this.showConfigCard=!1},e.prototype.setAvatar=function(e){var t=e===eE.VIDEO?eE.VIDEO:eE.RANDOM;(t===eE.RANDOM&&this.randomAvatar||t===eE.VIDEO&&this.videoAvatar)&&(this.avatarSelected=t)},e.prototype.setDevicesInfo=function(){this.hasVideoDevices=this.oVDevicesService.hasVideoDeviceAvailable(),this.hasAudioDevices=this.oVDevicesService.hasAudioDeviceAvailable(),this.microphones=this.oVDevicesService.getMicrophones(),this.cameras=this.oVDevicesService.getCameras(),this.camSelected=this.oVDevicesService.getCamSelected(),this.micSelected=this.oVDevicesService.getMicSelected()},e.prototype.setSessionName=function(){var e=this;this.route.params.subscribe((function(t){e.mySessionId=e.externalConfig?e.externalConfig.getSessionName():t.roomName,e.oVSessionService.setSessionId(e.mySessionId)}))},e.prototype.setRandomAvatar=function(){this.randomAvatar=this.utilsSrv.getOpenViduAvatar(),this.oVSessionService.setAvatar(eE.RANDOM,this.randomAvatar),this.avatarSelected=eE.RANDOM},e.prototype.scrollToBottom=function(){try{this.bodyCard.nativeElement.scrollTop=this.bodyCard.nativeElement.scrollHeight}catch(e){}},e.prototype.initScreenPublisher=function(){var e=XO.SCREEN,t=this.oVSessionService.isWebCamEnabled()&&this.oVSessionService.hasWebcamVideoActive(),n=this.oVSessionService.createProperties(e,void 0,!0,!t&&this.isAudioActive,!1);try{return this.oVSessionService.initScreenPublisher(void 0,n)}catch(r){this.log.e(r),this.utilsSrv.handlerScreenShareError(r)}},e.prototype.publishAudio=function(e){this.oVSessionService.isWebCamEnabled()?this.oVSessionService.publishWebcamAudio(e):this.oVSessionService.publishScreenAudio(e)},e.prototype.subscribeToUsers=function(){var e=this;this.oVUsersSubscription=this.oVSessionService.OVUsers.subscribe((function(t){e.localUsers=t}))},e.prototype.initwebcamPublisher=function(){var e,t,n=(null===(e=this.micSelected)||void 0===e?void 0:e.device)||void 0,r=(null===(t=this.camSelected)||void 0===t?void 0:t.device)||void 0,i=this.oVSessionService.createProperties(!!this.hasVideoDevices&&r,!!this.hasAudioDevices&&n,!!this.hasVideoDevices&&this.isVideoActive,!!this.hasAudioDevices&&this.isAudioActive,this.camSelected&&this.camSelected.type===wk.FRONT),o=this.oVSessionService.initCamPublisher(void 0,i);this.handlePublisherSuccess(o),this.handlePublisherError(o)},e.prototype.emitPublisher=function(e){this.publisherCreated.emit(e)},e.prototype.handlePublisherSuccess=function(e){var t=this;e.once("accessAllowed",(function(){return RP(t,void 0,void 0,(function(){var t,n;return jP(this,(function(r){switch(r.label){case 0:return this.oVDevicesService.areEmptyLabels()?[4,this.oVDevicesService.initDevices()]:[3,2];case 1:r.sent(),this.hasAudioDevices&&(t=e.stream.getMediaStream().getAudioTracks()[0].label,this.oVDevicesService.setMicSelected(t)),this.hasVideoDevices&&(n=e.stream.getMediaStream().getVideoTracks()[0].label,this.oVDevicesService.setCamSelected(n)),this.setDevicesInfo(),r.label=2;case 2:return this.emitPublisher(e),this.ovSettings.isAutoPublish()?(this.joinSession(),[2]):(this.showConfigCard=!0,[2])}}))}))}))},e.prototype.handlePublisherError=function(e){var t=this;e.once("accessDenied",(function(e){var n;"DEVICE_ACCESS_DENIED"===e.name&&(n="Access to media devices was not allowed."),"NO_INPUT_SOURCE_SET"===e.name&&(n="No video or audio devices have been found. Please, connect at least one."),t.utilsSrv.showErrorMessage(e.name.replace(/_/g," "),n,!0),t.log.e(e.message)}))},e.\u0275fac=function(t){return new(t||e)(Bs(cx),Bs(Ck),Bs(iE),Bs(kk),Bs(tE),Bs(xk))},e.\u0275cmp=Ot({type:e,selectors:[["app-room-config"]],viewQuery:function(e,t){var n;1&e&&uu(DP,!0),2&e&&au(n=fu())&&(t.bodyCard=n.first)},hostBindings:function(e,t){1&e&&ea("beforeunload",(function(){return t.beforeunloadHandler()}),!1,tr)},inputs:{externalConfig:"externalConfig",ovSettings:"ovSettings"},outputs:{join:"join",leaveSession:"leaveSession",publisherCreated:"publisherCreated"},decls:3,vars:6,consts:[["id","roomConfig",3,"ngStyle"],["class","modal",4,"ngIf"],[1,"modal"],[1,"modal-dialog","modal-xl"],[1,"modal-content","cardContainer"],[1,"modal-header","cardHeader"],[1,"headerLogo"],["id","header_img","alt","OpenVidu Logo","src","https://raw.githubusercontent.com/OpenVidu/openvidu-call/master/openvidu-call-front/src/assets/images/openvidu_logo_grey.png"],[1,"headerTitle"],["mat-mini-fab","","id","closeButton",1,"closeButton",3,"click"],["color","warn","matTooltip","Close"],[1,"modal-body"],["bodyCard",""],[1,"row","align-items-center"],[1,"col-sm-6","col-md-6","col-lg-6","leftSection"],[1,"videoContainer"],[4,"ngFor","ngForOf"],[1,"avatarButton"],["mat-stroked-button","",3,"click"],["matTooltip","Take Photo"],[2,"margin-left","5px"],[1,"col-sm-6","col-md-6","col-lg-6","rightSection"],[1,"avatarContainer"],["fxLayout","row","fxFill","","id","avatarSection",4,"ngIf"],["fxLayout","row","fxFill","","id","devicesSection"],["fxLayout","","fxFlex",""],["fxFlex","20","fxLayoutAlign","center center",1,"one"],["mat-mini-fab","",1,"deviceButton",3,"click"],["matTooltip","Nickname"],["fxFlex","80","fxLayoutAlign","center center",1,"two"],["id","nicknameForm",1,"alternate-theme"],["matInput","","placeholder","Nickname","autocomplete","off",3,"formControl","errorStateMatcher","keypress"],[4,"ngIf"],["fxLayout","row","fxFill","","id","devicesSection",4,"ngIf"],[1,"modal-footer",2,"justify-content","center"],["mat-flat-button","","color","accent","form","nicknameForm","id","joinButton",3,"click"],[3,"streamManager","className",4,"ngIf"],["class","cameraMessageContainer",4,"ngIf"],[3,"streamManager","className"],[1,"cameraMessageContainer"],["fxLayout","row","fxFill","","id","avatarSection"],["fxFlex","100","fxLayoutAlign","center center",1,""],["id","avatarContainer",3,"click"],["id","imgText",4,"ngIf"],["id","avatarImg",3,"src",4,"ngIf"],["id","imgText","color","accent",3,"diameter",4,"ngIf"],["id","imgText"],["id","avatarImg",3,"src"],["id","imgText","color","accent",3,"diameter"],["mat-mini-fab","","id","configCardMicrophoneButton",1,"deviceButton",3,"click"],["matTooltip","Microphone Enabled",4,"ngIf"],["color","warn","matTooltip","Microphone Disabled",4,"ngIf"],[1,"alternate-theme"],["placeholder","Microphone Options",3,"ngModel","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matTooltip","Microphone Enabled"],["color","warn","matTooltip","Microphone Disabled"],[3,"value"],["mat-mini-fab","","id","configCardCameraButton",1,"deviceButton",3,"click"],["matTooltip","Camera Enabled",4,"ngIf"],["color","warn","matTooltip","Camera Disabled",4,"ngIf"],["placeholder","Camera Options",3,"ngModel","selectionChange"],["matTooltip","Camera Enabled"],["color","warn","matTooltip","Camera Disabled"],["mat-mini-fab","","id","configCardScreenButton",1,"deviceButton",3,"click"],["matTooltip","Screen Share Enabled",4,"ngIf"],["color","warn","matTooltip","Screen Share Disabled",4,"ngIf"],["matInput","","disabled","","placeholder","Screen",3,"ngModel"],["matTooltip","Screen Share Enabled"],["color","warn","matTooltip","Screen Share Disabled"]],template:function(e,t){var n,r;1&e&&(Gs(0,"div",0),Zc(1,"isAutoPublish"),Fs(2,rM,49,16,"div",1),Qs()),2&e&&(Ws("ngStyle",(4,n=iM,r=Yc(1,2,t.ovSettings)?"none":"block",Qc(cn(),vn(),4,n,r,void 0))),ji(2),Ws("ngIf",t.showConfigCard))},directives:[Xl,$E,Wl,Vv,Q_,wS,Ul,Nk,uP,Xk,hP,$p,Xd,Hp,Gb,tw,Wd,Kd,nh,xP,uw,Ib,Pw,Jp,Pv],pipes:[PP,EP,kP,MP],styles:[".cardHeader[_ngcontent-%COMP%]{background-color:#ccc;border-radius:14px 14px 0 0;text-align:center;height:50px}.headerLogo[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:inherit}.headerTitle[_ngcontent-%COMP%]{font-size:large;margin:auto}.videoContainer[_ngcontent-%COMP%]{width:100%;height:calc(100% - 50px);text-align:center;margin:auto}.avatarButton[_ngcontent-%COMP%]{text-align:center;margin-top:10px}.videoContainer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline}.ovVideoSmall[_ngcontent-%COMP%]{position:absolute;width:30%;left:15px;bottom:46px}.cameraMessageContainer[_ngcontent-%COMP%]{height:100%;width:100%;text-align:center;border:2px solid;font-size:large;display:table}.cameraMessageContainer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.deviceButton[_ngcontent-%COMP%]{box-shadow:none;background-color:#f5f5f5}.rightSection[_ngcontent-%COMP%]{padding-left:0!important;text-align:center}.avatarContainer[_ngcontent-%COMP%]{background-color:#f5f5f5;height:40px;text-align:center;display:flex}.avatarContainer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:auto}.closeButton[_ngcontent-%COMP%]{position:absolute;top:5px;right:7px;box-shadow:none;background-color:transparent}#roomConfig[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%}#header_img[_ngcontent-%COMP%]{max-width:150px}#sessionInfo[_ngcontent-%COMP%]{margin-top:0}#joinButton[_ngcontent-%COMP%]{margin:15px;width:80%}#photoButton[_ngcontent-%COMP%]{margin:10px;text-align:center}#avatarContainer[_ngcontent-%COMP%]{border:1px solid #b6b6b6;width:100px;height:100px;margin:10px;position:relative;cursor:pointer;display:inline-block}#devicesSection[_ngcontent-%COMP%]{margin:15px 0}#avatarSection[_ngcontent-%COMP%], #devicesSection[_ngcontent-%COMP%]{height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important;min-height:auto!important}#imgText[_ngcontent-%COMP%]{display:table}#avatarImg[_ngcontent-%COMP%], #imgText[_ngcontent-%COMP%]{text-align:center;position:absolute;margin:auto;top:25%;left:0;right:0;bottom:25%}#avatarImg[_ngcontent-%COMP%]{height:83%;width:83%}#avatarContainer[_ngcontent-%COMP%], #avatarImg[_ngcontent-%COMP%]{border-radius:25%}#optionsContent[_ngcontent-%COMP%]{position:static}#nicknameForm[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%]{width:100%}mat-card[_ngcontent-%COMP%]{max-width:85%!important;position:absolute;top:0;bottom:0;left:0;right:0;max-height:90%;margin:auto;padding:20px;overflow:auto;border:2px solid #fff;border-right-width:4px}@media only screen and (max-width:959px){mat-card[_ngcontent-%COMP%]{max-width:80%!important;max-height:80%!important}} .mat-option-text{color:#000!important} .mat-slider-thumb{visibility:hidden} .mat-slider-vertical .mat-slider-track-background, .mat-slider-vertical .mat-slider-track-fill, .mat-slider-vertical .mat-slider-track-wrapper{width:10px!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#b8afaf;border-radius:4px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:4px}\n\n\n*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{box-sizing:border-box}.container[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container[_ngcontent-%COMP%]{width:750px}}@media (min-width:992px){.container[_ngcontent-%COMP%]{width:970px}}@media (min-width:1200px){.container[_ngcontent-%COMP%]{width:1170px}}.container-fluid[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row[_ngcontent-%COMP%]{margin-right:-15px;margin-left:-15px}.row-no-gutters[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.row-no-gutters[_ngcontent-%COMP%] [class*=col-][_ngcontent-%COMP%]{padding-right:0;padding-left:0}.col-lg-1[_ngcontent-%COMP%], .col-lg-2[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%], .col-lg-4[_ngcontent-%COMP%], .col-lg-5[_ngcontent-%COMP%], .col-lg-6[_ngcontent-%COMP%], .col-lg-7[_ngcontent-%COMP%], .col-lg-8[_ngcontent-%COMP%], .col-lg-9[_ngcontent-%COMP%], .col-lg-10[_ngcontent-%COMP%], .col-lg-11[_ngcontent-%COMP%], .col-lg-12[_ngcontent-%COMP%], .col-md-1[_ngcontent-%COMP%], .col-md-2[_ngcontent-%COMP%], .col-md-3[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-5[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-7[_ngcontent-%COMP%], .col-md-8[_ngcontent-%COMP%], .col-md-9[_ngcontent-%COMP%], .col-md-10[_ngcontent-%COMP%], .col-md-11[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%], .col-sm-1[_ngcontent-%COMP%], .col-sm-2[_ngcontent-%COMP%], .col-sm-3[_ngcontent-%COMP%], .col-sm-4[_ngcontent-%COMP%], .col-sm-5[_ngcontent-%COMP%], .col-sm-6[_ngcontent-%COMP%], .col-sm-7[_ngcontent-%COMP%], .col-sm-8[_ngcontent-%COMP%], .col-sm-9[_ngcontent-%COMP%], .col-sm-10[_ngcontent-%COMP%], .col-sm-11[_ngcontent-%COMP%], .col-sm-12[_ngcontent-%COMP%], .col-xs-1[_ngcontent-%COMP%], .col-xs-2[_ngcontent-%COMP%], .col-xs-3[_ngcontent-%COMP%], .col-xs-4[_ngcontent-%COMP%], .col-xs-5[_ngcontent-%COMP%], .col-xs-6[_ngcontent-%COMP%], .col-xs-7[_ngcontent-%COMP%], .col-xs-8[_ngcontent-%COMP%], .col-xs-9[_ngcontent-%COMP%], .col-xs-10[_ngcontent-%COMP%], .col-xs-11[_ngcontent-%COMP%], .col-xs-12[_ngcontent-%COMP%]{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1[_ngcontent-%COMP%], .col-xs-2[_ngcontent-%COMP%], .col-xs-3[_ngcontent-%COMP%], .col-xs-4[_ngcontent-%COMP%], .col-xs-5[_ngcontent-%COMP%], .col-xs-6[_ngcontent-%COMP%], .col-xs-7[_ngcontent-%COMP%], .col-xs-8[_ngcontent-%COMP%], .col-xs-9[_ngcontent-%COMP%], .col-xs-10[_ngcontent-%COMP%], .col-xs-11[_ngcontent-%COMP%], .col-xs-12[_ngcontent-%COMP%]{float:left}.col-xs-12[_ngcontent-%COMP%]{width:100%}.col-xs-11[_ngcontent-%COMP%]{width:91.66666667%}.col-xs-10[_ngcontent-%COMP%]{width:83.33333333%}.col-xs-9[_ngcontent-%COMP%]{width:75%}.col-xs-8[_ngcontent-%COMP%]{width:66.66666667%}.col-xs-7[_ngcontent-%COMP%]{width:58.33333333%}.col-xs-6[_ngcontent-%COMP%]{width:50%}.col-xs-5[_ngcontent-%COMP%]{width:41.66666667%}.col-xs-4[_ngcontent-%COMP%]{width:33.33333333%}.col-xs-3[_ngcontent-%COMP%]{width:25%}.col-xs-2[_ngcontent-%COMP%]{width:16.66666667%}.col-xs-1[_ngcontent-%COMP%]{width:8.33333333%}.col-xs-pull-12[_ngcontent-%COMP%]{right:100%}.col-xs-pull-11[_ngcontent-%COMP%]{right:91.66666667%}.col-xs-pull-10[_ngcontent-%COMP%]{right:83.33333333%}.col-xs-pull-9[_ngcontent-%COMP%]{right:75%}.col-xs-pull-8[_ngcontent-%COMP%]{right:66.66666667%}.col-xs-pull-7[_ngcontent-%COMP%]{right:58.33333333%}.col-xs-pull-6[_ngcontent-%COMP%]{right:50%}.col-xs-pull-5[_ngcontent-%COMP%]{right:41.66666667%}.col-xs-pull-4[_ngcontent-%COMP%]{right:33.33333333%}.col-xs-pull-3[_ngcontent-%COMP%]{right:25%}.col-xs-pull-2[_ngcontent-%COMP%]{right:16.66666667%}.col-xs-pull-1[_ngcontent-%COMP%]{right:8.33333333%}.col-xs-pull-0[_ngcontent-%COMP%]{right:auto}.col-xs-push-12[_ngcontent-%COMP%]{left:100%}.col-xs-push-11[_ngcontent-%COMP%]{left:91.66666667%}.col-xs-push-10[_ngcontent-%COMP%]{left:83.33333333%}.col-xs-push-9[_ngcontent-%COMP%]{left:75%}.col-xs-push-8[_ngcontent-%COMP%]{left:66.66666667%}.col-xs-push-7[_ngcontent-%COMP%]{left:58.33333333%}.col-xs-push-6[_ngcontent-%COMP%]{left:50%}.col-xs-push-5[_ngcontent-%COMP%]{left:41.66666667%}.col-xs-push-4[_ngcontent-%COMP%]{left:33.33333333%}.col-xs-push-3[_ngcontent-%COMP%]{left:25%}.col-xs-push-2[_ngcontent-%COMP%]{left:16.66666667%}.col-xs-push-1[_ngcontent-%COMP%]{left:8.33333333%}.col-xs-push-0[_ngcontent-%COMP%]{left:auto}.col-xs-offset-12[_ngcontent-%COMP%]{margin-left:100%}.col-xs-offset-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.col-xs-offset-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.col-xs-offset-9[_ngcontent-%COMP%]{margin-left:75%}.col-xs-offset-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.col-xs-offset-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.col-xs-offset-6[_ngcontent-%COMP%]{margin-left:50%}.col-xs-offset-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.col-xs-offset-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.col-xs-offset-3[_ngcontent-%COMP%]{margin-left:25%}.col-xs-offset-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.col-xs-offset-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.col-xs-offset-0[_ngcontent-%COMP%]{margin-left:0}@media (min-width:768px){.col-sm-1[_ngcontent-%COMP%], .col-sm-2[_ngcontent-%COMP%], .col-sm-3[_ngcontent-%COMP%], .col-sm-4[_ngcontent-%COMP%], .col-sm-5[_ngcontent-%COMP%], .col-sm-6[_ngcontent-%COMP%], .col-sm-7[_ngcontent-%COMP%], .col-sm-8[_ngcontent-%COMP%], .col-sm-9[_ngcontent-%COMP%], .col-sm-10[_ngcontent-%COMP%], .col-sm-11[_ngcontent-%COMP%], .col-sm-12[_ngcontent-%COMP%]{float:left}.col-sm-12[_ngcontent-%COMP%]{width:100%}.col-sm-11[_ngcontent-%COMP%]{width:91.66666667%}.col-sm-10[_ngcontent-%COMP%]{width:83.33333333%}.col-sm-9[_ngcontent-%COMP%]{width:75%}.col-sm-8[_ngcontent-%COMP%]{width:66.66666667%}.col-sm-7[_ngcontent-%COMP%]{width:58.33333333%}.col-sm-6[_ngcontent-%COMP%]{width:50%}.col-sm-5[_ngcontent-%COMP%]{width:41.66666667%}.col-sm-4[_ngcontent-%COMP%]{width:33.33333333%}.col-sm-3[_ngcontent-%COMP%]{width:25%}.col-sm-2[_ngcontent-%COMP%]{width:16.66666667%}.col-sm-1[_ngcontent-%COMP%]{width:8.33333333%}.col-sm-pull-12[_ngcontent-%COMP%]{right:100%}.col-sm-pull-11[_ngcontent-%COMP%]{right:91.66666667%}.col-sm-pull-10[_ngcontent-%COMP%]{right:83.33333333%}.col-sm-pull-9[_ngcontent-%COMP%]{right:75%}.col-sm-pull-8[_ngcontent-%COMP%]{right:66.66666667%}.col-sm-pull-7[_ngcontent-%COMP%]{right:58.33333333%}.col-sm-pull-6[_ngcontent-%COMP%]{right:50%}.col-sm-pull-5[_ngcontent-%COMP%]{right:41.66666667%}.col-sm-pull-4[_ngcontent-%COMP%]{right:33.33333333%}.col-sm-pull-3[_ngcontent-%COMP%]{right:25%}.col-sm-pull-2[_ngcontent-%COMP%]{right:16.66666667%}.col-sm-pull-1[_ngcontent-%COMP%]{right:8.33333333%}.col-sm-pull-0[_ngcontent-%COMP%]{right:auto}.col-sm-push-12[_ngcontent-%COMP%]{left:100%}.col-sm-push-11[_ngcontent-%COMP%]{left:91.66666667%}.col-sm-push-10[_ngcontent-%COMP%]{left:83.33333333%}.col-sm-push-9[_ngcontent-%COMP%]{left:75%}.col-sm-push-8[_ngcontent-%COMP%]{left:66.66666667%}.col-sm-push-7[_ngcontent-%COMP%]{left:58.33333333%}.col-sm-push-6[_ngcontent-%COMP%]{left:50%}.col-sm-push-5[_ngcontent-%COMP%]{left:41.66666667%}.col-sm-push-4[_ngcontent-%COMP%]{left:33.33333333%}.col-sm-push-3[_ngcontent-%COMP%]{left:25%}.col-sm-push-2[_ngcontent-%COMP%]{left:16.66666667%}.col-sm-push-1[_ngcontent-%COMP%]{left:8.33333333%}.col-sm-push-0[_ngcontent-%COMP%]{left:auto}.col-sm-offset-12[_ngcontent-%COMP%]{margin-left:100%}.col-sm-offset-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.col-sm-offset-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.col-sm-offset-9[_ngcontent-%COMP%]{margin-left:75%}.col-sm-offset-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.col-sm-offset-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.col-sm-offset-6[_ngcontent-%COMP%]{margin-left:50%}.col-sm-offset-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.col-sm-offset-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.col-sm-offset-3[_ngcontent-%COMP%]{margin-left:25%}.col-sm-offset-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.col-sm-offset-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.col-sm-offset-0[_ngcontent-%COMP%]{margin-left:0}}@media (min-width:992px){.col-md-1[_ngcontent-%COMP%], .col-md-2[_ngcontent-%COMP%], .col-md-3[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-5[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-7[_ngcontent-%COMP%], .col-md-8[_ngcontent-%COMP%], .col-md-9[_ngcontent-%COMP%], .col-md-10[_ngcontent-%COMP%], .col-md-11[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%]{float:left}.col-md-12[_ngcontent-%COMP%]{width:100%}.col-md-11[_ngcontent-%COMP%]{width:91.66666667%}.col-md-10[_ngcontent-%COMP%]{width:83.33333333%}.col-md-9[_ngcontent-%COMP%]{width:75%}.col-md-8[_ngcontent-%COMP%]{width:66.66666667%}.col-md-7[_ngcontent-%COMP%]{width:58.33333333%}.col-md-6[_ngcontent-%COMP%]{width:50%}.col-md-5[_ngcontent-%COMP%]{width:41.66666667%}.col-md-4[_ngcontent-%COMP%]{width:33.33333333%}.col-md-3[_ngcontent-%COMP%]{width:25%}.col-md-2[_ngcontent-%COMP%]{width:16.66666667%}.col-md-1[_ngcontent-%COMP%]{width:8.33333333%}.col-md-pull-12[_ngcontent-%COMP%]{right:100%}.col-md-pull-11[_ngcontent-%COMP%]{right:91.66666667%}.col-md-pull-10[_ngcontent-%COMP%]{right:83.33333333%}.col-md-pull-9[_ngcontent-%COMP%]{right:75%}.col-md-pull-8[_ngcontent-%COMP%]{right:66.66666667%}.col-md-pull-7[_ngcontent-%COMP%]{right:58.33333333%}.col-md-pull-6[_ngcontent-%COMP%]{right:50%}.col-md-pull-5[_ngcontent-%COMP%]{right:41.66666667%}.col-md-pull-4[_ngcontent-%COMP%]{right:33.33333333%}.col-md-pull-3[_ngcontent-%COMP%]{right:25%}.col-md-pull-2[_ngcontent-%COMP%]{right:16.66666667%}.col-md-pull-1[_ngcontent-%COMP%]{right:8.33333333%}.col-md-pull-0[_ngcontent-%COMP%]{right:auto}.col-md-push-12[_ngcontent-%COMP%]{left:100%}.col-md-push-11[_ngcontent-%COMP%]{left:91.66666667%}.col-md-push-10[_ngcontent-%COMP%]{left:83.33333333%}.col-md-push-9[_ngcontent-%COMP%]{left:75%}.col-md-push-8[_ngcontent-%COMP%]{left:66.66666667%}.col-md-push-7[_ngcontent-%COMP%]{left:58.33333333%}.col-md-push-6[_ngcontent-%COMP%]{left:50%}.col-md-push-5[_ngcontent-%COMP%]{left:41.66666667%}.col-md-push-4[_ngcontent-%COMP%]{left:33.33333333%}.col-md-push-3[_ngcontent-%COMP%]{left:25%}.col-md-push-2[_ngcontent-%COMP%]{left:16.66666667%}.col-md-push-1[_ngcontent-%COMP%]{left:8.33333333%}.col-md-push-0[_ngcontent-%COMP%]{left:auto}.col-md-offset-12[_ngcontent-%COMP%]{margin-left:100%}.col-md-offset-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.col-md-offset-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.col-md-offset-9[_ngcontent-%COMP%]{margin-left:75%}.col-md-offset-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.col-md-offset-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.col-md-offset-6[_ngcontent-%COMP%]{margin-left:50%}.col-md-offset-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.col-md-offset-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.col-md-offset-3[_ngcontent-%COMP%]{margin-left:25%}.col-md-offset-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.col-md-offset-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.col-md-offset-0[_ngcontent-%COMP%]{margin-left:0}}@media (min-width:1200px){.col-lg-1[_ngcontent-%COMP%], .col-lg-2[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%], .col-lg-4[_ngcontent-%COMP%], .col-lg-5[_ngcontent-%COMP%], .col-lg-6[_ngcontent-%COMP%], .col-lg-7[_ngcontent-%COMP%], .col-lg-8[_ngcontent-%COMP%], .col-lg-9[_ngcontent-%COMP%], .col-lg-10[_ngcontent-%COMP%], .col-lg-11[_ngcontent-%COMP%], .col-lg-12[_ngcontent-%COMP%]{float:left}.col-lg-12[_ngcontent-%COMP%]{width:100%}.col-lg-11[_ngcontent-%COMP%]{width:91.66666667%}.col-lg-10[_ngcontent-%COMP%]{width:83.33333333%}.col-lg-9[_ngcontent-%COMP%]{width:75%}.col-lg-8[_ngcontent-%COMP%]{width:66.66666667%}.col-lg-7[_ngcontent-%COMP%]{width:58.33333333%}.col-lg-6[_ngcontent-%COMP%]{width:50%}.col-lg-5[_ngcontent-%COMP%]{width:41.66666667%}.col-lg-4[_ngcontent-%COMP%]{width:33.33333333%}.col-lg-3[_ngcontent-%COMP%]{width:25%}.col-lg-2[_ngcontent-%COMP%]{width:16.66666667%}.col-lg-1[_ngcontent-%COMP%]{width:8.33333333%}.col-lg-pull-12[_ngcontent-%COMP%]{right:100%}.col-lg-pull-11[_ngcontent-%COMP%]{right:91.66666667%}.col-lg-pull-10[_ngcontent-%COMP%]{right:83.33333333%}.col-lg-pull-9[_ngcontent-%COMP%]{right:75%}.col-lg-pull-8[_ngcontent-%COMP%]{right:66.66666667%}.col-lg-pull-7[_ngcontent-%COMP%]{right:58.33333333%}.col-lg-pull-6[_ngcontent-%COMP%]{right:50%}.col-lg-pull-5[_ngcontent-%COMP%]{right:41.66666667%}.col-lg-pull-4[_ngcontent-%COMP%]{right:33.33333333%}.col-lg-pull-3[_ngcontent-%COMP%]{right:25%}.col-lg-pull-2[_ngcontent-%COMP%]{right:16.66666667%}.col-lg-pull-1[_ngcontent-%COMP%]{right:8.33333333%}.col-lg-pull-0[_ngcontent-%COMP%]{right:auto}.col-lg-push-12[_ngcontent-%COMP%]{left:100%}.col-lg-push-11[_ngcontent-%COMP%]{left:91.66666667%}.col-lg-push-10[_ngcontent-%COMP%]{left:83.33333333%}.col-lg-push-9[_ngcontent-%COMP%]{left:75%}.col-lg-push-8[_ngcontent-%COMP%]{left:66.66666667%}.col-lg-push-7[_ngcontent-%COMP%]{left:58.33333333%}.col-lg-push-6[_ngcontent-%COMP%]{left:50%}.col-lg-push-5[_ngcontent-%COMP%]{left:41.66666667%}.col-lg-push-4[_ngcontent-%COMP%]{left:33.33333333%}.col-lg-push-3[_ngcontent-%COMP%]{left:25%}.col-lg-push-2[_ngcontent-%COMP%]{left:16.66666667%}.col-lg-push-1[_ngcontent-%COMP%]{left:8.33333333%}.col-lg-push-0[_ngcontent-%COMP%]{left:auto}.col-lg-offset-12[_ngcontent-%COMP%]{margin-left:100%}.col-lg-offset-11[_ngcontent-%COMP%]{margin-left:91.66666667%}.col-lg-offset-10[_ngcontent-%COMP%]{margin-left:83.33333333%}.col-lg-offset-9[_ngcontent-%COMP%]{margin-left:75%}.col-lg-offset-8[_ngcontent-%COMP%]{margin-left:66.66666667%}.col-lg-offset-7[_ngcontent-%COMP%]{margin-left:58.33333333%}.col-lg-offset-6[_ngcontent-%COMP%]{margin-left:50%}.col-lg-offset-5[_ngcontent-%COMP%]{margin-left:41.66666667%}.col-lg-offset-4[_ngcontent-%COMP%]{margin-left:33.33333333%}.col-lg-offset-3[_ngcontent-%COMP%]{margin-left:25%}.col-lg-offset-2[_ngcontent-%COMP%]{margin-left:16.66666667%}.col-lg-offset-1[_ngcontent-%COMP%]{margin-left:8.33333333%}.col-lg-offset-0[_ngcontent-%COMP%]{margin-left:0}}.modal[_ngcontent-%COMP%], .modal-open[_ngcontent-%COMP%]{overflow:hidden}.modal[_ngcontent-%COMP%]{top:0;right:0;bottom:0;left:0;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0;display:block;height:100%}.modal.fade[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{transform:translateY(-25%);transition:transform .3s ease-out}.modal.in[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{transform:translate(0)}.modal-open[_ngcontent-%COMP%] .modal[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.modal-dialog[_ngcontent-%COMP%]{width:auto;margin:30px;padding:100px 0;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.modal-content[_ngcontent-%COMP%]{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0;border-radius:15px}.modal-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade[_ngcontent-%COMP%]{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in[_ngcontent-%COMP%]{filter:alpha(opacity=50);opacity:.5}.modal-header[_ngcontent-%COMP%]{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{margin-top:-2px}.modal-title[_ngcontent-%COMP%]{margin:0;line-height:1.42857143}.modal-body[_ngcontent-%COMP%]{position:relative;padding:15px}.modal-footer[_ngcontent-%COMP%]{padding:1px;text-align:center;border-top:1px solid #e5e5e5}.modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] + .btn[_ngcontent-%COMP%]{margin-bottom:0;margin-left:5px}.modal-footer[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] + .btn[_ngcontent-%COMP%]{margin-left:-1px}.modal-footer[_ngcontent-%COMP%] .btn-block[_ngcontent-%COMP%] + .btn-block[_ngcontent-%COMP%]{margin-left:0}.modal-scrollbar-measure[_ngcontent-%COMP%]{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (max-width:600px){.headerTitle[_ngcontent-%COMP%]{display:none}.headerLogo[_ngcontent-%COMP%]{right:0}}@media (max-width:767px){.row[_ngcontent-%COMP%]{height:100%}.leftSection[_ngcontent-%COMP%]{height:60%}.rightSection[_ngcontent-%COMP%]{padding-right:0!important}.headerTitle[_ngcontent-%COMP%]{font-size:medium}.modal-content[_ngcontent-%COMP%]{max-height:100%;height:100%}.modal-dialog[_ngcontent-%COMP%]{height:calc(100% - 10px);margin:5px;padding:0;position:relative;top:0;left:0;transform:none}.modal-body[_ngcontent-%COMP%]{padding:10px 20px;overflow:auto;height:calc(100% - 120px);overflow:-moz-scrollbars-vertical;overflow-x:hidden;overflow-y:scroll}.modal[_ngcontent-%COMP%]{max-height:100%}.videoContainer[_ngcontent-%COMP%]{width:60%}}@media (min-width:768px){.ovVideoSmall[_ngcontent-%COMP%]{width:40%}.row[_ngcontent-%COMP%]{display:flex!important}.modal-dialog[_ngcontent-%COMP%]{width:90%;margin:55px auto}.modal-content[_ngcontent-%COMP%]{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm[_ngcontent-%COMP%]{width:300px}}@media (min-width:992px){.modal-lg[_ngcontent-%COMP%]{width:75%}}@media (min-width:1440px){.modal-xl[_ngcontent-%COMP%]{width:75%}}"]}),e}(),sM=function(e){return e.BIG="zoom_in",e.NORMAL="zoom_out",e}({}),aM=function(e){return e.BIG="fullscreen",e.NORMAL="fullscreen_exit",e}({}),cM=function(e,t){return{titleContent:!0,titleContentLight:e,titleContentDark:t}};function uM(e,t){if(1&e&&(Gs(0,"div",3),Gs(1,"span",4),Ta(2),Qs(),Qs()),2&e){var n=oa();Ws("ngClass",(r=2,i=cM,o=n.lightTheme,s=!n.lightTheme,function(e,t,n,r,i,o,s){var a=t+n;return function(e,t,n,r){var i=Ls(e,t,n);return Ls(e,t+1,r)||i}(e,a,i,o)?Ns(e,a+2,s?r.call(s,i,o):r(i,o)):Gc(e,a+2)}(cn(),vn(),r,i,o,s,a))),ji(2),Aa(n.sessionId)}var r,i,o,s,a}var lM=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ot({type:e,selectors:[["app-toolbar-logo"]],inputs:{lightTheme:"lightTheme",compact:"compact",sessionId:"sessionId",logoUrl:"logoUrl"},decls:4,vars:2,consts:[["id","navSessionInfo"],["id","header_img","alt","OpenVidu Logo",3,"src"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["id","session-title"]],template:function(e,t){1&e&&(Gs(0,"div",0),Gs(1,"a"),Zs(2,"img",1),Qs(),Fs(3,uM,3,5,"div",2),Qs()),2&e&&(ji(2),Ws("src",t.logoUrl,pi),ji(1),Ws("ngIf",!t.compact&&t.sessionId))},directives:[Wl,Fl,QE],styles:["#header[_ngcontent-%COMP%]{color:#fff;height:40px;background-color:#333;padding:0 14px 0 0;position:absolute;top:0;left:0;z-index:999999;min-width:400px!important}.buttonsContainer[_ngcontent-%COMP%]{position:absolute;left:0;right:0}.headerLight[_ngcontent-%COMP%]{color:#706969!important;background-color:#eee!important}#navSessionInfo[_ngcontent-%COMP%]{height:100%;display:inline-flex}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-17px}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-6px}.mat-icon-button[disabled][_ngcontent-%COMP%]{color:#fff}.titleContent[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;max-width:100px;margin:5px -18px;padding:0 15px;font-size:16px;overflow:hidden;text-overflow:ellipsis}.titleContentDark[_ngcontent-%COMP%]{background-color:#494949;color:#fff}.titleContentLight[_ngcontent-%COMP%]{background-color:#dfdfdf!important;color:#000}#header_img[_ngcontent-%COMP%]{max-width:135px;margin-right:10px;margin-top:-3px}#point[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:12px;right:33px;border-radius:50%;background-color:#ffa600;border:1px solid #000;z-index:99999}.pointLight[_ngcontent-%COMP%]{border:1px solid #fff!important}.tooltipList[_ngcontent-%COMP%]{white-space:pre}@media (max-width:600px){#navSessionInfo[_ngcontent-%COMP%]{display:none}}"]}),e}();function dM(e,t){1&e&&(Gs(0,"mat-icon",14),Ta(1,"mic"),Qs())}function pM(e,t){1&e&&(Gs(0,"mat-icon",15),Ta(1,"mic_off"),Qs())}function hM(e,t){if(1&e){var n=Xs();Gs(0,"button",11),ea("click",(function(){return ln(n),oa().toggleMicrophone()})),Fs(1,dM,2,0,"mat-icon",12),Fs(2,pM,2,0,"mat-icon",13),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(1),Ws("ngIf",r.isWebcamAudioEnabled),ji(1),Ws("ngIf",!r.isWebcamAudioEnabled)}}function fM(e,t){1&e&&(Gs(0,"mat-icon",19),Ta(1,"videocam"),Qs())}function gM(e,t){1&e&&(Gs(0,"mat-icon",20),Ta(1,"videocam_off"),Qs())}function mM(e,t){if(1&e){var n=Xs();Gs(0,"button",16),ea("click",(function(){return ln(n),oa().toggleCamera()})),Fs(1,fM,2,0,"mat-icon",17),Fs(2,gM,2,0,"mat-icon",18),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(1),Ws("ngIf",r.isWebcamVideoEnabled),ji(1),Ws("ngIf",!r.isWebcamVideoEnabled)}}function vM(e,t){1&e&&(Gs(0,"mat-icon",24),Ta(1,"stop_screen_share"),Qs())}function yM(e,t){1&e&&(Gs(0,"mat-icon",25),Ta(1,"screen_share"),Qs())}function bM(e,t){if(1&e){var n=Xs();Gs(0,"button",21),ea("click",(function(){return ln(n),oa().toggleScreenShare()})),Fs(1,vM,2,0,"mat-icon",22),Fs(2,yM,2,0,"mat-icon",23),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(1),Ws("ngIf",!r.isScreenEnabled),ji(1),Ws("ngIf",r.isScreenEnabled)}}function _M(e,t){if(1&e){var n=Xs();Gs(0,"button",26),ea("click",(function(){return ln(n),oa().toggleFullscreen()})),Gs(1,"mat-icon",27),Ta(2),Qs(),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(2),Aa(r.fullscreenIcon)}}function wM(e,t){1&e&&(Gs(0,"mat-icon",30),Ta(1,"voice_over_off"),Qs())}function SM(e,t){1&e&&(Gs(0,"mat-icon",31),Ta(1,"record_voice_over"),Qs())}function CM(e,t){if(1&e){var n=Xs();Gs(0,"button",26),ea("click",(function(){return ln(n),oa().toggleSpeakerLayout()})),Fs(1,wM,2,0,"mat-icon",28),Fs(2,SM,2,0,"mat-icon",29),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(1),Ws("ngIf",!r.isAutoLayout),ji(1),Ws("ngIf",r.isAutoLayout)}}function xM(e,t){if(1&e){var n=Xs();Gs(0,"button",32),ea("click",(function(){return ln(n),oa().leaveSession()})),Gs(1,"mat-icon",33),Ta(2,"power_settings_new"),Qs(),Qs()}}function OM(e,t){if(1&e){var n=Xs();Gs(0,"button",26),ea("click",(function(){return ln(n),oa().toggleChat()})),Gs(1,"mat-icon",34),Ta(2,"chat"),Qs(),Qs()}if(2&e){var r=oa();Ws("disabled",r.isConnectionLost),ji(1),ua("matBadge",r.newMessagesNum),Ws("matBadgeHidden",0===r.newMessagesNum)}}var EM=function(){function e(e,t){var n=this;this.utilsSrv=e,this.chatService=t,this.micButtonClicked=new Kc,this.camButtonClicked=new Kc,this.screenShareClicked=new Kc,this.layoutButtonClicked=new Kc,this.leaveSessionButtonClicked=new Kc,this.fullscreenIcon=aM.BIG,this.logoUrl="https://raw.githubusercontent.com/OpenVidu/openvidu-call/master/openvidu-call-front/src/assets/images/",this.participantsNames=[],this.chatServiceSubscription=this.chatService.messagesUnreadObs.subscribe((function(e){n.newMessagesNum=e}))}return e.prototype.ngOnDestroy=function(){this.chatServiceSubscription.unsubscribe()},e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,r=window.innerHeight;n!==window.innerWidth&&t!==r&&(this.fullscreenIcon=aM.BIG)},e.prototype.ngOnInit=function(){this.logoUrl+=this.lightTheme?"openvidu_logo_grey.png":"openvidu_logo.png"},e.prototype.toggleMicrophone=function(){this.micButtonClicked.emit()},e.prototype.toggleCamera=function(){this.camButtonClicked.emit()},e.prototype.toggleScreenShare=function(){this.screenShareClicked.emit()},e.prototype.toggleSpeakerLayout=function(){this.layoutButtonClicked.emit()},e.prototype.leaveSession=function(){this.leaveSessionButtonClicked.emit()},e.prototype.toggleChat=function(){this.chatService.toggleChat()},e.prototype.toggleFullscreen=function(){this.utilsSrv.toggleFullscreen("videoRoomNavBar"),this.fullscreenIcon=this.fullscreenIcon===aM.BIG?aM.NORMAL:aM.BIG},e.\u0275fac=function(t){return new(t||e)(Bs(Ck),Bs(aE))},e.\u0275cmp=Ot({type:e,selectors:[["app-toolbar"]],hostBindings:function(e,t){1&e&&ea("resize",(function(e){return t.sizeChange(e)}),!1,tr)},inputs:{lightTheme:"lightTheme",mySessionId:"mySessionId",compact:"compact",showNotification:"showNotification",ovSettings:"ovSettings",isWebcamVideoEnabled:"isWebcamVideoEnabled",isWebcamAudioEnabled:"isWebcamAudioEnabled",isScreenEnabled:"isScreenEnabled",isAutoLayout:"isAutoLayout",isConnectionLost:"isConnectionLost",hasVideoDevices:"hasVideoDevices",hasAudioDevices:"hasAudioDevices"},outputs:{micButtonClicked:"micButtonClicked",camButtonClicked:"camButtonClicked",screenShareClicked:"screenShareClicked",layoutButtonClicked:"layoutButtonClicked",leaveSessionButtonClicked:"leaveSessionButtonClicked"},decls:20,vars:27,consts:[["id","header","role","heading","fxLayout","","fxLayoutAlign","center","fxLayoutGap","10px",1,"container"],["fxFlex","20%"],[3,"lightTheme","sessionId","compact","logoUrl"],["fxFlex","70%","fxFlexOrder","2"],["align","center",1,"buttonsContainer"],["id","navMicrophoneButton","mat-icon-button","",3,"disabled","click",4,"ngIf"],["id","navCameraButton","mat-icon-button","",3,"disabled","click",4,"ngIf"],["id","navScreenButton","mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-icon-button","","id","navLeaveButton",3,"click",4,"ngIf"],["fxFlex","10%","fxFlexOrder","3","align","end"],["id","navMicrophoneButton","mat-icon-button","",3,"disabled","click"],["matTooltip","Mute your audio",4,"ngIf"],["color","warn","matTooltip","Unmute your audio",4,"ngIf"],["matTooltip","Mute your audio"],["color","warn","matTooltip","Unmute your audio"],["id","navCameraButton","mat-icon-button","",3,"disabled","click"],["matTooltip","Mute your cam",4,"ngIf"],["color","warn","matTooltip","Unmute your cam",4,"ngIf"],["matTooltip","Mute your cam"],["color","warn","matTooltip","Unmute your cam"],["id","navScreenButton","mat-icon-button","",3,"disabled","click"],["matTooltip","Screen share","color","warn",4,"ngIf"],["matTooltip","Stop sharing",4,"ngIf"],["matTooltip","Screen share","color","warn"],["matTooltip","Stop sharing"],["mat-icon-button","",3,"disabled","click"],["matTooltip","Fullscreen"],["matTooltip","Enable speaker layout","color","warn",4,"ngIf"],["matTooltip","Disable speaker layout",4,"ngIf"],["matTooltip","Enable speaker layout","color","warn"],["matTooltip","Disable speaker layout"],["mat-icon-button","","id","navLeaveButton",3,"click"],["color","warn","matTooltip","Leave the session"],["matBadgePosition","above before","matTooltip","Chat","matBadgeColor","accent",3,"matBadge","matBadgeHidden"]],template:function(e,t){1&e&&(Gs(0,"mat-toolbar",0),Gs(1,"div",1),Zs(2,"app-toolbar-logo",2),Qs(),Gs(3,"div",3),Gs(4,"div",4),Fs(5,hM,3,3,"button",5),Zc(6,"hasAudio"),Fs(7,mM,3,3,"button",6),Zc(8,"hasVideo"),Fs(9,bM,3,3,"button",7),Zc(10,"hasScreenSharing"),Fs(11,_M,3,2,"button",8),Zc(12,"hasFullscreen"),Fs(13,CM,3,3,"button",8),Zc(14,"hasLayoutSpeaking"),Fs(15,xM,3,0,"button",9),Zc(16,"hasExit"),Qs(),Qs(),Gs(17,"div",10),Fs(18,OM,3,3,"button",8),Zc(19,"hasChat"),Qs(),Qs()),2&e&&(ba("headerLight",t.lightTheme),ji(2),Ws("lightTheme",t.lightTheme)("sessionId",t.mySessionId)("compact",t.compact)("logoUrl",t.logoUrl),ji(3),Ws("ngIf",t.hasAudioDevices&&Yc(6,13,t.ovSettings)),ji(2),Ws("ngIf",!t.ovSettings||t.hasVideoDevices&&Yc(8,15,t.ovSettings)),ji(2),Ws("ngIf",Yc(10,17,t.ovSettings)),ji(2),Ws("ngIf",Yc(12,19,t.ovSettings)),ji(2),Ws("ngIf",Yc(14,21,t.ovSettings)),ji(2),Ws("ngIf",Yc(16,23,t.ovSettings)),ji(3),Ws("ngIf",Yc(19,25,t.ovSettings)))},directives:[tS,Nk,hP,Bk,Xk,lM,sP,Wl,Vv,Q_,wS,Rv],pipes:[EP,kP,MP,TP,AP,IP,OP],styles:["#header[_ngcontent-%COMP%]{color:#fff;height:40px;background-color:#333;padding:0 14px 0 0;position:absolute;top:0;left:0;z-index:999999;min-width:400px!important}.buttonsContainer[_ngcontent-%COMP%]{position:absolute;left:0;right:0}.headerLight[_ngcontent-%COMP%]{color:#706969!important;background-color:#eee!important}#navSessionInfo[_ngcontent-%COMP%]{height:100%;display:inline-flex}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-17px}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-6px}.mat-icon-button[disabled][_ngcontent-%COMP%]{color:#fff}.titleContent[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;max-width:100px;margin:5px -18px;padding:0 15px;font-size:16px;overflow:hidden;text-overflow:ellipsis}.titleContentDark[_ngcontent-%COMP%]{background-color:#494949;color:#fff}.titleContentLight[_ngcontent-%COMP%]{background-color:#dfdfdf!important;color:#000}#header_img[_ngcontent-%COMP%]{max-width:135px;margin-right:10px;margin-top:-3px}#point[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:12px;right:33px;border-radius:50%;background-color:#ffa600;border:1px solid #000;z-index:99999}.pointLight[_ngcontent-%COMP%]{border:1px solid #fff!important}.tooltipList[_ngcontent-%COMP%]{white-space:pre}@media (max-width:600px){#navSessionInfo[_ngcontent-%COMP%]{display:none}}"]}),e}(),kM=function(){function e(){}return e.prototype.transform=function(e){var t="";return e.forEach((function(e){t+="\u2022 "+e+"\n"})),t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=It({name:"tooltipList",type:e,pure:!0}),e}(),PM=function(){function e(){this.participantsNames=[]}return e.prototype.sizeChange=function(e){},e.prototype.ngOnInit=function(){},Object.defineProperty(e.prototype,"participants",{set:function(e){var t=this;this.participantsNames=[],e.forEach((function(e){e.isCamera()&&t.participantsNames.push(e.getNickname())})),this.participantsNames=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}(this.participantsNames)},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ot({type:e,selectors:[["app-footer"]],hostBindings:function(e,t){1&e&&ea("resize",(function(e){return t.sizeChange(e)}),!1,tr)},inputs:{lightTheme:"lightTheme",participants:"participants"},decls:9,vars:6,consts:[["fxLayout","","fxLayout.xs","row","fxLayoutAlign","center center","fxLayoutGap","2px","id","footer","role","heading",1,"container"],[1,"participantsButtonContainer"],["mat-icon-button","","matTooltip","Remote participants",1,""],["matBadgeSize","small","matBadgePosition","above after","matBadgeColor","accent",3,"matBadge"],["fxFlex","calc(100% - 40px)","fxFlexOrder","2"],[1,"participantNames"]],template:function(e,t){1&e&&(Gs(0,"mat-toolbar",0),Gs(1,"div",1),Gs(2,"button",2),Gs(3,"mat-icon",3),Ta(4,"people"),Qs(),Qs(),Qs(),Gs(5,"div",4),Gs(6,"span",5),Ta(7),Zc(8,"tooltipList"),Qs(),Qs(),Qs()),2&e&&(ba("headerLight",t.lightTheme),ji(3),ua("matBadge",null==t.participantsNames?null:t.participantsNames.length),ji(4),Aa(Yc(8,4,t.participantsNames)))},directives:[tS,Nk,hP,Bk,Vv,wS,Q_,Rv,Xk,sP],pipes:[kM],styles:["#footer[_ngcontent-%COMP%]{color:#fff;height:25px;background-color:#333;padding:0 14px 0 0;position:absolute;bottom:0;left:0;z-index:999999;min-width:400px!important}.footerLight[_ngcontent-%COMP%]{color:#706969!important;background-color:#eee!important}.participantNames[_ngcontent-%COMP%]{font-size:small;height:inherit}.participantsButton[_ngcontent-%COMP%]{position:absolute;left:5px;top:none}.participantsButton[_ngcontent-%COMP%], .participantsButtonContainer[_ngcontent-%COMP%]{height:-webkit-fill-available;height:-moz-available}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .participantsButtonContainer[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:18px}"]}),e}(),MM=["streamComponent"],TM=["nicknameInput"];function AM(e,t){1&e&&(Gs(0,"span"),Ta(1," (edit)"),Qs())}function IM(e,t){if(1&e){var n=Xs();Gs(0,"div",15),ea("click",(function(){return ln(n),oa(2).toggleNicknameForm()})),Gs(1,"span",16),Ta(2),Qs(),Fs(3,AM,2,0,"span",17),Qs()}if(2&e){var r=oa(2);ji(2),Aa(r._user.nickname),ji(1),Ws("ngIf",!r._user.streamManager.remote)}}function RM(e,t){1&e&&(Gs(0,"mat-error"),Ta(1," Nickname is "),Gs(2,"strong"),Ta(3,"required"),Qs(),Qs())}function jM(e,t){1&e&&(Gs(0,"mat-error"),Ta(1," Nickname is "),Gs(2,"strong"),Ta(3,"too long!"),Qs(),Qs())}function DM(e,t){if(1&e){var n=Xs();Gs(0,"div",18),Gs(1,"button",19),ea("click",(function(){return ln(n),oa(2).toggleNicknameForm()})),Gs(2,"mat-icon",20),Ta(3,"highlight_off"),Qs(),Qs(),Gs(4,"form",21),Gs(5,"mat-form-field",22),Gs(6,"input",23,24),ea("keypress",(function(e){return ln(n),oa(2).eventKeyPress(e)})),Qs(),Fs(8,RM,4,0,"mat-error",17),Fs(9,jM,4,0,"mat-error",17),Qs(),Qs(),Qs()}if(2&e){var r=oa(2);ba("fullscreen",r.isFullscreen),ji(6),la("placeholder","Nick: ",r._user.nickname,""),Ws("formControl",r.nicknameFormControl)("errorStateMatcher",r.matcher),ji(2),Ws("ngIf",r.nicknameFormControl.hasError("required")),ji(1),Ws("ngIf",r.nicknameFormControl.hasError("maxlength"))}}function NM(e,t){1&e&&(Gs(0,"div",25),Gs(1,"mat-icon"),Ta(2,"mic_off"),Qs(),Qs())}function LM(e,t){1&e&&(Gs(0,"div",26),Gs(1,"mat-icon"),Ta(2,"videocam_off"),Qs(),Qs())}function VM(e,t){1&e&&(Gs(0,"mat-icon",30),Ta(1,"volume_up"),Qs())}function zM(e,t){1&e&&(Gs(0,"mat-icon",31),Ta(1,"volume_off"),Qs())}function FM(e,t){if(1&e){var n=Xs();Gs(0,"button",27),ea("click",(function(){return ln(n),oa(2).toggleSound()})),Fs(1,VM,2,0,"mat-icon",28),Fs(2,zM,2,0,"mat-icon",29),Qs()}if(2&e){var r=oa(2);ji(1),Ws("ngIf",!r.mutedSound),ji(1),Ws("ngIf",r.mutedSound)}}function BM(e,t){if(1&e){var n=Xs();Gs(0,"button",32),ea("click",(function(){return ln(n),oa(2).replaceScreenTrack()})),Gs(1,"mat-icon",33),Ta(2,"picture_in_picture"),Qs(),Qs()}}function UM(e,t){if(1&e){var n=Xs();Gs(0,"div",1,2),ea("dblclick",(function(){return ln(n),oa().toggleVideoSize()})),Gs(2,"div",3),Fs(3,IM,4,2,"div",4),Fs(4,DM,10,7,"div",5),Qs(),Gs(5,"ov-video",6),ea("toggleVideoSizeEvent",(function(e){return ln(n),oa().toggleVideoSize(e)})),Qs(),Gs(6,"div",7),Fs(7,NM,3,0,"div",8),Fs(8,LM,3,0,"div",9),Qs(),Gs(9,"div",10),Gs(10,"button",11),ea("click",(function(){return ln(n),oa().toggleVideoSize()})),Gs(11,"mat-icon"),Ta(12),Qs(),Qs(),Gs(13,"button",12),ea("click",(function(){return ln(n),oa().toggleFullscreen()})),Gs(14,"mat-icon"),Ta(15),Qs(),Qs(),Fs(16,FM,3,2,"button",13),Fs(17,BM,3,0,"button",14),Qs(),Qs()}if(2&e){var r=oa();Ws("id","container-"+r._user.streamManager.stream.streamId),ji(2),ba("fullscreen",r.isFullscreen),ji(1),Ws("ngIf",!r.toggleNickname),ji(1),Ws("ngIf",r.toggleNickname&&!r._user.streamManager.remote),ji(1),Ws("streamManager",r._user.streamManager)("mutedSound",r.mutedSound),ji(2),Ws("ngIf",!r._user.streamManager.stream.audioActive),ji(1),Ws("ngIf",!r._user.streamManager.stream.videoActive),ji(4),Aa(r.videoSizeIcon),ji(3),Aa(r.fullscreenIcon),ji(1),Ws("ngIf",r._user.streamManager.remote),ji(1),Ws("ngIf",!r._user.streamManager.remote&&r._user.isScreen())}}var qM=function(){function e(e){this.utilsSrv=e,this.videoSizeIcon=sM.BIG,this.fullscreenIcon=aM.BIG,this.nicknameClicked=new Kc,this.replaceScreenTrackClicked=new Kc,this.toggleVideoSizeClicked=new Kc}return e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,r=window.innerHeight;n!==window.innerWidth&&t!==r&&(this.isFullscreen=!1,this.videoSizeIcon=sM.BIG)},Object.defineProperty(e.prototype,"videoSizeBig",{set:function(e){this.checkVideoSizeBigIcon(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"user",{set:function(e){this._user=e,this.nicknameFormControl=new Fp(this._user.getNickname(),[np.maxLength(25),np.required])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nicknameInputElement",{set:function(e){setTimeout((function(){var t;null===(t=e)||void 0===t||t.nativeElement.focus()}))},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.matcher=new Mk},e.prototype.toggleVideoSize=function(e){var t=this.utilsSrv.getHTMLElementByClassName(this.streamComponent.element.nativeElement,vk.ROOT_CLASS);this.toggleVideoSizeClicked.emit({element:t,connectionId:this._user.getConnectionId(),resetAll:e})},e.prototype.toggleFullscreen=function(){this.utilsSrv.toggleFullscreen("container-"+this._user.getStreamManager().stream.streamId),this.toggleFullscreenIcon()},e.prototype.toggleSound=function(){this.mutedSound=!this.mutedSound},e.prototype.toggleNicknameForm=function(){this._user.isLocal()&&(this.toggleNickname=!this.toggleNickname)},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.nicknameFormControl.valid&&(this.nicknameClicked.emit(this.nicknameFormControl.value),this.toggleNicknameForm())},e.prototype.replaceScreenTrack=function(){this.replaceScreenTrackClicked.emit()},e.prototype.checkVideoSizeBigIcon=function(e){this.videoSizeIcon=e?sM.NORMAL:sM.BIG},e.prototype.toggleFullscreenIcon=function(){this.fullscreenIcon=this.fullscreenIcon===aM.BIG?aM.NORMAL:aM.BIG},e.\u0275fac=function(t){return new(t||e)(Bs(Ck))},e.\u0275cmp=Ot({type:e,selectors:[["stream-component"]],viewQuery:function(e,t){var n;1&e&&(uu(MM,!0,Mc),uu(TM,!0)),2&e&&(au(n=fu())&&(t.streamComponent=n.first),au(n=fu())&&(t.nicknameInputElement=n.first))},hostBindings:function(e,t){1&e&&ea("resize",(function(e){return t.sizeChange(e)}),!1,tr)},inputs:{videoSizeBig:"videoSizeBig",user:"user"},outputs:{nicknameClicked:"nicknameClicked",replaceScreenTrackClicked:"replaceScreenTrackClicked",toggleVideoSizeClicked:"toggleVideoSizeClicked"},decls:1,vars:1,consts:[["class","OT_widget-container",3,"id","dblclick",4,"ngIf"],[1,"OT_widget-container",3,"id","dblclick"],["streamComponent",""],[1,"nickname"],["class","nicknameContainer","selected","",3,"click",4,"ngIf"],["id","dialogNickname",3,"fullscreen",4,"ngIf"],[3,"streamManager","mutedSound","toggleVideoSizeEvent"],[1,"statusIcons"],["id","statusMic",4,"ngIf"],["id","statusCam",4,"ngIf"],[1,"videoButtons"],["mat-icon-button","","id","videoZoomButton",3,"click"],["mat-icon-button","","id","fullscreenButton",3,"click"],["mat-icon-button","","id","volumeButton",3,"click",4,"ngIf"],["mat-icon-button","","id","changeScreenButton",3,"click",4,"ngIf"],["selected","",1,"nicknameContainer",3,"click"],["id","nickname"],[4,"ngIf"],["id","dialogNickname"],["mat-icon-button","","id","closeButton",3,"click"],["matTooltip","Close"],["id","nicknameForm"],["color","primary"],["matInput","","autocomplete","off",3,"placeholder","formControl","errorStateMatcher","keypress"],["nicknameInput",""],["id","statusMic"],["id","statusCam"],["mat-icon-button","","id","volumeButton",3,"click"],["matTooltip","Mute sound",4,"ngIf"],["color","warn","matTooltip","Unmute sound",4,"ngIf"],["matTooltip","Mute sound"],["color","warn","matTooltip","Unmute sound"],["mat-icon-button","","id","changeScreenButton",3,"click"],["matTooltip","Choose screen"]],template:function(e,t){1&e&&Fs(0,UM,18,13,"div",0),2&e&&Ws("ngIf",t._user)},directives:[Wl,xP,Vv,Q_,wS,$p,Xd,Hp,Gb,tw,Wd,Kd,nh,Ib],styles:[".nickname[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:999;border-radius:5px;color:#fff;font-family:Ubuntu,sans-serif}.nicknameContainer[_ngcontent-%COMP%]{background-color:#424242;padding:5px;color:#fff;font-weight:700}#dialogNickname[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.37);border-radius:5px}#closeButton[_ngcontent-%COMP%]{position:absolute;top:-3px;right:0;z-index:999}#nicknameForm[_ngcontent-%COMP%]{padding:10px}.fullscreen[_ngcontent-%COMP%]{top:40px}mat-error[_ngcontent-%COMP%]{text-align:center;color:#353535}video[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;color:#fff;margin:0;padding:0;border:0;font-size:100%}.statusIcons[_ngcontent-%COMP%]{bottom:0;left:5px;width:40px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;color:#fff}.statusIcons[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:-webkit-baseline-middle;vertical-align:-moz-middle-with-baseline;font-size:20px}.videoButtons[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px}.videoButtons[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{line-height:0}#camStatus[_ngcontent-%COMP%]{bottom:43px}#statusCam[_ngcontent-%COMP%], #statusMic[_ngcontent-%COMP%]{text-align:center;width:28px;height:28px;border-radius:50%;background:#c71100;margin:5px auto}.videoButtons[_ngcontent-%COMP%]{right:0;position:absolute;bottom:0;z-index:9999999;width:50px;text-align:center}.videoButtons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#000;width:30px;height:30px;margin:1px}.OT_widget-container[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;overflow:hidden} .mat-focused .mat-form-field-label, .mat-form-field-appearance-legacy .mat-form-field-label, mat-error[_ngcontent-%COMP%]{color:#cacaca!important} .mat-form-field-appearance-legacy .mat-form-field-underline, .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#cacaca!important}input[_ngcontent-%COMP%]{caret-color:#fff!important}"]}),e}(),WM=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function a(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},HM=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},GM=["chatComponent"],QM=["sidenav"];function ZM(e,t){if(1&e){var n=Xs();Gs(0,"app-room-config",4),ea("join",(function(){return ln(n),oa(2).onConfigRoomJoin()}))("leaveSession",(function(){return ln(n),oa(2).leaveSession()}))("publisherCreated",(function(e){return ln(n),oa(2).emitPublisher(e)})),Qs()}if(2&e){var r=oa(2);Ws("ovSettings",r.ovSettings)("externalConfig",r.externalConfig)}}function YM(e,t){1&e&&Zs(0,"div",14)}function KM(e,t){if(1&e&&(Gs(0,"mat-sidenav",15,16),Zs(2,"chat-component",17,18),Qs()),2&e){var n=oa(3);ba("boundsLight",n.lightTheme),ua("mode",n.sidenavMode),ji(2),Ws("lightTheme",n.lightTheme)}}function XM(e,t){if(1&e){var n=Xs();Gs(0,"div",19),Gs(1,"stream-component",20),ea("nicknameClicked",(function(e){return ln(n),oa(3).onNicknameUpdate(e)}))("replaceScreenTrackClicked",(function(e){return ln(n),oa(3).onReplaceScreenTrack(e)}))("toggleVideoSizeClicked",(function(e){return ln(n),oa(3).onToggleVideoSize(e)})),Qs(),Qs()}if(2&e){var r=t.$implicit;ya("display",null!=r.streamManager&&null!=r.streamManager.stream&&r.streamManager.stream.videoActive?"block":"none"),ji(1),Ws("user",r)("videoSizeBig",r.videoSizeBig)}}function JM(e,t){if(1&e){var n=Xs();Gs(0,"div",21),Gs(1,"stream-component",22),ea("toggleVideoSizeClicked",(function(e){return ln(n),oa(3).onToggleVideoSize(e)})),Qs(),Qs()}if(2&e){var r=t.$implicit;ya("display",null!=r.streamManager&&null!=r.streamManager.stream&&r.streamManager.stream.videoActive?"block":"none"),ji(1),Ws("user",r)("videoSizeBig",r.videoSizeBig)}}function $M(e,t){if(1&e){var n=Xs();Gs(0,"div"),Fs(1,YM,1,0,"div",5),Gs(2,"app-toolbar",6),ea("camButtonClicked",(function(){return ln(n),oa(2).toggleCam()}))("micButtonClicked",(function(){return ln(n),oa(2).toggleMic()}))("screenShareClicked",(function(){return ln(n),oa(2).toggleScreenShare()}))("layoutButtonClicked",(function(){return ln(n),oa(2).toggleSpeakerLayout()}))("leaveSessionButtonClicked",(function(){return ln(n),oa(2).leaveSession()})),Qs(),Gs(3,"mat-sidenav-container",7),Fs(4,KM,4,4,"mat-sidenav",8),Zc(5,"hasChat"),Gs(6,"mat-sidenav-content",9),Gs(7,"div",10),Fs(8,XM,2,4,"div",11),Fs(9,JM,2,4,"div",12),Qs(),Qs(),Qs(),Zs(10,"app-footer",13),Qs()}if(2&e){var r=oa(2);ji(1),Ws("ngIf",r.isConnectionLost),ji(1),Ws("lightTheme",r.lightTheme)("compact",r.compact)("mySessionId",r.mySessionId)("ovSettings",r.ovSettings)("hasVideoDevices",r.hasVideoDevices)("hasAudioDevices",r.hasAudioDevices)("isWebcamVideoEnabled",r.oVSessionService.hasWebcamVideoActive())("isWebcamAudioEnabled",r.toolbarMicIconEnabled())("isScreenEnabled",r.oVSessionService.isScreenShareEnabled())("isAutoLayout",r.isAutoLayout)("isConnectionLost",r.isConnectionLost),ji(1),ba("boundsLight",r.lightTheme),ji(1),Ws("ngIf",Yc(5,21,r.ovSettings)),ji(3),ba("boundsLight",r.lightTheme),ji(1),Ws("ngForOf",r.localUsers),ji(1),Ws("ngForOf",r.remoteUsers),ji(1),Ws("lightTheme",r.lightTheme)("participants",r.remoteUsers)}}function eT(e,t){if(1&e&&(Gs(0,"div",1),Fs(1,ZM,1,2,"app-room-config",2),Fs(2,$M,11,23,"div",3),Qs()),2&e){var n=oa();ba("boundsLight",n.lightTheme),ji(1),Ws("ngIf",n.showConfigRoomCard),ji(1),Ws("ngIf",n.localUsers&&n.localUsers.length>0)}}var tT=function(){function e(e,t,n,r,i,o,s,a){this.networkSrv=e,this.router=t,this.utilsSrv=n,this.remoteUsersService=r,this.oVSessionService=i,this.oVDevicesService=o,this.loggerSrv=s,this.chatService=a,this._session=new Kc,this._publisher=new Kc,this._error=new Kc,this._joinSession=new Kc,this._leaveSession=new Kc,this.compact=!1,this.sidenavMode="side",this.showConfigRoomCard=!0,this.localUsers=[],this.remoteUsers=[],this.isAutoLayout=!1,this.log=this.loggerSrv.get("VideoRoomComponent")}return e.prototype.beforeunloadHandler=function(){this.leaveSession()},e.prototype.sizeChange=function(){this.openviduLayout&&(this.updateOpenViduLayout(),this.checkSizeComponent())},e.prototype.ngOnInit=function(){var e;return WM(this,void 0,void 0,(function(){return HM(this,(function(t){return this.lightTheme=(null===(e=this.externalConfig)||void 0===e?void 0:e.getTheme())===bk.LIGHT,this.ovSettings=this.externalConfig?this.externalConfig.getOvSettings():new mk,this.ovSettings.setScreenSharing(this.ovSettings.hasScreenSharing()&&!this.utilsSrv.isMobile()),[2]}))}))},e.prototype.ngOnDestroy=function(){var e;null===(e=this.session)||void 0===e||e.off("reconnecting"),this.remoteUsersService.clean(),this.session=null,this.sessionScreen=null,this.localUsers=[],this.remoteUsers=[],this.openviduLayout=null,this.oVUsersSubscription&&this.oVUsersSubscription.unsubscribe(),this.remoteUsersSubscription&&this.remoteUsersSubscription.unsubscribe(),this.chatSubscription&&this.chatSubscription.unsubscribe()},e.prototype.onConfigRoomJoin=function(){var e=this;this.hasVideoDevices=this.oVDevicesService.hasVideoDeviceAvailable(),this.hasAudioDevices=this.oVDevicesService.hasAudioDeviceAvailable(),this.showConfigRoomCard=!1,this.subscribeToLocalUsers(),this.subscribeToRemoteUsers(),this.mySessionId=this.oVSessionService.getSessionId(),setTimeout((function(){e.openviduLayout=new YO,e.openviduLayoutOptions=e.utilsSrv.getOpenviduLayoutOptions(),e.openviduLayout.initLayoutContainer(document.getElementById("layout"),e.openviduLayoutOptions),e.checkSizeComponent(),e.joinToSession()}),50)},e.prototype.joinToSession=function(){this.oVSessionService.initSessions(),this.session=this.oVSessionService.getWebcamSession(),this._session.emit(this.session),this.sessionScreen=this.oVSessionService.getScreenSession(),this.subscribeToStreamCreated(),this.subscribeToStreamDestroyed(),this.subscribeToStreamPropertyChange(),this.subscribeToNicknameChanged(),this.chatService.setChatComponent(this.chatSidenav),this.chatService.subscribeToChat(),this.subscribeToChatComponent(),this.subscribeToReconnection(),this.connectToSession()},e.prototype.leaveSession=function(){this.log.d("Leaving session..."),this.oVSessionService.disconnect(),this.router.navigate([""]),this._leaveSession.emit()},e.prototype.onNicknameUpdate=function(e){this.oVSessionService.setWebcamName(e),this.sendNicknameSignal(e)},e.prototype.toggleMic=function(){this.oVSessionService.isWebCamEnabled()?this.oVSessionService.publishWebcamAudio(!this.oVSessionService.hasWebcamAudioActive()):this.oVSessionService.publishScreenAudio(!this.oVSessionService.hasScreenAudioActive())},e.prototype.toggleCam=function(){return WM(this,void 0,void 0,(function(){var e,t;return HM(this,(function(n){switch(n.label){case 0:return e=!this.oVSessionService.hasWebcamVideoActive(),this.oVSessionService.areBothConnected()?(this.oVSessionService.publishVideo(e),this.oVSessionService.disableWebcamUser(),this.oVSessionService.unpublishWebcam(),[2]):this.oVSessionService.isOnlyScreenConnected()?(t=this.oVSessionService.hasScreenAudioActive(),[4,this.oVSessionService.publishWebcam()]):[3,2];case 1:n.sent(),this.oVSessionService.publishScreenAudio(!1),this.oVSessionService.publishWebcamAudio(t),this.oVSessionService.enableWebcamUser(),n.label=2;case 2:return this.oVSessionService.publishVideo(e),[2]}}))}))},e.prototype.toggleScreenShare=function(){return WM(this,void 0,void 0,(function(){var e,t,n=this;return HM(this,(function(r){switch(r.label){case 0:return this.oVSessionService.areBothConnected()?(this.removeScreen(),[2]):this.oVSessionService.isOnlyWebcamConnected()?((e=this.initScreenPublisher()).once("accessAllowed",(function(t){e.stream.getMediaStream().getVideoTracks()[0].addEventListener("ended",(function(){n.log.d("Clicked native stop button. Stopping screen sharing"),n.toggleScreenShare()})),n.log.d("ACCESS ALOWED screenPublisher"),n.oVSessionService.enableScreenUser(e),n.oVSessionService.publishScreen(),n.oVSessionService.hasWebcamVideoActive()||(n.oVSessionService.disableWebcamUser(),n.oVSessionService.unpublishWebcam())})),e.once("accessDenied",(function(e){n.log.w("ScreenShare: Access Denied")})),[2]):(t=this.oVSessionService.hasScreenAudioActive(),[4,this.oVSessionService.publishWebcam()]);case 1:return r.sent(),this.oVSessionService.publishScreenAudio(!1),this.oVSessionService.publishWebcamAudio(t),this.oVSessionService.enableWebcamUser(),this.removeScreen(),[2]}}))}))},e.prototype.toggleSpeakerLayout=function(){if(!this.oVSessionService.isScreenShareEnabled())return this.isAutoLayout=!this.isAutoLayout,this.log.d("Automatic Layout ",this.isAutoLayout?"Disabled":"Enabled"),this.isAutoLayout?void this.subscribeToSpeechDetection():(this.log.d("Unsubscribe to speech detection"),this.session.off("publisherStartSpeaking"),this.resetAllBigElements(),void this.updateOpenViduLayout());this.log.w("Screen is enabled. Speech detection has been rejected")},e.prototype.onReplaceScreenTrack=function(e){this.oVSessionService.replaceScreenTrack()},e.prototype.checkSizeComponent=function(){var e;this.compact=(null===(e=document.getElementById("room-container"))||void 0===e?void 0:e.offsetWidth)<=790,this.sidenavMode=this.compact?"over":"side"},e.prototype.onToggleVideoSize=function(e){var t,n=e.element;e.resetAll&&this.resetAllBigElements(),this.utilsSrv.toggleBigElementClass(n),(null===(t=e)||void 0===t?void 0:t.connectionId)&&(this.oVSessionService.isMyOwnConnection(e.connectionId)?this.oVSessionService.toggleZoom(e.connectionId):this.remoteUsersService.toggleUserZoom(e.connectionId)),this.updateOpenViduLayout()},e.prototype.toolbarMicIconEnabled=function(){return this.oVSessionService.isWebCamEnabled()?this.oVSessionService.hasWebcamAudioActive():this.oVSessionService.hasScreenAudioActive()},e.prototype.connectToSession=function(){var e,t;return WM(this,void 0,void 0,(function(){var n,r,i;return HM(this,(function(o){switch(o.label){case 0:return this.externalConfig&&this.externalConfig.hasTokens()&&(this.log.d("Received external tokens from "+this.externalConfig.getComponentName()),n=this.externalConfig.getWebcamToken(),r=(null===(e=this.ovSettings)||void 0===e?void 0:e.hasScreenSharing())?this.externalConfig.getScreenToken():void 0),n?(i=n,[3,3]):[3,1];case 1:return[4,this.getToken()];case 2:i=o.sent(),o.label=3;case 3:return n=i,r||!(null===(t=this.ovSettings)||void 0===t?void 0:t.hasScreenSharing())?[3,5]:[4,this.getToken()];case 4:r=o.sent(),o.label=5;case 5:return n||r?[4,this.connectBothSessions(n,r)]:[3,7];case 6:o.sent(),this.oVSessionService.areBothConnected()?(this.oVSessionService.publishWebcam(),this.oVSessionService.publishScreen()):this.oVSessionService.isOnlyScreenConnected()?this.oVSessionService.publishScreen():this.oVSessionService.publishWebcam(),this._joinSession.emit(),this.updateOpenViduLayout(),o.label=7;case 7:return[2]}}))}))},e.prototype.connectBothSessions=function(e,t){var n,r;return WM(this,void 0,void 0,(function(){var i,o=this;return HM(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,this.oVSessionService.connectWebcamSession(e)];case 1:return s.sent(),[4,this.oVSessionService.connectScreenSession(t)];case 2:return s.sent(),this.localUsers[0].getStreamManager().on("streamPlaying",(function(){o.localUsers[0].getStreamManager().videos[0].video.parentElement.classList.remove("custom-class")})),[3,4];case 3:return i=s.sent(),this._error.emit({error:i.error,messgae:i.message,code:i.code,status:i.status}),this.log.e("There was an error connecting to the session:",i.code,i.message),this.utilsSrv.showErrorMessage("There was an error connecting to the session:",(null===(n=i)||void 0===n?void 0:n.error)||(null===(r=i)||void 0===r?void 0:r.message)),[3,4];case 4:return[2]}}))}))},e.prototype.subscribeToStreamCreated=function(){var e=this;this.session.on("streamCreated",(function(t){if(!e.oVSessionService.isMyOwnConnection(t.stream.connection.connectionId)){var n=e.session.subscribe(t.stream,void 0);e.remoteUsersService.add(t,n),e.sendNicknameSignal(e.oVSessionService.getWebcamUserName(),t.stream.connection)}}))},e.prototype.subscribeToStreamDestroyed=function(){var e=this;this.session.on("streamDestroyed",(function(t){e.remoteUsersService.removeUserByConnectionId(t.stream.connection.connectionId)}))},e.prototype.emitPublisher=function(e){this._publisher.emit(e)},e.prototype.subscribeToStreamPropertyChange=function(){var e=this;this.session.on("streamPropertyChanged",(function(t){e.oVSessionService.isMyOwnConnection(t.stream.connection.connectionId)||"videoActive"===t.changedProperty&&e.remoteUsersService.updateUsers()}))},e.prototype.subscribeToNicknameChanged=function(){var e=this;this.session.on("signal:nicknameChanged",(function(t){var n=t.from.connectionId;if(!e.oVSessionService.isMyOwnConnection(n)){var r=JSON.parse(t.data).nickname;e.remoteUsersService.updateNickname(n,r)}}))},e.prototype.subscribeToSpeechDetection=function(){var e=this;this.log.d("Subscribe to speech detection",this.session),this.session.on("publisherStartSpeaking",(function(t){var n=e.remoteUsersService.someoneIsSharingScreen();if(!e.oVSessionService.isScreenShareEnabled()&&!n){var r=e.utilsSrv.getHTMLElementByClassName(t.connection.stream.streamManager.videos[0].video,vk.ROOT_CLASS);e.resetAllBigElements(),e.remoteUsersService.setUserZoom(t.connection.connectionId,!0),e.onToggleVideoSize({element:r})}}))},e.prototype.removeScreen=function(){this.oVSessionService.disableScreenUser(),this.oVSessionService.unpublishScreen()},e.prototype.subscribeToChatComponent=function(){var e=this;this.chatSubscription=this.chatService.toggleChatObs.subscribe((function(t){e.updateOpenViduLayout(e.externalConfig?300:0)}))},e.prototype.subscribeToReconnection=function(){var e=this;this.session.on("reconnecting",(function(){e.log.w("Connection lost: Reconnecting"),e.isConnectionLost=!0,e.utilsSrv.showErrorMessage("Connection Problem","Oops! Trying to reconnect to the session ...",!0)})),this.session.on("reconnected",(function(){e.log.w("Connection lost: Reconnected"),e.isConnectionLost=!1,e.utilsSrv.closeDialog()})),this.session.on("sessionDisconnected",(function(t){"networkDisconnect"===t.reason&&(e.utilsSrv.closeDialog(),e.leaveSession())}))},e.prototype.initScreenPublisher=function(){var e=XO.SCREEN,t=!(this.oVSessionService.isWebCamEnabled()&&this.oVSessionService.hasWebcamVideoActive())&&this.oVSessionService.hasWebcamAudioActive(),n=this.oVSessionService.createProperties(e,void 0,!0,t,!1);try{return this.oVSessionService.initScreenPublisher(void 0,n)}catch(r){this.log.e(r),this.utilsSrv.handlerScreenShareError(r)}},e.prototype.getToken=function(){var e,t;return WM(this,void 0,void 0,(function(){var n;return HM(this,(function(r){switch(r.label){case 0:this.log.d("Generating tokens..."),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkSrv.getToken(this.mySessionId,null===(e=this.externalConfig)||void 0===e?void 0:e.getOvServerUrl(),null===(t=this.externalConfig)||void 0===t?void 0:t.getOvSecret())];case 2:return[2,r.sent()];case 3:return n=r.sent(),this._error.emit({error:n.error,messgae:n.message,code:n.code,status:n.status}),this.log.e("There was an error getting the token:",n.status,n.message),this.utilsSrv.showErrorMessage("There was an error getting the token:",n.error||n.message),[3,4];case 4:return[2]}}))}))},e.prototype.sendNicknameSignal=function(e,t){var n={data:JSON.stringify({nickname:e}),type:"nicknameChanged",to:t?[t]:void 0};this.session.signal(n)},e.prototype.updateOpenViduLayout=function(e){var t=this;if(this.openviduLayout){if(!e)return void this.openviduLayout.updateLayout();setTimeout((function(){t.openviduLayout.updateLayout()}),e)}},e.prototype.resetAllBigElements=function(){this.utilsSrv.removeAllBigElementClass(),this.remoteUsersService.resetUsersZoom(),this.oVSessionService.resetUsersZoom()},e.prototype.subscribeToLocalUsers=function(){var e=this;this.oVUsersSubscription=this.oVSessionService.OVUsers.subscribe((function(t){e.localUsers=t,e.updateOpenViduLayout()}))},e.prototype.subscribeToRemoteUsers=function(){var e=this;this.remoteUsersSubscription=this.remoteUsersService.remoteUsers.subscribe((function(t){e.remoteUsers=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}(t),e.updateOpenViduLayout()}))},e.\u0275fac=function(t){return new(t||e)(Bs(Pk),Bs(yO),Bs(Ck),Bs(oE),Bs(iE),Bs(kk),Bs(tE),Bs(aE))},e.\u0275cmp=Ot({type:e,selectors:[["app-video-room"]],viewQuery:function(e,t){var n;1&e&&(uu(GM,!0),uu(QM,!0)),2&e&&(au(n=fu())&&(t.chatComponent=n.first),au(n=fu())&&(t.chatSidenav=n.first))},hostBindings:function(e,t){1&e&&ea("beforeunload",(function(){return t.beforeunloadHandler()}),!1,tr)("resize",(function(){return t.sizeChange()}),!1,tr)},inputs:{externalConfig:"externalConfig"},outputs:{_session:"_session",_publisher:"_publisher",_error:"_error",_joinSession:"_joinSession",_leaveSession:"_leaveSession"},decls:1,vars:1,consts:[["id","videoRoomNavBar",3,"boundsLight",4,"ngIf"],["id","videoRoomNavBar"],[3,"ovSettings","externalConfig","join","leaveSession","publisherCreated",4,"ngIf"],[4,"ngIf"],[3,"ovSettings","externalConfig","join","leaveSession","publisherCreated"],["class","reconnecting-container",4,"ngIf"],[3,"lightTheme","compact","mySessionId","ovSettings","hasVideoDevices","hasAudioDevices","isWebcamVideoEnabled","isWebcamAudioEnabled","isScreenEnabled","isAutoLayout","isConnectionLost","camButtonClicked","micButtonClicked","screenShareClicked","layoutButtonClicked","leaveSessionButtonClicked"],["id","room-container","fullscreen","",1,"sidenav-container"],["position","end","class","sidenav-chat","fixedInViewport","true","fixedTopGap","40","fixedBottomGap","0",3,"mode","boundsLight",4,"ngIf"],[1,"sidenav-main"],["id","layout",1,"bounds"],["class","OT_root OT_publisher custom-class","id","localUser",3,"display",4,"ngFor","ngForOf"],["class","OT_root OT_publisher custom-class","id","remoteUsers",3,"display",4,"ngFor","ngForOf"],[3,"lightTheme","participants"],[1,"reconnecting-container"],["position","end","fixedInViewport","true","fixedTopGap","40","fixedBottomGap","0",1,"sidenav-chat",3,"mode"],["sidenav",""],[3,"lightTheme"],["chatComponent",""],["id","localUser",1,"OT_root","OT_publisher","custom-class"],[3,"user","videoSizeBig","nicknameClicked","replaceScreenTrackClicked","toggleVideoSizeClicked"],["id","remoteUsers",1,"OT_root","OT_publisher","custom-class"],[3,"user","videoSizeBig","toggleVideoSizeClicked"]],template:function(e,t){1&e&&Fs(0,eT,3,4,"div",0),2&e&&Ws("ngIf",!!t.ovSettings)},directives:[Wl,oM,EM,Zw,Gw,Ul,PM,Qw,gk,qM],pipes:[OP],styles:['#videoRoomNavBar[_ngcontent-%COMP%]{min-width:400px;background-color:#494949;height:100%}.stream-container[_ngcontent-%COMP%]{padding:0}.reconnecting-container[_ngcontent-%COMP%]{width:100%;height:100%;z-index:1000;background-color:#000;opacity:1%;position:absolute}.sidenav-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;min-height:-webkit-fill-available;overflow:hidden}.sidenav-chat[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:450px;border-left:none;position:absolute}.mat-drawer-container[_ngcontent-%COMP%], .sidenav-chat[_ngcontent-%COMP%]{background-color:#494949}.sidenav-main[_ngcontent-%COMP%]{height:100%;overflow:hidden;min-height:-webkit-fill-available;min-height:-moz-available}.bounds[_ngcontent-%COMP%]{background-color:#494949;position:absolute;left:0;right:0;top:40px;bottom:25px;min-width:400px!important;width:inherit}.boundsLight[_ngcontent-%COMP%]{background-color:#dfdfdf!important}\n\n.custom-class[_ngcontent-%COMP%]{min-height:0!important}.OT_root[_ngcontent-%COMP%], .OT_root[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:#fff;margin:0;padding:0;border:0;font-size:100%;font-family:Ubuntu,sans-serif;vertical-align:baseline}.OT_dialog-centering[_ngcontent-%COMP%]{display:table;width:100%;height:100%}.OT_dialog-centering-child[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.OT_dialog[_ngcontent-%COMP%]{position:relative;box-sizing:border-box;margin-right:auto;margin-left:auto;color:#fff;font-family:Ubuntu,sans-serif;font-size:13px;line-height:1.4}.OT_dialog[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;box-sizing:inherit}.OT_closeButton[_ngcontent-%COMP%]{color:#999;cursor:pointer;font-size:32px;line-height:36px;position:absolute;right:18px;top:0}.OT_dialog-messages[_ngcontent-%COMP%]{text-align:center}.OT_dialog-messages-main[_ngcontent-%COMP%]{margin-bottom:36px;line-height:36px;font-weight:300;font-size:24px}.OT_dialog-messages-minor[_ngcontent-%COMP%]{margin-bottom:18px;font-size:13px;line-height:18px;color:#a4a4a4}.OT_dialog-messages-minor[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#fff}.OT_dialog-actions-card[_ngcontent-%COMP%]{display:inline-block}.OT_dialog-button-title[_ngcontent-%COMP%]{margin-bottom:18px;line-height:18px;font-weight:300;text-align:center;font-size:14px;color:#999}.OT_dialog-button-title[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#999}.OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active, .OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#02a1de}.OT_dialog-button-title[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#fff;font-weight:100;display:block}.OT_dialog-button[_ngcontent-%COMP%]{display:inline-block;margin-bottom:18px;padding:0 1em;background-color:#1ca3dc;text-align:center;cursor:pointer}.OT_dialog-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.5}.OT_dialog-button-large[_ngcontent-%COMP%]{line-height:36px;padding-top:9px;padding-bottom:9px;font-weight:100;font-size:24px}.OT_dialog-button-small[_ngcontent-%COMP%]{line-height:18px;padding-top:9px;padding-bottom:9px;background-color:#444;color:#999;font-size:16px}.OT_dialog-progress-bar[_ngcontent-%COMP%]{display:inline-block;width:100%;margin-top:5px;margin-bottom:41px;border:1px solid #4e4e4e;height:8px}.OT_dialog-progress-bar-fill[_ngcontent-%COMP%]{height:100%;background-color:#29a4da}.OT_dialog-plugin-upgrading[_ngcontent-%COMP%] .OT_dialog-plugin-upgrade-percentage[_ngcontent-%COMP%]{line-height:54px;font-size:48px;font-weight:100}.OT_centered[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;margin:0}.OT_dialog-hidden[_ngcontent-%COMP%]{display:none}.OT_dialog-button-block[_ngcontent-%COMP%]{display:block}.OT_dialog-no-natural-margin[_ngcontent-%COMP%]{margin-bottom:0}.OT_publisher[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]{position:relative;min-width:48px;min-height:48px}.OT_publisher[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{display:block;position:absolute;width:100%;height:100%;transform-origin:0 0}.OT_publisher.OT_mirrored[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{transform:scaleX(-1);transform-origin:50% 50%}.OT_subscriber_error[_ngcontent-%COMP%]{background-color:#000;color:#fff;text-align:center}.OT_subscriber_error[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding:20px}.OT_publisher[_ngcontent-%COMP%] .OT_archiving[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{-ms-box-sizing:border-box;box-sizing:border-box;top:0;left:0;right:0;display:block;height:34px;position:absolute}.OT_publisher[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%]{background:rgba(0,0,0,.4)}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%]{z-index:1}.OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{background-color:transparent;color:#fff;font-size:15px;line-height:34px;font-weight:400;padding:0 4px 0 36px}.OT_publisher[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%]{background:rgba(0,0,0,.4);top:auto;bottom:0;left:34px;padding:0 4px;color:hsla(0,0%,100%,.8);font-size:15px;line-height:34px;font-weight:400}.OT_micro[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_micro[_ngcontent-%COMP%]:hover .OT_archiving-status[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_archiving-status[_ngcontent-%COMP%]{display:none}.OT_publisher[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%]{background:rgba(0,0,0,.4);top:auto;bottom:0;right:auto;width:34px;height:34px}.OT_archiving-light[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:30px;position:absolute;top:14px;left:14px;background-color:#575757;box-shadow:0 0 5px 1px #575757}.OT_archiving-light.OT_active[_ngcontent-%COMP%]{background-color:#970d13;animation:OT_pulse 1.3s ease-in;-moz-animation:OT_pulse 1.3s ease-in;-webkit-animation:OT_pulse 1.3s ease-in;animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite}@-webkit-keyframes OT_pulse{0%{box-shadow:0 0 0 0 #c70019}30%{box-shadow:0 0 5px 1px #c70019}50%{box-shadow:0 0 5px 1px #c70019}80%{box-shadow:0 0 0 0 #c70019}to{box-shadow:0 0 0 0 #c70019}}.OT_bar.OT_mode-mini[_ngcontent-%COMP%], .OT_bar.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%]{bottom:0;height:auto}.OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-auto[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-off[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-on[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_name.OT_mode-auto[_ngcontent-%COMP%]{display:none}.OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{left:10px;right:37px;height:34px;padding-left:0}.OT_publisher[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{border:none;cursor:pointer;display:block;position:absolute;text-align:center;text-indent:-9999em;background-color:transparent;background-repeat:no-repeat;right:0;top:0;border-left:1px solid hsla(0,0%,100%,.2);height:36px;width:37px}.OT_mini[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%], .OT_publisher.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_subscriber.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%]{top:50%;left:50%;right:auto;margin-top:-18px;margin-left:-18.5px;border-left:none}.OT_publisher[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAcCAMAAAC02HQrAAAA1VBMVEUAAAD3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pn3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pn3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj39/j3+Pj3+Pn4+Pk/JRMlAAAAQ3RSTlMABAUHCQoLDhAQERwdHiAjLjAxOD9ASFBRVl1mbnZ6fH2LjI+QkaWqrrC1uLzAwcXJycrL1NXj5Ofo6u3w9fr7/P3+d4M3+QAAAQBJREFUGBlVwYdCglAABdCLlr5Unijm3hMUtBzlBLSr//9JgUToOQgVJgceJgU8aHgMeA38K50ZOpcQmTPwcyXn+JM8M3JJIqQypiIkeXelTyIkGZPwKS1NMia1lgKTVkaE3oQQGYsmHNqSMWnTgUFbMiZtGlD2dpaxrL1XgM0i4ZK8MeAmFhsAs29MGZniawagS63oMOQUNXYB5D0D1RMDpyoMLw/fiE2og/V+PVDR5AiBl0/2Uwik+vx4xV3a5G5Ye68Nd1czjUjZckm6VhmPciRzeCZICjwTJAViQq+3e+St167rAoHK8sLYZVkBYPCZAZ/eGa+2R5LH7Wrc0YFf/O9J3yBDFaoAAAAASUVORK5CYII=);background-position:9px 5px}.OT_publisher[_ngcontent-%COMP%] .OT_mute.OT_active[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAdCAYAAABFRCf7AAADcElEQVRIiaWVXWhcRRTHf7NNd2aDtUKMIjTpg4ufFIuiUOmDEWm0Vi3VYhXRqIggQh4sWJFSig9+oOhTKSpIRUWMIBIr2kptoTbgU6ooxCiIjR+14kcJmf9sNceHnd3ebnc3Uv9wuXfOzPzmnDMz5zozGwdWAbc65w5RUJQ8cC2wDJgFJioh/MJCMrNxq2vOzK4HmIvRRemxKP0RJWt53o7S+d2Yzsx6gQ+AIUDAnUqpBLzXZd4RYFUlhB/bdZacc3PAOmAcCMC7wfvFwLNdoAPAyx09bXyYWRl4E7gDmAdGlNKFwLYu8GolhO9O87RJd64GbMrgEvB68P4osMWdXLtVV7czlooNpVRWSs8DO7NpR/B+3rBHsvetCgtCMTxwQCm9BbyQrc8F7/uBex3uRCeXO0PrUZ4NfKyUPgWeyj3bg/crDNsIRGwBaJQGorQ3Svdn2wHgc2BUKb0DPJHtjwfvbwRucc7tz+N+i9LFUdoXpfVN36I0CVwBTFI/q9e1LPxT8P4qYEdu70q12mYzWw1MYQzjeJF6zq+shHC4B7jklOBPP/TzSunh4P0DwKvAfb5c9krpe+CcwsEoZdbhEvBM9wxRAl5RShcA9wAngE3B+8tLpdLuwrhp4MNmK0pfRWkySr7NXS8+L5nZbWZWy/Vin1IaitJnUTqvwevJ71lgSSWEFKUfHG7Q2m/xqFJaGry/GXgfGPLl8mJgrXPur2JoUC8Qy3OpG+sAbGhEKT0ErAWOA6uBPWbW1wr9BOgFbgKezot0kAPYqJQA1gC/A9cA+82svzksSn1R+jNKX0SpnM/e1x3yqig92JhrZivM7FjO8bSZLSuCR/Ok16K0KMNHojQWpYko7Y7S1igN5PE3ROl4lNaZ2UVmNpPBU01orvZvZPCeKFXbBR+lEKVtUapFaSZKg9njqpl9aWYTrmXCImA7sCWb9lK/jj9TrwkrgA1AH3AQuKsSwkzbrLfxpgpsBtYDxf/R3xm2ExirhNCuHHZXTsmRwiat+S/zSt06eysVA/4pmGr/G3qm6ik28v29FKgCg8BS6pvS0KNRGgZ+Bb4FpsxsOkfUlMuwDcBWYOUZOHYM2AU8WQmhBifDv70O7PjX7KZ+4G7g3FM8zd6uBIaBy4AqxnIcZwFLCovPAhE4Sj38b4BDwEeVEFKD9S94Khjn486v3QAAAABJRU5ErkJggg==);background-position:9px 4px}.OT_subscriber[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAATCAYAAAB7u5a2AAABx0lEQVQ4jaWUv48NURiGn3ONmCs32ZBd28ht1gqyZAkF21ylQkEiSp2ehpDlD1BoFGqqVdJohYKI7MaPxMoVNghCWMF+7ybLUewnOXfcMWO9yeQ857zne8+XmZOBGjJpr0kvTIomvTZpS526UCO4DUwD64FjwCFgqZnnR+oc8LfgzKQ73vGsr42ZtGjSQFV9o8KfBCacZwCaef4YmAf2rzjcpN3A2WSpm/AssKcqPDNpDBjs410CViXzTwk/A7b1C4wxDgOngAsZcAXY2buDfp/6S4F3lDS8DjgBzDWAjX/Y/e/QgYS/AhsKHa+OMQ6GEJ4Cj4BOAxgq6aCowyZtdf4OtAr+FHDO+R4wWnVbihr3cQnICt4boO38GWj9a/icjwOACt4m4K3zEPA+AxaAtTWCnwN3lzHkEL8V/OPAGud9wK2GF9XR1Wae/1zG2AI+pGYI4VUIoRtjHAc2A9cz4LRPevYCZ+i9/4sJt4GXJU10gaPAzdI2TTro/5Tfz8XEe2LSZGmxq/SDNvP8BnA5WRrx4BwYBe6vONx1EnjovGvBLAAd4Adwuyq8UiaNmDTvr+a8SQ9MuvbfwckBHZPe+QEfTdpep+4XZmPBHiHgz74AAAAASUVORK5CYII=);background-position:8px 7px}.OT_subscriber[_ngcontent-%COMP%] .OT_mute.OT_active[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAACtklEQVQ4jZ2VSYiURxTHf+/T9Nc9iRrBuYySmIsXUU9iFMEFERRBvAjJLUQi5ioiHvSScfTmgqC4XAT1ZIgLuJHkICaaQAgKI2hAUBT30bjUq7bbv4eukXK029F3+eqtv/fqK6qQdEnSNUmT6CDB/bvgfjO4N9zj2RD8007xg1IABkwEzkma0qb4PGAPMBZYLtSD8eNwAEjqTlNI0gNJM4YU7w7ut4O7gvuhZFsR3C8NC5BBLiTIY0mzM8AvqbiC++pk+zLpE95XuwAws3vAQuBPYDRwWtL84P4tsDSLv5oaug4EYOawAMF9jMdoLxqNZcDvQA04UVYqL4G/svj7AF21mhJscrvCksYBFO7xc2AAGGg2mrdjvf4rcAyomNn+slLZmUEGBgsYdh945xZJmgvckDSrEJpK6ySBgV6q12O8ABwGPjGzfWWlsjdN9rpjoSfA+DYDXARGAksK4Is3XC1Ub4z1f4CDQGFmu6tleQSYk0U+p7WVeefLJc00s4fAeWB6Qeunvj0m2ugx9gO7kmlrtSxvBfcy6fXUZS6rgG/S+jLQUwCVNmMC9HqM14EtSe+rluWazN8YEv8IqKZ1E1qnaIDO0ucx3gX6kv6TpM3AM+D/IbGjgP60/gq4WQA33gMA2OQxPgHWJX1ttSwL4FAeZGYLgB2SasBs4A8L7qOBf9M0uXQB3a+TMYSmVctyDrA9mfcBK82smSdKWgCcAaa1bTm4fxbc/8uuCQX3RanAD5Ka6Wo5IGnE0HxJPZ03pQX5Org3MsD3AO5xXLPZXJ9BjkrqdFg6QjZkgG3Jtsw93pG0VFI9QU5K6voYQBHcTydAfwheBI9HgvvPAJIWS3qeIL9JGvUxkO7gfi1BrqTvwkG/pPmSnibIqTzXPgAyEVgBjAEu1qrVPbk/PVTHgb/NbPGg/RVIzOQqzSTBaQAAAABJRU5ErkJggg==);background-position:7px 7px}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%]{transition-property:top,bottom,opacity;transition-duration:.5s;transition-timing-function:ease-in}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%]{top:-25px;opacity:0}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%]{display:none}.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%]{top:50%}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-off[_ngcontent-%COMP%]{top:auto;bottom:-25px}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-on[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-on[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%]{top:0;opacity:1}.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-on[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_mute.OT_mode-auto[_ngcontent-%COMP%], .OT_mute.OT_mode-mini[_ngcontent-%COMP%], .OT_root[_ngcontent-%COMP%]:hover .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%]{top:50%}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-on[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-on[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%]{top:auto;bottom:0;opacity:1}.OT_root[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:100%;display:none;background-color:rgba(0,0,0,.75)}.OT_root[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%] .OT_video-loading-spinner[_ngcontent-%COMP%]{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yMCAtMjAgMjQwIDI0MCI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4Mj0iMCIgeTI9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjEiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjA4Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIxIiB4Mj0iMCIgeTE9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuMDgiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjE2Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgyPSIwIiB5MT0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9Ii4xNiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuMzMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDI9IjEiIHkxPSIxIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9Ii42NiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4Mj0iMSIgeTI9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuNjYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiLz48L2xpbmVhckdyYWRpZW50PjxtYXNrIGlkPSJnIj48ZyBmaWxsPSJub25lIiBzdHJva2Utd2lkdGg9IjQwIj48cGF0aCBzdHJva2U9InVybCgjYSkiIGQ9Ik04Ni42LTUwYTEwMCAxMDAgMCAwIDEgMCAxMDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMCAxMDApIi8+PHBhdGggc3Ryb2tlPSJ1cmwoI2IpIiBkPSJNODYuNiA1MEExMDAgMTAwIDAgMCAxIDAgMTAwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjxwYXRoIHN0cm9rZT0idXJsKCNjKSIgZD0iTTAgMTAwYTEwMCAxMDAgMCAwIDEtODYuNi01MCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAwIDEwMCkiLz48cGF0aCBzdHJva2U9InVybCgjZCkiIGQ9Ik0tODYuNiA1MGExMDAgMTAwIDAgMCAxIDAtMTAwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjxwYXRoIHN0cm9rZT0idXJsKCNlKSIgZD0iTS04Ni42LTUwQTEwMCAxMDAgMCAwIDEgMC0xMDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMCAxMDApIi8+PHBhdGggc3Ryb2tlPSJ1cmwoI2YpIiBkPSJNMC0xMDBhMTAwIDEwMCAwIDAgMSA4Ni42IDUwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjwvZz48L21hc2s+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHg9Ii0yMCIgeT0iLTIwIiBtYXNrPSJ1cmwoI2cpIiBmaWxsPSIjZmZmIi8+PC9zdmc+) no-repeat;position:absolute;width:32px;height:32px;left:50%;top:50%;margin-left:-16px;margin-top:-16px;-webkit-animation:OT_spin 2s linear infinite;animation:OT_spin 2s linear infinite}@-webkit-keyframes OT_spin{to{-webkit-transform:rotate(1turn)}}@keyframes OT_spin{to{transform:rotate(1turn)}}.OT_publisher.OT_loading[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%], .OT_subscriber.OT_loading[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%]{display:block}.OT_video-centering[_ngcontent-%COMP%]{display:table;width:100%;height:100%}.OT_video-container[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.OT_video-poster[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:100%;display:none;opacity:.25;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDcxIDQ2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSI2Ni42NiUiIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTc5IDMwOGMxNC4yNS02LjUgNTQuMjUtMTkuNzUgNzEtMjkgOS0zLjI1IDI1LTIxIDI1LTIxczMuNzUtMTMgMy0yMmMtMS43NS02Ljc1LTE1LTQzLTE1LTQzLTIuNSAzLTQuNzQxIDMuMjU5LTcgMS0zLjI1LTcuNS0yMC41LTQ0LjUtMTYtNTcgMS4yNS03LjUgMTAtNiAxMC02LTExLjI1LTMzLjc1LTgtNjctOC02N3MuMDczLTcuMzQ2IDYtMTVjLTMuNDguNjM3LTkgNC05IDQgMi41NjMtMTEuNzI3IDE1LTIxIDE1LTIxIC4xNDgtLjMxMi0xLjMyMS0xLjQ1NC0xMCAxIDEuNS0yLjc4IDE2LjY3NS04LjY1NCAzMC0xMSAzLjc4Ny05LjM2MSAxMi43ODItMTcuMzk4IDIyLTIyLTIuMzY1IDMuMTMzLTMgNi0zIDZzMTUuNjQ3LTguMDg4IDQxLTZjLTE5Ljc1IDItMjQgNi0yNCA2czc0LjUtMTAuNzUgMTA0IDM3YzcuNSA5LjUgMjQuNzUgNTUuNzUgMTAgODkgMy43NS0xLjUgNC41LTQuNSA5IDEgLjI1IDE0Ljc1LTExLjUgNjMtMTkgNjItMi43NSAxLTQtMy00LTMtMTAuNzUgMjkuNS0xNCAzOC0xNCAzOC0yIDQuMjUtMy43NSAxOC41LTEgMjIgMS4yNSA0LjUgMjMgMjMgMjMgMjNsMTI3IDUzYzM3IDM1IDIzIDEzNSAyMyAxMzVMMCA0NjRzLTMtOTYuNzUgMTQtMTIwYzUuMjUtNi4yNSAyMS43NS0xOS43NSA2NS0zNnoiLz48L3N2Zz4=);background-size:auto 76%}.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover}@media only screen and (orientation:portrait){.OT_subscriber.OT_ForceContain.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:contain!important;object-fit:contain!important}}.OT_fit-mode-contain[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:contain;object-fit:contain}.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-poster[_ngcontent-%COMP%]{background-position:bottom}.OT_fit-mode-contain[_ngcontent-%COMP%] .OT_video-poster[_ngcontent-%COMP%]{background-position:50%}.OT_audio-level-meter[_ngcontent-%COMP%]{position:absolute;width:25%;max-width:224px;min-width:21px;top:0;right:0;overflow:hidden}.OT_audio-level-meter[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.OT_audio-level-meter__bar[_ngcontent-%COMP%]{position:absolute;width:192%;height:192%;top:-96%;right:-96%;border-radius:50%;background-color:rgba(0,0,0,.8)}.OT_audio-level-meter__audio-only-img[_ngcontent-%COMP%]{position:absolute;top:22%;right:15%;width:40%;opacity:.7;background:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzkgODYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTkuNzU3IDQwLjkyNGMzLjczOC01LjE5MSAxMi43MTEtNC4zMDggMTIuNzExLTQuMzA4IDIuMjIzIDMuMDE0IDUuMTI2IDI0LjU4NiAzLjYyNCAyOC43MTgtMS40MDEgMS4zMDEtMTEuNjExIDEuNjI5LTEzLjM4LTEuNDM2LTEuMjI2LTguODA0LTIuOTU1LTIyLjk3NS0yLjk1NS0yMi45NzV6bTU4Ljc4NSAwYy0zLjczNy01LjE5MS0xMi43MTEtNC4zMDgtMTIuNzExLTQuMzA4LTIuMjIzIDMuMDE0LTUuMTI2IDI0LjU4Ni0zLjYyNCAyOC43MTggMS40MDEgMS4zMDEgMTEuNjExIDEuNjI5IDEzLjM4LTEuNDM2IDEuMjI2LTguODA0IDIuOTU1LTIyLjk3NSAyLjk1NS0yMi45NzV6Ii8+PHBhdGggZD0iTTY4LjY0NyA1OC42Yy43MjktNC43NTMgMi4zOC05LjU2MSAyLjM4LTE0LjgwNCAwLTIxLjQxMi0xNC4xMTUtMzguNzctMzEuNTI4LTM4Ljc3LTE3LjQxMiAwLTMxLjUyNyAxNy4zNTgtMzEuNTI3IDM4Ljc3IDAgNC41NDEuNTE1IDguOTM2IDEuODAyIDEyLjk1IDEuNjk4IDUuMjk1LTUuNTQyIDYuOTkxLTYuNjE2IDIuMDczQzIuNDEgNTUuMzk0IDAgNTEuNzg3IDAgNDguMTAzIDAgMjEuNTM2IDE3LjY4NSAwIDM5LjUgMCA2MS4zMTYgMCA3OSAyMS41MzYgNzkgNDguMTAzYzAgLjcxOC0yLjg5OSA5LjY5My0zLjI5MiAxMS40MDgtLjc1NCAzLjI5My03Ljc1MSAzLjU4OS03LjA2MS0uOTEyeiIvPjxwYXRoIGQ9Ik01LjA4NCA1MS4zODVjLS44MDQtMy43ODIuNTY5LTcuMzM1IDMuMTM0LTcuOTIxIDIuNjM2LS42MDMgNS40ODUgMi4xNSA2LjI4OSA2LjEzMi43OTcgMy45NDgtLjc1MiA3LjQ1Ny0zLjM4OCA3Ljg1OS0yLjU2Ni4zOTEtNS4yMzctMi4zMTgtNi4wMzQtNi4wN3ptNjguODM0IDBjLjgwNC0zLjc4Mi0uNTY4LTcuMzM1LTMuMTMzLTcuOTIxLTIuNjM2LS42MDMtNS40ODUgMi4xNS02LjI4OSA2LjEzMi0uNzk3IDMuOTQ4Ljc1MiA3LjQ1NyAzLjM4OSA3Ljg1OSAyLjU2NS4zOTEgNS4yMzctMi4zMTggNi4wMzQtNi4wN3ptLTIuMDM4IDguMjg4Yy0uOTI2IDE5LjY1OS0xNS4xMTIgMjQuNzU5LTI1Ljg1OSAyMC40NzUtNS40MDUtLjYwNi0zLjAzNCAxLjI2Mi0zLjAzNCAxLjI2MiAxMy42NjEgMy41NjIgMjYuMTY4IDMuNDk3IDMxLjI3My0yMC41NDktLjU4NS00LjUxMS0yLjM3OS0xLjE4Ny0yLjM3OS0xLjE4N3oiLz48cGF0aCBkPSJNNDEuNjYyIDc4LjQyMmw3LjU1My41NWMxLjE5Mi4xMDcgMi4xMiAxLjE1MyAyLjA3MiAyLjMzNWwtLjEwOSAyLjczOGMtLjA0NyAxLjE4Mi0xLjA1MSAyLjA1NC0yLjI0MyAxLjk0NmwtNy41NTMtLjU1Yy0xLjE5MS0uMTA3LTIuMTE5LTEuMTUzLTIuMDcyLTIuMzM1bC4xMDktMi43MzdjLjA0Ny0xLjE4MiAxLjA1Mi0yLjA1NCAyLjI0My0xLjk0N3oiLz48L2c+PC9zdmc+) no-repeat 50%}.OT_audio-level-meter__audio-only-img[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.OT_audio-level-meter__value[_ngcontent-%COMP%]{position:absolute;border-radius:50%;background-image:radial-gradient(circle,#97ce00 0,rgba(151,206,0,0) 100%)}.OT_audio-level-meter.OT_mode-off[_ngcontent-%COMP%]{display:none}.OT_audio-level-meter.OT_mode-on[_ngcontent-%COMP%], .OT_audio-only[_ngcontent-%COMP%] .OT_audio-level-meter.OT_mode-auto[_ngcontent-%COMP%]{display:block}.OT_audio-only.OT_publisher[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%], .OT_audio-only.OT_subscriber[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{display:none}.OT_video-disabled-indicator[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:100% 100%;pointer-events:none;top:0;left:0;bottom:3px;right:3px}.OT_video-disabled[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAoCAYAAABtla08AAAINUlEQVR42u2aaUxUVxTHcRBmAAEBRVTK4sKwDIsg+wCK7CqIw1CN1YobbbS2qYlJ06Qx1UpdqMbYWq2pSzWmH6ytNbXWJY1Lq7VuqBERtW64V0XFLYae0/xvcp3MMAMzDz6IyT/ge2ce5/7ucpY3Ts3NzZ1ygF57AJ0gO0G2jyZPmdbFyclJSAV1EeoEaUUSLGdSV5KLLFxzFmA7QVqGqDqjixhWkxCVeyRVl38wM6bwj6yYItYK47BAuu9B0gCqs6Ng2r494KQtkj/Dz2jHraw6qw2fdSE4rNmcCPCvZONP8iF1I6kdBdMaQJWZLeJqRWa2kPJAxXY+GxE+zxLI03GRh8lGSwoi9WCY8FWlCEh+8JOnT7MfPGjMuXX7Tt61hoaCi/9cKmKdv3BxeEtim/UbNpnbQiqF4MmT7kqrbr4lkMcTo46TTSpJB5g+8NHuVWnWuaampvhmO/7duHmrGluoO4C6OsJZGRrkDIld43ZqUOTnlkDSmXmabAoBU0vqBf+6KgFSxQ9++uzZ8rZApM81TJ8xM5me0Z/UF7PuBmdVdkGEb5gYDeQmyZNW3SJLIP9Kj64lGyMpmxRN6sOfIbkoAhKOdnv2/PmB1kB88eLFo+olyyrps3rSINIAzLonnqlqK8R9w+L86vtrt5L2nhug3Vc3ULu/Liz8AOuXESlZZONH6kmr7gtLIA9lRNeRzVukAvj3BslLnJNKgfScO69K+/Lly0ZbQW7e8tNK+pwBjqaSIjDrXgJkW1ciAZvbQjQ+RDahpBBKd5ZZsqN758hmImk4KQHnpDd8UwSkCyJarx07d4+3BeKJmlMHyX4qaRxpBCmNFE4KENvHDpAutVERn1kCVBMfeRRgYvZnx62wZPdnZkw92VQA5GClQXYRBze2S+iJmpPVVoJLA9l9QKokjcWKTCT1R5rhLg70NuSsziT16diIKkuAjibrTpJNDkn/e17CahtAjlAWJAYkb29Sb1LE9Rs391kILk8mVkyuIpuZcLKUlEmKkra1WuSTNuesEPzwoEploSVAh9Oiz+BIyd9dOHhtx4OEpFpVg6gbNK3yXX1j48N6U5Dz5i/gc/FDrMY3sTLiSMEkXxGxzUEUAGnbxlPaksMlHUXWAlHS8URCPseSohZbCSLjSSU7ixLXdzhIWVKq4Y7t2a/2bN0qGeKly1fYsVmk6RgIDz4J0bonyUOcjeYqm/8hRoYbWkigV2NH9CHAS60EkUkkw47hSRs6FqT1LR5AVcsrueXlK1d5AO+RpmBrZZEiefByytPCanRGNLZY0uF52gNDYr9sCRB8MHY0SJu2OJWKS2WQV65e4y31DmkCImEi0hBfufRime0RIhpbKen0/Ny9OYNW2ghyYytABjNIaxNuKttAWk6HPLn0k0FevdZwFinPWFIuKZbUV16NVko6jbWSDoPO3pOf8K0jQWLSQ0S9bdpkYck+m7vfWpAiHfKgBsZiGSSt0FqcTeU8WETqAHE2CgcAVd3Gkm4MD3xXYeI6B4NMItvKbcUpQ9gP+KMWnSsW+TaYJtoo+avBWLoKoK0CCSDud+7eXWQGZAXqV3YoQjQCfixJ8+fzj9ta3JHhlUeJ8wJOY2ws6eRKpPS3oqTvHAESEz9ya0naXL5WH6pt3FqSOhTHkTcKEXc6k1POh4Q9YJu/03TT4a8PoGMFI4i2EqSbOZAYaBkpCyD92RkG6KCSbjI/H0HEISBnlOZPFdcEzI2GTO4KBZICGKyAKLTEmJOB2txf5MbgohBINCl4FTqmpJMB2W+HiRn1Q2l6lXyPmiEP6VVE2TfGoaMYrHyPdtAnyI0jEOn9RLWmNEhvBBE7SjpFQZaShtLK+1S+T12lRwxUvrZlVPp8jE1PikeO7C/nyEqBDCB1t7+kUx4kKUWclea0yZC5BIGpiJSNSD9QgFR0RQKkL6KxHSWdsiARHJNYewoGrzG1/bk4dTPSunL2EyDjcbb7MQ+lQfZmkKiN7SjpFAM5CWAyGcwyY84YsZ1lUcbRNNtQMAdtQWGvQ0DyVjzYAKQfQFodeAeC1C8vzymXIZqD+ZEh/2OyLSalS/3VbnJZ+VqDXGjMrTCFuK4s66vVZUNfqaDolcbjOcb899sLpEE+I20GifywXe2QR3KElu99PzqjGufhREqB1pjCnG3IL3fY1v733r2FMsiGhutn0LAoJWWIGbPxjKwgjUbF0m52mPhigrpdXOecEq9pR6MkHbu2LOtrcZ9y3d0ODTb15y9MePz48aF79+8fvXnr9sljx2u2I7KNxDuaMPGVECoRs7mC4eT7SIruFNfNHK15MKuM2evwNq+4qjxvGnd5CHwNNynawW4cOlUZdG8b55IIJHmkItwrZHH6QxB3OSL9kTtAGpIvZiQB3Z4SKBfXQtEE9sashWAW87Bt3sYZNR6zn4uzJwWDKUKXfaKCdqUoBpLxSjYe9nqGiwWRBGipuGZ3Qm76itYLbbJI/PEhUApfw73uOIy9xfse3M9F9BuFJHcYrseSouGkHtCVtkuGTTikI8XgZzhg9SeF4VqcvSWiaSvNHQ8JwkNjIfEHemCmNLD1RaEfLs18mlgNuN6PFALHo7CyU5W2g00gFAQF4ozvibH04muwDbWraSFAyt/AAMzewgGR8uCeWn77xzBxPxgzPRCDDMZ14bQ/3jqGKGoHf2Hjgx3kw5LbaJDYWb52t9FMgw4AuWNWukNeuOYqOsmQi2jgws4PA/DD/z0B2x0/veCs4naw0cgybezid7X9jV3rX2RSs0wfLkll4pBGcgifg+NYxe1kJ2ycTaRq66uG/wBOl0vjcw70xwAAAABJRU5ErkJggg==);background-size:33px auto}.OT_video-disabled-warning[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAoCAYAAABtla08AAAGMElEQVR4Ae2aA7D0yBaAc7oH12vbRmlLaxYWb23btm3btm2899a2bWuYtPZ01cmtU9lJrib315yqr9I3Oem/5/s7acwEnehEJzoxCcX2O+wEeIgRBDDaGjAZOgQ6ihRpLklHZDJIXK1WWymMIhGGkVBKCWMM+Iv/f/b5t7faYtM/sGgIS7j8RNLjceUVl41GvGN1BFiHy9sgtRWaYbhvuVQ6o1VOvV5/tLe3dyssKoZuh8xClkDEi2MMS6ZjR0cScxdK/+HgnJsmLccYOx0e/PUGUqfTJDEHkV5go9lcMQoj4R8RpSIRRUr4a9baTJFCCNfqESKJ7RYJibK0xoi05EhFRTxMi1Rit6xHAuLaKRLwEVi6q1x+EhlVpd3d3Wfh4VQkQhRhxthYLg7SRGqdLlIp7UVOHf+JhEhEMscUolVje3p63saeeOFoKsT7fjj++BNuw2I/0ouUENmGaQcQEilQvUU6xuWC0kqmVWCt8df6kG7WLoFA20VSCOyNh0RKPT+SyrTWtQsvuvTYCy84z3+oAdbgAiLGIvHjTz6bFuu/B3lKKfVkFKknwih6EnnipZdfXQZzepAupXSGSCfwUGZtkrx3t/0dSQGnnXbmdocdetArQoj+4VR23wMP3bj/vnv9Sv/rBmkish09ca655thHSrlWq4TFF1vkNDxsgjiUnPqZnHPABIq47jx7pPMcecShfz7x1DO7D6eit99576X1113nVd8rqLGAuDaNitJonTGIqHgQGQjDsJglMrUH5iDSEQbRa6y2yrNvv/PuWVmV/PTzLz8steTit1B9FtGJeZrJksmWdBzBMcami4xUkaY1A1Qe94WIaPGBApJhaERrLrXkElf8+NPPz6YMLs1DDjn0Wn9PnI/UiQadM4jNEkhzVsEGE8nIHESM1j5/KqRX+/IEiOQ/yifNBlEkpnb00cccesbpp13T3983H88/48xzrrvm6it/8U5JXgX5G6nSvSq1R5LATR7aYGkwMG1RSwkWABH+4jUb3vT/uJ1Z0xpjraTBRltrxUQhksIRmgTJyy69+Pv99tv3qYX6FxgU+fU33352xGEHf5wisU7nNWJpZRMkAjZ6aIN1mwV7h29Jo2wCHlveu/GV169z65E+T6koexCh6c+EEiky3lnxQKFjUeVyOeI5AOBzIiayRhJryd7YYnkIHgvB0qk9Tdql6N3XH4bRUIOIIIKJSiRb0hkSEpZKRd1CpEq8GxtIyCVmDSgFl94GacTgaJw1rUlYhYng0c4ewaUsmKRIJjpiqMSOCh9QeI+UYECmtQIsxEu6OorEcv6Rl0gu0woh8MhFkmSCTXVI4pC704WCFRJvSRNJSzrMMEZO2iKZTCHAZYnmvXCny7ed5vfZK3viHSBdIFCKEFj2+nt+73nw8m2uedcLJlktA++VNMEPaR45aYukcKnnCfY3/DFbZS8t7eHxNgsPM0N1hXhJJwwM1QbpoQFlog2R13a/zBxEYHAQEUYUM6qiVwEyBYoM6JFNF2kFLelI5KQf+fVI4dJFCguDS7oAyx2R6SFQJKRedSDj/cMg/RXQ6ZE05GSIDAaXdCi1I3L021SQWNJ1RLY5OiIdL4/yvuw8ADfWPFrSciaMyH8tEQPwf1uGG54g5+KlJGTmsrxsQdl5PKidnPFe2QS///7Hu+VS6WX/HYnf0sevGL7lXydwod2/9DykZq0s5yff0sgSWCigNOH7TPHL7ufj+/TH8P/+qYpL4HkBDiRYpEXeM8/89/9zzjn7EtY64dfd1nqccM7Bs8+9MKy8555/8TnKS+5MufH6EZVASkgPzf+mJXroet17JirU0ALST3nT0y5ONyLpeo1y64ih+vuQfsoTOeRFSJXa+SvyB90TUmdw49EjLaKpMQ0mzEeTzkWsd/oI6fzfiKM8gWg6X6OjpXstu5ZHnmIb0GFiu29MIUfUewkmVrEN3RqVQ/bY8FzNcquMBv/pCNUZ5pHHem01KdN/I/DG66/lLhKSvTO5M84kav5C5z2ZfyAivi9i9VGd45RH7UWJbjwGG/7NYsRECt7jiOToHedKAui8SW4CsxyRc54mKH/8f7ELhCCACyNcIl/wI+FaAJyc8yzRtinQPzWzuFZrFHq/AAAAAElFTkSuQmCC);background-size:33px auto}.OT_video-disabled-indicator.OT_active[_ngcontent-%COMP%]{display:block}.OT_audio-blocked-indicator[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:50%;pointer-events:none;top:0;left:0;bottom:0;right:0}.OT_audio-blocked[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjkwIj48ZGVmcz48cGF0aCBkPSJNNjcgMTJMNi40NDggNzIuNTUyIDAgMzFWMThMMjYgMGw0MSAxMnptMyA3bDYgNDctMjkgMTgtMzUuNTAyLTYuNDk4TDcwIDE5eiIgaWQ9ImEiLz48L2RlZnM+PHJlY3Qgd2lkdGg9IjE1MCIgaGVpZ2h0PSI5MCIgcng9IjM1IiByeT0iNDUiIG9wYWNpdHk9Ii41Ii8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNikiPjxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjxwYXRoIGQ9Ik0zOS4yNDkgNTEuMzEyYy42OTcgMTAuMzcgMi43ODUgMTcuODk3IDUuMjUxIDE3Ljg5NyAzLjAzOCAwIDUuNS0xMS40MTcgNS41LTI1LjVzLTIuNDYyLTI1LjUtNS41LTI1LjVjLTIuNTEgMC00LjYyOCA3Ljc5Ny01LjI4NyAxOC40NTNBOC45ODkgOC45ODkgMCAwIDEgNDMgNDRhOC45ODggOC45ODggMCAwIDEtMy43NTEgNy4zMTJ6TTIwLjk4NSAzMi4yMjRsMTUuNzQ2LTE2Ljg3N2E3LjM4NSA3LjM4NSAwIDAgMSAxMC4zNzQtLjQyQzUxLjcwMiAxOS4xMTQgNTQgMjkuMjA4IDU0IDQ1LjIwOGMwIDE0LjUyNy0yLjM0MyAyMy44OC03LjAzIDI4LjA1OGE3LjI4IDcuMjggMCAwIDEtMTAuMTY4LS40NjhMMjAuNDA1IDU1LjIyNEgxMmE1IDUgMCAwIDEtNS01di0xM2E1IDUgMCAwIDEgNS01aDguOTg1eiIgZmlsbD0iI0ZGRiIgbWFzaz0idXJsKCNiKSIvPjwvZz48cGF0aCBkPSJNMTA2LjUgMTMuNUw0NC45OTggNzUuMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-size:90px auto}.OT_container-audio-blocked[_ngcontent-%COMP%]{cursor:pointer}.OT_container-audio-blocked.OT_mini[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%], .OT_container-audio-blocked[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{display:none}.OT_audio-blocked-indicator.OT_active[_ngcontent-%COMP%]{display:block}.OT_video-unsupported[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:50%;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik03MCAxMkw5LjQ0OCA3Mi41NTIgMCA2MmwzLTQ0TDI5IDBsNDEgMTJ6bTggMmwxIDUyLTI5IDE4LTM1LjUwMi02LjQ5OEw3OCAxNHoiIGlkPSJhIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCAzKSI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHBhdGggZD0iTTkuMTEgMjAuOTY4SDQ4LjFhNSA1IDAgMCAxIDUgNVY1OC4xOGE1IDUgMCAwIDEtNSA1SDkuMTFhNSA1IDAgMCAxLTUtNVYyNS45N2E1IDUgMCAwIDEgNS01em00Ny4wOCAxMy4zOTRjMC0uMzQ1IDUuNDcyLTMuMTU5IDE2LjQxNS04LjQ0M2EzIDMgMCAwIDEgNC4zMDQgMi43MDJ2MjYuODM1YTMgMyAwIDAgMS00LjMwNSAyLjcwMWMtMTAuOTQyLTUuMjg2LTE2LjQxMy04LjEtMTYuNDEzLTguNDQ2VjM0LjM2MnoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48L2c+PHBhdGggZD0iTTgxLjUgMTYuNUwxOS45OTggNzguMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-size:58px auto;pointer-events:none;top:0;left:0;bottom:0;right:0;margin-top:-30px}.OT_video-unsupported-bar[_ngcontent-%COMP%]{display:none;position:absolute;width:192%;height:192%;top:-96%;left:-96%;border-radius:50%;background-color:rgba(0,0,0,.8)}.OT_video-unsupported-img[_ngcontent-%COMP%]{display:none;position:absolute;top:11%;left:15%;width:70%;opacity:.7;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik03MCAxMkw5LjQ0OCA3Mi41NTIgMCA2MmwzLTQ0TDI5IDBsNDEgMTJ6bTggMmwxIDUyLTI5IDE4LTM1LjUwMi02LjQ5OEw3OCAxNHoiIGlkPSJhIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCAzKSI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHBhdGggZD0iTTkuMTEgMjAuOTY4SDQ4LjFhNSA1IDAgMCAxIDUgNVY1OC4xOGE1IDUgMCAwIDEtNSA1SDkuMTFhNSA1IDAgMCAxLTUtNVYyNS45N2E1IDUgMCAwIDEgNS01em00Ny4wOCAxMy4zOTRjMC0uMzQ1IDUuNDcyLTMuMTU5IDE2LjQxNS04LjQ0M2EzIDMgMCAwIDEgNC4zMDQgMi43MDJ2MjYuODM1YTMgMyAwIDAgMS00LjMwNSAyLjcwMWMtMTAuOTQyLTUuMjg2LTE2LjQxMy04LjEtMTYuNDEzLTguNDQ2VjM0LjM2MnoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48L2c+PHBhdGggZD0iTTgxLjUgMTYuNUwxOS45OTggNzguMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-position:50%;background-size:100% auto}.OT_video-unsupported-img[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:93%}.OT_video-unsupported-text[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;text-align:center;height:100%;margin-top:40px}@media only screen and (max-width:600px){#videoRoomNavBar[_ngcontent-%COMP%]{width:100%}}']}),e}(),nT=[{path:"",component:ZO},{path:":roomName",component:tT}],rT=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[IO.forRoot(nT,{useHash:!0})],IO]}),e}(),iT=function(){var e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}(),oT={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return oT.schedule(e,0);if(void 0===window.requestAnimationFrame)return oT.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function sT(e,t,n){var r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((function(t,n){return!("*"===t||!function(e,t){return iT.call(e,t)}(e,t)||(r=n,0))})),r}var aT=function(){function e(e,t){this.componentFactory=t.get(nc).resolveComponentFactory(e)}return e.prototype.create=function(e){return new cT(this.componentFactory,e)},e}(),cT=function(){function e(e,t){this.componentFactory=e,this.injector=t,this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set}return e.prototype.connect=function(e){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)},e.prototype.disconnect=function(){var e=this;null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=oT.schedule((function(){null!==e.componentRef&&(e.componentRef.destroy(),e.componentRef=null)}),10))},e.prototype.getInputValue=function(e){return null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]},e.prototype.setInputValue=function(e,t){var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)},e.prototype.initializeComponent=function(e){var t=xs.create({providers:[],parent:this.injector}),n=function(e,t){var n=e.childNodes,r=t.map((function(){return[]})),i=-1;t.some((function(e,t){return"*"===e&&(i=t,!0)}));for(var o=0,s=n.length;o<s;++o){var a=n[o],c=sT(a,t,i);-1!==c&&r[c].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(ol).attachView(this.componentRef.hostView)},e.prototype.initializeInputs=function(){var e=this;this.componentFactory.inputs.forEach((function(t){var n=t.propName;e.implementsOnChanges&&e.unchangedInputs.add(n),e.initialInputValues.has(n)&&e.setInputValue(n,e.initialInputValues.get(n))})),this.initialInputValues.clear()},e.prototype.initializeOutputs=function(e){var t=this.componentFactory.outputs.map((function(t){var n=t.templateName;return e.instance[t.propName].pipe(G((function(e){return{name:n,value:e}})))}));this.events=re.apply(void 0,c(t))},e.prototype.callNgOnChanges=function(e){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}},e.prototype.scheduleDetectChanges=function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=oT.scheduleBeforeRender((function(){e.scheduledChangeDetectionFn=null,e.detectChanges()})))},e.prototype.recordInputChange=function(e,t){if(null===this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);var i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Ba(i,t,r)}}},e.prototype.detectChanges=function(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())},e}(),uT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ngElementEventsSubscription=null,t}return i(t,e),t}(HTMLElement);function lT(e,t){var n=function(e,t){return t.get(nc).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new aT(e,t.injector),o=function(e){var t={};return e.forEach((function(e){var n,r=e.propName;t[(n=e.templateName,n.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})))]=r})),t}(n),s=function(e){function s(t){var n=e.call(this)||this;return n.injector=t,n}return i(s,e),Object.defineProperty(s.prototype,"ngElementStrategy",{get:function(){var e=this;if(!this._ngElementStrategy){var i=this._ngElementStrategy=r.create(this.injector||t.injector),o=n.filter((function(t){return e.hasOwnProperty(t.propName)})).map((function(t){var n=t.propName;return[n,e[n]]}));this instanceof s?o.forEach((function(t){var n=a(t,1);return delete e[n[0]]})):dT(n,this),o.forEach((function(e){var t=a(e,2);return i.setInputValue(t[0],t[1])}))}return this._ngElementStrategy},enumerable:!0,configurable:!0}),s.prototype.attributeChangedCallback=function(e,t,n,r){this.ngElementStrategy.setInputValue(o[e],n)},s.prototype.connectedCallback=function(){var e=this;this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe((function(t){var n=function(e,t,n){if("function"!=typeof CustomEvent){var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(e.ownerDocument,t.name,t.value);e.dispatchEvent(n)}))},s.prototype.disconnectedCallback=function(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)},s.observedAttributes=Object.keys(o),s}(uT);return dT(n,s.prototype),s}function dT(e,t){e.forEach((function(e){var n=e.propName;Object.defineProperty(t,n,{get:function(){return this.ngElementStrategy.getInputValue(n)},set:function(e){this.ngElementStrategy.setInputValue(n,e)},configurable:!0,enumerable:!0})}))}var pT=function(){function e(e,t){this.strategy=e,this.injector=t,this.ngZone=this.injector.get(Fu)}return e.prototype.connect=function(e){var t=this;this.runInZone((function(){t.strategy.connect(e)})),this.events=this.strategy.events},e.prototype.disconnect=function(){var e=this;this.runInZone((function(){e.strategy.disconnect()}))},e.prototype.getInputValue=function(e){var t=this;return this.runInZone((function(){return t.strategy.getInputValue(e)}))},e.prototype.setInputValue=function(e,t){var n=this;this.runInZone((function(){n.strategy.setInputValue(e,t)}))},e.prototype.runInZone=function(e){return this.ngZone.run(e)},e}(),hT=function(){function e(e,t){this.component=e,this.injector=t,this.ngElement=lT(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}return e.prototype.string4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},e.prototype.generateName=function(){var t="dummy-name-n";return t=t+(e.counter+"")+"-"+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),e.counter++,t},e.prototype.create=function(e){var t=new this.ngElement(this.injector),n=t.ngElementStrategy;return t=null,new pT(n,this.injector)},e.counter=1,e}(),fT=function(){function e(){}return e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)},imports:[[lE]]}),e}(),gT=function(){function e(e,t){id(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return e.withConfig=function(t,n){return void 0===n&&(n=[]),{ngModule:e,providers:t.serverLoaded?[{provide:fE,useValue:o(o({},hE),t)},{provide:mE,useValue:n,multi:!0},{provide:gE,useValue:!0}]:[{provide:fE,useValue:o(o({},hE),t)},{provide:mE,useValue:n,multi:!0}]}},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(gE),st(xu))},imports:[[SP,tk,fT],SP,tk,fT]}),e}(),mT=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),vT=function(e){function t(){var t=e.call(this)||this;return t.NAME="WebComponent",t}return mT(t,e),t.prototype.setSessionConfig=function(e){var t;this.sessionConfig=e,this.sessionConfig&&(this.sessionName=this.sessionConfig.sessionName,this.nickname=this.sessionConfig.user,this.tokens=this.sessionConfig.tokens,this.sessionConfig.ovSettings&&this.isOvSettingsType(this.sessionConfig.ovSettings)&&this.ovSettings.set(this.sessionConfig.ovSettings),this.ovSettings.setScreenSharing(this.ovSettings.hasScreenSharing()&&(null===(t=this.tokens)||void 0===t?void 0:t.length)>1),this.ovSettings.hasScreenSharing()||console.warn("ScreenSharing has been disabled. OpenVidu Angular has received only one token."))},t.prototype.getComponentName=function(){return this.NAME},t.prototype.isOvSettingsType=function(e){return"chat"in e&&"boolean"==typeof e.chat&&"autopublish"in e&&"boolean"==typeof e.autopublish&&"toolbarButtons"in e&&"object"==typeof e.toolbarButtons&&"audio"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.audio&&"audio"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.audio&&"video"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.video&&"screenShare"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.screenShare&&"fullscreen"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.fullscreen&&"layoutSpeaking"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.layoutSpeaking&&"exit"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.exit},t}(_k),yT=["videoRoom"];function bT(e,t){if(1&e){var n=Xs();Gs(0,"app-video-room",1,2),ea("_error",(function(e){return ln(n),oa().emitErrorEvent(e)}))("_session",(function(e){return ln(n),oa().emitSession(e)}))("_publisher",(function(e){return ln(n),oa().emitPublisher(e)}))("_leaveSession",(function(e){return ln(n),oa().emitLeaveSessionEvent(e)}))("_joinSession",(function(e){return ln(n),oa().emitJoinSessionEvent(e)})),Qs()}2&e&&Ws("externalConfig",oa().webComponent)}var _T=function(){function e(e){this.loggerSrv=e,this.sessionCreated=new Kc,this.publisherCreated=new Kc,this.error=new Kc,this.joinSession=new Kc,this.leaveSession=new Kc,this.display=!1,this.webComponent=new vT,this.log=this.loggerSrv.get("WebComponentComponent")}return Object.defineProperty(e.prototype,"sessionConfig",{set:function(e){var t=this;this.log.d("Webcomponent sessionConfig: ",e),setTimeout((function(){var n;if("string"==typeof e)try{e=JSON.parse(e)}catch(r){return void t.log.e("Unexpected JSON",r)}if(t.isEmpty(e))return t.log.w("Parameters received are incorrect.",e),t.log.w("Exit session"),void(null===(n=t.videoRoom)||void 0===n||n.leaveSession());t.webComponent.setSessionConfig(e),t.display=t.webComponent.canJoinToSession()}),200)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"theme",{set:function(e){this.webComponent.setTheme(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openviduServerUrl",{set:function(e){this.webComponent.setOvServerUrl(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openviduSecret",{set:function(e){this.webComponent.setOvSecret(e)},enumerable:!0,configurable:!0}),e.prototype.emitErrorEvent=function(e){var t=this;setTimeout((function(){return t.error.emit(e)}),20)},e.prototype.emitSession=function(e){var t=this;e.on("sessionDisconnected",(function(e){return t.display=!1})),e.on("connectionCreated",(function(e){t.videoRoom.checkSizeComponent()})),this.sessionCreated.emit(e)},e.prototype.emitPublisher=function(e){this.publisherCreated.emit(e)},e.prototype.emitJoinSessionEvent=function(e){this.joinSession.emit(e)},e.prototype.emitLeaveSessionEvent=function(e){this.leaveSession.emit(e)},e.prototype.isEmpty=function(e){return 0===Object.keys(e).length},e.\u0275fac=function(t){return new(t||e)(Bs(tE))},e.\u0275cmp=Ot({type:e,selectors:[["app-web-component"]],viewQuery:function(e,t){var n;1&e&&uu(yT,!0),2&e&&au(n=fu())&&(t.videoRoom=n.first)},inputs:{ovSettings:"ovSettings",sessionConfig:"sessionConfig",theme:"theme",openviduServerUrl:"openviduServerUrl",openviduSecret:"openviduSecret"},outputs:{sessionCreated:"sessionCreated",publisherCreated:"publisherCreated",error:"error",joinSession:"joinSession",leaveSession:"leaveSession"},decls:1,vars:1,consts:[[3,"externalConfig","_error","_session","_publisher","_leaveSession","_joinSession",4,"ngIf"],[3,"externalConfig","_error","_session","_publisher","_leaveSession","_joinSession"],["videoRoom",""]],template:function(e,t){1&e&&Fs(0,bT,2,1,"app-video-room",0),2&e&&Ws("ngIf",t.display)},directives:[Wl,tT],styles:["app-web-component[_ngcontent-%COMP%]{z-index:2147483647}"]}),e}(),wT=function(){function e(e){this.injector=e;var t=new hT(_T,this.injector),n=lT(_T,{injector:this.injector,strategyFactory:t});customElements.define("openvidu-webcomponent",n)}return e.prototype.ngDoBootstrap=function(){},e.\u0275mod=Mt({type:e}),e.\u0275inj=Ce({factory:function(t){return new(t||e)(st(xs))},providers:[Pk,iE,Ck,oE,kk,tE,aE,sE,xk],imports:[[ah,ch,Nd,jg,zv,Fv,nS,Z_,nw,Qb,hb,CS,jv,Zb,Mw,Tv,lw,Kw,Yw,RS,rT,R_,gT,lk.forRoot()]]}),e}();(function(){if(Nr)throw new Error("Cannot enable prod mode after platform setup.");Dr=!1})(),jd().bootstrapModule(wT).catch((function(e){return console.log(e)}))}},[[0,0]]]); |