1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-27 09:18:09 +00:00
gns3-server/gns3server/static/web-ui/main.428d1e754dac7a9d2496.js
2019-08-29 09:39:26 -07:00

1 line
3.7 MiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/L5":function(n,e,t){var l=t("t1UP").isCustomProperty,o=t("vd7W").TYPE,r=t("vd7W").CHARCODE,i=t("4njK").mode,a=o.Ident,u=o.Hash,s=o.Colon,d=o.Semicolon,c=o.Delim,p=r.ExclamationMark,f=r.Solidus,h=r.Asterisk,m=r.Ampersand,v=r.DollarSign,g=r.PlusSign,b=r.NumberSign;function _(n){return this.Raw(n,i.exclamationMarkOrSemicolon,!0)}function y(n){return this.Raw(n,i.exclamationMarkOrSemicolon,!1)}function w(){var n=this.scanner.tokenIndex,e=this.Value();return"Raw"!==e.type&&!1===this.scanner.eof&&this.scanner.tokenType!==d&&!1===this.scanner.isDelim(p)&&!1===this.scanner.isBalanceEdge(n)&&this.error(),e}n.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var n,e=this.scanner.tokenStart,t=this.scanner.tokenIndex,o=(function(){var n=this.scanner.tokenStart;if(this.scanner.tokenType===c)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case h:case v:case g:case b:case m:this.scanner.next();break;case f:this.scanner.next(),this.scanner.isDelim(f)&&this.scanner.next()}return this.eat(this.scanner.tokenType===u?u:a),this.scanner.substrToCursor(n)}).call(this),r=l(o),i=r?this.parseCustomProperty:this.parseValue,C=r?y:_,x=!1;return this.scanner.skipSC(),this.eat(s),r||this.scanner.skipSC(),n=i?this.parseWithFallback(w,C):C.call(this,this.scanner.tokenIndex),this.scanner.isDelim(p)&&(x=(function(){this.eat(c),this.scanner.skipSC();var n=this.consume(a);return"important"===n||n}).call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==d&&!1===this.scanner.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.scanner.tokenStart),important:x,property:o,value:n}},generate:function(n){this.chunk(n.property),this.chunk(":"),this.node(n.value),n.important&&this.chunk(!0===n.important?"!important":"!"+n.important)},walkContext:"declaration"}},"+Kd2":function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,r=l.Comma;n.exports=function(){var n=this.createList();return this.scanner.skipSC(),n.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===r&&(n.push(this.Operator()),n.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,o.exclamationMarkOrSemicolon,!1))),n}},"+gEr":function(n,e,t){"use strict";t.d(e,"a",function(){return i}),t.d(e,"b",function(){return a});var l=t("mrSG"),o=t("MGBS"),r=t("zotm"),i={leading:!0,trailing:!1};function a(n,e){return void 0===e&&(e=i),function(t){return t.lift(new u(n,e.leading,e.trailing))}}var u=function(){function n(n,e,t){this.durationSelector=n,this.leading=e,this.trailing=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.durationSelector,this.leading,this.trailing))},n}(),s=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r.destination=e,r.durationSelector=t,r._leading=l,r._trailing=o,r._hasValue=!1,r}return l.__extends(e,n),e.prototype._next=function(n){this._hasValue=!0,this._sendValue=n,this._throttled||(this._leading?this.send():this.throttle(n))},e.prototype.send=function(){var n=this._sendValue;this._hasValue&&(this.destination.next(n),this.throttle(n)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(n){var e=this.tryDurationSelector(n);e&&this.add(this._throttled=Object(r.a)(this,e))},e.prototype.tryDurationSelector=function(n){try{return this.durationSelector(n)}catch(e){return this.destination.error(e),null}},e.prototype.throttlingDone=function(){var n=this._throttled,e=this._trailing;n&&n.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(n,e,t,l,o){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(o.a)},"+ryv":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG");e.HotkeyOptions=new l.InjectionToken("HotkeyOptions")},"+tJ4":function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l=function(n){return function(e){for(var t=0,l=n.length;t<l&&!e.closed;t++)e.next(n[t]);e.complete()}}},"+umK":function(n,e,t){"use strict";function l(){}t.d(e,"a",function(){return l})},"/+5V":function(n,e){function t(n){function e(n){return null!==n&&("Type"===n.type||"Property"===n.type||"Keyword"===n.type)}var t=null;return null!==this.matched&&function l(o){if(Array.isArray(o.match)){for(var r=0;r<o.match.length;r++)if(l(o.match[r]))return e(o.syntax)&&t.unshift(o.syntax),!0}else if(o.node===n)return t=e(o.syntax)?[o.syntax]:[],!0;return!1}(this.matched),t}function l(n,e,l){var o=t.call(n,e);return null!==o&&o.some(l)}n.exports={getTrace:t,isType:function(n,e){return l(this,n,function(n){return"Type"===n.type&&n.name===e})},isProperty:function(n,e){return l(this,n,function(n){return"Property"===n.type&&n.name===e})},isKeyword:function(n){return l(this,n,function(n){return"Keyword"===n.type})}}},"/21U":function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("isby");function o(n){return!Object(l.a)(n)&&n-parseFloat(n)+1>=0}},"/BcF":function(n,e){n.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var n=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(n)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n)}}},"/PH2":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){var t;return"function"==typeof n[n.length-1]&&(t=n.pop()),e.lift(new a(n,t))}}var a=function(){function n(n,e){this.observables=n,this.project=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.observables,this.project))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;o.observables=t,o.project=l,o.toRespond=[];var i=t.length;o.values=new Array(i);for(var a=0;a<i;a++)o.toRespond.push(a);for(a=0;a<i;a++){var u=t[a];o.add(Object(r.a)(o,u,u,a))}return o}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.values[t]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(t);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(n){if(0===this.toRespond.length){var e=[n].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(n){var e;try{e=this.project.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.a)},"/WYv":function(n,e,t){"use strict";function l(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}t.d(e,"a",function(){return l})},"/ojb":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("T1DM");function i(n,e){return void 0===e&&(e=r.a),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.period=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.period,this.scheduler))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.period=t,o.scheduler=l,o.hasValue=!1,o.add(l.schedule(s,t,{subscriber:o,period:t})),o}return l.__extends(e,n),e.prototype._next=function(n){this.lastValue=n,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(o.a);function s(n){var e=n.period;n.subscriber.notifyNext(),this.schedule(n,e)}},"/slF":function(n,e,t){var l=t("vd7W").isDigit,o=t("vd7W").cmpChar,r=t("vd7W").TYPE,i=t("vd7W").CHARCODE,a=r.Delim,u=r.WhiteSpace,s=r.Comment,d=r.Ident,c=r.Number,p=r.Dimension,f=i.PlusSign,h=i.HyphenMinus;function m(n,e){return null!==n&&n.type===a&&n.value.charCodeAt(0)===e}function v(n,e,t){for(;null!==n&&(n.type===u||n.type===s);)n=t(++e);return e}function g(n,e,t,o){if(!n)return 0;var r=n.value.charCodeAt(e);if(r===f||r===h){if(t)return 0;e++}for(;e<n.value.length;e++)if(!l(n.value.charCodeAt(e)))return 0;return o+1}function b(n,e,t){var l=!1,o=v(n,e,t);if(null===(n=t(o)))return e;if(n.type!==c){if(!m(n,f)&&!m(n,h))return e;if(l=!0,o=v(t(++o),o,t),null===(n=t(o))&&n.type!==c)return 0}if(!l){var r=n.value.charCodeAt(0);if(r!==f&&r!==h)return 0}return g(n,l?0:1,l,o)}n.exports=function(n,e){var t=0;if(!n)return 0;if(n.type===c)return g(n,0,!1,t);if(n.type===d&&n.value.charCodeAt(0)===h){if(!o(n.value,1,110))return 0;switch(n.value.length){case 2:return b(e(++t),t,e);case 3:return n.value.charCodeAt(2)!==h?0:(t=v(e(++t),t,e),g(n=e(t),0,!0,t));default:return n.value.charCodeAt(2)!==h?0:g(n,3,!0,t)}}else if(n.type===d||m(n,f)&&e(t+1).type===d){if(n.type!==d&&(n=e(++t)),null===n||!o(n.value,0,110))return 0;switch(n.value.length){case 1:return b(e(++t),t,e);case 2:return n.value.charCodeAt(1)!==h?0:(t=v(e(++t),t,e),g(n=e(t),0,!0,t));default:return n.value.charCodeAt(1)!==h?0:g(n,2,!0,t)}}else if(n.type===p){for(var r=n.value.charCodeAt(0),i=r===f||r===h?1:0,a=i;a<n.value.length&&l(n.value.charCodeAt(a));a++);return a===i?0:o(n.value,a,110)?a+1===n.value.length?b(e(++t),t,e):n.value.charCodeAt(a+1)!==h?0:a+2===n.value.length?(t=v(e(++t),t,e),g(n=e(t),0,!0,t)):g(n,a+2,!0,t):0}return 0}},0:function(n,e,t){n.exports=t("zUnb")},"0/uQ":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("Fxb1"),r=t("i4X3");function i(n,e){return e?Object(r.a)(n,e):n instanceof l.a?n:new l.a(Object(o.a)(n))}},"06ho":function(n,e){n.exports={name:"Value",structure:{children:[[]]},parse:function(){var n=this.scanner.tokenStart,e=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(n,this.scanner.tokenStart),children:e}},generate:function(n){this.children(n)}}},"0GsU":function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("MGBS"),r=t("rPjj"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;l.hasValue=!1;var o=new r.a(l,void 0,void 0);return l.add(o),l.innerSubscription=o,Object(i.a)(l,t,void 0,void 0,o),l}return l.__extends(e,n),e.prototype._next=function(e){this.hasValue&&n.prototype._next.call(this,e)},e.prototype.notifyNext=function(n,e,t,l,o){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(o.a)},"0mNj":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=function(){function n(n){this.total=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.total))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.count=0,l}return l.__extends(e,n),e.prototype._next=function(n){++this.count>this.total&&this.destination.next(n)},e}(o.a)},"0zd0":function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("T1DM"),o=t("3U0i"),r=t("ceCD"),i=t("XlPw");function a(n,e){return void 0===e&&(e=l.a),Object(r.a)(n,Object(i.a)(new o.a),e)}},"14Nl":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){if(this._skipCount=n,this._skipCount<0)throw new r.a}return n.prototype.call=function(n,e){return e.subscribe(0===this._skipCount?new o.a(n):new u(n,this._skipCount))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l._skipCount=t,l._count=0,l._ring=new Array(t),l}return l.__extends(e,n),e.prototype._next=function(n){var e=this._skipCount,t=this._count++;if(t<e)this._ring[t]=n;else{var l=t%e,o=this._ring,r=o[l];o[l]=n,this.destination.next(r)}},e}(o.a)},"15JJ":function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("MGBS"),r=t("rPjj"),i=t("zotm"),a=t("67Y/"),u=t("0/uQ");function s(n,e){return"function"==typeof e?function(t){return t.pipe(s(function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)(function(n,o){return e(t,n,l,o)}))}))}:function(e){return e.lift(new d(n))}}var d=function(){function n(n){this.project=n}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project))},n}(),c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.project=t,l.index=0,l}return l.__extends(e,n),e.prototype._next=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=this.innerSubscription;l&&l.unsubscribe();var o=new r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(i.a)(this,n,e,t,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||n.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e}(o.a)},"1aLD":function(n,e,t){var l=t("XDwu"),o=100,r=60,i=" ";function a(n,e){function t(n,e){return l.slice(n,e).map(function(e,t){for(var l=String(n+t+1);l.length<c;)l=" "+l;return l+" |"+e}).join("\n")}var l=n.source.split(/\r\n?|\n|\f/),a=n.line,u=n.column,s=Math.max(1,a-e)-1,d=Math.min(a+e,l.length+1),c=Math.max(4,String(d).length)+1,p=0;(u+=(i.length-1)*(l[a-1].substr(0,u-1).match(/\t/g)||[]).length)>o&&(p=u-r+3,u=r-2);for(var f=s;f<=d;f++)f>=0&&f<l.length&&(l[f]=l[f].replace(/\t/g,i),l[f]=(p>0&&l[f].length>p?"\u2026":"")+l[f].substr(p,o-2)+(l[f].length>p+o-1?"\u2026":""));return[t(s,a),new Array(u+c+2).join("-")+"^",t(a,d)].filter(Boolean).join("\n")}n.exports=function(n,e,t,o,r){var i=l("SyntaxError",n);return i.source=e,i.offset=t,i.line=o,i.column=r,i.sourceFragment=function(n){return a(i,isNaN(n)?0:n)},Object.defineProperty(i,"formattedMessage",{get:function(){return"Parse error: "+i.message+"\n"+a(i,2)}}),i.parseError={offset:t,line:o,column:r},i}},"1fDf":function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("FFOo");function o(n){for(;n;){var e=n.destination;if(n.closed||n.isStopped)return!1;n=e&&e instanceof l.a?e:null}return!0}},"21UA":function(n,e,t){n.exports={SyntaxParseError:t("2yWD").SyntaxParseError,parse:t("cWdd"),generate:t("2KT4"),walk:t("5HYW")}},"26FU":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("K9Ia"),r=t("8g8A"),i=function(n){function e(e){var t=n.call(this)||this;return t._value=e,t}return l.__extends(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var t=n.prototype._subscribe.call(this,e);return t&&!t.closed&&e.next(this._value),t},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value},e.prototype.next=function(e){n.prototype.next.call(this,this._value=e)},e}(o.b)},"2Bdj":function(n,e,t){"use strict";function l(n){return"function"==typeof n}t.d(e,"a",function(){return l})},"2Gxe":function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.Ident,i=l.String,a=l.Colon,u=l.LeftSquareBracket,s=l.RightSquareBracket,d=o.DollarSign,c=o.Asterisk,p=o.EqualsSign,f=o.CircumflexAccent,h=o.VerticalLine,m=o.Tilde;n.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var n,e=this.scanner.tokenStart,t=null,l=null,o=null;return this.eat(u),this.scanner.skipSC(),n=(function(){this.scanner.eof&&this.error("Unexpected end of input");var n=this.scanner.tokenStart,e=!1,t=!0;return this.scanner.isDelim(c)?(e=!0,t=!1,this.scanner.next()):this.scanner.isDelim(h)||this.eat(r),this.scanner.isDelim(h)?this.scanner.source.charCodeAt(this.scanner.tokenStart+1)!==p?(this.scanner.next(),this.eat(r)):e&&this.error("Identifier is expected",this.scanner.tokenEnd):e&&this.error("Vertical line is expected"),t&&this.scanner.tokenType===a&&(this.scanner.next(),this.eat(r)),{type:"Identifier",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}}).call(this),this.scanner.skipSC(),this.scanner.tokenType!==s&&(this.scanner.tokenType!==r&&(t=(function(){var n=this.scanner.tokenStart,e=this.scanner.source.charCodeAt(n);return e!==p&&e!==m&&e!==f&&e!==d&&e!==c&&e!==h&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),e!==p&&(this.scanner.isDelim(p)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(n)}).call(this),this.scanner.skipSC(),l=this.scanner.tokenType===i?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===r&&(o=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(s),{type:"AttributeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:n,matcher:t,value:l,flags:o}},generate:function(n){var e=" ";this.chunk("["),this.node(n.name),null!==n.matcher&&(this.chunk(n.matcher),null!==n.value&&(this.node(n.value),"String"===n.value.type&&(e=""))),null!==n.flags&&(this.chunk(e),this.chunk(n.flags)),this.chunk("]")}}},"2KT4":function(n,e){function t(n){return n}n.exports=function(n,e){var l=t,o=!1;return"function"==typeof e?l=e:e&&(o=Boolean(e.forceBraces),"function"==typeof e.decorate&&(l=e.decorate)),function n(e,t,l){var o,r;switch(e.type){case"Group":o=function(e,t,l){var o=e.terms.map(function(e){return n(e,t,l)}).join(" "===e.combinator?" ":" "+e.combinator+" ");return(e.explicit||t)&&(o=(","!==o[0]?"[ ":"[")+o+" ]"),o}(e,t,l)+(e.disallowEmpty?"!":"");break;case"Multiplier":return n(e.term,t,l)+l(0===(r=e).min&&0===r.max?"*":0===r.min&&1===r.max?"?":1===r.min&&0===r.max?r.comma?"#":"+":1===r.min&&1===r.max?"":(r.comma?"#":"")+(r.min===r.max?"{"+r.min+"}":"{"+r.min+","+(0!==r.max?r.max:"")+"}"),e);case"Type":o="<"+e.name+(e.opts?l(function(n){switch(n.type){case"Range":return" ["+(null===n.min?"-\u221e":n.min)+","+(null===n.max?"\u221e":n.max)+"]";default:throw new Error("Unknown node type `"+n.type+"`")}}(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return l(o,e)}(n,o,l)}},"2TAq":function(n,e,t){var l=t("vd7W").isHexDigit,o=t("vd7W").cmpChar,r=t("vd7W").TYPE,i=t("vd7W").CHARCODE,a=r.Ident,u=r.Delim,s=r.Number,d=r.Dimension,c=i.PlusSign,p=i.HyphenMinus,f=i.QuestionMark;function h(n,e){return null!==n&&n.type===u&&n.value.charCodeAt(0)===e}function m(n,e){return n.value.charCodeAt(0)===e}function v(n,e,t){for(var o=e,r=0;o<n.value.length;o++){var i=n.value.charCodeAt(o);if(i===p&&t&&0!==r)return v(n,e+r+1,!1)>0?6:0;if(!l(i))return 0;if(++r>6)return 0}return r}function g(n,e,t){if(!n)return 0;for(;h(t(e),f);){if(++n>6)return 0;e++}return e}n.exports=function(n,e){var t=0;if(null===n||n.type!==a||!o(n.value,0,117))return 0;if(null===(n=e(++t)))return 0;if(h(n,c))return null===(n=e(++t))?0:n.type===a?g(v(n,0,!0),++t,e):h(n,f)?g(1,++t,e):0;if(n.type===s){if(!m(n,c))return 0;var l=v(n,1,!0);return 0===l?0:null===(n=e(++t))?t:n.type===d||n.type===s?m(n,p)&&v(n,1,!1)?t+1:0:g(l,t,e)}return n.type===d&&m(n,c)?g(v(n,1,!0),++t,e):0}},"2WpN":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("pugT");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.callback=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.callback))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.add(new r.a(t)),l}return l.__extends(e,n),e}(o.a)},"2ePl":function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},"2pxp":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},"2yAJ":function(n,e){function t(n,e){var t=(65535&n)+(65535&e);return(n>>16)+(e>>16)+(t>>16)<<16|65535&t}function l(n,e,l,o,r,i){return t((a=t(t(e,n),t(o,i)))<<(u=r)|a>>>32-u,l);var a,u}function o(n,e,t,o,r,i,a){return l(e&t|~e&o,n,e,r,i,a)}function r(n,e,t,o,r,i,a){return l(e&o|t&~o,n,e,r,i,a)}function i(n,e,t,o,r,i,a){return l(e^t^o,n,e,r,i,a)}function a(n,e,t,o,r,i,a){return l(t^(e|~o),n,e,r,i,a)}function u(n,e){var l,u,s,d,c;n[e>>5]|=128<<e%32,n[14+(e+64>>>9<<4)]=e;var p=1732584193,f=-271733879,h=-1732584194,m=271733878;for(l=0;l<n.length;l+=16)u=p,s=f,d=h,c=m,p=o(p,f,h,m,n[l],7,-680876936),m=o(m,p,f,h,n[l+1],12,-389564586),h=o(h,m,p,f,n[l+2],17,606105819),f=o(f,h,m,p,n[l+3],22,-1044525330),p=o(p,f,h,m,n[l+4],7,-176418897),m=o(m,p,f,h,n[l+5],12,1200080426),h=o(h,m,p,f,n[l+6],17,-1473231341),f=o(f,h,m,p,n[l+7],22,-45705983),p=o(p,f,h,m,n[l+8],7,1770035416),m=o(m,p,f,h,n[l+9],12,-1958414417),h=o(h,m,p,f,n[l+10],17,-42063),f=o(f,h,m,p,n[l+11],22,-1990404162),p=o(p,f,h,m,n[l+12],7,1804603682),m=o(m,p,f,h,n[l+13],12,-40341101),h=o(h,m,p,f,n[l+14],17,-1502002290),p=r(p,f=o(f,h,m,p,n[l+15],22,1236535329),h,m,n[l+1],5,-165796510),m=r(m,p,f,h,n[l+6],9,-1069501632),h=r(h,m,p,f,n[l+11],14,643717713),f=r(f,h,m,p,n[l],20,-373897302),p=r(p,f,h,m,n[l+5],5,-701558691),m=r(m,p,f,h,n[l+10],9,38016083),h=r(h,m,p,f,n[l+15],14,-660478335),f=r(f,h,m,p,n[l+4],20,-405537848),p=r(p,f,h,m,n[l+9],5,568446438),m=r(m,p,f,h,n[l+14],9,-1019803690),h=r(h,m,p,f,n[l+3],14,-187363961),f=r(f,h,m,p,n[l+8],20,1163531501),p=r(p,f,h,m,n[l+13],5,-1444681467),m=r(m,p,f,h,n[l+2],9,-51403784),h=r(h,m,p,f,n[l+7],14,1735328473),p=i(p,f=r(f,h,m,p,n[l+12],20,-1926607734),h,m,n[l+5],4,-378558),m=i(m,p,f,h,n[l+8],11,-2022574463),h=i(h,m,p,f,n[l+11],16,1839030562),f=i(f,h,m,p,n[l+14],23,-35309556),p=i(p,f,h,m,n[l+1],4,-1530992060),m=i(m,p,f,h,n[l+4],11,1272893353),h=i(h,m,p,f,n[l+7],16,-155497632),f=i(f,h,m,p,n[l+10],23,-1094730640),p=i(p,f,h,m,n[l+13],4,681279174),m=i(m,p,f,h,n[l],11,-358537222),h=i(h,m,p,f,n[l+3],16,-722521979),f=i(f,h,m,p,n[l+6],23,76029189),p=i(p,f,h,m,n[l+9],4,-640364487),m=i(m,p,f,h,n[l+12],11,-421815835),h=i(h,m,p,f,n[l+15],16,530742520),p=a(p,f=i(f,h,m,p,n[l+2],23,-995338651),h,m,n[l],6,-198630844),m=a(m,p,f,h,n[l+7],10,1126891415),h=a(h,m,p,f,n[l+14],15,-1416354905),f=a(f,h,m,p,n[l+5],21,-57434055),p=a(p,f,h,m,n[l+12],6,1700485571),m=a(m,p,f,h,n[l+3],10,-1894986606),h=a(h,m,p,f,n[l+10],15,-1051523),f=a(f,h,m,p,n[l+1],21,-2054922799),p=a(p,f,h,m,n[l+8],6,1873313359),m=a(m,p,f,h,n[l+15],10,-30611744),h=a(h,m,p,f,n[l+6],15,-1560198380),f=a(f,h,m,p,n[l+13],21,1309151649),p=a(p,f,h,m,n[l+4],6,-145523070),m=a(m,p,f,h,n[l+11],10,-1120210379),h=a(h,m,p,f,n[l+2],15,718787259),f=a(f,h,m,p,n[l+9],21,-343485551),p=t(p,u),f=t(f,s),h=t(h,d),m=t(m,c);return[p,f,h,m]}function s(n){var e,t="",l=32*n.length;for(e=0;e<l;e+=8)t+=String.fromCharCode(n[e>>5]>>>e%32&255);return t}function d(n){var e,t=[];for(t[(n.length>>2)-1]=void 0,e=0;e<t.length;e+=1)t[e]=0;var l=8*n.length;for(e=0;e<l;e+=8)t[e>>5]|=(255&n.charCodeAt(e/8))<<e%32;return t}function c(n){var e,t,l="";for(t=0;t<n.length;t+=1)e=n.charCodeAt(t),l+="0123456789abcdef".charAt(e>>>4&15)+"0123456789abcdef".charAt(15&e);return l}function p(n){return unescape(encodeURIComponent(n))}function f(n){return function(n){return s(u(d(n),8*n.length))}(p(n))}function h(n,e){return function(n,e){var t,l,o=d(n),r=[],i=[];for(r[15]=i[15]=void 0,o.length>16&&(o=u(o,8*n.length)),t=0;t<16;t+=1)r[t]=909522486^o[t],i[t]=1549556828^o[t];return l=u(r.concat(d(e)),512+8*e.length),s(u(i.concat(l),640))}(p(n),p(e))}n.exports=function(n,e,t){return e?t?h(e,n):c(h(e,n)):t?f(n):c(f(n))}},"2yWD":function(n,e,t){var l=t("XDwu");n.exports={SyntaxParseError:function(n,e,t){var o=l("SyntaxParseError",n);return o.input=e,o.offset=t,o.rawMessage=n,o.message=o.rawMessage+"\n "+o.input+"\n--"+new Array((o.offset||o.input.length)+1).join("-")+"^",o}}},"31qQ":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(){return function(n){return n.lift(new a)}}var a=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new u(n))},n}(),u=function(n){function e(e){var t=n.call(this,e)||this;return t.hasCompleted=!1,t.hasSubscription=!1,t}return l.__extends(e,n),e.prototype._next=function(n){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(r.a)(this,n)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(n){this.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.a)},"33Dm":function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=l.Comment,i=l.Ident,a=l.LeftParenthesis;n.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var n=this.createList(),e=null,t=null;n:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case r:this.scanner.next();continue;case o:t=this.WhiteSpace();continue;case i:e=this.Identifier();break;case a:e=this.MediaFeature();break;default:break n}null!==t&&(n.push(t),t=null),n.push(e)}return null===e&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n)}}},"3J/R":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("26FU"),o=t("xlPZ");function r(n){return function(e){return Object(o.a)(new l.a(n))(e)}}},"3U0i":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"3XNy":function(n,e){var t=10,l=12,o=13,r=0;function i(n){return n>=48&&n<=57}function a(n){return n>=65&&n<=90}function u(n){return n>=97&&n<=122}function s(n){return a(n)||u(n)}function d(n){return n>=128}function c(n){return s(n)||d(n)||95===n}function p(n){return n===o||n===t||n===l}function f(n,e){return 92===n&&!p(e)&&e!==r}n.exports={isDigit:i,isHexDigit:function(n){return i(n)||n>=65&&n<=70||n>=97&&n<=102},isUppercaseLetter:a,isLowercaseLetter:u,isLetter:s,isNonAscii:d,isNameStart:c,isName:function(n){return c(n)||i(n)||45===n},isNonPrintable:function(n){return n>=0&&n<=8||11===n||n>=14&&n<=31||127===n},isNewline:p,isWhiteSpace:function(n){return p(n)||32===n||9===n},isValidEscape:f,isIdentifierStart:function(n,e,t){return 45===n?c(e)||45===e||f(e,t):!!c(n)||92===n&&f(n,e)},isNumberStart:function(n,e,t){return 43===n||45===n?i(e)?2:46===e&&i(t)?3:0:46===n?i(e)?2:0:i(n)?1:0}}},"3fWJ":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"3lFr":function(n,e,t){e.SourceMapGenerator=t("TTsC").SourceMapGenerator,e.SourceMapConsumer=t("NSjB").SourceMapConsumer,e.SourceNode=t("5EiF").SourceNode},"41IB":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){return n.call(this,e)||this}return l.__extends(e,n),e.prototype._next=function(n){n.observe(this.destination)},e}(o.a)},"4HHr":function(n,e){var t=Object.prototype.hasOwnProperty,l=function(){};function o(n){return"function"==typeof n?n:l}function r(n,e){return function(t,l,o){t.type===e&&n.call(this,t,l,o)}}function i(n,e){var l=e.structure,o=[];for(var r in l)if(!1!==t.call(l,r)){var i=l[r],a={name:r,type:!1,nullable:!1};Array.isArray(l[r])||(i=[l[r]]);for(var u=0;u<i.length;u++){var s=i[u];null===s?a.nullable=!0:"string"==typeof s?a.type="node":Array.isArray(s)&&(a.type="list")}a.type&&o.push(a)}return o.length?{context:e.walkContext,fields:o}:null}function a(n,e){var t=(e?n.fields.slice().reverse():n.fields).map(function(n){var t,l="node."+n.name;return t="list"===n.type?e?l+".forEachRight(walk);":l+".forEach(walk);":"walk("+l+");",n.nullable&&(t="if ("+l+") {\n "+t+"}"),t});return n.context&&(t=[].concat("var old = context."+n.context+";","context."+n.context+" = node;",t,"context."+n.context+" = old;")),new Function("node","context","walk",t.join("\n"))}function u(n){return{Atrule:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block},Rule:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block},Declaration:{StyleSheet:n.StyleSheet,Atrule:n.Atrule,Rule:n.Rule,Block:n.Block}}}n.exports=function(n){var e=function(n){var e={};for(var l in n.node)if(t.call(n.node,l)){var o=n.node[l];if(!o.structure)throw new Error("Missed `structure` field in `"+l+"` node type definition");e[l]=i(0,o)}return e}(n),s={},d={};for(var c in e)t.call(e,c)&&null!==e[c]&&(s[c]=a(e[c],!1),d[c]=a(e[c],!0));var p=u(s),f=u(d);return function(n,t){var i=l,a=l,u=s,c={root:n,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof t)i=t;else if(t&&(i=o(t.enter),a=o(t.leave),t.reverse&&(u=d),t.visit)){if(p.hasOwnProperty(t.visit))u=t.reverse?f[t.visit]:p[t.visit];else if(!e.hasOwnProperty(t.visit))throw new Error("Bad value `"+t.visit+"` for `visit` option (should be: "+Object.keys(e).join(", ")+")");i=r(i,t.visit),a=r(a,t.visit)}if(i===l&&a===l)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(t.reverse){var h=i;i=a,a=h}!function n(e,t,l){i.call(c,e,t,l),u.hasOwnProperty(e.type)&&u[e.type](e,c,n),a.call(c,e,t,l)}(n)}}},"4af/":function(n,e,t){var l=t("vYjF"),o={collectWindowErrors:!0,debug:!1},r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=[].slice,a="?",u=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function s(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var n,e,t=[],d=null,c=null,p=null;function f(n,e){var l=null;if(!e||o.collectWindowErrors){for(var r in t)if(t.hasOwnProperty(r))try{t[r].apply(null,[n].concat(i.call(arguments,2)))}catch(a){l=a}if(l)throw l}}function h(e,t,r,i,d){var c=l.isErrorEvent(d)?d.error:d,h=l.isErrorEvent(e)?e.message:e;if(p)o.computeStackTrace.augmentStackTraceWithInitialElement(p,t,r,h),m();else if(c&&l.isError(c))f(o.computeStackTrace(c),!0);else{var v,g={url:t,line:r,column:i},b=void 0;"[object String]"==={}.toString.call(h)&&(v=h.match(u))&&(b=v[1],h=v[2]),g.func=a,f({name:b,message:h,url:s(),stack:[g]},!0)}return!!n&&n.apply(this,arguments)}function m(){var n=p,e=d;d=null,p=null,c=null,f.apply(null,[n,!1].concat(e))}function v(n,e){var t=i.call(arguments,1);if(p){if(c===n)return;m()}var l=o.computeStackTrace(n);if(p=l,c=n,d=t,setTimeout(function(){c===n&&m()},l.incomplete?2e3:0),!1!==e)throw n}return v.subscribe=function(l){e||(n=r.onerror,r.onerror=h,e=!0),t.push(l)},v.unsubscribe=function(n){for(var e=t.length-1;e>=0;--e)t[e]===n&&t.splice(e,1)},v.uninstall=function(){e&&(r.onerror=n,e=!1,n=void 0),t=[]},v}(),o.computeStackTrace=function(){function n(n){if(void 0!==n.stack&&n.stack){for(var e,t,l,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=n.stack.split("\n"),p=[],f=(/^(.*) is undefined$/.exec(n.message),0),h=c.length;f<h;++f){if(t=o.exec(c[f])){var m=t[2]&&0===t[2].indexOf("native");t[2]&&0===t[2].indexOf("eval")&&(e=d.exec(t[2]))&&(t[2]=e[1],t[3]=e[2],t[4]=e[3]),l={url:m?null:t[2],func:t[1]||a,args:m?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=r.exec(c[f]))l={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=i.exec(c[f])))continue;t[3]&&t[3].indexOf(" > eval")>-1&&(e=u.exec(t[3]))?(t[3]=e[1],t[4]=e[2],t[5]=null):0!==f||t[5]||void 0===n.columnNumber||(p[0].column=n.columnNumber+1),l={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}if(!l.func&&l.line&&(l.func=a),l.url&&"blob:"===l.url.substr(0,5)){var v=new XMLHttpRequest;if(v.open("GET",l.url,!1),v.send(null),200===v.status){var g=v.responseText||"",b=(g=g.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(b){var _=b[1];"~"===_.charAt(0)&&(_=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+_.slice(1)),l.url=_.slice(0,-4)}}}p.push(l)}return p.length?{name:n.name,message:n.message,url:s(),stack:p}:null}}function e(n,e,t,l){var o={url:e,line:t};if(o.url&&o.line){if(n.incomplete=!1,o.func||(o.func=a),n.stack.length>0&&n.stack[0].url===o.url){if(n.stack[0].line===o.line)return!1;if(!n.stack[0].line&&n.stack[0].func===o.func)return n.stack[0].line=o.line,!1}return n.stack.unshift(o),n.partial=!0,!0}return n.incomplete=!0,!1}function t(n,r){for(var i,u,d=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],p={},f=!1,h=t.caller;h&&!f;h=h.caller)if(h!==l&&h!==o.report){if(u={url:null,func:a,line:null,column:null},h.name?u.func=h.name:(i=d.exec(h.toString()))&&(u.func=i[1]),void 0===u.func)try{u.func=i.input.substring(0,i.input.indexOf("{"))}catch(v){}p[""+h]?f=!0:p[""+h]=!0,c.push(u)}r&&c.splice(0,r);var m={name:n.name,message:n.message,url:s(),stack:c};return e(m,n.sourceURL||n.fileName,n.line||n.lineNumber),m}function l(e,l){var r=null;l=null==l?0:+l;try{if(r=n(e))return r}catch(i){if(o.debug)throw i}try{if(r=t(e,l+1))return r}catch(i){if(o.debug)throw i}return{name:e.name,message:e.message,url:s()}}return l.augmentStackTraceWithInitialElement=e,l.computeStackTraceFromStackProp=n,l}(),n.exports=o},"4fRq":function(n,e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var l=new Uint8Array(16);n.exports=function(){return t(l),l}}else{var o=new Array(16);n.exports=function(){for(var n,e=0;e<16;e++)0==(3&e)&&(n=4294967296*Math.random()),o[e]=n>>>((3&e)<<3)&255;return o}}},"4njK":function(n,e,t){var l=t("vd7W"),o=l.TYPE,r=l.CHARCODE.ExclamationMark,i=o.WhiteSpace,a=o.Semicolon,u=o.LeftCurlyBracket,s=o.Delim;function d(){return 0}n.exports={name:"Raw",structure:{value:String},parse:function(n,e,t){var l,o=this.scanner.getTokenStart(n);return this.scanner.skip(this.scanner.getRawLength(n,e||d)),l=t&&this.scanner.tokenStart>o?(function(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===i?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}).call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(o,l),value:this.scanner.source.substring(o,l)}},generate:function(n){this.chunk(n.value)},mode:{default:d,leftCurlyBracket:function(n){return n===u?1:0},leftCurlyBracketOrSemicolon:function(n){return n===u||n===a?1:0},exclamationMarkOrSemicolon:function(n,e,t){return n===s&&e.charCodeAt(t)===r?1:n===a?1:0},semicolonIncluded:function(n){return n===a?2:0}}}},"4vYp":function(n){n.exports={generic:!0,types:{"absolute-size":"xx-small | x-small | small | medium | large | x-large | xx-large","alpha-value":"<number> | <percentage>","angle-percentage":"<angle> | <percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color> && <color-stop-angle>?","angular-color-stop-list":"[ <angular-color-stop> [, <angular-color-hint> ]? ]# , <angular-color-stop>","animateable-feature":"scroll-position | contents | <custom-ident>",attachment:"scroll | fixed | local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )","attr-matcher":"[ '~' | '|' | '^' | '$' | '*' ]? '='","attr-modifier":"i | s","attribute-selector":"'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","auto-track-list":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat> [ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?","baseline-position":"[ first | last ]? baseline","basic-shape":"<inset()> | <circle()> | <ellipse()> | <polygon()>","bg-image":"none | <image>","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","bg-position":"[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]","bg-size":"[ <length-percentage> | auto ]{1,2} | cover | contain","blur()":"blur( <length> )","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",box:"border-box | padding-box | content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [ [ '+' | '-' ] <calc-product> ]*","calc-product":"<calc-value> [ '*' <calc-value> | '/' <number> ]*","calc-value":"<number> | <dimension> | <percentage> | ( <calc-sum> )","cf-final-image":"<image> | <color>","cf-mixing-image":"<percentage>? && <image>","circle()":"circle( [ <shape-radius> ]? [ at <position> ]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>","color-stop":"<color-stop-length> | <color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[ <linear-color-stop> [, <linear-color-hint> ]? ]# , <linear-color-stop>",combinator:"'>' | '+' | '~' | [ '||' ]","common-lig-values":"[ common-ligatures | no-common-ligatures ]",compat:"searchfield | textarea | push-button | button-bevel | slider-horizontal | checkbox | radio | square-button | menulist | menulist-button | listbox | meter | progress-bar","composite-style":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor","compositing-operator":"add | subtract | intersect | exclude","compound-selector":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [ <combinator>? <compound-selector> ]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [ from <angle> ]? [ at <position> ]? , <angular-color-stop-list> )","contextual-alt-values":"[ contextual | no-contextual ]","content-distribution":"space-between | space-around | space-evenly | stretch","content-list":"[ <string> | contents | <url> | <quote> | <attr()> | counter( <ident> , <'list-style-type'>? ) ]+","content-position":"center | start | end | flex-start | flex-end","content-replacement":"<image>","contrast()":"contrast( [ <number-percentage> ] )","counter()":"counter( <custom-ident> , [ <counter-style> | none ]? )","counter-style":"<counter-style-name> | symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <custom-ident> , <string> , [ <counter-style> | none ]? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease | ease-in | ease-out | ease-in-out | cubic-bezier( <number> , <number> , <number> , <number> )","deprecated-system-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","discretionary-lig-values":"[ discretionary-ligatures | no-discretionary-ligatures ]","display-box":"contents | none","display-inside":"flow | flow-root | table | flex | grid | ruby","display-internal":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container","display-legacy":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid","display-listitem":"<display-outside>? && [ flow | flow-root ]? && list-item","display-outside":"block | inline | run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]","east-asian-width-values":"[ full-width | proportional-width ]","element()":"element( <id-selector> )","ellipse()":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )","ending-shape":"circle | ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[ <line-names>? <track-size> ]+ <line-names>?","family-name":"<string> | <custom-ident>+","feature-tag-value":"<string> [ <integer> | on | off ]?","feature-type":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero | evenodd","filter-function":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>","filter-function-list":"[ <filter-function> | <url> ]+","final-bg-layer":"<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","fit-content()":"fit-content( [ <length> | <percentage> ] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","fixed-size":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>","font-variant-css21":"[ normal | small-caps ]","font-weight-absolute":"normal | bold | <number>","frequency-percentage":"<frequency> | <percentage>","general-enclosed":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )","generic-family":"serif | sans-serif | cursive | fantasy | monospace | -apple-system","generic-name":"serif | sans-serif | cursive | fantasy | monospace","geometry-box":"<shape-box> | fill-box | stroke-box | view-box",gradient:"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]","historical-lig-values":"[ historical-ligatures | no-historical-ligatures ]","hsl()":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number> | <angle>","hue-rotate()":"hue-rotate( <angle> )",image:"<url> | <image()> | <image-set()> | <element()> | <cross-fade()> | <gradient>","image()":"image( <image-tags>? [ <image-src>? , <color>? ]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[ <image> | <string> ] <resolution>","image-src":"<url> | <string>","image-tags":"ltr | rtl","inflexible-breadth":"<length> | <percentage> | min-content | max-content | auto","inset()":"inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident> | <string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from | to | <percentage>","leader()":"leader( <leader-type> )","leader-type":"dotted | solid | space | <string>","length-percentage":"<length> | <percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[ <line-names> | <name-repeat> ]+","line-style":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset","line-width":"<length> | thin | medium | thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","mask-layer":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>","mask-position":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?","mask-reference":"none | <image> | <mask-source>","mask-source":"<url>","masking-mode":"alpha | luminance | match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [ and <media-in-parens> ]+","media-condition":"<media-not> | <media-and> | <media-or> | <media-in-parens>","media-condition-without-or":"<media-not> | <media-and> | <media-in-parens>","media-feature":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","media-in-parens":"( <media-condition> ) | <media-feature> | <general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [ or <media-in-parens> ]+","media-query":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> [ '<' | '>' ]? '='? <mf-value> | <mf-value> [ '<' | '>' ]? '='? <mf-name> | <mf-value> '<' '='? <mf-name> '<' '='? <mf-value> | <mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number> | <dimension> | <ident> | <ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [ <length> | <percentage> | <flex> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )","named-color":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen | <-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[ <ident-token> | '*' ]? '|'","number-percentage":"<number> | <percentage>","numeric-figure-values":"[ lining-nums | oldstyle-nums ]","numeric-fraction-values":"[ diagonal-fractions | stacked-fractions ]","numeric-spacing-values":"[ proportional-nums | tabular-nums ]",nth:"<an-plus-b> | even | odd","opacity()":"opacity( [ <number-percentage> ] )","overflow-position":"unsafe | safe","outline-radius":"<length> | <percentage>","page-body":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom","page-selector-list":"[ <page-selector># ]?","page-selector":"<pseudo-page>+ | <ident> <pseudo-page>*","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )",position:"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]","pseudo-class-selector":"':' <ident-token> | ':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [ left | right | first | blank ]",quote:"open-quote | close-quote | no-open-quote | no-close-quote","radial-gradient()":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger | smaller","repeat-style":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [ <angle> | <zero> ] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )","rotateX()":"rotateX( [ <angle> | <zero> ] )","rotateY()":"rotateY( [ <angle> | <zero> ] )","rotateZ()":"rotateZ( [ <angle> | <zero> ] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center | start | end | self-start | self-end | flex-start | flex-end","shape-radius":"<length-percentage> | closest-side | farthest-side","skew()":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )","skewX()":"skewX( [ <angle> | <zero> ] )","skewY()":"skewY( [ <angle> | <zero> ] )","sepia()":"sepia( <number-percentage> )",shadow:"inset? && <length>{2,4} && <color>?","shadow-t":"[ <length>{2,3} && <color>? ]",shape:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> )","shape-box":"<box> | margin-box","side-or-corner":"[ left | right ] || [ top | bottom ]","single-animation":"<time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]","single-animation-direction":"normal | reverse | alternate | alternate-reverse","single-animation-fill-mode":"none | forwards | backwards | both","single-animation-iteration-count":"infinite | <number>","single-animation-play-state":"running | paused","single-transition":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>","single-transition-property":"all | <custom-ident>",size:"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}","step-position":"jump-start | jump-end | jump-none | jump-both | start | end","step-timing-function":"step-start | step-end | steps( <integer> [, <step-position> ]? )","subclass-selector":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>","supports-condition":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*","supports-in-parens":"( <supports-condition> ) | <supports-feature> | <general-enclosed>","supports-feature":"<supports-decl> | <supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string> | <image> | <custom-ident>",target:"<target-counter()> | <target-counters()> | <target-text()>","target-counter()":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )","time-percentage":"<time> | <percentage>","timing-function":"linear | <cubic-bezier-timing-function> | <step-timing-function>","track-breadth":"<length-percentage> | <flex> | min-content | max-content | auto","track-list":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?","track-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )","transform-function":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %","type-selector":"<wq-name> | <ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto | <length-percentage>","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[ <angle> | <side-or-corner> ]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover","-legacy-radial-gradient-shape":"circle | ellipse","-non-standard-font":"-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text","-non-standard-image-rendering":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable","-non-standard-width":"min-intrinsic | intrinsic | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point> | , <-webkit-gradient-radius> , <-webkit-gradient-point> ] [, <-webkit-gradient-radius> ]? [, <-webkit-gradient-color-stop> ]* )","-webkit-gradient-color-stop":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )","-webkit-gradient-point":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]","-webkit-gradient-radius":"<length> | <percentage>","-webkit-gradient-type":"linear | radial","-webkit-mask-box-repeat":"repeat | stretch | round","-webkit-mask-clip-style":"border | border-box | padding | padding-box | content | content-box | text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid> | <-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [ <ident-token> '.' ]* [ <ident-token> | <function-token> <any-value>? ')' ]","-ms-filter-function-legacy":"<ident-token> | <function-token> <any-value>? ')'","-ms-filter":"<string>",age:"child | young | old","attr-name":"<wq-name>","attr-fallback":"<any-value>","border-radius":"<length-percentage>{1,2}",bottom:"<length> | auto","generic-voice":"[ <age>? <gender> <integer>? ]",gender:"male | female | neutral",left:"<length> | auto","mask-image":"<mask-reference>#","name-repeat":"repeat( [ <positive-integer> | auto-fill ] , <line-names>+ )",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke","path()":"path( <string> )",ratio:"<integer> / <integer>",right:"<length> | auto","svg-length":"<percentage> | <length> | <number>","svg-writing-mode":"lr-tb | rl-tb | tb-rl | lr | rl | tb",top:"<length> | auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? [ '!' important ]?","declaration-list":"[ <declaration>? ';' ]* <declaration>?",url:"url( <string> <url-modifier>* ) | <url-token>","url-modifier":"<ident> | <function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221e]>","positive-integer":"<integer [0,\u221e]>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false | true","-ms-block-progression":"tb | rl | bt | lr","-ms-content-zoom-chaining":"none | chained","-ms-content-zooming":"none | zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> ) | snapList( <percentage># )","-ms-content-zoom-snap-type":"none | proximity | mandatory","-ms-filter":"<string>","-ms-flow-from":"[ none | <custom-ident> ]#","-ms-flow-into":"[ none | <custom-ident> ]#","-ms-high-contrast-adjust":"auto | none","-ms-hyphenate-limit-chars":"auto | <integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit | <integer>","-ms-hyphenate-limit-zone":"<percentage> | <length>","-ms-ime-align":"auto | after","-ms-overflow-style":"auto | none | scrollbar | -ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained | none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto | <length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto | <length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none | railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> ) | snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> ) | snapList( <length-percentage># )","-ms-scroll-snap-type":"none | proximity | mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none | vertical-to-horizontal","-ms-text-autospace":"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space","-ms-touch-select":"grippers | none","-ms-user-select":"none | element | text","-ms-wrap-flow":"auto | both | start | end | maximum | clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap | none","-moz-appearance":"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized","-moz-binding":"<url> | none","-moz-border-bottom-colors":"<color>+ | none","-moz-border-left-colors":"<color>+ | none","-moz-border-right-colors":"<color>+ | none","-moz-border-top-colors":"<color>+ | none","-moz-context-properties":"none | [ fill | fill-opacity | stroke | stroke-opacity ]#","-moz-float-edge":"border-box | content-box | margin-box | padding-box","-moz-force-broken-image-icon":"<integer>","-moz-image-region":"<shape> | auto","-moz-orient":"inline | block | horizontal | vertical","-moz-outline-radius":"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore | stretch-to-fit","-moz-text-blink":"none | blink","-moz-user-focus":"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none","-moz-user-input":"auto | none | enabled | disabled","-moz-user-modify":"read-only | read-write | write-only","-moz-window-dragging":"drag | no-drag","-moz-window-shadow":"default | menu | tooltip | sheet | none","-webkit-appearance":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield","-webkit-border-before":"<'border-width'> || <'border-style'> || <'color'>","-webkit-border-before-color":"<'color'>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[ above | below | right | left ]? <length>? <image>?","-webkit-line-clamp":"none | <integer>","-webkit-mask":"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[ <box> | border | padding | content | text ]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[ <box> | border | padding | content ]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[ <length-percentage> | left | center | right ]#","-webkit-mask-position-y":"[ <length-percentage> | top | center | bottom ]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat | no-repeat | space | round","-webkit-mask-repeat-y":"repeat | no-repeat | space | round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto | touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length> || <color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default | none","-webkit-user-modify":"read-only | read-write | read-write-plaintext-only","align-content":"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>","align-items":"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]","align-self":"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",all:"initial | inherit | unset | revert",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[ none | <keyframes-name> ]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<timing-function>#",appearance:"none | auto | button | textfield | <compat>",azimuth:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards","backdrop-filter":"none | <filter-function-list>","backface-visibility":"visible | hidden",background:"[ <bg-layer> , ]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<box>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[ center | [ left | right | x-start | x-end ]? <length-percentage>? ]#","background-position-y":"[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip | ellipsis | <string>","block-size":"<'width'>",border:"<line-width> || <line-style> || <color>","border-block":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width> || <line-style> || <color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse | separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>","border-image-outset":"[ <length> | <number> ]{1,4}","border-image-repeat":"[ stretch | repeat | round | space ]{1,2}","border-image-slice":"<number-percentage>{1,4} && fill?","border-image-source":"none | <image>","border-image-width":"[ <length-percentage> | <number> | auto ]{1,4}","border-inline":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-end":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width> || <line-style> || <color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","border-right":"<line-width> || <line-style> || <color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width> || <line-style> || <color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length> | <percentage> | auto","box-align":"start | center | end | baseline | stretch","box-decoration-break":"slice | clone","box-direction":"normal | reverse | inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single | multiple","box-ordinal-group":"<integer>","box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","box-pack":"start | center | end | justify","box-shadow":"none | <shadow>#","box-sizing":"content-box | border-box","break-after":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-before":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-inside":"auto | avoid | avoid-page | avoid-column | avoid-region","caption-side":"top | bottom | block-start | block-end | inline-start | inline-end","caret-color":"auto | <color>",clear:"none | left | right | both | inline-start | inline-end",clip:"<shape> | auto","clip-path":"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",color:"<color>","color-adjust":"economy | exact","column-count":"<integer> | auto","column-fill":"auto | balance | balance-all","column-gap":"normal | <length-percentage>","column-rule":"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none | all","column-width":"<length> | auto",columns:"<'column-width'> || <'column-count'>",contain:"none | strict | content | [ size || layout || style || paint ]",content:"normal | none | [ <content-replacement> | <content-list> ] [ / <string> ]?","counter-increment":"[ <custom-ident> <integer>? ]+ | none","counter-reset":"[ <custom-ident> <integer>? ]+ | none","counter-set":"[ <custom-ident> <integer>? ]+ | none",cursor:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]",direction:"ltr | rtl",display:"none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | contents | -ms-flexbox | -ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box","empty-cells":"show | hide",filter:"none | <filter-function-list> | <-ms-filter-function-list>",flex:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]","flex-basis":"content | <'width'>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<'flex-direction'> || <'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse",float:"left | right | none | inline-start | inline-end",font:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar","font-family":"[ <family-name> | <generic-family> ]#","font-feature-settings":"normal | <feature-tag-value>#","font-kerning":"auto | normal | none","font-language-override":"normal | <string>","font-optical-sizing":"auto | none","font-variation-settings":"normal | [ <string> <number> ]#","font-size":"<absolute-size> | <relative-size> | <length-percentage>","font-size-adjust":"none | <number>","font-stretch":"<font-stretch-absolute>","font-style":"normal | italic | oblique <angle>?","font-synthesis":"none | [ weight || style ]","font-variant":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-alternates":"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]","font-variant-caps":"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","font-variant-east-asian":"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-ligatures":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]","font-variant-numeric":"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]","font-variant-position":"normal | sub | super","font-weight":"<font-weight-absolute> | bolder | lighter",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [ / <grid-line> ]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[ row | column ] || dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [ / <grid-line> ]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [ / <grid-line> ]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?","grid-template-areas":"none | <string>+","grid-template-columns":"none | <track-list> | <auto-track-list>","grid-template-rows":"none | <track-list> | <auto-track-list>","hanging-punctuation":"none | [ first || [ force-end | allow-end ] || last ]",height:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto",hyphens:"none | manual | auto","image-orientation":"from-image | <angle> | [ <angle>? flip ]","image-rendering":"auto | crisp-edges | pixelated | optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>","image-resolution":"[ from-image || <resolution> ] && snap?","ime-mode":"auto | normal | active | inactive | disabled","initial-letter":"normal | [ <number> <integer>? ]","initial-letter-align":"[ auto | alphabetic | hanging | ideographic ]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto | isolate","justify-content":"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]","justify-items":"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]","justify-self":"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",left:"<length> | <percentage> | auto","letter-spacing":"normal | <length-percentage>","line-break":"auto | loose | normal | strict","line-clamp":"none | <integer>","line-height":"normal | <number> | <length> | <percentage>","line-height-step":"<length>","list-style":"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>","list-style-image":"<url> | none","list-style-position":"inside | outside","list-style-type":"<counter-style> | <string> | none",margin:"[ <length> | <percentage> | auto ]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length> | <percentage> | auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length> | <percentage> | auto","margin-right":"<length> | <percentage> | auto","margin-top":"<length> | <percentage> | auto",mask:"<mask-layer>#","mask-border":"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>","mask-border-mode":"luminance | alpha","mask-border-outset":"[ <length> | <number> ]{1,4}","mask-border-repeat":"[ stretch | repeat | round | space ]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none | <image>","mask-border-width":"[ <length-percentage> | <number> | auto ]{1,4}","mask-clip":"[ <geometry-box> | no-clip ]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance | alpha","max-block-size":"<'max-width'>","max-height":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available","max-inline-size":"<'max-width'>","max-lines":"none | <integer>","max-width":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available | <-non-standard-width>","min-block-size":"<'min-width'>","min-height":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available","min-inline-size":"<'min-width'>","min-width":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available | <-non-standard-width>","mix-blend-mode":"<blend-mode>","object-fit":"fill | contain | cover | none | scale-down","object-position":"<position>",offset:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?","offset-anchor":"auto | <position>","offset-distance":"<length-percentage>","offset-path":"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]","offset-position":"auto | <position>","offset-rotate":"[ auto | reverse ] || <angle>",opacity:"<number-zero-one>",order:"<integer>",orphans:"<integer>",outline:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]","outline-color":"<color> | invert","outline-offset":"<length>","outline-style":"auto | <'border-style'>","outline-width":"<line-width>",overflow:"[ visible | hidden | clip | scroll | auto ]{1,2} | <-non-standard-overflow>","overflow-anchor":"auto | none","overflow-block":"visible | hidden | clip | scroll | auto","overflow-clip-box":"padding-box | content-box","overflow-inline":"visible | hidden | clip | scroll | auto","overflow-wrap":"normal | break-word | anywhere","overflow-x":"visible | hidden | clip | scroll | auto","overflow-y":"visible | hidden | clip | scroll | auto","overscroll-behavior":"[ contain | none | auto ]{1,2}","overscroll-behavior-x":"contain | none | auto","overscroll-behavior-y":"contain | none | auto",padding:"[ <length> | <percentage> ]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length> | <percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length> | <percentage>","padding-right":"<length> | <percentage>","padding-top":"<length> | <percentage>","page-break-after":"auto | always | avoid | left | right | recto | verso","page-break-before":"auto | always | avoid | left | right | recto | verso","page-break-inside":"auto | avoid","paint-order":"normal | [ fill || stroke || markers ]",perspective:"none | <length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | sticky | fixed | -webkit-sticky",quotes:"none | [ <string> <string> ]+",resize:"none | both | horizontal | vertical | block | inline",right:"<length> | <percentage> | auto",rotate:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>","row-gap":"normal | <length-percentage>","ruby-align":"start | center | space-between | space-around","ruby-merge":"separate | collapse | auto","ruby-position":"over | under | inter-character",scale:"none | <number>{1,3}","scrollbar-color":"auto | dark | light | <color>{2}","scrollbar-width":"auto | thin | none","scroll-behavior":"auto | smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[ auto | <length-percentage> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage> ]{1,2}","scroll-padding-block-start":"auto | <length-percentage>","scroll-padding-block-end":"auto | <length-percentage>","scroll-padding-bottom":"auto | <length-percentage>","scroll-padding-inline":"[ auto | <length-percentage> ]{1,2}","scroll-padding-inline-start":"auto | <length-percentage>","scroll-padding-inline-end":"auto | <length-percentage>","scroll-padding-left":"auto | <length-percentage>","scroll-padding-right":"auto | <length-percentage>","scroll-padding-top":"auto | <length-percentage>","scroll-snap-align":"[ none | start | end | center ]{1,2}","scroll-snap-coordinate":"none | <position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none | repeat( <length-percentage> )","scroll-snap-points-y":"none | repeat( <length-percentage> )","scroll-snap-stop":"normal | always","scroll-snap-type":"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?","scroll-snap-type-x":"none | mandatory | proximity","scroll-snap-type-y":"none | mandatory | proximity","shape-image-threshold":"<number>","shape-margin":"<length-percentage>","shape-outside":"none | <shape-box> || <basic-shape> | <image>","tab-size":"<integer> | <length>","table-layout":"auto | fixed","text-align":"start | end | left | right | center | justify | match-parent","text-align-last":"auto | start | end | left | right | center | justify","text-combine-upright":"none | all | [ digits <integer>? ]","text-decoration":"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>","text-decoration-color":"<color>","text-decoration-line":"none | [ underline || overline || line-through || blink ]","text-decoration-skip":"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]","text-decoration-skip-ink":"auto | none","text-decoration-style":"solid | double | dotted | dashed | wavy","text-emphasis":"<'text-emphasis-style'> || <'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[ over | under ] && [ right | left ]","text-emphasis-style":"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>","text-indent":"<length-percentage> && hanging? && each-line?","text-justify":"auto | inter-character | inter-word | none","text-orientation":"mixed | upright | sideways","text-overflow":"[ clip | ellipsis | <string> ]{1,2}","text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision","text-shadow":"none | <shadow-t>#","text-size-adjust":"none | auto | <percentage>","text-transform":"none | capitalize | uppercase | lowercase | full-width | full-size-kana","text-underline-position":"auto | [ under || [ left | right ] ]",top:"<length> | <percentage> | auto","touch-action":"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",transform:"none | <transform-list>","transform-box":"border-box | fill-box | view-box","transform-origin":"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?","transform-style":"flat | preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none | <single-transition-property>#","transition-timing-function":"<timing-function>#",translate:"none | <length-percentage> [ <length-percentage> <length>? ]?","unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate","user-select":"auto | text | none | contain | all","vertical-align":"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",visibility:"visible | hidden | collapse","white-space":"normal | pre | nowrap | pre-wrap | pre-line",widows:"<integer>",width:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto","will-change":"auto | <animateable-feature>#","word-break":"normal | break-all | keep-all | break-word","word-spacing":"normal | <length-percentage>","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr | <svg-writing-mode>","z-index":"auto | <integer>",zoom:"normal | reset | <number> | <percentage>","-moz-background-clip":"padding | border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-osx-font-smoothing":"auto | grayscale","-moz-user-select":"none | text | all | -moz-none","-ms-flex-align":"start | end | center | baseline | stretch","-ms-flex-item-align":"auto | start | end | center | baseline | stretch","-ms-flex-line-pack":"start | end | center | justify | distribute | stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start | end | center | justify | distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor | bicubic","-ms-grid-column-align":"start | end | center | stretch","-ms-grid-row-align":"start | end | center | stretch","-webkit-background-clip":"[ <box> | border | padding | content | text ]#","-webkit-column-break-after":"always | auto | avoid","-webkit-column-break-before":"always | auto | avoid","-webkit-column-break-inside":"always | auto | avoid","-webkit-font-smoothing":"auto | none | antialiased | subpixel-antialiased","-webkit-mask-box-image":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?","-webkit-print-color-adjust":"economy | exact","-webkit-text-security":"none | circle | disc | square","-webkit-user-drag":"none | element | auto","-webkit-user-select":"auto | none | text | all","alignment-baseline":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical","baseline-shift":"baseline | sub | super | <svg-length>",behavior:"<url>+","clip-rule":"nonzero | evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>? | none","cue-before":"<url> <decibel>? | none","dominant-baseline":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero | evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto | <svg-length>",marker:"none | <url>","marker-end":"none | <url>","marker-mid":"none | <url>","marker-start":"none | <url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time> | none | x-weak | weak | medium | strong | x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time> | none | x-weak | weak | medium | strong | x-strong","shape-rendering":"auto | optimizeSpeed | crispEdges | geometricPrecision",src:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",speak:"auto | none | normal","speak-as":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]",stroke:"<paint>","stroke-dasharray":"none | [ <svg-length>+ ]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt | round | square","stroke-linejoin":"miter | round | bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start | middle | end","unicode-range":"<urange>#","voice-balance":"<number> | left | center | right | leftwards | rightwards","voice-duration":"auto | <time>","voice-family":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve","voice-pitch":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-range":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>","voice-stress":"normal | strong | moderate | none | reduced","voice-volume":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"}}},"585i":function(n,e,t){n.exports={AnPlusB:t("Iyun"),Atrule:t("G9/t"),AtrulePrelude:t("FEnK"),AttributeSelector:t("2Gxe"),Block:t("DJod"),Brackets:t("gCdt"),CDC:t("aUQo"),CDO:t("HOgr"),ClassSelector:t("gTGj"),Combinator:t("8mYp"),Comment:t("Y+H1"),Declaration:t("+/L5"),DeclarationList:t("e1rG"),Dimension:t("klIg"),Function:t("UwDK"),HexColor:t("9K4g"),Identifier:t("OyBZ"),IdSelector:t("dB5I"),MediaFeature:t("QBsF"),MediaQuery:t("33Dm"),MediaQueryList:t("Pd0I"),Nth:t("n6Bp"),Number:t("mb2m"),Operator:t("HHXC"),Parentheses:t("Vj1t"),Percentage:t("kPWa"),PseudoClassSelector:t("PzWj"),PseudoElementSelector:t("DDB3"),Ratio:t("F977"),Raw:t("4njK"),Rule:t("yTw5"),Selector:t("/BcF"),SelectorList:t("Lw+5"),String:t("r1XK"),StyleSheet:t("6RFS"),TypeSelector:t("STE7"),UnicodeRange:t("Tnl3"),Url:t("ZVk9"),Value:t("06ho"),WhiteSpace:t("Tpyv")}},"5EiF":function(n,e,t){var l=t("TTsC").SourceMapGenerator,o=t("7WHS"),r=/(\r?\n)/,i="$$$isSourceNode$$$";function a(n,e,t,l,o){this.children=[],this.sourceContents={},this.line=null==n?null:n,this.column=null==e?null:e,this.source=null==t?null:t,this.name=null==o?null:o,this[i]=!0,null!=l&&this.add(l)}a.fromStringWithSourceMap=function(n,e,t){var l=new a,i=n.split(r),u=0,s=function(){return n()+(n()||"");function n(){return u<i.length?i[u++]:void 0}},d=1,c=0,p=null;return e.eachMapping(function(n){if(null!==p){if(!(d<n.generatedLine)){var e=(t=i[u]).substr(0,n.generatedColumn-c);return i[u]=t.substr(n.generatedColumn-c),c=n.generatedColumn,f(p,e),void(p=n)}f(p,s()),d++,c=0}for(;d<n.generatedLine;)l.add(s()),d++;var t;c<n.generatedColumn&&(l.add((t=i[u]).substr(0,n.generatedColumn)),i[u]=t.substr(n.generatedColumn),c=n.generatedColumn),p=n},this),u<i.length&&(p&&f(p,s()),l.add(i.splice(u).join(""))),e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=t&&(n=o.join(t,n)),l.setSourceContent(n,r))}),l;function f(n,e){if(null===n||void 0===n.source)l.add(e);else{var r=t?o.join(t,n.source):n.source;l.add(new a(n.originalLine,n.originalColumn,r,e,n.name))}}},a.prototype.add=function(n){if(Array.isArray(n))n.forEach(function(n){this.add(n)},this);else{if(!n[i]&&"string"!=typeof n)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+n);n&&this.children.push(n)}return this},a.prototype.prepend=function(n){if(Array.isArray(n))for(var e=n.length-1;e>=0;e--)this.prepend(n[e]);else{if(!n[i]&&"string"!=typeof n)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+n);this.children.unshift(n)}return this},a.prototype.walk=function(n){for(var e,t=0,l=this.children.length;t<l;t++)(e=this.children[t])[i]?e.walk(n):""!==e&&n(e,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(n){var e,t,l=this.children.length;if(l>0){for(e=[],t=0;t<l-1;t++)e.push(this.children[t]),e.push(n);e.push(this.children[t]),this.children=e}return this},a.prototype.replaceRight=function(n,e){var t=this.children[this.children.length-1];return t[i]?t.replaceRight(n,e):"string"==typeof t?this.children[this.children.length-1]=t.replace(n,e):this.children.push("".replace(n,e)),this},a.prototype.setSourceContent=function(n,e){this.sourceContents[o.toSetString(n)]=e},a.prototype.walkSourceContents=function(n){for(var e=0,t=this.children.length;e<t;e++)this.children[e][i]&&this.children[e].walkSourceContents(n);var l=Object.keys(this.sourceContents);for(e=0,t=l.length;e<t;e++)n(o.fromSetString(l[e]),this.sourceContents[l[e]])},a.prototype.toString=function(){var n="";return this.walk(function(e){n+=e}),n},a.prototype.toStringWithSourceMap=function(n){var e={code:"",line:1,column:0},t=new l(n),o=!1,r=null,i=null,a=null,u=null;return this.walk(function(n,l){e.code+=n,null!==l.source&&null!==l.line&&null!==l.column?(r===l.source&&i===l.line&&a===l.column&&u===l.name||t.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:e.line,column:e.column},name:l.name}),r=l.source,i=l.line,a=l.column,u=l.name,o=!0):o&&(t.addMapping({generated:{line:e.line,column:e.column}}),r=null,o=!1);for(var s=0,d=n.length;s<d;s++)10===n.charCodeAt(s)?(e.line++,e.column=0,s+1===d?(r=null,o=!1):o&&t.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:e.line,column:e.column},name:l.name})):e.column++}),this.walkSourceContents(function(n,e){t.setSourceContent(n,e)}),{code:e.code,map:t}},e.SourceNode=a},"5HYW":function(n,e){var t=function(){};function l(n){return"function"==typeof n?n:t}n.exports=function(n,e,o){var r=t,i=t;if("function"==typeof e?r=e:e&&(r=l(e.enter),i=l(e.leave)),r===t&&i===t)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function n(e){switch(r.call(o,e),e.type){case"Group":e.terms.forEach(n);break;case"Multiplier":n(e.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+e.type)}i.call(o,e)}(n)}},"5IO1":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("T1DM"),o=t("67Y/");function r(n){return void 0===n&&(n=l.a),Object(o.a)(function(e){return new i(e,n.now())})}var i=function(){return function(n,e){this.value=n,this.timestamp=e}}()},"5tAl":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return void 0===n&&(n=-1),function(e){return e.lift(new i(n,e))}}var i=function(){function n(n,e){this.count=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.count,this.source))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.count=t,o.source=l,o}return l.__extends(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=this.source,l=this.count;if(0===l)return n.prototype.error.call(this,e);l>-1&&(this.count=l-1),t.subscribe(this._unsubscribeAndRecycle())}},e}(o.a)},"5xlC":function(n,e,t){var l=t("mrSG").__decorate,o=t("mrSG").__metadata,r=t("CcnG"),i=t("UpIn"),a=function(){function n(n){this.onFileSelected=new r.EventEmitter,this.element=n}return n.prototype.getOptions=function(){return this.uploader.options},n.prototype.getFilters=function(){return{}},n.prototype.isEmptyAfterSelection=function(){return!!this.element.nativeElement.attributes.multiple},n.prototype.onChange=function(){var n=this.element.nativeElement.files,e=this.getOptions(),t=this.getFilters();this.uploader.addToQueue(n,e,t),this.onFileSelected.emit(n),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")},n}();l([r.Input(),o("design:type",i.FileUploader)],a.prototype,"uploader",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"onFileSelected",void 0),l([r.HostListener("change"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",Object)],a.prototype,"onChange",null),a=l([r.Directive({selector:"[ng2FileSelect]"})],a),e.FileSelectDirective=a},"60iU":function(n,e,t){"use strict";t.d(e,"b",function(){return i}),t.d(e,"a",function(){return a});var l=t("G5J1"),o=t("F/XL"),r=t("XlPw"),i=function(n){return n.NEXT="N",n.ERROR="E",n.COMPLETE="C",n}({}),a=function(){function n(n,e,t){this.kind=n,this.value=e,this.error=t,this.hasValue="N"===n}return n.prototype.observe=function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}},n.prototype.do=function(n,e,t){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return t&&t()}},n.prototype.accept=function(n,e,t){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,t)},n.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(l.b)()}throw new Error("unexpected notification kind value")},n.createNext=function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification},n.createError=function(e){return new n("E",void 0,e)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}()},"67Y/":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.project=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.project,this.thisArg))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.project=t,o.count=0,o.thisArg=l||o,o}return l.__extends(e,n),e.prototype._next=function(n){var e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(o.a)},"6Dj2":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n,e))}}var i=function(){function n(n,e){this.predicate=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.source))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.source=l,o.count=0,o.index=0,o}return l.__extends(e,n),e.prototype._next=function(n){this.predicate?this._tryPredicate(n):this.count++},e.prototype._tryPredicate=function(n){var e;try{e=this.predicate(n,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(o.a)},"6RFS":function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.WhiteSpace,i=l.Comment,a=l.AtKeyword,u=l.CDO,s=l.CDC,d=o.ExclamationMark;function c(n){return this.Raw(n,null,!1)}n.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var n,e=this.scanner.tokenStart,t=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case r:this.scanner.next();continue;case i:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==d){this.scanner.next();continue}n=this.Comment();break;case u:n=this.CDO();break;case s:n=this.CDC();break;case a:n=this.parseWithFallback(this.Atrule,c);break;default:n=this.parseWithFallback(this.Rule,c)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(n){this.children(n)},walkContext:"stylesheet"}},"6V3w":function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("MGBS"),r=t("rPjj"),i=t("zotm"),a=t("67Y/"),u=t("0/uQ");function s(n,e){return e?function(t){return t.pipe(s(function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)(function(n,o){return e(t,n,l,o)}))}))}:function(e){return e.lift(new d(n))}}var d=function(){function n(n){this.project=n}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project))},n}(),c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.project=t,l.hasSubscription=!1,l.hasCompleted=!1,l.index=0,l}return l.__extends(e,n),e.prototype._next=function(n){this.hasSubscription||this.tryNext(n)},e.prototype.tryNext=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this.hasSubscription=!0,this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=new r.a(this,void 0,void 0);this.destination.add(l),Object(i.a)(this,n,e,t,l)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyError=function(n){this.destination.error(n)},e.prototype.notifyComplete=function(n){this.destination.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(o.a)},"6ahw":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("iLxQ"),o=t("DKTb"),r={closed:!0,next:function(n){},error:function(n){if(l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(o.a)(n)},complete:function(){}}},"6blF":function(n,e,t){"use strict";var l=t("1fDf"),o=t("FFOo"),r=t("L/V9"),i=t("6ahw"),a=t("xTla"),u=t("y3By"),s=t("iLxQ");t.d(e,"a",function(){return d});var d=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(n,e,t){var l=this.operator,a=function(n,e,t){if(n){if(n instanceof o.a)return n;if(n[r.a])return n[r.a]()}return n||e||t?new o.a(n,e,t):new o.a(i.a)}(n,e,t);if(a.add(l?l.call(a,this.source):this.source||s.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),s.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=e),Object(l.a)(n)?n.error(e):console.warn(e)}},n.prototype.forEach=function(n,e){var t=this;return new(e=c(e))(function(e,l){var o;o=t.subscribe(function(e){try{n(e)}catch(t){l(t),o&&o.unsubscribe()}},l,e)})},n.prototype._subscribe=function(n){var e=this.source;return e&&e.subscribe(n)},n.prototype[a.a]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 0===n.length?this:Object(u.b)(n)(this)},n.prototype.toPromise=function(n){var e=this;return new(n=c(n))(function(n,t){var l;e.subscribe(function(n){return l=n},function(n){return t(n)},function(){return n(l)})})},n.create=function(e){return new n(e)},n}();function c(n){if(n||(n=s.a.Promise||Promise),!n)throw new Error("no Promise impl found");return n}},"6dTv":function(n,e,t){n.exports={"font-face":t("xODi"),import:t("bxbb"),media:t("eAxx"),page:t("dv2O"),supports:t("EaiB")}},"6wkY":function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("T1DM"),o=t("dC0D"),r=t("lYZG"),i=t("67Y/");function a(n){return void 0===n&&(n=l.a),function(e){return Object(r.a)(function(){return e.pipe(Object(o.a)(function(e,t){var l=e.current;return{value:t,current:n.now(),last:l}},{current:n.now(),value:void 0,last:void 0}),Object(i.a)(function(n){return new u(n.value,n.current-n.last)}))})}}var u=function(){return function(n,e){this.value=n,this.interval=e}}()},"7GzS":function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").cmpStr,r=t("vd7W").TYPE,i=t("vd7W").CHARCODE,a=r.Ident,u=r.String,s=r.Number,d=r.Function,c=r.Url,p=r.Hash,f=r.Dimension,h=r.Percentage,m=r.LeftParenthesis,v=r.LeftSquareBracket,g=r.Comma,b=r.Delim,_=i.PlusSign,y=i.HyphenMinus,w=i.Solidus,C=i.Asterisk,x=i.NumberSign;n.exports=function(n){switch(this.scanner.tokenType){case p:return this.HexColor();case g:return n.space=null,n.ignoreWSAfter=!0,this.Operator();case m:return this.Parentheses(this.readSequence,n.recognizer);case v:return this.Brackets(this.readSequence,n.recognizer);case u:return this.String();case f:return this.Dimension();case h:return this.Percentage();case s:return this.Number();case d:return o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,n.recognizer);case c:return this.Url();case a:return l(this.scanner.source,this.scanner.tokenStart,117)&&l(this.scanner.source,this.scanner.tokenStart+1,_)?this.UnicodeRange():this.Identifier();case b:var e=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(e===w||e===C||e===_||e===y)return this.Operator();e===x&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},"7Qw6":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("0/uQ"),r=t("G5J1");function i(n,e){return new l.a(function(t){var l,i;try{l=n()}catch(u){return void t.error(u)}try{i=e(l)}catch(u){return void t.error(u)}var a=(i?Object(o.a)(i):r.a).subscribe(t);return function(){a.unsubscribe(),l&&l.unsubscribe()}})}},"7WHS":function(n,e){e.getArg=function(n,e,t){if(e in n)return n[e];if(3===arguments.length)return t;throw new Error('"'+e+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,l=/^data:.+\,.+$/;function o(n){var e=n.match(t);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}function r(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}function i(n){var t=n,l=o(n);if(l){if(!l.path)return n;t=l.path}for(var i,a=e.isAbsolute(t),u=t.split(/\/+/),s=0,d=u.length-1;d>=0;d--)"."===(i=u[d])?u.splice(d,1):".."===i?s++:s>0&&(""===i?(u.splice(d+1,s),s=0):(u.splice(d,2),s--));return""===(t=u.join("/"))&&(t=a?"/":"."),l?(l.path=t,r(l)):t}e.urlParse=o,e.urlGenerate=r,e.normalize=i,e.join=function(n,e){""===n&&(n="."),""===e&&(e=".");var t=o(e),a=o(n);if(a&&(n=a.path||"/"),t&&!t.scheme)return a&&(t.scheme=a.scheme),r(t);if(t||e.match(l))return e;if(a&&!a.host&&!a.path)return a.host=e,r(a);var u="/"===e.charAt(0)?e:i(n.replace(/\/+$/,"")+"/"+e);return a?(a.path=u,r(a)):u},e.isAbsolute=function(n){return"/"===n.charAt(0)||!!n.match(t)},e.relative=function(n,e){""===n&&(n="."),n=n.replace(/\/$/,"");for(var t=0;0!==e.indexOf(n+"/");){var l=n.lastIndexOf("/");if(l<0)return e;if((n=n.slice(0,l)).match(/^([^\/]+:\/)?\/*$/))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)};var a=!("__proto__"in Object.create(null));function u(n){return n}function s(n){if(!n)return!1;var e=n.length;if(e<9)return!1;if(95!==n.charCodeAt(e-1)||95!==n.charCodeAt(e-2)||111!==n.charCodeAt(e-3)||116!==n.charCodeAt(e-4)||111!==n.charCodeAt(e-5)||114!==n.charCodeAt(e-6)||112!==n.charCodeAt(e-7)||95!==n.charCodeAt(e-8)||95!==n.charCodeAt(e-9))return!1;for(var t=e-10;t>=0;t--)if(36!==n.charCodeAt(t))return!1;return!0}function d(n,e){return n===e?0:n>e?1:-1}e.toSetString=a?u:function(n){return s(n)?"$"+n:n},e.fromSetString=a?u:function(n){return s(n)?n.slice(1):n},e.compareByOriginalPositions=function(n,e,t){var l=n.source-e.source;return 0!==l?l:0!=(l=n.originalLine-e.originalLine)?l:0!=(l=n.originalColumn-e.originalColumn)||t?l:0!=(l=n.generatedColumn-e.generatedColumn)?l:0!=(l=n.generatedLine-e.generatedLine)?l:n.name-e.name},e.compareByGeneratedPositionsDeflated=function(n,e,t){var l=n.generatedLine-e.generatedLine;return 0!==l?l:0!=(l=n.generatedColumn-e.generatedColumn)||t?l:0!=(l=n.source-e.source)?l:0!=(l=n.originalLine-e.originalLine)?l:0!=(l=n.originalColumn-e.originalColumn)?l:n.name-e.name},e.compareByGeneratedPositionsInflated=function(n,e){var t=n.generatedLine-e.generatedLine;return 0!==t?t:0!=(t=n.generatedColumn-e.generatedColumn)?t:0!==(t=d(n.source,e.source))?t:0!=(t=n.originalLine-e.originalLine)?t:0!=(t=n.originalColumn-e.originalColumn)?t:d(n.name,e.name)}},"82qP":function(n,e,t){n.exports={AtrulePrelude:t("TefO"),Selector:t("HvLG"),Value:t("n/gj")}},"8XFM":function(n,e){var t=Object.prototype.hasOwnProperty,l={generic:!0,types:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function o(n){return n&&n.constructor===Object}function r(n){if(o(n)){var e={};for(var l in n)t.call(n,l)&&(e[l]=n[l]);return e}return n}function i(n,e){for(var l in e)t.call(e,l)&&(o(n[l])?i(n[l],r(e[l])):n[l]=r(e[l]))}n.exports=function(n,e){return function n(e,l,a){for(var u in a)if(!1!==t.call(a,u))if(!0===a[u])u in l&&t.call(l,u)&&(e[u]=r(l[u]));else if(a[u])if(o(a[u]))i(s={},e[u]),i(s,l[u]),e[u]=s;else if(Array.isArray(a[u])){var s={},d=a[u].reduce(function(n,e){return n[e]=!0,n},{});for(var c in e[u])t.call(e[u],c)&&(s[c]={},e[u]&&e[u][c]&&n(s[c],e[u][c],d));for(var c in l[u])t.call(l[u],c)&&(s[c]||(s[c]={}),l[u]&&l[u][c]&&n(s[c],l[u][c],d));e[u]=s}return e}(n,e,l)}},"8g8A":function(n,e,t){"use strict";function l(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},"8mYp":function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.Ident,i=o.PlusSign,a=o.Solidus,u=o.GreaterThanSign,s=o.Tilde;n.exports={name:"Combinator",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case u:case i:case s:this.scanner.next();break;case a:this.scanner.next(),this.scanner.tokenType===r&&!1!==this.scanner.lookupValue(0,"deep")||this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(a)||this.error("Solidus is expected"),this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.name)}}},"8wsT":function(n,e,t){var l=t("twQA"),o=l.TYPE,r=l.NAME,i=t("P3uw").cmpStr,a=o.WhiteSpace,u=o.Comment,s=function(){this.offsetAndType=null,this.balance=null,this.reset()};s.prototype={reset:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset},lookupType:function(n){return(n+=this.tokenIndex)<this.tokenCount?this.offsetAndType[n]>>24:0},lookupOffset:function(n){return(n+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[n-1]:this.source.length},lookupValue:function(n,e){return(n+=this.tokenIndex)<this.tokenCount&&i(this.source,16777215&this.offsetAndType[n-1],16777215&this.offsetAndType[n],e)},getTokenStart:function(n){return n===this.tokenIndex?this.tokenStart:n>0?n<this.tokenCount?16777215&this.offsetAndType[n-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset},getRawLength:function(n,e){var t,l=n,o=16777215&this.offsetAndType[Math.max(l-1,0)];n:for(;l<this.tokenCount&&!((t=this.balance[l])<n);l++)switch(e(this.offsetAndType[l]>>24,this.source,o)){case 1:break n;case 2:l++;break n;default:o=16777215&this.offsetAndType[l],this.balance[t]===l&&(l=t)}return l-this.tokenIndex},isBalanceEdge:function(n){return this.balance[this.tokenIndex]<n},isDelim:function(n,e){return e?this.lookupType(e)===o.Delim&&this.source.charCodeAt(this.lookupOffset(e))===n:this.tokenType===o.Delim&&this.source.charCodeAt(this.tokenStart)===n},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},getTokenLength:function(){return this.tokenEnd-this.tokenStart},substrToCursor:function(n){return this.source.substring(n,this.tokenStart)},skipWS:function(){for(var n=this.tokenIndex,e=0;n<this.tokenCount&&this.offsetAndType[n]>>24===a;n++,e++);e>0&&this.skip(e)},skipSC:function(){for(;this.tokenType===a||this.tokenType===u;)this.next()},skip:function(n){var e=this.tokenIndex+n;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=16777215&this.offsetAndType[e-1],this.tokenType=(e=this.offsetAndType[e])>>24,this.tokenEnd=16777215&e):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var n=this.tokenIndex+1;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.tokenEnd,this.tokenType=(n=this.offsetAndType[n])>>24,this.tokenEnd=16777215&n):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)},dump:function(){var n=0;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map(function(e,t){var l=n,o=16777215&e;return n=o,{idx:t,type:r[e>>24],chunk:this.source.substring(l,o),balance:this.balance[t]}},this)}},n.exports=s},"909l":function(n,e,t){"use strict";t.d(e,"b",function(){return d}),t.d(e,"a",function(){return c});var l=t("mrSG"),o=t("IUTb"),r=t("isby"),i=t("FFOo"),a=t("MGBS"),u=t("zotm"),s=t("En8+");function d(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return"function"==typeof t&&n.pop(),Object(o.a)(n,void 0).lift(new c(t))}var c=function(){function n(n){this.resultSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.resultSelector))},n}(),p=function(n){function e(e,t,l){void 0===l&&(l=Object.create(null));var o=n.call(this,e)||this;return o.iterators=[],o.active=0,o.resultSelector="function"==typeof t?t:null,o.values=l,o}return l.__extends(e,n),e.prototype._next=function(n){var e=this.iterators;Object(r.a)(n)?e.push(new h(n)):e.push("function"==typeof n[s.a]?new f(n[s.a]()):new m(this.destination,this,n))},e.prototype._complete=function(){var n=this.iterators,e=n.length;if(this.unsubscribe(),0!==e){this.active=e;for(var t=0;t<e;t++){var l=n[t];l.stillUnsubscribed?this.destination.add(l.subscribe(l,t)):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var n=this.iterators,e=n.length,t=this.destination,l=0;l<e;l++)if("function"==typeof(i=n[l]).hasValue&&!i.hasValue())return;var o=!1,r=[];for(l=0;l<e;l++){var i,a=(i=n[l]).next();if(i.hasCompleted()&&(o=!0),a.done)return void t.complete();r.push(a.value)}this.resultSelector?this._tryresultSelector(r):t.next(r),o&&t.complete()},e.prototype._tryresultSelector=function(n){var e;try{e=this.resultSelector.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a),f=function(){function n(n){this.iterator=n,this.nextResult=n.next()}return n.prototype.hasValue=function(){return!0},n.prototype.next=function(){var n=this.nextResult;return this.nextResult=this.iterator.next(),n},n.prototype.hasCompleted=function(){var n=this.nextResult;return n&&n.done},n}(),h=function(){function n(n){this.array=n,this.index=0,this.length=0,this.length=n.length}return n.prototype[s.a]=function(){return this},n.prototype.next=function(n){var e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}},n.prototype.hasValue=function(){return this.array.length>this.index},n.prototype.hasCompleted=function(){return this.array.length===this.index},n}(),m=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.parent=t,o.observable=l,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return l.__extends(e,n),e.prototype[s.a]=function(){return this},e.prototype.next=function(){var n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(n,e,t,l,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(n,e){return Object(u.a)(this,this.observable,this,e)},e}(a.a)},"9K4g":function(n,e,t){var l=t("vd7W").TYPE.Hash;n.exports={name:"HexColor",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"HexColor",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n+1)}},generate:function(n){this.chunk("#"),this.chunk(n.value)}}},"9Z1F":function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("MGBS"),r=t("rPjj"),i=t("zotm");function a(n){return function(e){var t=new u(n),l=e.lift(t);return t.caught=l}}var u=function(){function n(n){this.selector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.selector,this.caught))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.selector=t,o.caught=l,o}return l.__extends(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(o){return void n.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var l=new r.a(this,void 0,void 0);this.add(l),Object(i.a)(this,t,void 0,void 0,l)}},e}(o.a)},"9dfq":function(n,e,t){"use strict";var l=t("mrSG"),o=t("6blF"),r=t("KQya"),i=t("/21U"),a=function(n){function e(e,t,l){void 0===t&&(t=0),void 0===l&&(l=r.a);var o=n.call(this)||this;return o.source=e,o.delayTime=t,o.scheduler=l,(!Object(i.a)(t)||t<0)&&(o.delayTime=0),l&&"function"==typeof l.schedule||(o.scheduler=r.a),o}return l.__extends(e,n),e.create=function(n,t,l){return void 0===t&&(t=0),void 0===l&&(l=r.a),new e(n,t,l)},e.dispatch=function(n){return this.add(n.source.subscribe(n.subscriber))},e.prototype._subscribe=function(n){return this.scheduler.schedule(e.dispatch,this.delayTime,{source:this.source,subscriber:n})},e}(o.a);function u(n,e){return void 0===e&&(e=0),function(t){return t.lift(new s(n,e))}}t.d(e,"a",function(){return u});var s=function(){function n(n,e){this.scheduler=n,this.delay=e}return n.prototype.call=function(n,e){return new a(e,this.delay,this.scheduler).subscribe(n)},n}()},AJqF:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("T1DM"),i=t("+gEr");function a(n,e,t){return void 0===e&&(e=r.a),void 0===t&&(t=i.a),function(l){return l.lift(new u(n,e,t.leading,t.trailing))}}var u=function(){function n(n,e,t,l){this.duration=n,this.scheduler=e,this.leading=t,this.trailing=l}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.duration,this.scheduler,this.leading,this.trailing))},n}(),s=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;return i.duration=t,i.scheduler=l,i.leading=o,i.trailing=r,i._hasTrailingValue=!1,i._trailingValue=null,i}return l.__extends(e,n),e.prototype._next=function(n){this.throttled?this.trailing&&(this._trailingValue=n,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(d,this.duration,{subscriber:this})),this.leading?this.destination.next(n):this.trailing&&(this._trailingValue=n,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var n=this.throttled;n&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),n.unsubscribe(),this.remove(n),this.throttled=null)},e}(o.a);function d(n){n.subscriber.clearThrottle()}},AKyF:function(n,e,t){var l=t("vYjF");n.exports={wrapMethod:function(n,e,t){var o=n[e],r=n;if(e in n){var i="warn"===e?"warning":e;n[e]=function(){var n=[].slice.call(arguments),a=l.safeJoin(n," "),u={level:i,logger:"console",extra:{arguments:n}};"assert"===e?!1===n[0]&&(a="Assertion failed: "+(l.safeJoin(n.slice(1)," ")||"console.assert"),u.extra.arguments=n.slice(1),t&&t(a,u)):t&&t(a,u),o&&Function.prototype.apply.call(o,r,n)}}}}},AxiF:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW"),i=t("G5J1");function a(n){return function(e){return 0===n?Object(i.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new r.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.ring=new Array,l.count=0,l}return l.__extends(e,n),e.prototype._next=function(n){var e=this.ring,t=this.total,l=this.count++;e.length<t?e.push(n):e[l%t]=n},e.prototype._complete=function(){var n=this.destination,e=this.count;if(e>0)for(var t=this.count>=this.total?this.total:this.count,l=this.ring,o=0;o<t;o++){var r=e++%t;n.next(l[r])}n.complete()},e}(o.a)},B3CK:function(n,e,t){n.exports=t("lXnc")},BjAV:function(n,e){function t(n,e){for(var t=0;t<n.length;++t)if(n[t]===e)return t;return-1}function l(n,e){var l=[],o=[];return null==e&&(e=function(n,e){return l[0]===e?"[Circular ~]":"[Circular ~."+o.slice(0,t(l,e)).join(".")+"]"}),function(r,i){if(l.length>0){var a=t(l,this);~a?l.splice(a+1):l.push(this),~a?o.splice(a,1/0,r):o.push(r),~t(l,i)&&(i=e.call(this,r,i))}else l.push(i);return null==n?i instanceof Error?function(n){var e={stack:n.stack,message:n.message,name:n.name};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}(i):i:n.call(this,r,i)}}(n.exports=function(n,e,t,o){return JSON.stringify(n,l(e,o),t)}).getSerialize=l},CBFY:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG"),o=t("M+vq"),r=t("oVTH");t("imBb");var i=function(){function n(n,e){this._hotkeysService=n,this._elementRef=e,this.hotkeysList=[],this.oldHotkeys=[],this.mousetrap=new Mousetrap(this._elementRef.nativeElement)}return n.prototype.ngOnInit=function(){for(var n=0,e=this.hotkeys;n<e.length;n++){var t=e[n],l=Object.keys(t)[0],r=new o.Hotkey(l,t[l]),i=this._hotkeysService.get(l);null!==i&&(this.oldHotkeys.push(i),this._hotkeysService.remove(i)),this.hotkeysList.push(r),this.mousetrap.bind(r.combo,r.callback)}},n.prototype.ngOnDestroy=function(){for(var n=0,e=this.hotkeysList;n<e.length;n++)this.mousetrap.unbind(e[n].combo);this._hotkeysService.add(this.oldHotkeys)},n}();i.decorators=[{type:l.Directive,args:[{selector:"[hotkeys]",providers:[r.HotkeysService]}]}],i.propDecorators={hotkeys:[{type:l.Input}]},e.HotkeysDirective=i},CJ5M:function(n,e,t){var l=t("P3uw"),o=l.isIdentifierStart,r=l.isHexDigit,i=l.isDigit,a=l.cmpStr,u=l.consumeNumber,s=t("twQA").TYPE,d=t("/slF"),c=t("2TAq"),p=["unset","initial","inherit"],f=["calc(","-moz-calc(","-webkit-calc("];function h(n,e){return e<n.length?n.charCodeAt(e):0}function m(n,e){return a(n,0,n.length,e)}function v(n,e){for(var t=0;t<e.length;t++)if(m(n,e[t]))return!0;return!1}function g(n,e){return e===n.length-2&&92===n.charCodeAt(e)&&i(n.charCodeAt(e+1))}function b(n,e,t){if(n&&"Range"===n.type){var l=Number(void 0!==t&&t!==e.length?e.substr(0,t):e);if(isNaN(l))return!0;if(null!==n.min&&l<n.min)return!0;if(null!==n.max&&l>n.max)return!0}return!1}function _(n,e){var t=n.index,l=0;do{if(l++,n.balance<=t)break}while(n=e(l));return l}function y(n){return function(e,t,l){return null===e?0:e.type===s.Function&&v(e.value,f)?_(e,t):n(e,t,l)}}function w(n){return function(e){return null===e||e.type!==n?0:1}}function C(n){return function(e,t,l){if(null===e||e.type!==s.Dimension)return 0;var o=u(e.value,0);if(null!==n){var r=e.value.indexOf("\\",o),i=-1!==r&&g(e.value,r)?e.value.substring(o,r):e.value.substr(o);if(!1===n.hasOwnProperty(i.toLowerCase()))return 0}return b(l,e.value,o)?0:1}}function x(n){return"function"!=typeof n&&(n=function(){return 0}),function(e,t,l){return null!==e&&e.type===s.Number&&0===Number(e.value)?1:n(e,t,l)}}n.exports={"ident-token":w(s.Ident),"function-token":w(s.Function),"at-keyword-token":w(s.AtKeyword),"hash-token":w(s.Hash),"string-token":w(s.String),"bad-string-token":w(s.BadString),"url-token":w(s.Url),"bad-url-token":w(s.BadUrl),"delim-token":w(s.Delim),"number-token":w(s.Number),"percentage-token":w(s.Percentage),"dimension-token":w(s.Dimension),"whitespace-token":w(s.WhiteSpace),"CDO-token":w(s.CDO),"CDC-token":w(s.CDC),"colon-token":w(s.Colon),"semicolon-token":w(s.Semicolon),"comma-token":w(s.Comma),"[-token":w(s.LeftSquareBracket),"]-token":w(s.RightSquareBracket),"(-token":w(s.LeftParenthesis),")-token":w(s.RightParenthesis),"{-token":w(s.LeftCurlyBracket),"}-token":w(s.RightCurlyBracket),string:w(s.String),ident:w(s.Ident),"custom-ident":function(n){if(null===n||n.type!==s.Ident)return 0;var e=n.value.toLowerCase();return v(e,p)?0:m(e,"default")?0:1},"custom-property-name":function(n){return null===n||n.type!==s.Ident?0:45!==h(n.value,0)||45!==h(n.value,1)?0:1},"hex-color":function(n){if(null===n||n.type!==s.Hash)return 0;var e=n.value.length;if(4!==e&&5!==e&&7!==e&&9!==e)return 0;for(var t=1;t<e;t++)if(!r(n.value.charCodeAt(t)))return 0;return 1},"id-selector":function(n){return null===n||n.type!==s.Hash?0:o(h(n.value,1),h(n.value,2),h(n.value,3))?1:0},"an-plus-b":d,urange:c,"declaration-value":function(n,e){if(!n)return 0;var t=0,l=0,o=n.index;n:do{switch(n.type){case s.BadString:case s.BadUrl:break n;case s.RightCurlyBracket:case s.RightParenthesis:case s.RightSquareBracket:if(n.balance>n.index||n.balance<o)break n;l--;break;case s.Semicolon:if(0===l)break n;break;case s.Delim:if("!"===n.value&&0===l)break n;break;case s.Function:case s.LeftParenthesis:case s.LeftSquareBracket:case s.LeftCurlyBracket:l++}if(t++,n.balance<=o)break}while(n=e(t));return t},"any-value":function(n,e){if(!n)return 0;var t=n.index,l=0;n:do{switch(n.type){case s.BadString:case s.BadUrl:break n;case s.RightCurlyBracket:case s.RightParenthesis:case s.RightSquareBracket:if(n.balance>n.index||n.balance<t)break n}if(l++,n.balance<=t)break}while(n=e(l));return l},dimension:y(C(null)),angle:y(C({deg:!0,grad:!0,rad:!0,turn:!0})),decibel:y(C({db:!0})),frequency:y(C({hz:!0,khz:!0})),flex:y(C({fr:!0})),length:y(x(C({px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0}))),resolution:y(C({dpi:!0,dpcm:!0,dppx:!0,x:!0})),semitones:y(C({st:!0})),time:y(C({s:!0,ms:!0})),percentage:y(function(n,e,t){return null===n||n.type!==s.Percentage?0:b(t,n.value,n.value.length-1)?0:1}),zero:x(),number:y(function(n,e,t){if(null===n)return 0;var l=u(n.value,0);return l===n.value.length||g(n.value,l)?b(t,n.value,l)?0:1:0}),integer:y(function(n,e,t){if(null===n||n.type!==s.Number)return 0;for(var l=43===n.value.charCodeAt(0)||45===n.value.charCodeAt(0)?1:0;l<n.value.length;l++)if(!i(n.value.charCodeAt(l)))return 0;return b(t,n.value,l)?0:1}),"-ms-legacy-expression":function(n,e){return null!==n&&m(n.value,"expression(")?_(n,e):0}}},CS9Q:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("siIJ"),r=function(n){function e(t,l){void 0===l&&(l=o.a.now);var r=n.call(this,t,function(){return e.delegate&&e.delegate!==r?e.delegate.now():l()})||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return l.__extends(e,n),e.prototype.schedule=function(t,l,o){return void 0===l&&(l=0),e.delegate&&e.delegate!==this?e.delegate.schedule(t,l,o):n.prototype.schedule.call(this,t,l,o)},e.prototype.flush=function(n){var e=this.actions;if(this.active)e.push(n);else{var t;this.active=!0;do{if(t=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,t){for(;n=e.shift();)n.unsubscribe();throw t}}},e}(o.a)},CcnG:function(n,e,t){"use strict";t.r(e),t.d(e,"\u0275angular_packages_core_core_r",function(){return By}),t.d(e,"\u0275angular_packages_core_core_o",function(){return jy}),t.d(e,"\u0275angular_packages_core_core_p",function(){return Ly}),t.d(e,"\u0275angular_packages_core_core_q",function(){return Vy}),t.d(e,"\u0275angular_packages_core_core_s",function(){return zy}),t.d(e,"\u0275angular_packages_core_core_f",function(){return Kb}),t.d(e,"\u0275angular_packages_core_core_m",function(){return Rf}),t.d(e,"\u0275angular_packages_core_core_n",function(){return Af}),t.d(e,"\u0275angular_packages_core_core_l",function(){return yy}),t.d(e,"\u0275angular_packages_core_core_k",function(){return _y}),t.d(e,"\u0275angular_packages_core_core_b",function(){return sn}),t.d(e,"\u0275angular_packages_core_core_a",function(){return ln}),t.d(e,"\u0275angular_packages_core_core_c",function(){return Fe}),t.d(e,"\u0275angular_packages_core_core_d",function(){return ye}),t.d(e,"\u0275angular_packages_core_core_e",function(){return Ee}),t.d(e,"\u0275angular_packages_core_core_j",function(){return iy}),t.d(e,"\u0275angular_packages_core_core_t",function(){return E_}),t.d(e,"\u0275angular_packages_core_core_v",function(){return C_}),t.d(e,"\u0275angular_packages_core_core_u",function(){return w_}),t.d(e,"\u0275angular_packages_core_core_y",function(){return k_}),t.d(e,"\u0275angular_packages_core_core_w",function(){return x_}),t.d(e,"\u0275angular_packages_core_core_x",function(){return S_}),t.d(e,"\u0275angular_packages_core_core_bb",function(){return Jm}),t.d(e,"\u0275angular_packages_core_core_bc",function(){return ai}),t.d(e,"\u0275angular_packages_core_core_bd",function(){return Ol}),t.d(e,"\u0275angular_packages_core_core_be",function(){return Wl}),t.d(e,"\u0275angular_packages_core_core_bf",function(){return so}),t.d(e,"\u0275angular_packages_core_core_bj",function(){return Ii}),t.d(e,"\u0275angular_packages_core_core_bp",function(){return Xr}),t.d(e,"\u0275angular_packages_core_core_bo",function(){return ul}),t.d(e,"\u0275angular_packages_core_core_g",function(){return df}),t.d(e,"\u0275angular_packages_core_core_h",function(){return cf}),t.d(e,"\u0275angular_packages_core_core_i",function(){return pf}),t.d(e,"\u0275angular_packages_core_core_bh",function(){return dr}),t.d(e,"\u0275angular_packages_core_core_bn",function(){return Ye}),t.d(e,"\u0275angular_packages_core_core_bk",function(){return h}),t.d(e,"\u0275angular_packages_core_core_bl",function(){return m}),t.d(e,"\u0275angular_packages_core_core_bq",function(){return k}),t.d(e,"\u0275angular_packages_core_core_z",function(){return qm}),t.d(e,"\u0275angular_packages_core_core_ba",function(){return uh}),t.d(e,"createPlatform",function(){return $_}),t.d(e,"assertPlatform",function(){return Q_}),t.d(e,"destroyPlatform",function(){return J_}),t.d(e,"getPlatform",function(){return ny}),t.d(e,"PlatformRef",function(){return ey}),t.d(e,"ApplicationRef",function(){return ly}),t.d(e,"createPlatformFactory",function(){return X_}),t.d(e,"NgProbeToken",function(){return Y_}),t.d(e,"enableProdMode",function(){return Do}),t.d(e,"isDevMode",function(){return Io}),t.d(e,"APP_ID",function(){return Gb}),t.d(e,"PACKAGE_ROOT_URL",function(){return n_}),t.d(e,"PLATFORM_INITIALIZER",function(){return Xb}),t.d(e,"PLATFORM_ID",function(){return Qb}),t.d(e,"APP_BOOTSTRAP_LISTENER",function(){return Jb}),t.d(e,"APP_INITIALIZER",function(){return Zb}),t.d(e,"ApplicationInitStatus",function(){return Wb}),t.d(e,"DebugElement",function(){return qy}),t.d(e,"DebugEventListener",function(){return by}),t.d(e,"DebugNode",function(){return Ay}),t.d(e,"asNativeElements",function(){return wy}),t.d(e,"getDebugNode",function(){return Ny}),t.d(e,"Testability",function(){return B_}),t.d(e,"TestabilityRegistry",function(){return z_}),t.d(e,"setTestabilityGetter",function(){return U_}),t.d(e,"TRANSLATIONS",function(){return l_}),t.d(e,"TRANSLATIONS_FORMAT",function(){return o_}),t.d(e,"LOCALE_ID",function(){return t_}),t.d(e,"MissingTranslationStrategy",function(){return r_}),t.d(e,"ApplicationModule",function(){return Uy}),t.d(e,"wtfCreateScope",function(){return R_}),t.d(e,"wtfLeave",function(){return I_}),t.d(e,"wtfStartTimeRange",function(){return D_}),t.d(e,"wtfEndTimeRange",function(){return O_}),t.d(e,"Type",function(){return fn}),t.d(e,"EventEmitter",function(){return Dg}),t.d(e,"ErrorHandler",function(){return wi}),t.d(e,"Sanitizer",function(){return er}),t.d(e,"SecurityContext",function(){return nr}),t.d(e,"Attribute",function(){return x}),t.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return Ne}),t.d(e,"ContentChild",function(){return qe}),t.d(e,"ContentChildren",function(){return Ae}),t.d(e,"Query",function(){return Me}),t.d(e,"ViewChild",function(){return je}),t.d(e,"ViewChildren",function(){return Pe}),t.d(e,"Component",function(){return Db}),t.d(e,"Directive",function(){return Ib}),t.d(e,"HostBinding",function(){return Mb}),t.d(e,"HostListener",function(){return Ab}),t.d(e,"Input",function(){return Fb}),t.d(e,"Output",function(){return Nb}),t.d(e,"Pipe",function(){return Ob}),t.d(e,"NgModule",function(){return zb}),t.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return Ci}),t.d(e,"NO_ERRORS_SCHEMA",function(){return xi}),t.d(e,"ViewEncapsulation",function(){return Ke}),t.d(e,"Version",function(){return Ef}),t.d(e,"VERSION",function(){return Tf}),t.d(e,"InjectFlags",function(){return S}),t.d(e,"\u0275\u0275defineInjectable",function(){return T}),t.d(e,"defineInjectable",function(){return R}),t.d(e,"\u0275\u0275defineInjector",function(){return I}),t.d(e,"forwardRef",function(){return q}),t.d(e,"resolveForwardRef",function(){return P}),t.d(e,"Injectable",function(){return An}),t.d(e,"Injector",function(){return te}),t.d(e,"\u0275\u0275inject",function(){return on}),t.d(e,"inject",function(){return rn}),t.d(e,"INJECTOR",function(){return W}),t.d(e,"ReflectiveInjector",function(){return Oe}),t.d(e,"ResolvedReflectiveFactory",function(){return xe}),t.d(e,"ReflectiveKey",function(){return ge}),t.d(e,"InjectionToken",function(){return Z}),t.d(e,"Inject",function(){return g}),t.d(e,"Optional",function(){return b}),t.d(e,"Self",function(){return _}),t.d(e,"SkipSelf",function(){return y}),t.d(e,"Host",function(){return w}),t.d(e,"\u02750",function(){return v}),t.d(e,"\u02751",function(){return C}),t.d(e,"NgZone",function(){return M_}),t.d(e,"\u0275NoopNgZone",function(){return V_}),t.d(e,"RenderComponentType",function(){return gf}),t.d(e,"Renderer",function(){return _f}),t.d(e,"Renderer2",function(){return xf}),t.d(e,"RendererFactory2",function(){return wf}),t.d(e,"RendererStyleFlags2",function(){return Cf}),t.d(e,"RootRenderer",function(){return yf}),t.d(e,"COMPILER_OPTIONS",function(){return __}),t.d(e,"Compiler",function(){return b_}),t.d(e,"CompilerFactory",function(){return y_}),t.d(e,"ModuleWithComponentFactories",function(){return i_}),t.d(e,"ComponentFactory",function(){return Yp}),t.d(e,"\u0275ComponentFactory",function(){return Yp}),t.d(e,"ComponentRef",function(){return Kp}),t.d(e,"ComponentFactoryResolver",function(){return tf}),t.d(e,"ElementRef",function(){return hf}),t.d(e,"NgModuleFactory",function(){return af}),t.d(e,"NgModuleRef",function(){return rf}),t.d(e,"NgModuleFactoryLoader",function(){return ry}),t.d(e,"getModuleFactory",function(){return uy}),t.d(e,"QueryList",function(){return Fg}),t.d(e,"SystemJsNgModuleLoader",function(){return hy}),t.d(e,"SystemJsNgModuleLoaderConfig",function(){return py}),t.d(e,"TemplateRef",function(){return Wf}),t.d(e,"ViewContainerRef",function(){return Yf}),t.d(e,"EmbeddedViewRef",function(){return gy}),t.d(e,"ViewRef",function(){return vy}),t.d(e,"ChangeDetectionStrategy",function(){return Le}),t.d(e,"ChangeDetectorRef",function(){return Vf}),t.d(e,"DefaultIterableDiffer",function(){return Df}),t.d(e,"IterableDiffers",function(){return jf}),t.d(e,"KeyValueDiffers",function(){return Lf}),t.d(e,"SimpleChange",function(){return Dp}),t.d(e,"WrappedValue",function(){return zs}),t.d(e,"platformCore",function(){return Py}),t.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return K_}),t.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Yb}),t.d(e,"\u0275defaultIterableDiffers",function(){return Hf}),t.d(e,"\u0275defaultKeyValueDiffers",function(){return Zf}),t.d(e,"\u0275devModeEqual",function(){return Bs}),t.d(e,"\u0275isListLikeIterable",function(){return Us}),t.d(e,"\u0275ChangeDetectorStatus",function(){return Ve}),t.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return Be}),t.d(e,"\u0275Console",function(){return e_}),t.d(e,"\u0275setCurrentInjector",function(){return en}),t.d(e,"\u0275getInjectableDef",function(){return D}),t.d(e,"\u0275APP_ROOT",function(){return Vn}),t.d(e,"\u0275ivyEnabled",function(){return cy}),t.d(e,"\u0275CodegenComponentFactoryResolver",function(){return lf}),t.d(e,"\u0275clearResolutionOfComponentResourcesQueue",function(){return We}),t.d(e,"\u0275resolveComponentResources",function(){return ze}),t.d(e,"\u0275ReflectionCapabilities",function(){return _n}),t.d(e,"\u0275RenderDebugInfo",function(){return bf}),t.d(e,"\u0275_sanitizeHtml",function(){return Qo}),t.d(e,"\u0275_sanitizeStyle",function(){return or}),t.d(e,"\u0275_sanitizeUrl",function(){return Mo}),t.d(e,"\u0275global",function(){return z}),t.d(e,"\u0275looseIdentical",function(){return Vs}),t.d(e,"\u0275stringify",function(){return M}),t.d(e,"\u0275makeDecorator",function(){return p}),t.d(e,"\u0275isObservable",function(){return Ec}),t.d(e,"\u0275isPromise",function(){return kc}),t.d(e,"\u0275clearOverrides",function(){return _C}),t.d(e,"\u0275initServicesIfNeeded",function(){return Nw}),t.d(e,"\u0275overrideComponentView",function(){return bC}),t.d(e,"\u0275overrideProvider",function(){return gC}),t.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Um}),t.d(e,"\u0275getLocalePluralCase",function(){return iv}),t.d(e,"\u0275findLocaleData",function(){return av}),t.d(e,"\u0275LOCALE_DATA",function(){return tv}),t.d(e,"\u0275LocaleDataIndex",function(){return lv}),t.d(e,"\u0275\u0275attribute",function(){return nd}),t.d(e,"\u0275\u0275attributeInterpolate1",function(){return dd}),t.d(e,"\u0275\u0275attributeInterpolate2",function(){return cd}),t.d(e,"\u0275\u0275attributeInterpolate3",function(){return pd}),t.d(e,"\u0275\u0275attributeInterpolate4",function(){return fd}),t.d(e,"\u0275\u0275attributeInterpolate5",function(){return hd}),t.d(e,"\u0275\u0275attributeInterpolate6",function(){return md}),t.d(e,"\u0275\u0275attributeInterpolate7",function(){return vd}),t.d(e,"\u0275\u0275attributeInterpolate8",function(){return gd}),t.d(e,"\u0275\u0275attributeInterpolateV",function(){return bd}),t.d(e,"\u0275\u0275defineBase",function(){return ft}),t.d(e,"\u0275\u0275defineComponent",function(){return it}),t.d(e,"\u0275\u0275defineDirective",function(){return ht}),t.d(e,"\u0275\u0275definePipe",function(){return mt}),t.d(e,"\u0275\u0275defineNgModule",function(){return dt}),t.d(e,"\u0275detectChanges",function(){return _d}),t.d(e,"\u0275renderComponent",function(){return Sp}),t.d(e,"\u0275Render3ComponentFactory",function(){return nv}),t.d(e,"\u0275Render3ComponentRef",function(){return ev}),t.d(e,"\u0275\u0275directiveInject",function(){return Qd}),t.d(e,"\u0275\u0275injectAttribute",function(){return Jd}),t.d(e,"\u0275\u0275getFactoryOf",function(){return vi}),t.d(e,"\u0275\u0275getInheritedFactory",function(){return gi}),t.d(e,"\u0275\u0275setComponentScope",function(){return at}),t.d(e,"\u0275\u0275setNgModuleScope",function(){return ct}),t.d(e,"\u0275\u0275templateRefExtractor",function(){return tb}),t.d(e,"\u0275\u0275ProvidersFeature",function(){return Gp}),t.d(e,"\u0275\u0275InheritDefinitionFeature",function(){return qp}),t.d(e,"\u0275\u0275NgOnChangesFeature",function(){return Op}),t.d(e,"\u0275LifecycleHooksFeature",function(){return Rp}),t.d(e,"\u0275Render3NgModuleRef",function(){return sg}),t.d(e,"\u0275markDirty",function(){return yd}),t.d(e,"\u0275NgModuleFactory",function(){return dg}),t.d(e,"\u0275NO_CHANGE",function(){return Ei}),t.d(e,"\u0275\u0275container",function(){return Ud}),t.d(e,"\u0275\u0275nextContext",function(){return Fc}),t.d(e,"\u0275\u0275elementStart",function(){return vc}),t.d(e,"\u0275\u0275namespaceHTML",function(){return bo}),t.d(e,"\u0275\u0275namespaceMathML",function(){return go}),t.d(e,"\u0275\u0275namespaceSVG",function(){return vo}),t.d(e,"\u0275\u0275element",function(){return bc}),t.d(e,"\u0275\u0275listener",function(){return Tc}),t.d(e,"\u0275\u0275text",function(){return Kc}),t.d(e,"\u0275\u0275textInterpolate",function(){return $c}),t.d(e,"\u0275\u0275textInterpolate1",function(){return Xc}),t.d(e,"\u0275\u0275textInterpolate2",function(){return Qc}),t.d(e,"\u0275\u0275textInterpolate3",function(){return Jc}),t.d(e,"\u0275\u0275textInterpolate4",function(){return np}),t.d(e,"\u0275\u0275textInterpolate5",function(){return ep}),t.d(e,"\u0275\u0275textInterpolate6",function(){return tp}),t.d(e,"\u0275\u0275textInterpolate7",function(){return lp}),t.d(e,"\u0275\u0275textInterpolate8",function(){return op}),t.d(e,"\u0275\u0275textInterpolateV",function(){return rp}),t.d(e,"\u0275\u0275embeddedViewStart",function(){return Cc}),t.d(e,"\u0275\u0275projection",function(){return Pc}),t.d(e,"\u0275\u0275interpolation1",function(){return td}),t.d(e,"\u0275\u0275interpolation2",function(){return ld}),t.d(e,"\u0275\u0275interpolation3",function(){return od}),t.d(e,"\u0275\u0275interpolation4",function(){return rd}),t.d(e,"\u0275\u0275interpolation5",function(){return id}),t.d(e,"\u0275\u0275interpolation6",function(){return ad}),t.d(e,"\u0275\u0275interpolation7",function(){return ud}),t.d(e,"\u0275\u0275interpolation8",function(){return sd}),t.d(e,"\u0275\u0275interpolationV",function(){return ed}),t.d(e,"\u0275\u0275pipeBind1",function(){return xg}),t.d(e,"\u0275\u0275pipeBind2",function(){return Sg}),t.d(e,"\u0275\u0275pipeBind3",function(){return kg}),t.d(e,"\u0275\u0275pipeBind4",function(){return Eg}),t.d(e,"\u0275\u0275pipeBindV",function(){return Tg}),t.d(e,"\u0275\u0275pureFunction0",function(){return pg}),t.d(e,"\u0275\u0275pureFunction1",function(){return fg}),t.d(e,"\u0275\u0275pureFunction2",function(){return hg}),t.d(e,"\u0275\u0275pureFunction3",function(){return mg}),t.d(e,"\u0275\u0275pureFunction4",function(){return vg}),t.d(e,"\u0275\u0275pureFunction5",function(){return gg}),t.d(e,"\u0275\u0275pureFunction6",function(){return bg}),t.d(e,"\u0275\u0275pureFunction7",function(){return _g}),t.d(e,"\u0275\u0275pureFunction8",function(){return yg}),t.d(e,"\u0275\u0275pureFunctionV",function(){return wg}),t.d(e,"\u0275\u0275getCurrentView",function(){return Sc}),t.d(e,"\u0275getDirectives",function(){return fp}),t.d(e,"\u0275getHostElement",function(){return mp}),t.d(e,"\u0275\u0275restoreView",function(){return Zl}),t.d(e,"\u0275\u0275containerRefreshStart",function(){return Zd}),t.d(e,"\u0275\u0275containerRefreshEnd",function(){return Wd}),t.d(e,"\u0275\u0275queryRefresh",function(){return Gg}),t.d(e,"\u0275\u0275viewQuery",function(){return Yg}),t.d(e,"\u0275\u0275staticViewQuery",function(){return Kg}),t.d(e,"\u0275\u0275staticContentQuery",function(){return nb}),t.d(e,"\u0275\u0275loadViewQuery",function(){return Xg}),t.d(e,"\u0275\u0275contentQuery",function(){return Qg}),t.d(e,"\u0275\u0275loadContentQuery",function(){return eb}),t.d(e,"\u0275\u0275elementEnd",function(){return gc}),t.d(e,"\u0275\u0275property",function(){return Xs}),t.d(e,"\u0275\u0275propertyInterpolate",function(){return jc}),t.d(e,"\u0275\u0275propertyInterpolate1",function(){return Lc}),t.d(e,"\u0275\u0275propertyInterpolate2",function(){return Vc}),t.d(e,"\u0275\u0275propertyInterpolate3",function(){return Bc}),t.d(e,"\u0275\u0275propertyInterpolate4",function(){return zc}),t.d(e,"\u0275\u0275propertyInterpolate5",function(){return Uc}),t.d(e,"\u0275\u0275propertyInterpolate6",function(){return Hc}),t.d(e,"\u0275\u0275propertyInterpolate7",function(){return Zc}),t.d(e,"\u0275\u0275propertyInterpolate8",function(){return Wc}),t.d(e,"\u0275\u0275propertyInterpolateV",function(){return Gc}),t.d(e,"\u0275\u0275updateSyntheticHostBinding",function(){return Js}),t.d(e,"\u0275\u0275componentHostSyntheticListener",function(){return Rc}),t.d(e,"\u0275\u0275projectionDef",function(){return Mc}),t.d(e,"\u0275\u0275reference",function(){return $d}),t.d(e,"\u0275\u0275enableBindings",function(){return Il}),t.d(e,"\u0275\u0275disableBindings",function(){return Dl}),t.d(e,"\u0275\u0275allocHostVars",function(){return Ps}),t.d(e,"\u0275\u0275elementContainerStart",function(){return yc}),t.d(e,"\u0275\u0275elementContainerEnd",function(){return wc}),t.d(e,"\u0275\u0275styling",function(){return ac}),t.d(e,"\u0275\u0275styleMap",function(){return cc}),t.d(e,"\u0275\u0275classMap",function(){return pc}),t.d(e,"\u0275\u0275styleProp",function(){return sc}),t.d(e,"\u0275\u0275stylingApply",function(){return fc}),t.d(e,"\u0275\u0275classProp",function(){return dc}),t.d(e,"\u0275\u0275elementHostAttrs",function(){return _c}),t.d(e,"\u0275\u0275select",function(){return ju}),t.d(e,"\u0275\u0275textBinding",function(){return Yc}),t.d(e,"\u0275\u0275template",function(){return Hd}),t.d(e,"\u0275\u0275embeddedViewEnd",function(){return xc}),t.d(e,"\u0275store",function(){return Yd}),t.d(e,"\u0275\u0275load",function(){return Xd}),t.d(e,"\u0275\u0275pipe",function(){return Cg}),t.d(e,"\u0275whenRendered",function(){return Ip}),t.d(e,"\u0275\u0275i18n",function(){return Vv}),t.d(e,"\u0275\u0275i18nAttributes",function(){return Bv}),t.d(e,"\u0275\u0275i18nExp",function(){return Hv}),t.d(e,"\u0275\u0275i18nStart",function(){return Nv}),t.d(e,"\u0275\u0275i18nEnd",function(){return qv}),t.d(e,"\u0275\u0275i18nApply",function(){return Zv}),t.d(e,"\u0275\u0275i18nPostprocess",function(){return Av}),t.d(e,"\u0275i18nConfigureLocalize",function(){return Xv}),t.d(e,"\u0275\u0275i18nLocalize",function(){return Jv}),t.d(e,"\u0275setLocaleId",function(){return tg}),t.d(e,"\u0275DEFAULT_LOCALE_ID",function(){return ng}),t.d(e,"\u0275setClassMetadata",function(){return cg}),t.d(e,"\u0275\u0275resolveWindow",function(){return St}),t.d(e,"\u0275\u0275resolveDocument",function(){return kt}),t.d(e,"\u0275\u0275resolveBody",function(){return Et}),t.d(e,"\u0275compileComponent",function(){return gb}),t.d(e,"\u0275compileDirective",function(){return bb}),t.d(e,"\u0275compileNgModule",function(){return sb}),t.d(e,"\u0275compileNgModuleDefs",function(){return db}),t.d(e,"\u0275patchComponentDefWithScope",function(){return fb}),t.d(e,"\u0275resetCompiledComponents",function(){return cb}),t.d(e,"\u0275flushModuleScopingQueueAsMuchAsPossible",function(){return ab}),t.d(e,"\u0275transitiveScopesFor",function(){return hb}),t.d(e,"\u0275compilePipe",function(){return Rb}),t.d(e,"\u0275\u0275sanitizeHtml",function(){return rr}),t.d(e,"\u0275\u0275sanitizeStyle",function(){return ir}),t.d(e,"\u0275\u0275defaultStyleSanitizer",function(){return pr}),t.d(e,"\u0275\u0275sanitizeScript",function(){return sr}),t.d(e,"\u0275\u0275sanitizeUrl",function(){return ar}),t.d(e,"\u0275\u0275sanitizeResourceUrl",function(){return ur}),t.d(e,"\u0275\u0275sanitizeUrlOrResourceUrl",function(){return cr}),t.d(e,"\u0275bypassSanitizationTrustHtml",function(){return wo}),t.d(e,"\u0275bypassSanitizationTrustStyle",function(){return Co}),t.d(e,"\u0275bypassSanitizationTrustScript",function(){return xo}),t.d(e,"\u0275bypassSanitizationTrustUrl",function(){return So}),t.d(e,"\u0275bypassSanitizationTrustResourceUrl",function(){return ko}),t.d(e,"\u0275getLContext",function(){return Cr}),t.d(e,"\u0275NG_ELEMENT_ID",function(){return ot}),t.d(e,"\u0275NG_COMPONENT_DEF",function(){return Qe}),t.d(e,"\u0275NG_DIRECTIVE_DEF",function(){return Je}),t.d(e,"\u0275NG_PIPE_DEF",function(){return nt}),t.d(e,"\u0275NG_MODULE_DEF",function(){return et}),t.d(e,"\u0275NG_BASE_DEF",function(){return lt}),t.d(e,"\u0275NG_INJECTABLE_DEF",function(){return F}),t.d(e,"\u0275NG_INJECTOR_DEF",function(){return N}),t.d(e,"\u0275bindPlayerFactory",function(){return Ri}),t.d(e,"\u0275addPlayer",function(){return ip}),t.d(e,"\u0275getPlayers",function(){return ap}),t.d(e,"\u0275compileNgModuleFactory__POST_R3__",function(){return W_}),t.d(e,"\u0275isBoundToModule__POST_R3__",function(){return G_}),t.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return qb}),t.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Pb}),t.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return jb}),t.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return Ub}),t.d(e,"\u0275getDebugNode__POST_R3__",function(){return Fy}),t.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return qn}),t.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return dy}),t.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return Bf}),t.d(e,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return d_}),t.d(e,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return p_}),t.d(e,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return h_}),t.d(e,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return v_}),t.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return mf}),t.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return Gf}),t.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return $f}),t.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sf}),t.d(e,"\u0275getModuleFactory__POST_R3__",function(){return ay}),t.d(e,"\u0275registerNgModuleType",function(){return ig}),t.d(e,"\u0275publishGlobalUtil",function(){return xp}),t.d(e,"\u0275publishDefaultGlobalUtils",function(){return Cp}),t.d(e,"\u0275createInjector",function(){return Wn}),t.d(e,"\u0275INJECTOR_IMPL__POST_R3__",function(){return ne}),t.d(e,"\u0275registerModuleFactory",function(){return og}),t.d(e,"\u0275EMPTY_ARRAY",function(){return Wh}),t.d(e,"\u0275EMPTY_MAP",function(){return Gh}),t.d(e,"\u0275and",function(){return Hy}),t.d(e,"\u0275ccf",function(){return um}),t.d(e,"\u0275cmf",function(){return yC}),t.d(e,"\u0275crt",function(){return vh}),t.d(e,"\u0275did",function(){return Nm}),t.d(e,"\u0275eld",function(){return Zy}),t.d(e,"\u0275getComponentViewDefinitionFactory",function(){return sm}),t.d(e,"\u0275inlineInterpolate",function(){return Hh}),t.d(e,"\u0275interpolate",function(){return Uh}),t.d(e,"\u0275mod",function(){return Jh}),t.d(e,"\u0275mpd",function(){return Qh}),t.d(e,"\u0275ncd",function(){return ew}),t.d(e,"\u0275nov",function(){return ym}),t.d(e,"\u0275pid",function(){return Mm}),t.d(e,"\u0275prd",function(){return Am}),t.d(e,"\u0275pad",function(){return ow}),t.d(e,"\u0275pod",function(){return rw}),t.d(e,"\u0275ppd",function(){return lw}),t.d(e,"\u0275qud",function(){return $y}),t.d(e,"\u0275ted",function(){return aw}),t.d(e,"\u0275unv",function(){return fh}),t.d(e,"\u0275vid",function(){return dw});var l=t("mrSG"),o=t("pugT"),r=t("K9Ia"),i=t("6blF"),a=t("p0ib"),u=t("S1nX"),s="__annotations__",d="__parameters__",c="__prop__metadata__";function p(n,e,t,o,r){var i=f(e);function a(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof a)return i.call.apply(i,Object(l.__spread)([this],e)),this;var u=new((n=a).bind.apply(n,Object(l.__spread)([void 0],e)));return function(n){return r&&r.apply(void 0,Object(l.__spread)([n],e)),(n.hasOwnProperty(s)?n[s]:Object.defineProperty(n,s,{value:[]})[s]).push(u),o&&o(n),n}}return t&&(a.prototype=Object.create(t.prototype)),a.prototype.ngMetadataName=n,a.annotationCls=a,a}function f(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n){var o=n.apply(void 0,Object(l.__spread)(e));for(var r in o)this[r]=o[r]}}}function h(n,e,t){var o=f(e);function r(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof r)return o.apply(this,e),this;var i=new((n=r).bind.apply(n,Object(l.__spread)([void 0],e)));return a.annotation=i,a;function a(n,e,t){for(var l=n.hasOwnProperty(d)?n[d]:Object.defineProperty(n,d,{value:[]})[d];l.length<=t;)l.push(null);return(l[t]=l[t]||[]).push(i),n}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r}function m(n,e,t,o){var r=f(e);function i(){for(var n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof i)return r.apply(this,e),this;var a=new((n=i).bind.apply(n,Object(l.__spread)([void 0],e)));return function(n,t){var r=n.constructor,i=r.hasOwnProperty(c)?r[c]:Object.defineProperty(r,c,{value:{}})[c];i[t]=i.hasOwnProperty(t)&&i[t]||[],i[t].unshift(a),o&&o.apply(void 0,Object(l.__spread)([n,t],e))}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i}var v=function(n){return{token:n}},g=h("Inject",v),b=h("Optional"),_=h("Self"),y=h("SkipSelf"),w=h("Host"),C=function(n){return{attributeName:n}},x=h("Attribute",C),S=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}({});function k(n){for(var e in n)if(n[e]===k)return e;throw Error("Could not find renamed property on target object.")}function E(n,e){for(var t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function T(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}var R=T;function I(n){return{factory:n.factory,providers:n.providers||[],imports:n.imports||[]}}function D(n){var e=n[F];return e&&e.token===n?e:null}function O(n){return n&&n.hasOwnProperty(N)?n[N]:null}var F=k({ngInjectableDef:k}),N=k({ngInjectorDef:k});function M(n){if("string"==typeof n)return n;if(n instanceof Array)return"["+n.map(M).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return""+n.overriddenName;if(n.name)return""+n.name;var e=n.toString();if(null==e)return""+e;var t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}var A=k({__forward_ref__:k});function q(n){return n.__forward_ref__=q,n.toString=function(){return M(this())},n}function P(n){var e=n;return"function"==typeof e&&e.hasOwnProperty(A)&&e.__forward_ref__===q?e():n}var j="undefined"!=typeof globalThis&&globalThis,L="undefined"!=typeof window&&window,V="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,z=j||B||L||V;function U(){var n=z.ng;if(!n||!n.\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 n.\u0275compilerFacade}var H,Z=function(){function n(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=T({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}return n.prototype.toString=function(){return"InjectionToken "+this._desc},n}(),W=new Z("INJECTOR",-1),G=new Object,K="ngTempTokenPath",Y="ngTokenPath",$=/\n/gm,X="\u0275",Q="__source",J=k({provide:String,useValue:k}),nn=void 0;function en(n){var e=nn;return nn=n,e}function tn(n){var e=H;return H=n,e}function ln(n,e){if(void 0===e&&(e=S.Default),void 0===nn)throw new Error("inject() must be called from an injection context");return null===nn?an(n,void 0,e):nn.get(n,e&S.Optional?null:void 0,e)}function on(n,e){return void 0===e&&(e=S.Default),(H||ln)(n,e)}var rn=on;function an(n,e,t){var l=D(n);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(t&S.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+M(n)+"]")}function un(n){for(var e=[],t=0;t<n.length;t++){var l=P(n[t]);if(Array.isArray(l)){if(0===l.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,r=S.Default,i=0;i<l.length;i++){var a=l[i];a instanceof b||"Optional"===a.ngMetadataName||a===b?r|=S.Optional:a instanceof y||"SkipSelf"===a.ngMetadataName||a===y?r|=S.SkipSelf:a instanceof _||"Self"===a.ngMetadataName||a===_?r|=S.Self:o=a instanceof g||a===g?a.token:a}e.push(on(o,r))}else e.push(on(l))}return e}var sn=function(){function n(){}return n.prototype.get=function(n,e){if(void 0===e&&(e=G),e===G){var t=new Error("NullInjectorError: No provider for "+M(n)+"!");throw t.name="NullInjectorError",t}return e},n}();function dn(n,e,t,l){var o=n[K];throw e[Q]&&o.unshift(e[Q]),n.message=cn("\n"+n.message,o,t,l),n[Y]=o,n[K]=null,n}function cn(n,e,t,l){void 0===l&&(l=null),n=n&&"\n"===n.charAt(0)&&n.charAt(1)==X?n.substr(2):n;var o=M(e);if(e instanceof Array)o=e.map(M).join(" -> ");else if("object"==typeof e){var r=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];r.push(i+":"+("string"==typeof a?JSON.stringify(a):M(a)))}o="{"+r.join(", ")+"}"}return t+(l?"("+l+")":"")+"["+o+"]: "+n.replace($,"\n ")}var pn={"\u0275\u0275defineInjectable":T,"\u0275\u0275defineInjector":I,"\u0275\u0275inject":on,"\u0275\u0275getFactoryOf":function(n){var e=n,t=D(e)||O(e);return t&&void 0!==t.factory?t.factory:null}},fn=Function;function hn(n){return"function"==typeof n}var mn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,vn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,gn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,bn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,_n=function(){function n(n){this._reflect=n||z.Reflect}return n.prototype.isReflectionEnabled=function(){return!0},n.prototype.factory=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Object(l.__spread)([void 0],e)))}},n.prototype._zipTypesAndAnnotations=function(n,e){var t;t=void 0===n?new Array(e.length):new Array(n.length);for(var l=0;l<t.length;l++)t[l]=void 0===n?[]:n[l]&&n[l]!=Object?[n[l]]:[],e&&null!=e[l]&&(t[l]=t[l].concat(e[l]));return t},n.prototype._ownParameters=function(n,e){if(function(n){return mn.test(n)||bn.test(n)||vn.test(n)&&!gn.test(n)}(n.toString()))return null;if(n.parameters&&n.parameters!==e.parameters)return n.parameters;var t=n.ctorParameters;if(t&&t!==e.ctorParameters){var l="function"==typeof t?t():t,o=l.map(function(n){return n&&n.type}),r=l.map(function(n){return n&&yn(n.decorators)});return this._zipTypesAndAnnotations(o,r)}var i=n.hasOwnProperty(d)&&n[d],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return a||i?this._zipTypesAndAnnotations(a,i):new Array(n.length).fill(void 0)},n.prototype.parameters=function(n){if(!hn(n))return[];var e=wn(n),t=this._ownParameters(n,e);return t||e===Object||(t=this.parameters(e)),t||[]},n.prototype._ownAnnotations=function(n,e){if(n.annotations&&n.annotations!==e.annotations){var t=n.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return n.decorators&&n.decorators!==e.decorators?yn(n.decorators):n.hasOwnProperty(s)?n[s]:null},n.prototype.annotations=function(n){if(!hn(n))return[];var e=wn(n),t=this._ownAnnotations(n,e)||[];return(e!==Object?this.annotations(e):[]).concat(t)},n.prototype._ownPropMetadata=function(n,e){if(n.propMetadata&&n.propMetadata!==e.propMetadata){var t=n.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(n.propDecorators&&n.propDecorators!==e.propDecorators){var l=n.propDecorators,o={};return Object.keys(l).forEach(function(n){o[n]=yn(l[n])}),o}return n.hasOwnProperty(c)?n[c]:null},n.prototype.propMetadata=function(n){if(!hn(n))return{};var e=wn(n),t={};if(e!==Object){var o=this.propMetadata(e);Object.keys(o).forEach(function(n){t[n]=o[n]})}var r=this._ownPropMetadata(n,e);return r&&Object.keys(r).forEach(function(n){var e=[];t.hasOwnProperty(n)&&e.push.apply(e,Object(l.__spread)(t[n])),e.push.apply(e,Object(l.__spread)(r[n])),t[n]=e}),t},n.prototype.ownPropMetadata=function(n){return hn(n)&&this._ownPropMetadata(n,wn(n))||{}},n.prototype.hasLifecycleHook=function(n,e){return n instanceof fn&&e in n.prototype},n.prototype.guards=function(n){return{}},n.prototype.getter=function(n){return new Function("o","return o."+n+";")},n.prototype.setter=function(n){return new Function("o","v","return o."+n+" = v;")},n.prototype.method=function(n){return new Function("o","args","if (!o."+n+") throw new Error('\""+n+"\" is undefined');\n return o."+n+".apply(o, args);")},n.prototype.importUri=function(n){return"object"==typeof n&&n.filePath?n.filePath:"./"+M(n)},n.prototype.resourceUri=function(n){return"./"+M(n)},n.prototype.resolveIdentifier=function(n,e,t,l){return l},n.prototype.resolveEnum=function(n,e){return n[e]},n}();function yn(n){return n?n.map(function(n){var e=n.type.annotationCls,t=n.args?n.args:[];return new(e.bind.apply(e,Object(l.__spread)([void 0],t)))}):[]}function wn(n){var e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}var Cn=null;function xn(){return Cn=Cn||new _n}function Sn(n){return kn(xn().parameters(n))}function kn(n){var e=U();return n.map(function(n){return function(n,e){var t={token:null,host:!1,optional:!1,resolved:n.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function l(e){t.resolved=n.R3ResolvedDependencyType.Token,t.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<e.length;o++){var r=e[o];if(void 0!==r)if(r instanceof b||"Optional"===r.__proto__.ngMetadataName)t.optional=!0;else if(r instanceof y||"SkipSelf"===r.__proto__.ngMetadataName)t.skipSelf=!0;else if(r instanceof _||"Self"===r.__proto__.ngMetadataName)t.self=!0;else if(r instanceof w||"Host"===r.__proto__.ngMetadataName)t.host=!0;else if(r instanceof g)t.token=r.token;else if(r instanceof x){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.token=r.attributeName,t.resolved=n.R3ResolvedDependencyType.Attribute}else l(r)}}else l(e);return t}(e,n)})}function En(n,e){var t=null;n.hasOwnProperty(F)||Object.defineProperty(n,F,{get:function(){if(null===t){var l=e||{providedIn:null},o=Rn(l)||Dn(l)||In(l)||On(l),r={name:n.name,type:n,typeArgumentCount:0,providedIn:l.providedIn,ctorDeps:Sn(n),userDeps:void 0};if((Rn(l)||Dn(l))&&void 0!==l.deps&&(r.userDeps=kn(l.deps)),o)if(Rn(l))r.useClass=l.useClass;else if(In(l))r.useValue=l.useValue;else if(Dn(l))r.useFactory=l.useFactory;else{if(!On(l))throw new Error("Unreachable state.");r.useExisting=l.useExisting}else r.useClass=n;t=U().compileInjectable(pn,"ng:///"+n.name+"/ngInjectableDef.js",r)}return t}})}var Tn=k({provide:String,useValue:k});function Rn(n){return void 0!==n.useClass}function In(n){return Tn in n}function Dn(n){return void 0!==n.useFactory}function On(n){return void 0!==n.useExisting}var Fn=k({provide:String,useValue:k}),Nn=[];function Mn(n,e){if(!e){var t=(s=new _n).parameters(n);return function(){return new(n.bind.apply(n,Object(l.__spread)([void 0],un(t))))}}if(Fn in e){var o=e;return function(){return o.useValue}}if(e.useExisting){var r=e;return function(){return on(r.useExisting)}}if(e.useFactory){var i=e;return function(){return i.useFactory.apply(i,Object(l.__spread)(un(i.deps||Nn)))}}if(e.useClass){var a=e,u=e.deps;if(!u){var s=new _n;u=s.parameters(n)}return function(){var n;return new((n=a.useClass).bind.apply(n,Object(l.__spread)([void 0],un(u))))}}var d=e.deps;return d||(s=new _n,d=s.parameters(n)),function(){return new(n.bind.apply(n,Object(l.__spread)([void 0],un(d))))}}var An=p("Injectable",void 0,void 0,void 0,function(n,e){return Pn(n,e)}),qn=En,Pn=function(n,e){e&&void 0!==e.providedIn&&!D(n)&&(n.ngInjectableDef=T({token:n,providedIn:e.providedIn,factory:Mn(n,e)}))};function jn(n){throw new Error("Multiple components match node with tagname "+n.tagName)}function Ln(){throw new Error("Cannot mix multi providers and regular providers")}var Vn=new Z("The presence of this token marks an injector as being the root injector."),Bn={},zn={},Un=[],Hn=void 0;function Zn(){return void 0===Hn&&(Hn=new sn),Hn}function Wn(n,e,t,l){return void 0===e&&(e=null),void 0===t&&(t=null),e=e||Zn(),new Gn(n,t,e,l)}var Gn=function(){function n(n,e,t,l){var o=this;void 0===l&&(l=null),this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var r=[];Xn([n],function(n){return o.processInjectorType(n,[],r)}),e&&Xn(e,function(t){return o.processProvider(t,n,e)}),this.records.set(W,$n(void 0,this)),this.isRootInjector=this.records.has(Vn),this.injectorDefTypes.forEach(function(n){return o.get(n)}),this.source=l||("object"==typeof n?null:M(n))}return Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(n){return n.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},n.prototype.get=function(n,e,t){void 0===e&&(e=G),void 0===t&&(t=S.Default),this.assertNotDestroyed();var l,o=en(this);try{if(!(t&S.SkipSelf)){var r=this.records.get(n);if(void 0===r){var i=("function"==typeof(l=n)||"object"==typeof l&&l instanceof Z)&&D(n);i&&this.injectableDefInScope(i)&&(r=$n(Kn(n),Bn),this.records.set(n,r))}if(void 0!==r)return this.hydrate(n,r)}return(t&S.Self?Zn():this.parent).get(n,t&S.Optional?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[K]=a[K]||[]).unshift(M(n)),o)throw a;return dn(a,n,"R3InjectorError",this.source)}throw a}finally{en(o)}},n.prototype.toString=function(){var n=[];return this.records.forEach(function(e,t){return n.push(M(t))}),"R3Injector["+n.join(", ")+"]"},n.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},n.prototype.processInjectorType=function(n,e,t){var l=this;if(!(n=P(n)))return!1;var o=O(n),r=null==o&&n.ngModule||void 0,i=void 0===r?n:r,a=-1!==t.indexOf(i);if(void 0!==r&&(o=O(r)),null==o)return!1;if(this.injectorDefTypes.add(i),this.records.set(i,$n(o.factory,Bn)),null!=o.imports&&!a){var u;t.push(i);try{Xn(o.imports,function(n){l.processInjectorType(n,e,t)&&(void 0===u&&(u=[]),u.push(n))})}finally{}if(void 0!==u)for(var s=function(n){var e=u[n],t=e.ngModule,o=e.providers;Xn(o,function(n){return l.processProvider(n,t,o||Un)})},d=0;d<u.length;d++)s(d)}var c=o.providers;if(null!=c&&!a){var p=n;Xn(c,function(n){return l.processProvider(n,p,c)})}return void 0!==r&&void 0!==n.providers},n.prototype.processProvider=function(n,e,t){var l=Jn(n=P(n))?n:P(n&&n.provide),o=function(n,e,t){var l=Yn(n,e,t);return Qn(n)?$n(void 0,n.useValue):$n(l,Bn)}(n,e,t);if(Jn(n)||!0!==n.multi){var r=this.records.get(l);r&&void 0!==r.multi&&Ln()}else{var i=this.records.get(l);i?void 0===i.multi&&Ln():((i=$n(void 0,Bn,!0)).factory=function(){return un(i.multi)},this.records.set(l,i)),l=n,i.multi.push(n)}this.records.set(l,o)},n.prototype.hydrate=function(n,e){var t;return e.value===zn?function(n){throw new Error("Cannot instantiate cyclic dependency! "+n)}(M(n)):e.value===Bn&&(e.value=zn,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(t=e.value)&&"object"==typeof t&&"function"==typeof t.ngOnDestroy&&this.onDestroy.add(e.value),e.value},n.prototype.injectableDefInScope=function(n){return!!n.providedIn&&("string"==typeof n.providedIn?"any"===n.providedIn||"root"===n.providedIn&&this.isRootInjector:this.injectorDefTypes.has(n.providedIn))},n}();function Kn(n){var e=D(n);if(null!==e)return e.factory;var t=O(n);if(null!==t)return t.factory;if(n instanceof Z)throw new Error("Token "+M(n)+" is missing an ngInjectableDef definition.");if(n instanceof Function)return function(n){var e=n.length;if(e>0){var t=new Array(e).fill("?");throw new Error("Can't resolve all parameters for "+M(n)+": ("+t.join(", ")+").")}var l,o=(l=n)&&l[F]?(console.warn('DEPRECATED: DI is instantiating a token "'+l.name+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+l.name+'" class.'),l[F]):null;return null!==o?function(){return o.factory(n)}:function(){return new n}}(n);throw new Error("unreachable")}function Yn(n,e,t){var o,r=void 0;if(Jn(n))return Kn(P(n));if(Qn(n))r=function(){return P(n.useValue)};else if((o=n)&&o.useExisting)r=function(){return on(P(n.useExisting))};else if(n&&n.useFactory)r=function(){return n.useFactory.apply(n,Object(l.__spread)(un(n.deps||[])))};else{var i=P(n&&(n.useClass||n.provide));if(i||function(n,e,t){var l="";throw n&&e&&(l=" - only instances of Provider and Type are allowed, got: ["+e.map(function(n){return n==t?"?"+t+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+M(n)+"'"+l)}(e,t,n),!n.deps)return Kn(i);r=function(){return new(i.bind.apply(i,Object(l.__spread)([void 0],un(n.deps))))}}return r}function $n(n,e,t){return void 0===t&&(t=!1),{factory:n,value:e,multi:t?[]:void 0}}function Xn(n,e){n.forEach(function(n){return Array.isArray(n)?Xn(n,e):e(n)})}function Qn(n){return null!==n&&"object"==typeof n&&J in n}function Jn(n){return"function"==typeof n}function ne(n,e,t){return Wn({name:t},e,n,t)}var ee=function(n,e,t){return new ae(n,e,t)},te=function(){function n(){}return n.create=function(n,e){return Array.isArray(n)?ee(n,e,""):ee(n.providers,n.parent,n.name||"")},n.THROW_IF_NOT_FOUND=G,n.NULL=new sn,n.ngInjectableDef=T({token:n,providedIn:"any",factory:function(){return on(W)}}),n.__NG_ELEMENT_ID__=-1,n}(),le=function(n){return n},oe=[],re=le,ie=function(){return Array.prototype.slice.call(arguments)},ae=function(){function n(n,e,t){void 0===e&&(e=te.NULL),void 0===t&&(t=null),this.parent=e,this.source=t;var l=this._records=new Map;l.set(te,{token:te,fn:le,deps:oe,value:this,useNew:!1}),l.set(W,{token:W,fn:le,deps:oe,value:this,useNew:!1}),function n(e,t){if(t)if((t=P(t))instanceof Array)for(var l=0;l<t.length;l++)n(e,t[l]);else{if("function"==typeof t)throw se("Function/Class not supported",t);if(!t||"object"!=typeof t||!t.provide)throw se("Unexpected provider",t);var o=P(t.provide),r=function(n){var e=function(n){var e=oe,t=n.deps;if(t&&t.length){e=[];for(var l=0;l<t.length;l++){var o=6;if((u=P(t[l]))instanceof Array)for(var r=0,i=u;r<i.length;r++){var a=i[r];a instanceof b||a==b?o|=1:a instanceof y||a==y?o&=-3:a instanceof _||a==_?o&=-5:u=a instanceof g?a.token:P(a)}e.push({token:u,options:o})}}else if(n.useExisting){var u;e=[{token:u=P(n.useExisting),options:6}]}else if(!(t||J in n))throw se("'deps' required",n);return e}(n),t=le,l=oe,o=!1,r=P(n.provide);if(J in n)l=n.useValue;else if(n.useFactory)t=n.useFactory;else if(n.useExisting);else if(n.useClass)o=!0,t=P(n.useClass);else{if("function"!=typeof r)throw se("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",n);o=!0,t=r}return{deps:e,fn:t,useNew:o,value:l}}(t);if(!0===t.multi){var i=e.get(o);if(i){if(i.fn!==ie)throw ue(o)}else e.set(o,i={token:t.provide,deps:[],useNew:!1,fn:ie,value:oe});i.deps.push({token:o=t,options:6})}var a=e.get(o);if(a&&a.fn==ie)throw ue(o);e.set(o,r)}}(l,n)}return n.prototype.get=function(n,e,t){void 0===t&&(t=S.Default);var o=this._records.get(n);try{return function n(e,t,o,r,i,a){try{return function(e,t,o,r,i,a){var u,s;if(!t||a&S.SkipSelf)a&S.Self||(s=r.get(e,i,S.Default));else{if((s=t.value)==re)throw Error("\u0275Circular dependency");if(s===oe){t.value=re;var d=t.useNew,c=t.fn,p=t.deps,f=oe;if(p.length){f=[];for(var h=0;h<p.length;h++){var m=p[h],v=m.options,g=2&v?o.get(m.token):void 0;f.push(n(m.token,g,o,g||4&v?r:te.NULL,1&v?null:te.THROW_IF_NOT_FOUND,S.Default))}}t.value=s=d?new((u=c).bind.apply(u,Object(l.__spread)([void 0],f))):c.apply(void 0,f)}}return s}(e,t,o,r,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u[K]=u[K]||[]).unshift(e),t&&t.value==re&&(t.value=oe),u}}(n,o,this._records,this.parent,e,t)}catch(r){return dn(r,n,"StaticInjectorError",this.source)}},n.prototype.toString=function(){var n=[];return this._records.forEach(function(e,t){return n.push(M(t))}),"StaticInjector["+n.join(", ")+"]"},n}();function ue(n){return se("Cannot mix multi providers and regular providers",n)}function se(n,e){return new Error(cn(n,e,"StaticInjectorError"))}var de="ngDebugContext",ce="ngOriginalError",pe="ngErrorLogger";function fe(n){return n.length>1?" ("+function(n){for(var e=[],t=0;t<n.length;++t){if(e.indexOf(n[t])>-1)return e.push(n[t]),e;e.push(n[t])}return e}(n.slice().reverse()).map(function(n){return M(n.token)}).join(" -> ")+")":""}function he(n,e,t,l){var o=[e],r=t(o),i=l?function(n,e){var t=r+" caused by: "+(e instanceof Error?e.message:e),l=Error(t);return l[ce]=e,l}(0,l):Error(r);return i.addKey=me,i.keys=o,i.injectors=[n],i.constructResolvingMessage=t,i[ce]=l,i}function me(n,e){this.injectors.push(n),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function ve(n,e){for(var t=[],l=0,o=e.length;l<o;l++){var r=e[l];t.push(r&&0!=r.length?r.map(M).join(" "):"?")}return Error("Cannot resolve all parameters for '"+M(n)+"'("+t.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+M(n)+"' is decorated with Injectable.")}var ge=function(){function n(n,e){if(this.token=n,this.id=e,!n)throw new Error("Token must be defined!");this.displayName=M(this.token)}return n.get=function(n){return be.get(P(n))},Object.defineProperty(n,"numberOfKeys",{get:function(){return be.numberOfKeys},enumerable:!0,configurable:!0}),n}(),be=new(function(){function n(){this._allKeys=new Map}return n.prototype.get=function(n){if(n instanceof ge)return n;if(this._allKeys.has(n))return this._allKeys.get(n);var e=new ge(n,ge.numberOfKeys);return this._allKeys.set(n,e),e},Object.defineProperty(n.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),n}()),_e=new(function(){function n(n){this.reflectionCapabilities=n}return n.prototype.updateCapabilities=function(n){this.reflectionCapabilities=n},n.prototype.factory=function(n){return this.reflectionCapabilities.factory(n)},n.prototype.parameters=function(n){return this.reflectionCapabilities.parameters(n)},n.prototype.annotations=function(n){return this.reflectionCapabilities.annotations(n)},n.prototype.propMetadata=function(n){return this.reflectionCapabilities.propMetadata(n)},n.prototype.hasLifecycleHook=function(n,e){return this.reflectionCapabilities.hasLifecycleHook(n,e)},n.prototype.getter=function(n){return this.reflectionCapabilities.getter(n)},n.prototype.setter=function(n){return this.reflectionCapabilities.setter(n)},n.prototype.method=function(n){return this.reflectionCapabilities.method(n)},n.prototype.importUri=function(n){return this.reflectionCapabilities.importUri(n)},n.prototype.resourceUri=function(n){return this.reflectionCapabilities.resourceUri(n)},n.prototype.resolveIdentifier=function(n,e,t,l){return this.reflectionCapabilities.resolveIdentifier(n,e,t,l)},n.prototype.resolveEnum=function(n,e){return this.reflectionCapabilities.resolveEnum(n,e)},n}())(new _n),ye=function(){function n(n,e,t){this.key=n,this.optional=e,this.visibility=t}return n.fromKey=function(e){return new n(e,!1,null)},n}(),we=[],Ce=function(){return function(n,e,t){this.key=n,this.resolvedFactories=e,this.multiProvider=t,this.resolvedFactory=this.resolvedFactories[0]}}(),xe=function(){return function(n,e){this.factory=n,this.dependencies=e}}();function Se(n){var e,t;if(n.useClass){var l=P(n.useClass);e=_e.factory(l),t=Te(l)}else n.useExisting?(e=function(n){return n},t=[ye.fromKey(ge.get(n.useExisting))]):n.useFactory?(e=n.useFactory,t=function(n,e){if(e){var t=e.map(function(n){return[n]});return e.map(function(e){return Re(n,e,t)})}return Te(n)}(n.useFactory,n.deps)):(e=function(){return n.useValue},t=we);return new xe(e,t)}function ke(n){return new Ce(ge.get(n.provide),[Se(n)],n.multi||!1)}function Ee(n){var e=function(n,e){for(var t=0;t<n.length;t++){var l=n[t],o=e.get(l.key.id);if(o){if(l.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+l);if(l.multiProvider)for(var r=0;r<l.resolvedFactories.length;r++)o.resolvedFactories.push(l.resolvedFactories[r]);else e.set(l.key.id,l)}else{var i;i=l.multiProvider?new Ce(l.key,l.resolvedFactories.slice(),l.multiProvider):l,e.set(l.key.id,i)}}return e}(function n(e,t){return e.forEach(function(e){if(e instanceof fn)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!(e instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);n(e,t)}}),t}(n,[]).map(ke),new Map);return Array.from(e.values())}function Te(n){var e=_e.parameters(n);if(!e)return[];if(e.some(function(n){return null==n}))throw ve(n,e);return e.map(function(t){return Re(n,t,e)})}function Re(n,e,t){var l=null,o=!1;if(!Array.isArray(e))return Ie(e instanceof g?e.token:e,o,null);for(var r=null,i=0;i<e.length;++i){var a=e[i];a instanceof fn?l=a:a instanceof g?l=a.token:a instanceof b?o=!0:a instanceof _||a instanceof y?r=a:a instanceof Z&&(l=a)}if(null!=(l=P(l)))return Ie(l,o,r);throw ve(n,t)}function Ie(n,e,t){return new ye(ge.get(n),e,t)}var De=new Object,Oe=function(){function n(){}return n.resolve=function(n){return Ee(n)},n.resolveAndCreate=function(e,t){var l=n.resolve(e);return n.fromResolvedProviders(l,t)},n.fromResolvedProviders=function(n,e){return new Fe(n,e)},n}(),Fe=function(){function n(n,e){this._constructionCounter=0,this._providers=n,this.parent=e||null;var t=n.length;this.keyIds=new Array(t),this.objs=new Array(t);for(var l=0;l<t;l++)this.keyIds[l]=n[l].key.id,this.objs[l]=De}return n.prototype.get=function(n,e){return void 0===e&&(e=G),this._getByKey(ge.get(n),null,e)},n.prototype.resolveAndCreateChild=function(n){var e=Oe.resolve(n);return this.createChildFromResolved(e)},n.prototype.createChildFromResolved=function(e){var t=new n(e);return t.parent=this,t},n.prototype.resolveAndInstantiate=function(n){return this.instantiateResolved(Oe.resolve([n])[0])},n.prototype.instantiateResolved=function(n){return this._instantiateProvider(n)},n.prototype.getProviderAtIndex=function(n){if(n<0||n>=this._providers.length)throw function(n){return Error("Index "+n+" is out-of-bounds.")}(n);return this._providers[n]},n.prototype._new=function(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw he(this,n.key,function(n){return"Cannot instantiate cyclic dependency!"+fe(n)});return this._instantiateProvider(n)},n.prototype._getMaxNumberOfObjects=function(){return this.objs.length},n.prototype._instantiateProvider=function(n){if(n.multiProvider){for(var e=new Array(n.resolvedFactories.length),t=0;t<n.resolvedFactories.length;++t)e[t]=this._instantiate(n,n.resolvedFactories[t]);return e}return this._instantiate(n,n.resolvedFactories[0])},n.prototype._instantiate=function(n,e){var t,o,r,i=this,a=e.factory;try{t=e.dependencies.map(function(n){return i._getByReflectiveDependency(n)})}catch(u){throw u.addKey&&u.addKey(this,n.key),u}try{o=a.apply(void 0,Object(l.__spread)(t))}catch(u){throw he(this,n.key,function(n){var e=M(n[0].token);return r.message+": Error during instantiation of "+e+"!"+fe(n)+"."},r=u)}return o},n.prototype._getByReflectiveDependency=function(n){return this._getByKey(n.key,n.visibility,n.optional?null:G)},n.prototype._getByKey=function(e,t,l){return e===n.INJECTOR_KEY?this:t instanceof _?this._getByKeySelf(e,l):this._getByKeyDefault(e,l,t)},n.prototype._getObjByKeyId=function(n){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===n)return this.objs[e]===De&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return De},n.prototype._throwOrNull=function(n,e){if(e!==G)return e;throw function(n,e){return he(n,e,function(n){return"No provider for "+M(n[0].token)+"!"+fe(n)})}(this,n)},n.prototype._getByKeySelf=function(n,e){var t=this._getObjByKeyId(n.id);return t!==De?t:this._throwOrNull(n,e)},n.prototype._getByKeyDefault=function(e,t,l){var o;for(o=l instanceof y?this.parent:this;o instanceof n;){var r=o,i=r._getObjByKeyId(e.id);if(i!==De)return i;o=r.parent}return null!==o?o.get(e.token,t):this._throwOrNull(e,t)},Object.defineProperty(n.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(n,e){for(var t=new Array(n._providers.length),l=0;l<n._providers.length;++l)t[l]=' "'+n.getProviderAtIndex(l).key.displayName+'" ';return t}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.displayName},n.INJECTOR_KEY=ge.get(te),n}(),Ne=new Z("AnalyzeForEntryComponents"),Me=function(){return function(){}}(),Ae=m("ContentChildren",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!1,isViewQuery:!1,descendants:!1},e)},Me),qe=m("ContentChild",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!0,isViewQuery:!1,descendants:!0},e)},Me),Pe=m("ViewChildren",function(n,e){return void 0===e&&(e={}),Object(l.__assign)({selector:n,first:!1,isViewQuery:!0,descendants:!0},e)},Me),je=m("ViewChild",function(n,e){return Object(l.__assign)({selector:n,first:!0,isViewQuery:!0,descendants:!0},e)},Me),Le=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}({}),Ve=function(n){return n[n.CheckOnce=0]="CheckOnce",n[n.Checked=1]="Checked",n[n.CheckAlways=2]="CheckAlways",n[n.Detached=3]="Detached",n[n.Errored=4]="Errored",n[n.Destroyed=5]="Destroyed",n}({});function Be(n){return null==n||n===Le.Default}function ze(n){var e=[],t=new Map;function l(e){var l=t.get(e);if(!l){var o=n(e);t.set(e,l=o.then(Ge))}return l}return Ue.forEach(function(n,t){var o=[];n.templateUrl&&o.push(l(n.templateUrl).then(function(e){n.template=e}));var r=n.styleUrls,i=n.styles||(n.styles=[]),a=n.styles.length;r&&r.forEach(function(e,t){i.push(""),o.push(l(e).then(function(l){i[a+t]=l,r.splice(r.indexOf(e),1),0==r.length&&(n.styleUrls=void 0)}))});var u=Promise.all(o).then(function(){return function(n){He.delete(n)}(t)});e.push(u)}),We(),Promise.all(e).then(function(){})}var Ue=new Map,He=new Set;function Ze(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length)}function We(){var n=Ue;return Ue=new Map,n}function Ge(n){return"string"==typeof n?n:n.text()}var Ke=function(n){return n[n.Emulated=0]="Emulated",n[n.Native=1]="Native",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}({});function Ye(n){return""+{toString:n}}var $e={},Xe=[],Qe=k({ngComponentDef:k}),Je=k({ngDirectiveDef:k}),nt=k({ngPipeDef:k}),et=k({ngModuleDef:k}),tt=k({ngLocaleIdDef:k}),lt=k({ngBaseDef:k}),ot=k({__NG_ELEMENT_ID__:k}),rt=0;function it(n){var e=n.type,t=e.prototype,l={},o={type:e,providersResolver:null,consts:n.consts,vars:n.vars,factory:n.factory,template:n.template||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,contentQueries:n.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:n.exportAs||null,onChanges:null,onInit:t.ngOnInit||null,doCheck:t.ngDoCheck||null,afterContentInit:t.ngAfterContentInit||null,afterContentChecked:t.ngAfterContentChecked||null,afterViewInit:t.ngAfterViewInit||null,afterViewChecked:t.ngAfterViewChecked||null,onDestroy:t.ngOnDestroy||null,onPush:n.changeDetection===Le.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Ke.Emulated,id:"c",styles:n.styles||Xe,_:null,setInput:null,schemas:n.schemas||null,tView:null};return o._=Ye(function(){var t=n.directives,r=n.features,i=n.pipes;o.id+=rt++,o.inputs=pt(n.inputs,l),o.outputs=pt(n.outputs),r&&r.forEach(function(n){return n(o)}),o.directiveDefs=t?function(){return("function"==typeof t?t():t).map(ut)}:null,o.pipeDefs=i?function(){return("function"==typeof i?i():i).map(st)}:null,e.hasOwnProperty(F)||(e[F]=T({token:e,factory:n.factory}))}),o}function at(n,e,t){var l=n.ngComponentDef;l.directiveDefs=function(){return e.map(ut)},l.pipeDefs=function(){return t.map(st)}}function ut(n){return vt(n)||gt(n)}function st(n){return bt(n)}function dt(n){return{type:n.type,bootstrap:n.bootstrap||Xe,declarations:n.declarations||Xe,imports:n.imports||Xe,exports:n.exports||Xe,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}}function ct(n,e){return Ye(function(){var t=yt(n,!0);t.declarations=e.declarations||Xe,t.imports=e.imports||Xe,t.exports=e.exports||Xe})}function pt(n,e){if(null==n)return $e;var t={};for(var l in n)if(n.hasOwnProperty(l)){var o=n[l],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),t[o]=l,e&&(e[o]=r)}return t}function ft(n){var e={};return{inputs:pt(n.inputs,e),declaredInputs:e,outputs:pt(n.outputs),viewQuery:n.viewQuery||null,contentQueries:n.contentQueries||null,hostBindings:n.hostBindings||null}}var ht=it;function mt(n){return{name:n.name,factory:n.factory,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function vt(n){return n[Qe]||null}function gt(n){return n[Je]||null}function bt(n){return n[nt]||null}function _t(n){return n[lt]||null}function yt(n,e){var t=n[et]||null;if(!t&&!0===e)throw new Error("Type "+M(n)+" does not have 'ngModuleDef' property.");return t}function wt(n){return"string"==typeof n?n:null==n?"":""+n}function Ct(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():wt(n)}var xt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(z)}();function St(n){return{name:"window",target:n.ownerDocument.defaultView}}function kt(n){return{name:"document",target:n.ownerDocument}}function Et(n){return{name:"body",target:n.ownerDocument.body}}var Tt="\ufffd";function Rt(n){return n.indexOf(Tt)>=0}function It(n){return n instanceof Function?n():n}var Dt=0,Ot=1,Ft=2,Nt=3,Mt=4,At=5,qt=6,Pt=7,jt=8,Lt=9,Vt=10,Bt=11,zt=12,Ut=13,Ht=14,Zt=15,Wt=16,Gt=17,Kt=18,Yt=20;var $t=1,Xt=2,Qt=7,Jt=9,nl="__ngContext__";function el(n){for(;Array.isArray(n);)n=n[Dt];return n}function tl(n){return Array.isArray(n)&&"object"==typeof n[$t]}function ll(n){return Array.isArray(n)&&!0===n[$t]}function ol(n){return Array.isArray(n)&&"number"==typeof n[$t]}function rl(n,e){return el(e[n+Yt])}function il(n,e){return el(e[n.index])}function al(n,e){return e[Ot].data[n+Yt]}function ul(n,e){return n[e+Yt]}function sl(n,e){var t=e[n];return tl(t)?t:t[Dt]}function dl(n){return 0!=(4&n.flags)}function cl(n){return 1==(1&n.flags)}function pl(n){return null!==n.template}function fl(n){return 0!=(512&n[Ft])}function hl(n){return n[nl]}function ml(n){var e=hl(n);return e?Array.isArray(e)?e:e.lView:null}function vl(n){return ll(n[Nt])}function gl(n){n[Kt]=0}function bl(n,e,t,l,o,r){var i=e.onChanges,a=e.onInit,u=e.doCheck;o>=0&&(!t.preOrderHooks||o===t.preOrderHooks.length)&&(i||a||u)&&(t.preOrderHooks||(t.preOrderHooks=[])).push(l),r>=0&&(!t.preOrderCheckHooks||r===t.preOrderCheckHooks.length)&&(i||u)&&(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(l),i&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,i),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,i)),a&&(t.preOrderHooks||(t.preOrderHooks=[])).push(-n,a),u&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,u),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,u))}function _l(n,e){if(n.firstTemplatePass)for(var t=e.directiveStart,l=e.directiveEnd;t<l;t++){var o=n.data[t];o.afterContentInit&&(n.contentHooks||(n.contentHooks=[])).push(-t,o.afterContentInit),o.afterContentChecked&&((n.contentHooks||(n.contentHooks=[])).push(t,o.afterContentChecked),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,o.afterContentChecked)),o.afterViewInit&&(n.viewHooks||(n.viewHooks=[])).push(-t,o.afterViewInit),o.afterViewChecked&&((n.viewHooks||(n.viewHooks=[])).push(t,o.afterViewChecked),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,o.afterViewChecked)),null!=o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(t,o.onDestroy)}}function yl(n,e,t,l){t||wl(n,e.preOrderHooks,e.preOrderCheckHooks,t,0,void 0!==l?l:null)}function wl(n,e,t,l,o,r){if(!l){var i=(3&n[Ft])===o?e:t;i&&function(n,e,t,l){for(var o=null!=l?l:-1,r=0,i=void 0!==l?65535&n[Kt]:0;i<e.length;i++)if("number"==typeof e[i+1]){if(r=e[i],null!=l&&r>=l)break}else e[i]<0&&(n[Kt]+=65536),(r<o||-1==o)&&(Cl(n,t,e,i),n[Kt]=(4294901760&n[Kt])+i+2),i++}(n,i,o,r),null==r&&(3&n[Ft])===o&&3!==o&&(n[Ft]&=1023,n[Ft]+=1)}}function Cl(n,e,t,l){var o=t[l]<0,r=t[l+1],i=n[o?-t[l]:t[l]];o?n[Ft]>>10<n[Kt]>>16&&(3&n[Ft])===e&&(n[Ft]+=1024,r.call(i)):r.call(i)}var xl,Sl=null;function kl(n){Sl=n}var El,Tl=null;function Rl(n){Tl=n}function Il(){El=!0}function Dl(){El=!1}function Ol(){return Ml}var Fl,Nl,Ml,Al=1,ql=Al,Pl=0,jl=0;function Ll(n){void 0===n&&(n=null),po!==n&&(ho(null==n?-1:n),ql=null==n?0:Al,Pl=0,jl=0)}function Vl(){return ql}function Bl(){ql+=1+jl,Pl=0,jl=0}function zl(n){Pl+=n,jl=Math.max(jl,Pl)}function Ul(){return jl}function Hl(){return Pl}function Zl(n){Ql=n}function Wl(){return Fl}function Gl(n,e){Fl=n,Nl=e}function Kl(n,e){Fl=n,Ml=e}function Yl(){return Nl}function $l(){Nl=!1}function Xl(n){return void 0===n&&(n=Ml),4==(4&n[Ft])}var Ql=null,Jl=!1;function no(){return Jl}function eo(n){Jl=n}var to=-1;function lo(){return to}function oo(n){to=n}var ro=0;function io(){return ro}function ao(n){ro=n}function uo(n,e){var t=Ml;return n&&(to=n[Ot].bindingStartIndex),Fl=e,Nl=!0,Ml=Ql=n,t}function so(n){return void 0===n&&(n=1),(Ql=function(n,e){for(;n>0;)e=e[Gt],n--;return e}(n,Ql))[Lt]}function co(n,e){var t=Ml[Ot];if(Xl(Ml))Ml[Ft]&=-5;else try{gl(Ml),e&&wl(Ml,t.viewHooks,t.viewCheckHooks,Jl,2,void 0)}finally{Ml[Ft]&=-73,Ml[Pt]=t.bindingStartIndex}kl(null),uo(n,null)}var po=-1;function fo(){return po}function ho(n){po=n,kl(null)}var mo=null;function vo(){mo="http://www.w3.org/2000/svg"}function go(){mo="http://www.w3.org/1998/MathML/"}function bo(){mo=null}var _o="__SANITIZER_TRUSTED_BRAND__";function yo(n,e){return n instanceof String&&n[_o]===e}function wo(n){return Eo(n,"Html")}function Co(n){return Eo(n,"Style")}function xo(n){return Eo(n,"Script")}function So(n){return Eo(n,"Url")}function ko(n){return Eo(n,"ResourceUrl")}function Eo(n,e){var t=new String(n);return t[_o]=e,t}var To=!0,Ro=!1;function Io(){return Ro=!0,To}function Do(){if(Ro)throw new Error("Cannot enable prod mode after platform setup.");To=!1}var Oo=function(){function n(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(n){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return n.prototype.getInertBodyElement_XHR=function(n){n="<body><remove></remove>"+n+"</body>";try{n=encodeURI(n)}catch(l){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+n,!1),e.send(void 0);var t=e.response.body;return t.removeChild(t.firstChild),t},n.prototype.getInertBodyElement_DOMParser=function(n){n="<body><remove></remove>"+n+"</body>";try{var e=(new window.DOMParser).parseFromString(n,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},n.prototype.getInertBodyElement_InertDocument=function(n){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=n,e):(this.inertBodyElement.innerHTML=n,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},n.prototype.stripCustomNsAttrs=function(n){for(var e=n.attributes,t=e.length-1;0<t;t--){var l=e.item(t).name;"xmlns:ns1"!==l&&0!==l.indexOf("ns1:")||n.removeAttribute(l)}for(var o=n.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},n}(),Fo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,No=/^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 Mo(n){return(n=String(n)).match(Fo)||n.match(No)?n:(Io()&&console.warn("WARNING: sanitizing unsafe URL value "+n+" (see http://g.co/ng/security#xss)"),"unsafe:"+n)}function Ao(n){return(n=String(n)).split(",").map(function(n){return Mo(n.trim())}).join(", ")}function qo(n){var e,t,o={};try{for(var r=Object(l.__values)(n.split(",")),i=r.next();!i.done;i=r.next())o[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return o}function Po(){for(var n,e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var r={};try{for(var i=Object(l.__values)(t),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(r[s]=!0)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(n)throw n.error}}return r}var jo,Lo=qo("area,br,col,hr,img,wbr"),Vo=qo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bo=qo("rp,rt"),zo=Po(Bo,Vo),Uo=Po(Lo,Po(Vo,qo("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")),Po(Bo,qo("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")),zo),Ho=qo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zo=qo("srcset"),Wo=Po(Ho,Zo,qo("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"),qo("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")),Go=qo("script,style,template"),Ko=function(){function n(){this.sanitizedSomething=!1,this.buf=[]}return n.prototype.sanitizeChildren=function(n){for(var e=n.firstChild,t=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var l=this.checkClobberedElement(e,e.nextSibling);if(l){e=l;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},n.prototype.startElement=function(n){var e=n.nodeName.toLowerCase();if(!Uo.hasOwnProperty(e))return this.sanitizedSomething=!0,!Go.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var t=n.attributes,l=0;l<t.length;l++){var o=t.item(l),r=o.name,i=r.toLowerCase();if(Wo.hasOwnProperty(i)){var a=o.value;Ho[i]&&(a=Mo(a)),Zo[i]&&(a=Ao(a)),this.buf.push(" ",r,'="',Xo(a),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},n.prototype.endElement=function(n){var e=n.nodeName.toLowerCase();Uo.hasOwnProperty(e)&&!Lo.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},n.prototype.chars=function(n){this.buf.push(Xo(n))},n.prototype.checkClobberedElement=function(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+n.outerHTML);return e},n}(),Yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$o=/([^\#-~ |!])/g;function Xo(n){return n.replace(/&/g,"&amp;").replace(Yo,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace($o,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Qo(n,e){var t=null;try{jo=jo||new Oo(n);var l=e?String(e):"";t=jo.getInertBodyElement(l);var o=5,r=l;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,l=r,r=t.innerHTML,t=jo.getInertBodyElement(l)}while(l!==r);var i=new Ko,a=i.sanitizeChildren(Jo(t)||t);return Io()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(t)for(var u=Jo(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}function Jo(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var nr=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}({}),er=function(){return function(){}}(),tr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),lr=/^url\(([^)]+)\)$/;function or(n){if(!(n=String(n).trim()))return"";var e=n.match(lr);return e&&Mo(e[1])===e[1]||n.match(tr)&&function(n){for(var e=!0,t=!0,l=0;l<n.length;l++){var o=n.charAt(l);"'"===o&&t?e=!e:'"'===o&&e&&(t=!t)}return e&&t}(n)?n:(Io()&&console.warn("WARNING: sanitizing unsafe style value "+n+" (see http://g.co/ng/security#xss)."),"unsafe")}function rr(n){var e=fr();return e?e.sanitize(nr.HTML,n)||"":yo(n,"Html")?n.toString():Qo(document,wt(n))}function ir(n){var e=fr();return e?e.sanitize(nr.STYLE,n)||"":yo(n,"Style")?n.toString():or(wt(n))}function ar(n){var e=fr();return e?e.sanitize(nr.URL,n)||"":yo(n,"Url")?n.toString():Mo(wt(n))}function ur(n){var e=fr();if(e)return e.sanitize(nr.RESOURCE_URL,n)||"";if(yo(n,"ResourceUrl"))return n.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function sr(n){var e=fr();if(e)return e.sanitize(nr.SCRIPT,n)||"";if(yo(n,"Script"))return n.toString();throw new Error("unsafe value used in a script context")}function dr(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?ur:ar}function cr(n,e,t){return dr(e,t)(n)}var pr=function(n,e,t){var l=!0;return 1&(t=t||3)&&(l="background-image"===n||"background"===n||"border-image"===n||"filter"===n||"list-style"===n||"list-style-image"===n||"clip-path"===n),2&t?l?ir(e):e:l};function fr(){var n=Ol();return n&&n[Ut]}var hr=8,mr=8,vr=9,gr=-1,br=function(){return function(n,e,t){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t}}(),_r=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({});function yr(n){return!!n.listen}var wr={createRenderer:function(n,e){return document}};function Cr(n){var e,t=hl(n);if(t){if(Array.isArray(t)){var l=t,o=void 0,r=void 0,i=void 0;if((e=n)&&e.constructor&&e.constructor.ngComponentDef){if(-1==(o=Rr(l,n)))throw new Error("The provided component was not found in the application");r=n}else if(n&&n.constructor&&n.constructor.ngDirectiveDef){if(-1==(o=function(n,e){for(var t=n[Ot].firstChild;t;){for(var l=t.directiveEnd,o=t.directiveStart;o<l;o++)if(n[o]===e)return t.index;t=Tr(t)}return-1}(l,n)))throw new Error("The provided directive was not found in the application");i=Ir(o,l,!1)}else if(-1==(o=Er(l,n)))return null;var a=hl(h=el(l[o])),u=a&&!Array.isArray(a)?a:xr(l,o,h);if(r&&void 0===u.component&&(u.component=r,kr(u.component,u)),i&&void 0===u.directives){u.directives=i;for(var s=0;s<i.length;s++)kr(i[s],u)}kr(u.native,u),t=u}}else for(var d=n,c=d;c=c.parentNode;){var p=hl(c);if(p){if(l=void 0,!(l=Array.isArray(p)?p:p.lView))return null;var f=Er(l,d);if(f>=0){var h;kr(h=el(l[f]),u=xr(l,f,h)),t=u;break}}}return t||null}function xr(n,e,t){return{lView:n,nodeIndex:e,native:t,component:void 0,directives:void 0,localRefs:void 0}}function Sr(n){var e,t=hl(n);if(Array.isArray(t)){var l=Rr(t,n);(o=xr(t,l,(e=sl(l,t))[Dt])).component=n,kr(n,o),kr(o.native,o)}else{var o;e=sl((o=t).nodeIndex,o.lView)}return e}function kr(n,e){n[nl]=e}function Er(n,e){for(var t=n[Ot].firstChild;t;){if(il(t,n)===e)return t.index;t=Tr(t)}return-1}function Tr(n){if(n.child)return n.child;if(n.next)return n.next;for(;n.parent&&!n.parent.next;)n=n.parent;return n.parent&&n.parent.next}function Rr(n,e){var t=n[Ot].components;if(t)for(var l=0;l<t.length;l++){var o=t[l];if(sl(o,n)[Lt]===e)return o}else if(sl(Yt,n)[Lt]===e)return Yt;return-1}function Ir(n,e,t){var l=e[Ot].data[n],o=l.directiveStart;return 0==o?Xe:(!t&&1&l.flags&&o++,e.slice(o,l.directiveEnd))}var Dr=function(){function n(){this._players=[]}return n.prototype.flushPlayers=function(){for(var n=0;n<this._players.length;n++){var e=this._players[n];e.parent||0!==e.state||e.play()}this._players.length=0},n.prototype.queuePlayer=function(n){this._players.push(n)},n}(),Or=0,Fr="@";function Nr(n,e,t,l){var o=[n||null,0,[],t||[null,null],l||[null,null],[0,0],[0],[0],null,null];return Mr(o,Or),o}function Mr(n,e,t,l){void 0===t&&(t=-1);for(var o=n[2],r=2*e,i=r+2,a=o.length;a<i;a+=2)o.push(-1,null);var u=r+0;t>=0&&-1===o[u]&&(o[u]=t,o[r+1]=l||null)}function Ar(n,e){for(var t=n,l=e[t],o=e;Array.isArray(l);)o=l,l=l[Dt];if(ol(o))return o;var r=al(n-Yt,e).stylingTemplate;return o!==e&&(t=Dt),o[t]=r?function(n,e){for(var t=e.slice(),l=0;l<10;l++){var o=e[l];Array.isArray(o)&&(t[l]=o.slice())}return t[0]=n,t[1]|=16,t}(l,r):Nr(l)}function qr(n){return n[0]===Fr}function Pr(n){return 0!=(8&n.flags)}function jr(n){return 0!=(16&n.flags)}function Lr(n,e,t,l,o,r){return r=r||t,o?n[o]=l:n.push(l),!!l&&(l.addEventListener(200,function(){var e=n.indexOf(l);e&&(e<n[0]?n[e]=null:n.splice(e,1)),l.destroy()}),(e.playerHandler||(e.playerHandler=new Dr)).queuePlayer(l,r),!0)}function Vr(n){return n[9]}function Br(n){return n[9]=[5,null,null,null,null]}function zr(n,e){for(var t=Ol()[zt],l=yr(t),o=0;o<e.length;){var r=e[o];if("number"==typeof r){if(0!==r)break;o++;var i=e[o++],a=e[o++],u=e[o++];l?t.setAttribute(n,a,u,i):n.setAttributeNS(i,a,u)}else u=e[++o],qr(a=r)?l&&t.setProperty(n,a,u):l?t.setAttribute(n,a,u):n.setAttribute(a,u),o++}return o}function Ur(n,e){for(var t=e;t<n.length;t++){var l=n[t];if(1===l||2===l)return t}return-1}function Hr(n){return 3===n||4===n||6===n}function Zr(n){return n!==gr}function Wr(n){return 32767&n}function Gr(n){return n>>16}function Kr(n,e){for(var t=Gr(n),l=e;t>0;)l=l[Gt],t--;return l}function Yr(n){var e=n[Nt];return ll(e)?e[Nt]:e}function $r(n){for(var e=n[qt];null!==e&&2===e.type;)e=(n=n[Gt])[qt];return n}function Xr(n){return function(n){for(var e=tl(n)?n:ml(n);e&&!(512&e[Ft]);)e=Yr(e);return e}(n)[Lt]}var Qr=!0;function Jr(n){var e=Qr;return Qr=n,e}var ni=255,ei=0;function ti(n,e){var t=oi(n,e);if(-1!==t)return t;var l=e[Ot];l.firstTemplatePass&&(n.injectorIndex=e.length,li(l.data,n),li(e,null),li(l.blueprint,null));var o=ri(n,e),r=Wr(o),i=Kr(o,e),a=n.injectorIndex;if(Zr(o))for(var u=i[Ot].data,s=0;s<8;s++)e[a+s]=i[r+s]|u[r+s];return e[a+mr]=o,a}function li(n,e){n.push(0,0,0,0,0,0,0,0,e)}function oi(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null==e[n.injectorIndex+mr]?-1:n.injectorIndex}function ri(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;for(var t=e[qt],l=1;t&&-1===t.injectorIndex;)t=(e=e[Gt])?e[qt]:null,l++;return t?t.injectorIndex|l<<16:-1}function ii(n,e,t){!function(n,e,t){var l="string"!=typeof t?t[ot]:t.charCodeAt(0)||0;null==l&&(l=t[ot]=ei++);var o=l&ni,r=1<<o,i=64&o,a=32&o,u=e.data;128&o?i?a?u[n+7]|=r:u[n+6]|=r:a?u[n+5]|=r:u[n+4]|=r:i?a?u[n+3]|=r:u[n+2]|=r:a?u[n+1]|=r:u[n]|=r}(n,e[Ot],t)}function ai(n,e){var t=n.attrs;if(t)for(var l=t.length,o=0;o<l;){var r=t[o];if(Hr(r))break;if(0===r)o+=2;else if("number"==typeof r){if(o++,1===r&&"class"===e){for(var i="";o<l&&"string"==typeof t[o];)i+=" "+t[o++];return i.trim()}if(2===r&&"style"===e){for(var a="";o<l&&"string"==typeof t[o];)a+=t[o++]+": "+t[o++]+"; ";return a.trim()}for(;o<l&&"string"==typeof t[o];)o++}else{if(r===e)return t[o+1];o+=2}}return null}function ui(n,e,t,l,o){if(void 0===l&&(l=S.Default),n){var r=function(n){if("string"==typeof n)return n.charCodeAt(0)||0;var e=n[ot];return"number"==typeof e&&e>0?e&ni:e}(t);if("function"==typeof r){var i=Wl(),a=Ol();Kl(n,e);try{var u=r();if(null!=u||l&S.Optional)return u;throw new Error("No provider for "+Ct(t)+"!")}finally{Kl(i,a)}}else if("number"==typeof r){if(-1===r)return new mi(n,e);var s=null,d=oi(n,e),c=gr,p=l&S.Host?$r(e)[qt]:null;for((-1===d||l&S.SkipSelf)&&(c=-1===d?ri(n,e):e[d+mr],hi(l,!1)?(s=e[Ot],d=Wr(c),e=Kr(c,e)):d=-1);-1!==d;){c=e[d+mr];var f=e[Ot];if(fi(r,d,f.data)){var h=di(d,e,t,s,l,p);if(h!==si)return h}hi(l,e[Ot].data[d+hr]===p)&&fi(r,d,e)?(s=f,d=Wr(c),e=Kr(c,e)):d=-1}}}if(l&S.Optional&&void 0===o&&(o=null),0==(l&(S.Self|S.Host))){var m=e[Vt],v=tn(void 0);try{return m?m.get(t,o,l&S.Optional):an(t,o,l&S.Optional)}finally{tn(v)}}if(l&S.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Ct(t)+"]")}var si={};function di(n,e,t,l,o,r){var i=e[Ot],a=i.data[n+hr],u=ci(a,i,t,null==l?cl(a)&&Qr:l!=i&&3===a.type,o&S.Host&&r===a);return null!==u?pi(i.data,e,u,a):si}function ci(n,e,t,l,o){for(var r=n.providerIndexes,i=e.data,a=65535&r,u=n.directiveStart,s=r>>16,d=o?a+s:n.directiveEnd,c=l?a:a+s;c<d;c++){var p=i[c];if(c<u&&t===p||c>=u&&p.type===t)return c}if(o){var f=i[u];if(f&&pl(f)&&f.type===t)return u}return null}function pi(n,e,t,l){var o,r=e[t];if(null!==(o=r)&&"object"==typeof o&&Object.getPrototypeOf(o)==br.prototype){var i=r;if(i.resolving)throw new Error("Circular dep for "+Ct(n[t]));var a=Jr(i.canSeeViewProviders);i.resolving=!0;var u=void 0;i.injectImpl&&(u=tn(i.injectImpl));var s=Wl(),d=Ol();Kl(l,e);try{r=e[t]=i.factory(null,n,e,l)}finally{i.injectImpl&&tn(u),Jr(a),i.resolving=!1,Kl(s,d)}}return r}function fi(n,e,t){var l=64&n,o=32&n;return!!((128&n?l?o?t[e+7]:t[e+6]:o?t[e+5]:t[e+4]:l?o?t[e+3]:t[e+2]:o?t[e+1]:t[e])&1<<n)}function hi(n,e){return!(n&S.Self||n&S.Host&&e)}var mi=function(){function n(n,e){this._tNode=n,this._lView=e}return n.prototype.get=function(n,e){return ui(this._tNode,this._lView,n,void 0,e)},n}();function vi(n){var e=n,t=vt(e)||gt(e)||bt(e)||D(e)||O(e);return t&&void 0!==t.factory?t.factory:null}function gi(n){var e=vi(Object.getPrototypeOf(n.prototype).constructor);return null!==e?e:function(n){return new n}}function bi(n){return n[de]}function _i(n){return n[ce]}function yi(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];n.error.apply(n,Object(l.__spread)(e))}var wi=function(){function n(){this._console=console}return n.prototype.handleError=function(n){var e=this._findOriginalError(n),t=this._findContext(n),l=function(n){return n[pe]||yi}(n);l(this._console,"ERROR",n),e&&l(this._console,"ORIGINAL ERROR",e),t&&l(this._console,"ERROR CONTEXT",t)},n.prototype._findContext=function(n){return n?bi(n)?bi(n):this._findContext(_i(n)):null},n.prototype._findOriginalError=function(n){for(var e=_i(n);e&&_i(e);)e=_i(e);return e},n}(),Ci={name:"custom-elements"},xi={name:"no-errors-schema"},Si=/([A-Z])/g;function ki(n){try{return null!=n?n.toString().slice(0,30):n}catch(e){return"[ERROR] Exception while trying to serialize the value"}}var Ei={};function Ti(n,e,t,l){var o=n[8];if(null!=o){var r=function(n,e){for(var t=1;t<n.length;t+=3)if(n[t+0]>e)return t;return n.length}(o,e);o.splice(r,0,e,t,l)}}function Ri(n,e){return new Ii(n,e)}var Ii=function(){return function(n,e){this.fn=n,this.value=e}}();function Di(n,e,t){void 0===t&&(t=0);var l=Nr();return Oi(l,n,e,t),l}function Oi(n,e,t,l){if(!(16&n[1])){Mr(n,l);for(var o=null,r=null,i=-1,a=t;a<e.length;a++){var u=e[a];"number"==typeof u?i=u:1==i?Fi(o=o||n[4],u,!0,l):2==i&&Fi(r=r||n[3],u,e[++a],l)}}}function Fi(n,e,t,l){for(var o=2;o<n.length;o+=3)if(n[o+0]===e)return void(Sa(n[o+1],t,n[o+2],l)&&Ia(o,n,e,t,l));Ia(null,n,e,t,l)}function Ni(n,e,t,l){for(var o=e[4],r=l||2;r<o.length;)o[r+1]&&Ui(n,o[r+0],!0,t,null),r+=3;return r}function Mi(n,e,t,l){for(var o=e[3],r=l||2;r<o.length;){var i=o[r+1];i&&zi(n,o[r+0],i,t,null),r+=3}return r}function Ai(n,e,t,l){for(var o=t;o<l;o+=4)if(da(n,o)===e)return o;return-1}function qi(n,e,t){void 0===t&&(t=0),ji(n,e,!0,t)}function Pi(n,e,t){void 0===t&&(t=0),ji(n,e,!1,t)}function ji(n,e,t,l){if(void 0===l&&(l=0),!function(n,e,t,l){return!n[e?6:7][1+4*t+0]&&(l===Ei||Ea(n,e,t)===l)}(n,t,l,e)){var o,r,i,a=(e=e===Ei?Ea(n,t,l):e)instanceof Ii?new _a(e,n[0],t?1:2):null,u=a?e.value:e,s=t?1:3,d=a?s:0,c=!1;ta(n,a,s)&&(la(n,a,s),c=!0);var p=!1;t?("string"==typeof u?(i=u.split(/\s+/),p=!0):i=u?Object.keys(u):Xe,o=Qi(n),r=n.length):(o=Ji(n),r=Qi(n),i=u?Object.keys(u):Xe),function(n,e,t,l,r,i,a,u,s){for(var d=!1,c=1+4*e,p=n[s?6:7],f=p[c+1],h=p[c+3],m=1===p[c+0]||!(p[c+2]||!u),v=0,g=0,b=!0===a,_=o,y=i.length;_<f;){var w=da(n,_);if(y)for(var C=0;C<i.length;C++)if((I=(R=i[C])?s?R:Ta(R):null)&&w===I){var x=sa(n,_),S=ya(n,_),k=!!b||a[I],E=ua(n,_);ba(E,x,k)&&Sa(x,k,S,e)&&(ea(n,_,k),oa(n,_,t,e),ga(n,E,k)&&(Hi(n,_,!0),d=!0)),i[C]=null,y--;break}_+=4}if(y){var T=s?null:xa(n,e);n:for(C=0;C<i.length;C++){var R;if(R=i[C]){k=!!b||a[R];for(var I=s?R:Ta(R),D=_>=f,O=_;O<r;O+=4)if(da(n,O)===I){var F=ya(n,O),N=ra(n,O),M=sa(n,O),A=ua(n,O);Sa(M,k,F,e)&&(D&&(fa(n,_,O),v++),ba(A,M,k)&&((null===k||void 0===k&&k!==M)&&(m=!0),ea(n,_,k),(null!==M||ga(n,A,k))&&(Hi(n,_,!0),d=!0)),F===e&&t===N||oa(n,_,t,e)),_+=4;continue n}null!=k&&(m=!0,v++,ha(n,D?_:f+4*g,s,I,1|va(n,I,s,T),k,e,t),g++,r+=4,_+=4,d=!0)}}}for(;_<r;){m=!0;var q=sa(n,_),P=ua(n,_);ya(n,_),null!=q&&(m=!0),ba(P,q,null)&&(ea(n,_,null),ga(n,P,q)&&(Hi(n,_,!0),d=!0),oa(n,_,t,e)),_+=4}(function(n,e,t,l,o,r,i,a){var u=n[t?6:7],s=1+4*e;if(a)for(var d=o+4*i,c=s+4;c<u.length;c+=4)u[c+1]=d,u[c+0]=1;u[s+0]=0,u[s+1]=o,u[s+2]=l,u[s+3]=i;var p=i;for(c=1;c<s;c+=4)p+=u[c+3];if(!t){var f=n[6],h=r-f[2];for(c=1;c<f.length;c+=4)f[c+1]+=h}u[0]=p})(n,e,s,u,f,r,v,m=m||h!==v),d&&ca(n,!0)}(n,l,d,0,r,i,p||u||$e,e,t),c&&pa(n,!0)}}function Li(n,e,t,l,o){void 0===l&&(l=0),Bi(n,e,t,!0,l,o)}function Vi(n,e,t,l,o){void 0===l&&(l=0),Bi(n,e,t,!1,l,o)}function Bi(n,e,t,l,o,r){var i=Ca(n,o,e,l),a=sa(n,i),u=ua(n,i),s=ya(n,i),d=t instanceof Ii?t.value:t;if(ba(u,a,d)&&(r||Sa(a,d,s,o))){var c=t instanceof Ii?new _a(t,n[0],2==(2&u)?1:2):null,p=c?t.value:t,f=ra(n,i),h=!1,m=c?f:0;if(ta(n,c,f)){var v=la(n,c,f);m=c?v:0,h=!0}if((h||s!==o)&&oa(n,i,m,o),s!==o){var g=da(n,i),b=xa(n,o);!function(n,e,t){b&&b(g,null,1)?n[e]|=4:n[e]&=-5}(n,i)}ea(n,i,p);var _=Xi(u),y=sa(n,_);if(!y||ba(u,y,p)){var w=!1,C=!0;!ma(p)&&ma(y)&&(w=!0,C=!1),Hi(n,_,w),Hi(n,i,C),ca(n,!0)}h&&pa(n,!0)}}function zi(n,e,t,l,o,r,i){t=o&&t?o(e,t,3):t,r||i?(r&&r.setValue(e,t),i&&i.setValue(e,t)):t?(t=t.toString(),yr(l)?l.setStyle(n,e,t,_r.DashCase):n.style.setProperty(e,t)):yr(l)?l.removeStyle(n,e,_r.DashCase):n.style.removeProperty(e)}function Ui(n,e,t,l,o,r){o||r?(o&&o.setValue(e,t),r&&r.setValue(e,t)):""!==e&&(t?yr(l)?l.addClass(n,e):n.classList.add(e):yr(l)?l.removeClass(n,e):n.classList.remove(e))}function Hi(n,e,t){var l=e>=10?e+0:e;t?n[l]|=1:n[l]&=-2}function Zi(n,e){return 1==(1&n[e>=10?e+0:e])}function Wi(n,e){return 2==(2&n[e>=10?e+0:e])}function Gi(n,e){return 4==(4&n[e>=10?e+0:e])}function Ki(n,e,t){return 31&n|e<<5|t<<19}function Yi(n,e){var t=$i(e);return(2&e?n[4]:n[3])[t]}function $i(n){return n>>5&16383}function Xi(n){var e=n>>19&16383;return e>=10?e:-1}function Qi(n){return n[6][2]}function Ji(n){return n[7][2]}function na(n,e,t){n[e+1]=t}function ea(n,e,t){n[e+2]=t}function ta(n,e,t){var l=n[9];if(e){if(!l||0===t)return!0}else if(!l)return!1;return l[t]!==e}function la(n,e,t){var l=n[9]||Br(n);return t>0?l[t]=e:(l.splice(t=l[0],0,e,null),l[0]+=2),t}function oa(n,e,t,l){var o=function(n,e){return t<<16|n}(l);n[e+3]=o}function ra(n,e){return n[e+3]>>16&65535}function ia(n,e){var t=ra(n,e);if(t){var l=n[9];if(l)return l[t]}return null}function aa(n,e,t){n[1===e?e:e+0]=t}function ua(n,e){return n[1===e?e:e+0]}function sa(n,e){return n[e+2]}function da(n,e){return n[e+1]}function ca(n,e){Hi(n,1,e)}function pa(n,e){e?n[1]|=8:n[1]&=-9}function fa(n,e,t){if(e!==t){var l=sa(n,e),o=da(n,e),r=ua(n,e),i=ra(n,e),a=ya(n,e),u=r,s=ua(n,t),d=Xi(u);d>=0&&aa(n,d,Ki(c=ua(n,d),$i(c),t));var c,p=Xi(s);p>=0&&aa(n,p,Ki(c=ua(n,p),$i(c),e)),ea(n,e,sa(n,t)),na(n,e,da(n,t)),aa(n,e,ua(n,t)),oa(n,e,ra(n,t),ya(n,t)),ea(n,t,l),na(n,t,o),aa(n,t,r),oa(n,t,i,a)}}function ha(n,e,t,l,o,r,i,a){var u=e<n.length;n.splice(e,0,1|o|(t?2:0),l,r,0),oa(n,e,a,i),u&&function(n,t){for(var l=e+4;l<n.length;l+=4){var o=Xi(ua(n,l));if(o>0){var r=$i(ua(n,o));aa(n,o,Ki((Zi(n,o)?1:0)|(Wi(n,o)?2:0)|(Gi(n,o)?4:0),r,l))}}}(n)}function ma(n,e){return null!==n}function va(n,e,t,l){var o,r=l&&l(e,null,1)?4:0;return t?(r|=2,o=wa(n[4],e)):o=wa(n[3],e),Ki(r,o=o>0?o+1:0,0)}function ga(n,e,t){var l=Yi(n,e);return!l||ba(e,l,t)}function ba(n,e,t){return!(2&n)&&e&&t&&4&n?e.toString()!==t.toString():e!==t}var _a=function(){function n(n,e,t){this._element=e,this._type=t,this._values={},this._dirty=!1,this._factory=n}return n.prototype.setValue=function(n,e){this._values[n]!==e&&(this._values[n]=e,this._dirty=!0)},n.prototype.buildPlayer=function(n,e){if(this._dirty){var t=this._factory.fn(this._element,this._type,this._values,e,n||null);return this._values={},this._dirty=!1,t}},n}();function ya(n,e){return 65535&n[e+3]}function wa(n,e){for(var t=2;t<n.length;t+=3)if(n[t]===e)return t;return-1}function Ca(n,e,t,l){var o=n[2][2*e+0],r=n[5];return r[o+2+(l?r[o+0]:0)+t]}function xa(n,e){var t=n[2];return t[2*e+1]||t[1]||null}function Sa(n,e,t,l){return null==n||(null!=e?l<=t:t===l)}function ka(n){var e=n[4],t=e[1];if(null===t){t="";for(var l=2;l<e.length;l+=3)e[l+1]&&(t+=(t.length?" ":"")+e[l]);e[1]=t}return t}function Ea(n,e,t){return n[e?6:7][1+4*t+2]||null}function Ta(n){return n.replace(/[a-z][A-Z]/g,function(n){return n.charAt(0)+"-"+n.charAt(1).toLowerCase()})}function Ra(n,e,t,l,o){void 0===o&&(o=0);var r=n[t?6:7];if(e>0)for(var i=1+4*e;r.length<i;)r.push(0,l,null,0);r.push(0,l,null,o)}function Ia(n,e,t,l,o){return null===n&&(n=e.length,e.push(null,null,null),e[n+0]=t),e[n+1]=l,e[n+2]=o,n}var Da="ng-template";function Oa(n,e){var t=n.length,l=n.indexOf(e),o=l+e.length;return!(-1===l||l>0&&" "!==n[l-1]||o<t&&" "!==n[o])}function Fa(n,e,t){return e===(0!==n.type||t?n.tagName:Da)}function Na(n,e,t){for(var l=4,o=n.attrs||[],r=function(n){for(var e=0;e<n.length;e++)if(Hr(n[e]))return e;return n.length}(o),i=!1,a=0;a<e.length;a++){var u=e[a];if("number"!=typeof u){if(!i)if(4&l){if(l=2|1&l,""!==u&&!Fa(n,u,t)||""===u&&1===e.length){if(Ma(l))return!1;i=!0}}else{var s=8&l?u:e[++a];if(8&l&&n.stylingTemplate){if(!Oa(Aa(n),s)){if(Ma(l))return!1;i=!0}continue}var d=qa(8&l?"class":u,o,0==n.type&&n.tagName!==Da,t);if(-1===d){if(Ma(l))return!1;i=!0;continue}if(""!==s){var c;c=d>r?"":o[d+1];var p=8&l?c:null;if(p&&!Oa(p,s)||2&l&&s!==c){if(Ma(l))return!1;i=!0}}}}else{if(!i&&!Ma(l)&&!Ma(u))return!1;if(i&&Ma(u))continue;i=!1,l=u|1&l}}return Ma(l)||i}function Ma(n){return 0==(1&n)}function Aa(n){return n.stylingTemplate?ka(n.stylingTemplate):""}function qa(n,e,t,l){if(null===e)return-1;var o=0;if(l||!t){for(var r=!1;o<e.length;){var i=e[o];if(i===n)return o;if(3===i||6===i)r=!0;else{if(1===i){for(var a=e[++o];"string"==typeof a;)a=e[++o];continue}if(4===i)break;if(0===i){o+=4;continue}}o+=r?1:2}return-1}return function(n,e){var t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){if(n[t]===e)return t;t++}return-1}(e,n)}function Pa(n,e,t){void 0===t&&(t=!1);for(var l=0;l<e.length;l++)if(Na(n,e[l],t))return!0;return!1}function ja(n,e){n:for(var t=0;t<e.length;t++){var l=e[t];if(n.length===l.length){for(var o=0;o<n.length;o++)if(n[o]!==l[o])continue n;return!0}}return!1}var La,Va={marker:"element"},Ba={marker:"comment"},za=0;function Ua(){return za>0}function Ha(n){La=n}function Za(){return La}var Wa="--MAP--";function Ga(n,e,t,l){return da(n,Ca(n,t,e,l))}function Ka(n,e){n[1]=e}function Ya(n){return n[0]}function $a(n,e){return n[e+2]}function Xa(n,e){return 1&n[e+0]}function Qa(n,e){return(1&Xa(n,e))>0}function Ja(n,e){return n[e+0]>>1}function nu(n,e,t){var l=Xa(n,e);n[e+0]=l|t<<1}function eu(n,e){return n[e+1]}function tu(n,e,t){return n[e+3+t]}function lu(n,e){return e===n[1]}function ou(n){!function(n,e){n[0]=e}(n,1|Ya(n))}function ru(n){return(1&Ya(n))>0}function iu(n){return 5+n[3]}function au(n,e){return(Array.isArray(n)?n[0]:n)!==(Array.isArray(e)?e[0]:e)}function uu(n){return null!=n&&""!==n}function su(n){var e=Za()||n[Ut];return e&&"function"!=typeof e?(Ha(e),du):e}var du=function(n,e,t){var l=Za();return l?!(2&t)||l.sanitize(nr.STYLE,e):e},cu=null,pu=1,fu=1,hu=0,mu=1,vu=mu,gu=mu,bu=0,_u=0,yu=[];function wu(n,e,t,l,o,r,i){var a=t?gu++:hu;(xu(n,e,a,t,l,o,r,i,!1)||i)&&(_u|=1<<a)}function Cu(n,e,t,l,o,r,i,a){var u=!t,s=u?hu:vu++;(xu(n,e,s,t,l,o,i,a,!!u||!!r&&r(t,null,1))||a)&&(bu|=1<<s)}function xu(n,e,t,l,o,r,i,a,u){ru(n)||(i?function(n,e,t,l,o){yu.unshift(n,e,t,l,o)}(n,t,l,o,u):(yu.length&&Su(),ku(n,t,l,o,u)));var s=a||au(e[o],r);return s&&(e[o]=r),s}function Su(){for(var n=0;n<yu.length;)ku(yu[n++],yu[n++],yu[n++],yu[n++],yu[n++]);yu.length=0}function ku(n,e,t,l,o){if(t){for(var r=!1,i=iu(n);i<n.length;){var a=eu(n,i),u=$a(n,i);if(r=t<=u){t<u&&Eu(n,i,t,o),Tu(n,!1,i,l,e);break}i+=3+a}r||(Eu(n,n.length,t,o),Tu(n,!1,i,l,e))}else Tu(n,!0,2,l,e)}function Eu(n,e,t,l){n.splice(e,0,l?1:0,pu,t,cu),nu(n,e,fu)}function Tu(n,e,t,l,o){var r=t+3+eu(n,t);e||r--,"number"==typeof l?(n.splice(r,0,l),n[t+1]++,nu(n,t,Ja(n,t)|1<<o)):"string"==typeof l&&null==n[r]&&(n[r]=l)}function Ru(n,e,t,l,o,r,i){yu.length&&Su();for(var a=!0===o?-1:!1===o?0:o,u=Iu,s=(a&Ja(n,2))>0?1:0,d=iu(n);d<n.length;){var c=eu(n,d);if(a&Ja(n,d)){for(var p=!1,f=$a(n,d),h=c-1,m=tu(n,d,h),v=0;v<h;v++){var g=tu(n,d,v),b=l[g];if(uu(b)){r(e,t,f,i&&Qa(n,d)?i(f,b,2):b,g),p=!0;break}}if(u){var _=u(n,e,t,l,r,i,s|(p?4:2),f,m);p=p||_}p||r(e,t,f,m)}d+=3+c}u&&u(n,e,t,l,r,i,s)}var Iu=null,Du=function(n,e,t,l){l?(l=l.toString(),n&&yr(n)?n.setStyle(e,t,l,_r.DashCase):e.style.setProperty(t,l)):n&&yr(n)?n.removeStyle(e,t,_r.DashCase):e.style.removeProperty(t)},Ou=function(n,e,t,l){""!==t&&(l?n&&yr(n)?n.addClass(e,t):e.classList.add(t):n&&yr(n)?n.removeClass(e,t):e.classList.remove(t))},Fu=function(n,e,t,l,o,r,i,a,u){var s=!1;if(eu(n,2)){var d=!0,c=!a;c&&-2&i&&(d=!1,s=!0),d&&(s=function n(e,t,l,o,r,i,a,u,s,d){var c=!1;if(s<eu(e,2)){for(var p=tu(e,2,s),f=o[p],h=function(n){return n>=Au.length&&Au.push(1),Au[n]}(s);h<f.length;){var m=qu(f,h),v=u&&m>u,g=!v&&m===u,b=f[h+1],_=uu(b),y=n(e,t,l,o,r,i,v?a:Nu(a,_,g),v?u:m,s+1,d);if(v)break;if(!y&&Mu(a,g)){var w=g&&!_,C=w?d:b,x=w?p:null;r(t,l,m,i?i(m,C,3):C,x),y=!0}c=y&&g,h+=2}Au[s]=h}return c}(n,e,t,l,o,r,i,a||null,0,u||null)),c&&function(){for(var n=0;n<Au.length;n++)Au[n]=1}()}return s};function Nu(n,e,t){var l=n;return e||!t||4&n?(l|=4,l&=-3):(l|=2,l&=-5),l}function Mu(n,e){var t=(1&n)>0;return t?4&n&&e&&(t=!1):2&n&&(t=e),t}var Au=[];function qu(n,e){return n[e+0]}function Pu(n,e,t){n[e+1]=t}function ju(n){Lu(Ol(),n)}function Lu(n,e){yl(n,n[Ot],no(),e),ho(e)}var Vu=function(){return Promise.resolve(null)}();function Bu(n){var e=n[Ot],t=Xl(n);if(e.firstTemplatePass=!1,n[Pt]=e.bindingStartIndex,!t){var l=no();yl(n,e,l,void 0),function(n){for(var e=n[Ht];null!==e;e=e[Mt])if(-1===e[Xt]&&ll(e))for(var t=Jt;t<e.length;t++){var l=e[t];Gu(l,l[Ot],l[Lt])}}(n),zu(e,n),gl(n),wl(n,e.contentHooks,e.contentCheckHooks,l,1,void 0),function(n,e){var t=fo();try{if(n.expandoInstructions){var l=e[Pt]=n.expandoStartIndex;oo(l);for(var o=-1,r=-1,i=0;i<n.expandoInstructions.length;i++){var a=n.expandoInstructions[i];if("number"==typeof a){if(a<=0){Ll(r=-a);var u=n.expandoInstructions[++i];o=l+=vr+u}else l+=a;oo(l)}else null!==a&&(e[Pt]=l,a(2,el(e[o]),r),Bl()),o++}}}finally{Ll(t)}}(e,n)}t&&e.staticContentQueries&&zu(e,n),function(n){if(null!=n)for(var e=0;e<n.length;e++)bs(n[e])}(e.components)}function zu(n,e){if(null!=n.contentQueries){ao(0);for(var t=0;t<n.contentQueries.length;t++){var l=n.contentQueries[t];n.data[l].contentQueries(2,e[l],l)}}}function Uu(n,e){var t=e||Ol()[zt],l=mo;return yr(t)?t.createElement(n,l):null===l?t.createElement(n):t.createElementNS(l,n)}function Hu(n,e,t,l,o,r,i,a,u,s){var d=e.blueprint.slice();return d[Dt]=o,d[Ft]=140|l,gl(d),d[Nt]=d[Gt]=n,d[Lt]=t,d[Bt]=i||n&&n[Bt],d[zt]=a||n&&n[zt],d[Ut]=u||n&&n[Ut]||null,d[Vt]=s||n&&n[Vt]||null,d[qt]=r,d}function Zu(n,e,t,l,o,r){var i=t+Yt,a=n.data[i]||function(n,e,t,l,o,r,i){var a=Wl(),u=Yl(),s=u?a:a&&a.parent,d=n.data[t]=ls(s&&s!==e?s:null,l,t,o,r);return 0!==i&&n.firstChild||(n.firstChild=d),a&&(!u||null!=a.child||null===d.parent&&2!==a.type?u||(a.next=d):a.child=d),d}(n,e,i,l,o,r,t);return Gl(a,!0),a}function Wu(n,e,t,l){var o=n.node;return null==o&&(n.node=o=ls(e,2,t,null,null)),l[qt]=o}function Gu(n,e,t){var l,o=Yl(),r=Wl();if(512&n[Ft])Cs(Xr(n));else{var i=!1;try{Gl(null,!0),l=uo(n,n[qt]),gl(n),Yu(n,e.template,$u(n),t),n[Ot].firstTemplatePass=!1,Bu(n),i=!0}finally{co(l,i),Gl(r,o)}}}function Ku(n,e,t){var l=n[Bt],o=uo(n,n[qt]),r=!no(),i=Xl(n),a=!1;try{r&&!i&&l.begin&&l.begin(),i&&(t&&Yu(n,t,1,e),Bu(n),n[Ft]&=-5),gl(n),t&&Yu(n,t,2,e),Bu(n),a=!0}finally{r&&!i&&l.end&&l.end(),co(o,a)}}function Yu(n,e,t,l){bo();var o=fo();try{Ll(null),2&t&&Lu(n,0),e(t,l)}finally{ho(o)}}function $u(n){return Xl(n)?1:2}function Xu(n,e,t,l){if(n.firstTemplatePass&&!e.stylingTemplate){var o=Ur(t,l);o>=0&&(e.stylingTemplate=Di(t,o))}}function Qu(n,e,t){if(dl(e))for(var l=e.directiveEnd,o=e.directiveStart;o<l;o++){var r=n.data[o];r.contentQueries&&r.contentQueries(1,t[o],o)}}function Ju(n,e,t,l){if(void 0===l&&(l=il),El){var o=Wl();n.firstTemplatePass&&function(n,e,t,l,o){var r=o?{"":-1}:null;if(t){fs(l,n.data.length,t.length);for(var i=0;i<t.length;i++)(d=t[i]).providersResolver&&d.providersResolver(d);us(n,l,t.length);var a=n.preOrderHooks&&n.preOrderHooks.length||0,u=n.preOrderCheckHooks&&n.preOrderCheckHooks.length||0,s=l.index-Yt;for(i=0;i<t.length;i++){var d,c=n.data.length;hs(n,e,d=t[i],d.factory),ps(n.data.length-1,d,r),bl(c,d,n,s,a,u)}}r&&function(n,e,t){if(e)for(var l=n.localNames=[],o=0;o<e.length;o+=2){var r=t[e[o+1]];if(null==r)throw new Error("Export of name '"+e[o+1]+"' not found!");l.push(e[o],r)}}(l,o,r)}(n,e,function(n,e,t){var l=n.directiveRegistry,o=null;if(l)for(var r=0;r<l.length;r++){var i=l[r];Pa(t,i.selectors,!1)&&(o||(o=[]),ii(ti(Wl(),e),e,i.type),pl(i)?(1&t.flags&&jn(t),t.flags=1,o.unshift(i)):o.push(i))}return o}(n,e,o),o,t||null),function(n,e,t){var l=t.directiveStart,o=t.directiveEnd;!n.firstTemplatePass&&l<o&&ti(t,e);for(var r=l;r<o;r++){var i=n.data[r];pl(i)&&ms(e,t,i),ss(e,pi(n.data,e,r,t),i,r)}}(n,e,o),function(n,e,t){var l=t.directiveStart,o=t.directiveEnd,r=n.expandoInstructions,i=n.firstTemplatePass,a=t.index-Yt,u=fo();try{Ll(a);for(var s=l;s<o;s++){var d=n.data[s];d.hostBindings?(as(d,r,e[s],t,i),Bl()):i&&r.push(null)}}finally{Ll(u)}}(n,e,o),function(n,e,t){var l=e.localNames;if(l)for(var o=e.index+1,r=0;r<l.length;r+=2){var i=l[r+1],a=-1===i?t(e,n):n[i];n[o++]=a}}(e,o,l),Ll(null)}}function ns(n){return n.tView||(n.tView=es(-1,n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas))}function es(n,e,t,l,o,r,i,a){var u=Yt+t,s=u+l,d=function(n,e){var t=new Array(e).fill(null,0,n).fill(Ei,n);return t[Pt]=n,t}(u,s);return d[Ot]={id:n,blueprint:d,template:e,viewQuery:i,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,viewQueryStartIndex:s,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!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 r?r():r,firstChild:null,schemas:a}}function ts(n,e){var t=n.createRenderer(null,null);return"string"==typeof e?yr(t)?t.selectRootElement(e):t.querySelector(e):e}function ls(n,e,t,l,o){return{type:e,index:t,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyMetadataStartIndex:-1,propertyMetadataEndIndex:-1,flags:0,providerIndexes:0,tagName:l,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:n,stylingTemplate:null,projection:null,onElementCreationFns:null,newStyles:null,newClasses:null}}function os(n,e){var t=Ol()[Ot],l=null,o=n.directiveStart,r=n.directiveEnd;if(r>o)for(var i=0===e,a=t.data,u=o;u<r;u++){var s=a[u],d=i?s.inputs:s.outputs;for(var c in d)if(d.hasOwnProperty(c)){var p=d[c];(l=l||{}).hasOwnProperty(c)?l[c].push(u,c,p):l[c]=[u,c,p]}}return l}var rs={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"};function is(n,e,t,l,o,r){var i,a,u=Ol(),s=rl(n,u),d=al(n,u);if(!o&&(i=Is(d))&&(a=i[e]))Ms(u,a,t),cl(d)&&function(e,t){var l=sl(n+Yt,e);16&l[Ft]||(l[Ft]|=64)}(u);else if(3===d.type){!function(n,e,t,l,o){var r=e[Pt]-1,i=l[r];i[0]==Tt&&(l[r]=t+i,o||(-1==n.propertyMetadataStartIndex&&(n.propertyMetadataStartIndex=r),n.propertyMetadataEndIndex=r+1))}(d,u,e=rs[e]||e,u[Ot].data,o);var c=r?r(d,u):u[zt];t=null!=l?l(t,d.tagName||"",e):t,yr(c)?c.setProperty(s,e,t):qr(e)||(s.setProperty?s.setProperty(e,t):s[e]=t)}}function as(n,e,t,l,o){var r=e.length;Rl(n),n.hostBindings(1,t,l.index-Yt),Rl(null),r===e.length&&o&&e.push(n.hostBindings)}function us(n,e,t){var l=-(e.index-Yt),o=n.data.length-(65535&e.providerIndexes);(n.expandoInstructions||(n.expandoInstructions=[])).push(l,o,t)}function ss(n,e,t,l){var o=Wl();ds(n,o,e),o&&o.attrs&&function(n,e,t,l){var r=o.initialInputs;(void 0===r||n>=r.length)&&(r=function(n,e,t){for(var l=t.initialInputs||(t.initialInputs=[]),o=l.length;o<=n;o++)l.push(null);for(var r=t.attrs,i=0;i<r.length;){var a=r[i];if(0!==a)if(5!==a){if("number"==typeof a)break;var u=e[a],s=r[i+1];void 0!==u&&(l[n]||(l[n]=[])).push(a,u,s),i+=2}else i+=2;else i+=4}return l}(n,t.inputs,o));var i=r[n];if(i)for(var a=t.setInput,u=0;u<i.length;){var s=i[u++],d=i[u++],c=i[u++];a?t.setInput(e,c,s,d):e[d]=c}}(l,e,t),n[Ot].firstTemplatePass&&t.contentQueries&&(o.flags|=4),pl(t)&&(sl(o.index,n)[Lt]=e)}function ds(n,e,t){var l=il(e,n);kr(t,n),l&&kr(l,n)}function cs(n){var e=Ol()[Ot];(e.components||(e.components=[])).push(n.index)}function ps(n,e,t){if(t){if(e.exportAs)for(var l=0;l<e.exportAs.length;l++)t[e.exportAs[l]]=n;e.template&&(t[""]=n)}}function fs(n,e,t){n.flags=1&n.flags,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function hs(n,e,t,l){n.data.push(t);var o=new br(l,pl(t),null);n.blueprint.push(o),e.push(o)}function ms(n,e,t){var l=il(e,n),o=ns(t),r=n[Bt],i=_s(n,Hu(n,o,null,t.onPush?64:16,n[e.index],e,r,r.createRenderer(l,t)));i[qt]=e,n[e.index]=i,n[Ot].firstTemplatePass&&cs(e)}function vs(n,e,t,l,o,r){var i=rl(n,l),a=l[zt];if(null==t)yr(a)?a.removeAttribute(i,e,r):i.removeAttribute(e);else{var u=al(n,l),s=null==o?wt(t):o(t,u.tagName||"",e);yr(a)?a.setAttribute(i,e,s,r):r?i.setAttributeNS(r,e,s):i.setAttribute(e,s)}}function gs(n,e,t,l,o){return new Array(n,!0,o?-1:0,e,null,null,l,t,null)}function bs(n){var e=Ol(),t=sl(n,e);(128==(128&t[Ft])||Xl(e))&&80&t[Ft]&&(function(n){for(var e=n[Ot],t=n.length;t<e.blueprint.length;t++)n[t]=e.blueprint[t]}(t),ks(t,t[Lt]))}function _s(n,e){return n[Ht]?n[Zt][Mt]=e:n[Ht]=e,n[Zt]=e,e}function ys(n){for(;n;){n[Ft]|=64;var e=Yr(n);if(fl(n)&&!e)return n;n=e}return null}function ws(n,e){var t,l=0===n.flags;n.flags|=e,l&&n.clean==Vu&&(n.clean=new Promise(function(n){return t=n}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Cs(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=Vu,t(null)}))}function Cs(n){for(var e=0;e<n.components.length;e++){var t=n.components[e];Ku(ml(t),t)}}function xs(n,e){var t=n[Bt];t.begin&&t.begin();try{Xl(n)&&ks(n,e),ks(n,e)}catch(l){throw Ns(n,l),l}finally{t.end&&t.end()}}function Ss(n){Cs(n[Lt])}function ks(n,e){var t=n[Ot],l=uo(n,n[qt]),o=t.template,r=Xl(n),i=!1;try{gl(n),r&&Es(1,t,e),Yu(n,o,$u(n),e),Bu(n),r&&!t.staticViewQueries||Es(2,t,e),i=!0}finally{co(l,i)}}function Es(n,e,t){var l=e.viewQuery;l&&(ao(e.viewQueryStartIndex),l(n,t))}function Ts(n,e,t){void 0===e&&(e=""),void 0===t&&(t="");var l=n[Ot].data,o=n[Pt]-1;return null==l[o]?l[o]=Tt+e+Tt+t:null}var Rs=Vu;function Is(n){return void 0===n.inputs&&(n.inputs=os(n,0)),n.inputs}function Ds(n){return n[jt]||(n[jt]=[])}function Os(n){return n[Ot].cleanup||(n[Ot].cleanup=[])}function Fs(n,e){return e[n.index][zt]}function Ns(n,e){var t=n[Vt],l=t?t.get(wi,null):null;l&&l.handleError(e)}function Ms(n,e,t){for(var l=n[Ot],o=0;o<e.length;){var r=e[o++],i=e[o++],a=e[o++],u=n[r],s=l.data[r];s.setInput?s.setInput(u,t,i,a):u[a]=t}}function As(n,e,t){var l=rl(e,n),o=n[zt];yr(o)?o.setValue(l,t):l.textContent=t}function qs(n){var e;if(e=n.onElementCreationFns){for(var t=0;t<e.length;t++)e[t]();n.onElementCreationFns=null}}function Ps(n){var e=Ol(),t=e[Ot];t.firstTemplatePass&&(function(n,e,t){var l=n.expandoInstructions,o=l.length;o>=2&&l[o-2]===e.hostBindings?l[o-1]=l[o-1]+t:l.push(e.hostBindings,t)}(t,Tl,n),function(n,e,t){for(var l=0;l<t;l++)e.push(Ei),n.blueprint.push(Ei),n.data.push(null)}(t,e,n))}var js=null;function Ls(){if(!js){var n=z.Symbol;if(n&&n.iterator)js=n.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),t=0;t<e.length;++t){var l=e[t];"entries"!==l&&"size"!==l&&Map.prototype[l]===Map.prototype.entries&&(js=l)}}return js}function Vs(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}function Bs(n,e){var t=Us(n),l=Us(e);return t&&l?function(n,e,t){for(var l=n[Ls()](),o=e[Ls()]();;){var r=l.next(),i=o.next();if(r.done&&i.done)return!0;if(r.done||i.done)return!1;if(!t(r.value,i.value))return!1}}(n,e,Bs):!(t||!n||"object"!=typeof n&&"function"!=typeof n||l||!e||"object"!=typeof e&&"function"!=typeof e)||Vs(n,e)}var zs=function(){function n(n){this.wrapped=n}return n.wrap=function(e){return new n(e)},n.unwrap=function(e){return n.isWrapped(e)?e.wrapped:e},n.isWrapped=function(e){return e instanceof n},n}();function Us(n){return!!Hs(n)&&(Array.isArray(n)||!(n instanceof Map)&&Ls()in n)}function Hs(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Zs(n,e,t){return n[e]=t}function Ws(n,e){return n[e]}function Gs(n,e,t){var l,o;return o=t,((l=n[e])==l||o==o)&&l!==o&&(n[e]=t,!0)}function Ks(n,e,t,l){var o=Gs(n,e,t);return Gs(n,e+1,l)||o}function Ys(n,e,t,l,o){var r=Ks(n,e,t,l);return Gs(n,e+2,o)||r}function $s(n,e,t,l,o,r){var i=Ks(n,e,t,l);return Ks(n,e+2,o,r)||i}function Xs(n,e,t,l){var o=fo(),r=Qs(Ol(),e);return r!==Ei&&is(o,n,r,t,l),Xs}function Qs(n,e){var t=n[Pt]++;return Ts(n),Gs(n,t,e)?e:Ei}function Js(n,e,t,l){var o=fo(),r=Qs(Ol(),e);r!==Ei&&is(o,n,r,t,l,Fs)}function nd(n,e,t,l){var o=fo(),r=Ol(),i=Qs(r,e);return i!==Ei&&vs(o,n,i,r,t,l),nd}function ed(n){var e=!1,t=Ol(),l=t[Ot].data,o=t[Pt];if(null==l[o]){for(var r=2;r<n.length;r+=2)l[o++]=n[r];o=t[Pt]}for(r=1;r<n.length;r+=2)e=Gs(t,o++,n[r])||e;if(t[Pt]=o,Ts(t,n[0],n[n.length-1]),!e)return Ei;var i=n[0];for(r=1;r<n.length;r+=2)i+=wt(n[r])+n[r+1];return i}function td(n,e,t){var l=Ol(),o=Gs(l,l[Pt]++,e);return Ts(l,n,t),o?n+wt(e)+t:Ei}function ld(n,e,t,l,o){var r=Ol(),i=r[Pt],a=Ks(r,i,e,l);return r[Pt]+=2,Ts(r,n,o)&&(r[Ot].data[i]=t),a?n+wt(e)+t+wt(l)+o:Ei}function od(n,e,t,l,o,r,i){var a=Ol(),u=a[Pt],s=Ys(a,u,e,l,r);if(a[Pt]+=3,Ts(a,n,i)){var d=a[Ot].data;d[u]=t,d[u+1]=o}return s?n+wt(e)+t+wt(l)+o+wt(r)+i:Ei}function rd(n,e,t,l,o,r,i,a,u){var s=Ol(),d=s[Pt],c=$s(s,d,e,l,r,a);if(s[Pt]+=4,Ts(s,n,u)){var p=s[Ot].data;p[d]=t,p[d+1]=o,p[d+2]=i}return c?n+wt(e)+t+wt(l)+o+wt(r)+i+wt(a)+u:Ei}function id(n,e,t,l,o,r,i,a,u,s,d){var c=Ol(),p=c[Pt],f=$s(c,p,e,l,r,a);if(f=Gs(c,p+4,s)||f,c[Pt]+=5,Ts(c,n,d)){var h=c[Ot].data;h[p]=t,h[p+1]=o,h[p+2]=i,h[p+3]=u}return f?n+wt(e)+t+wt(l)+o+wt(r)+i+wt(a)+u+wt(s)+d:Ei}function ad(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=Ol(),h=f[Pt],m=$s(f,h,e,l,r,a);if(m=Ks(f,h+4,s,c)||m,f[Pt]+=6,Ts(f,n,p)){var v=f[Ot].data;v[h]=t,v[h+1]=o,v[h+2]=i,v[h+3]=u,v[h+4]=d}return m?n+wt(e)+t+wt(l)+o+wt(r)+i+wt(a)+u+wt(s)+d+wt(c)+p:Ei}function ud(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h){var m=Ol(),v=m[Pt],g=$s(m,v,e,l,r,a);if(g=Ys(m,v+4,s,c,f)||g,m[Pt]+=7,Ts(m,n,h)){var b=m[Ot].data;b[v]=t,b[v+1]=o,b[v+2]=i,b[v+3]=u,b[v+4]=d,b[v+5]=p}return g?n+wt(e)+t+wt(l)+o+wt(r)+i+wt(a)+u+wt(s)+d+wt(c)+p+wt(f)+h:Ei}function sd(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=Ol(),b=g[Pt],_=$s(g,b,e,l,r,a);if(_=$s(g,b+4,s,c,f,m)||_,g[Pt]+=8,Ts(g,n,v)){var y=g[Ot].data;y[b]=t,y[b+1]=o,y[b+2]=i,y[b+3]=u,y[b+4]=d,y[b+5]=p,y[b+6]=h}return _?n+wt(e)+t+wt(l)+o+wt(r)+i+wt(a)+u+wt(s)+d+wt(c)+p+wt(f)+h+wt(m)+v:Ei}function dd(n,e,t,l,o,r){var i=fo(),a=Ol(),u=td(e,t,l);return u!==Ei&&vs(i,n,u,a,o,r),dd}function cd(n,e,t,l,o,r,i,a){var u=fo(),s=Ol(),d=ld(e,t,l,o,r);return d!==Ei&&vs(u,n,d,s,i,a),cd}function pd(n,e,t,l,o,r,i,a,u,s){var d=fo(),c=Ol(),p=od(e,t,l,o,r,i,a);return p!==Ei&&vs(d,n,p,c,u,s),pd}function fd(n,e,t,l,o,r,i,a,u,s,d,c){var p=fo(),f=Ol(),h=rd(e,t,l,o,r,i,a,u,s);return h!==Ei&&vs(p,n,h,f,d,c),fd}function hd(n,e,t,l,o,r,i,a,u,s,d,c,p,f){var h=fo(),m=Ol(),v=id(e,t,l,o,r,i,a,u,s,d,c);return v!==Ei&&vs(h,n,v,m,p,f),hd}function md(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m){var v=fo(),g=Ol(),b=ad(e,t,l,o,r,i,a,u,s,d,c,p,f);return b!==Ei&&vs(v,n,b,g,h,m),md}function vd(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g){var b=fo(),_=Ol(),y=ud(e,t,l,o,r,i,a,u,s,d,c,p,f,h,m);return y!==Ei&&vs(b,n,y,_,v,g),vd}function gd(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b,_){var y=fo(),w=Ol(),C=sd(e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g);return C!==Ei&&vs(y,n,C,w,b,_),gd}function bd(n,e,t,l){var o=fo(),r=Ol(),i=ed(e);return i!==Ei&&vs(o,n,i,r,t,l),bd}function _d(n){xs(Sr(n),n)}function yd(n){ws(ys(Sr(n))[Lt],1)}function wd(n,e){var t=e[Nt];return-1===n.index?ll(t)?t:null:t}function Cd(n,e){var t=wd(n,e);return t?Md(e[zt],t[Qt]):null}function xd(n,e,t,l,o){var r,i=!1;ll(l)?r=l:tl(l)&&(i=!0,l=l[Dt]);var a=el(l);0===n?Fd(e,t,a,o||null):1===n?Pd(e,a,i):2===n&&e.destroyNode(a),null!=r&&function(n,e,t,l,o){var r=t[Qt];r!==el(t)&&xd(e,n,l,r,o);for(var i=Jt;i<t.length;i++)Bd(n,e,t[i],l,r)}(e,n,r,t,o)}function Sd(n,e){return yr(e)?e.createText(wt(n)):e.createTextNode(wt(n))}function kd(n,e,t){var l=Cd(n[Ot].node,n);l&&Bd(n[zt],e?0:1,n,l,t)}function Ed(n,e,t){var l=Jt+t,o=e.length;t>0&&(e[l-1][Mt]=n),t<o-Jt?(n[Mt]=e[l],e.splice(Jt+t,0,n)):(e.push(n),n[Mt]=null),n[Nt]=e,n[At]&&n[At].insertView(t),n[Ft]|=128}function Td(n,e){if(!(n.length<=Jt)){var t=Jt+e,l=n[t];return l&&(e>0&&(n[t-1][Mt]=l[Mt]),n.splice(Jt+e,1),kd(l,!1),128&l[Ft]&&!(256&l[Ft])&&l[At]&&l[At].removeView(),l[Nt]=null,l[Mt]=null,l[Ft]&=-129),l}}function Rd(n,e){var t=Td(n,e);t&&Id(t)}function Id(n){if(!(256&n[Ft])){var e=n[zt];yr(e)&&e.destroyNode&&Bd(e,2,n,null,null),function(n){var e=n[Ht];if(!e)return Od(n);for(;e;){var t=null;if(tl(e))t=e[Ht];else{var l=e[Jt];l&&(t=l)}if(!t){for(;e&&!e[Mt]&&e!==n;)Od(e),e=Dd(e,n);Od(e||n),t=e&&e[Mt]}e=t}}(n)}}function Dd(n,e){var t;return tl(n)&&(t=n[qt])&&2===t.type?wd(t,n):n[Nt]===e?null:n[Nt]}function Od(n){if(tl(n)&&!(256&n[Ft])){n[Ft]&=-129,n[Ft]|=256,function(n){var e,t=n[Ot];if(null!=t&&null!=(e=t.destroyHooks))for(var l=0;l<e.length;l+=2){var o=n[e[l]];o instanceof br||e[l+1].call(o)}}(n),function(n){var e=n[Ot].cleanup;if(null!==e){for(var t=n[jt],l=0;l<e.length-1;l+=2)if("string"==typeof e[l]){var o=e[l+1],r="function"==typeof o?o(n):el(n[o]),i=e[l+3];"boolean"==typeof i?r.removeEventListener(e[l],t[e[l+2]],i):i>=0?t[i]():t[-i].unsubscribe(),l+=2}else e[l].call(t[e[l+1]]);n[jt]=null}}(n);var e=n[qt];e&&3===e.type&&yr(n[zt])&&n[zt].destroy(),vl(n)&&n[At]&&n[At].removeView()}}function Fd(n,e,t,l){yr(n)?n.insertBefore(e,t,l):e.insertBefore(t,l,!0)}function Nd(n,e,t,l){null!==l?Fd(n,e,t,l):function(n,e,t){yr(n)?n.appendChild(e,t):e.appendChild(t)}(n,e,t)}function Md(n,e){return yr(n)?n.parentNode(e):e.parentNode}function Ad(n,e,t){var o,r,i=function(n,e){if(fl(e))return Md(e[zt],il(n,e));var t=function(n){for(;null!=n.parent&&(4===n.parent.type||5===n.parent.type);)n=n.parent;return n}(n),l=t.parent;if(null==l){var o=e[qt];return 2===o.type?Cd(o,e):function(n){var e=n[qt];return e&&3===e.type?il(e,Yr(n)):null}(e)}var r=t&&5===t.type;if(r&&2&t.flags)return il(t,e).parentNode;if(1&l.flags&&!r){var i=e[Ot].data,a=i[i[l.index].directiveStart].encapsulation;if(a!==Ke.ShadowDom&&a!==Ke.Native)return null}return il(l,e)}(e,t);if(null!=i){var a=t[zt],u=function(n,e){if(2===n.type){var t=wd(n,e);return qd(t.indexOf(e,Jt)-Jt,t)}return 4===n.type||5===n.type?il(n,e):null}(e.parent||t[qt],t);if(Array.isArray(n))try{for(var s=Object(l.__values)(n),d=s.next();!d.done;d=s.next())Nd(a,i,d.value,u)}catch(c){o={error:c}}finally{try{d&&!d.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}else Nd(a,i,n,u)}}function qd(n,e){var t=Jt+n+1;if(t<e.length){var l=e[t],o=l[qt].child;return null!==o?il(o,l):e[Qt]}return e[Qt]}function Pd(n,e,t){var l=Md(n,e);l&&function(n,e,t,l){yr(n)?n.removeChild(e,t,l):e.removeChild(t)}(n,l,e,t)}function jd(n,e,t,l){var o=l[Nt],r=l[qt].projection[t];if(Array.isArray(r))Ad(r,e,n);else for(;r;)32&r.flags||(1===r.type?jd(n,e,r.projection,$r(o)):(r.flags|=2,Vd(r,e,n,o))),r=r.projectionNext}function Ld(n,e,t,l){for(;n;)Vd(n,e,t,l),n=n.next}function Vd(n,e,t,l){var o=il(n,l);Ad(o,e,t),kr(o,l);var r=l[n.index];if(0===n.type)for(var i=Jt;i<r.length;i++)kd(r[i],!0,r[Qt]);else if(5===n.type){var a=n.child;Ld(a,a,l,l)}else 4===n.type&&Ld(n.child,e,t,l),ll(r)&&Ad(r[Qt],e,t)}function Bd(n,e,t,l,o){for(var r=t[Ot].node.child;null!==r;)zd(n,e,t,r,l,o),r=r.next}function zd(n,e,t,l,o,r){var i=l.type;4===i?function(n,e,t,l,o,r){xd(e,n,o,t[l.index],r);for(var i=l.child;i;)zd(n,e,t,i,o,r),i=i.next}(n,e,t,l,o,r):1===i?function(n,e,t,l,o,r){var i=$r(t),a=i[qt].projection[l.projection];if(Array.isArray(a))for(var u=0;u<a.length;u++)xd(e,n,o,a[u],r);else for(var s=a,d=i[Nt];null!==s;)zd(n,e,d,s,o,r),s=s.projectionNext}(n,e,t,l,o,r):xd(e,n,o,t[l.index],r)}function Ud(n){var e=Kd(n,null,null),t=Ol();t[Ot].firstTemplatePass&&(e.tViews=[]),Gd(t,e),$l()}function Hd(n,e,t,l,o,r,i,a){var u=Ol(),s=u[Ot],d=Kd(n,o||null,r||null);s.firstTemplatePass&&(d.tViews=es(-1,e,t,l,s.directiveRegistry,s.pipeRegistry,null,null)),Ju(s,u,i,a),Gd(u,d),kr(il(d,u),u),_l(s,d),$l()}function Zd(n){var e=Ol(),t=e[Ot];Gl(ul(t.data,n),!0),e[n+Yt][Xt]=0,yl(e,t,no(),void 0)}function Wd(){var n=Wl();Yl()?$l():Gl(n=n.parent,!1);for(var e=Ol()[n.index],t=e[Xt];t<e.length-Jt;)Rd(e,t)}function Gd(n,e){var t=n[At];if(t){var l=n[e.index];l[At]?t.insertNodeBeforeViews(e):(t.addNode(e),l[At]=t.container())}}function Kd(n,e,t){var l=Ol(),o=n+Yt,r=l[n+Yt]=l[zt].createComment(""),i=Zu(l[Ot],l[qt],n,0,e,t),a=l[o]=gs(l[o],l,r,i);return Ad(r,i,l),_s(l,a),i}function Yd(n,e){var t=Ol(),l=t[Ot],o=n+Yt;o>=l.data.length&&(l.data[o]=null,l.blueprint[o]=null),t[o]=e}function $d(n){return ul(Ql,n)}function Xd(n){return ul(Ol(),n)}function Qd(n,e){void 0===e&&(e=S.Default),n=P(n);var t=Ol();return null==t?on(n,e):ui(Wl(),t,n,e)}function Jd(n){return ai(Wl(),n)}function nc(n){Ha(n)}function ec(n,e,t){var l=fo(),o=Ol(),r=o[Pt]++,i=al(l,o),a=Ul()>0;if(t)wu(rc(i),o,n,r,e,a,!1);else{var u=su(o);Cu(oc(i),o,n,r,e,u,a,!1)}}function tc(n,e){Iu=Fu;var t=fo(),l=Ol(),o=l[Pt]++;if(n!==Ei){var r=al(t,l),i=Ul()>0,a=l[o],u=au(a,n),s=function(n,e){var t=Array.isArray(n)?n:[null];t[0]=e||null;for(var l=1;l<t.length;l+=2)Pu(t,l,null);var o,r=null,i=!1;if("string"==typeof e?e.length&&(r=e.split(/\s+/),i=!0):(r=e?Object.keys(e):null,o=e),r)n:for(var a=0;a<r.length;a++){var u=r[a],s=!!i||o[u];for(l=1;l<t.length;l+=2){var d=qu(t,l);if(u<=d){d===u?Pu(t,l,s):t.splice(l,0,u,s);continue n}}t.push(u,s)}return t}(a,n);if(e)wu(rc(r),l,null,o,s,i,u);else{var d=su(l);Cu(oc(r),l,null,o,s,d,i,u)}}}function lc(){return Vl()+Hl()}function oc(n){return ic(n,!1)}function rc(n){return ic(n,!0)}function ic(n,e){var t=e?n.newClasses:n.newStyles;return t||(t=[0,0,1,0,Wa],e?n.newClasses=t:n.newStyles=t),t}function ac(n,e,t){var l=Wl();l.stylingTemplate||(l.stylingTemplate=Nr());var o=hc();o?(Ua()&&function(){var n,e,t=Ol();n=al(fo(),t),e=lc(),Ka(rc(n),e),Ka(oc(n),e)}(),Mr(l.stylingTemplate,o),(l.onElementCreationFns=l.onElementCreationFns||[]).push(function(){var r,i,a;uc(l,n,e,t,o),i=o,(a=(r=l.stylingTemplate)[8])||(a=r[8]=[Or]),a[0]=i})):uc(l,n,e,t,Or)}function uc(n,e,t,l,o){!function(n,e,t,l,o){if(!(16&n[1])&&function(n,e,t,l){var o=n[2],r=2*e;return!(r<o.length&&o[r+0]>=0||(Mr(n,e,n[5].length,l),0))}(n,e,0,o)){l&&(l=function(n){for(var e=[],t=0;t<n.length;t++)e.push(Ta(n[t]));return e}(l));var r=n[5],i=r[1],a=r[0],u=n[6],s=n[7],d=4*a,c=10+d,p=c+4*i,f=p+d,h=r.length;r.push(l?l.length:0,t?t.length:0);var m=0,v=[];if(l&&l.length)for(var g=0;g<l.length;g++){var b=l[g];-1==(w=Ai(n,b,10,c))&&(w=c+m,m+=4,v.push(b)),r.push(w)}var _=[];if(t&&t.length)for(var y=0;y<t.length;y++){var w,C=t[y];-1==(w=Ai(n,C,c,p))?(w=p+m,m+=4,_.push(C)):w+=4*v.length,r.push(w)}var x=2;if(v.length)for(;x<h;){var S=r[x+0],k=r[x+1];if(k)for(var E=x+2+S,T=E;T<E+k;T++)r[T]+=4*v.length;x+=2+(S+k)}for(var R=_.length+v.length,I=10;I<n.length;I+=4){var D=I>=p,O=I>=(D?f:c),F=ua(n,I),N=$i(F),M=Xi(F);aa(n,I,Ki(F,N,M+=D?O?4*v.length:0:4*R+4*(O?v.length:0)))}for(var A=0;A<4*v.length;A++)n.splice(f,0,null),n.splice(c,0,null),c++,p++,f+=2;for(var q=0;q<4*_.length;q++)n.splice(p,0,null),n.push(null),p++,f++;for(var P=n[4],j=n[3],L=0;L<R;L++){var V=L>=v.length,B=V?L-v.length:L,z=V?_[B]:v[B],U=void 0,H=void 0;V?(U=f+4*(i+B),H=c+4*(i+B)):(U=p+4*(a+B),H=10+4*(a+B));var Z=V?P:j,W=wa(Z,z);-1===W?W=Ia(null,Z,z,!V&&null,e)+1:W+=1;var G=va(n,z,V,o||null);aa(n,H,Ki(G,W,U)),na(n,H,z),ea(n,H,null),oa(n,H,0,e),aa(n,U,Ki(G,W,H)),na(n,U,z),ea(n,U,null),oa(n,U,0,e)}r[1]=i+_.length,r[0]=a+v.length,u[0]+=_.length,s[0]+=v.length;var K=4*v.length,Y=4*_.length,$=s.length;Ra(n,e,!1,p+4*a,v.length);for(var X=1;X<$;X+=4)s[X+1]+=Y+K;var Q=u.length;Ra(n,e,!0,f+4*i,_.length);for(var J=1;J<Q;J+=4)u[J+1]+=2*K+Y;aa(n,1,Ki(0,0,p))}}(n.stylingTemplate,o,e,t,l)}function sc(n,e,t,l){var o=fo(),r=function(n,e){var t=null;return null!==n&&(t=e?wt(n)+e:n),t}(e,t),i=mc(o,Ol()),a=hc();a?Ti(i,a,Vi,[i,n,r,a,l]):Vi(i,n,r,Or,l),Ua()&&function(n,e,t){ec(n,function(n,e){var t=null;return null!==n&&(t=e?wt(n)+e:n),t}(e,t),!1)}(Ga(i,n,a,!1),e,t)}function dc(n,e,t){var l=fo(),o=e instanceof Ii?e:function(n){return"boolean"==typeof n?n:!!n||null}(e),r=hc(),i=mc(l,Ol());r?Ti(i,r,Li,[i,n,o,r,t]):Li(i,n,o,Or,t),Ua()&&ec(Ga(i,n,r,!0),o,!0)}function cc(n){var e=fo(),t=Ol(),l=mc(e,t),o=hc();if(o)Ti(l,o,Pi,[l,n,o]);else{var r=al(e,t);if(jr(r)&&n!==Ei){var i=ka(l),a=(i.length?i+" ":"")+function(n){var e="";if(n)for(var t=Object.keys(n),l=0;l<t.length;l++){var o=t[l];e+=(l?";":"")+o+":"+n[o]}return e}(n);Ms(t,r.inputs.style,a),n=Ei}Pi(l,n)}Ua()&&function(n){tc(n,!1)}(n)}function pc(n){var e=fo(),t=Ol(),l=mc(e,t),o=hc();if(o)Ti(l,o,qi,[l,n,o]);else{var r=al(e,t);if(Pr(r)&&n!==Ei){var i=ka(l),a=(i.length?i+" ":"")+function(n){return n&&"string"!=typeof n&&(n=Object.keys(n).join(" ")),n||""}(n);Ms(t,r.inputs.class,a),n=Ei}qi(l,n)}Ua()&&function(n){tc(n,!0)}(n)}function fc(){var n=fo(),e=hc()||Or,t=Ol(),l=3===al(n,t).type?t[zt]:null,o=0!=(8&t[Ft]),r=mc(n,t);za<2&&function(n,e,t,l,o,r,i){void 0===i&&(i=0);var a=0;if(function(n,e){var t=n[8];return!t||t[0]===e}(n,i)&&(function(n){var e=n[8];if(e){for(var t=1;t<e.length;t+=3)e[t+1].apply(this,e[t+2]);e.length=1}}(n),function(n){return Zi(n,1)}(n))){for(var u=n[0],s=8&n[1],d=Ji(n),c=10;c<n.length;c+=4)if(Zi(n,c)){var p=ua(n,c),f=ya(n,c),h=da(n,c),m=sa(n,c),v=4&p?xa(n,f):null,g=ia(n,c),b=!!(2&p),_=m;c<d&&!ma(_)&&(_=sa(n,Xi(p))),ma(_)||(_=Yi(n,p)),e&&(!l||_)&&(b?Ui(u,h,!!_,e,null,g):zi(u,h,_,e,v,null,g)),Hi(n,c,!1)}if(s){var y=Array.isArray(t)?Xr(t):t,w=Vr(n),C=w[0];for(c=1;c<C;c+=2){var x=w[c],S=c+1,k=w[S];if(x){var E=x.buildPlayer(k,l);void 0!==E&&(null!=E&&Lr(w,y,u,E,S)&&a++,k&&k.destroy())}else k&&k.destroy()}pa(n,!1)}ca(n,!1)}return a}(r,l,t,o,0,0,e)>0&&ws(Xr(t),2),kl(null),Ua()&&function(){var n=fo(),e=Ol(),t=al(n,e),l=function(n,e){return 3===n.type?e[zt]:null}(t,e),o=function(n,t){for(var l=e[n+Yt],o=e;Array.isArray(l);)o=l,l=l[Dt];return ol(o)?o[0]:l}(n),r=lc();!function(n,e,t,l,o){lu(t,o)&&(!ru(t)&&ou(t),_u&&(Ru(t,n,l,e,_u,Ou,null),_u=0),gu=mu)}(l,e,rc(t),o,r);var i=su(e);!function(n,e,t,l,o,r){lu(t,o)&&(!ru(t)&&ou(t),bu&&(Ru(t,n,l,e,bu,Du,r),bu=0),vu=mu)}(l,e,oc(t),o,r,i),Ha(null)}()}function hc(){return Vl()+Hl()}function mc(n,e){var t=Sl;return t||kl(t=Ar(n+Yt,e)),t}function vc(n,e,t,l){var o=Ol(),r=o[Ot],i=o[n+Yt]=Uu(e),a=o[zt],u=Zu(r,o[qt],n,3,e,t||null),s=0,d=0,c=-1;if(t){Xu(r,u,t,c=zr(i,t));var p=u.stylingTemplate;p&&(s=Mi(i,p,a),d=Ni(i,p,a))}if(Ad(i,u,o),Ju(r,o,l),0===xl&&kr(i,o),xl++,r.firstTemplatePass){var f=Is(u);f&&f.hasOwnProperty("class")&&(u.flags|=8),f&&f.hasOwnProperty("style")&&(u.flags|=16)}u.stylingTemplate&&(Ni(i,u.stylingTemplate,a,d),Mi(i,u.stylingTemplate,a,s)),Ua()&&c>=0&&function(n,e,t){for(var l,o,r=-1,i=c;i<e.length;i++){var a=e[i];"number"==typeof a?r=a:1==r?ku(l=l||rc(n),-1,a,!0,!1):2==r&&ku(o=o||oc(n),-1,a,e[++i],!1)}}(u,t);var h=o[At];h&&(h.addNode(u),o[At]=h.clone(u)),Qu(r,u,o)}function gc(){var n=Wl();Yl()?$l():Gl(n=n.parent,!1),n.onElementCreationFns&&qs(n);var e=Ol(),t=e[At];t&&n.index===t.nodeIndex&&(e[At]=t.parent),_l(e[Ot],n),xl--;var l=null;Pr(n)&&(l=Ar(n.index,e),Ms(e,n.inputs.class,ka(l))),jr(n)&&(l=l||Ar(n.index,e),Ms(e,n.inputs.style,function(n){var e=l[3],t=e[1];if(null===t){t="";for(var o=2;o<e.length;o+=3){var r=e[o+1];null!==r&&(t+=(t.length?";":"")+e[o]+":"+r)}e[1]=t}return t}()))}function bc(n,e,t,l){vc(n,e,t,l),gc()}function _c(n){var e=fo(),t=Ol(),l=al(e,t);if(3===l.type){var o=Ur(n,zr(il(l,t),n));if(o>=0){var r=hc();l.stylingTemplate?Oi(l.stylingTemplate,n,o,r):l.stylingTemplate=Di(n,o,r)}}}function yc(n,e,t){var l=Ol(),o=l[Ot],r=l[n+Yt]=l[zt].createComment(""),i=Zu(o,l[qt],n,4,"ng-container",e||null);e&&Xu(o,i,e,0),Ad(r,i,l),Ju(o,l,t),kr(r,l);var a=l[At];a&&(a.addNode(i),l[At]=a.clone(i)),Qu(o,i,l)}function wc(){var n=Wl(),e=Ol(),t=e[Ot];Yl()?$l():Gl(n=n.parent,!1);var l=e[At];l&&n.index===l.nodeIndex&&(e[At]=l.parent),n.onElementCreationFns&&qs(n),_l(t,n)}function Cc(n,e,t){var l=Ol(),o=Wl(),r=2===o.type?o.parent:o,i=l[r.index],a=function(n,e,t){for(var l=e+Jt;l<n.length;l++){var o=n[l][Ot].id;if(o===t)return n[l];if(!(o<t))break;Rd(n,l-Jt)}return null}(i,i[Xt],n);if(a)Nl=!0,uo(a,a[Ot].node);else{a=Hu(l,function(n,e,t,l){var o=Ol()[Ot],r=l.tViews;return(n>=r.length||null==r[n])&&(r[n]=es(n,null,e,t,o.directiveRegistry,o.pipeRegistry,null,null)),r[n]}(n,e,t,r),null,16,null,null),i[At]&&(a[At]=i[At].createView());var u=Yl()?o:o&&o.parent;Wu(a[Ot],u,n,a),uo(a,a[Ot].node)}return i&&(Xl(a)&&Ed(a,i,i[Xt]),i[Xt]++),Xl(a)?3:2}function xc(){var n=Ol(),e=n[qt];Xl(n)&&(Bu(n),n[Ft]&=-5),gl(n),Bu(n),co(n[Nt][Nt],!0),Gl(e,!1)}function Sc(){return Ol()}function kc(n){return!!n&&"function"==typeof n.then}function Ec(n){return!!n&&"function"==typeof n.subscribe}function Tc(n,e,t,l){void 0===t&&(t=!1),Ic(n,e,t,l)}function Rc(n,e,t,l){void 0===t&&(t=!1),Ic(n,e,t,l,Fs)}function Ic(n,e,t,l,o){void 0===t&&(t=!1);var r=Ol(),i=Wl(),a=r[Ot],u=a.firstTemplatePass&&(a.cleanup||(a.cleanup=[])),s=!0;if(3===i.type){var d=il(i,r),c=l?l(d):$e,p=c.target||d,f=o?o(i,r):r[zt],h=(w=Ds(r)).length,m=l?function(n){return l(el(n[i.index])).target}:i.index;if(yr(f)){var v=null;if(!l&&function(n){return n.directiveEnd>n.directiveStart}(i)&&(v=function(n,e,t){var l=n[Ot].cleanup;if(null!=l)for(var o=0;o<l.length-1;o+=2){var r=l[o];if(r===e&&l[o+1]===t){var i=n[jt],a=l[o+2];return i.length>a?i[a]:null}"string"==typeof r&&(o+=2)}return null}(r,n,i.index)),null!==v)e.__ngNextListenerFn__=v.__ngNextListenerFn__,v.__ngNextListenerFn__=e,s=!1;else{e=Oc(i,r,e,!1);var g=f.listen(c.name||p,n,e);w.push(e,g),u&&u.push(n,m,h,h+1)}}else e=Oc(i,r,e,!0),p.addEventListener(n,e,t),w.push(e),u&&u.push(n,m,h,t)}void 0===i.outputs&&(i.outputs=os(i,1));var b,_=i.outputs;if(s&&_&&(b=_[n])){var y=b.length;if(y)for(var w=Ds(r),C=0;C<y;C+=3){var x=r[b[C]][b[C+2]].subscribe(e),S=w.length;w.push(e,x),u&&u.push(n,i.index,S,-(S+1))}}}function Dc(n,e,t){try{return!1!==e(t)}catch(l){return Ns(n,l),!1}}function Oc(n,e,t,l){return function o(r){var i=1&n.flags?sl(n.index,e):e;0==(32&e[Ft])&&ys(i);for(var a=Dc(e,t,r),u=o.__ngNextListenerFn__;u;)a=Dc(e,u,r)&&a,u=u.__ngNextListenerFn__;return l&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function Fc(n){return void 0===n&&(n=1),so(n)}function Nc(n,e){for(var t=null,l=function(n){var e=n.attrs;if(null!=e){var t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n),o=0;o<e.length;o++){var r=e[o];if("*"!==r){if(null===l?Pa(n,r,!0):ja(l,r))return o}else t=o}return t}function Mc(n){var e=$r(Ol())[qt];if(!e.projection)for(var t=e.projection=new Array(n?n.length:1).fill(null),l=t.slice(),o=e.child;null!==o;){var r=n?Nc(o,n):0;null!==r&&(l[r]?l[r].projectionNext=o:t[r]=o,l[r]=o),o=o.next}}var Ac=!1;function qc(n){Ac=n}function Pc(n,e,t){void 0===e&&(e=0);var l=Ol(),o=Zu(l[Ot],l[qt],n,1,null,t||null);null===o.projection&&(o.projection=e),$l(),Ac||jd(l,o,e,$r(l))}function jc(n,e,t){return Lc(n,"",e,"",t),jc}function Lc(n,e,t,l,o){var r=fo(),i=td(e,t,l);return i!==Ei&&is(r,n,i,o),Lc}function Vc(n,e,t,l,o,r,i){var a=fo(),u=ld(e,t,l,o,r);return u!==Ei&&is(a,n,u,i),Vc}function Bc(n,e,t,l,o,r,i,a,u){var s=fo(),d=od(e,t,l,o,r,i,a);return d!==Ei&&is(s,n,d,u),Bc}function zc(n,e,t,l,o,r,i,a,u,s,d){var c=fo(),p=rd(e,t,l,o,r,i,a,u,s);return p!==Ei&&is(c,n,p,d),zc}function Uc(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=fo(),h=id(e,t,l,o,r,i,a,u,s,d,c);return h!==Ei&&is(f,n,h,p),Uc}function Hc(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h){var m=fo(),v=ad(e,t,l,o,r,i,a,u,s,d,c,p,f);return v!==Ei&&is(m,n,v,h),Hc}function Zc(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=fo(),b=ud(e,t,l,o,r,i,a,u,s,d,c,p,f,h,m);return b!==Ei&&is(g,n,b,v),Zc}function Wc(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b){var _=fo(),y=sd(e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g);return y!==Ei&&is(_,n,y,b),Wc}function Gc(n,e,t){var l=fo(),o=ed(e);return o!==Ei&&is(l,n,o,t),Gc}function Kc(n,e){var t=Ol(),l=t[n+Yt]=Sd(e,t[zt]),o=Zu(t[Ot],t[qt],n,3,null,null);$l(),Ad(l,o,t)}function Yc(n){var e=Ol(),t=fo(),l=Qs(e,n);l!==Ei&&As(e,t,wt(l))}function $c(n){return Xc("",n,""),$c}function Xc(n,e,t){var l=fo(),o=Ol(),r=td(n,e,t);return r!==Ei&&As(o,l,r),Xc}function Qc(n,e,t,l,o){var r=fo(),i=Ol(),a=ld(n,e,t,l,o);return a!==Ei&&As(i,r,a),Qc}function Jc(n,e,t,l,o,r,i){var a=fo(),u=Ol(),s=od(n,e,t,l,o,r,i);return s!==Ei&&As(u,a,s),Jc}function np(n,e,t,l,o,r,i,a,u){var s=fo(),d=Ol(),c=rd(n,e,t,l,o,r,i,a,u);return c!==Ei&&As(d,s,c),np}function ep(n,e,t,l,o,r,i,a,u,s,d){var c=fo(),p=Ol(),f=id(n,e,t,l,o,r,i,a,u,s,d);return f!==Ei&&As(p,c,f),ep}function tp(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=fo(),h=Ol(),m=ad(n,e,t,l,o,r,i,a,u,s,d,c,p);return m!==Ei&&As(h,f,m),tp}function lp(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h){var m=fo(),v=Ol(),g=ud(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h);return g!==Ei&&As(v,m,g),lp}function op(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=fo(),b=Ol(),_=sd(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v);return _!==Ei&&As(b,g,_),op}function rp(n){var e=fo(),t=Ol(),l=ed(n);return l!==Ei&&As(t,e,l),rp}function ip(n,e){var t=Cr(n);if(t){var l=t.native,o=t.lView,r=function(n,e){if(!(e=e||Cr(l)))return null;var t=Ar(e.nodeIndex,e.lView);return Vr(t)||Br(t)}(0,t),i=Xr(o);Lr(r,i,l,e,0,n),ws(i,2)}}function ap(n){var e=Cr(n);if(!e)return[];var t=Ar(e.nodeIndex,e.lView),l=t?Vr(t):null;return l?function(n){for(var e=[],t=n[0],l=2;l<t;l+=2){var o=n[l];o&&e.push(o)}for(l=t;l<n.length;l++)e.push(n[l]);return e}(l):[]}function up(n){var e=vp(n);return void 0===e.component&&(e.component=function(n,t){var l=t[Ot].data[e.nodeIndex];return 1&l.flags?t[l.directiveStart]:null}(0,e.lView)),e.component}function sp(n){return vp(n).lView[Lt]}function dp(n){for(var e,t=hp(n).lView;null===t[Dt]&&(e=Yr(t));)t=e;return 512&t[Ft]?null:t[Lt]}function cp(n){return Object(l.__spread)(Xr(n).components)}function pp(n){var e=hp(n);return new mi(e.lView[Ot].data[e.nodeIndex],e.lView)}function fp(n){var e=hp(n);return void 0===e.directives&&(e.directives=Ir(e.nodeIndex,e.lView,!1)),e.directives||[]}function hp(n,e){void 0===e&&(e=!0);var t=Cr(n);if(!t&&e)throw new Error("Invalid ng target");return t}function mp(n){return Cr(n).native}function vp(n){if(!(n instanceof Node))throw new Error("Expecting instance of DOM Node");return hp(n)}function gp(n){return"boolean"==typeof n.useCapture}function bp(n){var e=vp(n).lView,t=e[jt],l=e[Ot].cleanup,o=[];if(l&&t)for(var r=0;r<l.length;){var i=l[r++],a=l[r++];if("string"==typeof i){var u=i,s=el(e[a]),d=t[l[r++]],c=l[r++];n==s&&o.push({element:n,name:u,callback:d,useCapture:"boolean"==typeof c?c:!(c>=0)&&null})}}return o.sort(_p),o}function _p(n,e){return n.name==e.name?0:n.name<e.name?-1:1}var yp="ng",wp=!1;function Cp(){wp||(wp=!0,xp("getComponent",up),xp("getContext",sp),xp("getListeners",bp),xp("getViewComponent",dp),xp("getHostElement",mp),xp("getInjector",pp),xp("getRootComponents",cp),xp("getDirectives",fp),xp("getPlayers",ap),xp("markDirty",yd))}function xp(n,e){if(z){var t=z[yp];t||(t=z[yp]={}),t[n]=e}}function Sp(n,e){void 0===e&&(e={}),Ll(null);var t=e.rendererFactory||wr,l=e.sanitizer||null,o=vt(n);o.type!=n&&(o.type=n);var r,i=ts(t,e.host||o.selectors[0][0]),a=o.onPush?576:528,u=Tp(e.scheduler,e.playerHandler),s=t.createRenderer(i,o),d=Hu(null,es(-1,null,1,0,null,null,null,null),u,a,null,null,t,s,void 0,e.injector||null),c=uo(d,null),p=!1;try{t.begin&&t.begin();var f=kp(i,o,d,t,s,l);r=Ep(f,o,d,u,e.hostFeatures||null),_s(d,f),Bu(d),d[Ft]&=-5,gl(d),Bu(d),p=!0}finally{co(c,p),t.end&&t.end()}return r}function kp(n,e,t,l,o,r){Nl=!1,Fl=null,xl=0,El=!0;var i=t[Ot];t[0+Yt]=n;var a=Zu(i,null,0,3,null,null),u=Hu(t,ns(e),null,e.onPush?64:16,t[Yt],a,l,o,r);return i.firstTemplatePass&&(ii(ti(a,t),t,e.type),a.flags=1,fs(a,t.length,1),cs(a)),t[Yt]=u}function Ep(n,e,t,l,o){var r=t[Ot],i=function(n,e,t){var l=Wl();n.firstTemplatePass&&(t.providersResolver&&t.providersResolver(t),us(n,l,1),hs(n,e,t,t.factory));var o=pi(n.data,e,e.length-1,l);return ds(e,l,o),o}(r,t,e);l.components.push(i),n[Lt]=i,o&&o.forEach(function(n){return n(i,e)}),e.contentQueries&&e.contentQueries(1,i,t.length-1);var a=Wl();if(r.firstTemplatePass&&e.hostBindings&&(Ll(a.index-Yt),as(e,r.expandoInstructions,i,a,r.firstTemplatePass),a.onElementCreationFns&&qs(a),Ll(null)),a.stylingTemplate){var u=n[Dt];Ni(u,a.stylingTemplate,n[zt]),Mi(u,a.stylingTemplate,n[zt])}return i}function Tp(n,e){return{components:[],scheduler:n||xt,clean:Rs,playerHandler:e||null,flags:0}}function Rp(n,e){var t=ml(n)[Ot],l=t.data.length-1;bl(l,e,t,-1,-1,-1),_l(t,{directiveStart:l,directiveEnd:l+1})}function Ip(n){return Xr(n).clean}var Dp=function(){function n(n,e,t){this.previousValue=n,this.currentValue=e,this.firstChange=t}return n.prototype.isFirstChange=function(){return this.firstChange},n}();function Op(){return Fp.ngInherit=!0,Fp}function Fp(n){n.type.prototype.ngOnChanges&&(n.setInput=Np,n.onChanges=function(){var n=Ap(this),e=n&&n.current;if(e){var t=n.previous;if(t===$e)n.previous=e;else for(var l in e)t[l]=e[l];n.current=null,this.ngOnChanges(e)}})}function Np(n,e,t,l){var o=Ap(n)||function(n,e){return n[Mp]={previous:$e,current:null}}(n),r=o.current||(o.current={}),i=o.previous,a=this.declaredInputs[t],u=i[a];r[a]=new Dp(u&&u.currentValue,e,i===$e),n[l]=e}var Mp="__ngSimpleChanges__";function Ap(n){return n[Mp]||null}function qp(n){for(var e,t,o=Object.getPrototypeOf(n.type.prototype).constructor;o;){var r=void 0;if(pl(n))r=o.ngComponentDef||o.ngDirectiveDef;else{if(o.ngComponentDef)throw new Error("Directives cannot inherit Components");r=o.ngDirectiveDef}var i=o.ngBaseDef;if(i||r){var a=n;a.inputs=Pp(n.inputs),a.declaredInputs=Pp(n.declaredInputs),a.outputs=Pp(n.outputs)}if(i){var u=i.viewQuery,s=i.contentQueries,d=i.hostBindings;d&&Vp(n,d),u&&jp(n,u),s&&Lp(n,s),E(n.inputs,i.inputs),E(n.declaredInputs,i.declaredInputs),E(n.outputs,i.outputs)}if(r){var c=r.hostBindings;c&&Vp(n,c);var p=r.viewQuery,f=r.contentQueries;p&&jp(n,p),f&&Lp(n,f),E(n.inputs,r.inputs),E(n.declaredInputs,r.declaredInputs),E(n.outputs,r.outputs),n.afterContentChecked=n.afterContentChecked||r.afterContentChecked,n.afterContentInit=n.afterContentInit||r.afterContentInit,n.afterViewChecked=n.afterViewChecked||r.afterViewChecked,n.afterViewInit=n.afterViewInit||r.afterViewInit,n.doCheck=n.doCheck||r.doCheck,n.onDestroy=n.onDestroy||r.onDestroy,n.onInit=n.onInit||r.onInit;var h=r.features;if(h)try{for(var m=Object(l.__values)(h),v=m.next();!v.done;v=m.next()){var g=v.value;g&&g.ngInherit&&g(n)}}catch(_){e={error:_}}finally{try{v&&!v.done&&(t=m.return)&&t.call(m)}finally{if(e)throw e.error}}}else{var b=o.prototype;b&&(n.afterContentChecked=n.afterContentChecked||b.ngAfterContentChecked,n.afterContentInit=n.afterContentInit||b.ngAfterContentInit,n.afterViewChecked=n.afterViewChecked||b.ngAfterViewChecked,n.afterViewInit=n.afterViewInit||b.ngAfterViewInit,n.doCheck=n.doCheck||b.ngDoCheck,n.onDestroy=n.onDestroy||b.ngOnDestroy,n.onInit=n.onInit||b.ngOnInit,b.ngOnChanges&&Op()(n))}o=Object.getPrototypeOf(o)}}function Pp(n){return n===$e?{}:n===Xe?[]:n}function jp(n,e){var t=n.viewQuery;n.viewQuery=t?function(n,l){e(n,l),t(n,l)}:e}function Lp(n,e){var t=n.contentQueries;n.contentQueries=t?function(n,l,o){e(n,l,o),t(n,l,o)}:e}function Vp(n,e){var t=n.hostBindings;e!==t&&(n.hostBindings=t?function(n,l,o){zl(1);try{e(n,l,o)}finally{zl(-1)}t(n,l,o)}:e)}function Bp(n,e,t,l,o){if(n=P(n),Array.isArray(n))for(var r=0;r<n.length;r++)Bp(n[r],e,t,l,o);else{var i=Ol(),a=Jn(n)?n:P(n.provide),u=Yn(n),s=Wl(),d=65535&s.providerIndexes,c=s.directiveStart,p=s.providerIndexes>>16;if(n.useClass||Jn(n)){var f=(n.useClass||n).prototype.ngOnDestroy;if(f){var h=i[Ot];(h.destroyHooks||(h.destroyHooks=[])).push(e.length,f)}}if(Jn(n)||!n.multi){var m=new br(u,o,Qd),v=Up(a,e,o?d:d+p,c);-1==v?(ii(ti(s,i),i,a),e.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(m),i.push(m)):(t[v]=m,i[v]=m)}else{var g=Up(a,e,d+p,c),b=Up(a,e,d,d+p),_=b>=0&&t[b];o&&!_||!o&&!(g>=0&&t[g])?(ii(ti(s,i),i,a),m=function(n,e,t,l,o){var r=new br(n,t,Qd);return r.multi=[],r.index=e,r.componentProviders=0,zp(r,o,l&&!t),r}(o?Zp:Hp,t.length,o,l,u),!o&&_&&(t[b].providerFactory=m),e.push(a),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=65536),t.push(m),i.push(m)):zp(t[o?b:g],u,!o&&l),!o&&l&&_&&t[b].componentProviders++}}}function zp(n,e,t){n.multi.push(e),t&&n.componentProviders++}function Up(n,e,t,l){for(var o=t;o<l;o++)if(e[o]===n)return o;return-1}function Hp(n,e,t,l){return Wp(this.multi,[])}function Zp(n,e,t,l){var o,r=this.multi;if(this.providerFactory){var i=this.providerFactory.componentProviders,a=pi(e,t,this.providerFactory.index,l);Wp(r,o=a.slice(0,i));for(var u=i;u<a.length;u++)o.push(a[u])}else Wp(r,o=[]);return o}function Wp(n,e){for(var t=0;t<n.length;t++)e.push((0,n[t])());return e}function Gp(n,e){return void 0===e&&(e=[]),function(t){t.providersResolver=function(t,l){return function(n,e,t){var l=Ol()[Ot];if(l.firstTemplatePass){var o=pl(n);Bp(t,l.data,l.blueprint,o,!0),Bp(e,l.data,l.blueprint,o,!1)}}(t,l?l(n):n,e)}}}var Kp=function(){return function(){}}(),Yp=function(){return function(){}}();function $p(n){var e=Error("No component factory found for "+M(n)+". Did you add it to @NgModule.entryComponents?");return e[nf]=n,e}var Xp,Qp,Jp,nf="ngComponent",ef=function(){function n(){}return n.prototype.resolveComponentFactory=function(n){throw $p(n)},n}(),tf=function(){function n(){}return n.NULL=new ef,n}(),lf=function(){function n(n,e,t){this._parent=e,this._ngModule=t,this._factories=new Map;for(var l=0;l<n.length;l++){var o=n[l];this._factories.set(o.componentType,o)}}return n.prototype.resolveComponentFactory=function(n){var e=this._factories.get(n);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(n)),!e)throw $p(n);return new of(e,this._ngModule)},n}(),of=function(n){function e(e,t){var l=n.call(this)||this;return l.factory=e,l.ngModule=t,l.selector=e.selector,l.componentType=e.componentType,l.ngContentSelectors=e.ngContentSelectors,l.inputs=e.inputs,l.outputs=e.outputs,l}return Object(l.__extends)(e,n),e.prototype.create=function(n,e,t,l){return this.factory.create(n,e,t,l||this.ngModule)},e}(Yp),rf=function(){return function(){}}(),af=function(){return function(){}}(),uf=function(){function n(n,e,t){this._context=e,this._componentIndex=t,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=n}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return null==this._lView[Dt]?function n(e,t,l){for(var o=t.child;o;){var r=il(o,e);if(r&&l.push(r),4===o.type)n(e,o,l);else if(1===o.type)for(var i=$r(e),a=i[qt],u=Yr(i),s=a.projection[o.projection];s&&u;)l.push(il(s,u)),s=s.next;o=o.next}return l}(this._lView,this._lView[qt],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 256==(256&this._lView[Ft])},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var n=this._viewContainerRef.indexOf(this);n>-1&&this._viewContainerRef.detach(n),this._viewContainerRef=null}Id(this._lView)},n.prototype.onDestroy=function(n){var e,t;t=n,Ds(e=this._lView).push(t),e[Ot].firstTemplatePass&&Os(e).push(e[jt].length-1,null)},n.prototype.markForCheck=function(){ys(this._lView)},n.prototype.detach=function(){this._lView[Ft]&=-129},n.prototype.reattach=function(){this._lView[Ft]|=128},n.prototype.detectChanges=function(){xs(this._lView,this.context)},n.prototype.checkNoChanges=function(){!function(n,e){eo(!0);try{xs(n,e)}finally{eo(!1)}}(this._lView,this.context)},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n.prototype.detachFromAppRef=function(){this._appRef=null,function(n){Bd(n[zt],1,n,null,null)}(this._lView)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype._lookUpContext=function(){return this._context=Yr(this._lView)[this._componentIndex]},n}(),sf=function(n){function e(e){var t=n.call(this,e,null,-1)||this;return t._view=e,t}return Object(l.__extends)(e,n),e.prototype.detectChanges=function(){Ss(this._view)},e.prototype.checkNoChanges=function(){!function(n){eo(!0);try{Ss(n)}finally{eo(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(uf);function df(n,e,t){return Xp||(Xp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(n)),new Xp(il(e,t))}function cf(n,e,t,o){if(Qp||(Qp=function(n){function e(e,t,l,o,r){var i=n.call(this)||this;return i._declarationParentView=e,i.elementRef=t,i._tView=l,i._hostLContainer=o,i._injectorIndex=r,i}return Object(l.__extends)(e,n),e.prototype.createEmbeddedView=function(n,e,t){var l=this._declarationParentView[At];l&&null==this._hostLContainer[At]&&(this._hostLContainer[At]=l.container());var o=function(n,e,t,l,o){var r=Yl(),i=Wl();Gl(null,!0);var a=Hu(t,n,e,16,null,null);return a[Gt]=t,l&&(a[At]=l.createView()),Wu(n,null,-1,a),n.firstTemplatePass&&(n.node.injectorIndex=o),Gl(i,r),a}(this._tView,n,this._declarationParentView,this._hostLContainer[At],this._injectorIndex);e&&Ed(o,e,t),Gu(o,this._tView,n);var r=new uf(o,n,-1);return r._tViewNode=o[qt],r},e}(n)),0===t.type){var r=o[t.index];return new Qp(o,df(e,t,o),t.tViews,r,t.injectorIndex)}return null}function pf(n,e,t){if(cl(n)){var l=n.directiveStart,o=sl(n.index,e);return new uf(o,t,l)}if(3===n.type||0===n.type||4===n.type){var r=$r(e);return new uf(r,r[Lt],-1)}return null}function ff(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]}var hf=function(){function n(n){this.nativeElement=n}return n.__NG_ELEMENT_ID__=function(){return vf(n)},n}(),mf=function(n){return df(n,Wl(),Ol())},vf=ff,gf=function(){return function(n,e,t,l,o,r){this.id=n,this.templateUrl=e,this.slotCount=t,this.encapsulation=l,this.styles=o,this.animations=r}}(),bf=function(){return function(){}}(),_f=function(){return function(){}}(),yf=function(){return function(){}}(),wf=function(){return function(){}}(),Cf=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({}),xf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return kf()},n}(),Sf=function(){var n=Ol(),e=sl(Wl().index,n);return function(t){var l=(tl(e)?e:n)[zt];if(yr(l))return l;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},kf=ff,Ef=function(){return function(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}(),Tf=new Ef("8.1.2"),Rf=function(){function n(){}return n.prototype.supports=function(n){return Us(n)},n.prototype.create=function(n){return new Df(n)},n}(),If=function(n,e){return e},Df=function(){function n(n){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=n||If}return n.prototype.forEachItem=function(n){var e;for(e=this._itHead;null!==e;e=e._next)n(e)},n.prototype.forEachOperation=function(n){for(var e=this._itHead,t=this._removalsHead,l=0,o=null;e||t;){var r=!t||e&&e.currentIndex<Mf(t,l,o)?e:t,i=Mf(r,l,o),a=r.currentIndex;if(r===t)l--,t=t._nextRemoved;else if(e=e._next,null==r.previousIndex)l++;else{o||(o=[]);var u=i-l,s=a-l;if(u!=s){for(var d=0;d<u;d++){var c=d<o.length?o[d]:o[d]=0,p=c+d;s<=p&&p<u&&(o[d]=c+1)}o[r.previousIndex]=s-u}}i!==a&&n(r,i,a)}},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachMovedItem=function(n){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.forEachIdentityChange=function(n){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)},n.prototype.diff=function(n){if(null==n&&(n=[]),!Us(n))throw new Error("Error trying to diff '"+M(n)+"'. Only arrays and iterables are allowed");return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t,l,o,r=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,l=n[a]),null!==r&&Vs(r.trackById,o)?(i&&(r=this._verifyReinsertion(r,l,o,a)),Vs(r.item,l)||this._addIdentityChange(r,l)):(r=this._mismatch(r,l,o,a),i=!0),r=r._next}else t=0,function(n,e){if(Array.isArray(n))for(var t=0;t<n.length;t++)e(n[t]);else for(var l=n[Ls()](),o=void 0;!(o=l.next()).done;)e(o.value)}(n,function(n){o=e._trackByFn(t,n),null!==r&&Vs(r.trackById,o)?(i&&(r=e._verifyReinsertion(r,n,o,t)),Vs(r.item,n)||e._addIdentityChange(r,n)):(r=e._mismatch(r,n,o,t),i=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=n,this.isDirty},Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),n.prototype._reset=function(){if(this.isDirty){var n=void 0,e=void 0;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=e)n.previousIndex=n.currentIndex,e=n._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},n.prototype._mismatch=function(n,e,t,l){var o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(t,l))?(Vs(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,l)):null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(Vs(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,l)):n=this._addAfter(new Of(e,t),o,l),n},n.prototype._verifyReinsertion=function(n,e,t,l){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null);return null!==o?n=this._reinsertAfter(o,n._prev,l):n.currentIndex!=l&&(n.currentIndex=l,this._addToMoves(n,l)),n},n.prototype._truncate=function(n){for(;null!==n;){var e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},n.prototype._reinsertAfter=function(n,e,t){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);var l=n._prevRemoved,o=n._nextRemoved;return null===l?this._removalsHead=o:l._nextRemoved=o,null===o?this._removalsTail=l:o._prevRemoved=l,this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._moveAfter=function(n,e,t){return this._unlink(n),this._insertAfter(n,e,t),this._addToMoves(n,t),n},n.prototype._addAfter=function(n,e,t){return this._insertAfter(n,e,t),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n},n.prototype._insertAfter=function(n,e,t){var l=null===e?this._itHead:e._next;return n._next=l,n._prev=e,null===l?this._itTail=n:l._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new Nf),this._linkedRecords.put(n),n.currentIndex=t,n},n.prototype._remove=function(n){return this._addToRemovals(this._unlink(n))},n.prototype._unlink=function(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);var e=n._prev,t=n._next;return null===e?this._itHead=t:e._next=t,null===t?this._itTail=e:t._prev=e,n},n.prototype._addToMoves=function(n,e){return n.previousIndex===e?n:(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n,n)},n.prototype._addToRemovals=function(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nf),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n},n.prototype._addIdentityChange=function(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n},n}(),Of=function(){return function(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Ff=function(){function n(){this._head=null,this._tail=null}return n.prototype.add=function(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)},n.prototype.get=function(n,e){var t;for(t=this._head;null!==t;t=t._nextDup)if((null===e||e<=t.currentIndex)&&Vs(t.trackById,n))return t;return null},n.prototype.remove=function(n){var e=n._prevDup,t=n._nextDup;return null===e?this._head=t:e._nextDup=t,null===t?this._tail=e:t._prevDup=e,null===this._head},n}(),Nf=function(){function n(){this.map=new Map}return n.prototype.put=function(n){var e=n.trackById,t=this.map.get(e);t||(t=new Ff,this.map.set(e,t)),t.add(n)},n.prototype.get=function(n,e){var t=this.map.get(n);return t?t.get(n,e):null},n.prototype.remove=function(n){var e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n},Object.defineProperty(n.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.map.clear()},n}();function Mf(n,e,t){var l=n.previousIndex;if(null===l)return l;var o=0;return t&&l<t.length&&(o=t[l]),l+e+o}var Af=function(){function n(){}return n.prototype.supports=function(n){return n instanceof Map||Hs(n)},n.prototype.create=function(){return new qf},n}(),qf=function(){function n(){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(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),n.prototype.forEachItem=function(n){var e;for(e=this._mapHead;null!==e;e=e._next)n(e)},n.prototype.forEachPreviousItem=function(n){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)},n.prototype.forEachChangedItem=function(n){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)},n.prototype.forEachAddedItem=function(n){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)},n.prototype.forEachRemovedItem=function(n){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)},n.prototype.diff=function(n){if(n){if(!(n instanceof Map||Hs(n)))throw new Error("Error trying to diff '"+M(n)+"'. Only maps and objects are allowed")}else n=new Map;return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var e=this;this._reset();var t=this._mapHead;if(this._appendAfter=null,this._forEach(n,function(n,l){if(t&&t.key===l)e._maybeAddToChanges(t,n),e._appendAfter=t,t=t._next;else{var o=e._getOrCreateRecordForKey(l,n);t=e._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(var l=t;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},n.prototype._insertBeforeOrAppend=function(n,e){if(n){var t=n._prev;return e._next=n,e._prev=t,n._prev=e,t&&(t._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},n.prototype._getOrCreateRecordForKey=function(n,e){if(this._records.has(n)){var t=this._records.get(n);this._maybeAddToChanges(t,e);var l=t._prev,o=t._next;return l&&(l._next=o),o&&(o._prev=l),t._next=null,t._prev=null,t}var r=new Pf(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r},n.prototype._reset=function(){if(this.isDirty){var n=void 0;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},n.prototype._maybeAddToChanges=function(n,e){Vs(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))},n.prototype._addToAdditions=function(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)},n.prototype._addToChanges=function(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)},n.prototype._forEach=function(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(function(t){return e(n[t],t)})},n}(),Pf=function(){return function(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),jf=function(){function n(n){this.factories=n}return n.create=function(e,t){if(null!=t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return n.create(e,t)},deps:[[n,new y,new b]]}},n.prototype.find=function(n){var e,t=this.factories.find(function(e){return e.supports(n)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'")},n.ngInjectableDef=T({token:n,providedIn:"root",factory:function(){return new n([new Rf])}}),n}(),Lf=function(){function n(n){this.factories=n}return n.create=function(e,t){if(t){var l=t.factories.slice();e=e.concat(l)}return new n(e)},n.extend=function(e){return{provide:n,useFactory:function(t){if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return n.create(e,t)},deps:[[n,new y,new b]]}},n.prototype.find=function(n){var e=this.factories.find(function(e){return e.supports(n)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+n+"'")},n.ngInjectableDef=T({token:n,providedIn:"root",factory:function(){return new n([new Af])}}),n}(),Vf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return zf()},n}(),Bf=function(){return pf(Wl(),Ol(),null)},zf=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},Uf=[new Af],Hf=new jf([new Rf]),Zf=new Lf(Uf),Wf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Kf(n,hf)},n}(),Gf=function(n,e){return cf(n,e,Wl(),Ol())},Kf=ff,Yf=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Xf(n,hf)},n}(),$f=function(n,e){return function(n,e,t,o){var r;Jp||(Jp=function(n){function t(e,t,l){var o=n.call(this)||this;return o._lContainer=e,o._hostTNode=t,o._hostView=l,o}return Object(l.__extends)(t,n),Object.defineProperty(t.prototype,"element",{get:function(){return df(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new mi(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){var n=ri(this._hostTNode,this._hostView),e=Kr(n,this._hostView),t=function(n,e,t){if(t.parent&&-1!==t.parent.injectorIndex){for(var l=t.parent.injectorIndex,o=t.parent;null!=o.parent&&l==o.injectorIndex;)o=o.parent;return o}for(var r=Gr(n),i=e,a=e[qt];r>1;)a=(i=i[Gt])[qt],r--;return a}(n,this._hostView,this._hostTNode);return Zr(n)&&null!=t?new mi(t,e):new mi(null,this._hostView)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(;this.length;)this.remove(0)},t.prototype.get=function(n){return null!==this._lContainer[8]&&this._lContainer[8][n]||null},Object.defineProperty(t.prototype,"length",{get:function(){var n=this._lContainer.length-Jt;return n>0?n:0},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(n,e,t){this.allocateContainerIfNeeded();var l=this._adjustIndex(t),o=n.createEmbeddedView(e||{},this._lContainer,l);return o.attachToViewContainerRef(this),this._lContainer[8].splice(l,0,o),o},t.prototype.createComponent=function(n,e,t,l,o){var r=t||this.parentInjector;!o&&null==n.ngModule&&r&&(o=r.get(rf,null));var i=n.create(r,l,void 0,o);return this.insert(i.hostView,e),i},t.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();var t=n._lView,l=this._adjustIndex(e);return vl(t)?this.move(n,l):(Ed(t,this._lContainer,l),kd(t,!0,qd(l,this._lContainer)),n.attachToViewContainerRef(this),this._lContainer[8].splice(l,0,n),n)},t.prototype.move=function(n,e){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t=this.indexOf(n);return-1!==t&&this.detach(t),this.insert(n,e),n},t.prototype.indexOf=function(n){return null!==this._lContainer[8]?this._lContainer[8].indexOf(n):0},t.prototype.remove=function(n){this.allocateContainerIfNeeded();var e=this._adjustIndex(n,-1);Rd(this._lContainer,e),this._lContainer[8].splice(e,1)},t.prototype.detach=function(n){this.allocateContainerIfNeeded();var e=this._adjustIndex(n,-1),t=Td(this._lContainer,e);return t&&null!=this._lContainer[8].splice(e,1)[0]?new uf(t,t[Lt],-1):null},t.prototype._adjustIndex=function(n,e){return void 0===e&&(e=0),null==n?this.length+e:n},t.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},t}(n));var i=o[t.index];if(ll(i))(r=i)[Xt]=-1;else{var a;if(a=4===t.type?el(i):o[zt].createComment(""),fl(o)){var u=o[zt],s=il(t,o);Fd(u,Md(u,s),a,function(n,e){return yr(n)?n.nextSibling(e):e.nextSibling}(u,s))}else Ad(a,t,o);o[t.index]=r=gs(i,o,a,t,!0),_s(o,r)}return new Jp(r,t,o)}(n,e,Wl(),Ol())},Xf=ff;function Qf(n,e,t,l){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+t+"'.";return l&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(n,e){var t=new Error(n);return Jf(t,e),t}(o,n)}function Jf(n,e){n[de]=e,n[pe]=e.logError.bind(e)}function nh(n){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+n)}function eh(n,e,t){var l=n.state,o=1792&l;return o===e?(n.state=-1793&l|t,n.initIndex=-1,!0):o===t}function th(n,e,t){return(1792&n.state)===e&&n.initIndex<=t&&(n.initIndex=t+1,!0)}function lh(n,e){return n.nodes[e]}function oh(n,e){return n.nodes[e]}function rh(n,e){return n.nodes[e]}function ih(n,e){return n.nodes[e]}function ah(n,e){return n.nodes[e]}var uh=function(){return function(){}}(),sh={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},dh=function(){},ch=new Map;function ph(n){var e=ch.get(n);return e||(e=M(n)+"_"+ch.size,ch.set(n,e)),e}function fh(n,e,t,l){if(zs.isWrapped(l)){l=zs.unwrap(l);var o=n.def.nodes[e].bindingIndex+t,r=zs.unwrap(n.oldValues[o]);n.oldValues[o]=new zs(r)}return l}var hh="$$undefined",mh="$$empty";function vh(n){return{id:hh,styles:n.styles,encapsulation:n.encapsulation,data:n.data}}var gh=0;function bh(n,e,t,l){return!(!(2&n.state)&&Vs(n.oldValues[e.bindingIndex+t],l))}function _h(n,e,t,l){return!!bh(n,e,t,l)&&(n.oldValues[e.bindingIndex+t]=l,!0)}function yh(n,e,t,l){var o=n.oldValues[e.bindingIndex+t];if(1&n.state||!Bs(o,l)){var r=e.bindings[t].name;throw Qf(sh.createDebugContext(n,e.nodeIndex),r+": "+o,r+": "+l,0!=(1&n.state))}}function wh(n){for(var e=n;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Ch(n,e){for(var t=n;t&&t!==e;)t.state|=64,t=t.viewContainerParent||t.parent}function xh(n,e,t,l){try{return wh(33554432&n.def.nodes[e].flags?oh(n,e).componentView:n),sh.handleEvent(n,e,t,l)}catch(o){n.root.errorHandler.handleError(o)}}function Sh(n){return n.parent?oh(n.parent,n.parentNodeDef.nodeIndex):null}function kh(n){return n.parent?n.parentNodeDef.parent:null}function Eh(n,e){switch(201347067&e.flags){case 1:return oh(n,e.nodeIndex).renderElement;case 2:return lh(n,e.nodeIndex).renderText}}function Th(n){return!!n.parent&&!!(32768&n.parentNodeDef.flags)}function Rh(n){return!(!n.parent||32768&n.parentNodeDef.flags)}function Ih(n){return 1<<n%32}function Dh(n){var e={},t=0,o={};return n&&n.forEach(function(n){var r=Object(l.__read)(n,2),i=r[0],a=r[1];"number"==typeof i?(e[i]=a,t|=Ih(i)):o[i]=a}),{matchedQueries:e,references:o,matchedQueryIds:t}}function Oh(n,e){return n.map(function(n){var t,o,r;return Array.isArray(n)?(r=(t=Object(l.__read)(n,2))[0],o=t[1]):(r=0,o=n),o&&("function"==typeof o||"object"==typeof o)&&e&&Object.defineProperty(o,Q,{value:e,configurable:!0}),{flags:r,token:o,tokenKey:ph(o)}})}function Fh(n,e,t){var l=t.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===Ke.Native?oh(n,t.renderParent.nodeIndex).renderElement:void 0:e}var Nh=new WeakMap;function Mh(n){var e=Nh.get(n);return e||((e=n(function(){return dh})).factory=n,Nh.set(n,e)),e}function Ah(n,e,t,l,o){3===e&&(t=n.renderer.parentNode(Eh(n,n.def.lastRenderRootNode))),qh(n,e,0,n.def.nodes.length-1,t,l,o)}function qh(n,e,t,l,o,r,i){for(var a=t;a<=l;a++){var u=n.def.nodes[a];11&u.flags&&jh(n,u,e,o,r,i),a+=u.childCount}}function Ph(n,e,t,l,o,r){for(var i=n;i&&!Th(i);)i=i.parent;for(var a=i.parent,u=kh(i),s=u.nodeIndex+u.childCount,d=u.nodeIndex+1;d<=s;d++){var c=a.def.nodes[d];c.ngContentIndex===e&&jh(a,c,t,l,o,r),d+=c.childCount}if(!a.parent){var p=n.root.projectableNodes[e];if(p)for(d=0;d<p.length;d++)Lh(n,p[d],t,l,o,r)}}function jh(n,e,t,l,o,r){if(8&e.flags)Ph(n,e.ngContent.index,t,l,o,r);else{var i=Eh(n,e);if(3===t&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Lh(n,i,t,l,o,r),32&e.bindingFlags&&Lh(oh(n,e.nodeIndex).componentView,i,t,l,o,r)):Lh(n,i,t,l,o,r),16777216&e.flags)for(var a=oh(n,e.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)Ah(a[u],t,l,o,r);1&e.flags&&!e.element.name&&qh(n,t,e.nodeIndex+1,e.nodeIndex+e.childCount,l,o,r)}}function Lh(n,e,t,l,o,r){var i=n.renderer;switch(t){case 1:i.appendChild(l,e);break;case 2:i.insertBefore(l,e,o);break;case 3:i.removeChild(l,e);break;case 0:r.push(e)}}var Vh=/^:([^:]+):(.+)$/;function Bh(n){if(":"===n[0]){var e=n.match(Vh);return[e[1],e[2]]}return["",n]}function zh(n){for(var e=0,t=0;t<n.length;t++)e|=n[t].flags;return e}function Uh(n,e){for(var t="",l=0;l<2*n;l+=2)t=t+e[l]+Zh(e[l+1]);return t+e[2*n]}function Hh(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b,_){switch(n){case 1:return e+Zh(t)+l;case 2:return e+Zh(t)+l+Zh(o)+r;case 3:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a;case 4:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s;case 5:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s+Zh(d)+c;case 6:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s+Zh(d)+c+Zh(p)+f;case 7:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s+Zh(d)+c+Zh(p)+f+Zh(h)+m;case 8:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s+Zh(d)+c+Zh(p)+f+Zh(h)+m+Zh(v)+g;case 9:return e+Zh(t)+l+Zh(o)+r+Zh(i)+a+Zh(u)+s+Zh(d)+c+Zh(p)+f+Zh(h)+m+Zh(v)+g+Zh(b)+_;default:throw new Error("Does not support more than 9 expressions")}}function Zh(n){return null!=n?n.toString():""}var Wh=[],Gh={},Kh=new Object,Yh=ph(te),$h=ph(W),Xh=ph(rf);function Qh(n,e,t,l){return t=P(t),{index:-1,deps:Oh(l,M(e)),flags:n,token:e,value:t}}function Jh(n){for(var e={},t=[],l=!1,o=0;o<n.length;o++){var r=n[o];r.token===Vn&&!0===r.value&&(l=!0),1073741824&r.flags&&t.push(r.token),r.index=o,e[ph(r.token)]=r}return{factory:null,providersByKey:e,providers:n,modules:t,isRoot:l}}function nm(n,e,t){void 0===t&&(t=te.THROW_IF_NOT_FOUND);var l,o,r=en(n);try{if(8&e.flags)return e.token;if(2&e.flags&&(t=null),1&e.flags)return n._parent.get(e.token,t);var i=e.tokenKey;switch(i){case Yh:case $h:case Xh:return n}var a,u=n._def.providersByKey[i];if(u){var s=n._providers[u.index];return void 0===s&&(s=n._providers[u.index]=em(n,u)),s===Kh?void 0:s}if((a=D(e.token))&&(l=n,null!=(o=a).providedIn&&(function(n,e){return n._def.modules.indexOf(o.providedIn)>-1}(l)||"root"===o.providedIn&&l._def.isRoot))){var d=n._providers.length;return n._def.providers[d]=n._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:d,token:e.token},n._providers[d]=Kh,n._providers[d]=em(n,n._def.providersByKey[e.tokenKey])}return 4&e.flags?t:n._parent.get(e.token,t)}finally{en(r)}}function em(n,e){var t;switch(201347067&e.flags){case 512:t=function(n,e,t){var o=t.length;switch(o){case 0:return new e;case 1:return new e(nm(n,t[0]));case 2:return new e(nm(n,t[0]),nm(n,t[1]));case 3:return new e(nm(n,t[0]),nm(n,t[1]),nm(n,t[2]));default:for(var r=new Array(o),i=0;i<o;i++)r[i]=nm(n,t[i]);return new(e.bind.apply(e,Object(l.__spread)([void 0],r)))}}(n,e.value,e.deps);break;case 1024:t=function(n,e,t){var o=t.length;switch(o){case 0:return e();case 1:return e(nm(n,t[0]));case 2:return e(nm(n,t[0]),nm(n,t[1]));case 3:return e(nm(n,t[0]),nm(n,t[1]),nm(n,t[2]));default:for(var r=Array(o),i=0;i<o;i++)r[i]=nm(n,t[i]);return e.apply(void 0,Object(l.__spread)(r))}}(n,e.value,e.deps);break;case 2048:t=nm(n,e.deps[0]);break;case 256:t=e.value}return t===Kh||null===t||"object"!=typeof t||131072&e.flags||"function"!=typeof t.ngOnDestroy||(e.flags|=131072),void 0===t?Kh:t}function tm(n,e){var t=n.viewContainer._embeddedViews;if((null==e||e>=t.length)&&(e=t.length-1),e<0)return null;var l=t[e];return l.viewContainerParent=null,im(t,e),sh.dirtyParentQueries(l),om(l),l}function lm(n,e,t){var l=e?Eh(e,e.def.lastRenderRootNode):n.renderElement,o=t.renderer.parentNode(l),r=t.renderer.nextSibling(l);Ah(t,2,o,r,void 0)}function om(n){Ah(n,3,null,null,void 0)}function rm(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function im(n,e){e>=n.length-1?n.pop():n.splice(e,1)}var am=new Object;function um(n,e,t,l,o,r){return new dm(n,e,t,l,o,r)}function sm(n){return n.viewDefFactory}var dm=function(n){function e(e,t,l,o,r,i){var a=n.call(this)||this;return a.selector=e,a.componentType=t,a._inputs=o,a._outputs=r,a.ngContentSelectors=i,a.viewDefFactory=l,a}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){var n=[],e=this._inputs;for(var t in e)n.push({propName:t,templateName:e[t]});return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var n=[];for(var e in this._outputs)n.push({propName:e,templateName:this._outputs[e]});return n},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){if(!l)throw new Error("ngModule should be provided");var o=Mh(this.viewDefFactory),r=o.nodes[0].element.componentProvider.nodeIndex,i=sh.createRootView(n,e||[],t,o,l,am),a=rh(i,r).instance;return t&&i.renderer.setAttribute(oh(i,0).renderElement,"ng-version",Tf.full),new cm(i,new mm(i),a)},e}(Yp),cm=function(n){function e(e,t,l){var o=n.call(this)||this;return o._view=e,o._viewRef=t,o._component=l,o._elDef=o._view.def.nodes[0],o.hostView=t,o.changeDetectorRef=t,o.instance=l,o}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"location",{get:function(){return new hf(oh(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new _m(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(n){this._viewRef.onDestroy(n)},e}(Kp);function pm(n,e,t){return new fm(n,e,t)}var fm=function(){function n(n,e,t){this._view=n,this._elDef=e,this._data=t,this._embeddedViews=[]}return Object.defineProperty(n.prototype,"element",{get:function(){return new hf(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new _m(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){for(var n=this._view,e=this._elDef.parent;!e&&n;)e=kh(n),n=n.parent;return n?new _m(n,e):new _m(this._view,null)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(var n=this._embeddedViews.length-1;n>=0;n--){var e=tm(this._data,n);sh.destroyView(e)}},n.prototype.get=function(n){var e=this._embeddedViews[n];if(e){var t=new mm(e);return t.attachToViewContainerRef(this),t}return null},Object.defineProperty(n.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(n,e,t){var l=n.createEmbeddedView(e||{});return this.insert(l,t),l},n.prototype.createComponent=function(n,e,t,l,o){var r=t||this.parentInjector;o||n instanceof of||(o=r.get(rf));var i=n.create(r,l,void 0,o);return this.insert(i.hostView,e),i},n.prototype.insert=function(n,e){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var t,l,o,r,i=n;return r=(t=this._data).viewContainer._embeddedViews,null==(l=e)&&(l=r.length),(o=i._view).viewContainerParent=this._view,rm(r,l,o),function(n,e){var t=Sh(e);if(t&&t!==n&&!(16&e.state)){e.state|=16;var l=t.template._projectedViews;l||(l=t.template._projectedViews=[]),l.push(e),function(n,t){if(!(4&t.flags)){e.parent.def.nodeFlags|=4,t.flags|=4;for(var l=t.parent;l;)l.childFlags|=4,l=l.parent}}(0,e.parentNodeDef)}}(t,o),sh.dirtyParentQueries(o),lm(t,l>0?r[l-1]:null,o),i.attachToViewContainerRef(this),n},n.prototype.move=function(n,e){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var t,l,o,r,i,a=this._embeddedViews.indexOf(n._view);return o=e,i=(r=(t=this._data).viewContainer._embeddedViews)[l=a],im(r,l),null==o&&(o=r.length),rm(r,o,i),sh.dirtyParentQueries(i),om(i),lm(t,o>0?r[o-1]:null,i),n},n.prototype.indexOf=function(n){return this._embeddedViews.indexOf(n._view)},n.prototype.remove=function(n){var e=tm(this._data,n);e&&sh.destroyView(e)},n.prototype.detach=function(n){var e=tm(this._data,n);return e?new mm(e):null},n}();function hm(n){return new mm(n)}var mm=function(){function n(n){this._view=n,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return Ah(this._view,0,void 0,void 0,n=[]),n;var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),n.prototype.markForCheck=function(){wh(this._view)},n.prototype.detach=function(){this._view.state&=-5},n.prototype.detectChanges=function(){var n=this._view.root.rendererFactory;n.begin&&n.begin();try{sh.checkAndUpdateView(this._view)}finally{n.end&&n.end()}},n.prototype.checkNoChanges=function(){sh.checkNoChangesView(this._view)},n.prototype.reattach=function(){this._view.state|=4},n.prototype.onDestroy=function(n){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(n)},n.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),sh.destroyView(this._view)},n.prototype.detachFromAppRef=function(){this._appRef=null,om(this._view),sh.dirtyParentQueries(this._view)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n}();function vm(n,e){return new gm(n,e)}var gm=function(n){function e(e,t){var l=n.call(this)||this;return l._parentView=e,l._def=t,l}return Object(l.__extends)(e,n),e.prototype.createEmbeddedView=function(n){return new mm(sh.createEmbeddedView(this._parentView,this._def,this._def.element.template,n))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new hf(oh(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Wf);function bm(n,e){return new _m(n,e)}var _m=function(){function n(n,e){this.view=n,this.elDef=e}return n.prototype.get=function(n,e){return void 0===e&&(e=te.THROW_IF_NOT_FOUND),sh.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:n,tokenKey:ph(n)},e)},n}();function ym(n,e){var t=n.def.nodes[e];if(1&t.flags){var l=oh(n,t.nodeIndex);return t.element.template?l.template:l.renderElement}if(2&t.flags)return lh(n,t.nodeIndex).renderText;if(20240&t.flags)return rh(n,t.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function wm(n){return new Cm(n.renderer)}var Cm=function(){function n(n){this.delegate=n}return n.prototype.selectRootElement=function(n){return this.delegate.selectRootElement(n)},n.prototype.createElement=function(n,e){var t=Object(l.__read)(Bh(e),2),o=this.delegate.createElement(t[1],t[0]);return n&&this.delegate.appendChild(n,o),o},n.prototype.createViewRoot=function(n){return n},n.prototype.createTemplateAnchor=function(n){var e=this.delegate.createComment("");return n&&this.delegate.appendChild(n,e),e},n.prototype.createText=function(n,e){var t=this.delegate.createText(e);return n&&this.delegate.appendChild(n,t),t},n.prototype.projectNodes=function(n,e){for(var t=0;t<e.length;t++)this.delegate.appendChild(n,e[t])},n.prototype.attachViewAfter=function(n,e){for(var t=this.delegate.parentNode(n),l=this.delegate.nextSibling(n),o=0;o<e.length;o++)this.delegate.insertBefore(t,e[o],l)},n.prototype.detachView=function(n){for(var e=0;e<n.length;e++){var t=n[e],l=this.delegate.parentNode(t);this.delegate.removeChild(l,t)}},n.prototype.destroyView=function(n,e){for(var t=0;t<e.length;t++)this.delegate.destroyNode(e[t])},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.listenGlobal=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.setElementProperty=function(n,e,t){this.delegate.setProperty(n,e,t)},n.prototype.setElementAttribute=function(n,e,t){var o=Object(l.__read)(Bh(e),2),r=o[0],i=o[1];null!=t?this.delegate.setAttribute(n,i,t,r):this.delegate.removeAttribute(n,i,r)},n.prototype.setBindingDebugInfo=function(n,e,t){},n.prototype.setElementClass=function(n,e,t){t?this.delegate.addClass(n,e):this.delegate.removeClass(n,e)},n.prototype.setElementStyle=function(n,e,t){null!=t?this.delegate.setStyle(n,e,t):this.delegate.removeStyle(n,e)},n.prototype.invokeElementMethod=function(n,e,t){n[e].apply(n,t)},n.prototype.setText=function(n,e){this.delegate.setValue(n,e)},n.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},n}();function xm(n,e,t,l){return new Sm(n,e,t,l)}var Sm=function(){function n(n,e,t,l){this._moduleType=n,this._parent=e,this._bootstrapComponents=t,this._def=l,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(n){for(var e=n._def,t=n._providers=new Array(e.providers.length),l=0;l<e.providers.length;l++){var o=e.providers[l];4096&o.flags||void 0===t[l]&&(t[l]=em(n,o))}}(this)}return n.prototype.get=function(n,e,t){void 0===e&&(e=te.THROW_IF_NOT_FOUND),void 0===t&&(t=S.Default);var l=0;return t&S.SkipSelf?l|=1:t&S.Self&&(l|=4),nm(this,{token:n,tokenKey:ph(n),flags:l},e)},Object.defineProperty(n.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentFactoryResolver",{get:function(){return this.get(tf)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+M(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(n,e){for(var t=n._def,l=new Set,o=0;o<t.providers.length;o++)if(131072&t.providers[o].flags){var r=n._providers[o];if(r&&r!==Kh){var i=r.ngOnDestroy;"function"!=typeof i||l.has(r)||(i.apply(r),l.add(r))}}}(this),this._destroyListeners.forEach(function(n){return n()})},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},n}(),km=ph(_f),Em=ph(xf),Tm=ph(hf),Rm=ph(Yf),Im=ph(Wf),Dm=ph(Vf),Om=ph(te),Fm=ph(W);function Nm(n,e,t,o,r,i,a,u){var s=[];if(a)for(var d in a){var c=Object(l.__read)(a[d],2);s[c[0]]={flags:8,name:d,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var f in u)p.push({type:1,propName:f,target:null,eventName:u[f]});return qm(n,e|=16384,t,o,r,r,i,s,p)}function Mm(n,e,t){return qm(-1,n|=16,null,0,e,e,t)}function Am(n,e,t,l,o){return qm(-1,n,e,0,t,l,o)}function qm(n,e,t,l,o,r,i,a,u){var s=Dh(t),d=s.matchedQueries,c=s.references,p=s.matchedQueryIds;u||(u=[]),a||(a=[]),r=P(r);var f=Oh(i,M(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:c,ngContentIndex:-1,childCount:l,bindings:a,bindingFlags:zh(a),outputs:u,element:null,provider:{token:o,value:r,deps:f},text:null,query:null,ngContent:null}}function Pm(n,e){return Bm(n,e)}function jm(n,e){for(var t=n;t.parent&&!Th(t);)t=t.parent;return zm(t.parent,kh(t),!0,e.provider.value,e.provider.deps)}function Lm(n,e){var t=zm(n,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var l=0;l<e.outputs.length;l++){var o=e.outputs[l],r=t[o.propName];if(!Ec(r))throw new Error("@Output "+o.propName+" not initialized in '"+t.constructor.name+"'.");var i=r.subscribe(Vm(n,e.parent.nodeIndex,o.eventName));n.disposables[e.outputIndex+l]=i.unsubscribe.bind(i)}return t}function Vm(n,e,t){return function(l){return xh(n,e,t,l)}}function Bm(n,e){var t=(8192&e.flags)>0,o=e.provider;switch(201347067&e.flags){case 512:return zm(n,e.parent,t,o.value,o.deps);case 1024:return function(n,e,t,o,r){var i=r.length;switch(i){case 0:return o();case 1:return o(Hm(n,e,t,r[0]));case 2:return o(Hm(n,e,t,r[0]),Hm(n,e,t,r[1]));case 3:return o(Hm(n,e,t,r[0]),Hm(n,e,t,r[1]),Hm(n,e,t,r[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=Hm(n,e,t,r[u]);return o.apply(void 0,Object(l.__spread)(a))}}(n,e.parent,t,o.value,o.deps);case 2048:return Hm(n,e.parent,t,o.deps[0]);case 256:return o.value}}function zm(n,e,t,o,r){var i=r.length;switch(i){case 0:return new o;case 1:return new o(Hm(n,e,t,r[0]));case 2:return new o(Hm(n,e,t,r[0]),Hm(n,e,t,r[1]));case 3:return new o(Hm(n,e,t,r[0]),Hm(n,e,t,r[1]),Hm(n,e,t,r[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Hm(n,e,t,r[u]);return new(o.bind.apply(o,Object(l.__spread)([void 0],a)))}}var Um={};function Hm(n,e,t,l,o){if(void 0===o&&(o=te.THROW_IF_NOT_FOUND),8&l.flags)return l.token;var r=n;2&l.flags&&(o=null);var i=l.tokenKey;i===Dm&&(t=!(!e||!e.element.componentView)),e&&1&l.flags&&(t=!1,e=e.parent);for(var a=n;a;){if(e)switch(i){case km:return wm(Zm(a,e,t));case Em:return Zm(a,e,t).renderer;case Tm:return new hf(oh(a,e.nodeIndex).renderElement);case Rm:return oh(a,e.nodeIndex).viewContainer;case Im:if(e.element.template)return oh(a,e.nodeIndex).template;break;case Dm:return hm(Zm(a,e,t));case Om:case Fm:return bm(a,e);default:var u=(t?e.element.allProviders:e.element.publicProviders)[i];if(u){var s=rh(a,u.nodeIndex);return s||(s={instance:Bm(a,u)},a.nodes[u.nodeIndex]=s),s.instance}}t=Th(a),e=kh(a),a=a.parent,4&l.flags&&(a=null)}var d=r.root.injector.get(l.token,Um);return d!==Um||o===Um?d:r.root.ngModule.injector.get(l.token,o)}function Zm(n,e,t){var l;if(t)l=oh(n,e.nodeIndex).componentView;else for(l=n;l.parent&&!Th(l);)l=l.parent;return l}function Wm(n,e,t,l,o,r){if(32768&t.flags){var i=oh(n,t.parent.nodeIndex).componentView;2&i.def.flags&&(i.state|=8)}if(e.instance[t.bindings[l].name]=o,524288&t.flags){r=r||{};var a=zs.unwrap(n.oldValues[t.bindingIndex+l]);r[t.bindings[l].nonMinifiedName]=new Dp(a,o,0!=(2&n.state))}return n.oldValues[t.bindingIndex+l]=o,r}function Gm(n,e){if(n.def.nodeFlags&e)for(var t=n.def.nodes,l=0,o=0;o<t.length;o++){var r=t[o],i=r.parent;for(!i&&r.flags&e&&Ym(n,o,r.flags&e,l++),0==(r.childFlags&e)&&(o+=r.childCount);i&&1&i.flags&&o===i.nodeIndex+i.childCount;)i.directChildFlags&e&&(l=Km(n,i,e,l)),i=i.parent}}function Km(n,e,t,l){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var r=n.def.nodes[o];r.flags&t&&Ym(n,o,r.flags&t,l++),o+=r.childCount}return l}function Ym(n,e,t,l){var o=rh(n,e);if(o){var r=o.instance;r&&(sh.setCurrentNode(n,e),1048576&t&&th(n,512,l)&&r.ngAfterContentInit(),2097152&t&&r.ngAfterContentChecked(),4194304&t&&th(n,768,l)&&r.ngAfterViewInit(),8388608&t&&r.ngAfterViewChecked(),131072&t&&r.ngOnDestroy())}}var $m=function(n){function e(e){var t=n.call(this)||this;return t.ngModule=e,t}return Object(l.__extends)(e,n),e.prototype.resolveComponentFactory=function(n){var e=vt(n);return new nv(e,this.ngModule)},e}(tf);function Xm(n){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}var Qm=new Z("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Tp(on(Jm))}}),Jm=new Z("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return xt}}),nv=function(n){function e(e,t){var l=n.call(this)||this;return l.componentDef=e,l.ngModule=t,l.componentType=e.type,l.selector=e.selectors[0][0],l.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],l.isBoundToModule=!!t,l}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"inputs",{get:function(){return Xm(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return Xm(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(n,e,t,l){var o=void 0===t,r=(l=l||this.ngModule)?function(n,e){return{get:function(t,l,o){var r=n.get(t,Um,o);return r!==Um||l===Um?r:e.get(t,l,o)}}}(n,l.injector):n,i=r.get(wf,wr),a=r.get(er,null),u=o?Uu(this.selector,i.createRenderer(null,this.componentDef)):ts(i,t),s=this.componentDef.onPush?576:528,d="string"==typeof t&&/^#root-ng-internal-isolated-\d+/.test(t),c=o||d?Tp():r.get(Qm),p=i.createRenderer(u,this.componentDef);t&&u&&(yr(p)?p.setAttribute(u,"ng-version",Tf.full):u.setAttribute("ng-version",Tf.full));var f,h,m=Hu(null,es(-1,null,1,0,null,null,null,null),c,s,null,null,i,p,a,r),v=uo(m,null),g=!1;try{var b=kp(u,this.componentDef,m,i,p);h=al(0,m),e&&(h.projection=e.map(function(n){return Array.from(n)})),f=Ep(b,this.componentDef,m,c,[Rp]),_s(m,b),Bu(m),g=!0}finally{co(v,g)}var _=new ev(this.componentType,f,df(hf,h,m),m,h);return o&&(_.hostView._tViewNode.child=h),_},e}(Yp),ev=function(n){function e(e,t,l,o,r){var i=n.call(this)||this;return i.location=l,i._rootLView=o,i._tNode=r,i.destroyCbs=[],i.instance=t,i.hostView=i.changeDetectorRef=new sf(o),i.hostView._tViewNode=Wu(o[Ot],null,-1,o),i.componentType=e,i}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"injector",{get:function(){return new mi(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},e.prototype.onDestroy=function(n){this.destroyCbs&&this.destroyCbs.push(n)},e}(Kp),tv={},lv=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencySymbol=15]="CurrencySymbol",n[n.CurrencyName=16]="CurrencyName",n[n.Currencies=17]="Currencies",n[n.PluralCase=18]="PluralCase",n[n.ExtraData=19]="ExtraData",n}({}),ov=void 0,rv=["en",[["a","p"],["AM","PM"],ov],[["AM","PM"],ov,ov],[["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"]],ov,[["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"]],ov,[["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}",ov,"{1} 'at' {0}",ov],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(n){var e=Math.floor(Math.abs(n)),t=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}];function iv(n){return av(n)[lv.PluralCase]}function av(n){var e=n.toLowerCase().replace(/_/g,"-"),t=tv[e];if(t)return t;var l=e.split("-")[0];if(t=tv[l])return t;if("en"===l)return rv;throw new Error('Missing locale data for the locale "'+n+'".')}function uv(n,e){for(var t=0;t<n.length;t++)e.push(n[t])}function sv(n,e){void 0===e&&(e=n);for(var t=0;t<n.length;t++){var l=n[t];Array.isArray(l)?(e===n&&(e=n.slice(0,t)),sv(l,e)):e!==n&&e.push(l)}return e}var dv="\ufffd",cv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,pv=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,fv=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,hv=/\ufffd(\d+):?\d*\ufffd/gi,mv=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,vv=0,gv=/\[(\ufffd.+?\ufffd?)\]/,bv=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,_v=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,yv=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,wv=/\/\*/,Cv=/\d+\:(\d+)/;function xv(n){if(!n)return[];var e,t=0,l=[],o=[],r=/[{}]/g;for(r.lastIndex=0;e=r.exec(n);){var i=e.index;if("}"==e[0]){if(l.pop(),0==l.length){var a=n.substring(t,i);cv.test(a)?o.push(Sv(a)):o.push(a),t=i+1}}else{if(0==l.length){var u=n.substring(t,i);o.push(u),t=i+1}l.push("{")}}var s=n.substring(t);return o.push(s),o}function Sv(n){for(var e=[],t=[],l=1,o=0,r=xv(n=n.replace(cv,function(n,e,t){return l="select"===t?0:1,o=parseInt(e.substr(1),10),""})),i=0;i<r.length;){var a=r[i++].trim();1===l&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&e.push(a);var u=xv(r[i++]);e.length>t.length&&t.push(u)}return s=e.indexOf("other"),d='Missing key "other" in ICU statement.',s<=-1&&function(n){throw new Error("ASSERTION ERROR: "+n)}(d),{type:l,mainBinding:o,cases:e,values:t};var s,d}function kv(n){for(var e,t,l="",o=0,r=!1;null!==(e=pv.exec(n));)r?e[0]===dv+"/*"+t+dv&&(o=e.index,r=!1):(l+=n.substring(o,e.index+e[0].length),t=e[1],r=!0);return l+n.substr(o)}function Ev(n,e,t,l){void 0===l&&(l=null);for(var o=[null,null],r=n.split(hv),i=0,a=0;a<r.length;a++){var u=r[a];if(1&a){var s=parseInt(u,10);o.push(-1-s),i|=Dv(s)}else""!==u&&o.push(u)}return o.push(e<<2|(t?1:0)),t&&o.push(t,l),o[0]=i,o[1]=o.length-2,o}function Tv(n,e){var t;void 0===e&&(e=0),e|=Dv(n.mainBinding);for(var l=0;l<n.values.length;l++)for(var o=n.values[l],r=0;r<o.length;r++){var i=o[r];if("string"==typeof i)for(;t=hv.exec(i);)e|=Dv(parseInt(t[1],10));else e=Tv(i,e)}return e}var Rv=[],Iv=-1;function Dv(n){return 1<<Math.min(n,31)}var Ov,Fv=[];function Nv(n,e,t){var l=Ol()[Ot];Rv[++Iv]=n,qc(!0),l.firstTemplatePass&&null===l.data[n+Yt]&&function(n,e,t,l){var o=Ol(),r=n.blueprint.length-Yt;Ov=0;var i=Wl(),a=Yl()?Wl():i&&i.parent,u=a&&a!==o[qt]?a.index-Yt:e,s=0;Fv[s]=u;var d=[];e>0&&i!==a&&d.push(i.index<<3|0);for(var c=[],p=[],f=function(n,e){if("number"!=typeof e)return kv(n);var t=n.indexOf(":"+e+dv)+2+e.toString().length,l=n.search(new RegExp(dv+"\\/\\*\\d+:"+e+dv));return kv(n.substring(t,l))}(t,l).split(fv),h=0;h<f.length;h++){var m=f[h];if(1&h)if("/"===m.charAt(0)){if("#"===m.charAt(1)){var v=parseInt(m.substr(2),10);u=Fv[--s],d.push(v<<3|5)}}else v=parseInt(m.substr(1),10),d.push(v<<3|0,u<<17|1),"#"===m.charAt(0)&&(Fv[++s]=u=v);else for(var g=xv(m),b=0;b<g.length;b++)if(1&b){var _=r+Ov++;d.push(Ba,"",_,u<<17|1);var y=g[b],w=Tv(y);Gv(p,y,_,_);var C=p.length-1;c.push(Dv(y.mainBinding),3,-1-y.mainBinding,_<<2|2,C,w,2,_<<2|3,C)}else if(""!==g[b]){var x=g[b],S=x.match(hv),k=r+Ov++;d.push(S?"":x,k,u<<17|1),S&&uv(Ev(x,k),c)}}(function(n,e){var t=n[Ot];if(t.firstTemplatePass){for(var l=0;l<e;l++)t.blueprint.push(null),t.data.push(null),n.push(null);t.expandoInstructions?t.expandoInstructions.push(e):t.expandoStartIndex+=e}})(o,Ov),n.data[e+Yt]={vars:Ov,create:d,update:c,icus:p.length?p:null}}(l,n,e,t)}function Mv(n,e,t,l){var o=n.next;t||(t=e),t===e&&n!==e.child?(n.next=e.child,e.child=n):t!==e&&n!==t.next?(n.next=t.next,t.next=n):n.next=null,e!==l[qt]&&(n.parent=e);for(var r=n.next;r;)r.next===n&&(r.next=o),r=r.next;if(1===n.type)return jd(l,n,n.projection,$r(l)),n;Ad(il(n,l),n,l);var i=l[n.index];return 0!==n.type&&ll(i)&&Ad(i[Qt],n,l),n}function Av(n,e){void 0===e&&(e={});var t=n;if(gv.test(n)){var o={},r=[vv];t=t.replace(bv,function(n,e,t){var i=e||t,a=o[i]||[];if(a.length||(i.split("|").forEach(function(n){var e=n.match(Cv),t=e?parseInt(e[1],10):vv,l=wv.test(n);a.push([t,l,n])}),o[i]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - "+i);for(var u=r[r.length-1],s=0,d=0;d<a.length;d++)if(a[d][0]===u){s=d;break}var c=Object(l.__read)(a[s],3),p=c[0],f=c[2];return c[1]?r.pop():u!==p&&r.push(p),a.splice(s,1),f})}return Object.keys(e).length?t=(t=t.replace(_v,function(n,t,l,o,r,i){return e.hasOwnProperty(l)?""+t+e[l]+i:n})).replace(yv,function(n,t){if(e.hasOwnProperty(t)){var l=e[t];if(!l.length)throw new Error("i18n postprocess: unmatched ICU - "+n+" with key: "+t);return l.shift()}return n}):t}function qv(){!function(n){for(var e=Ol(),t=Rv[Iv--],l=n.data[t+Yt],o=Wl(),r=jv(t,l.create,0,e),i=t+1;i<=o.index-Yt;i++)-1===r.indexOf(i)&&Lv(i,e)}(Ol()[Ot]),qc(!1)}function Pv(n,e,t,l,o){var r=Wl();n[e+Yt]=l;var i=Zu(n[Ot],n[qt],e,t,o,null);return r.next===i&&(r.next=null),i}function jv(n,e,t,l){for(var o=Ol()[zt],r=null,i=null,a=[],u=0;u<e.length;u++){var s=e[u];if("string"==typeof s){var d=Sd(s,o),c=e[++u];i=r,r=Pv(l,c,3,d,null),a.push(c),$l()}else if("number"==typeof s)switch(7&s){case 1:var p=s>>>17;i=Mv(r,p===n?l[qt]:al(p,l),i,l);break;case 0:var f=s>>>3;a.push(f),i=r,(r=al(f,l))&&Gl(r,3===r.type);break;case 5:i=r=al(s>>>3,l),Gl(r,!1);break;case 4:vs(g=s>>>3,e[++u],e[++u],l);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}else switch(s){case Ba:var h=e[++u],m=e[++u],v=o.createComment(h);i=r,r=Pv(l,m,5,v,null),a.push(m),kr(v,l),r.activeCaseIndex=null,$l();break;case Va:var g,b=e[++u];i=r,r=Pv(l,g=e[++u],3,o.createElement(b),b),a.push(g);break;default:throw new Error('Unable to determine the type of mutate operation for "'+s+'"')}}return $l(),a}function Lv(n,e){var t=al(n,e),l=rl(n,e);l&&Pd(e[zt],l);var o=Xd(n);ll(o)&&0!==t.type&&Pd(e[zt],o[Qt]),t.flags|=32}function Vv(n,e,t){Nv(n,e,t),qv()}function Bv(n,e){!function(n,e,t){for(var l=Wl().index-Yt,o=[],r=0;r<t.length;r+=2)for(var i=t[r],a=t[r+1].split(mv),u=0;u<a.length;u++){var s=a[u];if(1&u)throw new Error("ICU expressions are not yet supported in attributes");if(""!==s)if(s.match(hv))n.firstTemplatePass&&null===n.data[e+Yt]&&uv(Ev(s,l,i),o);else{var d=Ol();vs(l,i,s,d);var c=al(l,d),p=c.inputs&&c.inputs[i];p&&Ms(d,p,s)}}n.firstTemplatePass&&null===n.data[e+Yt]&&(n.data[e+Yt]=o)}(Ol()[Ot],n,e)}var zv=0,Uv=0;function Hv(n){return Qs(Ol(),n)!==Ei&&(zv|=1<<Uv),Uv++,Hv}function Zv(n){if(Uv){var e=Ol(),t=e[Ot].data[n+Yt],l=void 0,o=null;Array.isArray(t)?l=t:(l=t.update,o=t.icus),function n(e,t,l,o,r,i){void 0===i&&(i=!1);for(var a=!1,u=0;u<e.length;u++){var s=e[u],d=e[++u];if(i||s&o)for(var c="",p=u+1;p<=u+d;p++){var f=e[p];if("string"==typeof f)c+=f;else if("number"==typeof f)if(f<0)c+=wt(r[l-f]);else{var h=f>>>2,m=void 0,v=void 0;switch(3&f){case 1:is(h,e[++p],c,e[++p]);break;case 0:As(r,h,c);break;case 2:if(m=t[e[++p]],null!==(v=al(h,r)).activeCaseIndex)for(var g=m.remove[v.activeCaseIndex],b=0;b<g.length;b++){var _=g[b];switch(7&_){case 3:Lv(_>>>3,r);break;case 6:var y=al(g[b+1]>>>3,r).activeCaseIndex;null!==y&&uv(t[_>>>3].remove[y],g)}}var w=Wv(m,c);v.activeCaseIndex=-1!==w?w:null,jv(-1,m.create[w],0,r),a=!0;break;case 3:m=t[e[++p]],v=al(h,r),n(m.update[v.activeCaseIndex],t,l,o,r,a)}}}u+=d}}(l,o,e[Pt]-Uv-1,zv,e),zv=0,Uv=0}}function Wv(n,e){var t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:var l=function(n,e){switch(iv(eg)(n)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(e);-1===(t=n.cases.indexOf(l))&&"other"!==l&&(t=n.cases.indexOf("other"));break;case 0:t=n.cases.indexOf("other")}return t}function Gv(n,e,t,o){for(var r=[],i=[],a=[],u=[],s=[],d=0;d<e.values.length;d++){for(var c=e.values[d],p=[],f=0;f<c.length;f++){var h=c[f];if("string"!=typeof h){var m=p.push(h)-1;c[f]="\x3c!--\ufffd"+m+"\ufffd--\x3e"}}var v=Kv(c.join(""),t,p,n,o);r.push(v.create),i.push(v.remove),a.push(v.update),u.push(v.vars),s.push(v.childIcus)}n.push({type:e.type,vars:u,childIcus:s,cases:e.cases,create:r,remove:i,update:a}),Ov+=Math.max.apply(Math,Object(l.__spread)(u))}function Kv(n,e,t,o,r){var i=new Oo(document).getInertBodyElement(n);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function n(e,t,o,r,i,a){if(e){for(var u=[];e;){var s=e.nextSibling,d=a+ ++t.vars;switch(e.nodeType){case Node.ELEMENT_NODE:var c=e,p=c.tagName.toLowerCase();if(Uo.hasOwnProperty(p)){t.create.push(Va,p,d,o<<17|1);for(var f=c.attributes,h=0;h<f.length;h++){var m=f.item(h),v=m.name.toLowerCase();m.value.match(hv)?Wo.hasOwnProperty(v)&&uv(Ho[v]?Ev(m.value,d,m.name,Mo):Zo[v]?Ev(m.value,d,m.name,Ao):Ev(m.value,d,m.name),t.update):t.create.push(d<<3|4,m.name,m.value)}n(e.firstChild,t,d,r,i,a),t.remove.push(d<<3|3)}else t.vars--;break;case Node.TEXT_NODE:var g=e.textContent||"",b=g.match(hv);t.create.push(b?"":g,d,o<<17|1),t.remove.push(d<<3|3),b&&uv(Ev(g,d),t.update);break;case Node.COMMENT_NODE:var _=Yv.exec(e.textContent||"");if(_){var y=parseInt(_[1],10);t.create.push(Ba,"",d,o<<17|1),u.push([w=r[y],d])}else t.vars--;break;default:t.vars--}e=s}for(h=0;h<u.length;h++){var w,C=u[h][1];Gv(i,w=u[h][0],C,a+t.vars);var x=i.length-1;t.vars+=Math.max.apply(Math,Object(l.__spread)(i[x].vars)),t.childIcus.push(x);var S=Tv(w);t.update.push(Dv(w.mainBinding),3,-1-w.mainBinding,C<<2|2,x,S,2,C<<2|3,x),t.remove.push(x<<3|6,C<<3|3)}}}((Jo(i)||i).firstChild,a,e,t,o,r),a}var Yv=/\ufffd(\d+)\ufffd/,$v={};function Xv(n){void 0===n&&(n={translations:{}}),$v=n.translations}var Qv=/\{\$(.*?)\}/g;function Jv(n,e){return void 0!==$v[n]&&(n=$v[n]),void 0!==e&&Object.keys(e).length?n.replace(Qv,function(n,t){return e[t]||""}):n}var ng="en-US",eg=ng;function tg(n){eg=n.toLowerCase().replace(/_/g,"-")}var lg=new Map;function og(n,e){var t=lg.get(n);rg(n,t&&t.moduleType,e.moduleType),lg.set(n,e)}function rg(n,e,t){if(e&&e!==t)throw new Error("Duplicate module registered for "+n+" - "+M(e)+" vs "+M(e.name))}function ig(n){if(null!==n.ngModuleDef.id){var e=n.ngModuleDef.id;rg(e,lg.get(e),n),lg.set(e,n)}var t=n.ngModuleDef.imports;t instanceof Function&&(t=t()),t&&t.forEach(function(n){return ig(n)})}function ag(n){return lg.get(n)}var ug={provide:tf,useClass:$m,deps:[rf]},sg=function(n){function e(e,t){var l=n.call(this)||this;l._parent=t,l._bootstrapComponents=[],l.injector=l,l.destroyCbs=[];var o=yt(e),r=e[tt]||null;return r&&tg(r),l._bootstrapComponents=It(o.bootstrap),l._r3Injector=Wn(e,t,[{provide:rf,useValue:l},ug],M(e)),l.instance=l.get(e),l}return Object(l.__extends)(e,n),e.prototype.get=function(n,e,t){return void 0===e&&(e=te.THROW_IF_NOT_FOUND),void 0===t&&(t=S.Default),n===te||n===rf||n===W?this:this._r3Injector.get(n,e,t)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(tf)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(function(n){return n()}),this.destroyCbs=null},e.prototype.onDestroy=function(n){this.destroyCbs.push(n)},e}(rf),dg=function(n){function e(e){var t=n.call(this)||this;return t.moduleType=e,null!==yt(e)&&ig(e),t}return Object(l.__extends)(e,n),e.prototype.create=function(n){return new sg(this.moduleType,n)},e}(af);function cg(n,e,t,o){return Ye(function(){var r,i=n,a=i.prototype?Object.getPrototypeOf(i.prototype):null,u=a&&a.constructor;null!==e&&(void 0===i.decorators||u&&u.decorators===i.decorators?i.decorators=e:(r=i.decorators).push.apply(r,Object(l.__spread)(e))),null!==t&&(i.ctorParameters=t),null!==o&&(i.propDecorators=void 0===i.propDecorators||u&&u.propDecorators===i.propDecorators?o:Object(l.__assign)({},i.propDecorators,o))})}function pg(n,e,t){var l=lo()+n,o=Ol();return Xl()?Zs(o,l,t?e.call(t):e()):Ws(o,l)}function fg(n,e,t,l){var o=Ol(),r=lo()+n;return Gs(o,r,t)?Zs(o,r+1,l?e.call(l,t):e(t)):Ws(o,r+1)}function hg(n,e,t,l,o){var r=lo()+n,i=Ol();return Ks(i,r,t,l)?Zs(i,r+2,o?e.call(o,t,l):e(t,l)):Ws(i,r+2)}function mg(n,e,t,l,o,r){var i=lo()+n,a=Ol();return Ys(a,i,t,l,o)?Zs(a,i+3,r?e.call(r,t,l,o):e(t,l,o)):Ws(a,i+3)}function vg(n,e,t,l,o,r,i){var a=lo()+n,u=Ol();return $s(u,a,t,l,o,r)?Zs(u,a+4,i?e.call(i,t,l,o,r):e(t,l,o,r)):Ws(u,a+4)}function gg(n,e,t,l,o,r,i,a){var u=lo()+n,s=Ol(),d=$s(s,u,t,l,o,r);return Gs(s,u+4,i)||d?Zs(s,u+5,a?e.call(a,t,l,o,r,i):e(t,l,o,r,i)):Ws(s,u+5)}function bg(n,e,t,l,o,r,i,a,u){var s=lo()+n,d=Ol(),c=$s(d,s,t,l,o,r);return Ks(d,s+4,i,a)||c?Zs(d,s+6,u?e.call(u,t,l,o,r,i,a):e(t,l,o,r,i,a)):Ws(d,s+6)}function _g(n,e,t,l,o,r,i,a,u,s){var d=lo()+n,c=Ol(),p=$s(c,d,t,l,o,r);return Ys(c,d+4,i,a,u)||p?Zs(c,d+7,s?e.call(s,t,l,o,r,i,a,u):e(t,l,o,r,i,a,u)):Ws(c,d+7)}function yg(n,e,t,l,o,r,i,a,u,s,d){var c=lo()+n,p=Ol(),f=$s(p,c,t,l,o,r);return $s(p,c+4,i,a,u,s)||f?Zs(p,c+8,d?e.call(d,t,l,o,r,i,a,u,s):e(t,l,o,r,i,a,u,s)):Ws(p,c+8)}function wg(n,e,t,l){for(var o=lo()+n,r=!1,i=Ol(),a=0;a<t.length;a++)Gs(i,o++,t[a])&&(r=!0);return r?Zs(i,o,e.apply(l,t)):Ws(i,o)}function Cg(n,e){var t,l=Ol()[Ot],o=n+Yt;l.firstTemplatePass?(t=function(n,e){if(e)for(var t=e.length-1;t>=0;t--){var l=e[t];if(n===l.name)return l}throw new Error("The pipe '"+n+"' could not be found!")}(e,l.pipeRegistry),l.data[o]=t,t.onDestroy&&(l.destroyHooks||(l.destroyHooks=[])).push(o,t.onDestroy)):t=l.data[o];var r=t.factory();return Yd(n,r),r}function xg(n,e,t){var l=Xd(n);return Ig(Rg(n)?fg(e,l.transform,t,l):l.transform(t))}function Sg(n,e,t,l){var o=Xd(n);return Ig(Rg(n)?hg(e,o.transform,t,l,o):o.transform(t,l))}function kg(n,e,t,l,o){var r=Xd(n);return Ig(Rg(n)?mg(e,r.transform,t,l,o,r):r.transform(t,l,o))}function Eg(n,e,t,l,o,r){var i=Xd(n);return Ig(Rg(n)?vg(e,i.transform,t,l,o,r,i):i.transform(t,l,o,r))}function Tg(n,e,t){var l=Xd(n);return Ig(Rg(n)?wg(e,l.transform,t,l):l.transform.apply(l,t))}function Rg(n){return Ol()[Ot].data[n+Yt].pure}function Ig(n){if(zs.isWrapped(n)){n=zs.unwrap(n);var e=Ol();e[e[Pt]]=Ei}return n}var Dg=function(n){function e(e){void 0===e&&(e=!1);var t=n.call(this)||this;return t.__isAsync=e,t}return Object(l.__extends)(e,n),e.prototype.emit=function(e){n.prototype.next.call(this,e)},e.prototype.subscribe=function(e,t,l){var r,i=function(n){return null},a=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(n){setTimeout(function(){return e.next(n)})}:function(n){e.next(n)},e.error&&(i=this.__isAsync?function(n){setTimeout(function(){return e.error(n)})}:function(n){e.error(n)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(r=this.__isAsync?function(n){setTimeout(function(){return e(n)})}:function(n){e(n)},t&&(i=this.__isAsync?function(n){setTimeout(function(){return t(n)})}:function(n){t(n)}),l&&(a=this.__isAsync?function(){setTimeout(function(){return l()})}:function(){l()}));var u=n.prototype.subscribe.call(this,r,i,a);return e instanceof o.a&&e.add(u),u},e}(r.b);function Og(){return this._results[Ls()]()}var Fg=function(){function n(){this.dirty=!0,this._results=[],this.changes=new Dg,this.length=0;var e=Ls(),t=n.prototype;t[e]||(t[e]=Og)}return n.prototype.map=function(n){return this._results.map(n)},n.prototype.filter=function(n){return this._results.filter(n)},n.prototype.find=function(n){return this._results.find(n)},n.prototype.reduce=function(n,e){return this._results.reduce(n,e)},n.prototype.forEach=function(n){this._results.forEach(n)},n.prototype.some=function(n){return this._results.some(n)},n.prototype.toArray=function(){return this._results.slice()},n.prototype.toString=function(){return this._results.toString()},n.prototype.reset=function(n){this._results=sv(n),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},n.prototype.notifyOnChanges=function(){this.changes.emit(this)},n.prototype.setDirty=function(){this.dirty=!0},n.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},n}(),Ng=function(){return function(n,e,t,l,o){this.next=n,this.list=e,this.predicate=t,this.values=l,this.containerValues=o}}(),Mg=function(){function n(n,e,t,l){void 0===l&&(l=-1),this.parent=n,this.shallow=e,this.deep=t,this.nodeIndex=l}return n.prototype.track=function(n,e,t,l){t?this.deep=Zg(this.deep,n,e,null!=l?l:null):this.shallow=Zg(this.shallow,n,e,null!=l?l:null)},n.prototype.clone=function(e){return null!==this.shallow||dl(e)?new n(this,null,this.deep,e.index):this},n.prototype.container=function(){var e=Ag(this.shallow),t=Ag(this.deep);return e||t?new n(this,e,t):null},n.prototype.createView=function(){var e=qg(this.shallow),t=qg(this.deep);return e||t?new n(this,e,t):null},n.prototype.insertView=function(n){Pg(n,this.shallow),Pg(n,this.deep)},n.prototype.addNode=function(n){Ug(this.deep,n,!1),Ug(this.shallow,n,!1)},n.prototype.insertNodeBeforeViews=function(n){Ug(this.deep,n,!0),Ug(this.shallow,n,!0)},n.prototype.removeView=function(){jg(this.shallow),jg(this.deep)},n}();function Ag(n){for(var e=null;n;){var t=[];n.values.push(t),e=new Ng(e,n.list,n.predicate,t,null),n=n.next}return e}function qg(n){for(var e=null;n;)e=new Ng(e,n.list,n.predicate,[],n.values),n=n.next;return e}function Pg(n,e){for(;e;)e.containerValues.splice(n,0,e.values),e.values.length&&e.list.setDirty(),e=e.next}function jg(n){for(;n;){var e=n.containerValues,t=e.indexOf(n.values);e.splice(t,1)[0].length&&n.list.setDirty(),n=n.next}}function Lg(n,e){var t=n.localNames;if(t)for(var l=0;l<t.length;l+=2)if(t[l]===e)return t[l+1];return null}function Vg(n,e,t){var l=n[ot];if("function"==typeof l)return l();var o=t[Ot],r=ci(e,o,n,!1,!1);return null!==r?pi(o.data,t,r,e):null}function Bg(n,e,t,l){var o=n[ot]();return l?o?Vg(l,e,t):null:o}function zg(n,e,t,l){return t?Vg(t,n,e):l>-1?pi(e[Ot].data,e,l,n):function(n,e){return 3===n.type||4===n.type?df(hf,n,e):0===n.type?cf(Wf,hf,n,e):null}(n,e)}function Ug(n,e,t){for(var l=Ol(),o=l[Ot];n;){var r=n.predicate,i=r.type;if(i){var a=null;i===Wf?a=Bg(i,e,l,r.read):null!==(d=ci(e,o,i,!1,!1))&&(a=zg(e,l,r.read,d)),null!==a&&Hg(n,a,t)}else for(var u=r.selector,s=0;s<u.length;s++){var d;null!==(d=Lg(e,u[s]))&&null!==(a=zg(e,l,r.read,d))&&Hg(n,a,t)}n=n.next}}function Hg(n,e,t){t?n.values.unshift(e):n.values.push(e),n.list.setDirty()}function Zg(n,e,t,l){return new Ng(n,e,function(n,e){var t=Array.isArray(n);return{type:t?null:n,selector:t?n:null,read:e}}(t,l),e._valuesTree,null)}function Wg(n,e,t,l,o,r){var i=new Fg,a=n[At]||(n[At]=new Mg(null,null,null,r));return i._valuesTree=[],i._static=o,a.track(i,e,t,l),function(n,e,t){var l=Ds(n);l.push(e),n[Ot].firstTemplatePass&&Os(n).push(t,l.length-1)}(n,i,i.destroy),i}function Gg(n){var e=n,t=Xl();return!(!n.dirty||t!==e._static||(n.reset(e._valuesTree||[]),n.notifyOnChanges(),0))}function Kg(n,e,t){var l=Ol(),o=l[Ot];$g(l,o,n,e,t,!0),o.staticViewQueries=!0}function Yg(n,e,t){var l=Ol();return $g(l,l[Ot],n,e,t,!1)}function $g(n,e,t,l,o,r){e.firstTemplatePass&&e.expandoStartIndex++;var i=io(),a=Wg(n,t,l,o,r,-1);return Yd(i-Yt,a),ao(i+1),a}function Xg(){var n=io();return ao(n+1),ul(Ol(),n-Yt)}function Qg(n,e,t,l){var o=Ol();return Jg(o,o[Ot],n,e,t,l,!1,Wl().index)}function Jg(n,e,t,l,o,r,i,a){var u=Wg(n,l,o,r,i,a);if((n[Wt]||(n[Wt]=[])).push(u),e.firstTemplatePass){var s=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?e.contentQueries[e.contentQueries.length-1]:-1)&&s.push(t)}return u}function nb(n,e,t,l){var o=Ol(),r=o[Ot];Jg(o,r,n,e,t,l,!0,Wl().index),r.staticContentQueries=!0}function eb(){var n=Ol(),e=io();return ao(e+1),n[Wt][e]}function tb(n,e){return cf(Wf,hf,n,e)}var lb=function(){return{"\u0275\u0275attribute":nd,"\u0275\u0275attributeInterpolate1":dd,"\u0275\u0275attributeInterpolate2":cd,"\u0275\u0275attributeInterpolate3":pd,"\u0275\u0275attributeInterpolate4":fd,"\u0275\u0275attributeInterpolate5":hd,"\u0275\u0275attributeInterpolate6":md,"\u0275\u0275attributeInterpolate7":vd,"\u0275\u0275attributeInterpolate8":gd,"\u0275\u0275attributeInterpolateV":bd,"\u0275\u0275defineBase":ft,"\u0275\u0275defineComponent":it,"\u0275\u0275defineDirective":ht,"\u0275\u0275defineInjectable":T,"\u0275\u0275defineInjector":I,"\u0275\u0275defineNgModule":dt,"\u0275\u0275definePipe":mt,"\u0275\u0275directiveInject":Qd,"\u0275\u0275getFactoryOf":vi,"\u0275\u0275getInheritedFactory":gi,"\u0275\u0275inject":on,"\u0275\u0275injectAttribute":Jd,"\u0275\u0275templateRefExtractor":tb,"\u0275\u0275NgOnChangesFeature":Op,"\u0275\u0275ProvidersFeature":Gp,"\u0275\u0275InheritDefinitionFeature":qp,"\u0275\u0275container":Ud,"\u0275\u0275nextContext":Fc,"\u0275\u0275containerRefreshStart":Zd,"\u0275\u0275containerRefreshEnd":Wd,"\u0275\u0275namespaceHTML":bo,"\u0275\u0275namespaceMathML":go,"\u0275\u0275namespaceSVG":vo,"\u0275\u0275enableBindings":Il,"\u0275\u0275disableBindings":Dl,"\u0275\u0275allocHostVars":Ps,"\u0275\u0275elementStart":vc,"\u0275\u0275elementEnd":gc,"\u0275\u0275element":bc,"\u0275\u0275elementContainerStart":yc,"\u0275\u0275elementContainerEnd":wc,"\u0275\u0275pureFunction0":pg,"\u0275\u0275pureFunction1":fg,"\u0275\u0275pureFunction2":hg,"\u0275\u0275pureFunction3":mg,"\u0275\u0275pureFunction4":vg,"\u0275\u0275pureFunction5":gg,"\u0275\u0275pureFunction6":bg,"\u0275\u0275pureFunction7":_g,"\u0275\u0275pureFunction8":yg,"\u0275\u0275pureFunctionV":wg,"\u0275\u0275getCurrentView":Sc,"\u0275\u0275restoreView":Zl,"\u0275\u0275interpolation1":td,"\u0275\u0275interpolation2":ld,"\u0275\u0275interpolation3":od,"\u0275\u0275interpolation4":rd,"\u0275\u0275interpolation5":id,"\u0275\u0275interpolation6":ad,"\u0275\u0275interpolation7":ud,"\u0275\u0275interpolation8":sd,"\u0275\u0275interpolationV":ed,"\u0275\u0275listener":Tc,"\u0275\u0275load":Xd,"\u0275\u0275projection":Pc,"\u0275\u0275updateSyntheticHostBinding":Js,"\u0275\u0275componentHostSyntheticListener":Rc,"\u0275\u0275pipeBind1":xg,"\u0275\u0275pipeBind2":Sg,"\u0275\u0275pipeBind3":kg,"\u0275\u0275pipeBind4":Eg,"\u0275\u0275pipeBindV":Tg,"\u0275\u0275projectionDef":Mc,"\u0275\u0275property":Xs,"\u0275\u0275propertyInterpolate":jc,"\u0275\u0275propertyInterpolate1":Lc,"\u0275\u0275propertyInterpolate2":Vc,"\u0275\u0275propertyInterpolate3":Bc,"\u0275\u0275propertyInterpolate4":zc,"\u0275\u0275propertyInterpolate5":Uc,"\u0275\u0275propertyInterpolate6":Hc,"\u0275\u0275propertyInterpolate7":Zc,"\u0275\u0275propertyInterpolate8":Wc,"\u0275\u0275propertyInterpolateV":Gc,"\u0275\u0275pipe":Cg,"\u0275\u0275queryRefresh":Gg,"\u0275\u0275viewQuery":Yg,"\u0275\u0275staticViewQuery":Kg,"\u0275\u0275staticContentQuery":nb,"\u0275\u0275loadViewQuery":Xg,"\u0275\u0275contentQuery":Qg,"\u0275\u0275loadContentQuery":eb,"\u0275\u0275reference":$d,"\u0275\u0275elementHostAttrs":_c,"\u0275\u0275classMap":pc,"\u0275\u0275styling":ac,"\u0275\u0275styleMap":cc,"\u0275\u0275styleProp":sc,"\u0275\u0275styleSanitizer":nc,"\u0275\u0275stylingApply":fc,"\u0275\u0275classProp":dc,"\u0275\u0275select":ju,"\u0275\u0275template":Hd,"\u0275\u0275text":Kc,"\u0275\u0275textBinding":Yc,"\u0275\u0275textInterpolate":$c,"\u0275\u0275textInterpolate1":Xc,"\u0275\u0275textInterpolate2":Qc,"\u0275\u0275textInterpolate3":Jc,"\u0275\u0275textInterpolate4":np,"\u0275\u0275textInterpolate5":ep,"\u0275\u0275textInterpolate6":tp,"\u0275\u0275textInterpolate7":lp,"\u0275\u0275textInterpolate8":op,"\u0275\u0275textInterpolateV":rp,"\u0275\u0275embeddedViewStart":Cc,"\u0275\u0275embeddedViewEnd":xc,"\u0275\u0275i18n":Vv,"\u0275\u0275i18nAttributes":Bv,"\u0275\u0275i18nExp":Hv,"\u0275\u0275i18nStart":Nv,"\u0275\u0275i18nEnd":qv,"\u0275\u0275i18nApply":Zv,"\u0275\u0275i18nPostprocess":Av,"\u0275\u0275i18nLocalize":Jv,"\u0275\u0275resolveWindow":St,"\u0275\u0275resolveDocument":kt,"\u0275\u0275resolveBody":Et,"\u0275\u0275setComponentScope":at,"\u0275\u0275setNgModuleScope":ct,"\u0275\u0275sanitizeHtml":rr,"\u0275\u0275sanitizeStyle":ir,"\u0275\u0275defaultStyleSanitizer":pr,"\u0275\u0275sanitizeResourceUrl":ur,"\u0275\u0275sanitizeScript":sr,"\u0275\u0275sanitizeUrl":ar,"\u0275\u0275sanitizeUrlOrResourceUrl":cr}}(),ob=[],rb=[],ib=!1;function ab(){if(!ib){ib=!0;try{for(var n=rb.length-1;n>=0;n--){var e=rb[n],t=e.moduleType,l=e.ngModule;l.declarations&&l.declarations.every(ub)&&(rb.splice(n,1),pb(t,l))}}finally{ib=!1}}}function ub(n){return Array.isArray(n)?n.every(ub):!!P(n)}function sb(n,e){void 0===e&&(e={}),db(n,e),function(n,e){rb.push({moduleType:n,ngModule:e})}(n,e)}function db(n,e,t){void 0===t&&(t=!1);var l=sv(e.declarations||ob),o=null;Object.defineProperty(n,et,{configurable:!0,get:function(){return null===o&&(o=U().compileNgModule(lb,"ng:///"+n.name+"/ngModuleDef.js",{type:n,bootstrap:sv(e.bootstrap||ob).map(P),declarations:l.map(P),imports:sv(e.imports||ob).map(P).map(mb),exports:sv(e.exports||ob).map(P).map(mb),emitInline:!0,schemas:e.schemas?sv(e.schemas):null,id:e.id||null})),o}});var r=null;Object.defineProperty(n,N,{get:function(){if(null===r){var t={name:n.name,type:n,deps:Sn(n),providers:e.providers||ob,imports:[(e.imports||ob).map(P),(e.exports||ob).map(P)]};r=U().compileInjector(lb,"ng:///"+n.name+"/ngInjectorDef.js",t)}return r},configurable:!1})}function cb(){new Map,new Map,rb.length=0}function pb(n,e){var t=sv(e.declarations||ob),l=hb(n);t.forEach(function(e){e.hasOwnProperty(Qe)?fb(vt(e),l):e.hasOwnProperty(Je)||e.hasOwnProperty(nt)||(e.ngSelectorScope=n)})}function fb(n,e){n.directiveDefs=function(){return Array.from(e.compilation.directives).map(function(n){return n.hasOwnProperty(Qe)?vt(n):gt(n)}).filter(function(n){return!!n})},n.pipeDefs=function(){return Array.from(e.compilation.pipes).map(function(n){return bt(n)})},n.schemas=e.schemas,n.tView=null}function hb(n,e){if(!vb(n))throw new Error(n.name+" does not have an ngModuleDef");var t=yt(n);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var l={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return It(t.declarations).forEach(function(n){bt(n)?l.compilation.pipes.add(n):l.compilation.directives.add(n)}),It(t.imports).forEach(function(n){var t=n;if(!vb(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");e&&e(t);var o=hb(t,e);o.exported.directives.forEach(function(n){return l.compilation.directives.add(n)}),o.exported.pipes.forEach(function(n){return l.compilation.pipes.add(n)})}),It(t.exports).forEach(function(n){var t=n;if(vb(t)){var o=hb(t,e);o.exported.directives.forEach(function(n){l.compilation.directives.add(n),l.exported.directives.add(n)}),o.exported.pipes.forEach(function(n){l.compilation.pipes.add(n),l.exported.pipes.add(n)})}else bt(t)?l.exported.pipes.add(t):l.exported.directives.add(t)}),t.transitiveCompileScopes=l,l}function mb(n){return function(n){return void 0!==n.ngModule}(n)?n.ngModule:n}function vb(n){return!!yt(n)}function gb(n,e){var t=null;!function(n,e){Ze(e)&&(Ue.set(n,e),He.add(n))}(n,e),Object.defineProperty(n,Qe,{get:function(){var o=U();if(null===t){if(Ze(e)){var r=["Component '"+n.name+"' is not resolved:"];throw e.templateUrl&&r.push(" - templateUrl: "+e.templateUrl),e.styleUrls&&e.styleUrls.length&&r.push(" - styleUrls: "+JSON.stringify(e.styleUrls)),r.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(r.join("\n"))}var i=e.templateUrl||"ng:///"+n.name+"/template.html",a=Object(l.__assign)({},yb(n,e),{typeSourceSpan:o.createParseSourceSpan("Component",n.name,i),template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||Xe,animations:e.animations,directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:e.encapsulation||Ke.Emulated,interpolation:e.interpolation,viewProviders:e.viewProviders||null});if(a.usesInheritance&&wb(n),t=o.compileComponent(lb,i,a),ab(),void 0!==n.ngSelectorScope){var u=hb(n.ngSelectorScope);fb(t,u)}}return t},configurable:!1}),En(n)}function bb(n,e){var t=null;Object.defineProperty(n,Je,{get:function(){if(null===t){var l=n&&n.name,o="ng:///"+l+"/ngDirectiveDef.js",r=U(),i=yb(n,e);i.typeSourceSpan=r.createParseSourceSpan("Directive",l,o),i.usesInheritance&&wb(n),t=r.compileDirective(lb,o,i)}return t},configurable:!1}),En(n)}function _b(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function yb(n,e){var t,l=xn().ownPropMetadata(n);return{name:n.name,type:n,typeArgumentCount:0,selector:e.selector,deps:Sn(n),host:e.host||$e,propMetadata:l,inputs:e.inputs||Xe,outputs:e.outputs||Xe,queries:Sb(n,l,kb),lifecycle:{usesOnChanges:n.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!_b(n),exportAs:(t=e.exportAs,void 0===t?null:t.split(",").map(function(n){return n.trim()})),providers:e.providers||null,viewQueries:Sb(n,l,Eb)}}function wb(n){for(var e=Object.prototype,t=Object.getPrototypeOf(n);t&&t!==e;){if(!gt(t)&&!vt(t)&&!_t(t)){var l=xb(t);l&&Cb(t,l)}t=Object.getPrototypeOf(t)}}function Cb(n,e){var t=null;Object.defineProperty(n,lt,{get:function(){if(null===t){var l="ng://"+(n&&n.name)+"/ngBaseDef.js",o=U();t=o.compileBase(lb,l,e)}return t},configurable:!1})}function xb(n){var e,t,l=xn().ownPropMetadata(n),o=Sb(n,l,Eb),r=Sb(n,l,kb),i=!1,a=function(n){l[n].forEach(function(l){var o=l.ngMetadataName;"Input"===o?(e=e||{})[n]=l.bindingPropertyName?[l.bindingPropertyName,n]:n:"Output"===o?(t=t||{})[n]=l.bindingPropertyName||n:"HostBinding"!==o&&"HostListener"!==o||(i=!0)})};for(var u in l)a(u);return e||t||o.length||r.length||i?{name:n.name,inputs:e,outputs:t,viewQueries:o,queries:r,propMetadata:l}:null}function Sb(n,e,t){var l=[],o=function(o){if(e.hasOwnProperty(o)){var r=e[o];r.forEach(function(e){if(t(e)){if(!e.selector)throw new Error("Can't construct a query for the property \""+o+'" of "'+Ct(n)+"\" since the query selector wasn't defined.");if(r.some(Tb))throw new Error("Cannot combine @Input decorators with query decorators");l.push(function(n,e){return{propertyName:o,predicate:(t=e.selector,"string"==typeof t?t.split(",").map(function(n){return n.trim()}):P(t)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static};var t}(0,e))}})}};for(var r in e)o(r);return l}function kb(n){var e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function Eb(n){var e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function Tb(n){return"Input"===n.ngMetadataName}function Rb(n,e){var t=null;Object.defineProperty(n,nt,{get:function(){if(null===t){var l=n.name;t=U().compilePipe(lb,"ng:///"+l+"/ngPipeDef.js",{type:n,typeArgumentCount:0,name:l,deps:Sn(n),pipeName:e.name,pure:void 0===e.pure||e.pure})}return t},configurable:!1})}var Ib=p("Directive",function(n){return void 0===n&&(n={}),n},void 0,void 0,function(n,e){return Vb(n,e)}),Db=p("Component",function(n){return void 0===n&&(n={}),Object(l.__assign)({changeDetection:Le.Default},n)},Ib,void 0,function(n,e){return Lb(n,e)}),Ob=p("Pipe",function(n){return Object(l.__assign)({pure:!0},n)},void 0,void 0,function(n,e){return Bb(n,e)}),Fb=m("Input",function(n){return{bindingPropertyName:n}}),Nb=m("Output",function(n){return{bindingPropertyName:n}}),Mb=m("HostBinding",function(n){return{hostPropertyName:n}}),Ab=m("HostListener",function(n,e){return{eventName:n,args:e}}),qb=gb,Pb=bb,jb=Rb,Lb=ff,Vb=ff,Bb=ff,zb=p("NgModule",function(n){return n},void 0,void 0,function(n,e){return Hb(n,e)}),Ub=sb,Hb=function(n,e){var t=e&&e.imports||[];e&&e.exports&&(t=Object(l.__spread)(t,[e.exports])),n.ngInjectorDef=I({factory:Mn(n,{useClass:n}),providers:e&&e.providers,imports:t})},Zb=new Z("Application Initializer"),Wb=function(){function n(n){var e=this;this.appInits=n,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(n,t){e.resolve=n,e.reject=t})}return n.prototype.runInitializers=function(){var n=this;if(!this.initialized){var e=[],t=function(){n.done=!0,n.resolve()};if(this.appInits)for(var l=0;l<this.appInits.length;l++){var o=this.appInits[l]();kc(o)&&e.push(o)}Promise.all(e).then(function(){t()}).catch(function(e){n.reject(e)}),0===e.length&&t(),this.initialized=!0}},n}(),Gb=new Z("AppId");function Kb(){return""+$b()+$b()+$b()}var Yb={provide:Gb,useFactory:Kb,deps:[]};function $b(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Xb=new Z("Platform Initializer"),Qb=new Z("Platform ID"),Jb=new Z("appBootstrapListener"),n_=new Z("Application Packages Root URL"),e_=function(){function n(){}return n.prototype.log=function(n){console.log(n)},n.prototype.warn=function(n){console.warn(n)},n}(),t_=new Z("LocaleId"),l_=new Z("Translations"),o_=new Z("TranslationsFormat"),r_=function(n){return n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore",n}({}),i_=function(){return function(n,e){this.ngModuleFactory=n,this.componentFactories=e}}();function a_(){throw new Error("Runtime compiler is not loaded")}var u_,s_,d_=function(n){return new dg(n)},c_=a_,p_=function(n){return Promise.resolve(d_(n))},f_=a_,h_=function(n){var e=d_(n),t=It(yt(n).declarations).reduce(function(n,e){var t=vt(e);return t&&n.push(new nv(t)),n},[]);return new i_(e,t)},m_=a_,v_=function(n){return Promise.resolve(h_(n))},g_=a_,b_=function(){function n(){this.compileModuleSync=c_,this.compileModuleAsync=f_,this.compileModuleAndAllComponentsSync=m_,this.compileModuleAndAllComponentsAsync=g_}return n.prototype.clearCache=function(){},n.prototype.clearCacheFor=function(n){},n.prototype.getModuleId=function(n){},n}(),__=new Z("compilerOptions"),y_=function(){return function(){}}();function w_(){var n=z.wtf;return!(!n||!(u_=n.trace)||(s_=u_.events,0))}function C_(n,e){return void 0===e&&(e=null),s_.createScope(n,e)}function x_(n,e){return u_.leaveScope(n,e),e}function S_(n,e){return u_.beginTimeRange(n,e)}function k_(n){u_.endTimeRange(n)}var E_=w_();function T_(n,e){return null}var R_=E_?C_:function(n,e){return T_},I_=E_?x_:function(n,e){return e},D_=E_?S_:function(n,e){return null},O_=E_?k_:function(n){return null},F_=function(){return Promise.resolve(0)}();function N_(n){"undefined"==typeof Zone?F_.then(function(){n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}var M_=function(){function n(n){var e,t=n.enableLongStackTrace,l=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dg(!1),this.onMicrotaskEmpty=new Dg(!1),this.onStable=new Dg(!1),this.onError=new Dg(!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)),l&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,t,l,o,r,i){try{return j_(e),n.invokeTask(l,o,r,i)}finally{L_(e)}},onInvoke:function(n,t,l,o,r,i,a){try{return j_(e),n.invoke(l,o,r,i,a)}finally{L_(e)}},onHasTask:function(n,t,l,o){n.hasTask(l,o),t===l&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,P_(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(n,t,l,o){return n.handleError(l,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return n.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},n.assertInAngularZone=function(){if(!n.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},n.assertNotInAngularZone=function(){if(n.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},n.prototype.run=function(n,e,t){return this._inner.run(n,e,t)},n.prototype.runTask=function(n,e,t,l){var o=this._inner,r=o.scheduleEventTask("NgZoneEvent: "+l,n,q_,A_,A_);try{return o.runTask(r,e,t)}finally{o.cancelTask(r)}},n.prototype.runGuarded=function(n,e,t){return this._inner.runGuarded(n,e,t)},n.prototype.runOutsideAngular=function(n){return this._outer.run(n)},n}();function A_(){}var q_={};function P_(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(function(){return n.onStable.emit(null)})}finally{n.isStable=!0}}}function j_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function L_(n){n._nesting--,P_(n)}var V_=function(){function n(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dg,this.onMicrotaskEmpty=new Dg,this.onStable=new Dg,this.onError=new Dg}return n.prototype.run=function(n){return n()},n.prototype.runGuarded=function(n){return n()},n.prototype.runOutsideAngular=function(n){return n()},n.prototype.runTask=function(n){return n()},n}(),B_=function(){function n(n){var e=this;this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return n.prototype._watchAngularEvents=function(){var n=this;this._ngZone.onUnstable.subscribe({next:function(){n._didWork=!0,n._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){n._ngZone.onStable.subscribe({next:function(){M_.assertNotInAngularZone(),N_(function(){n._isZoneStable=!0,n._runCallbacksIfReady()})}})})},n.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},n.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},n.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},n.prototype._runCallbacksIfReady=function(){var n=this;if(this.isStable())N_(function(){for(;0!==n._callbacks.length;){var e=n._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(n._didWork)}n._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(n){return!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)}),this._didWork=!0}},n.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(n){return{source:n.source,creationLocation:n.creationLocation,data:n.data}}):[]},n.prototype.addCallback=function(n,e,t){var l=this,o=-1;e&&e>0&&(o=setTimeout(function(){l._callbacks=l._callbacks.filter(function(n){return n.timeoutId!==o}),n(l._didWork,l.getPendingTasks())},e)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:t})},n.prototype.whenStable=function(n,e,t){if(t&&!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(n,e,t),this._runCallbacksIfReady()},n.prototype.getPendingRequestCount=function(){return this._pendingCount},n.prototype.findProviders=function(n,e,t){return[]},n}(),z_=function(){function n(){this._applications=new Map,Z_.addToWindow(this)}return n.prototype.registerApplication=function(n,e){this._applications.set(n,e)},n.prototype.unregisterApplication=function(n){this._applications.delete(n)},n.prototype.unregisterAllApplications=function(){this._applications.clear()},n.prototype.getTestability=function(n){return this._applications.get(n)||null},n.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},n.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},n.prototype.findTestabilityInTree=function(n,e){return void 0===e&&(e=!0),Z_.findTestabilityInTree(this,n,e)},Object(l.__decorate)([Object(l.__metadata)("design:paramtypes",[])],n)}();function U_(n){Z_=n}var H_,Z_=new(function(){function n(){}return n.prototype.addToWindow=function(n){},n.prototype.findTestabilityInTree=function(n,e,t){return null},n}());function W_(n,e,t){var o=new dg(t);if(0===Ue.size)return Promise.resolve(o);var r,i,a=(r=n.get(__,[]).concat(e).map(function(n){return n.providers}),i=[],r.forEach(function(n){return n&&i.push.apply(i,Object(l.__spread)(n))}),i);if(0===a.length)return Promise.resolve(o);var u=U(),s=te.create({providers:a}).get(u.ResourceLoader);return ze(function(n){return Promise.resolve(s.get(n))}).then(function(){return o})}function G_(n){return n.isBoundToModule}var K_=new Z("AllowMultipleToken"),Y_=function(){return function(n,e){this.name=n,this.token=e}}();function $_(n){if(H_&&!H_.destroyed&&!H_.injector.get(K_,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");H_=n.get(ey);var e=n.get(Xb,null);return e&&e.forEach(function(n){return n()}),H_}function X_(n,e,t){void 0===t&&(t=[]);var l="Platform: "+e,o=new Z(l);return function(e){void 0===e&&(e=[]);var r=ny();if(!r||r.injector.get(K_,!1))if(n)n(t.concat(e).concat({provide:o,useValue:!0}));else{var i=t.concat(e).concat({provide:o,useValue:!0});$_(te.create({providers:i,name:l}))}return Q_(o)}}function Q_(n){var e=ny();if(!e)throw new Error("No platform exists!");if(!e.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function J_(){H_&&!H_.destroyed&&H_.destroy()}function ny(){return H_&&!H_.destroyed?H_:null}var ey=function(){function n(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return n.prototype.bootstrapModuleFactory=function(n,e){var t,l=this,o="noop"===(t=e?e.ngZone:void 0)?new V_:("zone.js"===t?void 0:t)||new M_({enableLongStackTrace:Io()}),r=[{provide:M_,useValue:o}];return o.run(function(){var e=te.create({providers:r,parent:l.injector,name:n.moduleType.name}),t=n.create(e),i=t.injector.get(wi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return tg(t.injector.get(t_,ng)),t.onDestroy(function(){return oy(l._modules,t)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(n){i.handleError(n)}})}),function(n,e,o){try{var r=((i=t.injector.get(Wb)).runInitializers(),i.donePromise.then(function(){return l._moduleDoBootstrap(t),t}));return kc(r)?r.catch(function(t){throw e.runOutsideAngular(function(){return n.handleError(t)}),t}):r}catch(a){throw e.runOutsideAngular(function(){return n.handleError(a)}),a}var i}(i,o)})},n.prototype.bootstrapModule=function(n,e){var t=this;void 0===e&&(e=[]);var l=ty({},e);return function(n,e,t){return n.get(y_).createCompiler([e]).compileModuleAsync(t)}(this.injector,l,n).then(function(n){return t.bootstrapModuleFactory(n,l)})},n.prototype._moduleDoBootstrap=function(n){var e=n.injector.get(ly);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(n){return e.bootstrap(n)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module "+M(n.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');n.instance.ngDoBootstrap(e)}this._modules.push(n)},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},Object.defineProperty(n.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0},Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n}();function ty(n,e){return Array.isArray(e)?e.reduce(ty,n):Object(l.__assign)({},n,e)}var ly=function(){function n(n,e,t,l,o,r){var s=this;this._zone=n,this._console=e,this._injector=t,this._exceptionHandler=l,this._componentFactoryResolver=o,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Io(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var d=new i.a(function(n){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){n.next(s._stable),n.complete()})}),c=new i.a(function(n){var e;s._zone.runOutsideAngular(function(){e=s._zone.onStable.subscribe(function(){M_.assertNotInAngularZone(),N_(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,n.next(!0))})})});var t=s._zone.onUnstable.subscribe(function(){M_.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){n.next(!1)}))});return function(){e.unsubscribe(),t.unsubscribe()}});this.isStable=Object(a.a)(d,c.pipe(Object(u.a)()))}var e;return e=n,n.prototype.bootstrap=function(n,e){var t,l=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.");t=n instanceof Yp?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(t.componentType);var o=t instanceof of?null:this._injector.get(rf),r=t.create(te.NULL,[],e||t.selector,o);r.onDestroy(function(){l._unloadComponent(r)});var i=r.injector.get(B_,null);return i&&r.injector.get(z_).registerApplication(r.location.nativeElement,i),this._loadComponent(r),Io()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r},n.prototype.tick=function(){var n,t,o,r,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=e._tickScope();try{this._runningTick=!0;try{for(var u=Object(l.__values)(this._views),s=u.next();!s.done;s=u.next())s.value.detectChanges()}catch(p){n={error:p}}finally{try{s&&!s.done&&(t=u.return)&&t.call(u)}finally{if(n)throw n.error}}if(this._enforceNoNewChanges)try{for(var d=Object(l.__values)(this._views),c=d.next();!c.done;c=d.next())c.value.checkNoChanges()}catch(f){o={error:f}}finally{try{c&&!c.done&&(r=d.return)&&r.call(d)}finally{if(o)throw o.error}}}catch(h){this._zone.runOutsideAngular(function(){return i._exceptionHandler.handleError(h)})}finally{this._runningTick=!1,I_(a)}},n.prototype.attachView=function(n){var e=n;this._views.push(e),e.attachToAppRef(this)},n.prototype.detachView=function(n){var e=n;oy(this._views,e),e.detachFromAppRef()},n.prototype._loadComponent=function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Jb,[]).concat(this._bootstrapListeners).forEach(function(e){return e(n)})},n.prototype._unloadComponent=function(n){this.detachView(n.hostView),oy(this.components,n)},n.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(n){return n.destroy()})},Object.defineProperty(n.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),n._tickScope=R_("ApplicationRef#tick()"),n}();function oy(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}var ry=function(){return function(){}}();function iy(n){var e=ag(n);if(!e)throw sy(n);return e}function ay(n){var e=ag(n);if(!e)throw sy(n);return new dg(e)}var uy=iy;function sy(n){return new Error("No module with ID "+n+" loaded")}var dy=!0,cy=!1,py=function(){return function(){}}(),fy={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},hy=function(){function n(n,e){this._compiler=n,this._config=e||fy}return n.prototype.load=function(n){return!cy&&this._compiler instanceof b_?this.loadFactory(n):this.loadAndCompile(n)},n.prototype.loadAndCompile=function(n){var e=this,o=Object(l.__read)(n.split("#"),2),r=o[0],i=o[1];return void 0===i&&(i="default"),t("crnd")(r).then(function(n){return n[i]}).then(function(n){return my(n,r,i)}).then(function(n){return e._compiler.compileModuleAsync(n)})},n.prototype.loadFactory=function(n){var e=Object(l.__read)(n.split("#"),2),o=e[0],r=e[1],i="NgFactory";return void 0===r&&(r="default",i=""),t("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(n){return n[r+i]}).then(function(n){return my(n,o,r)})},n}();function my(n,e,t){if(!n)throw new Error("Cannot find '"+t+"' in '"+e+"'");return n}var vy=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(Vf),gy=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(l.__extends)(e,n),e}(vy),by=function(){return function(n,e){this.name=n,this.callback=e}}(),_y=function(){function n(n,e,t){this.listeners=[],this.parent=null,this._debugContext=t,this.nativeNode=n,e&&e instanceof yy&&e.addChild(this)}return Object.defineProperty(n.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),n}(),yy=function(n){function e(e,t,l){var o=n.call(this,e,t,l)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(l.__extends)(e,n),e.prototype.addChild=function(n){n&&(this.childNodes.push(n),n.parent=this)},e.prototype.removeChild=function(n){var e=this.childNodes.indexOf(n);-1!==e&&(n.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(n,e){var t,o=this,r=this.childNodes.indexOf(n);-1!==r&&((t=this.childNodes).splice.apply(t,Object(l.__spread)([r+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),n.parent=o}))},e.prototype.insertBefore=function(n,e){var t=this.childNodes.indexOf(n);-1===t?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(t,0,e))},e.prototype.query=function(n){return this.queryAll(n)[0]||null},e.prototype.queryAll=function(n){var e=[];return Cy(this,n,e),e},e.prototype.queryAllNodes=function(n){var e=[];return xy(this,n,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(n){return n instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach(function(t){t.name==n&&t.callback(e)})},e}(_y);function wy(n){return n.map(function(n){return n.nativeElement})}function Cy(n,e,t){n.childNodes.forEach(function(n){n instanceof yy&&(e(n)&&t.push(n),Cy(n,e,t))})}function xy(n,e,t){n instanceof yy&&n.childNodes.forEach(function(n){e(n)&&t.push(n),n instanceof yy&&xy(n,e,t)})}var Sy=function(){function n(n){this.nativeNode=n}return Object.defineProperty(n.prototype,"parent",{get:function(){var n=this.nativeNode.parentNode;return n?new ky(n):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return pp(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){var n=this.nativeNode;return n&&(up(n)||dp(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return sp(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"listeners",{get:function(){return bp(this.nativeNode).filter(gp)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return void 0===(n=hp(this.nativeNode)).localRefs&&(n.localRefs=function(e,t){var l=e[Ot].data[n.nodeIndex];if(l&&l.localNames){for(var o={},r=l.index+1,i=0;i<l.localNames.length;i+=2)o[l.localNames[i]]=e[r],r++;return o}return null}(n.lView)),n.localRefs||{};var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return function(n){var e=hp(n,!1);if(!e)return[];for(var t,l=e.lView[Ot],o=l.data[e.nodeIndex],r=[],i=o.directiveEnd,a=65535&o.providerIndexes;a<i;a++){var u=l.data[a];void 0!==(t=u).type&&void 0!==t.template&&void 0!==t.declaredInputs&&(u=u.type),r.push(u)}return r}(this.nativeNode)},enumerable:!0,configurable:!0}),n}(),ky=function(n){function e(e){return n.call(this,e)||this}return Object(l.__extends)(e,n),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){var n=hp(this.nativeNode),e=n.lView,t=e[Ot].data,o=t[n.nodeIndex],r=function(n,e,t){for(var l={},o=function(e,t){for(var l=n.propertyMetadataStartIndex-1,o=t[l];"string"==typeof o&&!Rt(o);)o=t[--l];return l+1}(0,t);o<n.propertyMetadataEndIndex;){for(var r=void 0,i=t[o];!Rt(i);)r=(r||"")+wt(e[o])+t[o],i=t[++o];r=void 0===r?e[o]:r+=e[o];var a=i.split(Tt),u=a[0];u&&(l[u]=a[1]&&a[2]?a[1]+r+a[2]:r),o++}return l}(o,e,t),i=function(n,e,t){for(var l={},o=n.directiveEnd,r=t[o];"string"==typeof r;)l[r.split(Tt)[0]]=e[o],r=t[++o];return l}(o,e,t),a=function(n){var e,t,o=n.classes,r="";try{for(var i=Object(l.__values)(Object.keys(o)),a=i.next();!a.done;a=i.next()){var u=a.value;o[u]&&(r=r?r+" "+u:u)}}catch(s){e={error:s}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r}(this),u=Object(l.__assign)({},r,i);return a&&(u.className=u.className?u.className+" "+a:a),u},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var n={},e=this.nativeElement;if(!e)return n;var t=hp(e),l=t.lView[Ot].data[t.nodeIndex].attrs,o=[];if(l)for(var r=0;r<l.length;){var i=l[r];if("string"!=typeof i)break;n[i]=l[r+1],o.push(i.toLowerCase()),r+=2}var a=e.attributes;for(r=0;r<a.length;r++){var u=a[r];-1===o.indexOf(u.name)&&(n[u.name]=u.value)}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classes",{get:function(){var n={},e=this.nativeElement;if(e){var t=vp(e),l=Ar(t.nodeIndex,t.lView);if(l){for(var o=10;o<l.length;o+=4)if(Wi(l,o)){var r=da(l,o),i=sa(l,o);"boolean"==typeof i&&(n[r]=i)}}else{var a=e.classList;for(o=0;o<a.length;o++)n[a[o]]=!0}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){var n={},e=this.nativeElement;if(e){var t=vp(e),l=Ar(t.nodeIndex,t.lView);if(l){for(var o=10;o<l.length;o+=4)if(!Wi(l,o)){var r=da(l,o),i=sa(l,o);null!==i&&(n[r]=i)}}else{var a=e.style;for(o=0;o<a.length;o++){var u=a.item(o);n[u]=a.getPropertyValue(u)}}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){for(var n=this.nativeNode.childNodes,e=[],t=0;t<n.length;t++)e.push(Fy(n[t]));return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var n=this.nativeElement;if(!n)return[];for(var e=n.children,t=[],l=0;l<e.length;l++)t.push(Fy(e[l]));return t},enumerable:!0,configurable:!0}),e.prototype.query=function(n){return this.queryAll(n)[0]||null},e.prototype.queryAll=function(n){var e=[];return Ey(this,n,e,!0),e},e.prototype.queryAllNodes=function(n){var e=[];return Ey(this,n,e,!1),e},e.prototype.triggerEventHandler=function(n,e){this.listeners.forEach(function(t){t.name===n&&t.callback(e)})},e}(Sy);function Ey(n,e,t,l){var o=hp(n.nativeNode);Ty(o.lView[Ot].data[o.nodeIndex],o.lView,e,t,l,n.nativeNode)}function Ty(n,e,t,o,r,i){var a,u,s=il(n,e);if(3===n.type||4===n.type){Iy(s,t,o,r,i),cl(n)?(p=sl(n.index,e))&&p[Ot].firstChild&&Ty(p[Ot].firstChild,p,t,o,r,i):n.child&&Ty(n.child,e,t,o,r,i);var d=e[n.index];ll(d)&&Ry(d,t,o,r,i)}else if(0===n.type){var c=e[n.index];Iy(c[Qt],t,o,r,i),Ry(c,t,o,r,i)}else if(1===n.type){var p,f=(p=$r(e))[qt].projection[n.projection];if(Array.isArray(f))try{for(var h=Object(l.__values)(f),m=h.next();!m.done;m=h.next())Iy(m.value,t,o,r,i)}catch(b){a={error:b}}finally{try{m&&!m.done&&(u=h.return)&&u.call(h)}finally{if(a)throw a.error}}else if(f){var v,g=p[Nt];Ty(v=g[Ot].data[f.index],g,t,o,r,i)}}else n.child&&Ty(n.child,e,t,o,r,i);i!==s&&(v=2&n.flags?n.projectionNext:n.next)&&Ty(v,e,t,o,r,i)}function Ry(n,e,t,l,o){for(var r=Jt;r<n.length;r++){var i=n[r];Ty(i[Ot].node,i,e,t,l,o)}}function Iy(n,e,t,l,o){if(o!==n){var r=Ny(n);r&&(!l||r instanceof ky)&&e(r)&&t.push(r)}}var Dy=new Map,Oy="__ng_debug__";function Fy(n){return n instanceof Node?(n.hasOwnProperty(Oy)||(n[Oy]=n.nodeType==Node.ELEMENT_NODE?new ky(n):new Sy(n)),n[Oy]):null}var Ny=function(n){return Dy.get(n)||null};function My(n){Dy.set(n.nativeNode,n)}var Ay=_y,qy=yy,Py=X_(null,"core",[{provide:Qb,useValue:"unknown"},{provide:ey,deps:[te]},{provide:z_,deps:[]},{provide:e_,deps:[]}]);function jy(){return Hf}function Ly(){return Zf}function Vy(n){return n||"en-US"}var By=[{provide:ly,useClass:ly,deps:[M_,e_,te,wi,tf,Wb]},{provide:Jm,deps:[M_],useFactory:zy},{provide:Wb,useClass:Wb,deps:[[new b,Zb]]},{provide:b_,useClass:b_,deps:[]},Yb,{provide:jf,useFactory:jy,deps:[]},{provide:Lf,useFactory:Ly,deps:[]},{provide:t_,useFactory:Vy,deps:[[new g(t_),new b,new y]]}];function zy(n){var e=[];return n.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(n){e.push(n)}}var Uy=function(){return function(n){}}();function Hy(n,e,t,l,o,r){n|=1;var i=Dh(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:n,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i.matchedQueries,matchedQueryIds:i.matchedQueryIds,references:i.references,ngContentIndex:t,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:r?Mh(r):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||dh},provider:null,text:null,query:null,ngContent:null}}function Zy(n,e,t,o,r,i,a,u,s,d,c,p){var f;void 0===a&&(a=[]),d||(d=dh);var h=Dh(t),m=h.matchedQueries,v=h.references,g=h.matchedQueryIds,b=null,_=null;i&&(b=(f=Object(l.__read)(Bh(i),2))[0],_=f[1]),u=u||[];for(var y=new Array(u.length),w=0;w<u.length;w++){var C=Object(l.__read)(u[w],3),x=C[0],S=C[1],k=C[2],E=Object(l.__read)(Bh(S),2),T=E[0],R=E[1],I=void 0,D=void 0;switch(15&x){case 4:D=k;break;case 1:case 8:I=k}y[w]={flags:x,ns:T,name:R,nonMinifiedName:R,securityContext:I,suffix:D}}s=s||[];var O=new Array(s.length);for(w=0;w<s.length;w++){var F=Object(l.__read)(s[w],2);O[w]={type:0,target:F[0],eventName:F[1],propName:null}}var N=(a=a||[]).map(function(n){var e=Object(l.__read)(n,2),t=e[0],o=e[1],r=Object(l.__read)(Bh(t),2);return[r[0],r[1],o]});return p=function(n){if(n&&n.id===hh){var e=null!=n.encapsulation&&n.encapsulation!==Ke.None||n.styles.length||Object.keys(n.data).length;n.id=e?"c"+gh++:mh}return n&&n.id===mh&&(n=null),n||null}(p),c&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:g,references:v,ngContentIndex:o,childCount:r,bindings:y,bindingFlags:zh(y),outputs:O,element:{ns:b,name:_,attrs:N,template:null,componentProvider:null,componentView:c||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:d||dh},provider:null,text:null,query:null,ngContent:null}}function Wy(n,e,t){var o,r=t.element,i=n.root.selectorOrNode,a=n.renderer;if(n.parent||!i){o=r.name?a.createElement(r.name,r.ns):a.createComment("");var u=Fh(n,e,t);u&&a.appendChild(u,o)}else o=a.selectRootElement(i,!!r.componentRendererType&&r.componentRendererType.encapsulation===Ke.ShadowDom);if(r.attrs)for(var s=0;s<r.attrs.length;s++){var d=Object(l.__read)(r.attrs[s],3);a.setAttribute(o,d[1],d[2],d[0])}return o}function Gy(n,e,t,l){for(var o=0;o<t.outputs.length;o++){var r=t.outputs[o],i=Ky(n,t.nodeIndex,(c=r.eventName,(d=r.target)?d+":"+c:c)),a=r.target,u=n;"component"===r.target&&(a=null,u=e);var s=u.renderer.listen(a||l,r.eventName,i);n.disposables[t.outputIndex+o]=s}var d,c}function Ky(n,e,t){return function(l){return xh(n,e,t,l)}}function Yy(n,e,t,l){if(!_h(n,e,t,l))return!1;var o=e.bindings[t],r=oh(n,e.nodeIndex),i=r.renderElement,a=o.name;switch(15&o.flags){case 1:!function(n,e,t,l,o,r){var i=e.securityContext,a=i?n.root.sanitizer.sanitize(i,r):r;a=null!=a?a.toString():null;var u=n.renderer;null!=r?u.setAttribute(t,o,a,l):u.removeAttribute(t,o,l)}(n,o,i,o.ns,a,l);break;case 2:!function(n,e,t,l){var o=n.renderer;l?o.addClass(e,t):o.removeClass(e,t)}(n,i,a,l);break;case 4:!function(n,e,t,l,o){var r=n.root.sanitizer.sanitize(nr.STYLE,o);if(null!=r){r=r.toString();var i=e.suffix;null!=i&&(r+=i)}else r=null;var a=n.renderer;null!=r?a.setStyle(t,l,r):a.removeStyle(t,l)}(n,o,i,a,l);break;case 8:!function(n,e,t,l,o){var r=e.securityContext,i=r?n.root.sanitizer.sanitize(r,o):o;n.renderer.setProperty(t,l,i)}(33554432&e.flags&&32&o.flags?r.componentView:n,o,i,a,l)}return!0}function $y(n,e,t){var l=[];for(var o in t)l.push({propName:o,bindingType:t[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Ih(e),bindings:l},ngContent:null}}function Xy(n){for(var e=n.def.nodeMatchedQueries;n.parent&&Rh(n);){var t=n.parentNodeDef;n=n.parent;for(var l=t.nodeIndex+t.childCount,o=0;o<=l;o++)67108864&(r=n.def.nodes[o]).flags&&536870912&r.flags&&(r.query.filterId&e)===r.query.filterId&&ah(n,o).setDirty(),!(1&r.flags&&o+r.childCount<t.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(o+=r.childCount)}if(134217728&n.def.nodeFlags)for(o=0;o<n.def.nodes.length;o++){var r;134217728&(r=n.def.nodes[o]).flags&&536870912&r.flags&&ah(n,o).setDirty(),o+=r.childCount}}function Qy(n,e){var t=ah(n,e.nodeIndex);if(t.dirty){var l,o=void 0;if(67108864&e.flags){var r=e.parent.parent;o=Jy(n,r.nodeIndex,r.nodeIndex+r.childCount,e.query,[]),l=rh(n,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Jy(n,0,n.def.nodes.length-1,e.query,[]),l=n.component);t.reset(o);for(var i=e.query.bindings,a=!1,u=0;u<i.length;u++){var s=i[u],d=void 0;switch(s.bindingType){case 0:d=t.first;break;case 1:d=t,a=!0}l[s.propName]=d}a&&t.notifyOnChanges()}}function Jy(n,e,t,l,o){for(var r=e;r<=t;r++){var i=n.def.nodes[r],a=i.matchedQueries[l.id];if(null!=a&&o.push(nw(n,i,a)),1&i.flags&&i.element.template&&(i.element.template.nodeMatchedQueries&l.filterId)===l.filterId){var u=oh(n,r);if((i.childMatchedQueries&l.filterId)===l.filterId&&(Jy(n,r+1,r+i.childCount,l,o),r+=i.childCount),16777216&i.flags)for(var s=u.viewContainer._embeddedViews,d=0;d<s.length;d++){var c=s[d],p=Sh(c);p&&p===u&&Jy(c,0,c.def.nodes.length-1,l,o)}var f=u.template._projectedViews;if(f)for(d=0;d<f.length;d++){var h=f[d];Jy(h,0,h.def.nodes.length-1,l,o)}}(i.childMatchedQueries&l.filterId)!==l.filterId&&(r+=i.childCount)}return o}function nw(n,e,t){if(null!=t)switch(t){case 1:return oh(n,e.nodeIndex).renderElement;case 0:return new hf(oh(n,e.nodeIndex).renderElement);case 2:return oh(n,e.nodeIndex).template;case 3:return oh(n,e.nodeIndex).viewContainer;case 4:return rh(n,e.nodeIndex).instance}}function ew(n,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:n,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function tw(n,e,t){var l=Fh(n,e,t);l&&Ph(n,t.ngContent.index,1,l,null,void 0)}function lw(n,e){return iw(128,n,new Array(e+1))}function ow(n,e){return iw(32,n,new Array(e))}function rw(n,e){for(var t=Object.keys(e),l=t.length,o=new Array(l),r=0;r<l;r++){var i=t[r];o[e[i]]=i}return iw(64,n,o)}function iw(n,e,t){for(var l=new Array(t.length),o=0;o<t.length;o++){var r=t[o];l[o]={flags:8,name:r,ns:null,nonMinifiedName:r,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:l,bindingFlags:zh(l),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function aw(n,e,t){for(var l=new Array(t.length-1),o=1;o<t.length;o++)l[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:t[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:l,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:t[0]},query:null,ngContent:null}}function uw(n,e,t){var l,o=n.renderer;l=o.createText(t.text.prefix);var r=Fh(n,e,t);return r&&o.appendChild(r,l),{renderText:l}}function sw(n,e){return(null!=n?n.toString():"")+e.suffix}function dw(n,e,t,l){for(var o=0,r=0,i=0,a=0,u=0,s=null,d=null,c=!1,p=!1,f=null,h=0;h<e.length;h++){var m=e[h];if(m.nodeIndex=h,m.parent=s,m.bindingIndex=o,m.outputIndex=r,m.renderParent=d,i|=m.flags,u|=m.matchedQueryIds,m.element){var v=m.element;v.publicProviders=s?s.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,c=!1,p=!1,m.element.template&&(u|=m.element.template.nodeMatchedQueries)}if(pw(s,m,e.length),o+=m.bindings.length,r+=m.outputs.length,!d&&3&m.flags&&(f=m),20224&m.flags){c||(c=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var g=0!=(32768&m.flags);0==(8192&m.flags)||g?s.element.publicProviders[ph(m.provider.token)]=m:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[ph(m.provider.token)]=m),g&&(s.element.componentProvider=m)}if(s?(s.childFlags|=m.flags,s.directChildFlags|=m.flags,s.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(s.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)s=m,cw(m)||(d=m);else for(;s&&h===s.nodeIndex+s.childCount;){var b=s.parent;b&&(b.childFlags|=s.childFlags,b.childMatchedQueries|=s.childMatchedQueries),d=(s=b)&&cw(s)?s.renderParent:s}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:u,flags:n,nodes:e,updateDirectives:t||dh,updateRenderer:l||dh,handleEvent:function(n,t,l,o){return e[t].element.handleEvent(n,l,o)},bindingCount:o,outputCount:r,lastRenderRootNode:f}}function cw(n){return 0!=(1&n.flags)&&null===n.element.name}function pw(n,e,t){var l=e.element&&e.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(n?n.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!n||0==(16384&n.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&n)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=n?n.nodeIndex+n.childCount:t-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function fw(n,e,t,l){var o=vw(n.root,n.renderer,n,e,t);return gw(o,n.component,l),bw(o),o}function hw(n,e,t){var l=vw(n,n.renderer,null,null,e);return gw(l,t,t),bw(l),l}function mw(n,e,t,l){var o,r=e.element.componentRendererType;return o=r?n.root.rendererFactory.createRenderer(l,r):n.root.renderer,vw(n.root,o,n,e.element.componentProvider,t)}function vw(n,e,t,l,o){var r=new Array(o.nodes.length),i=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:t,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:r,state:13,root:n,renderer:e,oldValues:new Array(o.bindingCount),disposables:i,initIndex:-1}}function gw(n,e,t){n.component=e,n.context=t}function bw(n){var e;Th(n)&&(e=oh(n.parent,n.parentNodeDef.parent.nodeIndex).renderElement);for(var t=n.def,l=n.nodes,o=0;o<t.nodes.length;o++){var r=t.nodes[o];sh.setCurrentNode(n,o);var i=void 0;switch(201347067&r.flags){case 1:var a=Wy(n,e,r),u=void 0;if(33554432&r.flags){var s=Mh(r.element.componentView);u=sh.createComponentView(n,r,s,a)}Gy(n,u,r,a),i={renderElement:a,componentView:u,viewContainer:null,template:r.element.template?vm(n,r):void 0},16777216&r.flags&&(i.viewContainer=pm(n,r,i));break;case 2:i=uw(n,e,r);break;case 512:case 1024:case 2048:case 256:(i=l[o])||4096&r.flags||(i={instance:Pm(n,r)});break;case 16:i={instance:jm(n,r)};break;case 16384:(i=l[o])||(i={instance:Lm(n,r)}),32768&r.flags&&gw(oh(n,r.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new Fg;break;case 8:tw(n,e,r),i=void 0}l[o]=i}Tw(n,Ew.CreateViewNodes),Ow(n,201326592,268435456,0)}function _w(n){Cw(n),sh.updateDirectives(n,1),Rw(n,Ew.CheckNoChanges),sh.updateRenderer(n,1),Tw(n,Ew.CheckNoChanges),n.state&=-97}function yw(n){1&n.state?(n.state&=-2,n.state|=2):n.state&=-3,eh(n,0,256),Cw(n),sh.updateDirectives(n,0),Rw(n,Ew.CheckAndUpdate),Ow(n,67108864,536870912,0);var e=eh(n,256,512);Gm(n,2097152|(e?1048576:0)),sh.updateRenderer(n,0),Tw(n,Ew.CheckAndUpdate),Ow(n,134217728,536870912,0),Gm(n,8388608|((e=eh(n,512,768))?4194304:0)),2&n.def.flags&&(n.state&=-9),n.state&=-97,eh(n,768,1024)}function ww(n,e,t,o,r,i,a,u,s,d,c,p,f){return 0===t?function(n,e,t,l,o,r,i,a,u,s,d,c){switch(201347067&e.flags){case 1:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings.length,f=!1;return p>0&&Yy(n,e,0,t)&&(f=!0),p>1&&Yy(n,e,1,l)&&(f=!0),p>2&&Yy(n,e,2,o)&&(f=!0),p>3&&Yy(n,e,3,r)&&(f=!0),p>4&&Yy(n,e,4,i)&&(f=!0),p>5&&Yy(n,e,5,a)&&(f=!0),p>6&&Yy(n,e,6,u)&&(f=!0),p>7&&Yy(n,e,7,s)&&(f=!0),p>8&&Yy(n,e,8,d)&&(f=!0),p>9&&Yy(n,e,9,c)&&(f=!0),f}(n,e,t,l,o,r,i,a,u,s,d,c);case 2:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=!1,f=e.bindings,h=f.length;if(h>0&&_h(n,e,0,t)&&(p=!0),h>1&&_h(n,e,1,l)&&(p=!0),h>2&&_h(n,e,2,o)&&(p=!0),h>3&&_h(n,e,3,r)&&(p=!0),h>4&&_h(n,e,4,i)&&(p=!0),h>5&&_h(n,e,5,a)&&(p=!0),h>6&&_h(n,e,6,u)&&(p=!0),h>7&&_h(n,e,7,s)&&(p=!0),h>8&&_h(n,e,8,d)&&(p=!0),h>9&&_h(n,e,9,c)&&(p=!0),p){var m=e.text.prefix;h>0&&(m+=sw(t,f[0])),h>1&&(m+=sw(l,f[1])),h>2&&(m+=sw(o,f[2])),h>3&&(m+=sw(r,f[3])),h>4&&(m+=sw(i,f[4])),h>5&&(m+=sw(a,f[5])),h>6&&(m+=sw(u,f[6])),h>7&&(m+=sw(s,f[7])),h>8&&(m+=sw(d,f[8])),h>9&&(m+=sw(c,f[9]));var v=lh(n,e.nodeIndex).renderText;n.renderer.setValue(v,m)}return p}(n,e,t,l,o,r,i,a,u,s,d,c);case 16384:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=rh(n,e.nodeIndex),f=p.instance,h=!1,m=void 0,v=e.bindings.length;return v>0&&bh(n,e,0,t)&&(h=!0,m=Wm(n,p,e,0,t,m)),v>1&&bh(n,e,1,l)&&(h=!0,m=Wm(n,p,e,1,l,m)),v>2&&bh(n,e,2,o)&&(h=!0,m=Wm(n,p,e,2,o,m)),v>3&&bh(n,e,3,r)&&(h=!0,m=Wm(n,p,e,3,r,m)),v>4&&bh(n,e,4,i)&&(h=!0,m=Wm(n,p,e,4,i,m)),v>5&&bh(n,e,5,a)&&(h=!0,m=Wm(n,p,e,5,a,m)),v>6&&bh(n,e,6,u)&&(h=!0,m=Wm(n,p,e,6,u,m)),v>7&&bh(n,e,7,s)&&(h=!0,m=Wm(n,p,e,7,s,m)),v>8&&bh(n,e,8,d)&&(h=!0,m=Wm(n,p,e,8,d,m)),v>9&&bh(n,e,9,c)&&(h=!0,m=Wm(n,p,e,9,c,m)),m&&f.ngOnChanges(m),65536&e.flags&&th(n,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),h}(n,e,t,l,o,r,i,a,u,s,d,c);case 32:case 64:case 128:return function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings,f=!1,h=p.length;if(h>0&&_h(n,e,0,t)&&(f=!0),h>1&&_h(n,e,1,l)&&(f=!0),h>2&&_h(n,e,2,o)&&(f=!0),h>3&&_h(n,e,3,r)&&(f=!0),h>4&&_h(n,e,4,i)&&(f=!0),h>5&&_h(n,e,5,a)&&(f=!0),h>6&&_h(n,e,6,u)&&(f=!0),h>7&&_h(n,e,7,s)&&(f=!0),h>8&&_h(n,e,8,d)&&(f=!0),h>9&&_h(n,e,9,c)&&(f=!0),f){var m=ih(n,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(p.length),h>0&&(v[0]=t),h>1&&(v[1]=l),h>2&&(v[2]=o),h>3&&(v[3]=r),h>4&&(v[4]=i),h>5&&(v[5]=a),h>6&&(v[6]=u),h>7&&(v[7]=s),h>8&&(v[8]=d),h>9&&(v[9]=c);break;case 64:v={},h>0&&(v[p[0].name]=t),h>1&&(v[p[1].name]=l),h>2&&(v[p[2].name]=o),h>3&&(v[p[3].name]=r),h>4&&(v[p[4].name]=i),h>5&&(v[p[5].name]=a),h>6&&(v[p[6].name]=u),h>7&&(v[p[7].name]=s),h>8&&(v[p[8].name]=d),h>9&&(v[p[9].name]=c);break;case 128:var g=t;switch(h){case 1:v=g.transform(t);break;case 2:v=g.transform(l);break;case 3:v=g.transform(l,o);break;case 4:v=g.transform(l,o,r);break;case 5:v=g.transform(l,o,r,i);break;case 6:v=g.transform(l,o,r,i,a);break;case 7:v=g.transform(l,o,r,i,a,u);break;case 8:v=g.transform(l,o,r,i,a,u,s);break;case 9:v=g.transform(l,o,r,i,a,u,s,d);break;case 10:v=g.transform(l,o,r,i,a,u,s,d,c)}}m.value=v}return f}(n,e,t,l,o,r,i,a,u,s,d,c);default:throw"unreachable"}}(n,e,o,r,i,a,u,s,d,c,p,f):function(n,e,t){switch(201347067&e.flags){case 1:return function(n,e,t){for(var l=!1,o=0;o<t.length;o++)Yy(n,e,o,t[o])&&(l=!0);return l}(n,e,t);case 2:return function(n,e,t){for(var l=e.bindings,o=!1,r=0;r<t.length;r++)_h(n,e,r,t[r])&&(o=!0);if(o){var i="";for(r=0;r<t.length;r++)i+=sw(t[r],l[r]);i=e.text.prefix+i;var a=lh(n,e.nodeIndex).renderText;n.renderer.setValue(a,i)}return o}(n,e,t);case 16384:return function(n,e,t){for(var l=rh(n,e.nodeIndex),o=l.instance,r=!1,i=void 0,a=0;a<t.length;a++)bh(n,e,a,t[a])&&(r=!0,i=Wm(n,l,e,a,t[a],i));return i&&o.ngOnChanges(i),65536&e.flags&&th(n,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),r}(n,e,t);case 32:case 64:case 128:return function(n,e,t){for(var o=e.bindings,r=!1,i=0;i<t.length;i++)_h(n,e,i,t[i])&&(r=!0);if(r){var a=ih(n,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=t;break;case 64:for(u={},i=0;i<t.length;i++)u[o[i].name]=t[i];break;case 128:var s=t[0],d=t.slice(1);u=s.transform.apply(s,Object(l.__spread)(d))}a.value=u}return r}(n,e,t);default:throw"unreachable"}}(n,e,o)}function Cw(n){var e=n.def;if(4&e.nodeFlags)for(var t=0;t<e.nodes.length;t++){var l=e.nodes[t];if(4&l.flags){var o=oh(n,t).template._projectedViews;if(o)for(var r=0;r<o.length;r++){var i=o[r];i.state|=32,Ch(i,n)}}else 0==(4&l.childFlags)&&(t+=l.childCount)}}function xw(n,e,t,l,o,r,i,a,u,s,d,c,p){return 0===t?function(n,e,t,l,o,r,i,a,u,s,d,c){var p=e.bindings.length;p>0&&yh(n,e,0,t),p>1&&yh(n,e,1,l),p>2&&yh(n,e,2,o),p>3&&yh(n,e,3,r),p>4&&yh(n,e,4,i),p>5&&yh(n,e,5,a),p>6&&yh(n,e,6,u),p>7&&yh(n,e,7,s),p>8&&yh(n,e,8,d),p>9&&yh(n,e,9,c)}(n,e,l,o,r,i,a,u,s,d,c,p):function(n,e,t){for(var l=0;l<t.length;l++)yh(n,e,l,t[l])}(n,e,l),!1}function Sw(n,e){if(ah(n,e.nodeIndex).dirty)throw Qf(sh.createDebugContext(n,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&n.state))}function kw(n){if(!(128&n.state)){if(Rw(n,Ew.Destroy),Tw(n,Ew.Destroy),Gm(n,131072),n.disposables)for(var e=0;e<n.disposables.length;e++)n.disposables[e]();!function(n){if(16&n.state){var e=Sh(n);if(e){var t=e.template._projectedViews;t&&(im(t,t.indexOf(n)),sh.dirtyParentQueries(n))}}}(n),n.renderer.destroyNode&&function(n){for(var e=n.def.nodes.length,t=0;t<e;t++){var l=n.def.nodes[t];1&l.flags?n.renderer.destroyNode(oh(n,t).renderElement):2&l.flags?n.renderer.destroyNode(lh(n,t).renderText):(67108864&l.flags||134217728&l.flags)&&ah(n,t).destroy()}}(n),Th(n)&&n.renderer.destroy(),n.state|=128}}var Ew=function(n){return n[n.CreateViewNodes=0]="CreateViewNodes",n[n.CheckNoChanges=1]="CheckNoChanges",n[n.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",n[n.CheckAndUpdate=3]="CheckAndUpdate",n[n.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",n[n.Destroy=5]="Destroy",n}({});function Tw(n,e){var t=n.def;if(33554432&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var o=t.nodes[l];33554432&o.flags?Iw(oh(n,l).componentView,e):0==(33554432&o.childFlags)&&(l+=o.childCount)}}function Rw(n,e){var t=n.def;if(16777216&t.nodeFlags)for(var l=0;l<t.nodes.length;l++){var o=t.nodes[l];if(16777216&o.flags)for(var r=oh(n,l).viewContainer._embeddedViews,i=0;i<r.length;i++)Iw(r[i],e);else 0==(16777216&o.childFlags)&&(l+=o.childCount)}}function Iw(n,e){var t=n.state;switch(e){case Ew.CheckNoChanges:0==(128&t)&&(12==(12&t)?_w(n):64&t&&Dw(n,Ew.CheckNoChangesProjectedViews));break;case Ew.CheckNoChangesProjectedViews:0==(128&t)&&(32&t?_w(n):64&t&&Dw(n,e));break;case Ew.CheckAndUpdate:0==(128&t)&&(12==(12&t)?yw(n):64&t&&Dw(n,Ew.CheckAndUpdateProjectedViews));break;case Ew.CheckAndUpdateProjectedViews:0==(128&t)&&(32&t?yw(n):64&t&&Dw(n,e));break;case Ew.Destroy:kw(n);break;case Ew.CreateViewNodes:bw(n)}}function Dw(n,e){Rw(n,e),Tw(n,e)}function Ow(n,e,t,l){if(n.def.nodeFlags&e&&n.def.nodeFlags&t)for(var o=n.def.nodes.length,r=0;r<o;r++){var i=n.def.nodes[r];if(i.flags&e&&i.flags&t)switch(sh.setCurrentNode(n,i.nodeIndex),l){case 0:Qy(n,i);break;case 1:Sw(n,i)}i.childFlags&e&&i.childFlags&t||(r+=i.childCount)}}var Fw=!1;function Nw(){if(!Fw){Fw=!0;var n=Io()?{setCurrentNode:tC,createRootView:Aw,createEmbeddedView:Pw,createComponentView:jw,createNgModuleRef:Lw,overrideProvider:Uw,overrideComponentView:Hw,clearOverrides:Zw,checkAndUpdateView:Yw,checkNoChangesView:$w,destroyView:Xw,createDebugContext:function(n,e){return new dC(n,e)},handleEvent:lC,updateDirectives:oC,updateRenderer:rC}:{setCurrentNode:function(){},createRootView:Mw,createEmbeddedView:fw,createComponentView:mw,createNgModuleRef:xm,overrideProvider:dh,overrideComponentView:dh,clearOverrides:dh,checkAndUpdateView:yw,checkNoChangesView:_w,destroyView:kw,createDebugContext:function(n,e){return new dC(n,e)},handleEvent:function(n,e,t,l){return n.def.handleEvent(n,e,t,l)},updateDirectives:function(n,e){return n.def.updateDirectives(0===e?Gw:Kw,n)},updateRenderer:function(n,e){return n.def.updateRenderer(0===e?Gw:Kw,n)}};sh.setCurrentNode=n.setCurrentNode,sh.createRootView=n.createRootView,sh.createEmbeddedView=n.createEmbeddedView,sh.createComponentView=n.createComponentView,sh.createNgModuleRef=n.createNgModuleRef,sh.overrideProvider=n.overrideProvider,sh.overrideComponentView=n.overrideComponentView,sh.clearOverrides=n.clearOverrides,sh.checkAndUpdateView=n.checkAndUpdateView,sh.checkNoChangesView=n.checkNoChangesView,sh.destroyView=n.destroyView,sh.resolveDep=Hm,sh.createDebugContext=n.createDebugContext,sh.handleEvent=n.handleEvent,sh.updateDirectives=n.updateDirectives,sh.updateRenderer=n.updateRenderer,sh.dirtyParentQueries=Xy}}function Mw(n,e,t,l,o,r){var i=o.injector.get(wf);return hw(qw(n,o,i,e,t),l,r)}function Aw(n,e,t,l,o,r){var i=o.injector.get(wf),a=qw(n,o,new mC(i),e,t),u=Ww(l);return fC(eC.create,hw,null,[a,u,r])}function qw(n,e,t,l,o){var r=e.injector.get(er),i=e.injector.get(wi),a=t.createRenderer(null,null);return{ngModule:e,injector:n,projectableNodes:l,selectorOrNode:o,sanitizer:r,rendererFactory:t,renderer:a,errorHandler:i}}function Pw(n,e,t,l){var o=Ww(t);return fC(eC.create,fw,null,[n,e,o,l])}function jw(n,e,t,l){return t=zw.get(e.element.componentProvider.provider.token)||Ww(t),fC(eC.create,mw,null,[n,e,t,l])}function Lw(n,e,t,l){return xm(n,e,t,function(n){var e=function(n){var e=!1,t=!1;return 0===Vw.size?{hasOverrides:e,hasDeprecatedOverrides:t}:(n.providers.forEach(function(n){var l=Vw.get(n.token);3840&n.flags&&l&&(e=!0,t=t||l.deprecatedBehavior)}),n.modules.forEach(function(n){Bw.forEach(function(l,o){D(o).providedIn===n&&(e=!0,t=t||l.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:t})}(n),t=e.hasDeprecatedOverrides;return e.hasOverrides?(function(n){for(var e=0;e<n.providers.length;e++){var l=n.providers[e];t&&(l.flags|=4096);var o=Vw.get(l.token);o&&(l.flags=-3841&l.flags|o.flags,l.deps=Oh(o.deps),l.value=o.value)}if(Bw.size>0){var r=new Set(n.modules);Bw.forEach(function(e,l){if(r.has(D(l).providedIn)){var o={token:l,flags:e.flags|(t?4096:0),deps:Oh(e.deps),value:e.value,index:n.providers.length};n.providers.push(o),n.providersByKey[ph(l)]=o}})}}(n=n.factory(function(){return dh})),n):n}(l))}var Vw=new Map,Bw=new Map,zw=new Map;function Uw(n){var e;Vw.set(n.token,n),"function"==typeof n.token&&(e=D(n.token))&&"function"==typeof e.providedIn&&Bw.set(n.token,n)}function Hw(n,e){var t=Mh(sm(e)),l=Mh(t.nodes[0].element.componentView);zw.set(n,l)}function Zw(){Vw.clear(),Bw.clear(),zw.clear()}function Ww(n){if(0===Vw.size)return n;var e=function(n){for(var e=[],t=null,l=0;l<n.nodes.length;l++){var o=n.nodes[l];1&o.flags&&(t=o),t&&3840&o.flags&&Vw.has(o.provider.token)&&(e.push(t.nodeIndex),t=null)}return e}(n);if(0===e.length)return n;n=n.factory(function(){return dh});for(var t=0;t<e.length;t++)l(n,e[t]);return n;function l(n,e){for(var t=e+1;t<n.nodes.length;t++){var l=n.nodes[t];if(1&l.flags)return;if(3840&l.flags){var o=l.provider,r=Vw.get(o.token);r&&(l.flags=-3841&l.flags|r.flags,o.deps=Oh(r.deps),o.value=r.value)}}}}function Gw(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=n.def.nodes[e];return ww(n,f,t,l,o,r,i,a,u,s,d,c,p),224&f.flags?ih(n,e).value:void 0}function Kw(n,e,t,l,o,r,i,a,u,s,d,c,p){var f=n.def.nodes[e];return xw(n,f,t,l,o,r,i,a,u,s,d,c,p),224&f.flags?ih(n,e).value:void 0}function Yw(n){return fC(eC.detectChanges,yw,null,[n])}function $w(n){return fC(eC.checkNoChanges,_w,null,[n])}function Xw(n){return fC(eC.destroy,kw,null,[n])}var Qw,Jw,nC,eC=function(n){return n[n.create=0]="create",n[n.detectChanges=1]="detectChanges",n[n.checkNoChanges=2]="checkNoChanges",n[n.destroy=3]="destroy",n[n.handleEvent=4]="handleEvent",n}({});function tC(n,e){Jw=n,nC=e}function lC(n,e,t,l){return tC(n,e),fC(eC.handleEvent,n.def.handleEvent,null,[n,e,t,l])}function oC(n,e){if(128&n.state)throw nh(eC[Qw]);return tC(n,uC(n,0)),n.def.updateDirectives(function(n,t,l){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];var i=n.def.nodes[t];return 0===e?iC(n,i,l,o):aC(n,i,l,o),16384&i.flags&&tC(n,uC(n,t)),224&i.flags?ih(n,i.nodeIndex).value:void 0},n)}function rC(n,e){if(128&n.state)throw nh(eC[Qw]);return tC(n,sC(n,0)),n.def.updateRenderer(function(n,t,l){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];var i=n.def.nodes[t];return 0===e?iC(n,i,l,o):aC(n,i,l,o),3&i.flags&&tC(n,sC(n,t)),224&i.flags?ih(n,i.nodeIndex).value:void 0},n)}function iC(n,e,t,o){if(ww.apply(void 0,Object(l.__spread)([n,e,t],o))){var r=1===t?o[0]:o;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=r[a];8&u.flags&&(i[(f=u.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(Si,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return"-"+n[1].toLowerCase()}))]=ki(s))}var d=e.parent,c=oh(n,d.nodeIndex).renderElement;if(d.element.name)for(var p in i)null!=(s=i[p])?n.renderer.setAttribute(c,p,s):n.renderer.removeAttribute(c,p);else n.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}var f}function aC(n,e,t,o){xw.apply(void 0,Object(l.__spread)([n,e,t],o))}function uC(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(16384&l.flags&&l.bindings&&l.bindings.length)return t}return null}function sC(n,e){for(var t=e;t<n.def.nodes.length;t++){var l=n.def.nodes[t];if(3&l.flags&&l.bindings&&l.bindings.length)return t}return null}var dC=function(){function n(n,e){this.view=n,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=n.def.nodes[e];for(var t=this.nodeDef,l=n;t&&0==(1&t.flags);)t=t.parent;if(!t)for(;!t&&l;)t=kh(l),l=l.parent;this.elDef=t,this.elView=l}return Object.defineProperty(n.prototype,"elOrCompView",{get:function(){return oh(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return bm(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){var n=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&n.push(t.provider.token),e+=t.childCount}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){var n={};if(this.elDef){pC(this.elView,this.elDef,n);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var t=this.elView.def.nodes[e];20224&t.flags&&pC(this.elView,t,n),e+=t.childCount}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderElement",{get:function(){var n=function(n){for(;n&&!Th(n);)n=n.parent;return n.parent?oh(n.parent,kh(n).nodeIndex):null}(this.elOrCompView);return n?n.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Eh(this.view,this.nodeDef):Eh(this.elView,this.elDef)},enumerable:!0,configurable:!0}),n.prototype.logError=function(n){for(var e,t,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];2&this.nodeDef.flags?(e=this.view.def,t=this.nodeDef.nodeIndex):(e=this.elView.def,t=this.elDef.nodeIndex);var i=cC(e,t),a=-1,u=function(){var e;return++a===i?(e=n.error).bind.apply(e,Object(l.__spread)([n],o)):dh};e.factory(u),a<i&&(n.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),n.error.apply(n,Object(l.__spread)(o)))},n}();function cC(n,e){for(var t=-1,l=0;l<=e;l++)3&n.nodes[l].flags&&t++;return t}function pC(n,e,t){for(var l in e.references)t[l]=nw(n,e,e.references[l])}function fC(n,e,t,l){var o=Qw,r=Jw,i=nC;try{Qw=n;var a=e.apply(t,l);return Jw=r,nC=i,Qw=o,a}catch(u){if(bi(u)||!Jw)throw u;throw function(n,e){return n instanceof Error||(n=new Error(n.toString())),Jf(n,e),n}(u,hC())}}function hC(){return Jw?new dC(Jw,nC):null}var mC=function(){function n(n){this.delegate=n}return n.prototype.createRenderer=function(n,e){return new vC(this.delegate.createRenderer(n,e))},n.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},n.prototype.end=function(){this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},n}(),vC=function(){function n(n){this.delegate=n,this.debugContextFactory=hC,this.data=this.delegate.data}return n.prototype.createDebugContext=function(n){return this.debugContextFactory(n)},n.prototype.destroyNode=function(n){!function(n){Dy.delete(n.nativeNode)}(Ny(n)),this.delegate.destroyNode&&this.delegate.destroyNode(n)},n.prototype.destroy=function(){this.delegate.destroy()},n.prototype.createElement=function(n,e){var t=this.delegate.createElement(n,e),l=this.createDebugContext(t);if(l){var o=new yy(t,null,l);o.name=n,My(o)}return t},n.prototype.createComment=function(n){var e=this.delegate.createComment(n),t=this.createDebugContext(e);return t&&My(new _y(e,null,t)),e},n.prototype.createText=function(n){var e=this.delegate.createText(n),t=this.createDebugContext(e);return t&&My(new _y(e,null,t)),e},n.prototype.appendChild=function(n,e){var t=Ny(n),l=Ny(e);t&&l&&t instanceof yy&&t.addChild(l),this.delegate.appendChild(n,e)},n.prototype.insertBefore=function(n,e,t){var l=Ny(n),o=Ny(e),r=Ny(t);l&&o&&l instanceof yy&&l.insertBefore(r,o),this.delegate.insertBefore(n,e,t)},n.prototype.removeChild=function(n,e){var t=Ny(n),l=Ny(e);t&&l&&t instanceof yy&&t.removeChild(l),this.delegate.removeChild(n,e)},n.prototype.selectRootElement=function(n,e){var t=this.delegate.selectRootElement(n,e),l=hC();return l&&My(new yy(t,null,l)),t},n.prototype.setAttribute=function(n,e,t,l){var o=Ny(n);o&&o instanceof yy&&(o.attributes[l?l+":"+e:e]=t),this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){var l=Ny(n);l&&l instanceof yy&&(l.attributes[t?t+":"+e:e]=null),this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){var t=Ny(n);t&&t instanceof yy&&(t.classes[e]=!0),this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){var t=Ny(n);t&&t instanceof yy&&(t.classes[e]=!1),this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){var o=Ny(n);o&&o instanceof yy&&(o.styles[e]=t),this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){var l=Ny(n);l&&l instanceof yy&&(l.styles[e]=null),this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){var l=Ny(n);l&&l instanceof yy&&(l.properties[e]=t),this.delegate.setProperty(n,e,t)},n.prototype.listen=function(n,e,t){if("string"!=typeof n){var l=Ny(n);l&&l.listeners.push(new by(e,t))}return this.delegate.listen(n,e,t)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setValue=function(n,e){return this.delegate.setValue(n,e)},n}();function gC(n){return Nw(),sh.overrideProvider(n)}function bC(n,e){return Nw(),sh.overrideComponentView(n,e)}function _C(){return Nw(),sh.clearOverrides()}function yC(n,e,t){return new wC(n,e,t)}var wC=function(n){function e(e,t,l){var o=n.call(this)||this;return o.moduleType=e,o._bootstrapComponents=t,o._ngModuleDefFactory=l,o}return Object(l.__extends)(e,n),e.prototype.create=function(n){Nw();var e=function(n){var e=Array.from(n.providers),t=Array.from(n.modules),l={};for(var o in n.providersByKey)l[o]=n.providersByKey[o];return{factory:n.factory,isRoot:n.isRoot,providers:e,modules:t,providersByKey:l}}(Mh(this._ngModuleDefFactory));return sh.createNgModuleRef(this.moduleType,n||te.NULL,this._bootstrapComponents,e)},e}(af)},Cr8c:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("ad02");function o(n,e){return Object(l.a)(function(t,l){return e?e(t[n],l[n]):t[n]===l[n]})}},CwTu:function(n,e,t){var l=t("XDwu"),o=t("2KT4");function r(n,e){var t=n&&n.loc&&n.loc[e];return t?{offset:t.offset,line:t.line,column:t.column}:null}n.exports={SyntaxReferenceError:function(n,e){var t=l("SyntaxReferenceError",n+(e?" `"+e+"`":""));return t.reference=e,t},MatchError:function(n,e,t,i){var a=l("SyntaxMatchError",n),u=function(n){for(var e=n.tokens,t=n.longestMatch,l=t<e.length?e[t].node:null,o=-1,r=0,i="",a=0;a<e.length;a++)a===t&&(o=i.length),null!==l&&e[a].node===l&&(a<=t?r++:r=0),i+=e[a].value;return{node:l,css:i,mismatchOffset:-1===o?i.length:o,last:null===l||r>1}}(i),s=u.mismatchOffset||0,d=u.node||t,c=r(d,"end"),p=u.last?c:r(d,"start"),f=u.css;return a.rawMessage=n,a.syntax=e?o(e):"<generic>",a.css=f,a.mismatchOffset=s,a.loc={source:d&&d.loc&&d.loc.source||"<unknown>",start:p,end:c},a.line=p?p.line:void 0,a.column=p?p.column:void 0,a.offset=p?p.offset:void 0,a.message=n+"\n syntax: "+a.syntax+"\n value: "+(a.css||"<empty string>")+"\n --------"+new Array(a.mismatchOffset+1).join("-")+"^",a}}},DDB3:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,r=l.Function,i=l.Colon,a=l.RightParenthesis;n.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null;return this.eat(i),this.eat(i),this.scanner.tokenType===r?(e=(n=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(e)?(this.scanner.skipSC(),l=this.pseudo[e].call(this),this.scanner.skipSC()):(l=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(a)):n=this.consume(o),{type:"PseudoElementSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:n,children:l}},generate:function(n){this.chunk("::"),this.chunk(n.name),null!==n.children&&(this.chunk("("),this.children(n),this.chunk(")"))},walkContext:"function"}},DJod:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,r=l.WhiteSpace,i=l.Comment,a=l.Semicolon,u=l.AtKeyword,s=l.LeftCurlyBracket,d=l.RightCurlyBracket;function c(n){return this.Raw(n,null,!0)}function p(){return this.parseWithFallback(this.Rule,c)}function f(n){return this.Raw(n,o.semicolonIncluded,!0)}function h(){if(this.scanner.tokenType===a)return f.call(this,this.scanner.tokenIndex);var n=this.parseWithFallback(this.Declaration,f);return this.scanner.tokenType===a&&this.scanner.next(),n}n.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(n){var e=n?h:p,t=this.scanner.tokenStart,l=this.createList();this.eat(s);n:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case d:break n;case r:case i:this.scanner.next();break;case u:l.push(this.parseWithFallback(this.Atrule,c));break;default:l.push(e.call(this))}return this.scanner.eof||this.eat(d),{type:"Block",loc:this.getLocation(t,this.scanner.tokenStart),children:l}},generate:function(n){this.chunk("{"),this.children(n,function(n){"Declaration"===n.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},DKLv:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e.prototype._next=function(n){},e}(o.a)},DKTb:function(n,e,t){"use strict";function l(n){setTimeout(function(){throw n},0)}t.d(e,"a",function(){return l})},DaYz:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.closingNotifier=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.closingNotifier))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.buffer=[],l.add(Object(r.a)(l,t)),l}return l.__extends(e,n),e.prototype._next=function(n){this.buffer.push(n)},e.prototype.notifyNext=function(n,e,t,l,o){var r=this.buffer;this.buffer=[],this.destination.next(r)},e}(o.a)},DtyJ:function(n,e,t){"use strict";t.r(e);var l=t("6blF"),o=t("KhEm"),r=t("IxPp"),i=t("xTla"),a=t("K9Ia"),u=t("26FU"),s=t("S5bw"),d=t("svcd"),c=t("KQya"),p=t("T1DM"),f=t("zo3G"),h=t("tHPV"),m=t("UR0p"),v=t("siIJ"),g=t("pugT"),b=t("FFOo"),_=t("60iU"),y=t("y3By"),w=t("+umK"),C=t("mChF");function x(n){return!!n&&(n instanceof l.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var S=t("b7mW"),k=t("3fWJ"),E=t("8g8A"),T=t("awvh"),R=t("3U0i"),I=t("pbg4"),D=t("emHa"),O=t("dzgT"),F=t("dEwP"),N=t("lYZG"),M=t("G5J1"),A=t("VNr4"),q=t("0/uQ"),P=t("bne5"),j=t("kERW"),L=t("GFlT"),V=t("mEZQ"),B=t("xXU7"),z=t("p0ib"),U=t("GDxn"),H=t("F/XL"),Z=t("ELzr"),W=t("EWOM"),G=t("jFaF"),K=t("Fxb1"),Y=t("VnD/");function $(n,e,t){return[Object(Y.a)(e,t)(new l.a(Object(K.a)(n))),Object(Y.a)(Object(G.a)(e,t))(new l.a(Object(K.a)(n)))]}var X=t("W0Ae"),Q=t("vAyL"),J=t("XlPw"),nn=t("gI3B"),en=t("7Qw6"),tn=t("909l"),ln=t("i4X3"),on=t("iLxQ");t.d(e,"Observable",function(){return l.a}),t.d(e,"ConnectableObservable",function(){return o.a}),t.d(e,"GroupedObservable",function(){return r.a}),t.d(e,"observable",function(){return i.a}),t.d(e,"Subject",function(){return a.b}),t.d(e,"BehaviorSubject",function(){return u.a}),t.d(e,"ReplaySubject",function(){return s.a}),t.d(e,"AsyncSubject",function(){return d.a}),t.d(e,"asapScheduler",function(){return c.a}),t.d(e,"asyncScheduler",function(){return p.a}),t.d(e,"queueScheduler",function(){return f.a}),t.d(e,"animationFrameScheduler",function(){return h.a}),t.d(e,"VirtualTimeScheduler",function(){return m.b}),t.d(e,"VirtualAction",function(){return m.a}),t.d(e,"Scheduler",function(){return v.a}),t.d(e,"Subscription",function(){return g.a}),t.d(e,"Subscriber",function(){return b.a}),t.d(e,"Notification",function(){return _.a}),t.d(e,"NotificationKind",function(){return _.b}),t.d(e,"pipe",function(){return y.a}),t.d(e,"noop",function(){return w.a}),t.d(e,"identity",function(){return C.a}),t.d(e,"isObservable",function(){return x}),t.d(e,"ArgumentOutOfRangeError",function(){return S.a}),t.d(e,"EmptyError",function(){return k.a}),t.d(e,"ObjectUnsubscribedError",function(){return E.a}),t.d(e,"UnsubscriptionError",function(){return T.a}),t.d(e,"TimeoutError",function(){return R.a}),t.d(e,"bindCallback",function(){return I.a}),t.d(e,"bindNodeCallback",function(){return D.a}),t.d(e,"combineLatest",function(){return O.b}),t.d(e,"concat",function(){return F.a}),t.d(e,"defer",function(){return N.a}),t.d(e,"empty",function(){return M.b}),t.d(e,"forkJoin",function(){return A.a}),t.d(e,"from",function(){return q.a}),t.d(e,"fromEvent",function(){return P.a}),t.d(e,"fromEventPattern",function(){return j.a}),t.d(e,"generate",function(){return L.a}),t.d(e,"iif",function(){return V.a}),t.d(e,"interval",function(){return B.a}),t.d(e,"merge",function(){return z.a}),t.d(e,"never",function(){return U.b}),t.d(e,"of",function(){return H.a}),t.d(e,"onErrorResumeNext",function(){return Z.a}),t.d(e,"pairs",function(){return W.a}),t.d(e,"partition",function(){return $}),t.d(e,"race",function(){return X.a}),t.d(e,"range",function(){return Q.a}),t.d(e,"throwError",function(){return J.a}),t.d(e,"timer",function(){return nn.a}),t.d(e,"using",function(){return en.a}),t.d(e,"zip",function(){return tn.b}),t.d(e,"scheduled",function(){return ln.a}),t.d(e,"EMPTY",function(){return M.a}),t.d(e,"NEVER",function(){return U.a}),t.d(e,"config",function(){return on.a})},Du80:function(n,e,t){var l=t("vd7W"),o=new(t("8wsT")),r={decorator:function(n){var e=null,t={len:0,node:null},l=[t],o="";return{children:n.children,node:function(t){var l=e;e=t,n.node.call(this,t),e=l},chunk:function(n){o+=n,t.node!==e?l.push({len:n.length,node:e}):t.len+=n.length},result:function(){return i(o,l)}}}};function i(n,e){var t=[],r=0,i=0,a=e?e[i].node:null;for(l(n,o);!o.eof;){if(e)for(;i<e.length&&r+e[i].len<=o.tokenStart;)r+=e[i++].len,a=e[i].node;t.push({type:o.tokenType,value:o.getTokenValue(),index:o.tokenIndex,balance:o.balance[o.tokenIndex],node:a}),o.next()}return t}n.exports=function(n,e){return"string"==typeof n?i(n,null):e.generate(n,r)}},ELzr:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("0/uQ"),r=t("isby"),i=t("G5J1");function a(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(0===n.length)return i.a;var t=n[0],u=n.slice(1);return 1===n.length&&Object(r.a)(t)?a.apply(void 0,t):new l.a(function(n){var e=function(){return n.add(a.apply(void 0,u).subscribe(n))};return Object(o.a)(t).subscribe({next:function(e){n.next(e)},error:e,complete:e})})}},EWOM:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("6blF"),o=t("pugT");function r(n,e){return new l.a(e?function(t){var l=Object.keys(n),r=new o.a;return r.add(e.schedule(i,0,{keys:l,index:0,subscriber:t,subscription:r,obj:n})),r}:function(e){for(var t=Object.keys(n),l=0;l<t.length&&!e.closed;l++){var o=t[l];n.hasOwnProperty(o)&&e.next([o,n[o]])}e.complete()})}function i(n){var e=n.keys,t=n.index,l=n.subscriber,o=n.subscription,r=n.obj;if(!l.closed)if(t<e.length){var i=e[t];l.next([i,r[i]]),o.add(this.schedule({keys:e,index:t+1,subscriber:l,subscription:o,obj:r}))}else l.complete()}},EaiB:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=l.Comment,i=l.Ident,a=l.Function,u=l.Colon,s=l.LeftParenthesis;function d(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function c(){return this.scanner.skipSC(),this.scanner.tokenType===i&&this.lookupNonWSType(1)===u?this.createSingleNodeList(this.Declaration()):p.call(this)}function p(){var n,e=this.createList(),t=null;this.scanner.skipSC();n:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case o:t=this.WhiteSpace();continue;case r:this.scanner.next();continue;case a:n=this.Function(d,this.scope.AtrulePrelude);break;case i:n=this.Identifier();break;case s:n=this.Parentheses(c,this.scope.AtrulePrelude);break;default:break n}null!==t&&(e.push(t),t=null),e.push(n)}return e}n.exports={parse:{prelude:function(){var n=p.call(this);return null===this.getFirstListNode(n)&&this.error("Condition is expected"),n},block:function(){return this.Block(!1)}}}},EcEN:function(n,e,t){var l=t("xDdU"),o=t("xk4V"),r=o;r.v1=l,r.v4=o,n.exports=r},EiPP:function(n,e,t){var l=t("O36p"),o=t("1aLD"),r=t("8wsT"),i=t("mK1g"),a=t("21UA"),u=t("vd7W"),s=t("u5kB"),d=t("jpu9"),c=t("QtvL"),p=t("4HHr"),f=t("bgAe"),h=t("t1UP"),m=t("8XFM");function v(n,e){for(var t in e)n[t]=e[t];return n}e.create=function(n){return function n(e){var t=s(e),g=p(e),b=d(e),_=c(g),y={List:l,SyntaxError:o,TokenStream:r,Lexer:i,vendorPrefix:h.vendorPrefix,keyword:h.keyword,property:h.property,isCustomProperty:h.isCustomProperty,grammar:a,lexer:null,createLexer:function(n){return new i(n,y,y.lexer.structure)},tokenize:u,parse:t,walk:g,generate:b,clone:f,fromPlainObject:_.fromPlainObject,toPlainObject:_.toPlainObject,createSyntax:function(e){return n(m({},e))},fork:function(t){var l=m({},e);return n("function"==typeof t?t(l,v):m(l,t))}};return y.lexer=new i({generic:!0,types:e.types,properties:e.properties,node:e.node},y),y}(m({},n))}},"En8+":function(n,e,t){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}t.d(e,"a",function(){return o});var o=l()},"F/XL":function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("nkY7"),o=t("IUTb"),r=t("JF+6");function i(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return Object(l.a)(t)?(n.pop(),Object(r.a)(n,t)):Object(o.a)(n)}},F1hP:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("dzgT");function o(n){return function(e){return e.lift(new l.a(n))}}},F977:function(n,e,t){var l=t("vd7W").isDigit,o=t("vd7W").TYPE,r=t("vd7W").CHARCODE,i=o.Number,a=o.Delim,u=r.Solidus,s=r.FullStop;function d(){this.scanner.skipWS();for(var n=this.consume(i),e=0;e<n.length;e++){var t=n.charCodeAt(e);l(t)||t===s||this.error("Unsigned number is expected",this.scanner.tokenStart-n.length+e)}return 0===Number(n)&&this.error("Zero number is not allowed",this.scanner.tokenStart-n.length),n}n.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var n,e=this.scanner.tokenStart,t=d.call(this);return this.scanner.skipWS(),this.scanner.isDelim(u)||this.error("Solidus is expected"),this.eat(a),n=d.call(this),{type:"Ratio",loc:this.getLocation(e,this.scanner.tokenStart),left:t,right:n}},generate:function(n){this.chunk(n.left),this.chunk("/"),this.chunk(n.right)}}},FEnK:function(n,e,t){var l=t("vd7W").TYPE,o=l.Semicolon,r=l.LeftCurlyBracket;n.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(n){var e=null;return null!==n&&(n=n.toLowerCase()),this.scanner.skipSC(),e=this.atrule.hasOwnProperty(n)&&"function"==typeof this.atrule[n].prelude?this.atrule[n].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==r&&this.scanner.tokenType!==o&&this.error("Semicolon or block is expected"),null===e&&(e=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(e),children:e}},generate:function(n){this.children(n)},walkContext:"atrulePrelude"}},FFOo:function(n,e,t){"use strict";t.d(e,"a",function(){return d});var l=t("mrSG"),o=t("2Bdj"),r=t("6ahw"),i=t("pugT"),a=t("L/V9"),u=t("iLxQ"),s=t("DKTb"),d=function(n){function e(t,l,o){var i=n.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=r.a;break;case 1:if(!t){i.destination=r.a;break}if("object"==typeof t){t instanceof e?(i.syncErrorThrowable=t.syncErrorThrowable,i.destination=t,t.add(i)):(i.syncErrorThrowable=!0,i.destination=new c(i,t));break}default:i.syncErrorThrowable=!0,i.destination=new c(i,t,l,o)}return i}return l.__extends(e,n),e.prototype[a.a]=function(){return this},e.create=function(n,t,l){var o=new e(n,t,l);return o.syncErrorThrowable=!1,o},e.prototype.next=function(n){this.isStopped||this._next(n)},e.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){this.destination.error(n),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var n=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this},e}(i.a),c=function(n){function e(e,t,l,i){var a,u=n.call(this)||this;u._parentSubscriber=e;var s=u;return Object(o.a)(t)?a=t:t&&(a=t.next,l=t.error,i=t.complete,t!==r.a&&(s=Object.create(t),Object(o.a)(s.unsubscribe)&&u.add(s.unsubscribe.bind(s)),s.unsubscribe=u.unsubscribe.bind(u))),u._context=s,u._next=a,u._error=l,u._complete=i,u}return l.__extends(e,n),e.prototype.next=function(n){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}},e.prototype.error=function(n){if(!this.isStopped){var e=this._parentSubscriber,t=u.a.useDeprecatedSynchronousErrorHandling;if(this._error)t&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)t?(e.syncErrorValue=n,e.syncErrorThrown=!0):Object(s.a)(n),this.unsubscribe();else{if(this.unsubscribe(),t)throw n;Object(s.a)(n)}}},e.prototype.complete=function(){var n=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var t=function(){return n._complete.call(n._context)};u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(n,e){try{n.call(this._context,e)}catch(t){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)}},e.prototype.__tryOrSetError=function(n,e,t){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,t)}catch(l){return u.a.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=l,n.syncErrorThrown=!0,!0):(Object(s.a)(l),!0)}return!1},e.prototype._unsubscribe=function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()},e}(d)},FYXD:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("67Y/");function o(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.length;if(0===t)throw new Error("list of properties cannot be empty.");return function(e){return Object(l.a)(function(n,e){return function(t){for(var l=t,o=0;o<e;o++){var r=l[n[o]];if(void 0===r)return;l=r}return l}}(n,t))(e)}}},Fxb1:function(n,e,t){"use strict";var l=t("+tJ4"),o=t("DKTb"),r=t("En8+"),i=t("xTla"),a=t("2ePl"),u=t("/WYv"),s=t("McSo");t.d(e,"a",function(){return d});var d=function(n){if(n&&"function"==typeof n[i.a])return d=n,function(n){var e=d[i.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)};if(Object(a.a)(n))return Object(l.a)(n);if(Object(u.a)(n))return t=n,function(n){return t.then(function(e){n.closed||(n.next(e),n.complete())},function(e){return n.error(e)}).then(null,o.a),n};if(n&&"function"==typeof n[r.a])return e=n,function(n){for(var t=e[r.a]();;){var l=t.next();if(l.done){n.complete();break}if(n.next(l.value),n.closed)break}return"function"==typeof t.return&&n.add(function(){t.return&&t.return()}),n};var e,t,d,c=Object(s.a)(n)?"an invalid object":"'"+n+"'";throw new TypeError("You provided "+c+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},G5J1:function(n,e,t){"use strict";t.d(e,"a",function(){return o}),t.d(e,"b",function(){return r});var l=t("6blF"),o=new l.a(function(n){return n.complete()});function r(n){return n?function(n){return new l.a(function(e){return n.schedule(function(){return e.complete()})})}(n):o}},"G9/t":function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,r=l.AtKeyword,i=l.Semicolon,a=l.LeftCurlyBracket,u=l.RightCurlyBracket;function s(n){return this.Raw(n,o.leftCurlyBracketOrSemicolon,!0)}n.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null,o=null;switch(this.eat(r),e=(n=this.scanner.substrToCursor(t+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==a&&this.scanner.tokenType!==i&&(this.parseAtrulePrelude?"AtrulePrelude"===(l=this.parseWithFallback(this.AtrulePrelude.bind(this,n),s)).type&&null===l.children.head&&(l=null):l=s.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case i:this.scanner.next();break;case a:o=this.atrule.hasOwnProperty(e)&&"function"==typeof this.atrule[e].block?this.atrule[e].block.call(this):this.Block((function(){for(var n,e=1;n=this.scanner.lookupType(e);e++){if(n===u)return!0;if(n===a||n===r)return!1}return!1}).call(this))}return{type:"Atrule",loc:this.getLocation(t,this.scanner.tokenStart),name:n,prelude:l,block:o}},generate:function(n){this.chunk("@"),this.chunk(n.name),null!==n.prelude&&(this.chunk(" "),this.node(n.prelude)),n.block?this.node(n.block):this.chunk(";")},walkContext:"atrule"}},GDxn:function(n,e,t){"use strict";t.d(e,"a",function(){return r}),t.d(e,"b",function(){return i});var l=t("6blF"),o=t("+umK"),r=new l.a(o.a);function i(){return r}},GFlT:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("mChF"),r=t("nkY7");function i(n,e,t,i,u){var s,d;return 1==arguments.length?(d=n.initialState,e=n.condition,t=n.iterate,s=n.resultSelector||o.a,u=n.scheduler):void 0===i||Object(r.a)(i)?(d=n,s=o.a,u=i):(d=n,s=i),new l.a(function(n){var l=d;if(u)return u.schedule(a,0,{subscriber:n,iterate:t,condition:e,resultSelector:s,state:l});for(;;){if(e){var o=void 0;try{o=e(l)}catch(i){return void n.error(i)}if(!o){n.complete();break}}var r=void 0;try{r=s(l)}catch(i){return void n.error(i)}if(n.next(r),n.closed)break;try{l=t(l)}catch(i){return void n.error(i)}}})}function a(n){var e=n.subscriber,t=n.condition;if(!e.closed){if(n.needIterate)try{n.state=n.iterate(n.state)}catch(r){return void e.error(r)}else n.needIterate=!0;if(t){var l=void 0;try{l=t(n.state)}catch(r){return void e.error(r)}if(!l)return void e.complete();if(e.closed)return}var o;try{o=n.resultSelector(n.state)}catch(r){return void e.error(r)}if(!e.closed&&(e.next(o),!e.closed))return this.schedule(n)}}},Gi3i:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("T1DM");function i(n,e){return void 0===e&&(e=r.a),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.dueTime=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.dueTime,this.scheduler))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.dueTime=t,o.scheduler=l,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return l.__extends(e,n),e.prototype._next=function(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(s,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var n=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}},e.prototype.clearDebounce=function(){var n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)},e}(o.a);function s(n){n.debouncedNext()}},HHXC:function(n,e){n.exports={name:"Operator",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.value)}}},HJBe:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return void 0===n&&(n=null),function(e){return e.lift(new i(n))}}var i=function(){function n(n){this.defaultValue=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.defaultValue))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.defaultValue=t,l.isEmpty=!0,l}return l.__extends(e,n),e.prototype._next=function(n){this.isEmpty=!1,this.destination.next(n)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(o.a)},HOgr:function(n,e,t){var l=t("vd7W").TYPE.CDO;n.exports={name:"CDO",structure:[],parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"CDO",loc:this.getLocation(n,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},HvLG:function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.Delim,i=l.Ident,a=l.Dimension,u=l.Percentage,s=l.Number,d=l.Hash,c=l.Colon,p=l.LeftSquareBracket,f=o.NumberSign,h=o.PlusSign,m=o.Solidus,v=o.Asterisk,g=o.FullStop,b=o.GreaterThanSign,_=o.VerticalLine,y=o.Tilde;n.exports={getNode:function(n){switch(this.scanner.tokenType){case p:return this.AttributeSelector();case d:return this.IdSelector();case c:return this.scanner.lookupType(1)===c?this.PseudoElementSelector():this.PseudoClassSelector();case i:return this.TypeSelector();case s:case u:return this.Percentage();case a:this.scanner.source.charCodeAt(this.scanner.tokenStart)===g&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case r:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case h:case b:case y:return n.space=null,n.ignoreWSAfter=!0,this.Combinator();case m:return this.Combinator();case g:return this.ClassSelector();case v:case _:return this.TypeSelector();case f:return this.IdSelector()}}}}},I2ZF:function(n,e){for(var t=[],l=0;l<256;++l)t[l]=(l+256).toString(16).substr(1);n.exports=function(n,e){var l=e||0;return[t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],"-",t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]],t[n[l++]]].join("")}},IUTb:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("+tJ4"),r=t("JF+6");function i(n,e){return e?Object(r.a)(n,e):new l.a(Object(o.a)(n))}},IiZa:function(n,e,t){var l=t("7WHS"),o=Object.prototype.hasOwnProperty,r="undefined"!=typeof Map;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(n,e){for(var t=new i,l=0,o=n.length;l<o;l++)t.add(n[l],e);return t},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(n,e){var t=r?n:l.toSetString(n),i=r?this.has(n):o.call(this._set,t),a=this._array.length;i&&!e||this._array.push(n),i||(r?this._set.set(n,a):this._set[t]=a)},i.prototype.has=function(n){if(r)return this._set.has(n);var e=l.toSetString(n);return o.call(this._set,e)},i.prototype.indexOf=function(n){if(r){var e=this._set.get(n);if(e>=0)return e}else{var t=l.toSetString(n);if(o.call(this._set,t))return this._set[t]}throw new Error('"'+n+'" is not in the set.')},i.prototype.at=function(n){if(n>=0&&n<this._array.length)return this._array[n];throw new Error("No element indexed by "+n)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i},Ip0R:function(n,e,t){"use strict";t.r(e),t.d(e,"\u0275angular_packages_common_common_c",function(){return ve}),t.d(e,"\u0275angular_packages_common_common_h",function(){return Un}),t.d(e,"\u0275angular_packages_common_common_g",function(){return Bn}),t.d(e,"\u0275angular_packages_common_common_f",function(){return Vn}),t.d(e,"\u0275angular_packages_common_common_k",function(){return ce}),t.d(e,"\u0275angular_packages_common_common_j",function(){return se}),t.d(e,"\u0275angular_packages_common_common_i",function(){return ue}),t.d(e,"\u0275angular_packages_common_common_a",function(){return kn}),t.d(e,"\u0275angular_packages_common_common_b",function(){return In}),t.d(e,"\u0275angular_packages_common_common_e",function(){return Ve}),t.d(e,"\u0275angular_packages_common_common_d",function(){return ut}),t.d(e,"\u0275registerLocaleData",function(){return Dn}),t.d(e,"registerLocaleData",function(){return Dn}),t.d(e,"formatDate",function(){return $}),t.d(e,"formatCurrency",function(){return yn}),t.d(e,"formatNumber",function(){return Cn}),t.d(e,"formatPercent",function(){return wn}),t.d(e,"NgLocaleLocalization",function(){return Rn}),t.d(e,"NgLocalization",function(){return En}),t.d(e,"Plural",function(){return m}),t.d(e,"NumberFormatStyle",function(){return h}),t.d(e,"FormStyle",function(){return v}),t.d(e,"TranslationWidth",function(){return g}),t.d(e,"FormatWidth",function(){return b}),t.d(e,"NumberSymbol",function(){return _}),t.d(e,"WeekDay",function(){return y}),t.d(e,"getNumberOfCurrencyDigits",function(){return U}),t.d(e,"getCurrencySymbol",function(){return B}),t.d(e,"getLocaleDayPeriods",function(){return C}),t.d(e,"getLocaleDayNames",function(){return x}),t.d(e,"getLocaleMonthNames",function(){return S}),t.d(e,"getLocaleId",function(){return w}),t.d(e,"getLocaleEraNames",function(){return k}),t.d(e,"getLocaleWeekEndRange",function(){return T}),t.d(e,"getLocaleFirstDayOfWeek",function(){return E}),t.d(e,"getLocaleDateFormat",function(){return R}),t.d(e,"getLocaleDateTimeFormat",function(){return D}),t.d(e,"getLocaleExtraDayPeriodRules",function(){return P}),t.d(e,"getLocaleExtraDayPeriods",function(){return j}),t.d(e,"getLocalePluralCase",function(){return A}),t.d(e,"getLocaleTimeFormat",function(){return I}),t.d(e,"getLocaleNumberSymbol",function(){return O}),t.d(e,"getLocaleNumberFormat",function(){return F}),t.d(e,"getLocaleCurrencyName",function(){return M}),t.d(e,"getLocaleCurrencySymbol",function(){return N}),t.d(e,"\u0275parseCookieValue",function(){return On}),t.d(e,"CommonModule",function(){return st}),t.d(e,"DeprecatedI18NPipesModule",function(){return dt}),t.d(e,"NgClass",function(){return Wn}),t.d(e,"NgClassBase",function(){return Zn}),t.d(e,"NgForOf",function(){return Yn}),t.d(e,"NgForOfContext",function(){return Kn}),t.d(e,"NgIf",function(){return Xn}),t.d(e,"NgIfContext",function(){return Qn}),t.d(e,"NgPlural",function(){return oe}),t.d(e,"NgPluralCase",function(){return re}),t.d(e,"NgStyle",function(){return he}),t.d(e,"NgStyleBase",function(){return fe}),t.d(e,"NgSwitch",function(){return ee}),t.d(e,"NgSwitchCase",function(){return te}),t.d(e,"NgSwitchDefault",function(){return le}),t.d(e,"NgTemplateOutlet",function(){return me}),t.d(e,"NgComponentOutlet",function(){return Gn}),t.d(e,"DOCUMENT",function(){return ct}),t.d(e,"AsyncPipe",function(){return He}),t.d(e,"DatePipe",function(){return Ye}),t.d(e,"I18nPluralPipe",function(){return Xe}),t.d(e,"I18nSelectPipe",function(){return Qe}),t.d(e,"JsonPipe",function(){return Je}),t.d(e,"LowerCasePipe",function(){return Ze}),t.d(e,"CurrencyPipe",function(){return ot}),t.d(e,"DecimalPipe",function(){return tt}),t.d(e,"PercentPipe",function(){return lt}),t.d(e,"SlicePipe",function(){return at}),t.d(e,"UpperCasePipe",function(){return Ke}),t.d(e,"TitleCasePipe",function(){return Ge}),t.d(e,"KeyValuePipe",function(){return nt}),t.d(e,"DeprecatedDatePipe",function(){return Me}),t.d(e,"DeprecatedCurrencyPipe",function(){return Le}),t.d(e,"DeprecatedDecimalPipe",function(){return Pe}),t.d(e,"DeprecatedPercentPipe",function(){return je}),t.d(e,"\u0275PLATFORM_BROWSER_ID",function(){return pt}),t.d(e,"\u0275PLATFORM_SERVER_ID",function(){return ft}),t.d(e,"\u0275PLATFORM_WORKER_APP_ID",function(){return ht}),t.d(e,"\u0275PLATFORM_WORKER_UI_ID",function(){return mt}),t.d(e,"isPlatformBrowser",function(){return vt}),t.d(e,"isPlatformServer",function(){return gt}),t.d(e,"isPlatformWorkerApp",function(){return bt}),t.d(e,"isPlatformWorkerUi",function(){return _t}),t.d(e,"VERSION",function(){return yt}),t.d(e,"ViewportScroller",function(){return wt}),t.d(e,"\u0275NullViewportScroller",function(){return xt}),t.d(e,"\u0275NgClassImplProvider__POST_R3__",function(){return zn}),t.d(e,"\u0275NgClassR2Impl",function(){return Ln}),t.d(e,"\u0275NgClassImpl",function(){return jn}),t.d(e,"\u0275NgStyleImplProvider__POST_R3__",function(){return de}),t.d(e,"\u0275NgStyleR2Impl",function(){return ae}),t.d(e,"\u0275NgStyleImpl",function(){return ie}),t.d(e,"\u0275ngStyleDirectiveDef__POST_R3__",function(){return pe}),t.d(e,"\u0275ngClassDirectiveDef__POST_R3__",function(){return Hn}),t.d(e,"PlatformLocation",function(){return r}),t.d(e,"LOCATION_INITIALIZED",function(){return i}),t.d(e,"LocationStrategy",function(){return a}),t.d(e,"APP_BASE_HREF",function(){return u}),t.d(e,"HashLocationStrategy",function(){return c}),t.d(e,"PathLocationStrategy",function(){return p}),t.d(e,"Location",function(){return s});var l=t("CcnG"),o=t("mrSG"),r=function(){return function(){}}(),i=new l.InjectionToken("Location Initialized"),a=function(){return function(){}}(),u=new l.InjectionToken("appBaseHref"),s=function(){function n(n,t){var o=this;this._subject=new l.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=n;var r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=e.stripTrailingSlash(d(r)),this._platformStrategy.onPopState(function(n){o._subject.emit({url:o.path(!0),pop:!0,state:n.state,type:n.type})})}var e;return e=n,n.prototype.path=function(n){return void 0===n&&(n=!1),this.normalize(this._platformStrategy.path(n))},n.prototype.getState=function(){return this._platformLocation.getState()},n.prototype.isCurrentPathEqualTo=function(n,t){return void 0===t&&(t=""),this.path()==this.normalize(n+e.normalizeQueryParams(t))},n.prototype.normalize=function(n){return e.stripTrailingSlash(function(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,d(n)))},n.prototype.prepareExternalUrl=function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)},n.prototype.go=function(n,t,l){void 0===t&&(t=""),void 0===l&&(l=null),this._platformStrategy.pushState(l,"",n,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+e.normalizeQueryParams(t)),l)},n.prototype.replaceState=function(n,t,l){void 0===t&&(t=""),void 0===l&&(l=null),this._platformStrategy.replaceState(l,"",n,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+e.normalizeQueryParams(t)),l)},n.prototype.forward=function(){this._platformStrategy.forward()},n.prototype.back=function(){this._platformStrategy.back()},n.prototype.onUrlChange=function(n){var e=this;this._urlChangeListeners.push(n),this.subscribe(function(n){e._notifyUrlChangeListeners(n.url,n.state)})},n.prototype._notifyUrlChangeListeners=function(n,e){void 0===n&&(n=""),this._urlChangeListeners.forEach(function(t){return t(n,e)})},n.prototype.subscribe=function(n,e,t){return this._subject.subscribe({next:n,error:e,complete:t})},n.normalizeQueryParams=function(n){return n&&"?"!==n[0]?"?"+n:n},n.joinWithSlash=function(n,e){if(0==n.length)return e;if(0==e.length)return n;var t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e},n.stripTrailingSlash=function(n){var e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)},n}();function d(n){return n.replace(/\/index.html$/,"")}var c=function(n){function e(e,t){var l=n.call(this)||this;return l._platformLocation=e,l._baseHref="",null!=t&&(l._baseHref=t),l}return Object(o.__extends)(e,n),e.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(n){void 0===n&&(n=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(n){var e=s.joinWithSlash(this._baseHref,n);return e.length>0?"#"+e:e},e.prototype.pushState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(n,e,o)},e.prototype.replaceState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(n,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=function(n){function e(e,t){var l=n.call(this)||this;if(l._platformLocation=e,null==t&&(t=l._platformLocation.getBaseHrefFromDOM()),null==t)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 l._baseHref=t,l}return Object(o.__extends)(e,n),e.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(n){return s.joinWithSlash(this._baseHref,n)},e.prototype.path=function(n){void 0===n&&(n=!1);var e=this._platformLocation.pathname+s.normalizeQueryParams(this._platformLocation.search),t=this._platformLocation.hash;return t&&n?""+e+t:e},e.prototype.pushState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.pushState(n,e,o)},e.prototype.replaceState=function(n,e,t,l){var o=this.prepareExternalUrl(t+s.normalizeQueryParams(l));this._platformLocation.replaceState(n,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),f={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},h=function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n}({}),m=function(n){return n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other",n}({}),v=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}({}),g=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}({}),b=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}({}),_=function(n){return n[n.Decimal=0]="Decimal",n[n.Group=1]="Group",n[n.List=2]="List",n[n.PercentSign=3]="PercentSign",n[n.PlusSign=4]="PlusSign",n[n.MinusSign=5]="MinusSign",n[n.Exponential=6]="Exponential",n[n.SuperscriptingExponent=7]="SuperscriptingExponent",n[n.PerMille=8]="PerMille",n[n[1/0]=9]="Infinity",n[n.NaN=10]="NaN",n[n.TimeSeparator=11]="TimeSeparator",n[n.CurrencyDecimal=12]="CurrencyDecimal",n[n.CurrencyGroup=13]="CurrencyGroup",n}({}),y=function(n){return n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday",n}({});function w(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].LocaleId]}function C(n,e,t){var o=Object(l["\u0275findLocaleData"])(n),r=L([o[l["\u0275LocaleDataIndex"].DayPeriodsFormat],o[l["\u0275LocaleDataIndex"].DayPeriodsStandalone]],e);return L(r,t)}function x(n,e,t){var o=Object(l["\u0275findLocaleData"])(n),r=L([o[l["\u0275LocaleDataIndex"].DaysFormat],o[l["\u0275LocaleDataIndex"].DaysStandalone]],e);return L(r,t)}function S(n,e,t){var o=Object(l["\u0275findLocaleData"])(n),r=L([o[l["\u0275LocaleDataIndex"].MonthsFormat],o[l["\u0275LocaleDataIndex"].MonthsStandalone]],e);return L(r,t)}function k(n,e){return L(Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].Eras],e)}function E(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].FirstDayOfWeek]}function T(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].WeekendRange]}function R(n,e){return L(Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].DateFormat],e)}function I(n,e){return L(Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].TimeFormat],e)}function D(n,e){return L(Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].DateTimeFormat],e)}function O(n,e){var t=Object(l["\u0275findLocaleData"])(n),o=t[l["\u0275LocaleDataIndex"].NumberSymbols][e];if(void 0===o){if(e===_.CurrencyDecimal)return t[l["\u0275LocaleDataIndex"].NumberSymbols][_.Decimal];if(e===_.CurrencyGroup)return t[l["\u0275LocaleDataIndex"].NumberSymbols][_.Group]}return o}function F(n,e){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].NumberFormats][e]}function N(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].CurrencySymbol]||null}function M(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].CurrencyName]||null}var A=l["\u0275getLocalePluralCase"];function q(n){if(!n[l["\u0275LocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'+n[l["\u0275LocaleDataIndex"].LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function P(n){var e=Object(l["\u0275findLocaleData"])(n);return q(e),(e[l["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(function(n){return"string"==typeof n?V(n):[V(n[0]),V(n[1])]})}function j(n,e,t){var o=Object(l["\u0275findLocaleData"])(n);q(o);var r=L([o[l["\u0275LocaleDataIndex"].ExtraData][0],o[l["\u0275LocaleDataIndex"].ExtraData][1]],e)||[];return L(r,t)||[]}function L(n,e){for(var t=e;t>-1;t--)if(void 0!==n[t])return n[t];throw new Error("Locale data API: locale data undefined")}function V(n){var e=Object(o.__read)(n.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function B(n,e,t){void 0===t&&(t="en");var o=function(n){return Object(l["\u0275findLocaleData"])(n)[l["\u0275LocaleDataIndex"].Currencies]}(t)[n]||f[n]||[],r=o[1];return"narrow"===e&&"string"==typeof r?r:o[0]||n}var z=2;function U(n){var e,t=f[n];return t&&(e=t[2]),"number"==typeof e?e:z}var H=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},W=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,G=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}({}),K=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}({}),Y=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}({});function $(n,e,t,l){var r=function(n){if(sn(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){n=n.trim();var e,t=parseFloat(n);if(!isNaN(n-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var l=Object(o.__read)(n.split("-").map(function(n){return+n}),3);return new Date(l[0],l[1]-1,l[2])}if(e=n.match(H))return un(e)}var r=new Date(n);if(!sn(r))throw new Error('Unable to convert "'+n+'" into a date');return r}(n);e=function n(e,t){var l=w(e);if(Z[l]=Z[l]||{},Z[l][t])return Z[l][t];var o="";switch(t){case"shortDate":o=R(e,b.Short);break;case"mediumDate":o=R(e,b.Medium);break;case"longDate":o=R(e,b.Long);break;case"fullDate":o=R(e,b.Full);break;case"shortTime":o=I(e,b.Short);break;case"mediumTime":o=I(e,b.Medium);break;case"longTime":o=I(e,b.Long);break;case"fullTime":o=I(e,b.Full);break;case"short":var r=n(e,"shortTime"),i=n(e,"shortDate");o=X(D(e,b.Short),[r,i]);break;case"medium":var a=n(e,"mediumTime"),u=n(e,"mediumDate");o=X(D(e,b.Medium),[a,u]);break;case"long":var s=n(e,"longTime"),d=n(e,"longDate");o=X(D(e,b.Long),[s,d]);break;case"full":var c=n(e,"fullTime"),p=n(e,"fullDate");o=X(D(e,b.Full),[c,p])}return o&&(Z[l][t]=o),o}(t,e)||e;for(var i,a=[];e;){if(!(i=W.exec(e))){a.push(e);break}var u=(a=a.concat(i.slice(1))).pop();if(!u)break;e=u}var s=r.getTimezoneOffset();l&&(s=an(l,s),r=function(n,e,t){var l=n.getTimezoneOffset();return function(n,e){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+e),n}(n,-1*(an(e,l)-l))}(r,l));var d="";return a.forEach(function(n){var e=function(n){if(rn[n])return rn[n];var e;switch(n){case"G":case"GG":case"GGG":e=nn(Y.Eras,g.Abbreviated);break;case"GGGG":e=nn(Y.Eras,g.Wide);break;case"GGGGG":e=nn(Y.Eras,g.Narrow);break;case"y":e=J(K.FullYear,1,0,!1,!0);break;case"yy":e=J(K.FullYear,2,0,!0,!0);break;case"yyy":e=J(K.FullYear,3,0,!1,!0);break;case"yyyy":e=J(K.FullYear,4,0,!1,!0);break;case"M":case"L":e=J(K.Month,1,1);break;case"MM":case"LL":e=J(K.Month,2,1);break;case"MMM":e=nn(Y.Months,g.Abbreviated);break;case"MMMM":e=nn(Y.Months,g.Wide);break;case"MMMMM":e=nn(Y.Months,g.Narrow);break;case"LLL":e=nn(Y.Months,g.Abbreviated,v.Standalone);break;case"LLLL":e=nn(Y.Months,g.Wide,v.Standalone);break;case"LLLLL":e=nn(Y.Months,g.Narrow,v.Standalone);break;case"w":e=on(1);break;case"ww":e=on(2);break;case"W":e=on(1,!0);break;case"d":e=J(K.Date,1);break;case"dd":e=J(K.Date,2);break;case"E":case"EE":case"EEE":e=nn(Y.Days,g.Abbreviated);break;case"EEEE":e=nn(Y.Days,g.Wide);break;case"EEEEE":e=nn(Y.Days,g.Narrow);break;case"EEEEEE":e=nn(Y.Days,g.Short);break;case"a":case"aa":case"aaa":e=nn(Y.DayPeriods,g.Abbreviated);break;case"aaaa":e=nn(Y.DayPeriods,g.Wide);break;case"aaaaa":e=nn(Y.DayPeriods,g.Narrow);break;case"b":case"bb":case"bbb":e=nn(Y.DayPeriods,g.Abbreviated,v.Standalone,!0);break;case"bbbb":e=nn(Y.DayPeriods,g.Wide,v.Standalone,!0);break;case"bbbbb":e=nn(Y.DayPeriods,g.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":e=nn(Y.DayPeriods,g.Abbreviated,v.Format,!0);break;case"BBBB":e=nn(Y.DayPeriods,g.Wide,v.Format,!0);break;case"BBBBB":e=nn(Y.DayPeriods,g.Narrow,v.Format,!0);break;case"h":e=J(K.Hours,1,-12);break;case"hh":e=J(K.Hours,2,-12);break;case"H":e=J(K.Hours,1);break;case"HH":e=J(K.Hours,2);break;case"m":e=J(K.Minutes,1);break;case"mm":e=J(K.Minutes,2);break;case"s":e=J(K.Seconds,1);break;case"ss":e=J(K.Seconds,2);break;case"S":e=J(K.FractionalSeconds,1);break;case"SS":e=J(K.FractionalSeconds,2);break;case"SSS":e=J(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=en(G.Short);break;case"ZZZZZ":e=en(G.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=en(G.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=en(G.Long);break;default:return null}return rn[n]=e,e}(n);d+=e?e(r,t,s):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function X(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(n,t){return null!=e&&t in e?e[t]:n})),n}function Q(n,e,t,l,o){void 0===t&&(t="-");var r="";(n<0||o&&n<=0)&&(o?n=1-n:(n=-n,r=t));for(var i=String(n);i.length<e;)i="0"+i;return l&&(i=i.substr(i.length-e)),r+i}function J(n,e,t,l,o){return void 0===t&&(t=0),void 0===l&&(l=!1),void 0===o&&(o=!1),function(r,i){var a,u=function(n,e){switch(n){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+n+'".')}}(n,r);if((t>0||u>-t)&&(u+=t),n===K.Hours)0===u&&-12===t&&(u=12);else if(n===K.FractionalSeconds)return a=e,Q(u,3).substr(0,a);var s=O(i,_.MinusSign);return Q(u,e,s,l,o)}}function nn(n,e,t,l){return void 0===t&&(t=v.Format),void 0===l&&(l=!1),function(o,r){return function(n,e,t,l,o,r){switch(t){case Y.Months:return S(e,o,l)[n.getMonth()];case Y.Days:return x(e,o,l)[n.getDay()];case Y.DayPeriods:var i=n.getHours(),a=n.getMinutes();if(r){var u,s=P(e),d=j(e,o,l);if(s.forEach(function(n,e){if(Array.isArray(n)){var t=n[0],l=n[1],o=l.hours;i>=t.hours&&a>=t.minutes&&(i<o||i===o&&a<l.minutes)&&(u=d[e])}else n.hours===i&&n.minutes===a&&(u=d[e])}),u)return u}return C(e,o,l)[i<12?0:1];case Y.Eras:return k(e,l)[n.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+t)}}(o,r,n,e,t,l)}}function en(n){return function(e,t,l){var o=-1*l,r=O(t,_.MinusSign),i=o>0?Math.floor(o/60):Math.ceil(o/60);switch(n){case G.Short:return(o>=0?"+":"")+Q(i,2,r)+Q(Math.abs(o%60),2,r);case G.ShortGMT:return"GMT"+(o>=0?"+":"")+Q(i,1,r);case G.Long:return"GMT"+(o>=0?"+":"")+Q(i,2,r)+":"+Q(Math.abs(o%60),2,r);case G.Extended:return 0===l?"Z":(o>=0?"+":"")+Q(i,2,r)+":"+Q(Math.abs(o%60),2,r);default:throw new Error('Unknown zone width "'+n+'"')}}}var tn=0,ln=4;function on(n,e){return void 0===e&&(e=!1),function(t,l){var o,r,i,a;if(e){var u=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+u)/7)}else{var d=(i=t.getFullYear(),a=new Date(i,tn,1).getDay(),new Date(i,0,1+(a<=ln?ln:ln+7)-a)),c=(r=t,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(ln-r.getDay()))).getTime()-d.getTime();o=1+Math.round(c/6048e5)}return Q(o,n,O(l,_.MinusSign))}}var rn={};function an(n,e){n=n.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function un(n){var e=new Date(0),t=0,l=0,o=n[8]?e.setUTCFullYear:e.setFullYear,r=n[8]?e.setUTCHours:e.setHours;n[9]&&(t=Number(n[9]+n[10]),l=Number(n[9]+n[11])),o.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));var i=Number(n[4]||0)-t,a=Number(n[5]||0)-l,u=Number(n[6]||0),s=Math.round(1e3*parseFloat("0."+(n[7]||0)));return r.call(e,i,a,u,s),e}function sn(n){return n instanceof Date&&!isNaN(n.valueOf())}var dn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cn=22,pn=".",fn="0",hn=";",mn=",",vn="#",gn="\xa4",bn="%";function _n(n,e,t,l,o,r,i){void 0===i&&(i=!1);var a="",u=!1;if(isFinite(n)){var s=function(e){var t,l,o,r,i,a=Math.abs(n)+"",u=0;for((l=a.indexOf(pn))>-1&&(a=a.replace(pn,"")),(o=a.search(/e/i))>0?(l<0&&(l=o),l+=+a.slice(o+1),a=a.substring(0,o)):l<0&&(l=a.length),o=0;a.charAt(o)===fn;o++);if(o===(i=a.length))t=[0],l=1;else{for(i--;a.charAt(i)===fn;)i--;for(l-=o,t=[],r=0;o<=i;o++,r++)t[r]=Number(a.charAt(o))}return l>cn&&(t=t.splice(0,cn-1),u=l-1,l=1),{digits:t,exponent:u,integerLen:l}}();i&&(s=function(n){if(0===n.digits[0])return n;var e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===e?n.digits.push(0,0):1===e&&n.digits.push(0),n.integerLen+=2),n}(s));var d=e.minInt,c=e.minFrac,p=e.maxFrac;if(r){var f=r.match(dn);if(null===f)throw new Error(r+" is not a valid digit info");var h=f[1],m=f[3],v=f[5];null!=h&&(d=Sn(h)),null!=m&&(c=Sn(m)),null!=v?p=Sn(v):null!=m&&c>p&&(p=c)}!function(n,e,t){if(e>t)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+t+").");var l=n.digits,o=l.length-n.integerLen,r=Math.min(Math.max(e,o),t),i=r+n.integerLen,a=l[i];if(i>0){l.splice(Math.max(n.integerLen,i));for(var u=i;u<l.length;u++)l[u]=0}else{o=Math.max(0,o),n.integerLen=1,l.length=Math.max(1,i=r+1),l[0]=0;for(var s=1;s<i;s++)l[s]=0}if(a>=5)if(i-1<0){for(var d=0;d>i;d--)l.unshift(0),n.integerLen++;l.unshift(1),n.integerLen++}else l[i-1]++;for(;o<Math.max(0,r);o++)l.push(0);var c=0!==r,p=e+n.integerLen,f=l.reduceRight(function(n,e,t,l){return l[t]=(e+=n)<10?e:e-10,c&&(0===l[t]&&t>=p?l.pop():c=!1),e>=10?1:0},0);f&&(l.unshift(f),n.integerLen++)}(s,c,p);var g=s.digits,b=s.integerLen,y=s.exponent,w=[];for(u=g.every(function(n){return!n});b<d;b++)g.unshift(0);for(;b<0;b++)g.unshift(0);b>0?w=g.splice(b,g.length):(w=g,g=[0]);var C=[];for(g.length>=e.lgSize&&C.unshift(g.splice(-e.lgSize,g.length).join(""));g.length>e.gSize;)C.unshift(g.splice(-e.gSize,g.length).join(""));g.length&&C.unshift(g.join("")),a=C.join(O(t,l)),w.length&&(a+=O(t,o)+w.join("")),y&&(a+=O(t,_.Exponential)+"+"+y)}else a=O(t,_.Infinity);return n<0&&!u?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf}function yn(n,e,t,l,o){var r=xn(F(e,h.Currency),O(e,_.MinusSign));return r.minFrac=U(l),r.maxFrac=r.minFrac,_n(n,r,e,_.CurrencyGroup,_.CurrencyDecimal,o).replace(gn,t).replace(gn,"")}function wn(n,e,t){return _n(n,xn(F(e,h.Percent),O(e,_.MinusSign)),e,_.Group,_.Decimal,t,!0).replace(new RegExp(bn,"g"),O(e,_.PercentSign))}function Cn(n,e,t){return _n(n,xn(F(e,h.Decimal),O(e,_.MinusSign)),e,_.Group,_.Decimal,t)}function xn(n,e){void 0===e&&(e="-");var t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=n.split(hn),o=l[0],r=l[1],i=-1!==o.indexOf(pn)?o.split(pn):[o.substring(0,o.lastIndexOf(fn)+1),o.substring(o.lastIndexOf(fn)+1)],a=i[0],u=i[1]||"";t.posPre=a.substr(0,a.indexOf(vn));for(var s=0;s<u.length;s++){var d=u.charAt(s);d===fn?t.minFrac=t.maxFrac=s+1:d===vn?t.maxFrac=s+1:t.posSuf+=d}var c=a.split(mn);if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){var p=o.length-t.posPre.length-t.posSuf.length,f=r.indexOf(vn);t.negPre=r.substr(0,f).replace(/'/g,""),t.negSuf=r.substr(f+p).replace(/'/g,"")}else t.negPre=e+t.posPre,t.negSuf=t.posSuf;return t}function Sn(n){var e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}var kn=new l.InjectionToken("UseV4Plurals"),En=function(){return function(){}}();function Tn(n,e,t,l){var o="="+n;if(e.indexOf(o)>-1)return o;if(o=t.getPluralCategory(n,l),e.indexOf(o)>-1)return o;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+n+'"')}var Rn=function(n){function e(e,t){var l=n.call(this)||this;return l.locale=e,l.deprecatedPluralFn=t,l}return Object(o.__extends)(e,n),e.prototype.getPluralCategory=function(n,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,n):A(e||this.locale)(n)){case m.Zero:return"zero";case m.One:return"one";case m.Two:return"two";case m.Few:return"few";case m.Many:return"many";default:return"other"}},e}(En);function In(n,e){"string"==typeof e&&(e=parseInt(e,10));var t=e,l=t.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(t)),r=l.length,i=parseInt(l,10),a=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(n.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===t?m.One:m.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return t===Math.floor(t)&&t>=0&&t<=1?m.One:m.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===t?m.One:m.Other;case"ar":return 0===t?m.Zero:1===t?m.One:2===t?m.Two:t%100===Math.floor(t%100)&&t%100>=3&&t%100<=10?m.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=99?m.Many:m.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===r?m.One:m.Other;case"be":return t%10==1&&t%100!=11?m.One:t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?m.Few:t%10==0||t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?m.Many:m.Other;case"br":return t%10==1&&t%100!=11&&t%100!=71&&t%100!=91?m.One:t%10==2&&t%100!=12&&t%100!=72&&t%100!=92?m.Two:t%10===Math.floor(t%10)&&(t%10>=3&&t%10<=4||t%10==9)&&!(t%100>=10&&t%100<=19||t%100>=70&&t%100<=79||t%100>=90&&t%100<=99)?m.Few:0!==t&&t%1e6==0?m.Many:m.Other;case"bs":case"hr":case"sr":return 0===r&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?m.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?m.Few:m.Other;case"cs":case"sk":return 1===o&&0===r?m.One:o===Math.floor(o)&&o>=2&&o<=4&&0===r?m.Few:0!==r?m.Many:m.Other;case"cy":return 0===t?m.Zero:1===t?m.One:2===t?m.Two:3===t?m.Few:6===t?m.Many:m.Other;case"da":return 1===t||0!==a&&(0===o||1===o)?m.One:m.Other;case"dsb":case"hsb":return 0===r&&o%100==1||i%100==1?m.One:0===r&&o%100==2||i%100==2?m.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?m.Few:m.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?m.One:m.Other;case"fil":return 0===r&&(1===o||2===o||3===o)||0===r&&o%10!=4&&o%10!=6&&o%10!=9||0!==r&&i%10!=4&&i%10!=6&&i%10!=9?m.One:m.Other;case"ga":return 1===t?m.One:2===t?m.Two:t===Math.floor(t)&&t>=3&&t<=6?m.Few:t===Math.floor(t)&&t>=7&&t<=10?m.Many:m.Other;case"gd":return 1===t||11===t?m.One:2===t||12===t?m.Two:t===Math.floor(t)&&(t>=3&&t<=10||t>=13&&t<=19)?m.Few:m.Other;case"gv":return 0===r&&o%10==1?m.One:0===r&&o%10==2?m.Two:0!==r||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==r?m.Many:m.Other:m.Few;case"he":return 1===o&&0===r?m.One:2===o&&0===r?m.Two:0!==r||t>=0&&t<=10||t%10!=0?m.Other:m.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?m.One:m.Other;case"ksh":return 0===t?m.Zero:1===t?m.One:m.Other;case"kw":case"naq":case"se":case"smn":return 1===t?m.One:2===t?m.Two:m.Other;case"lag":return 0===t?m.Zero:0!==o&&1!==o||0===t?m.Other:m.One;case"lt":return t%10!=1||t%100>=11&&t%100<=19?t%10===Math.floor(t%10)&&t%10>=2&&t%10<=9&&!(t%100>=11&&t%100<=19)?m.Few:0!==i?m.Many:m.Other:m.One;case"lv":case"prg":return t%10==0||t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19||2===r&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?m.Zero:t%10==1&&t%100!=11||2===r&&i%10==1&&i%100!=11||2!==r&&i%10==1?m.One:m.Other;case"mk":return 0===r&&o%10==1||i%10==1?m.One:m.Other;case"mt":return 1===t?m.One:0===t||t%100===Math.floor(t%100)&&t%100>=2&&t%100<=10?m.Few:t%100===Math.floor(t%100)&&t%100>=11&&t%100<=19?m.Many:m.Other;case"pl":return 1===o&&0===r?m.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?m.Few:0===r&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?m.Many:m.Other;case"pt":return t===Math.floor(t)&&t>=0&&t<=2&&2!==t?m.One:m.Other;case"ro":return 1===o&&0===r?m.One:0!==r||0===t||1!==t&&t%100===Math.floor(t%100)&&t%100>=1&&t%100<=19?m.Few:m.Other;case"ru":case"uk":return 0===r&&o%10==1&&o%100!=11?m.One:0===r&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?m.Few:0===r&&o%10==0||0===r&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===r&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?m.Many:m.Other;case"shi":return 0===o||1===t?m.One:t===Math.floor(t)&&t>=2&&t<=10?m.Few:m.Other;case"si":return 0===t||1===t||0===o&&1===i?m.One:m.Other;case"sl":return 0===r&&o%100==1?m.One:0===r&&o%100==2?m.Two:0===r&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==r?m.Few:m.Other;case"tzm":return t===Math.floor(t)&&t>=0&&t<=1||t===Math.floor(t)&&t>=11&&t<=99?m.One:m.Other;default:return m.Other}}function Dn(n,e,t){"string"!=typeof e&&(t=e,e=n[l["\u0275LocaleDataIndex"].LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),l["\u0275LOCALE_DATA"][e]=n,t&&(l["\u0275LOCALE_DATA"][e][l["\u0275LocaleDataIndex"].ExtraData]=t)}function On(n,e){var t,l;e=encodeURIComponent(e);try{for(var r=Object(o.__values)(n.split(";")),i=r.next();!i.done;i=r.next()){var a=i.value,u=a.indexOf("="),s=Object(o.__read)(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),d=s[1];if(s[0].trim()===e)return decodeURIComponent(d)}}catch(c){t={error:c}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return null}var Fn=function(){function n(n,e){this._name=n,this._options=e,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}return n.prototype.setValue=function(n){if(Array.isArray(n))this._lastSetValueType=4;else if(n instanceof Set)this._lastSetValueType=8;else if(n&&"string"==typeof n){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=n?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=n||null},n.prototype.hasValueChanged=function(){var n=this._lastSetValueIdentityChange;if(!(n||14&this._lastSetValueType))return!1;var e=null,t=!!(1&this._options),l=!!(8&this._options),o=!!(2&this._options);switch(this._lastSetValueType){case 1:var r=this._lastSetValue.split(/\s+/g);16&this._options?(e={},r.forEach(function(n,t){return e[n]=!0})):e=r.reduce(function(n,e,t){return n+(t?" ":"")+e});break;case 2:var i=this._lastSetValue,a=Object.keys(i);n||(n=!this.value||function(n,e,t){var l=n;if(!Pn(Object.keys(e),l))return!0;for(var o=0;o<l.length;o++){var r=l[o];if(e[r]!==t[r])return!0}return!1}(a,this.value,i)),n&&(e=Nn(this._name,t,l,o,i,a));break;case 4:case 8:var u=Array.from(this._lastSetValue);n||(n=!Pn(Object.keys(this.value),u)),n&&(e=Nn(this._name,t,l,o,u));break;default:e=null}return n&&(this.value=e),n},n}();function Nn(n,e,t,l,o,r){var i={};if(r)for(var a=0;a<r.length;a++){var u=r[a];An(i,u=e?u.trim():u,s=o[u],t,l)}else for(a=0;a<o.length;a++){var s;Mn(n,s=o[a]),An(i,s=e?s.trim():s,!0,!1,l)}return i}function Mn(n,e){if("string"!=typeof e)throw new Error(n+" can only toggle CSS classes expressed as strings, got "+e)}function An(n,e,t,l,o){if(o&&e.indexOf(" ")>0)for(var r=e.split(/\s+/g),i=0;i<r.length;i++)qn(n,r[i],t,l);else qn(n,e,t,l)}function qn(n,e,t,l){if(l){var o=function(n,e){var t=n.indexOf(".");if(t>0){var l=n.substr(t+1);n=n.substring(0,t),null!=e&&(e+=l)}return{key:n,value:e}}(e,t);t=o.value,e=o.key}n[e]=t}function Pn(n,e){if(n&&e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(-1===e.indexOf(n[t]))return!1;return!0}return!1}var jn=function(){return function(){}}(),Ln=function(){function n(n,e,t,l){this._iterableDiffers=n,this._keyValueDiffers=e,this._ngEl=t,this._renderer=l,this._initialClasses=[]}return n.prototype.getValue=function(){return null},n.prototype.setClass=function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},n.prototype.setNgClass=function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Object(l["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},n.prototype.applyChanges=function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},n.prototype._applyKeyValueChanges=function(n){var e=this;n.forEachAddedItem(function(n){return e._toggleClass(n.key,n.currentValue)}),n.forEachChangedItem(function(n){return e._toggleClass(n.key,n.currentValue)}),n.forEachRemovedItem(function(n){n.previousValue&&e._toggleClass(n.key,!1)})},n.prototype._applyIterableChanges=function(n){var e=this;n.forEachAddedItem(function(n){if("string"!=typeof n.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(l["\u0275stringify"])(n.item));e._toggleClass(n.item,!0)}),n.forEachRemovedItem(function(n){return e._toggleClass(n.item,!1)})},n.prototype._applyClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(n){return e._toggleClass(n,!0)}):Object.keys(n).forEach(function(t){return e._toggleClass(t,!!n[t])}))},n.prototype._removeClasses=function(n){var e=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(n){return e._toggleClass(n,!1)}):Object.keys(n).forEach(function(n){return e._toggleClass(n,!1)}))},n.prototype._toggleClass=function(n,e){var t=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(n){e?t._renderer.addClass(t._ngEl.nativeElement,n):t._renderer.removeClass(t._ngEl.nativeElement,n)})},n}(),Vn=function(){function n(){this._value=null,this._ngClassDiffer=new Fn("NgClass",23),this._classStringDiffer=null}return n.prototype.getValue=function(){return this._value},n.prototype.setClass=function(n){(n||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new Fn("class",20),this._classStringDiffer.setValue(n))},n.prototype.setNgClass=function(n){this._ngClassDiffer.setValue(n)},n.prototype.applyChanges=function(){var n=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),e=this._ngClassDiffer.hasValueChanged();if(n||e){var t=this._ngClassDiffer.value;if(this._classStringDiffer){var l=this._classStringDiffer.value;l&&(t=t?Object(o.__assign)({},l,t):l)}this._value=t}},n}(),Bn={provide:jn,useClass:Ln},zn={provide:jn,useClass:Vn},Un=Bn,Hn=Object(l["\u0275\u0275defineDirective"])({type:function(){},selectors:null,factory:function(){},hostBindings:function(n,e,t){1&n&&Object(l["\u0275\u0275styling"])(),2&n&&(Object(l["\u0275\u0275classMap"])(e.getValue()),Object(l["\u0275\u0275stylingApply"])())}}),Zn=function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}(),Wn=function(n){function e(e){return n.call(this,e)||this}return Object(o.__extends)(e,n),Object.defineProperty(e.prototype,"klass",{set:function(n){this._delegate.setClass(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(n){this._delegate.setNgClass(n)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(Zn),Gn=function(){function n(n){this._viewContainerRef=n,this._componentRef=null,this._moduleRef=null}return n.prototype.ngOnChanges=function(n){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(n.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var t=e.get(l.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;var o=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(l.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},n.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},n}(),Kn=function(){function n(n,e,t,l){this.$implicit=n,this.ngForOf=e,this.index=t,this.count=l}return Object.defineProperty(n.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),n}(),Yn=function(){function n(n,e,t){this._viewContainer=n,this._template=e,this._differs=t,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(n.prototype,"ngForOf",{set:function(n){this._ngForOf=n,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(n){Object(l.isDevMode)()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTemplate",{set:function(n){n&&(this._template=n)},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(l){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((e=n).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}},n.prototype._applyChanges=function(n){var e=this,t=[];n.forEachOperation(function(n,l,o){if(null==n.previousIndex){var r=e._viewContainer.createEmbeddedView(e._template,new Kn(null,e._ngForOf,-1,-1),o),i=new $n(n,r);t.push(i)}else null==o?e._viewContainer.remove(l):(r=e._viewContainer.get(l),e._viewContainer.move(r,o),i=new $n(n,r),t.push(i))});for(var l=0;l<t.length;l++)this._perViewChange(t[l].view,t[l].record);l=0;for(var o=this._viewContainer.length;l<o;l++){var r=this._viewContainer.get(l);r.context.index=l,r.context.count=o,r.context.ngForOf=this._ngForOf}n.forEachIdentityChange(function(n){e._viewContainer.get(n.currentIndex).context.$implicit=n.item})},n.prototype._perViewChange=function(n,e){n.context.$implicit=e.item},n.ngTemplateContextGuard=function(n,e){return!0},n}(),$n=function(){return function(n,e){this.record=n,this.view=e}}(),Xn=function(){function n(n,e){this._viewContainer=n,this._context=new Qn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(n.prototype,"ngIf",{set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfThen",{set:function(n){Jn("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfElse",{set:function(n){Jn("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),n.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)))},n}(),Qn=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Jn(n,e){if(e&&!e.createEmbeddedView)throw new Error(n+" must be a TemplateRef, but received '"+Object(l["\u0275stringify"])(e)+"'.")}var ne=function(){function n(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}return n.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},n.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},n.prototype.enforceState=function(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()},n}(),ee=function(){function n(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(n.prototype,"ngSwitch",{set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),n.prototype._addCase=function(){return this._caseCount++},n.prototype._addDefault=function(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)},n.prototype._matchCase=function(n){var e=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},n.prototype._updateDefaultCases=function(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(n)}},n}(),te=function(){function n(n,e,t){this.ngSwitch=t,t._addCase(),this._view=new ne(n,e)}return n.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},n}(),le=function(){return function(n,e,t){t._addDefault(new ne(n,e))}}(),oe=function(){function n(n){this._localization=n,this._caseViews={}}return Object.defineProperty(n.prototype,"ngPlural",{set:function(n){this._switchValue=n,this._updateView()},enumerable:!0,configurable:!0}),n.prototype.addCase=function(n,e){this._caseViews[n]=e},n.prototype._updateView=function(){this._clearViews();var n=Object.keys(this._caseViews),e=Tn(this._switchValue,n,this._localization);this._activateView(this._caseViews[e])},n.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},n.prototype._activateView=function(n){n&&(this._activeView=n,this._activeView.create())},n}(),re=function(){return function(n,e,t,l){this.value=n;var o=!isNaN(Number(n));l.addCase(o?"="+n:n,new ne(t,e))}}(),ie=function(){return function(){}}(),ae=function(){function n(n,e,t){this._ngEl=n,this._differs=e,this._renderer=t}return n.prototype.getValue=function(){return null},n.prototype.setNgStyle=function(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())},n.prototype.applyChanges=function(){if(this._differ){var n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}},n.prototype._applyChanges=function(n){var e=this;n.forEachRemovedItem(function(n){return e._setStyle(n.key,null)}),n.forEachAddedItem(function(n){return e._setStyle(n.key,n.currentValue)}),n.forEachChangedItem(function(n){return e._setStyle(n.key,n.currentValue)})},n.prototype._setStyle=function(n,e){var t=Object(o.__read)(n.split("."),2),l=t[0],r=t[1];null!=(e=null!=e&&r?""+e+r:e)?this._renderer.setStyle(this._ngEl.nativeElement,l,e):this._renderer.removeStyle(this._ngEl.nativeElement,l)},n}(),ue=function(){function n(){this._differ=new Fn("NgStyle",8),this._value=null}return n.prototype.getValue=function(){return this._value},n.prototype.setNgStyle=function(n){this._differ.setValue(n)},n.prototype.applyChanges=function(){this._differ.hasValueChanged()&&(this._value=this._differ.value)},n}(),se={provide:ie,useClass:ae},de={provide:ie,useClass:ue},ce=se,pe=Object(l["\u0275\u0275defineDirective"])({type:function(){},selectors:null,factory:function(){},hostBindings:function(n,e,t){1&n&&Object(l["\u0275\u0275styling"])(),2&n&&(Object(l["\u0275\u0275styleMap"])(e.getValue()),Object(l["\u0275\u0275stylingApply"])())}}),fe=function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}(),he=function(n){function e(e){return n.call(this,e)||this}return Object(o.__extends)(e,n),Object.defineProperty(e.prototype,"ngStyle",{set:function(n){this._delegate.setNgStyle(n)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(fe),me=function(){function n(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return n.prototype.ngOnChanges=function(n){this._shouldRecreateView(n)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},n.prototype._shouldRecreateView=function(n){var e=n.ngTemplateOutletContext;return!!n.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)},n.prototype._hasContextShapeChanged=function(n){var e,t,l=Object.keys(n.previousValue||{}),r=Object.keys(n.currentValue||{});if(l.length===r.length){try{for(var i=Object(o.__values)(r),a=i.next();!a.done;a=i.next())if(-1===l.indexOf(a.value))return!0}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return!1}return!0},n.prototype._updateExistingContext=function(n){var e,t;try{for(var l=Object(o.__values)(Object.keys(n)),r=l.next();!r.done;r=l.next()){var i=r.value;this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}},n}(),ve=[Wn,Gn,Yn,Xn,me,he,ee,te,le,oe,re];function ge(n,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(l["\u0275stringify"])(n)+"'")}var be=function(){function n(){}return n.format=function(n,e,t,l){void 0===l&&(l={});var o=l.currency,r=l.currencyAsSymbol,i=void 0!==r&&r,a={minimumIntegerDigits:l.minimumIntegerDigits,minimumFractionDigits:l.minimumFractionDigits,maximumFractionDigits:l.maximumFractionDigits,style:h[t].toLowerCase()};return t==h.Currency&&(a.currency="string"==typeof o?o:void 0,a.currencyDisplay=i?"symbol":"code"),new Intl.NumberFormat(e,a).format(n)},n}(),_e=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,ye={yMMMdjms:Oe(De([Re("year",1),Ie("month",3),Re("day",1),Re("hour",1),Re("minute",1),Re("second",1)])),yMdjm:Oe(De([Re("year",1),Re("month",1),Re("day",1),Re("hour",1),Re("minute",1)])),yMMMMEEEEd:Oe(De([Re("year",1),Ie("month",4),Ie("weekday",4),Re("day",1)])),yMMMMd:Oe(De([Re("year",1),Ie("month",4),Re("day",1)])),yMMMd:Oe(De([Re("year",1),Ie("month",3),Re("day",1)])),yMd:Oe(De([Re("year",1),Re("month",1),Re("day",1)])),jms:Oe(De([Re("hour",1),Re("second",1),Re("minute",1)])),jm:Oe(De([Re("hour",1),Re("minute",1)]))},we={yyyy:Oe(Re("year",4)),yy:Oe(Re("year",2)),y:Oe(Re("year",1)),MMMM:Oe(Ie("month",4)),MMM:Oe(Ie("month",3)),MM:Oe(Re("month",2)),M:Oe(Re("month",1)),LLLL:Oe(Ie("month",4)),L:Oe(Ie("month",1)),dd:Oe(Re("day",2)),d:Oe(Re("day",1)),HH:Ce(Se(Oe(Te(Re("hour",2),!1)))),H:Se(Oe(Te(Re("hour",1),!1))),hh:Ce(Se(Oe(Te(Re("hour",2),!0)))),h:Se(Oe(Te(Re("hour",1),!0))),jj:Oe(Re("hour",2)),j:Oe(Re("hour",1)),mm:Ce(Oe(Re("minute",2))),m:Oe(Re("minute",1)),ss:Ce(Oe(Re("second",2))),s:Oe(Re("second",1)),sss:Oe(Re("second",3)),EEEE:Oe(Ie("weekday",4)),EEE:Oe(Ie("weekday",3)),EE:Oe(Ie("weekday",2)),E:Oe(Ie("weekday",1)),a:xe(Oe(Te(Re("hour",1),!0))),Z:Ee("short"),z:Ee("long"),ww:Oe({}),w:Oe({}),G:Oe(Ie("era",1)),GG:Oe(Ie("era",2)),GGG:Oe(Ie("era",3)),GGGG:Oe(Ie("era",4))};function Ce(n){return function(e,t){var l=n(e,t);return 1==l.length?"0"+l:l}}function xe(n){return function(e,t){return n(e,t).split(" ")[1]}}function Se(n){return function(e,t){return n(e,t).split(" ")[0]}}function ke(n,e,t){return new Intl.DateTimeFormat(e,t).format(n).replace(/[\u200e\u200f]/g,"")}function Ee(n){var e={hour:"2-digit",hour12:!1,timeZoneName:n};return function(n,t){var l=ke(n,t,e);return l?l.substring(3):""}}function Te(n,e){return n.hour12=e,n}function Re(n,e){var t={};return t[n]=2===e?"2-digit":"numeric",t}function Ie(n,e){var t={};return t[n]=e<4?e>1?"short":"narrow":"long",t}function De(n){return n.reduce(function(n,e){return Object(o.__assign)({},n,e)},{})}function Oe(n){return function(e,t){return ke(e,t,n)}}var Fe=new Map,Ne=function(){function n(){}return n.format=function(n,e,t){return function(n,e,t){var l=ye[n];if(l)return l(e,t);var o=n,r=Fe.get(o);if(!r){r=[];var i=void 0;_e.exec(n);for(var a=n;a;)(i=_e.exec(a))?a=(r=r.concat(i.slice(1))).pop():(r.push(a),a=null);Fe.set(o,r)}return r.reduce(function(n,l){var o=we[l];return n+(o?o(e,t):function(n){return"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(l))},"")}(t,n,e)},n}(),Me=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){if(void 0===t&&(t="mediumDate"),null==n||""===n||n!=n)return null;var l;if("string"==typeof n&&(n=n.trim()),Ae(n))l=n;else if(isNaN(n-parseFloat(n)))if("string"==typeof n&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var r=Object(o.__read)(n.split("-").map(function(n){return parseInt(n,10)}),3);l=new Date(r[0],r[1]-1,r[2])}else l=new Date(n);else l=new Date(parseFloat(n));if(!Ae(l)){var i=void 0;if("string"!=typeof n||!(i=n.match(H)))throw ge(e,n);l=un(i)}return Ne.format(l,this._locale,e._ALIASES[t]||t)},n._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},n}();function Ae(n){return n instanceof Date&&!isNaN(n.valueOf())}function qe(n,e,t,l,o,r,i){if(void 0===r&&(r=null),void 0===i&&(i=!1),null==t)return null;if("number"!=typeof(t="string"!=typeof t||isNaN(+t-parseFloat(t))?t:+t))throw ge(n,t);var a,u,s;if(l!==h.Currency&&(a=1,u=0,s=3),o){var d=o.match(dn);if(null===d)throw new Error(o+" is not a valid digit info for number pipes");null!=d[1]&&(a=Sn(d[1])),null!=d[3]&&(u=Sn(d[3])),null!=d[5]&&(s=Sn(d[5]))}return be.format(t,e,l,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:s,currency:r,currencyAsSymbol:i})}var Pe=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return qe(e,this._locale,n,h.Decimal,t)},n}(),je=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t){return qe(e,this._locale,n,h.Percent,t)},n}(),Le=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o){return void 0===t&&(t="USD"),void 0===l&&(l=!1),qe(e,this._locale,n,h.Currency,o,t,l)},n}(),Ve=[Pe,je,Le,Me],Be=function(){function n(){}return n.prototype.createSubscription=function(n,e){return n.subscribe({next:e,error:function(n){throw n}})},n.prototype.dispose=function(n){n.unsubscribe()},n.prototype.onDestroy=function(n){n.unsubscribe()},n}(),ze=new(function(){function n(){}return n.prototype.createSubscription=function(n,e){return n.then(e,function(n){throw n})},n.prototype.dispose=function(n){},n.prototype.onDestroy=function(n){},n}()),Ue=new Be,He=function(){function n(n){this._ref=n,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=n,n.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},n.prototype.transform=function(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):Object(l["\u0275looseIdentical"])(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.WrappedValue.wrap(this._latestValue)):(n&&this._subscribe(n),this._latestReturnedValue=this._latestValue,this._latestValue)},n.prototype._subscribe=function(n){var e=this;this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,function(t){return e._updateLatestValue(n,t)})},n.prototype._selectStrategy=function(n){if(Object(l["\u0275isPromise"])(n))return ze;if(Object(l["\u0275isObservable"])(n))return Ue;throw ge(e,n)},n.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},n.prototype._updateLatestValue=function(n,e){n===this._obj&&(this._latestValue=e,this._ref.markForCheck())},n}(),Ze=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.toLowerCase()},n}(),We=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Ge=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.replace(We,function(n){return n[0].toUpperCase()+n.substr(1).toLowerCase()})},n}(),Ke=function(){function n(){}var e;return e=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw ge(e,n);return n.toUpperCase()},n}(),Ye=function(){function n(n){this.locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o){if(void 0===t&&(t="mediumDate"),null==n||""===n||n!=n)return null;try{return $(n,t,o||this.locale,l)}catch(r){throw ge(e,r.message)}},n}(),$e=/#/g,Xe=function(){function n(n){this._localization=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(null==n)return"";if("object"!=typeof t||null===t)throw ge(e,t);return t[Tn(n,Object.keys(t),this._localization,l)].replace($e,n.toString())},n}(),Qe=function(){function n(){}var e;return e=n,n.prototype.transform=function(n,t){if(null==n)return"";if("object"!=typeof t||"string"!=typeof n)throw ge(e,t);return t.hasOwnProperty(n)?t[n]:t.hasOwnProperty("other")?t.other:""},n}(),Je=function(){function n(){}return n.prototype.transform=function(n){return JSON.stringify(n,null,2)},n}(),nt=function(){function n(n){this.differs=n,this.keyValues=[]}return n.prototype.transform=function(n,e){var t=this;if(void 0===e&&(e=et),!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var l=this.differ.diff(n);return l&&(this.keyValues=[],l.forEachItem(function(n){t.keyValues.push({key:n.key,value:n.currentValue})}),this.keyValues.sort(e)),this.keyValues},n}();function et(n,e){var t=n.key,l=e.key;if(t===l)return 0;if(void 0===t)return 1;if(void 0===l)return-1;if(null===t)return 1;if(null===l)return-1;if("string"==typeof t&&"string"==typeof l)return t<l?-1:1;if("number"==typeof t&&"number"==typeof l)return t-l;if("boolean"==typeof t&&"boolean"==typeof l)return t<l?-1:1;var o=String(t),r=String(l);return o==r?0:o<r?-1:1}var tt=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(rt(n))return null;l=l||this._locale;try{return Cn(it(n),l,t)}catch(o){throw ge(e,o.message)}},n}(),lt=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l){if(rt(n))return null;l=l||this._locale;try{return wn(it(n),l,t)}catch(o){throw ge(e,o.message)}},n}(),ot=function(){function n(n){this._locale=n}var e;return e=n,n.prototype.transform=function(n,t,l,o,r){if(void 0===l&&(l="symbol"),rt(n))return null;r=r||this._locale,"boolean"==typeof l&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),l=l?"symbol":"code");var i=t||"USD";"code"!==l&&(i="symbol"===l||"symbol-narrow"===l?B(i,"symbol"===l?"wide":"narrow",r):l);try{return yn(it(n),r,i,t,o)}catch(a){throw ge(e,a.message)}},n}();function rt(n){return null==n||""===n||n!=n}function it(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(n+" is not a number");return n}var at=function(){function n(){}var e;return e=n,n.prototype.transform=function(n,t,l){if(null==n)return n;if(!this.supports(n))throw ge(e,n);return n.slice(t,l)},n.prototype.supports=function(n){return"string"==typeof n||Array.isArray(n)},n}(),ut=[He,Ke,Ze,Je,at,tt,lt,Ge,ot,Ye,Xe,Qe,nt],st=function(){return function(){}}(),dt=function(){return function(){}}(),ct=new l.InjectionToken("DocumentToken"),pt="browser",ft="server",ht="browserWorkerApp",mt="browserWorkerUi";function vt(n){return n===pt}function gt(n){return n===ft}function bt(n){return n===ht}function _t(n){return n===mt}var yt=new l.Version("8.1.2"),wt=function(){function n(){}return n.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({token:n,providedIn:"root",factory:function(){return new Ct(Object(l["\u0275\u0275inject"])(ct),window,Object(l["\u0275\u0275inject"])(l.ErrorHandler))}}),n}(),Ct=function(){function n(n,e,t){this.document=n,this.window=e,this.errorHandler=t,this.offset=function(){return[0,0]}}return n.prototype.setOffset=function(n){this.offset=Array.isArray(n)?function(){return n}:n},n.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},n.prototype.scrollToPosition=function(n){this.supportScrollRestoration()&&this.window.scrollTo(n[0],n[1])},n.prototype.scrollToAnchor=function(n){if(this.supportScrollRestoration()){n=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(n):n.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+n);if(e)return void this.scrollToElement(e);var t=this.document.querySelector("[name='"+n+"']");if(t)return void this.scrollToElement(t)}catch(l){this.errorHandler.handleError(l)}}},n.prototype.setHistoryScrollRestoration=function(n){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}},n.prototype.scrollToElement=function(n){var e=n.getBoundingClientRect(),t=e.left+this.window.pageXOffset,l=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(t-o[0],l-o[1])},n.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(n){return!1}},n}(),xt=function(){function n(){}return n.prototype.setOffset=function(n){},n.prototype.getScrollPosition=function(){return[0,0]},n.prototype.scrollToPosition=function(n){},n.prototype.scrollToAnchor=function(n){},n.prototype.setHistoryScrollRestoration=function(n){},n}()},IxPp:function(n,e,t){"use strict";t.d(e,"b",function(){return u}),t.d(e,"a",function(){return p});var l=t("mrSG"),o=t("FFOo"),r=t("pugT"),i=t("6blF"),a=t("K9Ia");function u(n,e,t,l){return function(o){return o.lift(new s(n,e,t,l))}}var s=function(){function n(n,e,t,l){this.keySelector=n,this.elementSelector=e,this.durationSelector=t,this.subjectSelector=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},n}(),d=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;return i.keySelector=t,i.elementSelector=l,i.durationSelector=o,i.subjectSelector=r,i.groups=null,i.attemptedToUnsubscribe=!1,i.count=0,i}return l.__extends(e,n),e.prototype._next=function(n){var e;try{e=this.keySelector(n)}catch(t){return void this.error(t)}this._group(n,e)},e.prototype._group=function(n,e){var t=this.groups;t||(t=this.groups=new Map);var l,o=t.get(e);if(this.elementSelector)try{l=this.elementSelector(n)}catch(u){this.error(u)}else l=n;if(!o){o=this.subjectSelector?this.subjectSelector():new a.b,t.set(e,o);var r=new p(e,o,this);if(this.destination.next(r),this.durationSelector){var i=void 0;try{i=this.durationSelector(new p(e,o))}catch(u){return void this.error(u)}this.add(i.subscribe(new c(e,o,this)))}}o.closed||o.next(l)},e.prototype._error=function(n){var e=this.groups;e&&(e.forEach(function(e,t){e.error(n)}),e.clear()),this.destination.error(n)},e.prototype._complete=function(){var n=this.groups;n&&(n.forEach(function(n,e){n.complete()}),n.clear()),this.destination.complete()},e.prototype.removeGroup=function(n){this.groups.delete(n)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&n.prototype.unsubscribe.call(this))},e}(o.a),c=function(n){function e(e,t,l){var o=n.call(this,t)||this;return o.key=e,o.group=t,o.parent=l,o}return l.__extends(e,n),e.prototype._next=function(n){this.complete()},e.prototype._unsubscribe=function(){var n=this.parent,e=this.key;this.key=this.parent=null,n&&n.removeGroup(e)},e}(o.a),p=function(n){function e(e,t,l){var o=n.call(this)||this;return o.key=e,o.groupSubject=t,o.refCountSubscription=l,o}return l.__extends(e,n),e.prototype._subscribe=function(n){var e=new r.a,t=this.refCountSubscription,l=this.groupSubject;return t&&!t.closed&&e.add(new f(t)),e.add(l.subscribe(n)),e},e}(i.a),f=function(n){function e(e){var t=n.call(this)||this;return t.parent=e,e.count++,t}return l.__extends(e,n),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(n.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(r.a)},Iyun:function(n,e,t){var l=t("vd7W").cmpChar,o=t("vd7W").isDigit,r=t("vd7W").TYPE,i=t("vd7W").CHARCODE,a=r.WhiteSpace,u=r.Comment,s=r.Ident,d=r.Number,c=r.Dimension,p=i.PlusSign,f=i.HyphenMinus,h=110,m=!0;function v(n,e){var t=this.scanner.tokenStart+n,l=this.scanner.source.charCodeAt(t);for(l!==p&&l!==f||(e&&this.error("Number sign is not allowed"),t++);t<this.scanner.tokenEnd;t++)o(this.scanner.source.charCodeAt(t))||this.error("Integer is expected",t)}function g(n){return v.call(this,0,n)}function b(n,e){if(!l(this.scanner.source,this.scanner.tokenStart+n,e)){var t="";switch(e){case h:t="N is expected";break;case f:t="HyphenMinus is expected"}this.error(t,this.scanner.tokenStart+n)}}function _(){for(var n=0,e=0,t=this.scanner.tokenType;t===a||t===u;)t=this.scanner.lookupType(++n);if(t!==d){if(!this.scanner.isDelim(p,n)&&!this.scanner.isDelim(f,n))return null;e=this.scanner.isDelim(p,n)?p:f;do{t=this.scanner.lookupType(++n)}while(t===a||t===u);t!==d&&(this.scanner.skip(n),g.call(this,m))}return n>0&&this.scanner.skip(n),0===e&&(t=this.scanner.source.charCodeAt(this.scanner.tokenStart))!==p&&t!==f&&this.error("Number sign is expected"),g.call(this,0!==e),e===f?"-"+this.consume(d):this.consume(d)}n.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var n=this.scanner.tokenStart,e=null,t=null;if(this.scanner.tokenType===d)g.call(this,!1),t=this.consume(d);else if(this.scanner.tokenType===s&&l(this.scanner.source,this.scanner.tokenStart,f))switch(e="-1",b.call(this,1,h),this.scanner.getTokenLength()){case 2:this.scanner.next(),t=_.call(this);break;case 3:b.call(this,2,f),this.scanner.next(),this.scanner.skipSC(),g.call(this,m),t="-"+this.consume(d);break;default:b.call(this,2,f),v.call(this,3,m),this.scanner.next(),t=this.scanner.substrToCursor(n+2)}else if(this.scanner.tokenType===s||this.scanner.isDelim(p)&&this.scanner.lookupType(1)===s){var r=0;switch(e="1",this.scanner.isDelim(p)&&(r=1,this.scanner.next()),b.call(this,0,h),this.scanner.getTokenLength()){case 1:this.scanner.next(),t=_.call(this);break;case 2:b.call(this,1,f),this.scanner.next(),this.scanner.skipSC(),g.call(this,m),t="-"+this.consume(d);break;default:b.call(this,1,f),v.call(this,2,m),this.scanner.next(),t=this.scanner.substrToCursor(n+r+1)}}else if(this.scanner.tokenType===c){for(var i=this.scanner.source.charCodeAt(this.scanner.tokenStart),a=this.scanner.tokenStart+(r=i===p||i===f);a<this.scanner.tokenEnd&&o(this.scanner.source.charCodeAt(a));a++);a===this.scanner.tokenStart+r&&this.error("Integer is expected",this.scanner.tokenStart+r),b.call(this,a-this.scanner.tokenStart,h),e=this.scanner.source.substring(n,a),a+1===this.scanner.tokenEnd?(this.scanner.next(),t=_.call(this)):(b.call(this,a-this.scanner.tokenStart+1,f),a+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),g.call(this,m),t="-"+this.consume(d)):(v.call(this,a-this.scanner.tokenStart+2,m),this.scanner.next(),t=this.scanner.substrToCursor(a+1)))}else this.error();return null!==e&&e.charCodeAt(0)===p&&(e=e.substr(1)),null!==t&&t.charCodeAt(0)===p&&(t=t.substr(1)),{type:"AnPlusB",loc:this.getLocation(n,this.scanner.tokenStart),a:e,b:t}},generate:function(n){var e=null!=n.b;null!=n.a?(this.chunk("+1"===n.a?"+n":"1"===n.a?"n":"-1"===n.a?"-n":n.a+"n"),e&&("-"===(e=String(n.b)).charAt(0)||"+"===e.charAt(0)?(this.chunk(e.charAt(0)),this.chunk(e.substr(1))):(this.chunk("+"),this.chunk(e)))):this.chunk(String(n.b))}}},J0X1:function(n,e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<t.length)return t[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){return 65<=n&&n<=90?n-65:97<=n&&n<=122?n-97+26:48<=n&&n<=57?n-48+52:43==n?62:47==n?63:-1}},"JF+6":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("6blF"),o=t("pugT");function r(n,e){return new l.a(function(t){var l=new o.a,r=0;return l.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||l.add(this.schedule())):t.complete()})),l})}},K3ba:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("K9Ia"),r=t("pugT"),i=t("MGBS"),a=t("zotm");function u(n,e){return function(t){return t.lift(new s(n,e))}}var s=function(){function n(n,e){this.openings=n,this.closingSelector=e}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.openings,this.closingSelector))},n}(),d=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(o.openSubscription=Object(a.a)(o,t,t)),o}return l.__extends(e,n),e.prototype._next=function(n){var e=this.contexts;if(e)for(var t=e.length,l=0;l<t;l++)e[l].window.next(n)},e.prototype._error=function(e){var t=this.contexts;if(this.contexts=null,t)for(var l=t.length,o=-1;++o<l;){var r=t[o];r.window.error(e),r.subscription.unsubscribe()}n.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,l=-1;++l<t;){var o=e[l];o.window.complete(),o.subscription.unsubscribe()}n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var n=this.contexts;if(this.contexts=null,n)for(var e=n.length,t=-1;++t<e;){var l=n[t];l.window.unsubscribe(),l.subscription.unsubscribe()}},e.prototype.notifyNext=function(n,e,t,l,i){if(n===this.openings){var u=void 0;try{u=(0,this.closingSelector)(e)}catch(f){return this.error(f)}var s=new o.b,d=new r.a,c={window:s,subscription:d};this.contexts.push(c);var p=Object(a.a)(this,u,c);p.closed?this.closeWindow(this.contexts.length-1):(p.context=c,d.add(p)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(n))},e.prototype.notifyError=function(n){this.error(n)},e.prototype.notifyComplete=function(n){n!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(n.context))},e.prototype.closeWindow=function(n){if(-1!==n){var e=this.contexts,t=e[n],l=t.window,o=t.subscription;e.splice(n,1),l.complete(),o.unsubscribe()}},e}(i.a)},K9Ia:function(n,e,t){"use strict";t.d(e,"c",function(){return d}),t.d(e,"b",function(){return c}),t.d(e,"a",function(){return p});var l=t("mrSG"),o=t("6blF"),r=t("FFOo"),i=t("pugT"),a=t("8g8A"),u=t("uMaO"),s=t("L/V9"),d=function(n){function e(e){var t=n.call(this,e)||this;return t.destination=e,t}return l.__extends(e,n),e}(r.a),c=function(n){function e(){var e=n.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return l.__extends(e,n),e.prototype[s.a]=function(){return new d(this)},e.prototype.lift=function(n){var e=new p(this,this);return e.operator=n,e},e.prototype.next=function(n){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,t=e.length,l=e.slice(),o=0;o<t;o++)l[o].next(n)},e.prototype.error=function(n){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=n,this.isStopped=!0;for(var e=this.observers,t=e.length,l=e.slice(),o=0;o<t;o++)l[o].error(n);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var n=this.observers,e=n.length,t=n.slice(),l=0;l<e;l++)t[l].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.a;return n.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(n){if(this.closed)throw new a.a;return this.hasError?(n.error(this.thrownError),i.a.EMPTY):this.isStopped?(n.complete(),i.a.EMPTY):(this.observers.push(n),new u.a(this,n))},e.prototype.asObservable=function(){var n=new o.a;return n.source=this,n},e.create=function(n,e){return new p(n,e)},e}(o.a),p=function(n){function e(e,t){var l=n.call(this)||this;return l.destination=e,l.source=t,l}return l.__extends(e,n),e.prototype.next=function(n){var e=this.destination;e&&e.next&&e.next(n)},e.prototype.error=function(n){var e=this.destination;e&&e.error&&this.destination.error(n)},e.prototype.complete=function(){var n=this.destination;n&&n.complete&&this.destination.complete()},e.prototype._subscribe=function(n){return this.source?this.source.subscribe(n):i.a.EMPTY},e}(c)},KAzf:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("15JJ"),o=t("mChF");function r(){return Object(l.a)(o.a)}},KD6q:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return void 0===e&&(e=null),function(t){return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.bufferSize=n,this.startBufferEvery=e,this.subscriberClass=e&&n!==e?u:a}return n.prototype.call=function(n,e){return e.subscribe(new this.subscriberClass(n,this.bufferSize,this.startBufferEvery))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.bufferSize=t,l.buffer=[],l}return l.__extends(e,n),e.prototype._next=function(n){var e=this.buffer;e.push(n),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),n.prototype._complete.call(this)},e}(o.a),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.bufferSize=t,o.startBufferEvery=l,o.buffers=[],o.count=0,o}return l.__extends(e,n),e.prototype._next=function(n){var e=this.bufferSize,t=this.startBufferEvery,l=this.buffers,o=this.count;this.count++,o%t==0&&l.push([]);for(var r=l.length;r--;){var i=l[r];i.push(n),i.length===e&&(l.splice(r,1),this.destination.next(i))}},e.prototype._complete=function(){for(var e=this.buffers,t=this.destination;e.length>0;){var l=e.shift();l.length>0&&t.next(l)}n.prototype._complete.call(this)},e}(o.a)},KQya:function(n,e,t){"use strict";var l=t("mrSG"),o=1,r={},i=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.__extends(e,n),e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0?n.prototype.requestAsyncId.call(this,e,t,l):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),a=o++,r[a]=i,Promise.resolve().then(function(){return function(n){var e=r[n];e&&e()}(a)}),a)));var i,a},e.prototype.recycleAsyncId=function(e,t,l){if(void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,l);0===e.actions.length&&(delete r[t],e.scheduled=void 0)},e}(t("h9Dq").a),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var e,t=this.actions,l=-1,o=t.length;n=n||t.shift();do{if(e=n.execute(n.state,n.delay))break}while(++l<o&&(n=t.shift()));if(this.active=!1,e){for(;++l<o&&(n=t.shift());)n.unsubscribe();throw e}},e}(t("CS9Q").a);t.d(e,"a",function(){return u});var u=new a(i)},KW4y:function(n,e,t){var l=t("4vYp");n.exports={generic:!0,types:l.types,properties:l.properties,node:t("585i")}},KcB0:function(n,e,t){var l=t("cWdd"),o={type:"Match"},r={type:"Mismatch"},i={type:"DisallowEmpty"},a=40,u=41;function s(n,e,t){return e===o&&t===r?n:n===o&&e===o&&t===o?n:("If"===n.type&&n.else===r&&e===o&&(e=n.then,n=n.match),{type:"If",match:n,then:e,else:t})}function d(n){return n.length>2&&n.charCodeAt(n.length-2)===a&&n.charCodeAt(n.length-1)===u}function c(n){return"Keyword"===n.type||"AtKeyword"===n.type||"Function"===n.type||"Type"===n.type&&d(n.name)}function p(n){if("function"==typeof n)return{type:"Generic",fn:n};switch(n.type){case"Group":var e=function n(e,t,l){switch(e){case" ":for(var i=o,a=t.length-1;a>=0;a--)i=s(f=t[a],i,r);return i;case"|":i=r;var u=null;for(a=t.length-1;a>=0;a--){if(c(f=t[a])&&(null===u&&a>0&&c(t[a-1])&&(i=s({type:"Enum",map:u=Object.create(null)},o,i)),null!==u)){var p=(d(f.name)?f.name.slice(0,-1):f.name).toLowerCase();if(p in u==0){u[p]=f;continue}}u=null,i=s(f,o,i)}return i;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(i=r,a=t.length-1;a>=0;a--){var f=t[a];h=t.length>1?n(e,t.filter(function(n){return n!==f}),!1):o,i=s(f,h,i)}return i;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(i=l?o:r,a=t.length-1;a>=0;a--){var h;f=t[a],h=t.length>1?n(e,t.filter(function(n){return n!==f}),!0):o,i=s(f,h,i)}return i}}(n.combinator,n.terms.map(p),!1);return n.disallowEmpty&&(e=s(e,i,r)),e;case"Multiplier":return function(n){var e=o,t=p(n.term);if(0===n.max)t=s(t,i,r),(e=s(t,null,r)).then=s(o,o,e),n.comma&&(e.then.else=s({type:"Comma",syntax:n},e,r));else for(var l=n.min||1;l<=n.max;l++)n.comma&&e!==o&&(e=s({type:"Comma",syntax:n},e,r)),e=s(t,s(o,o,e),r);if(0===n.min)e=s(o,o,e);else for(l=0;l<n.min-1;l++)n.comma&&e!==o&&(e=s({type:"Comma",syntax:n},e,r)),e=s(t,e,r);return e}(n);case"Type":case"Property":return{type:n.type,name:n.name,syntax:n};case"Keyword":return{type:n.type,name:n.name.toLowerCase(),syntax:n};case"AtKeyword":return{type:n.type,name:"@"+n.name.toLowerCase(),syntax:n};case"Function":return{type:n.type,name:n.name.toLowerCase()+"(",syntax:n};case"String":return 3===n.value.length?{type:"Token",value:n.value.charAt(1),syntax:n}:{type:n.type,value:n.value.substr(1,n.value.length-2).replace(/\\'/g,"'"),syntax:n};case"Token":return{type:n.type,value:n.value,syntax:n};case"Comma":return{type:n.type,syntax:n};default:throw new Error("Unknown node type:",n.type)}}n.exports={MATCH:o,MISMATCH:r,DISALLOW_EMPTY:i,buildMatchGraph:function(n,e){return"string"==typeof n&&(n=l(n)),{type:"MatchGraph",match:p(n),syntax:e||null,source:n}}}},KhEm:function(n,e,t){"use strict";t.d(e,"a",function(){return u}),t.d(e,"b",function(){return d});var l=t("mrSG"),o=t("K9Ia"),r=t("6blF"),i=(t("FFOo"),t("pugT")),a=t("yGWI"),u=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subjectFactory=t,l._refCount=0,l._isComplete=!1,l}return l.__extends(e,n),e.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},e.prototype.getSubject=function(){var n=this._subject;return n&&!n.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var n=this._connection;return n||(this._isComplete=!1,(n=this._connection=new i.a).add(this.source.subscribe(new c(this.getSubject(),this))),n.closed&&(this._connection=null,n=i.a.EMPTY)),n},e.prototype.refCount=function(){return Object(a.a)()(this)},e}(r.a),s=u.prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:s._subscribe},_isComplete:{value:s._isComplete,writable:!0},getSubject:{value:s.getSubject},connect:{value:s.connect},refCount:{value:s.refCount}},c=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return l.__extends(e,n),e.prototype._error=function(e){this._unsubscribe(),n.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}},e}(o.c)},KjDf:function(n,e,t){var l=t("Sean"),o=t("P3uw").firstCharOffset,r=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};r.prototype={setSource:function(n,e,t,l){this.source=n,this.startOffset=void 0===e?0:e,this.startLine=void 0===t?1:t,this.startColumn=void 0===l?1:l,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(function(n,e,t){for(var o=t.length,r=l(n.lines,o),i=n.startLine,a=l(n.columns,o),u=n.startColumn,s=e;s<o;s++){var d=t.charCodeAt(s);r[s]=i,a[s]=u++,10!==d&&13!==d&&12!==d||(13===d&&s+1<o&&10===t.charCodeAt(s+1)&&(r[++s]=i,a[s]=u),i++,u=1)}r[s]=i,a[s]=u,n.lines=r,n.columns=a}(this,o(this.source),this.source),this.linesAndColumnsComputed=!0)},getLocation:function(n,e){return this.ensureLinesAndColumnsComputed(),{source:e,offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}},getLocationRange:function(n,e,t){return this.ensureLinesAndColumnsComputed(),{source:t,start:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]},end:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}}},n.exports=r},"L/V9":function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"Lw+5":function(n,e,t){var l=t("vd7W").TYPE.Comma;n.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var n=this.createList();!this.scanner.eof&&(n.push(this.Selector()),this.scanner.tokenType===l);)this.scanner.next();return{type:"SelectorList",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n,function(){this.chunk(",")})},walkContext:"selector"}},"M+vq":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Hotkey=function(){function n(n,e,t,l,o,r){this.combo=n,this.callback=e,this.allowIn=t,this.description=l,this.action=o,this.persistent=r,this.combo=Array.isArray(n)?n:[n],this.allowIn=t||[],this.description=l||""}return n.symbolize=function(n){for(var e={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193",return:"\u23ce",backspace:"\u232b"},t=n.split("+"),l=0;l<t.length;l++)"mod"===t[l]&&(t[l]=window.navigator&&window.navigator.platform.indexOf("Mac")>=0?"command":"ctrl"),t[l]=e[t[l]]||t[l];return t.join(" + ")},Object.defineProperty(n.prototype,"formatted",{get:function(){if(!this._formatted){for(var e=this.combo[0].split(/[\s]/),t=0;t<e.length;t++)e[t]=n.symbolize(e[t]);this._formatted=e}return this._formatted},enumerable:!0,configurable:!0}),n}()},MGBS:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("mrSG"),o=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyError=function(n,e){this.destination.error(n)},e.prototype.notifyComplete=function(n){this.destination.complete()},e}(t("FFOo").a)},MPaf:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("b7mW"),o=t("VnD/"),r=t("tNVB"),i=t("HJBe"),a=t("t9fZ");function u(n,e){if(n<0)throw new l.a;var t=arguments.length>=2;return function(u){return u.pipe(Object(o.a)(function(e,t){return t===n}),Object(a.a)(1),t?Object(i.a)(e):Object(r.a)(function(){return new l.a}))}}},McSo:function(n,e,t){"use strict";function l(n){return null!==n&&"object"==typeof n}t.d(e,"a",function(){return l})},MpAI:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.durationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.durationSelector))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.durationSelector=t,l.hasValue=!1,l}return l.__extends(e,n),e.prototype._next=function(n){if(this.value=n,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(n)}catch(l){return this.destination.error(l)}var t=Object(r.a)(this,e);!t||t.closed?this.clearThrottle():this.add(this.throttled=t)}},e.prototype.clearThrottle=function(){var n=this.value,e=this.hasValue,t=this.throttled;t&&(this.remove(t),this.throttled=null,t.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(n))},e.prototype.notifyNext=function(n,e,t,l){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(o.a)},MysU:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("K9Ia"),r=t("MGBS"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.closingSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.closingSelector))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.destination=e,l.closingSelector=t,l.openWindow(),l}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.openWindow(o)},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){this.openWindow(n)},e.prototype._next=function(n){this.window.next(n)},e.prototype._error=function(n){this.window.error(n),this.destination.error(n),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(n){void 0===n&&(n=null),n&&(this.remove(n),n.unsubscribe());var e=this.window;e&&e.complete();var t,l=this.window=new o.b;this.destination.next(l);try{t=(0,this.closingSelector)()}catch(r){return this.destination.error(r),void this.window.error(r)}this.add(this.closingNotification=Object(i.a)(this,t))},e}(r.a)},NKZO:function(n,e,t){"use strict";t.d(e,"b",function(){return r}),t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo");function r(n,e){if("function"!=typeof n)throw new TypeError("predicate is not a function");return function(t){return t.lift(new i(n,t,!1,e))}}var i=function(){function n(n,e,t,l){this.predicate=n,this.source=e,this.yieldIndex=t,this.thisArg=l}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.source,this.yieldIndex,this.thisArg))},n}(),a=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;return i.predicate=t,i.source=l,i.yieldIndex=o,i.thisArg=r,i.index=0,i}return l.__extends(e,n),e.prototype.notifyComplete=function(n){var e=this.destination;e.next(n),e.complete(),this.unsubscribe()},e.prototype._next=function(n){var e=this.predicate,t=this.thisArg,l=this.index++;try{e.call(t||this,n,l,this.source)&&this.notifyComplete(this.yieldIndex?l:n)}catch(o){this.destination.error(o)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(o.a)},NSjB:function(n,e,t){var l=t("7WHS"),o=t("sjRw"),r=t("IiZa").ArraySet,i=t("Oak9"),a=t("gtsK").quickSort;function u(n){var e=n;return"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,""))),null!=e.sections?new c(e):new s(e)}function s(n){var e=n;"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,"")));var t=l.getArg(e,"version"),o=l.getArg(e,"sources"),i=l.getArg(e,"names",[]),a=l.getArg(e,"sourceRoot",null),u=l.getArg(e,"sourcesContent",null),s=l.getArg(e,"mappings"),d=l.getArg(e,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);o=o.map(String).map(l.normalize).map(function(n){return a&&l.isAbsolute(a)&&l.isAbsolute(n)?l.relative(a,n):n}),this._names=r.fromArray(i.map(String),!0),this._sources=r.fromArray(o,!0),this.sourceRoot=a,this.sourcesContent=u,this._mappings=s,this.file=d}function d(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function c(n){var e=n;"string"==typeof n&&(e=JSON.parse(n.replace(/^\)\]\}'/,"")));var t=l.getArg(e,"version"),o=l.getArg(e,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new r,this._names=new r;var i={line:-1,column:0};this._sections=o.map(function(n){if(n.url)throw new Error("Support for url field in sections not implemented.");var e=l.getArg(n,"offset"),t=l.getArg(e,"line"),o=l.getArg(e,"column");if(t<i.line||t===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=e,{generatedOffset:{generatedLine:t+1,generatedColumn:o+1},consumer:new u(l.getArg(n,"map"))}})}u.fromSourceMap=function(n){return s.fromSourceMap(n)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(n,e){var t=n.charAt(e);return";"===t||","===t},u.prototype._parseMappings=function(n,e){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(n,e,t){var o,r=e||null;switch(t||u.GENERATED_ORDER){case u.GENERATED_ORDER:o=this._generatedMappings;break;case u.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;o.map(function(n){var e=null===n.source?null:this._sources.at(n.source);return null!=e&&null!=i&&(e=l.join(i,e)),{source:e,generatedLine:n.generatedLine,generatedColumn:n.generatedColumn,originalLine:n.originalLine,originalColumn:n.originalColumn,name:null===n.name?null:this._names.at(n.name)}},this).forEach(n,r)},u.prototype.allGeneratedPositionsFor=function(n){var e=l.getArg(n,"line"),t={source:l.getArg(n,"source"),originalLine:e,originalColumn:l.getArg(n,"column",0)};if(null!=this.sourceRoot&&(t.source=l.relative(this.sourceRoot,t.source)),!this._sources.has(t.source))return[];t.source=this._sources.indexOf(t.source);var r=[],i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(void 0===n.column)for(var u=a.originalLine;a&&a.originalLine===u;)r.push({line:l.getArg(a,"generatedLine",null),column:l.getArg(a,"generatedColumn",null),lastColumn:l.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var s=a.originalColumn;a&&a.originalLine===e&&a.originalColumn==s;)r.push({line:l.getArg(a,"generatedLine",null),column:l.getArg(a,"generatedColumn",null),lastColumn:l.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return r},e.SourceMapConsumer=u,(s.prototype=Object.create(u.prototype)).consumer=u,s.fromSourceMap=function(n){var e=Object.create(s.prototype),t=e._names=r.fromArray(n._names.toArray(),!0),o=e._sources=r.fromArray(n._sources.toArray(),!0);e.sourceRoot=n._sourceRoot,e.sourcesContent=n._generateSourcesContent(e._sources.toArray(),e.sourceRoot),e.file=n._file;for(var i=n._mappings.toArray().slice(),u=e.__generatedMappings=[],c=e.__originalMappings=[],p=0,f=i.length;p<f;p++){var h=i[p],m=new d;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=o.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=t.indexOf(h.name)),c.push(m)),u.push(m)}return a(e.__originalMappings,l.compareByOriginalPositions),e},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(n){return null!=this.sourceRoot?l.join(this.sourceRoot,n):n},this)}}),s.prototype._parseMappings=function(n,e){for(var t,o,r,u,s=1,c=0,p=0,f=0,h=0,m=0,v=n.length,g=0,b={},_={},y=[],w=[];g<v;)if(";"===n.charAt(g))s++,g++,c=0;else if(","===n.charAt(g))g++;else{for((t=new d).generatedLine=s,u=g;u<v&&!this._charIsMappingSeparator(n,u);u++);if(r=b[o=n.slice(g,u)])g+=o.length;else{for(r=[];g<u;)i.decode(n,g,_),g=_.rest,r.push(_.value);if(2===r.length)throw new Error("Found a source, but no line and column");if(3===r.length)throw new Error("Found a source and line, but no column");b[o]=r}t.generatedColumn=c+r[0],c=t.generatedColumn,r.length>1&&(t.source=h+r[1],h+=r[1],t.originalLine=p+r[2],p=t.originalLine,t.originalLine+=1,t.originalColumn=f+r[3],f=t.originalColumn,r.length>4&&(t.name=m+r[4],m+=r[4])),w.push(t),"number"==typeof t.originalLine&&y.push(t)}a(w,l.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,a(y,l.compareByOriginalPositions),this.__originalMappings=y},s.prototype._findMapping=function(n,e,t,l,r,i){if(n[t]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+n[t]);if(n[l]<0)throw new TypeError("Column must be greater than or equal to 0, got "+n[l]);return o.search(n,e,r,i)},s.prototype.computeColumnSpans=function(){for(var n=0;n<this._generatedMappings.length;++n){var e=this._generatedMappings[n];if(n+1<this._generatedMappings.length){var t=this._generatedMappings[n+1];if(e.generatedLine===t.generatedLine){e.lastGeneratedColumn=t.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(n){var e={generatedLine:l.getArg(n,"line"),generatedColumn:l.getArg(n,"column")},t=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",l.compareByGeneratedPositionsDeflated,l.getArg(n,"bias",u.GREATEST_LOWER_BOUND));if(t>=0){var o=this._generatedMappings[t];if(o.generatedLine===e.generatedLine){var r=l.getArg(o,"source",null);null!==r&&(r=this._sources.at(r),null!=this.sourceRoot&&(r=l.join(this.sourceRoot,r)));var i=l.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:r,line:l.getArg(o,"originalLine",null),column:l.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(n){return null==n})},s.prototype.sourceContentFor=function(n,e){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(n=l.relative(this.sourceRoot,n)),this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];var t;if(null!=this.sourceRoot&&(t=l.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!t.path||"/"==t.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(e)return null;throw new Error('"'+n+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(n){var e=l.getArg(n,"source");if(null!=this.sourceRoot&&(e=l.relative(this.sourceRoot,e)),!this._sources.has(e))return{line:null,column:null,lastColumn:null};var t={source:e=this._sources.indexOf(e),originalLine:l.getArg(n,"line"),originalColumn:l.getArg(n,"column")},o=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,l.getArg(n,"bias",u.GREATEST_LOWER_BOUND));if(o>=0){var r=this._originalMappings[o];if(r.source===t.source)return{line:l.getArg(r,"generatedLine",null),column:l.getArg(r,"generatedColumn",null),lastColumn:l.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s,(c.prototype=Object.create(u.prototype)).constructor=u,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}}),c.prototype.originalPositionFor=function(n){var e={generatedLine:l.getArg(n,"line"),generatedColumn:l.getArg(n,"column")},t=o.search(e,this._sections,function(n,e){return n.generatedLine-e.generatedOffset.generatedLine||n.generatedColumn-e.generatedOffset.generatedColumn}),r=this._sections[t];return r?r.consumer.originalPositionFor({line:e.generatedLine-(r.generatedOffset.generatedLine-1),column:e.generatedColumn-(r.generatedOffset.generatedLine===e.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(n){return n.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(n,e){for(var t=0;t<this._sections.length;t++){var l=this._sections[t].consumer.sourceContentFor(n,!0);if(l)return l}if(e)return null;throw new Error('"'+n+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(n){for(var e=0;e<this._sections.length;e++){var t=this._sections[e];if(-1!==t.consumer.sources.indexOf(l.getArg(n,"source"))){var o=t.consumer.generatedPositionFor(n);if(o)return{line:o.line+(t.generatedOffset.generatedLine-1),column:o.column+(t.generatedOffset.generatedLine===o.line?t.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},c.prototype._parseMappings=function(n,e){this.__generatedMappings=[],this.__originalMappings=[];for(var t=0;t<this._sections.length;t++)for(var o=this._sections[t],r=o.consumer._generatedMappings,i=0;i<r.length;i++){var u=r[i],s=o.consumer._sources.at(u.source);null!==o.consumer.sourceRoot&&(s=l.join(o.consumer.sourceRoot,s)),this._sources.add(s),s=this._sources.indexOf(s);var d=o.consumer._names.at(u.name);this._names.add(d),d=this._names.indexOf(d);var c={source:s,generatedLine:u.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(o.generatedOffset.generatedLine===u.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:d};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}a(this.__generatedMappings,l.compareByGeneratedPositionsDeflated),a(this.__originalMappings,l.compareByOriginalPositions)},e.IndexedSourceMapConsumer=c},NlKi:function(n,e,t){var l=t("jT1Q"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=o.Raven,i=new l;i.noConflict=function(){return o.Raven=r,i},i.afterLoad(),n.exports=i,n.exports.Client=l},Nzu2:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("G5J1");function i(n){return void 0===n&&(n=-1),function(e){return 0===n?Object(r.b)():e.lift(new a(n<0?-1:n-1,e))}}var a=function(){function n(n,e){this.count=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.count,this.source))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.count=t,o.source=l,o}return l.__extends(e,n),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,t=this.count;if(0===t)return n.prototype.complete.call(this);t>-1&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(o.a)},O36p:function(n,e){function t(n){return{prev:null,next:null,data:n}}function l(n,e,t){var l;return null!==r?(l=r,r=r.cursor,l.prev=e,l.next=t,l.cursor=n.cursor):l={prev:e,next:t,cursor:n.cursor},n.cursor=l,l}function o(n){var e=n.cursor;n.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=r,r=e}var r=null,i=function(){this.cursor=null,this.head=null,this.tail=null};i.createItem=t,i.prototype.createItem=t,i.prototype.updateCursors=function(n,e,t,l){for(var o=this.cursor;null!==o;)o.prev===n&&(o.prev=e),o.next===t&&(o.next=l),o=o.cursor},i.prototype.getSize=function(){for(var n=0,e=this.head;e;)n++,e=e.next;return n},i.prototype.fromArray=function(n){var e=null;this.head=null;for(var l=0;l<n.length;l++){var o=t(n[l]);null!==e?e.next=o:this.head=o,o.prev=e,e=o}return this.tail=e,this},i.prototype.toJSON=i.prototype.toArray=function(){for(var n=this.head,e=[];n;)e.push(n.data),n=n.next;return e},i.prototype.isEmpty=function(){return null===this.head},i.prototype.first=function(){return this.head&&this.head.data},i.prototype.last=function(){return this.tail&&this.tail.data},i.prototype.forEach=i.prototype.each=function(n,e){var t;void 0===e&&(e=this);for(var r=l(this,null,this.head);null!==r.next;)r.next=(t=r.next).next,n.call(e,t.data,t,this);o(this)},i.prototype.forEachRight=i.prototype.eachRight=function(n,e){var t;void 0===e&&(e=this);for(var r=l(this,this.tail,null);null!==r.prev;)r.prev=(t=r.prev).prev,n.call(e,t.data,t,this);o(this)},i.prototype.nextUntil=function(n,e,t){if(null!==n){var r;void 0===t&&(t=this);for(var i=l(this,null,n);null!==i.next&&(i.next=(r=i.next).next,!e.call(t,r.data,r,this)););o(this)}},i.prototype.prevUntil=function(n,e,t){if(null!==n){var r;void 0===t&&(t=this);for(var i=l(this,n,null);null!==i.prev&&(i.prev=(r=i.prev).prev,!e.call(t,r.data,r,this)););o(this)}},i.prototype.some=function(n,e){var t=this.head;for(void 0===e&&(e=this);null!==t;){if(n.call(e,t.data,t,this))return!0;t=t.next}return!1},i.prototype.map=function(n,e){var t=new i,l=this.head;for(void 0===e&&(e=this);null!==l;)t.appendData(n.call(e,l.data,l,this)),l=l.next;return t},i.prototype.filter=function(n,e){var t=new i,l=this.head;for(void 0===e&&(e=this);null!==l;)n.call(e,l.data,l,this)&&t.appendData(l.data),l=l.next;return t},i.prototype.clear=function(){this.head=null,this.tail=null},i.prototype.copy=function(){for(var n=new i,e=this.head;null!==e;)n.insert(t(e.data)),e=e.next;return n},i.prototype.prepend=function(n){return this.updateCursors(null,n,this.head,n),null!==this.head?(this.head.prev=n,n.next=this.head):this.tail=n,this.head=n,this},i.prototype.prependData=function(n){return this.prepend(t(n))},i.prototype.append=function(n){return this.insert(n)},i.prototype.appendData=function(n){return this.insert(t(n))},i.prototype.insert=function(n,e){if(null!=e)if(this.updateCursors(e.prev,n,e,n),null===e.prev){if(this.head!==e)throw new Error("before doesn't belong to list");this.head=n,e.prev=n,n.next=e,this.updateCursors(null,n)}else e.prev.next=n,n.prev=e.prev,e.prev=n,n.next=e;else this.updateCursors(this.tail,n,null,n),null!==this.tail?(this.tail.next=n,n.prev=this.tail):this.head=n,this.tail=n;return this},i.prototype.insertData=function(n,e){return this.insert(t(n),e)},i.prototype.remove=function(n){if(this.updateCursors(n,n.prev,n,n.next),null!==n.prev)n.prev.next=n.next;else{if(this.head!==n)throw new Error("item doesn't belong to list");this.head=n.next}if(null!==n.next)n.next.prev=n.prev;else{if(this.tail!==n)throw new Error("item doesn't belong to list");this.tail=n.prev}return n.prev=null,n.next=null,n},i.prototype.push=function(n){this.insert(t(n))},i.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},i.prototype.unshift=function(n){this.prepend(t(n))},i.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},i.prototype.prependList=function(n){return this.insertList(n,this.head)},i.prototype.appendList=function(n){return this.insertList(n)},i.prototype.insertList=function(n,e){return null===n.head?this:(null!=e?(this.updateCursors(e.prev,n.tail,e,n.head),null!==e.prev?(e.prev.next=n.head,n.head.prev=e.prev):this.head=n.head,e.prev=n.tail,n.tail.next=e):(this.updateCursors(this.tail,n.tail,null,n.head),null!==this.tail?(this.tail.next=n.head,n.head.prev=this.tail):this.head=n.head,this.tail=n.tail),n.head=null,n.tail=null,this)},i.prototype.replace=function(n,e){"head"in e?this.insertList(e,n):this.insert(e,n),this.remove(n)},n.exports=i},Oak9:function(n,e,t){var l=t("J0X1");e.encode=function(n){var e,t="",o=function(n){return n<0?1+(-n<<1):0+(n<<1)}(n);do{e=31&o,(o>>>=5)>0&&(e|=32),t+=l.encode(e)}while(o>0);return t},e.decode=function(n,e,t){var o,r,i,a,u=n.length,s=0,d=0;do{if(e>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(r=l.decode(n.charCodeAt(e++))))throw new Error("Invalid base64 digit: "+n.charAt(e-1));o=!!(32&r),s+=(r&=31)<<d,d+=5}while(o);t.value=(a=(i=s)>>1,1==(1&i)?-a:a),t.rest=e}},OohF:function(n,e,t){var l=t("vd7W").TYPE,o=l.WhiteSpace,r=l.Comment;n.exports=function(n){var e=this.createList(),t=null,l={recognizer:n,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case r:this.scanner.next();continue;case o:l.ignoreWS?this.scanner.next():l.space=this.WhiteSpace();continue}if(void 0===(t=n.getNode.call(this,l)))break;null!==l.space&&(e.push(l.space),l.space=null),e.push(t),l.ignoreWSAfter?(l.ignoreWSAfter=!1,l.ignoreWS=!0):l.ignoreWS=!1}return e}},OyBZ:function(n,e,t){var l=t("vd7W").TYPE.Ident;n.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(l)}},generate:function(n){this.chunk(n.name)}}},P2RB:function(n,e){n.exports=function(){this.scanner.skipSC();var n=this.createSingleNodeList(this.IdSelector());return this.scanner.skipSC(),n}},P3uw:function(n,e,t){var l=t("3XNy"),o=l.isDigit,r=l.isHexDigit,i=l.isUppercaseLetter,a=l.isName,u=l.isWhiteSpace,s=l.isValidEscape;function d(n,e){return e<n.length?n.charCodeAt(e):0}function c(n,e,t){return 13===t&&10===d(n,e+1)?2:1}function p(n,e,t){var l=n.charCodeAt(e);return i(l)&&(l|=32),l===t}function f(n,e){for(;e<n.length&&o(n.charCodeAt(e));e++);return e}function h(n,e){if(r(d(n,(e+=2)-1))){for(var t=Math.min(n.length,e+5);e<t&&r(d(n,e));e++);var l=d(n,e);u(l)&&(e+=c(n,e,l))}return e}n.exports={firstCharOffset:function(n){return n.length>0&&(65279===n.charCodeAt(0)||65534===n.charCodeAt(0))?1:0},isDigit:o,isHexDigit:r,isUppercaseLetter:i,isLowercaseLetter:l.isLowercaseLetter,isLetter:l.isLetter,isNonAscii:l.isNonAscii,isNameStart:l.isNameStart,isName:a,isNonPrintable:l.isNonPrintable,isNewline:l.isNewline,isWhiteSpace:u,isValidEscape:s,isIdentifierStart:l.isIdentifierStart,isNumberStart:l.isNumberStart,consumeEscaped:h,consumeName:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(!a(t)){if(!s(t,d(n,e+1)))break;e=h(n,e)-1}}return e},consumeNumber:function(n,e){var t=n.charCodeAt(e);if(43!==t&&45!==t||(t=n.charCodeAt(e+=1)),o(t)&&(e=f(n,e+1),t=n.charCodeAt(e)),46===t&&o(n.charCodeAt(e+1))&&(t=n.charCodeAt(e+=2),e=f(n,e)),p(n,e,101)){var l=0;45!==(t=n.charCodeAt(e+1))&&43!==t||(l=1,t=n.charCodeAt(e+2)),o(t)&&(e=f(n,e+1+l+1))}return e},consumeBadUrlRemnants:function(n,e){for(;e<n.length;e++){var t=n.charCodeAt(e);if(41===t){e++;break}s(t,d(n,e+1))&&(e=h(n,e))}return e},cmpChar:p,cmpStr:function(n,e,t,l){if(t-e!==l.length)return!1;if(e<0||t>n.length)return!1;for(var o=e;o<t;o++){var r=n.charCodeAt(o),a=l.charCodeAt(o-e);if(i(r)&&(r|=32),r!==a)return!1}return!0},getNewlineLength:c,findWhiteSpaceStart:function(n,e){for(;e>=0&&u(n.charCodeAt(e));e--);return e+1},findWhiteSpaceEnd:function(n,e){for(;e<n.length&&u(n.charCodeAt(e));e++);return e}}},P6uZ:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("3fWJ"),o=t("VnD/"),r=t("t9fZ"),i=t("HJBe"),a=t("tNVB"),u=t("mChF");function s(n,e){var t=arguments.length>=2;return function(s){return s.pipe(n?Object(o.a)(function(e,t){return n(e,t,s)}):u.a,Object(r.a)(1),t?Object(i.a)(e):Object(a.a)(function(){return new l.a}))}}},Pd0I:function(n,e,t){var l=t("vd7W").TYPE.Comma;n.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(n){var e=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(e.push(this.MediaQuery(n)),this.scanner.tokenType===l);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}},generate:function(n){this.children(n,function(){this.chunk(",")})}}},Phjn:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("psW0");function o(n,e){return Object(l.a)(n,e,1)}},PzWj:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,r=l.Function,i=l.Colon,a=l.RightParenthesis;n.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var n,e,t=this.scanner.tokenStart,l=null;return this.eat(i),this.scanner.tokenType===r?(e=(n=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(e)?(this.scanner.skipSC(),l=this.pseudo[e].call(this),this.scanner.skipSC()):(l=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(a)):n=this.consume(o),{type:"PseudoClassSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:n,children:l}},generate:function(n){this.chunk(":"),this.chunk(n.name),null!==n.children&&(this.chunk("("),this.children(n),this.chunk(")"))},walkContext:"function"}},QBsF:function(n,e,t){var l=t("vd7W").TYPE,o=l.Ident,r=l.Number,i=l.Dimension,a=l.LeftParenthesis,u=l.RightParenthesis,s=l.Colon,d=l.Delim;n.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var n,e=this.scanner.tokenStart,t=null;if(this.eat(a),this.scanner.skipSC(),n=this.consume(o),this.scanner.skipSC(),this.scanner.tokenType!==u){switch(this.eat(s),this.scanner.skipSC(),this.scanner.tokenType){case r:t=this.lookupNonWSType(1)===d?this.Ratio():this.Number();break;case i:t=this.Dimension();break;case o:t=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.eat(u),{type:"MediaFeature",loc:this.getLocation(e,this.scanner.tokenStart),name:n,value:t}},generate:function(n){this.chunk("("),this.chunk(n.name),null!==n.value&&(this.chunk(":"),this.node(n.value)),this.chunk(")")}}},QGqX:function(n,e,t){"use strict";var l=function(){function n(){}return n.getMimeClass=function(n){var e="application";return-1!==this.mime_psd.indexOf(n.type)?e="image":n.type.match("image.*")?e="image":n.type.match("video.*")?e="video":n.type.match("audio.*")?e="audio":"application/pdf"===n.type?e="pdf":-1!==this.mime_compress.indexOf(n.type)?e="compress":-1!==this.mime_doc.indexOf(n.type)?e="doc":-1!==this.mime_xsl.indexOf(n.type)?e="xls":-1!==this.mime_ppt.indexOf(n.type)&&(e="ppt"),"application"===e&&(e=this.fileTypeDetection(n.name)),e},n.fileTypeDetection=function(n){var e={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},t=n.split(".");if(t.length<2)return"application";var l=t[t.length-1].toLowerCase();return void 0===e[l]?"application":e[l]},n}();l.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],l.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],l.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],l.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],l.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream"],e.FileType=l},QKsE:function(n,e,t){var l=Object.prototype.hasOwnProperty,o=t("KcB0"),r=o.MATCH,i=o.MISMATCH,a=o.DISALLOW_EMPTY,u=t("twQA").TYPE,s=0,d=1,c=2,p=3,f="Match",h="Mismatch",m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",v=1e4,g=0;function b(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++){var l=n.charCodeAt(t);if(l>=65&&l<=90&&(l|=32),l!==e.charCodeAt(t))return!1}return!0}function _(n){if(null===n)return!0;var e=n.value.charAt(n.value.length-1);return","===e||"("===e||"["===e||"/"===e}function y(n){if(null===n)return!0;var e=n.value.charAt(0);return")"===e||"]"===e||"/"===e}function w(n,e,t){function o(){do{N=++M<n.length?n[M]:null}while(null!==N&&!/\S/.test(N.value))}function w(e){var t=M+e;return t<n.length?n[t]:null}function C(n,e){return{nextState:n,matchStack:q,syntaxStack:T,thenStack:R,tokenIndex:M,token:N,prev:e}}function x(n){R={nextState:n,matchStack:q,syntaxStack:T,prev:R}}function S(n){I=C(n,I)}function k(){q={type:d,syntax:e.syntax,token:N,prev:q},o(),D=null,M>A&&(A=M)}function E(){q=q.type===c?q.prev:{type:p,syntax:T.syntax,token:q.token,prev:q},T=T.prev}var T=null,R=null,I=null,D=null,O=0,F=null,N=null,M=-1,A=0,q={type:s,syntax:null,token:null,prev:null};for(o();null===F&&++O<v;)switch(e.type){case"Match":if(null===R){if(null!==N&&(M!==n.length-1||"\\0"!==N.value&&"\\9"!==N.value)){e=i;break}F=f;break}if((e=R.nextState)===a){if(R.matchStack.token===q.token){e=i;break}e=r}for(;null!==T&&R.syntaxStack!==T;)E();R=R.prev;break;case"Mismatch":if(null!==D&&!1!==D)(null===I||M>I.tokenIndex)&&(I=D,D=!1);else if(null===I){F=h;break}e=I.nextState,R=I.thenStack,T=I.syntaxStack,q=I.matchStack,M=I.tokenIndex,N=I.token,I=I.prev;break;case"MatchGraph":e=e.match;break;case"If":e.else!==i&&S(e.else),e.then!==r&&x(e.then),e=e.match;break;case"MatchOnce":e={type:"MatchOnceBuffer",syntax:e,index:0,mask:0};break;case"MatchOnceBuffer":var P=e.syntax.terms;if(e.index===P.length){if(0===e.mask||e.syntax.all){e=i;break}e=r;break}if(e.mask===(1<<P.length)-1){e=r;break}for(;e.index<P.length;e.index++){var j=1<<e.index;if(0==(e.mask&j)){S(e),x({type:"AddMatchOnce",syntax:e.syntax,mask:e.mask|j}),e=P[e.index++];break}}break;case"AddMatchOnce":e={type:"MatchOnceBuffer",syntax:e.syntax,index:0,mask:e.mask};break;case"Enum":if(null!==N&&(-1!==(U=N.value.toLowerCase()).indexOf("\\")&&(U=U.replace(/\\[09].*$/,"")),l.call(e.map,U))){e=e.map[U];break}e=i;break;case"Generic":var L=Math.floor(e.fn(N,w,null!==T?T.opts:null));if(!isNaN(L)&&L>0){for(var V=M+L;M<V;)k();e=r}else e=i;break;case"Type":case"Property":var B="Type"===e.type?"types":"properties",z=l.call(t,B)?t[B][e.name]:null;if(!z||!z.match)throw new Error("Bad syntax reference: "+("Type"===e.type?"<"+e.name+">":"<'"+e.name+"'>"));if(!1!==D&&null!==N&&"Type"===e.type&&("custom-ident"===e.name&&N.type===u.Ident||"length"===e.name&&"0"===N.value)){null===D&&(D=C(e,I)),e=i;break}T={syntax:e,opts:e.syntax.opts||null!==T&&T.opts||null,prev:T},q={type:c,syntax:e.syntax,token:q.token,prev:q},e=z.match;break;case"Keyword":var U=e.name;if(null!==N){var H=N.value;if(-1!==H.indexOf("\\")&&(H=H.replace(/\\[09].*$/,"")),b(H,U)){k(),e=r;break}}e=i;break;case"AtKeyword":case"Function":if(null!==N&&b(N.value,e.name)){k(),e=r;break}e=i;break;case"Token":if(null!==N&&N.value===e.value){k(),e=r;break}e=i;break;case"Comma":null!==N&&","===N.value?_(q.token)?e=i:(k(),e=y(N)?i:r):e=_(q.token)||y(N)?r:i;break;case"String":var Z="";for(V=M;V<n.length&&Z.length<e.value.length;V++)Z+=n[V].value;if(b(Z,e.value)){for(;M<V;)k();e=r}else e=i;break;default:throw new Error("Unknown node type: "+e.type)}if(g+=O,null===F&&(console.warn("[csstree-match] BREAK after "+v+" iterations"),F=m),F===f)for(;null!==T;)E();else q=null;return{tokens:n,reason:F,iterations:O,match:q,longestMatch:A}}n.exports={matchAsList:function(n,e,t){var l=w(n,e,t||{});return null!==l.match&&(l.match=function(n,e){for(var t=[];n;)t.unshift((l=n).type===c||l.type===p?{type:l.type,syntax:l.syntax}:{syntax:l.syntax,token:l.token&&l.token.value,node:l.token&&l.token.node}),n=n.prev;var l;return t}(l.match).slice(1)),l},matchAsTree:function(n,e,t){var l=w(n,e,t||{});if(null===l.match)return l;for(var o=l.match,r=l.match={syntax:e.syntax||null,match:[]},i=[r],a=null,u=null;null!==o;)u=o.prev,o.prev=a,a=o,o=u;for(o=a.prev;null!==o&&null!==o.syntax;){var s=o;switch(s.type){case c:r.match.push(r={syntax:s.syntax,match:[]}),i.push(r);break;case p:i.pop(),r=i[i.length-1];break;default:r.match.push({syntax:s.syntax||null,token:s.token.value,node:s.token.node})}o=o.prev}return l},getTotalIterationCount:function(){return g}}},Qgas:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("dC0D"),o=t("AxiF"),r=t("HJBe"),i=t("y3By");function a(n,e){return arguments.length>=2?function(t){return Object(i.a)(Object(l.a)(n,e),Object(o.a)(1),Object(r.a)(e))(t)}:function(e){return Object(i.a)(Object(l.a)(function(e,t,l){return n(e,t,l+1)}),Object(o.a)(1))(e)}}},Qkom:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("pugT"),r=t("zotm"),i=t("MGBS");function a(n,e){return function(t){return t.lift(new u(n,e))}}var u=function(){function n(n,e){this.openings=n,this.closingSelector=e}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.openings,this.closingSelector))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.openings=t,o.closingSelector=l,o.contexts=[],o.add(Object(r.a)(o,t)),o}return l.__extends(e,n),e.prototype._next=function(n){for(var e=this.contexts,t=e.length,l=0;l<t;l++)e[l].buffer.push(n)},e.prototype._error=function(e){for(var t=this.contexts;t.length>0;){var l=t.shift();l.subscription.unsubscribe(),l.buffer=null,l.subscription=null}this.contexts=null,n.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var t=e.shift();this.destination.next(t.buffer),t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,n.prototype._complete.call(this)},e.prototype.notifyNext=function(n,e,t,l,o){n?this.closeBuffer(n):this.openBuffer(e)},e.prototype.notifyComplete=function(n){this.closeBuffer(n.context)},e.prototype.openBuffer=function(n){try{var e=this.closingSelector.call(this,n);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(n){var e=this.contexts;if(e&&n){var t=n.subscription;this.destination.next(n.buffer),e.splice(e.indexOf(n),1),this.remove(t),t.unsubscribe()}},e.prototype.trySubscribe=function(n){var e=this.contexts,t=new o.a,l={buffer:[],subscription:t};e.push(l);var i=Object(r.a)(this,n,l);!i||i.closed?this.closeBuffer(l):(i.context=l,this.add(i),t.add(i))},e}(i.a)},QtvL:function(n,e,t){var l=t("O36p");n.exports=function(n){return{fromPlainObject:function(e){return n(e,{enter:function(n){n.children&&n.children instanceof l==0&&(n.children=(new l).fromArray(n.children))}}),e},toPlainObject:function(e){return n(e,{leave:function(n){n.children&&n.children instanceof l&&(n.children=n.children.toArray())}}),e}}}},"R+r5":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("Qgas");function o(n,e,t){return 0===t?[e]:(n.push(e),n)}function r(){return Object(l.a)(o,[])}},RApX:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},Rney:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("T1DM"),o=t("MpAI"),r=t("gI3B");function i(n,e){return void 0===e&&(e=l.a),Object(o.a)(function(){return Object(r.a)(n,e)})}},S1nX:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("xlPZ"),o=t("yGWI"),r=t("K9Ia");function i(){return new r.b}function a(){return function(n){return Object(o.a)()(Object(l.a)(i)(n))}}},S5bw:function(n,e,t){"use strict";t.d(e,"a",function(){return d});var l=t("mrSG"),o=t("K9Ia"),r=t("zo3G"),i=t("pugT"),a=t("mZXl"),u=t("8g8A"),s=t("uMaO"),d=function(n){function e(e,t,l){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.POSITIVE_INFINITY);var o=n.call(this)||this;return o.scheduler=l,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=e<1?1:e,o._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return l.__extends(e,n),e.prototype.nextInfiniteTimeWindow=function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),n.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new c(this._getNow(),e)),this._trimBufferThenGetEvents(),n.prototype.next.call(this,e)},e.prototype._subscribe=function(n){var e,t=this._infiniteTimeWindow,l=t?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=l.length;if(this.closed)throw new u.a;if(this.isStopped||this.hasError?e=i.a.EMPTY:(this.observers.push(n),e=new s.a(this,n)),o&&n.add(n=new a.a(n,o)),t)for(var d=0;d<r&&!n.closed;d++)n.next(l[d]);else for(d=0;d<r&&!n.closed;d++)n.next(l[d].value);return this.hasError?n.error(this.thrownError):this.isStopped&&n.complete(),e},e.prototype._getNow=function(){return(this.scheduler||r.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var n=this._getNow(),e=this._bufferSize,t=this._windowTime,l=this._events,o=l.length,r=0;r<o&&!(n-l[r].time<t);)r++;return o>e&&(r=Math.max(r,o-e)),r>0&&l.splice(0,r),l},e}(o.b),c=function(){return function(n,e){this.time=n,this.value=e}}()},S6T7:function(n,e,t){var l=t("mrSG").__decorate,o=t("Ip0R"),r=t("CcnG"),i=t("pKD1"),a=t("5xlC"),u=function(){return function(){}}();u=l([r.NgModule({imports:[o.CommonModule],declarations:[i.FileDropDirective,a.FileSelectDirective],exports:[i.FileDropDirective,a.FileSelectDirective]})],u),e.FileUploadModule=u},STE7:function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.Ident,i=o.Asterisk,a=o.VerticalLine;function u(){this.scanner.tokenType!==r&&!1===this.scanner.isDelim(i)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}n.exports={name:"TypeSelector",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;return this.scanner.isDelim(a)?(this.scanner.next(),u.call(this)):(u.call(this),this.scanner.isDelim(a)&&(this.scanner.next(),u.call(this))),{type:"TypeSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.name)}}},Sean:function(n,e){var t="undefined"!=typeof Uint32Array?Uint32Array:Array;n.exports=function(n,e){return null===n||n.length<e?new t(Math.max(e+1024,16384)):n}},T1DM:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("h9Dq"),o=new(t("CS9Q").a)(l.a)},T8ZO:function(n,e,t){n.exports=t("EiPP").create(function(){for(var n={},e=0;e<arguments.length;e++){var t=arguments[e];for(var l in t)n[l]=t[l]}return n}(t("KW4y"),t("oYUb"),t("acmg")))},TJrj:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=(t("0/uQ"),t("isby")),r=t("MGBS"),i=t("rPjj"),a=t("zotm");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 1===n.length&&Object(o.a)(n[0])&&(n=n[0]),function(e){return e.lift(new s(n))}}var s=function(){function n(n){this.nextSources=n}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.nextSources))},n}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.destination=e,l.nextSources=t,l}return l.__extends(e,n),e.prototype.notifyError=function(n,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(n){this.subscribeToNextSource()},e.prototype._error=function(n){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var n=this.nextSources.shift();if(n){var e=new i.a(this,void 0,void 0);this.destination.add(e),Object(a.a)(this,n,void 0,void 0,e)}else this.destination.complete()},e}(r.a)},TTsC:function(n,e,t){var l=t("Oak9"),o=t("7WHS"),r=t("IiZa").ArraySet,i=t("ckQ4").MappingList;function a(n){n||(n={}),this._file=o.getArg(n,"file",null),this._sourceRoot=o.getArg(n,"sourceRoot",null),this._skipValidation=o.getArg(n,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(n){var e=n.sourceRoot,t=new a({file:n.file,sourceRoot:e});return n.eachMapping(function(n){var l={generated:{line:n.generatedLine,column:n.generatedColumn}};null!=n.source&&(l.source=n.source,null!=e&&(l.source=o.relative(e,l.source)),l.original={line:n.originalLine,column:n.originalColumn},null!=n.name&&(l.name=n.name)),t.addMapping(l)}),n.sources.forEach(function(e){var l=n.sourceContentFor(e);null!=l&&t.setSourceContent(e,l)}),t},a.prototype.addMapping=function(n){var e=o.getArg(n,"generated"),t=o.getArg(n,"original",null),l=o.getArg(n,"source",null),r=o.getArg(n,"name",null);this._skipValidation||this._validateMapping(e,t,l,r),null!=l&&(l=String(l),this._sources.has(l)||this._sources.add(l)),null!=r&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:null!=t&&t.line,originalColumn:null!=t&&t.column,source:l,name:r})},a.prototype.setSourceContent=function(n,e){var t=n;null!=this._sourceRoot&&(t=o.relative(this._sourceRoot,t)),null!=e?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(t)]=e):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(t)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(n,e,t){var l=e;if(null==e){if(null==n.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');l=n.file}var i=this._sourceRoot;null!=i&&(l=o.relative(i,l));var a=new r,u=new r;this._mappings.unsortedForEach(function(e){if(e.source===l&&null!=e.originalLine){var r=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=r.source&&(e.source=r.source,null!=t&&(e.source=o.join(t,e.source)),null!=i&&(e.source=o.relative(i,e.source)),e.originalLine=r.line,e.originalColumn=r.column,null!=r.name&&(e.name=r.name))}var s=e.source;null==s||a.has(s)||a.add(s);var d=e.name;null==d||u.has(d)||u.add(d)},this),this._sources=a,this._names=u,n.sources.forEach(function(e){var l=n.sourceContentFor(e);null!=l&&(null!=t&&(e=o.join(t,e)),null!=i&&(e=o.relative(i,e)),this.setSourceContent(e,l))},this)},a.prototype._validateMapping=function(n,e,t,l){if(e&&"number"!=typeof e.line&&"number"!=typeof e.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(n&&"line"in n&&"column"in n&&n.line>0&&n.column>=0)||e||t||l)&&!(n&&"line"in n&&"column"in n&&e&&"line"in e&&"column"in e&&n.line>0&&n.column>=0&&e.line>0&&e.column>=0&&t))throw new Error("Invalid mapping: "+JSON.stringify({generated:n,source:t,original:e,name:l}))},a.prototype._serializeMappings=function(){for(var n,e,t,r,i=0,a=1,u=0,s=0,d=0,c=0,p="",f=this._mappings.toArray(),h=0,m=f.length;h<m;h++){if(n="",(e=f[h]).generatedLine!==a)for(i=0;e.generatedLine!==a;)n+=";",a++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(e,f[h-1]))continue;n+=","}n+=l.encode(e.generatedColumn-i),i=e.generatedColumn,null!=e.source&&(r=this._sources.indexOf(e.source),n+=l.encode(r-c),c=r,n+=l.encode(e.originalLine-1-s),s=e.originalLine-1,n+=l.encode(e.originalColumn-u),u=e.originalColumn,null!=e.name&&(t=this._names.indexOf(e.name),n+=l.encode(t-d),d=t)),p+=n}return p},a.prototype._generateSourcesContent=function(n,e){return n.map(function(n){if(!this._sourcesContents)return null;null!=e&&(n=o.relative(e,n));var t=o.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null},this)},a.prototype.toJSON=function(){var n={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(n.file=this._file),null!=this._sourceRoot&&(n.sourceRoot=this._sourceRoot),this._sourcesContents&&(n.sourcesContent=this._generateSourcesContent(n.sources,n.sourceRoot)),n},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a},TefO:function(n,e,t){n.exports={getNode:t("7GzS")}},Tnl3:function(n,e,t){var l=t("vd7W").isHexDigit,o=t("vd7W").cmpChar,r=t("vd7W").TYPE,i=t("vd7W").NAME,a=t("vd7W").CHARCODE,u=r.Ident,s=r.Number,d=r.Dimension,c=a.PlusSign,p=a.HyphenMinus,f=a.QuestionMark;function h(n,e){for(var t=this.scanner.tokenStart+n,o=0;t<this.scanner.tokenEnd;t++){var r=this.scanner.source.charCodeAt(t);if(r===p&&e&&0!==o)return 0===h.call(this,n+o+1,!1)&&this.error(),-1;l(r)||this.error(e&&0!==o?"HyphenMinus"+(o<6?" or hex digit":"")+" is expected":o<6?"Hex digit is expected":"Unexpected input",t),++o>6&&this.error("Too many hex digits",t)}return this.scanner.next(),o}function m(n){for(var e=0;this.scanner.isDelim(f);)++e>n&&this.error("Too many question marks"),this.scanner.next()}function v(n){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==n&&this.error(i[n]+" is expected")}n.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var n=this.scanner.tokenStart;return o(this.scanner.source,n,117)||this.error("U is expected"),o(this.scanner.source,n+1,c)||this.error("Plus sign is expected"),this.scanner.next(),(function(){var n=0;return this.scanner.isDelim(c)?(this.scanner.next(),this.scanner.tokenType===u?void((n=h.call(this,0,!0))>0&&m.call(this,6-n)):this.scanner.isDelim(f)?(this.scanner.next(),void m.call(this,5)):void this.error("Hex digit or question mark is expected")):this.scanner.tokenType===s?(v.call(this,c),n=h.call(this,1,!0),this.scanner.isDelim(f)?void m.call(this,6-n):this.scanner.tokenType===d||this.scanner.tokenType===s?(v.call(this,p),void h.call(this,1,!1)):void 0):this.scanner.tokenType===d?(v.call(this,c),void((n=h.call(this,1,!0))>0&&m.call(this,6-n))):void this.error()}).call(this),{type:"UnicodeRange",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.substrToCursor(n)}},generate:function(n){this.chunk(n.value)}}},Tpyv:function(n,e,t){var l=t("vd7W").TYPE.WhiteSpace,o=Object.freeze({type:"WhiteSpace",loc:null,value:" "});n.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(l),o},generate:function(n){this.chunk(n.value)}}},Txjg:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("Zn8D");function o(){return Object(l.a)(1)}},UGdY:function(n,e,t){var l=t("3lFr").SourceMapGenerator,o={Atrule:!0,Selector:!0,Declaration:!0};n.exports=function(n){var e=new l,t=1,r=0,i={line:1,column:0},a={line:0,column:0},u=!1,s={line:1,column:0},d={generated:s},c=n.node;n.node=function(n){if(n.loc&&n.loc.start&&o.hasOwnProperty(n.type)){var l=n.loc.start.line,p=n.loc.start.column-1;a.line===l&&a.column===p||(a.line=l,a.column=p,i.line=t,i.column=r,u&&(u=!1,i.line===s.line&&i.column===s.column||e.addMapping(d)),u=!0,e.addMapping({source:n.loc.source,original:a,generated:i}))}c.call(this,n),u&&o.hasOwnProperty(n.type)&&(s.line=t,s.column=r)};var p=n.chunk;n.chunk=function(n){for(var e=0;e<n.length;e++)10===n.charCodeAt(e)?(t++,r=0):r++;p(n)};var f=n.result;return n.result=function(){return u&&e.addMapping(d),{css:f(),map:e}},n}},UR0p:function(n,e,t){"use strict";t.d(e,"b",function(){return r}),t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("h9Dq"),r=function(n){function e(e,t){void 0===e&&(e=i),void 0===t&&(t=Number.POSITIVE_INFINITY);var l=n.call(this,e,function(){return l.frame})||this;return l.maxFrames=t,l.frame=0,l.index=-1,l}return l.__extends(e,n),e.prototype.flush=function(){for(var n,e,t=this.actions,l=this.maxFrames;(e=t[0])&&e.delay<=l&&(t.shift(),this.frame=e.delay,!(n=e.execute(e.state,e.delay))););if(n){for(;e=t.shift();)e.unsubscribe();throw n}},e.frameTimeFactor=10,e}(t("CS9Q").a),i=function(n){function e(e,t,l){void 0===l&&(l=e.index+=1);var o=n.call(this,e,t)||this;return o.scheduler=e,o.work=t,o.index=l,o.active=!0,o.index=e.index=l,o}return l.__extends(e,n),e.prototype.schedule=function(t,l){if(void 0===l&&(l=0),!this.id)return n.prototype.schedule.call(this,t,l);this.active=!1;var o=new e(this.scheduler,this.work);return this.add(o),o.schedule(t,l)},e.prototype.requestAsyncId=function(n,t,l){void 0===l&&(l=0),this.delay=n.frame+l;var o=n.actions;return o.push(this),o.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(n,e,t){void 0===t&&(t=0)},e.prototype._execute=function(e,t){if(!0===this.active)return n.prototype._execute.call(this,e,t)},e.sortActions=function(n,e){return n.delay===e.delay?n.index===e.index?0:n.index>e.index?1:-1:n.delay>e.delay?1:-1},e}(o.a)},UpIn:function(n,e,t){"use strict";var l=t("CcnG"),o=t("oQam"),r=t("b6v0"),i=t("QGqX");e.FileUploader=function(){function n(n){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:function(n){return n._file},formatDataFunctionIsAsync:!1},this.setOptions(n),this.response=new l.EventEmitter}return n.prototype.setOptions=function(n){this.options=Object.assign(this.options,n),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(var e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url},n.prototype.addToQueue=function(n,e,t){for(var l=this,i=[],a=0,u=n;a<u.length;a++)i.push(u[a]);var s=this._getFilters(t),d=this.queue.length,c=[];i.map(function(n){e||(e=l.options);var t=new o.FileLikeObject(n);if(l._isValidFile(t,s,e)){var i=new r.FileItem(l,n,e);c.push(i),l.queue.push(i),l._onAfterAddingFile(i)}else l._onWhenAddingFileFailed(t,s[l._failFilterIndex],e)}),this.queue.length!==d&&(this._onAfterAddingAll(c),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()},n.prototype.removeFromQueue=function(n){var e=this.getIndexOfItem(n),t=this.queue[e];t.isUploading&&t.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()},n.prototype.clearQueue=function(){for(;this.queue.length;)this.queue[0].remove();this.progress=0},n.prototype.uploadItem=function(n){var e=this.getIndexOfItem(n),t=this.queue[e],l=this.options.isHTML5?"_xhrTransport":"_iframeTransport";t._prepareToUploading(),this.isUploading||(this.isUploading=!0,this[l](t))},n.prototype.cancelItem=function(n){var e=this.getIndexOfItem(n),t=this.queue[e];t&&t.isUploading&&(this.options.isHTML5?t._xhr:t._form).abort()},n.prototype.uploadAll=function(){var n=this.getNotUploadedItems().filter(function(n){return!n.isUploading});n.length&&(n.map(function(n){return n._prepareToUploading()}),n[0].upload())},n.prototype.cancelAll=function(){this.getNotUploadedItems().map(function(n){return n.cancel()})},n.prototype.isFile=function(n){return function(n){return File&&n instanceof File}(n)},n.prototype.isFileLikeObject=function(n){return n instanceof o.FileLikeObject},n.prototype.getIndexOfItem=function(n){return"number"==typeof n?n:this.queue.indexOf(n)},n.prototype.getNotUploadedItems=function(){return this.queue.filter(function(n){return!n.isUploaded})},n.prototype.getReadyItems=function(){return this.queue.filter(function(n){return n.isReady&&!n.isUploading}).sort(function(n,e){return n.index-e.index})},n.prototype.destroy=function(){},n.prototype.onAfterAddingAll=function(n){return{fileItems:n}},n.prototype.onBuildItemForm=function(n,e){return{fileItem:n,form:e}},n.prototype.onAfterAddingFile=function(n){return{fileItem:n}},n.prototype.onWhenAddingFileFailed=function(n,e,t){return{item:n,filter:e,options:t}},n.prototype.onBeforeUploadItem=function(n){return{fileItem:n}},n.prototype.onProgressItem=function(n,e){return{fileItem:n,progress:e}},n.prototype.onProgressAll=function(n){return{progress:n}},n.prototype.onSuccessItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onErrorItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCancelItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCompleteItem=function(n,e,t,l){return{item:n,response:e,status:t,headers:l}},n.prototype.onCompleteAll=function(){},n.prototype._mimeTypeFilter=function(n){return!(this.options.allowedMimeType&&-1===this.options.allowedMimeType.indexOf(n.type))},n.prototype._fileSizeFilter=function(n){return!(this.options.maxFileSize&&n.size>this.options.maxFileSize)},n.prototype._fileTypeFilter=function(n){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(i.FileType.getMimeClass(n)))},n.prototype._onErrorItem=function(n,e,t,l){n._onError(e,t,l),this.onErrorItem(n,e,t,l)},n.prototype._onCompleteItem=function(n,e,t,l){n._onComplete(e,t,l),this.onCompleteItem(n,e,t,l);var o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())},n.prototype._headersGetter=function(n){return function(e){return e?n[e.toLowerCase()]||void 0:n}},n.prototype._xhrTransport=function(n){var e,t=this,l=this,o=n._xhr=new XMLHttpRequest;if(this._onBeforeUploadItem(n),"number"!=typeof n._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)e=this.options.formatDataFunction(n);else{e=new FormData,this._onBuildItemForm(n,e);var r=function(){return e.append(n.alias,n._file,n.file.name)};this.options.parametersBeforeFiles||r(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(function(l){var o=t.options.additionalParameter[l];"string"==typeof o&&o.indexOf("{{file_name}}")>=0&&(o=o.replace("{{file_name}}",n.file.name)),e.append(l,o)}),this.options.parametersBeforeFiles&&r()}if(o.upload.onprogress=function(e){var l=Math.round(e.lengthComputable?100*e.loaded/e.total:0);t._onProgressItem(n,l)},o.onload=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e),r=t._isSuccessCode(o.status)?"Success":"Error";t["_on"+r+"Item"](n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.onerror=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e);t._onErrorItem(n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.onabort=function(){var e=t._parseHeaders(o.getAllResponseHeaders()),l=t._transformResponse(o.response,e);t._onCancelItem(n,l,o.status,e),t._onCompleteItem(n,l,o.status,e)},o.open(n.method,n.url,!0),o.withCredentials=n.withCredentials,this.options.headers)for(var i=0,a=this.options.headers;i<a.length;i++)o.setRequestHeader((d=a[i]).name,d.value);if(n.headers.length)for(var u=0,s=n.headers;u<s.length;u++){var d;o.setRequestHeader((d=s[u]).name,d.value)}this.authToken&&o.setRequestHeader(this.authTokenHeader,this.authToken),o.onreadystatechange=function(){o.readyState==XMLHttpRequest.DONE&&l.response.emit(o.responseText)},this.options.formatDataFunctionIsAsync?e.then(function(n){return o.send(JSON.stringify(n))}):o.send(e),this._render()},n.prototype._getTotalProgress=function(n){if(void 0===n&&(n=0),this.options.removeAfterUpload)return n;var e=this.getNotUploadedItems().length,t=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*t+n*t/100)},n.prototype._getFilters=function(n){if(!n)return this.options.filters;if(Array.isArray(n))return n;if("string"==typeof n){var e=n.match(/[^\s,]+/g);return this.options.filters.filter(function(n){return-1!==e.indexOf(n.name)})}return this.options.filters},n.prototype._render=function(){},n.prototype._queueLimitFilter=function(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit},n.prototype._isValidFile=function(n,e,t){var l=this;return this._failFilterIndex=-1,!e.length||e.every(function(e){return l._failFilterIndex++,e.fn.call(l,n,t)})},n.prototype._isSuccessCode=function(n){return n>=200&&n<300||304===n},n.prototype._transformResponse=function(n,e){return n},n.prototype._parseHeaders=function(n){var e,t,l,o={};return n?(n.split("\n").map(function(n){l=n.indexOf(":"),e=n.slice(0,l).trim().toLowerCase(),t=n.slice(l+1).trim(),e&&(o[e]=o[e]?o[e]+", "+t:t)}),o):o},n.prototype._onWhenAddingFileFailed=function(n,e,t){this.onWhenAddingFileFailed(n,e,t)},n.prototype._onAfterAddingFile=function(n){this.onAfterAddingFile(n)},n.prototype._onAfterAddingAll=function(n){this.onAfterAddingAll(n)},n.prototype._onBeforeUploadItem=function(n){n._onBeforeUpload(),this.onBeforeUploadItem(n)},n.prototype._onBuildItemForm=function(n,e){n._onBuildForm(e),this.onBuildItemForm(n,e)},n.prototype._onProgressItem=function(n,e){var t=this._getTotalProgress(e);this.progress=t,n._onProgress(e),this.onProgressItem(n,e),this.onProgressAll(t),this._render()},n.prototype._onSuccessItem=function(n,e,t,l){n._onSuccess(e,t,l),this.onSuccessItem(n,e,t,l)},n.prototype._onCancelItem=function(n,e,t,l){n._onCancel(e,t,l),this.onCancelItem(n,e,t,l)},n}()},UwDK:function(n,e,t){var l=t("vd7W").TYPE.RightParenthesis;n.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(n,e){var t,o=this.scanner.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase();return t=e.hasOwnProperty(i)?e[i].call(this,e):n.call(this,e),this.scanner.eof||this.eat(l),{type:"Function",loc:this.getLocation(o,this.scanner.tokenStart),name:r,children:t}},generate:function(n){this.chunk(n.name),this.chunk("("),this.children(n),this.chunk(")")},walkContext:"function"}},VGuC:function(n,e,t){"use strict";function l(n){return n instanceof Date&&!isNaN(+n)}t.d(e,"a",function(){return l})},VNr4:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("6blF"),o=t("isby"),r=t("67Y/"),i=t("McSo"),a=t("0/uQ");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(1===n.length){var t=n[0];if(Object(o.a)(t))return s(t,null);if(Object(i.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){var l=Object.keys(t);return s(l.map(function(n){return t[n]}),l)}}if("function"==typeof n[n.length-1]){var a=n.pop();return s(n=1===n.length&&Object(o.a)(n[0])?n[0]:n,null).pipe(Object(r.a)(function(n){return a.apply(void 0,n)}))}return s(n,null)}function s(n,e){return new l.a(function(t){var l=n.length;if(0!==l)for(var o=new Array(l),r=0,i=0,u=function(u){var s=Object(a.a)(n[u]),d=!1;t.add(s.subscribe({next:function(n){d||(d=!0,i++),o[u]=n},error:function(n){return t.error(n)},complete:function(){++r!==l&&d||(i===l&&t.next(e?e.reduce(function(n,e,t){return n[e]=o[t],n},{}):o),t.complete())}}))},s=0;s<l;s++)u(s);else t.complete()})}},VQ2P:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=function(){function n(n){this.predicate=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.predicate=t,l.skipping=!0,l.index=0,l}return l.__extends(e,n),e.prototype._next=function(n){var e=this.destination;this.skipping&&this.tryCallPredicate(n),this.skipping||e.next(n)},e.prototype.tryCallPredicate=function(n){try{var e=this.predicate(n,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(o.a)},VRG1:function(n,e,t){n.exports=t("2pxp")},VYim:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("NKZO");function o(n,e){return function(t){return t.lift(new l.a(n,t,!0,e))}}},Vj1t:function(n,e,t){var l=t("vd7W").TYPE,o=l.LeftParenthesis,r=l.RightParenthesis;n.exports={name:"Parentheses",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.eat(o),t=n.call(this,e),this.scanner.eof||this.eat(r),{type:"Parentheses",loc:this.getLocation(l,this.scanner.tokenStart),children:t}},generate:function(n){this.chunk("("),this.children(n),this.chunk(")")}}},"VnD/":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.predicate=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.thisArg))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.thisArg=l,o.count=0,o}return l.__extends(e,n),e.prototype._next=function(n){var e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(n)},e}(o.a)},W0Ae:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("isby"),r=t("IUTb"),i=t("MGBS"),a=t("zotm");function u(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(1===n.length){if(!Object(o.a)(n[0]))return n[0];n=n[0]}return Object(r.a)(n,void 0).lift(new s)}var s=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new d(n))},n}(),d=function(n){function e(e){var t=n.call(this,e)||this;return t.hasFirst=!1,t.observables=[],t.subscriptions=[],t}return l.__extends(e,n),e.prototype._next=function(n){this.observables.push(n)},e.prototype._complete=function(){var n=this.observables,e=n.length;if(0===e)this.destination.complete();else{for(var t=0;t<e&&!this.hasFirst;t++){var l=n[t],o=Object(a.a)(this,l,l,t);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}},e.prototype.notifyNext=function(n,e,t,l,o){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==t){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(i.a)},"W1+X":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("K9Ia"),o=t("xlPZ");function r(n){return n?Object(o.a)(function(){return new l.b},n):Object(o.a)(new l.b)}},WbdR:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("FFOo"),r=t("6blF"),i=t("MGBS"),a=t("zotm");function u(n,e){return e?function(t){return new c(t,e).lift(new s(n))}:function(e){return e.lift(new s(n))}}var s=function(){function n(n){this.delayDurationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.delayDurationSelector))},n}(),d=function(n){function e(e,t){var l=n.call(this,e)||this;return l.delayDurationSelector=t,l.completed=!1,l.delayNotifierSubscriptions=[],l.index=0,l}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(n),this.removeSubscription(o),this.tryComplete()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){var e=this.removeSubscription(n);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(n){var e=this.index++;try{var t=this.delayDurationSelector(n,e);t&&this.tryDelay(t,n)}catch(l){this.destination.error(l)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(n){n.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(n);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),n.outerValue},e.prototype.tryDelay=function(n,e){var t=Object(a.a)(this,n,e);t&&!t.closed&&(this.destination.add(t),this.delayNotifierSubscriptions.push(t))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(i.a),c=function(n){function e(e,t){var l=n.call(this)||this;return l.source=e,l.subscriptionDelay=t,l}return l.__extends(e,n),e.prototype._subscribe=function(n){this.subscriptionDelay.subscribe(new p(n,this.source))},e}(r.a),p=function(n){function e(e,t){var l=n.call(this)||this;return l.parent=e,l.source=t,l.sourceSubscribed=!1,l}return l.__extends(e,n),e.prototype._next=function(n){this.subscribeToSource()},e.prototype._error=function(n){this.unsubscribe(),this.parent.error(n)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(o.a)},Wnek:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("K9Ia"),r=t("MGBS"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.windowBoundaries=n}return n.prototype.call=function(n,e){var t=new s(n),l=e.subscribe(t);return l.closed||t.add(Object(i.a)(t,this.windowBoundaries)),l},n}(),s=function(n){function e(e){var t=n.call(this,e)||this;return t.window=new o.b,e.next(t.window),t}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.openWindow()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype.notifyComplete=function(n){this._complete()},e.prototype._next=function(n){this.window.next(n)},e.prototype._error=function(n){this.window.error(n),this.destination.error(n)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var n=this.window;n&&n.complete();var e=this.destination,t=this.window=new o.b;e.next(t)},e}(r.a)},XDwu:function(n,e){n.exports=function(n,e){var t=Object.create(SyntaxError.prototype),l=new Error;return t.name=n,t.message=e,Object.defineProperty(t,"stack",{get:function(){return(l.stack||"").replace(/^(.+\n){1,3}/,n+": "+e+"\n")}}),t}},XlPw:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("6blF");function o(n,e){return new l.a(e?function(t){return e.schedule(r,0,{error:n,subscriber:t})}:function(e){return e.error(n)})}function r(n){n.subscriber.error(n.error)}},XtUT:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t("CcnG"),o=(t("oVTH"),function(){function n(n){this.hotkeysService=n,this.helpVisible=!1,this.title="Keyboard Shortcuts:"}return n.prototype.ngOnInit=function(){var n=this;this.subscription=this.hotkeysService.cheatSheetToggle.subscribe(function(e){!1!==e&&(n.hotkeys=n.hotkeysService.hotkeys.filter(function(n){return n.description})),!1===e?n.helpVisible=!1:n.toggleCheatSheet()})},n.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},n.prototype.toggleCheatSheet=function(){this.helpVisible=!this.helpVisible},n}());o.decorators=[{type:l.Component,args:[{selector:"hotkeys-cheatsheet",styles:["\n.cfp-hotkeys-container {\n display: table !important;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n color: #333;\n font-size: 1em;\n background-color: rgba(255,255,255,0.9);\n}\n\n.cfp-hotkeys-container.fade {\n z-index: -1024;\n visibility: hidden;\n opacity: 0;\n -webkit-transition: opacity 0.15s linear;\n -moz-transition: opacity 0.15s linear;\n -o-transition: opacity 0.15s linear;\n transition: opacity 0.15s linear;\n}\n\n.cfp-hotkeys-container.fade.in {\n z-index: 10002;\n visibility: visible;\n opacity: 1;\n}\n\n.cfp-hotkeys-title {\n font-weight: bold;\n text-align: center;\n font-size: 1.2em;\n}\n\n.cfp-hotkeys {\n width: 100%;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n\n.cfp-hotkeys table {\n margin: auto;\n color: #333;\n}\n\n.cfp-content {\n display: table-cell;\n vertical-align: middle;\n}\n\n.cfp-hotkeys-keys {\n padding: 5px;\n text-align: right;\n}\n\n.cfp-hotkeys-key {\n display: inline-block;\n color: #fff;\n background-color: #333;\n border: 1px solid #333;\n border-radius: 5px;\n text-align: center;\n margin-right: 5px;\n box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;\n padding: 5px 9px;\n font-size: 1em;\n}\n\n.cfp-hotkeys-text {\n padding-left: 10px;\n font-size: 1em;\n}\n\n.cfp-hotkeys-close {\n position: fixed;\n top: 20px;\n right: 20px;\n font-size: 2em;\n font-weight: bold;\n padding: 5px 10px;\n border: 1px solid #ddd;\n border-radius: 5px;\n min-height: 45px;\n min-width: 45px;\n text-align: center;\n}\n\n.cfp-hotkeys-close:hover {\n background-color: #fff;\n cursor: pointer;\n}\n\n@media all and (max-width: 500px) {\n .cfp-hotkeys {\n font-size: 0.8em;\n }\n}\n\n@media all and (min-width: 750px) {\n .cfp-hotkeys {\n font-size: 1.2em;\n }\n} "],template:'<div class="cfp-hotkeys-container fade" [ngClass]="{\'in\': helpVisible}" style="display:none"><div class="cfp-hotkeys">\n <h4 class="cfp-hotkeys-title">{{ title }}</h4>\n <table><tbody>\n <tr *ngFor="let hotkey of hotkeys">\n <td class="cfp-hotkeys-keys">\n <span *ngFor="let key of hotkey.formatted" class="cfp-hotkeys-key">{{ key }}</span>\n </td>\n <td class="cfp-hotkeys-text">{{ hotkey.description }}</td>\n </tr>\n </tbody></table>\n <div class="cfp-hotkeys-close" (click)="toggleCheatSheet()">&#215;</div>\n</div></div>'}]}],o.propDecorators={title:[{type:l.Input}]},e.CheatSheetComponent=o},"Y+H1":function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=o.Asterisk,i=o.Solidus,a=l.Comment;n.exports={name:"Comment",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=this.scanner.tokenEnd;return this.eat(a),e-n+2>=2&&this.scanner.source.charCodeAt(e-2)===r&&this.scanner.source.charCodeAt(e-1)===i&&(e-=2),{type:"Comment",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n+2,e)}},generate:function(n){this.chunk("/*"),this.chunk(n.value),this.chunk("*/")}}},Y0sX:function(n,e,t){var l=t("O36p"),o=Object.prototype.hasOwnProperty;function r(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n&&n>=0}function i(n){return Boolean(n)&&r(n.offset)&&r(n.line)&&r(n.column)}function a(n,e){return function(t,r){if(!t||t.constructor!==Object)return r(t,"Type of node should be an Object");for(var a in t){var u=!0;if(!1!==o.call(t,a)){if("type"===a)t.type!==n&&r(t,"Wrong node type `"+t.type+"`, expected `"+n+"`");else if("loc"===a){if(null===t.loc)continue;if(t.loc&&t.loc.constructor===Object)if("string"!=typeof t.loc.source)a+=".source";else if(i(t.loc.start)){if(i(t.loc.end))continue;a+=".end"}else a+=".start";u=!1}else if(e.hasOwnProperty(a)){var s=0;for(u=!1;!u&&s<e[a].length;s++){var d=e[a][s];switch(d){case String:u="string"==typeof t[a];break;case Boolean:u="boolean"==typeof t[a];break;case null:u=null===t[a];break;default:"string"==typeof d?u=t[a]&&t[a].type===d:Array.isArray(d)&&(u=t[a]instanceof l)}}}else r(t,"Unknown field `"+a+"` for "+n+" node type");u||r(t,"Bad value for `"+n+"."+a+"`")}}for(var a in e)o.call(e,a)&&!1===o.call(t,a)&&r(t,"Field `"+n+"."+a+"` is missed")}}function u(n,e){var t=e.structure,l={type:String,loc:!0},r={type:'"'+n+'"'};for(var i in t)if(!1!==o.call(t,i)){for(var u=[],s=l[i]=Array.isArray(t[i])?t[i].slice():[t[i]],d=0;d<s.length;d++){var c=s[d];if(c===String||c===Boolean)u.push(c.name);else if(null===c)u.push("null");else if("string"==typeof c)u.push("<"+c+">");else{if(!Array.isArray(c))throw new Error("Wrong value `"+c+"` in `"+n+"."+i+"` structure definition");u.push("List")}}r[i]=u.join(" | ")}return{docs:r,check:a(n,l)}}n.exports={getStructureFromConfig:function(n){var e={};if(n.node)for(var t in n.node)if(o.call(n.node,t)){var l=n.node[t];if(!l.structure)throw new Error("Missed `structure` field in `"+t+"` node type definition");e[t]=u(t,l)}return e}}},YNBZ:function(n,e,t){"use strict";function l(n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}l(t("5xlC")),l(t("pKD1")),l(t("UpIn")),l(t("b6v0")),l(t("oQam"));var o=t("S6T7");e.FileUploadModule=o.FileUploadModule},ZVk9:function(n,e,t){var l=t("vd7W").isWhiteSpace,o=t("vd7W").cmpStr,r=t("vd7W").TYPE,i=r.Function,a=r.Url,u=r.RightParenthesis;n.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var n,e=this.scanner.tokenStart;switch(this.scanner.tokenType){case a:for(var t=e+4,r=this.scanner.tokenEnd-1;t<r&&l(this.scanner.source.charCodeAt(t));)t++;for(;t<r&&l(this.scanner.source.charCodeAt(r-1));)r--;n={type:"Raw",loc:this.getLocation(t,r),value:this.scanner.source.substring(t,r)},this.eat(a);break;case i:o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(i),this.scanner.skipSC(),n=this.String(),this.scanner.skipSC(),this.eat(u);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.scanner.tokenStart),value:n}},generate:function(n){this.chunk("url"),this.chunk("("),this.node(n.value),this.chunk(")")}}},Zn8D:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("psW0"),o=t("mChF");function r(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object(l.a)(o.a,n)}},ZqrO:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("K9Ia"),r=t("MGBS"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n,e))}}var u=function(){function n(n,e){this.notifier=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier,this.source))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.notifier=t,o.source=l,o}return l.__extends(e,n),e.prototype.error=function(e){if(!this.isStopped){var t=this.errors,l=this.retries,r=this.retriesSubscription;if(l)this.errors=null,this.retriesSubscription=null;else{t=new o.b;try{l=(0,this.notifier)(t)}catch(a){return n.prototype.error.call(this,a)}r=Object(i.a)(this,l)}this._unsubscribeAndRecycle(),this.errors=t,this.retries=l,this.retriesSubscription=r,t.next(e)}},e.prototype._unsubscribe=function(){var n=this.errors,e=this.retriesSubscription;n&&(n.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(n,e,t,l,o){var r=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=r,this.source.subscribe(this)},e}(r.a)},a3y9:function(n,e){n.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},aGNc:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n){return function(e){return e.lift(new i(n))}}var i=function(){function n(n){this.value=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.value))},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.value=t,l}return l.__extends(e,n),e.prototype._next=function(n){this.destination.next(this.value)},e}(o.a)},aUQo:function(n,e,t){var l=t("vd7W").TYPE.CDC;n.exports={name:"CDC",structure:[],parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"CDC",loc:this.getLocation(n,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},acmg:function(n,e,t){n.exports={node:t("585i")}},ad02:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.compare=n,this.keySelector=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.compare,this.keySelector))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.keySelector=l,o.hasKey=!1,"function"==typeof t&&(o.compare=t),o}return l.__extends(e,n),e.prototype.compare=function(n,e){return n===e},e.prototype._next=function(n){var e;try{var t=this.keySelector;e=t?t(n):n}catch(o){return this.destination.error(o)}var l=!1;if(this.hasKey)try{l=(0,this.compare)(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;l||(this.key=e,this.destination.next(n))},e}(o.a)},ahDk:function(n,e,t){"use strict";t.r(e);var l=t("MpAI"),o=t("Rney"),r=t("DaYz"),i=t("KD6q"),a=t("b7Yd"),u=t("Qkom"),s=t("xsCy"),d=t("9Z1F"),c=t("F1hP"),p=t("isby"),f=t("dzgT"),h=t("0/uQ");function m(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null;return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(p.a)(n[0])&&(n=n[0].slice()),function(e){return e.lift.call(Object(h.a)([e].concat(n)),new f.a(t))}}var v=t("dEwP");function g(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(v.a.apply(void 0,[e].concat(n)))}}var b=t("Txjg"),_=t("Phjn"),y=t("dDXr"),w=t("6Dj2"),C=t("bWpG"),x=t("Gi3i"),S=t("HJBe"),k=t("vubp"),E=t("WbdR"),T=t("41IB"),R=t("ou9H"),I=t("ad02"),D=t("Cr8c"),O=t("MPaf"),F=t("F/XL");function N(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return Object(v.a)(e,F.a.apply(void 0,n))}}var M=t("zAZS"),A=t("31qQ"),q=t("6V3w"),P=t("sLa7"),j=t("VnD/"),L=t("2WpN"),V=t("NKZO"),B=t("VYim"),z=t("P6uZ"),U=t("IxPp"),H=t("DKLv"),Z=t("igQg"),W=t("w1EH"),G=t("67Y/"),K=t("aGNc"),Y=t("uW6F"),$=t("mcCJ"),X=t("p0ib");function Q(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(X.a.apply(void 0,[e].concat(n)))}}var J=t("Zn8D"),nn=t("psW0"),en=t("j0HV"),tn=t("lA9V"),ln=t("gAJb"),on=t("xlPZ"),rn=t("mZXl"),an=t("TJrj"),un=t("qyHS"),sn=t("h+56"),dn=t("FYXD"),cn=t("W1+X"),pn=t("3J/R"),fn=t("kR3u"),hn=t("s4kO"),mn=t("p33S"),vn=t("Qgas"),gn=t("Nzu2"),bn=t("tMwf"),_n=t("5tAl"),yn=t("ZqrO"),wn=t("yGWI"),Cn=t("wDBO"),xn=t("/ojb"),Sn=t("dC0D"),kn=t("wjTF"),En=t("S1nX"),Tn=t("klSw"),Rn=t("ujTQ"),In=t("0mNj"),Dn=t("14Nl"),On=t("0GsU"),Fn=t("VQ2P"),Nn=t("p0Sj"),Mn=t("9dfq"),An=t("KAzf"),qn=t("15JJ"),Pn=t("zQHH"),jn=t("t9fZ"),Ln=t("AxiF"),Vn=t("ny24"),Bn=t("jvbL"),zn=t("xMyE"),Un=t("+gEr"),Hn=t("AJqF"),Zn=t("tNVB"),Wn=t("6wkY"),Gn=t("0zd0"),Kn=t("ceCD"),Yn=t("5IO1"),$n=t("R+r5"),Xn=t("Wnek"),Qn=t("e5mD"),Jn=t("lxKu"),ne=t("K3ba"),ee=t("MysU"),te=t("/PH2"),le=t("909l");function oe(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return e.lift.call(le.b.apply(void 0,[e].concat(n)))}}var re=t("br6f");t.d(e,"audit",function(){return l.a}),t.d(e,"auditTime",function(){return o.a}),t.d(e,"buffer",function(){return r.a}),t.d(e,"bufferCount",function(){return i.a}),t.d(e,"bufferTime",function(){return a.a}),t.d(e,"bufferToggle",function(){return u.a}),t.d(e,"bufferWhen",function(){return s.a}),t.d(e,"catchError",function(){return d.a}),t.d(e,"combineAll",function(){return c.a}),t.d(e,"combineLatest",function(){return m}),t.d(e,"concat",function(){return g}),t.d(e,"concatAll",function(){return b.a}),t.d(e,"concatMap",function(){return _.a}),t.d(e,"concatMapTo",function(){return y.a}),t.d(e,"count",function(){return w.a}),t.d(e,"debounce",function(){return C.a}),t.d(e,"debounceTime",function(){return x.a}),t.d(e,"defaultIfEmpty",function(){return S.a}),t.d(e,"delay",function(){return k.a}),t.d(e,"delayWhen",function(){return E.a}),t.d(e,"dematerialize",function(){return T.a}),t.d(e,"distinct",function(){return R.a}),t.d(e,"distinctUntilChanged",function(){return I.a}),t.d(e,"distinctUntilKeyChanged",function(){return D.a}),t.d(e,"elementAt",function(){return O.a}),t.d(e,"endWith",function(){return N}),t.d(e,"every",function(){return M.a}),t.d(e,"exhaust",function(){return A.a}),t.d(e,"exhaustMap",function(){return q.a}),t.d(e,"expand",function(){return P.a}),t.d(e,"filter",function(){return j.a}),t.d(e,"finalize",function(){return L.a}),t.d(e,"find",function(){return V.b}),t.d(e,"findIndex",function(){return B.a}),t.d(e,"first",function(){return z.a}),t.d(e,"groupBy",function(){return U.b}),t.d(e,"ignoreElements",function(){return H.a}),t.d(e,"isEmpty",function(){return Z.a}),t.d(e,"last",function(){return W.a}),t.d(e,"map",function(){return G.a}),t.d(e,"mapTo",function(){return K.a}),t.d(e,"materialize",function(){return Y.a}),t.d(e,"max",function(){return $.a}),t.d(e,"merge",function(){return Q}),t.d(e,"mergeAll",function(){return J.a}),t.d(e,"mergeMap",function(){return nn.a}),t.d(e,"flatMap",function(){return nn.a}),t.d(e,"mergeMapTo",function(){return en.a}),t.d(e,"mergeScan",function(){return tn.a}),t.d(e,"min",function(){return ln.a}),t.d(e,"multicast",function(){return on.a}),t.d(e,"observeOn",function(){return rn.b}),t.d(e,"onErrorResumeNext",function(){return an.a}),t.d(e,"pairwise",function(){return un.a}),t.d(e,"partition",function(){return sn.a}),t.d(e,"pluck",function(){return dn.a}),t.d(e,"publish",function(){return cn.a}),t.d(e,"publishBehavior",function(){return pn.a}),t.d(e,"publishLast",function(){return fn.a}),t.d(e,"publishReplay",function(){return hn.a}),t.d(e,"race",function(){return mn.a}),t.d(e,"reduce",function(){return vn.a}),t.d(e,"repeat",function(){return gn.a}),t.d(e,"repeatWhen",function(){return bn.a}),t.d(e,"retry",function(){return _n.a}),t.d(e,"retryWhen",function(){return yn.a}),t.d(e,"refCount",function(){return wn.a}),t.d(e,"sample",function(){return Cn.a}),t.d(e,"sampleTime",function(){return xn.a}),t.d(e,"scan",function(){return Sn.a}),t.d(e,"sequenceEqual",function(){return kn.a}),t.d(e,"share",function(){return En.a}),t.d(e,"shareReplay",function(){return Tn.a}),t.d(e,"single",function(){return Rn.a}),t.d(e,"skip",function(){return In.a}),t.d(e,"skipLast",function(){return Dn.a}),t.d(e,"skipUntil",function(){return On.a}),t.d(e,"skipWhile",function(){return Fn.a}),t.d(e,"startWith",function(){return Nn.a}),t.d(e,"subscribeOn",function(){return Mn.a}),t.d(e,"switchAll",function(){return An.a}),t.d(e,"switchMap",function(){return qn.a}),t.d(e,"switchMapTo",function(){return Pn.a}),t.d(e,"take",function(){return jn.a}),t.d(e,"takeLast",function(){return Ln.a}),t.d(e,"takeUntil",function(){return Vn.a}),t.d(e,"takeWhile",function(){return Bn.a}),t.d(e,"tap",function(){return zn.a}),t.d(e,"throttle",function(){return Un.b}),t.d(e,"throttleTime",function(){return Hn.a}),t.d(e,"throwIfEmpty",function(){return Zn.a}),t.d(e,"timeInterval",function(){return Wn.a}),t.d(e,"timeout",function(){return Gn.a}),t.d(e,"timeoutWith",function(){return Kn.a}),t.d(e,"timestamp",function(){return Yn.a}),t.d(e,"toArray",function(){return $n.a}),t.d(e,"window",function(){return Xn.a}),t.d(e,"windowCount",function(){return Qn.a}),t.d(e,"windowTime",function(){return Jn.a}),t.d(e,"windowToggle",function(){return ne.a}),t.d(e,"windowWhen",function(){return ee.a}),t.d(e,"withLatestFrom",function(){return te.a}),t.d(e,"zip",function(){return oe}),t.d(e,"zipAll",function(){return re.a})},avj0:function(n,e,t){n.exports={dir:t("RApX"),has:t("te+T"),lang:t("zuyY"),matches:t("VRG1"),not:t("wDXs"),"nth-child":t("twrC"),"nth-last-child":t("yJif"),"nth-last-of-type":t("dsX3"),"nth-of-type":t("B3CK"),slotted:t("d/Fg")}},awvh:function(n,e,t){"use strict";function l(n){return Error.call(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(n,e){return e+1+") "+n.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=n,this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},b6v0:function(n,e,t){"use strict";var l=t("oQam");e.FileItem=function(){function n(n,e,t){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.index=void 0,this.uploader=n,this.some=e,this.options=t,this.file=new l.FileLikeObject(e),this._file=e,n.options&&(this.method=n.options.method||"POST",this.alias=n.options.itemAlias||"file"),this.url=n.options.url}return n.prototype.upload=function(){try{this.uploader.uploadItem(this)}catch(n){this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}},n.prototype.cancel=function(){this.uploader.cancelItem(this)},n.prototype.remove=function(){this.uploader.removeFromQueue(this)},n.prototype.onBeforeUpload=function(){},n.prototype.onBuildForm=function(n){return{form:n}},n.prototype.onProgress=function(n){return{progress:n}},n.prototype.onSuccess=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onError=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onCancel=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype.onComplete=function(n,e,t){return{response:n,status:e,headers:t}},n.prototype._onBeforeUpload=function(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()},n.prototype._onBuildForm=function(n){this.onBuildForm(n)},n.prototype._onProgress=function(n){this.progress=n,this.onProgress(n)},n.prototype._onSuccess=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(n,e,t)},n.prototype._onError=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(n,e,t)},n.prototype._onCancel=function(n,e,t){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(n,e,t)},n.prototype._onComplete=function(n,e,t){this.onComplete(n,e,t),this.uploader.options.removeAfterUpload&&this.remove()},n.prototype._prepareToUploading=function(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0},n}()},b7Yd:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("T1DM"),r=t("FFOo"),i=t("nkY7");function a(n){var e=arguments.length,t=o.a;Object(i.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],e--);var l=null;e>=2&&(l=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new u(n,l,r,t))}}var u=function(){function n(n,e,t,l){this.bufferTimeSpan=n,this.bufferCreationInterval=e,this.maxBufferSize=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},n}(),s=function(){return function(){this.buffer=[]}}(),d=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;i.bufferTimeSpan=t,i.bufferCreationInterval=l,i.maxBufferSize=o,i.scheduler=r,i.contexts=[];var a=i.openContext();if(i.timespanOnly=null==l||l<0,i.timespanOnly)i.add(a.closeAction=r.schedule(c,t,{subscriber:i,context:a,bufferTimeSpan:t}));else{var u={bufferTimeSpan:t,bufferCreationInterval:l,subscriber:i,scheduler:r};i.add(a.closeAction=r.schedule(f,t,{subscriber:i,context:a})),i.add(r.schedule(p,l,u))}return i}return l.__extends(e,n),e.prototype._next=function(n){for(var e,t=this.contexts,l=t.length,o=0;o<l;o++){var r=t[o],i=r.buffer;i.push(n),i.length==this.maxBufferSize&&(e=r)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,n.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,t=this.destination;e.length>0;){var l=e.shift();t.next(l.buffer)}n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(n){this.closeContext(n);var e=n.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){n=this.openContext();var t=this.bufferTimeSpan;this.add(n.closeAction=this.scheduler.schedule(c,t,{subscriber:this,context:n,bufferTimeSpan:t}))}},e.prototype.openContext=function(){var n=new s;return this.contexts.push(n),n},e.prototype.closeContext=function(n){this.destination.next(n.buffer);var e=this.contexts;(e?e.indexOf(n):-1)>=0&&e.splice(e.indexOf(n),1)},e}(r.a);function c(n){var e=n.subscriber,t=n.context;t&&e.closeContext(t),e.closed||(n.context=e.openContext(),n.context.closeAction=this.schedule(n,n.bufferTimeSpan))}function p(n){var e=n.bufferCreationInterval,t=n.bufferTimeSpan,l=n.subscriber,o=n.scheduler,r=l.openContext();l.closed||(l.add(r.closeAction=o.schedule(f,t,{subscriber:l,context:r})),this.schedule(n,e))}function f(n){n.subscriber.closeContext(n.context)}},b7mW:function(n,e,t){"use strict";function l(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}t.d(e,"a",function(){return o}),l.prototype=Object.create(Error.prototype);var o=l},bWpG:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.durationSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.durationSelector))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.durationSelector=t,l.hasValue=!1,l.durationSubscription=null,l}return l.__extends(e,n),e.prototype._next=function(n){try{var e=this.durationSelector.call(this,n);e&&this._tryNext(n,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(n,e){var t=this.durationSubscription;this.value=n,this.hasValue=!0,t&&(t.unsubscribe(),this.remove(t)),(t=Object(r.a)(this,e))&&!t.closed&&this.add(this.durationSubscription=t)},e.prototype.notifyNext=function(n,e,t,l,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=null,t.unsubscribe(),this.remove(t)),this.value=null,this.hasValue=!1,n.prototype._next.call(this,e)}},e}(o.a)},bgAe:function(n,e,t){var l=t("O36p");n.exports=function n(e){var t={};for(var o in e){var r=e[o];r&&(Array.isArray(r)||r instanceof l?r=r.map(n):r.constructor===Object&&(r=n(r))),t[o]=r}return t}},bne5:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("isby"),r=t("2Bdj"),i=t("67Y/");function a(n,e,t,u){return Object(r.a)(t)&&(u=t,t=void 0),u?a(n,e,t).pipe(Object(i.a)(function(n){return Object(o.a)(n)?u.apply(void 0,n):u(n)})):new l.a(function(l){!function n(e,t,l,o,r){var i;if(function(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(e)){var a=e;e.addEventListener(t,l,r),i=function(){return a.removeEventListener(t,l,r)}}else if(function(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(e)){var u=e;e.on(t,l),i=function(){return u.off(t,l)}}else if(function(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(e)){var s=e;e.addListener(t,l),i=function(){return s.removeListener(t,l)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,c=e.length;d<c;d++)n(e[d],t,l,o,r)}o.add(i)}(n,e,function(n){l.next(arguments.length>1?Array.prototype.slice.call(arguments):n)},l,t)})}},br6f:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("909l");function o(n){return function(e){return e.lift(new l.a(n))}}},bxbb:function(n,e,t){var l=t("vd7W").TYPE,o=l.String,r=l.Ident,i=l.Url,a=l.Function,u=l.LeftParenthesis;n.exports={parse:{prelude:function(){var n=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case o:n.push(this.String());break;case i:case a:n.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==r&&this.lookupNonWSType(0)!==u||(n.push(this.WhiteSpace()),n.push(this.MediaQueryList())),n},block:null}}},cWdd:function(n,e,t){var l=t("uZ+w"),o=9,r=10,i=12,a=13,u=32,s=33,d=35,c=38,p=39,f=40,h=41,m=42,v=43,g=44,b=45,_=60,y=62,w=63,C=64,x=91,S=93,k=123,E=124,T=125,R=8734,I=function(n){for(var e="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),t=0;t<128;t++)e[t]=(l=String.fromCharCode(t),/[a-zA-Z0-9\-]/.test(l)?1:0);var l;return e}(),D={" ":1,"&&":2,"||":3,"|":4};function O(n){return n.substringToPos(n.findWsEnd(n.pos))}function F(n){for(var e=n.pos;e<n.str.length;e++){var t=n.str.charCodeAt(e);if(t>=128||0===I[t])break}return n.pos===e&&n.error("Expect a keyword"),n.substringToPos(e)}function N(n){for(var e=n.pos;e<n.str.length;e++){var t=n.str.charCodeAt(e);if(t<48||t>57)break}return n.pos===e&&n.error("Expect a number"),n.substringToPos(e)}function M(n){var e=n.str.indexOf("'",n.pos+1);return-1===e&&(n.pos=n.str.length,n.error("Expect an apostrophe")),n.substringToPos(e+1)}function A(n){var e,t=null;return n.eat(k),e=N(n),n.charCode()===g?(n.pos++,n.charCode()!==T&&(t=N(n))):t=e,n.eat(T),{min:Number(e),max:t?Number(t):0}}function q(n,e){var t=function(n){var e=null,t=!1;switch(n.charCode()){case m:n.pos++,e={min:0,max:0};break;case v:n.pos++,e={min:1,max:0};break;case w:n.pos++,e={min:0,max:1};break;case d:n.pos++,t=!0,e=n.charCode()===k?A(n):{min:1,max:0};break;case k:e=A(n);break;default:return null}return{type:"Multiplier",comma:t,min:e.min,max:e.max,term:null}}(n);return null!==t?(t.term=e,t):e}function P(n){var e=n.peek();return""===e?null:{type:"Token",value:e}}function j(n,e){function t(n,e){return{type:"Group",terms:n,combinator:e,disallowEmpty:!1,explicit:!1}}for(e=Object.keys(e).sort(function(n,e){return D[n]-D[e]});e.length>0;){for(var l=e.shift(),o=0,r=0;o<n.length;o++){var i=n[o];"Combinator"===i.type&&(i.value===l?(-1===r&&(r=o-1),n.splice(o,1),o--):(-1!==r&&o-r>1&&(n.splice(r,o-r,t(n.slice(r,o),l)),o=r+1),r=-1))}-1!==r&&e.length&&n.splice(r,o-r,t(n.slice(r,o),l))}return l}function L(n){for(var e,t=[],l={},o=null,r=n.pos;e=V(n);)"Spaces"!==e.type&&("Combinator"===e.type?(null!==o&&"Combinator"!==o.type||(n.pos=r,n.error("Unexpected combinator")),l[e.value]=!0):null!==o&&"Combinator"!==o.type&&(l[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(e),o=e,r=n.pos);return null!==o&&"Combinator"===o.type&&(n.pos-=r,n.error("Unexpected combinator")),{type:"Group",terms:t,combinator:j(t,l)||" ",disallowEmpty:!1,explicit:!1}}function V(n){var e=n.charCode();if(e<128&&1===I[e])return function(n){var e;return e=F(n),n.charCode()===f?(n.pos++,{type:"Function",name:e}):q(n,{type:"Keyword",name:e})}(n);switch(e){case S:break;case x:return q(n,function(n){var e;return n.eat(x),e=L(n),n.eat(S),e.explicit=!0,n.charCode()===s&&(n.pos++,e.disallowEmpty=!0),e}(n));case _:return n.nextCharCode()===p?function(n){var e;return n.eat(_),n.eat(p),e=F(n),n.eat(p),n.eat(y),q(n,{type:"Property",name:e})}(n):function(n){var e,t=null;return n.eat(_),e=F(n),n.charCode()===f&&n.nextCharCode()===h&&(n.pos+=2,e+="()"),n.charCodeAt(n.findWsEnd(n.pos))===x&&(O(n),t=function(n){var e=null,t=null,l=1;return n.eat(x),n.charCode()===b&&(n.peek(),l=-1),-1==l&&n.charCode()===R?n.peek():e=l*Number(N(n)),O(n),n.eat(g),O(n),n.charCode()===R?n.peek():(l=1,n.charCode()===b&&(n.peek(),l=-1),t=l*Number(N(n))),n.eat(S),null===e&&null===t?null:{type:"Range",min:e,max:t}}(n)),n.eat(y),q(n,{type:"Type",name:e,opts:t})}(n);case E:return{type:"Combinator",value:n.substringToPos(n.nextCharCode()===E?n.pos+2:n.pos+1)};case c:return n.pos++,n.eat(c),{type:"Combinator",value:"&&"};case g:return n.pos++,{type:"Comma"};case p:return q(n,{type:"String",value:M(n)});case u:case o:case r:case a:case i:return{type:"Spaces",value:O(n)};case C:return(e=n.nextCharCode())<128&&1===I[e]?(n.pos++,{type:"AtKeyword",name:F(n)}):P(n);case m:case v:case w:case d:case s:break;case k:if((e=n.nextCharCode())<48||e>57)return P(n);break;default:return P(n)}}function B(n){var e=new l(n),t=L(e);return e.pos!==n.length&&e.error("Unexpected input"),1===t.terms.length&&"Group"===t.terms[0].type&&(t=t.terms[0]),t}B("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),n.exports=B},ceCD:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("T1DM"),r=t("VGuC"),i=t("MGBS"),a=t("zotm");function u(n,e,t){return void 0===t&&(t=o.a),function(l){var o=Object(r.a)(n),i=o?+n-t.now():Math.abs(n);return l.lift(new s(i,o,e,t))}}var s=function(){function n(n,e,t,l){this.waitFor=n,this.absoluteTimeout=e,this.withObservable=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},n}(),d=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;return i.absoluteTimeout=t,i.waitFor=l,i.withObservable=o,i.scheduler=r,i.action=null,i.scheduleTimeout(),i}return l.__extends(e,n),e.dispatchTimeout=function(n){var e=n.withObservable;n._unsubscribeAndRecycle(),n.add(Object(a.a)(n,e))},e.prototype.scheduleTimeout=function(){var n=this.action;n?this.action=n.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),n.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(i.a)},ckQ4:function(n,e,t){var l=t("7WHS");function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(n,e){this._array.forEach(n,e)},o.prototype.add=function(n){var e,t,o,r;(r=(t=n).generatedLine)>(o=(e=this._last).generatedLine)||r==o&&t.generatedColumn>=e.generatedColumn||l.compareByGeneratedPositionsInflated(e,t)<=0?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(l.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=o},crnd:function(n,e){function t(n){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e})}t.keys=function(){return[]},t.resolve=t,n.exports=t,t.id="crnd"},"d/Fg":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},dB5I:function(n,e,t){var l=t("vd7W").TYPE.Hash;n.exports={name:"IdSelector",structure:{name:String},parse:function(){var n=this.scanner.tokenStart;return this.eat(l),{type:"IdSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:this.scanner.substrToCursor(n+1)}},generate:function(n){this.chunk("#"),this.chunk(n.name)}}},dC0D:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){var t=!1;return arguments.length>=2&&(t=!0),function(l){return l.lift(new i(n,e,t))}}var i=function(){function n(n,e,t){void 0===t&&(t=!1),this.accumulator=n,this.seed=e,this.hasSeed=t}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.accumulator,this.seed,this.hasSeed))},n}(),a=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r.accumulator=t,r._seed=l,r.hasSeed=o,r.index=0,r}return l.__extends(e,n),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(n){this.hasSeed=!0,this._seed=n},enumerable:!0,configurable:!0}),e.prototype._next=function(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)},e.prototype._tryNext=function(n){var e,t=this.index++;try{e=this.accumulator(this.seed,n,t)}catch(l){this.destination.error(l)}this.seed=e,this.destination.next(e)},e}(o.a)},dDXr:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("Phjn");function o(n,e){return Object(l.a)(function(){return n},e)}},dEwP:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("F/XL"),o=t("Txjg");function r(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Object(o.a)()(l.a.apply(void 0,n))}},dsX3:function(n,e,t){n.exports=t("lXnc")},dv2O:function(n,e){n.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},dzgT:function(n,e,t){"use strict";t.d(e,"b",function(){return d}),t.d(e,"a",function(){return c});var l=t("mrSG"),o=t("nkY7"),r=t("isby"),i=t("MGBS"),a=t("zotm"),u=t("IUTb"),s={};function d(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null,l=null;return Object(o.a)(n[n.length-1])&&(l=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(r.a)(n[0])&&(n=n[0]),Object(u.a)(n,l).lift(new c(t))}var c=function(){function n(n){this.resultSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.resultSelector))},n}(),p=function(n){function e(e,t){var l=n.call(this,e)||this;return l.resultSelector=t,l.active=0,l.values=[],l.observables=[],l}return l.__extends(e,n),e.prototype._next=function(n){this.values.push(s),this.observables.push(n)},e.prototype._complete=function(){var n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var t=0;t<e;t++){var l=n[t];this.add(Object(a.a)(this,l,l,t))}}},e.prototype.notifyComplete=function(n){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(n,e,t,l,o){var r=this.values,i=this.toRespond?r[t]===s?--this.toRespond:this.toRespond:0;r[t]=e,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(n){var e;try{e=this.resultSelector.apply(this,n)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},e1rG:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,r=l.WhiteSpace,i=l.Comment,a=l.Semicolon;function u(n){return this.Raw(n,o.semicolonIncluded,!0)}n.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var n=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case r:case i:case a:this.scanner.next();break;default:n.push(this.parseWithFallback(this.Declaration,u))}return{type:"DeclarationList",loc:this.getLocationFromList(n),children:n}},generate:function(n){this.children(n,function(n){"Declaration"===n.type&&this.chunk(";")})}}},e5mD:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("K9Ia");function i(n,e){return void 0===e&&(e=0),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.windowSize=n,this.startWindowEvery=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.windowSize,this.startWindowEvery))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.destination=e,o.windowSize=t,o.startWindowEvery=l,o.windows=[new r.b],o.count=0,e.next(o.windows[0]),o}return l.__extends(e,n),e.prototype._next=function(n){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,t=this.destination,l=this.windowSize,o=this.windows,i=o.length,a=0;a<i&&!this.closed;a++)o[a].next(n);var u=this.count-l+1;if(u>=0&&u%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var s=new r.b;o.push(s),t.next(s)}},e.prototype._error=function(n){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(n);this.destination.error(n)},e.prototype._complete=function(){var n=this.windows;if(n)for(;n.length>0&&!this.closed;)n.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(o.a)},eAxx:function(n,e){n.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},emHa:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("6blF"),o=t("svcd"),r=t("67Y/"),i=t("1fDf"),a=t("nkY7"),u=t("isby");function s(n,e,t){if(e){if(!Object(a.a)(e))return function(){for(var l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return s(n,t).apply(void 0,l).pipe(Object(r.a)(function(n){return Object(u.a)(n)?e.apply(void 0,n):e(n)}))};t=e}return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a={subject:void 0,args:e,callbackFunc:n,scheduler:t,context:this};return new l.a(function(l){var r=a.context,u=a.subject;if(t)return t.schedule(d,0,{params:a,subscriber:l,context:r});if(!u){u=a.subject=new o.a;try{n.apply(r,e.concat([function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.shift();t?u.error(t):(u.next(n.length<=1?n[0]:n),u.complete())}]))}catch(s){Object(i.a)(u)?u.error(s):console.warn(s)}}return u.subscribe(l)})}}function d(n){var e=this,t=n.params,l=n.subscriber,r=n.context,i=t.callbackFunc,a=t.args,u=t.scheduler,s=t.subject;if(!s){s=t.subject=new o.a;try{i.apply(r,a.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var l=n.shift();if(l)e.add(u.schedule(p,0,{err:l,subject:s}));else{var o=n.length<=1?n[0]:n;e.add(u.schedule(c,0,{value:o,subject:s}))}}]))}catch(d){this.add(u.schedule(p,0,{err:d,subject:s}))}}this.add(s.subscribe(l))}function c(n){var e=n.subject;e.next(n.value),e.complete()}function p(n){n.subject.error(n.err)}},errG:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},gAJb:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("Qgas");function o(n){var e="function"==typeof n?function(e,t){return n(e,t)<0?e:t}:function(n,e){return n<e?n:e};return Object(l.a)(e)}},gCdt:function(n,e,t){var l=t("vd7W").TYPE,o=l.LeftSquareBracket,r=l.RightSquareBracket;n.exports={name:"Brackets",structure:{children:[[]]},parse:function(n,e){var t,l=this.scanner.tokenStart;return this.eat(o),t=n.call(this,e),this.scanner.eof||this.eat(r),{type:"Brackets",loc:this.getLocation(l,this.scanner.tokenStart),children:t}},generate:function(n){this.chunk("["),this.children(n),this.chunk("]")}}},gI3B:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("T1DM"),r=t("/21U"),i=t("nkY7");function a(n,e,t){void 0===n&&(n=0);var a=-1;return Object(r.a)(e)?a=Number(e)<1?1:Number(e):Object(i.a)(e)&&(t=e),Object(i.a)(t)||(t=o.a),new l.a(function(e){var l=Object(r.a)(n)?n:+n-t.now();return t.schedule(u,l,{index:0,period:a,subscriber:e})})}function u(n){var e=n.index,t=n.period,l=n.subscriber;if(l.next(e),!l.closed){if(-1===t)return l.complete();n.index=e+1,this.schedule(n,t)}}},gTGj:function(n,e,t){var l=t("vd7W").TYPE,o=t("vd7W").CHARCODE,r=l.Ident,i=o.FullStop;n.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(i)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(r)}},generate:function(n){this.chunk("."),this.chunk(n.name)}}},gtsK:function(n,e){function t(n,e,t){var l=n[e];n[e]=n[t],n[t]=l}e.quickSort=function(n,e){!function n(e,l,o,r){if(o<r){var i=o-1;t(e,(d=o,c=r,Math.round(d+Math.random()*(c-d))),r);for(var a=e[r],u=o;u<r;u++)l(e[u],a)<=0&&t(e,i+=1,u);t(e,i+1,u);var s=i+1;n(e,l,o,s-1),n(e,l,s+1,r)}var d,c}(n,e,0,n.length-1)}},"h+56":function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("jFaF"),o=t("VnD/");function r(n,e){return function(t){return[Object(o.a)(n,e)(t),Object(o.a)(Object(l.a)(n,e))(t)]}}},h9Dq:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){return n.call(this)||this}return l.__extends(e,n),e.prototype.schedule=function(n,e){return void 0===e&&(e=0),this},e}(t("pugT").a);t.d(e,"a",function(){return r});var r=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l.pending=!1,l}return l.__extends(e,n),e.prototype.schedule=function(n,e){if(void 0===e&&(e=0),this.closed)return this;this.state=n;var t=this.id,l=this.scheduler;return null!=t&&(this.id=this.recycleAsyncId(l,t,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(l,this.id,e),this},e.prototype.requestAsyncId=function(n,e,t){return void 0===t&&(t=0),setInterval(n.flush.bind(n,this),t)},e.prototype.recycleAsyncId=function(n,e,t){if(void 0===t&&(t=0),null!==t&&this.delay===t&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(n,e);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(n,e){var t=!1,l=void 0;try{this.work(n)}catch(o){t=!0,l=!!o&&o||new Error(o)}if(t)return this.unsubscribe(),l},e.prototype._unsubscribe=function(){var n=this.id,e=this.scheduler,t=e.actions,l=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&t.splice(l,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null},e}(o)},i4X3:function(n,e,t){"use strict";var l=t("6blF"),o=t("pugT"),r=t("xTla"),i=t("JF+6"),a=t("En8+"),u=t("/WYv"),s=t("2ePl");function d(n,e){if(null!=n){if(function(n){return n&&"function"==typeof n[r.a]}(n))return function(n,e){return new l.a(function(t){var l=new o.a;return l.add(e.schedule(function(){var o=n[r.a]();l.add(o.subscribe({next:function(n){l.add(e.schedule(function(){return t.next(n)}))},error:function(n){l.add(e.schedule(function(){return t.error(n)}))},complete:function(){l.add(e.schedule(function(){return t.complete()}))}}))})),l})}(n,e);if(Object(u.a)(n))return function(n,e){return new l.a(function(t){var l=new o.a;return l.add(e.schedule(function(){return n.then(function(n){l.add(e.schedule(function(){t.next(n),l.add(e.schedule(function(){return t.complete()}))}))},function(n){l.add(e.schedule(function(){return t.error(n)}))})})),l})}(n,e);if(Object(s.a)(n))return Object(i.a)(n,e);if(function(n){return n&&"function"==typeof n[a.a]}(n)||"string"==typeof n)return function(n,e){if(!n)throw new Error("Iterable cannot be null");return new l.a(function(t){var l,r=new o.a;return r.add(function(){l&&"function"==typeof l.return&&l.return()}),r.add(e.schedule(function(){l=n[a.a](),r.add(e.schedule(function(){if(!t.closed){var n,e;try{var o=l.next();n=o.value,e=o.done}catch(r){return void t.error(r)}e?t.complete():(t.next(n),this.schedule())}}))})),r})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}t.d(e,"a",function(){return d})},iLxQ:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){l=n},get useDeprecatedSynchronousErrorHandling(){return l}}},igQg:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){return n.call(this,e)||this}return l.__extends(e,n),e.prototype.notifyComplete=function(n){var e=this.destination;e.next(n),e.complete()},e.prototype._next=function(n){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.a)},imBb:function(n,e,t){var l;!function(o,r,i){if(o){for(var a,u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},s={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},d={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},c={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)u[111+p]="f"+p;for(p=0;p<=9;++p)u[p+96]=p.toString();b.prototype.bind=function(n,e,t){return n=n instanceof Array?n:[n],this._bindMultiple.call(this,n,e,t),this},b.prototype.unbind=function(n,e){return this.bind.call(this,n,function(){},e)},b.prototype.trigger=function(n,e){return this._directMap[n+":"+e]&&this._directMap[n+":"+e]({},n),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(n,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function n(e,t){return null!==e&&e!==r&&(e===t||n(e.parentNode,t))}(e,this.target))return!1;if("composedPath"in n&&"function"==typeof n.composedPath){var t=n.composedPath()[0];t!==n.target&&(e=t)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},b.prototype.handleKey=function(){var n=this;return n._handleKey.apply(n,arguments)},b.addKeycodes=function(n){for(var e in n)n.hasOwnProperty(e)&&(u[e]=n[e]);a=null},b.init=function(){var n=b(r);for(var e in n)"_"!==e.charAt(0)&&(b[e]=function(e){return function(){return n[e].apply(n,arguments)}}(e))},b.init(),o.Mousetrap=b,n.exports&&(n.exports=b),void 0===(l=(function(){return b}).call(e,t,e,n))||(n.exports=l)}function f(n,e,t){n.addEventListener?n.addEventListener(e,t,!1):n.attachEvent("on"+e,t)}function h(n){if("keypress"==n.type){var e=String.fromCharCode(n.which);return n.shiftKey||(e=e.toLowerCase()),e}return u[n.which]?u[n.which]:s[n.which]?s[n.which]:String.fromCharCode(n.which).toLowerCase()}function m(n){return"shift"==n||"ctrl"==n||"alt"==n||"meta"==n}function v(n,e,t){return t||(t=function(){if(!a)for(var n in a={},u)n>95&&n<112||u.hasOwnProperty(n)&&(a[u[n]]=n);return a}()[n]?"keydown":"keypress"),"keypress"==t&&e.length&&(t="keydown"),t}function g(n,e){var t,l,o,r=[];for(t=function(n){return"+"===n?["+"]:(n=n.replace(/\+{2}/g,"+plus")).split("+")}(n),o=0;o<t.length;++o)c[l=t[o]]&&(l=c[l]),e&&"keypress"!=e&&d[l]&&(l=d[l],r.push("shift")),m(l)&&r.push(l);return{key:l,modifiers:r,action:e=v(l,r,e)}}function b(n){var e=this;if(n=n||r,!(e instanceof b))return new b(n);e.target=n,e._callbacks={},e._directMap={};var t,l={},o=!1,i=!1,a=!1;function u(n){n=n||{};var e,t=!1;for(e in l)n[e]?t=!0:l[e]=0;t||(a=!1)}function s(n,t,o,r,i,a){var u,s,d,c=[],p=o.type;if(!e._callbacks[n])return[];for("keyup"==p&&m(n)&&(t=[n]),u=0;u<e._callbacks[n].length;++u)s=e._callbacks[n][u],(r||!s.seq||l[s.seq]==s.level)&&p==s.action&&(("keypress"!=p||o.metaKey||o.ctrlKey)&&(d=s.modifiers,t.sort().join(",")!==d.sort().join(","))||((!r&&s.combo==i||r&&s.seq==r&&s.level==a)&&e._callbacks[n].splice(u,1),c.push(s)));return c}function d(n,t,l,o){e.stopCallback(t,t.target||t.srcElement,l,o)||!1===n(t,l)&&(function(n){n.preventDefault?n.preventDefault():n.returnValue=!1}(t),function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0}(t))}function c(n){"number"!=typeof n.which&&(n.which=n.keyCode);var t=h(n);t&&("keyup"!=n.type||o!==t?e.handleKey(t,function(n){var e=[];return n.shiftKey&&e.push("shift"),n.altKey&&e.push("alt"),n.ctrlKey&&e.push("ctrl"),n.metaKey&&e.push("meta"),e}(n),n):o=!1)}function p(n,r,i,c,f){e._directMap[n+":"+i]=r;var m,v=(n=n.replace(/\s+/g," ")).split(" ");v.length>1?function(n,e,r,i){function s(e){return function(){a=e,++l[n],clearTimeout(t),t=setTimeout(u,1e3)}}function c(e){d(r,e,n),"keyup"!==i&&(o=h(e)),setTimeout(u,10)}l[n]=0;for(var f=0;f<e.length;++f){var m=f+1===e.length?c:s(i||g(e[f+1]).action);p(e[f],m,i,n,f)}}(n,v,r,i):(m=g(n,i),e._callbacks[m.key]=e._callbacks[m.key]||[],s(m.key,m.modifiers,{type:m.action},c,n,f),e._callbacks[m.key][c?"unshift":"push"]({callback:r,modifiers:m.modifiers,action:m.action,seq:c,level:f,combo:n}))}e._handleKey=function(n,e,t){var l,o=s(n,e,t),r={},c=0,p=!1;for(l=0;l<o.length;++l)o[l].seq&&(c=Math.max(c,o[l].level));for(l=0;l<o.length;++l)if(o[l].seq){if(o[l].level!=c)continue;p=!0,r[o[l].seq]=1,d(o[l].callback,t,o[l].combo,o[l].seq)}else p||d(o[l].callback,t,o[l].combo);var f="keypress"==t.type&&i;t.type!=a||m(n)||f||u(r),i=p&&"keydown"==t.type},e._bindMultiple=function(n,e,t){for(var l=0;l<n.length;++l)p(n[l],e,t)},f(n,"keypress",c),f(n,"keydown",c),f(n,"keyup",c)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},isby:function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l=Array.isArray||function(n){return n&&"number"==typeof n.length}},j0HV:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("psW0");function o(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?Object(l.a)(function(){return n},e,t):("number"==typeof e&&(t=e),Object(l.a)(function(){return n},t))}},jFaF:function(n,e,t){"use strict";function l(n,e){function t(){return!t.pred.apply(t.thisArg,arguments)}return t.pred=n,t.thisArg=e,t}t.d(e,"a",function(){return l})},jT1Q:function(n,e,t){var l=t("4af/"),o=t("BjAV"),r=t("2yAJ"),i=t("v9aN"),a=t("vYjF"),u=a.isErrorEvent,s=a.isDOMError,d=a.isDOMException,c=a.isError,p=a.isObject,f=a.isPlainObject,h=a.isUndefined,m=a.isFunction,v=a.isString,g=a.isArray,b=a.isEmptyObject,_=a.each,y=a.objectMerge,w=a.truncate,C=a.objectFrozen,x=a.hasKey,S=a.joinRegExp,k=a.urlencode,E=a.uuid4,T=a.htmlTreeAsString,R=a.isSameException,I=a.isSameStacktrace,D=a.parseUrl,O=a.fill,F=a.supportsFetch,N=a.supportsReferrerPolicy,M=a.serializeKeysForMessage,A=a.serializeException,q=a.sanitize,P=t("AKyF").wrapMethod,j="source protocol user pass host port path".split(" "),L=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function V(){return+new Date}var B="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},z=B.document,U=B.navigator;function H(n,e){return m(e)?function(t){return e(t,n)}:e}function Z(){for(var n in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!h(z),this._hasNavigator=!h(U),this._lastCapturedException=null,this._lastData=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={release:B.SENTRY_RELEASE&&B.SENTRY_RELEASE.id,logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this._fetchDefaults={method:"POST",referrerPolicy:N()?"origin":""},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=B.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=V(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=B.location,this._lastHref=this._location&&this._location.href,this._resetBackoff(),this._originalConsole)this._originalConsoleMethods[n]=this._originalConsole[n]}(Z.prototype={VERSION:"3.27.2",debug:!1,TraceKit:l,config:function(n,e){var t=this;if(t._globalServer)return this._logDebug("error","Error: Raven has already been configured"),t;if(!n)return t;var o=t._globalOptions;e&&_(e,function(n,e){"tags"===n||"extra"===n||"user"===n?t._globalContext[n]=e:o[n]=e}),t.setDSN(n),o.ignoreErrors.push(/^Script error\.?$/),o.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),o.ignoreErrors=S(o.ignoreErrors),o.ignoreUrls=!!o.ignoreUrls.length&&S(o.ignoreUrls),o.whitelistUrls=!!o.whitelistUrls.length&&S(o.whitelistUrls),o.includePaths=S(o.includePaths),o.maxBreadcrumbs=Math.max(0,Math.min(o.maxBreadcrumbs||100,100));var r={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},i=o.autoBreadcrumbs;"[object Object]"==={}.toString.call(i)?i=y(r,i):!1!==i&&(i=r),o.autoBreadcrumbs=i;var a={tryCatch:!0},u=o.instrument;return"[object Object]"==={}.toString.call(u)?u=y(a,u):!1!==u&&(u=a),o.instrument=u,l.collectWindowErrors=!!o.collectWindowErrors,t},install:function(){var n=this;return n.isSetup()&&!n._isRavenInstalled&&(l.report.subscribe(function(){n._handleOnErrorStackInfo.apply(n,arguments)}),n._globalOptions.captureUnhandledRejections&&n._attachPromiseRejectionHandler(),n._patchFunctionToString(),n._globalOptions.instrument&&n._globalOptions.instrument.tryCatch&&n._instrumentTryCatch(),n._globalOptions.autoBreadcrumbs&&n._instrumentBreadcrumbs(),n._drainPlugins(),n._isRavenInstalled=!0),Error.stackTraceLimit=n._globalOptions.stackTraceLimit,this},setDSN:function(n){var e=this._parseDSN(n),t=e.path.lastIndexOf("/"),l=e.path.substr(1,t);this._dsn=n,this._globalKey=e.user,this._globalSecret=e.pass&&e.pass.substr(1),this._globalProject=e.path.substr(t+1),this._globalServer=this._getGlobalServer(e),this._globalEndpoint=this._globalServer+"/"+l+"api/"+this._globalProject+"/store/",this._resetBackoff()},context:function(n,e,t){return m(n)&&(t=e||[],e=n,n={}),this.wrap(n,e).apply(this,t)},wrap:function(n,e,t){var l=this;if(h(e)&&!m(n))return n;if(m(n)&&(e=n,n=void 0),!m(e))return e;try{if(e.__raven__)return e;if(e.__raven_wrapper__)return e.__raven_wrapper__}catch(i){return e}function o(){var o=[],r=arguments.length,a=!n||n&&!1!==n.deep;for(t&&m(t)&&t.apply(this,arguments);r--;)o[r]=a?l.wrap(n,arguments[r]):arguments[r];try{return e.apply(this,o)}catch(i){throw l._ignoreNextOnError(),l.captureException(i,n),i}}for(var r in e)x(e,r)&&(o[r]=e[r]);return o.prototype=e.prototype,e.__raven_wrapper__=o,o.__raven__=!0,o.__orig__=e,o},uninstall:function(){return l.report.uninstall(),this._detachPromiseRejectionHandler(),this._unpatchFunctionToString(),this._restoreBuiltIns(),this._restoreConsole(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},_promiseRejectionHandler:function(n){this._logDebug("debug","Raven caught unhandled promise rejection:",n),this.captureException(n.reason,{mechanism:{type:"onunhandledrejection",handled:!1}})},_attachPromiseRejectionHandler:function(){return this._promiseRejectionHandler=this._promiseRejectionHandler.bind(this),B.addEventListener&&B.addEventListener("unhandledrejection",this._promiseRejectionHandler),this},_detachPromiseRejectionHandler:function(){return B.removeEventListener&&B.removeEventListener("unhandledrejection",this._promiseRejectionHandler),this},captureException:function(n,e){if(e=y({trimHeadFrames:0},e||{}),u(n)&&n.error)n=n.error;else{if(s(n)||d(n)){var t=n.name||(s(n)?"DOMError":"DOMException");return this.captureMessage(n.message?t+": "+n.message:t,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}if(c(n))n=n;else{if(!f(n))return this.captureMessage(n,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}));e=this._getCaptureExceptionOptionsFromPlainObject(e,n),n=new Error(e.message)}}this._lastCapturedException=n;try{var o=l.computeStackTrace(n);this._handleStackInfo(o,e)}catch(r){if(n!==r)throw r}return this},_getCaptureExceptionOptionsFromPlainObject:function(n,e){var t=Object.keys(e).sort(),l=y(n,{message:"Non-Error exception captured with keys: "+M(t),fingerprint:[r(t)],extra:n.extra||{}});return l.extra.__serialized__=A(e),l},captureMessage:function(n,e){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(n)){var t,o=y({message:n+=""},e=e||{});try{throw new Error(n)}catch(s){t=s}t.name=null;var r=l.computeStackTrace(t),i=g(r.stack)&&r.stack[1];i&&"Raven.captureException"===i.func&&(i=r.stack[2]);var a=i&&i.url||"";if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(a))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(a))){if(this._globalOptions.stacktrace||e.stacktrace||""===o.message){o.fingerprint=null==o.fingerprint?n:o.fingerprint,(e=y({trimHeadFrames:0},e)).trimHeadFrames+=1;var u=this._prepareFrames(r,e);o.stacktrace={frames:u.reverse()}}return o.fingerprint&&(o.fingerprint=g(o.fingerprint)?o.fingerprint:[o.fingerprint]),this._send(o),this}}},captureBreadcrumb:function(n){var e=y({timestamp:V()/1e3},n);if(m(this._globalOptions.breadcrumbCallback)){var t=this._globalOptions.breadcrumbCallback(e);if(p(t)&&!b(t))e=t;else if(!1===t)return this}return this._breadcrumbs.push(e),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(n){var e=[].slice.call(arguments,1);return this._plugins.push([n,e]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(n){return this._globalContext.user=n,this},setExtraContext:function(n){return this._mergeContext("extra",n),this},setTagsContext:function(n){return this._mergeContext("tags",n),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(o(this._globalContext))},setEnvironment:function(n){return this._globalOptions.environment=n,this},setRelease:function(n){return this._globalOptions.release=n,this},setDataCallback:function(n){return this._globalOptions.dataCallback=H(this._globalOptions.dataCallback,n),this},setBreadcrumbCallback:function(n){return this._globalOptions.breadcrumbCallback=H(this._globalOptions.breadcrumbCallback,n),this},setShouldSendCallback:function(n){return this._globalOptions.shouldSendCallback=H(this._globalOptions.shouldSendCallback,n),this},setTransport:function(n){return this._globalOptions.transport=n,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var n=B.RavenConfig;n&&this.config(n.dsn,n.config).install()},showReportDialog:function(n){if(z){if(!(n=y({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},n)).eventId)throw new i("Missing eventId");if(!n.dsn)throw new i("Missing DSN");var e=encodeURIComponent,t=[];for(var l in n)if("user"===l){var o=n.user;o.name&&t.push("name="+e(o.name)),o.email&&t.push("email="+e(o.email))}else t.push(e(l)+"="+e(n[l]));var r=this._getGlobalServer(this._parseDSN(n.dsn)),a=z.createElement("script");a.async=!0,a.src=r+"/api/embed/error-page/?"+t.join("&"),(z.head||z.body).appendChild(a)}},_ignoreNextOnError:function(){var n=this;this._ignoreOnError+=1,setTimeout(function(){n._ignoreOnError-=1})},_triggerEvent:function(n,e){var t,l;if(this._hasDocument){for(l in e=e||{},n="raven"+n.substr(0,1).toUpperCase()+n.substr(1),z.createEvent?(t=z.createEvent("HTMLEvents")).initEvent(n,!0,!0):(t=z.createEventObject()).eventType=n,e)x(e,l)&&(t[l]=e[l]);if(z.createEvent)z.dispatchEvent(t);else try{z.fireEvent("on"+t.eventType.toLowerCase(),t)}catch(o){}}},_breadcrumbEventHandler:function(n){var e=this;return function(t){if(e._keypressTimeout=null,e._lastCapturedEvent!==t){var l;e._lastCapturedEvent=t;try{l=T(t.target)}catch(o){l="<unknown>"}e.captureBreadcrumb({category:"ui."+n,message:l})}}},_keypressEventHandler:function(){var n=this;return function(e){var t;try{t=e.target}catch(r){return}var l=t&&t.tagName;if(l&&("INPUT"===l||"TEXTAREA"===l||t.isContentEditable)){var o=n._keypressTimeout;o||n._breadcrumbEventHandler("input")(e),clearTimeout(o),n._keypressTimeout=setTimeout(function(){n._keypressTimeout=null},1e3)}}},_captureUrlChange:function(n,e){var t=D(this._location.href),l=D(e),o=D(n);this._lastHref=e,t.protocol===l.protocol&&t.host===l.host&&(e=l.relative),t.protocol===o.protocol&&t.host===o.host&&(n=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:e,from:n}})},_patchFunctionToString:function(){var n=this;n._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return n._originalFunctionToString.apply("function"==typeof this&&this.__raven__?this.__orig__:this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var n=this,e=n._wrappedBuiltIns;function t(e){return function(t,l){for(var o=new Array(arguments.length),r=0;r<o.length;++r)o[r]=arguments[r];var i=o[0];return m(i)&&(o[0]=n.wrap({mechanism:{type:"instrument",data:{function:e.name||"<anonymous>"}}},i)),e.apply?e.apply(this,o):e(o[0],o[1])}}var l=this._globalOptions.autoBreadcrumbs;function o(t){var o=B[t]&&B[t].prototype;o&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(O(o,"addEventListener",function(e){return function(o,r,i,a){try{r&&r.handleEvent&&(r.handleEvent=n.wrap({mechanism:{type:"instrument",data:{target:t,function:"handleEvent",handler:r&&r.name||"<anonymous>"}}},r.handleEvent))}catch(c){}var u,s,d;return l&&l.dom&&("EventTarget"===t||"Node"===t)&&(s=n._breadcrumbEventHandler("click"),d=n._keypressEventHandler(),u=function(n){if(n){var e;try{e=n.type}catch(t){return}return"click"===e?s(n):"keypress"===e?d(n):void 0}}),e.call(this,o,n.wrap({mechanism:{type:"instrument",data:{target:t,function:"addEventListener",handler:r&&r.name||"<anonymous>"}}},r,u),i,a)}},e),O(o,"removeEventListener",function(n){return function(e,t,l,o){try{t=t&&(t.__raven_wrapper__?t.__raven_wrapper__:t)}catch(r){}return n.call(this,e,t,l,o)}},e))}O(B,"setTimeout",t,e),O(B,"setInterval",t,e),B.requestAnimationFrame&&O(B,"requestAnimationFrame",function(e){return function(t){return e(n.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:e&&e.name||"<anonymous>"}}},t))}},e);for(var r=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],i=0;i<r.length;i++)o(r[i])},_instrumentBreadcrumbs:function(){var n=this,e=this._globalOptions.autoBreadcrumbs,t=n._wrappedBuiltIns;function l(e,t){e in t&&m(t[e])&&O(t,e,function(t){return n.wrap({mechanism:{type:"instrument",data:{function:e,handler:t&&t.name||"<anonymous>"}}},t)})}if(e.xhr&&"XMLHttpRequest"in B){var o=B.XMLHttpRequest&&B.XMLHttpRequest.prototype;O(o,"open",function(e){return function(t,l){return v(l)&&-1===l.indexOf(n._globalKey)&&(this.__raven_xhr={method:t,url:l,status_code:null}),e.apply(this,arguments)}},t),O(o,"send",function(e){return function(){var t=this;function o(){if(t.__raven_xhr&&4===t.readyState){try{t.__raven_xhr.status_code=t.status}catch(e){}n.captureBreadcrumb({type:"http",category:"xhr",data:t.__raven_xhr})}}for(var r=["onload","onerror","onprogress"],i=0;i<r.length;i++)l(r[i],t);return"onreadystatechange"in t&&m(t.onreadystatechange)?O(t,"onreadystatechange",function(e){return n.wrap({mechanism:{type:"instrument",data:{function:"onreadystatechange",handler:e&&e.name||"<anonymous>"}}},e,o)}):t.onreadystatechange=o,e.apply(this,arguments)}},t)}e.xhr&&F()&&O(B,"fetch",function(e){return function(){for(var t=new Array(arguments.length),l=0;l<t.length;++l)t[l]=arguments[l];var o,r=t[0],i="GET";if("string"==typeof r?o=r:"Request"in B&&r instanceof B.Request?(o=r.url,r.method&&(i=r.method)):o=""+r,-1!==o.indexOf(n._globalKey))return e.apply(this,t);t[1]&&t[1].method&&(i=t[1].method);var a={method:i,url:o,status_code:null};return e.apply(this,t).then(function(e){return a.status_code=e.status,n.captureBreadcrumb({type:"http",category:"fetch",data:a}),e}).catch(function(e){throw n.captureBreadcrumb({type:"http",category:"fetch",data:a,level:"error"}),e})}},t),e.dom&&this._hasDocument&&(z.addEventListener?(z.addEventListener("click",n._breadcrumbEventHandler("click"),!1),z.addEventListener("keypress",n._keypressEventHandler(),!1)):z.attachEvent&&(z.attachEvent("onclick",n._breadcrumbEventHandler("click")),z.attachEvent("onkeypress",n._keypressEventHandler())));var r=B.chrome;if(e.location&&!(r&&r.app&&r.app.runtime)&&B.history&&B.history.pushState&&B.history.replaceState){var i=B.onpopstate;B.onpopstate=function(){var e=n._location.href;if(n._captureUrlChange(n._lastHref,e),i)return i.apply(this,arguments)};var a=function(e){return function(){var t=arguments.length>2?arguments[2]:void 0;return t&&n._captureUrlChange(n._lastHref,t+""),e.apply(this,arguments)}};O(B.history,"pushState",a,t),O(B.history,"replaceState",a,t)}if(e.console&&"console"in B&&console.log){var u=function(e,t){n.captureBreadcrumb({message:e,level:t.level,category:"console"})};_(["debug","info","warn","error","log"],function(n,e){P(console,e,u)})}},_restoreBuiltIns:function(){for(var n;this._wrappedBuiltIns.length;)(n=this._wrappedBuiltIns.shift())[0][n[1]]=n[2]},_restoreConsole:function(){for(var n in this._originalConsoleMethods)this._originalConsole[n]=this._originalConsoleMethods[n]},_drainPlugins:function(){var n=this;_(this._plugins,function(e,t){t[0].apply(n,[n].concat(t[1]))})},_parseDSN:function(n){var e=L.exec(n),t={},l=7;try{for(;l--;)t[j[l]]=e[l]||""}catch(o){throw new i("Invalid DSN: "+n)}if(t.pass&&!this._globalOptions.allowSecretKey)throw new i("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return t},_getGlobalServer:function(n){var e="//"+n.host+(n.port?":"+n.port:"");return n.protocol&&(e=n.protocol+":"+e),e},_handleOnErrorStackInfo:function(n,e){(e=e||{}).mechanism=e.mechanism||{type:"onerror",handled:!1},this._ignoreOnError||this._handleStackInfo(n,e)},_handleStackInfo:function(n,e){var t=this._prepareFrames(n,e);this._triggerEvent("handle",{stackInfo:n,options:e}),this._processException(n.name,n.message,n.url,n.lineno,t,e)},_prepareFrames:function(n,e){var t=this,l=[];if(n.stack&&n.stack.length&&(_(n.stack,function(e,o){var r=t._normalizeFrame(o,n.url);r&&l.push(r)}),e&&e.trimHeadFrames))for(var o=0;o<e.trimHeadFrames&&o<l.length;o++)l[o].in_app=!1;return l=l.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(n,e){var t={filename:n.url,lineno:n.line,colno:n.column,function:n.func||"?"};return n.url||(t.filename=e),t.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(t.filename)||/(Raven|TraceKit)\./.test(t.function)||/raven\.(min\.)?js$/.test(t.filename)),t},_processException:function(n,e,t,l,o,r){var i,a=(n?n+": ":"")+(e||"");if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)&&!this._globalOptions.ignoreErrors.test(a))&&(o&&o.length?(t=o[0].filename||t,o.reverse(),i={frames:o}):t&&(i={frames:[{filename:t,lineno:l,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(t))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(t)))){var u=y({exception:{values:[{type:n,value:e,stacktrace:i}]},transaction:t},r),s=u.exception.values[0];null==s.type&&""===s.value&&(s.value="Unrecoverable error caught"),!u.exception.mechanism&&u.mechanism&&(u.exception.mechanism=u.mechanism,delete u.mechanism),u.exception.mechanism=y({type:"generic",handled:!0},u.exception.mechanism||{}),this._send(u)}},_trimPacket:function(n){var e=this._globalOptions.maxMessageLength;if(n.message&&(n.message=w(n.message,e)),n.exception){var t=n.exception.values[0];t.value=w(t.value,e)}var l=n.request;return l&&(l.url&&(l.url=w(l.url,this._globalOptions.maxUrlLength)),l.Referer&&(l.Referer=w(l.Referer,this._globalOptions.maxUrlLength))),n.breadcrumbs&&n.breadcrumbs.values&&this._trimBreadcrumbs(n.breadcrumbs),n},_trimBreadcrumbs:function(n){for(var e,t,l,o=["to","from","url"],r=0;r<n.values.length;++r)if((t=n.values[r]).hasOwnProperty("data")&&p(t.data)&&!C(t.data)){l=y({},t.data);for(var i=0;i<o.length;++i)l.hasOwnProperty(e=o[i])&&l[e]&&(l[e]=w(l[e],this._globalOptions.maxUrlLength));n.values[r].data=l}},_getHttpData:function(){if(this._hasNavigator||this._hasDocument){var n={};return this._hasNavigator&&U.userAgent&&(n.headers={"User-Agent":U.userAgent}),B.location&&B.location.href&&(n.url=B.location.href),this._hasDocument&&z.referrer&&(n.headers||(n.headers={}),n.headers.Referer=z.referrer),n}},_resetBackoff:function(){this._backoffDuration=0,this._backoffStart=null},_shouldBackoff:function(){return this._backoffDuration&&V()-this._backoffStart<this._backoffDuration},_isRepeatData:function(n){var e=this._lastData;return!(!e||n.message!==e.message||n.transaction!==e.transaction)&&(n.stacktrace||e.stacktrace?I(n.stacktrace,e.stacktrace):n.exception||e.exception?R(n.exception,e.exception):!n.fingerprint&&!e.fingerprint||Boolean(n.fingerprint&&e.fingerprint)&&JSON.stringify(n.fingerprint)===JSON.stringify(e.fingerprint))},_setBackoffState:function(n){if(!this._shouldBackoff()){var e=n.status;if(400===e||401===e||429===e){var t;try{t=F()?n.headers.get("Retry-After"):n.getResponseHeader("Retry-After"),t=1e3*parseInt(t,10)}catch(l){}this._backoffDuration=t||2*this._backoffDuration||1e3,this._backoffStart=V()}}},_send:function(n){var e=this._globalOptions,t={project:this._globalProject,logger:e.logger,platform:"javascript"},l=this._getHttpData();l&&(t.request=l),n.trimHeadFrames&&delete n.trimHeadFrames,(n=y(t,n)).tags=y(y({},this._globalContext.tags),n.tags),n.extra=y(y({},this._globalContext.extra),n.extra),n.extra["session:duration"]=V()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(n.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(n.user=this._globalContext.user),e.environment&&(n.environment=e.environment),e.release&&(n.release=e.release),e.serverName&&(n.server_name=e.serverName),n=this._sanitizeData(n),Object.keys(n).forEach(function(e){(null==n[e]||""===n[e]||b(n[e]))&&delete n[e]}),m(e.dataCallback)&&(n=e.dataCallback(n)||n),n&&!b(n)&&(m(e.shouldSendCallback)&&!e.shouldSendCallback(n)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",n):"number"==typeof e.sampleRate?Math.random()<e.sampleRate&&this._sendProcessedPayload(n):this._sendProcessedPayload(n)))},_sanitizeData:function(n){return q(n,this._globalOptions.sanitizeKeys)},_getUuid:function(){return E()},_sendProcessedPayload:function(n,e){var t=this,l=this._globalOptions;if(this.isSetup())if(n=this._trimPacket(n),this._globalOptions.allowDuplicates||!this._isRepeatData(n)){this._lastEventId=n.event_id||(n.event_id=this._getUuid()),this._lastData=n,this._logDebug("debug","Raven about to send:",n);var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var r=n.exception&&n.exception.values[0];this._globalOptions.autoBreadcrumbs&&this._globalOptions.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:r?(r.type?r.type+": ":"")+r.value:n.message,event_id:n.event_id,level:n.level||"error"});var i=this._globalEndpoint;(l.transport||this._makeRequest).call(this,{url:i,auth:o,data:n,options:l,onSuccess:function(){t._resetBackoff(),t._triggerEvent("success",{data:n,src:i}),e&&e()},onError:function(l){t._logDebug("error","Raven transport failed to send: ",l),l.request&&t._setBackoffState(l.request),t._triggerEvent("failure",{data:n,src:i}),l=l||new Error("Raven send failed (no additional details provided)"),e&&e(l)}})}else this._logDebug("warn","Raven dropped repeat event: ",n)},_makeRequest:function(n){var e=n.url+"?"+k(n.auth),t=null,l={};if(n.options.headers&&(t=this._evaluateHash(n.options.headers)),n.options.fetchParameters&&(l=this._evaluateHash(n.options.fetchParameters)),F()){l.body=o(n.data);var r=y({},this._fetchDefaults),i=y(r,l);return t&&(i.headers=t),B.fetch(e,i).then(function(e){if(e.ok)n.onSuccess&&n.onSuccess();else{var t=new Error("Sentry error code: "+e.status);t.request=e,n.onError&&n.onError(t)}}).catch(function(){n.onError&&n.onError(new Error("Sentry error code: network unavailable"))})}var a=B.XMLHttpRequest&&new B.XMLHttpRequest;a&&("withCredentials"in a||"undefined"!=typeof XDomainRequest)&&("withCredentials"in a?a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)n.onSuccess&&n.onSuccess();else if(n.onError){var e=new Error("Sentry error code: "+a.status);e.request=a,n.onError(e)}}:(a=new XDomainRequest,e=e.replace(/^https?:/,""),n.onSuccess&&(a.onload=n.onSuccess),n.onError&&(a.onerror=function(){var e=new Error("Sentry error code: XDomainRequest");e.request=a,n.onError(e)})),a.open("POST",e),t&&_(t,function(n,e){a.setRequestHeader(n,e)}),a.send(o(n.data)))},_evaluateHash:function(n){var e={};for(var t in n)if(n.hasOwnProperty(t)){var l=n[t];e[t]="function"==typeof l?l():l}return e},_logDebug:function(n){this._originalConsoleMethods[n]&&(this.debug||this._globalOptions.debug)&&Function.prototype.apply.call(this._originalConsoleMethods[n],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(n,e){h(e)?delete this._globalContext[n]:this._globalContext[n]=y(this._globalContext[n]||{},e)}}).setUser=Z.prototype.setUserContext,Z.prototype.setReleaseContext=Z.prototype.setRelease,n.exports=Z},jpu9:function(n,e,t){var l=t("UGdY"),o=Object.prototype.hasOwnProperty;function r(n,e){var t=null;n.children.forEach("function"!=typeof e?this.node:function(n){null!==t&&e.call(this,t),this.node(n),t=n},this)}n.exports=function(n){function e(n){if(!o.call(t,n.type))throw new Error("Unknown node type: "+n.type);t[n.type].call(this,n)}var t={};if(n.node)for(var i in n.node)t[i]=n.node[i].generate;return function(n,t){var o="",i={children:r,node:e,chunk:function(n){o+=n},result:function(){return o}};return t&&("function"==typeof t.decorator&&(i=t.decorator(i)),t.sourceMap&&(i=l(i))),i.node(n),i.result()}}},jvbL:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return void 0===e&&(e=!1),function(t){return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.predicate=n,this.inclusive=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.inclusive))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.inclusive=l,o.index=0,o}return l.__extends(e,n),e.prototype._next=function(n){var e,t=this.destination;try{e=this.predicate(n,this.index++)}catch(l){return void t.error(l)}this.nextOrComplete(n,e)},e.prototype.nextOrComplete=function(n,e){var t=this.destination;Boolean(e)?t.next(n):(this.inclusive&&t.next(n),t.complete())},e}(o.a)},kERW:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("isby"),r=t("2Bdj"),i=t("67Y/");function a(n,e,t){return t?a(n,e).pipe(Object(i.a)(function(n){return Object(o.a)(n)?t.apply(void 0,n):t(n)})):new l.a(function(t){var l,o=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1===n.length?n[0]:n)};try{l=n(o)}catch(i){return void t.error(i)}if(Object(r.a)(e))return function(){return e(o,l)}})}},kPWa:function(n,e,t){var l=t("P3uw").consumeNumber,o=t("vd7W").TYPE.Percentage;n.exports={name:"Percentage",structure:{value:String},parse:function(){var n=this.scanner.tokenStart,e=l(this.scanner.source,n);return this.eat(o),{type:"Percentage",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n,e)}},generate:function(n){this.chunk(n.value),this.chunk("%")}}},kR3u:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("svcd"),o=t("xlPZ");function r(){return function(n){return Object(o.a)(new l.a)(n)}}},kiQV:function(n){n.exports={name:"gns3-web-ui",version:"2019.2.0-alpha.7dev",author:{name:"GNS3 Technology Inc.",email:"developers@gns3.com"},description:"Graphical Network Simulator-3 is a network software emulator.",license:"GPLv3",main:"main.js",repository:{type:"git",url:"https://github.com/GNS3/gns3-web-ui.git"},scripts:{ng:"ng",start:"ng serve",startforelectron:"ng serve --configuration=electronDev",build:"ng build",buildforelectron:"ng build --configuration=electronProd",buildforgithub:"ng build --configuration=githubProd",test:"ng test",lint:"ng lint",e2e:"ng e2e",electron:"electron .",electrondev:'concurrently -k "yarn startforelectron" "electron . -e dev"',distlinux:"yarn buildforelectron && electron-builder --linux --x64",distwin:"yarn buildforelectron && electron-builder --win --x64",distmac:"yarn buildforelectron && electron-builder --mac --x64",release:"build",coverage:"ng test --watch=false --code-coverage","prettier:base":"prettier","prettier:check":'yarn prettier:base -- --list-different "src/**/*.{ts,js,html,scss}"',"prettier:write":'yarn prettier:base -- --write "src/**/*.{ts,js,html,scss}"',"generate-licenses-file":"yarn license-checker --production --csv --out licenses.csv",prebuildforelectron:"node set-variables-in-env.js --set src/environments/environment.electron.prod.ts",postbuildforelectron:"node set-variables-in-env.js --unset src/environments/environment.electron.prod.ts"},private:!0,dependencies:{"@angular/animations":"^8.1.2","@angular/cdk":"^8.1.1","@angular/common":"^8.1.2","@angular/compiler":"^8.1.2","@angular/core":"^8.1.2","@angular/forms":"^8.1.2","@angular/http":"^7.2.15","@angular/material":"^8.1.1","@angular/platform-browser":"^8.1.2","@angular/platform-browser-dynamic":"^8.1.2","@angular/router":"^8.1.2","angular-persistence":"^1.0.1","angular2-hotkeys":"^2.1.4","angular2-indexeddb":"^1.2.3",bootstrap:"4.3.1","command-exists":"^1.2.8","core-js":"^3.1.4","css-tree":"^1.0.0-alpha.33","d3-ng2-service":"^2.1.0",hammerjs:"^2.0.8",ini:"^1.3.5","material-design-icons":"^3.0.1","ng2-file-upload":"^1.3.0","ngx-electron":"^2.1.1","node-fetch":"^2.6.0","notosans-fontface":"^1.1.0","raven-js":"^3.27.2",rxjs:"^6.5.2","rxjs-compat":"^6.5.2","tree-kill":"^1.2.1","typeface-roboto":"^0.0.75",yargs:"^13.3.0","zone.js":"^0.9.1"},devDependencies:{"@angular-devkit/build-angular":"~0.801.2","@angular/cli":"^8.1.2","@angular/compiler-cli":"^8.1.2","@angular/language-service":"^8.1.2","@sentry/cli":"^1.47.0","@sentry/electron":"^0.17.3","@types/jasmine":"~3.3.15","@types/jasminewd2":"~2.0.6","@types/node":"~12.6.8",codelyzer:"~5.1.0",electron:"5.0.8","electron-builder":"21.1.5","jasmine-core":"~3.4.0","jasmine-spec-reporter":"~4.2.1",jquery:"^3.4.1",karma:"~4.2.0","karma-chrome-launcher":"~3.0.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"^2.1.0","karma-jasmine":"~2.0.1","karma-jasmine-html-reporter":"^1.4.2","license-checker":"^25.0.1","node-sass":"^4.12.0","popper.js":"^1.15.0",prettier:"^1.18.2",protractor:"~5.4.2",replace:"^1.1.0","ts-mockito":"^2.4.2","ts-node":"~8.3.0",tslint:"~5.18.0","tslint-config-prettier":"^1.18.0",typescript:">=3.4.0 <3.5.0"},greenkeeper:{ignore:["typescript"]}}},klIg:function(n,e,t){var l=t("P3uw").consumeNumber,o=t("vd7W").TYPE.Dimension;n.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var n=this.scanner.tokenStart,e=l(this.scanner.source,n);return this.eat(o),{type:"Dimension",loc:this.getLocation(n,this.scanner.tokenStart),value:this.scanner.source.substring(n,e),unit:this.scanner.source.substring(e,this.scanner.tokenStart)}},generate:function(n){this.chunk(n.value),this.chunk(n.unit)}}},klSw:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("S5bw");function o(n,e,t){var o;return o=n&&"object"==typeof n?n:{bufferSize:n,windowTime:e,refCount:!1,scheduler:t},function(n){return n.lift(function(n){var e,t,r=o.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,a=o.windowTime,u=void 0===a?Number.POSITIVE_INFINITY:a,s=o.refCount,d=o.scheduler,c=0,p=!1,f=!1;return function(n){c++,e&&!p||(p=!1,e=new l.a(i,u,d),t=n.subscribe({next:function(n){e.next(n)},error:function(n){p=!0,e.error(n)},complete:function(){f=!0,e.complete()}}));var o=e.subscribe(this);this.add(function(){c--,o.unsubscribe(),t&&!f&&s&&0===c&&(t.unsubscribe(),t=void 0,e=void 0)})}}())}}},lA9V:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("zotm"),r=t("MGBS"),i=t("rPjj");function a(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(l){return l.lift(new u(n,e,t))}}var u=function(){function n(n,e,t){this.accumulator=n,this.seed=e,this.concurrent=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.accumulator,this.seed,this.concurrent))},n}(),s=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r.accumulator=t,r.acc=l,r.concurrent=o,r.hasValue=!1,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return l.__extends(e,n),e.prototype._next=function(n){if(this.active<this.concurrent){var e=this.index++,t=this.destination,l=void 0;try{l=(0,this.accumulator)(this.acc,n,e)}catch(o){return t.error(o)}this.active++,this._innerSub(l,n,e)}else this.buffer.push(n)},e.prototype._innerSub=function(n,e,t){var l=new i.a(this,void 0,void 0);this.destination.add(l),Object(o.a)(this,n,e,t,l)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){var r=this.destination;this.acc=e,this.hasValue=!0,r.next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.destination.remove(n),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(r.a)},lXnc:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},lYZG:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("0/uQ"),r=t("G5J1");function i(n){return new l.a(function(e){var t;try{t=n()}catch(l){return void e.error(l)}return(t?Object(o.a)(t):Object(r.b)()).subscribe(e)})}},lxKu:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("K9Ia"),r=t("T1DM"),i=t("FFOo"),a=t("/21U"),u=t("nkY7");function s(n){var e=r.a,t=null,l=Number.POSITIVE_INFINITY;return Object(u.a)(arguments[3])&&(e=arguments[3]),Object(u.a)(arguments[2])?e=arguments[2]:Object(a.a)(arguments[2])&&(l=arguments[2]),Object(u.a)(arguments[1])?e=arguments[1]:Object(a.a)(arguments[1])&&(t=arguments[1]),function(o){return o.lift(new d(n,t,l,e))}}var d=function(){function n(n,e,t,l){this.windowTimeSpan=n,this.windowCreationInterval=e,this.maxWindowSize=t,this.scheduler=l}return n.prototype.call=function(n,e){return e.subscribe(new p(n,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},n}(),c=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return l.__extends(e,n),e.prototype.next=function(e){this._numberOfNextedValues++,n.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(o.b),p=function(n){function e(e,t,l,o,r){var i=n.call(this,e)||this;i.destination=e,i.windowTimeSpan=t,i.windowCreationInterval=l,i.maxWindowSize=o,i.scheduler=r,i.windows=[];var a=i.openWindow();if(null!==l&&l>=0){var u={windowTimeSpan:t,windowCreationInterval:l,subscriber:i,scheduler:r};i.add(r.schedule(m,t,{subscriber:i,window:a,context:null})),i.add(r.schedule(h,l,u))}else i.add(r.schedule(f,t,{subscriber:i,window:a,windowTimeSpan:t}));return i}return l.__extends(e,n),e.prototype._next=function(n){for(var e=this.windows,t=e.length,l=0;l<t;l++){var o=e[l];o.closed||(o.next(n),o.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(o))}},e.prototype._error=function(n){for(var e=this.windows;e.length>0;)e.shift().error(n);this.destination.error(n)},e.prototype._complete=function(){for(var n=this.windows;n.length>0;){var e=n.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var n=new c;return this.windows.push(n),this.destination.next(n),n},e.prototype.closeWindow=function(n){n.complete();var e=this.windows;e.splice(e.indexOf(n),1)},e}(i.a);function f(n){var e=n.subscriber,t=n.windowTimeSpan,l=n.window;l&&e.closeWindow(l),n.window=e.openWindow(),this.schedule(n,t)}function h(n){var e=n.windowTimeSpan,t=n.subscriber,l=n.scheduler,o=n.windowCreationInterval,r=t.openWindow(),i={action:this,subscription:null};i.subscription=l.schedule(m,e,{subscriber:t,window:r,context:i}),this.add(i.subscription),this.schedule(n,o)}function m(n){var e=n.subscriber,t=n.window,l=n.context;l&&l.action&&l.subscription&&l.action.remove(l.subscription),e.closeWindow(t)}},mChF:function(n,e,t){"use strict";function l(n){return n}t.d(e,"a",function(){return l})},mEZQ:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("lYZG"),o=t("G5J1");function r(n,e,t){return void 0===e&&(e=o.a),void 0===t&&(t=o.a),Object(l.a)(function(){return n()?e:t})}},mK1g:function(n,e,t){var l=t("CwTu").SyntaxReferenceError,o=t("CwTu").MatchError,r=t("t1UP"),i=t("CJ5M"),a=t("cWdd"),u=t("2KT4"),s=t("5HYW"),d=t("Du80"),c=t("KcB0").buildMatchGraph,p=t("QKsE").matchAsTree,f=t("/+5V"),h=t("ofj6"),m=t("Y0sX").getStructureFromConfig,v=c("inherit | initial | unset"),g=c("inherit | initial | unset | <-ms-legacy-expression>");function b(n,e){var t={};for(var l in n)n[l].syntax&&(t[l]=e?n[l].syntax:u(n[l].syntax));return t}function _(n,e,t){return{matched:n,iterations:t,error:e,getTrace:f.getTrace,isType:f.isType,isProperty:f.isProperty,isKeyword:f.isKeyword}}function y(n,e,t,l){var r,i=d(t,n.syntax);return function(n){for(var e=0;e<n.length;e++)if("var("===n[e].value.toLowerCase())return!0;return!1}(i)?_(null,new Error("Matching for a tree with var() is not supported")):(l&&(r=p(i,n.valueCommonSyntax,n)),l&&r.match||(r=p(i,e.match,n)).match?_(r.match,null,r.iterations):_(null,new o(r.reason,e.syntax,t,r),r.iterations))}var w=function(n,e,t){if(this.valueCommonSyntax=v,this.syntax=e,this.generic=!1,this.properties={},this.types={},this.structure=t||m(n),n){if(n.types)for(var l in n.types)this.addType_(l,n.types[l]);if(n.generic)for(var l in this.generic=!0,i)this.addType_(l,i[l]);if(n.properties)for(var l in n.properties)this.addProperty_(l,n.properties[l])}};w.prototype={structure:{},checkStructure:function(n){function e(n,e){l.push({node:n,message:e})}var t=this.structure,l=[];return this.syntax.walk(n,function(n){t.hasOwnProperty(n.type)?t[n.type].check(n,e):e(n,"Unknown node type `"+n.type+"`")}),!!l.length&&l},createDescriptor:function(n,e,t){var l={type:e,name:t},o={type:e,name:t,syntax:null,match:null};return"function"==typeof n?o.match=c(n,l):("string"==typeof n?Object.defineProperty(o,"syntax",{get:function(){return Object.defineProperty(o,"syntax",{value:a(n)}),o.syntax}}):o.syntax=n,Object.defineProperty(o,"match",{get:function(){return Object.defineProperty(o,"match",{value:c(o.syntax,l)}),o.match}})),o},addProperty_:function(n,e){this.properties[n]=this.createDescriptor(e,"Property",n)},addType_:function(n,e){this.types[n]=this.createDescriptor(e,"Type",n),e===i["-ms-legacy-expression"]&&(this.valueCommonSyntax=g)},matchDeclaration:function(n){return"Declaration"!==n.type?_(null,new Error("Not a Declaration node")):this.matchProperty(n.property,n.value)},matchProperty:function(n,e){var t=r.property(n);if(t.custom)return _(null,new Error("Lexer matching doesn't applicable for custom properties"));var o=t.vendor?this.getProperty(t.name)||this.getProperty(t.basename):this.getProperty(t.name);return o?y(this,o,e,!0):_(null,new l("Unknown property",n))},matchType:function(n,e){var t=this.getType(n);return t?y(this,t,e,!1):_(null,new l("Unknown type",n))},match:function(n,e){return"string"==typeof n||n&&n.type?("string"!=typeof n&&n.match||(n=this.createDescriptor(n,"Type","anonymous")),y(this,n,e,!1)):_(null,new l("Bad syntax"))},findValueFragments:function(n,e,t,l){return h.matchFragments(this,e,this.matchProperty(n,e),t,l)},findDeclarationValueFragments:function(n,e,t){return h.matchFragments(this,n.value,this.matchDeclaration(n),e,t)},findAllFragments:function(n,e,t){var l=[];return this.syntax.walk(n,{visit:"Declaration",enter:(function(n){l.push.apply(l,this.findDeclarationValueFragments(n,e,t))}).bind(this)}),l},getProperty:function(n){return this.properties.hasOwnProperty(n)?this.properties[n]:null},getType:function(n){return this.types.hasOwnProperty(n)?this.types[n]:null},validate:function(){function n(l,o,r,i){if(r.hasOwnProperty(o))return r[o];r[o]=!1,null!==i.syntax&&s(i.syntax,function(i){if("Type"===i.type||"Property"===i.type){var a="Type"===i.type?l.types:l.properties,u="Type"===i.type?e:t;a.hasOwnProperty(i.name)&&!n(l,i.name,u,a[i.name])||(r[o]=!0)}},this)}var e={},t={};for(var l in this.types)n(this,l,e,this.types[l]);for(var l in this.properties)n(this,l,t,this.properties[l]);return e=Object.keys(e).filter(function(n){return e[n]}),t=Object.keys(t).filter(function(n){return t[n]}),e.length||t.length?{types:e,properties:t}:null},dump:function(n){return{generic:this.generic,types:b(this.types,n),properties:b(this.properties,n)}},toString:function(){return JSON.stringify(this.dump())}},n.exports=w},mZXl:function(n,e,t){"use strict";t.d(e,"b",function(){return i}),t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("FFOo"),r=t("60iU");function i(n,e){return void 0===e&&(e=0),function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){void 0===e&&(e=0),this.scheduler=n,this.delay=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.scheduler,this.delay))},n}(),u=function(n){function e(e,t,l){void 0===l&&(l=0);var o=n.call(this,e)||this;return o.scheduler=t,o.delay=l,o}return l.__extends(e,n),e.dispatch=function(n){n.notification.observe(n.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(n){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new s(n,this.destination)))},e.prototype._next=function(n){this.scheduleMessage(r.a.createNext(n))},e.prototype._error=function(n){this.scheduleMessage(r.a.createError(n)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()},e}(o.a),s=function(){return function(n,e){this.notification=n,this.destination=e}}()},mb2m:function(n,e,t){var l=t("vd7W").TYPE.Number;n.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(l)}},generate:function(n){this.chunk(n.value)}}},mcCJ:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("Qgas");function o(n){var e="function"==typeof n?function(e,t){return n(e,t)>0?e:t}:function(n,e){return n>e?n:e};return Object(l.a)(e)}},mrSG:function(n,e,t){"use strict";t.r(e),t.d(e,"__extends",function(){return o}),t.d(e,"__assign",function(){return r}),t.d(e,"__rest",function(){return i}),t.d(e,"__decorate",function(){return a}),t.d(e,"__param",function(){return u}),t.d(e,"__metadata",function(){return s}),t.d(e,"__awaiter",function(){return d}),t.d(e,"__generator",function(){return c}),t.d(e,"__exportStar",function(){return p}),t.d(e,"__values",function(){return f}),t.d(e,"__read",function(){return h}),t.d(e,"__spread",function(){return m}),t.d(e,"__spreadArrays",function(){return v}),t.d(e,"__await",function(){return g}),t.d(e,"__asyncGenerator",function(){return b}),t.d(e,"__asyncDelegator",function(){return _}),t.d(e,"__asyncValues",function(){return y}),t.d(e,"__makeTemplateObject",function(){return w}),t.d(e,"__importStar",function(){return C}),t.d(e,"__importDefault",function(){return x});var l=function(n,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t])})(n,e)};function o(n,e){function t(){this.constructor=n}l(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var r=function(){return(r=Object.assign||function(n){for(var e,t=1,l=arguments.length;t<l;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)};function i(n,e){var t={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&e.indexOf(l)<0&&(t[l]=n[l]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(l=Object.getOwnPropertySymbols(n);o<l.length;o++)e.indexOf(l[o])<0&&Object.prototype.propertyIsEnumerable.call(n,l[o])&&(t[l[o]]=n[l[o]])}return t}function a(n,e,t,l){var o,r=arguments.length,i=r<3?e:null===l?l=Object.getOwnPropertyDescriptor(e,t):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,e,t,l);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(i=(r<3?o(i):r>3?o(e,t,i):o(e,t))||i);return r>3&&i&&Object.defineProperty(e,t,i),i}function u(n,e){return function(t,l){e(t,l,n)}}function s(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)}function d(n,e,t,l){return new(t||(t=Promise))(function(o,r){function i(n){try{u(l.next(n))}catch(e){r(e)}}function a(n){try{u(l.throw(n))}catch(e){r(e)}}function u(n){n.done?o(n.value):new t(function(e){e(n.value)}).then(i,a)}u((l=l.apply(n,e||[])).next())})}function c(n,e){var t,l,o,r,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,l&&(o=2&r[0]?l.return:r[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,r[1])).done)return o;switch(l=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,l=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){i=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(6===r[0]&&i.label<o[1]){i.label=o[1],o=r;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(r);break}o[2]&&i.ops.pop(),i.trys.pop();continue}r=e.call(n,i)}catch(a){r=[6,a],l=0}finally{t=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function p(n,e){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}function f(n){var e="function"==typeof Symbol&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function h(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var l,o,r=t.call(n),i=[];try{for(;(void 0===e||e-- >0)&&!(l=r.next()).done;)i.push(l.value)}catch(a){o={error:a}}finally{try{l&&!l.done&&(t=r.return)&&t.call(r)}finally{if(o)throw o.error}}return i}function m(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(h(arguments[e]));return n}function v(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;var l=Array(n),o=0;for(e=0;e<t;e++)for(var r=arguments[e],i=0,a=r.length;i<a;i++,o++)l[o]=r[i];return l}function g(n){return this instanceof g?(this.v=n,this):new g(n)}function b(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,o=t.apply(n,e||[]),r=[];return l={},i("next"),i("throw"),i("return"),l[Symbol.asyncIterator]=function(){return this},l;function i(n){o[n]&&(l[n]=function(e){return new Promise(function(t,l){r.push([n,e,t,l])>1||a(n,e)})})}function a(n,e){try{(t=o[n](e)).value instanceof g?Promise.resolve(t.value.v).then(u,s):d(r[0][2],t)}catch(l){d(r[0][3],l)}var t}function u(n){a("next",n)}function s(n){a("throw",n)}function d(n,e){n(e),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(n){var e,t;return e={},l("next"),l("throw",function(n){throw n}),l("return"),e[Symbol.iterator]=function(){return this},e;function l(l,o){e[l]=n[l]?function(e){return(t=!t)?{value:g(n[l](e)),done:"return"===l}:o?o(e):e}:o}}function y(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=f(n),e={},l("next"),l("throw"),l("return"),e[Symbol.asyncIterator]=function(){return this},e);function l(t){e[t]=n[t]&&function(e){return new Promise(function(l,o){!function(n,e,t,l){Promise.resolve(l).then(function(e){n({value:e,done:t})},e)}(l,o,(e=n[t](e)).done,e.value)})}}}function w(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}function C(n){if(n&&n.__esModule)return n;var e={};if(null!=n)for(var t in n)Object.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}function x(n){return n&&n.__esModule?n:{default:n}}},"n/gj":function(n,e,t){n.exports={getNode:t("7GzS"),"-moz-element":t("P2RB"),element:t("P2RB"),expression:t("a3y9"),var:t("+Kd2")}},n6Bp:function(n,e){n.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(n){this.scanner.skipSC();var e,t=this.scanner.tokenStart,l=t,o=null;return e=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),n&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),o=this.SelectorList(),this.needPositions&&(l=this.getLastListNode(o.children).loc.end.offset)):this.needPositions&&(l=e.loc.end.offset),{type:"Nth",loc:this.getLocation(t,l),nth:e,selector:o}},generate:function(n){this.node(n.nth),null!==n.selector&&(this.chunk(" of "),this.node(n.selector))}}},nkY7:function(n,e,t){"use strict";function l(n){return n&&"function"==typeof n.schedule}t.d(e,"a",function(){return l})},ny24:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){var t=new u(n),l=Object(r.a)(t,this.notifier);return l&&!t.seenValue?(t.add(l),e.subscribe(t)):t},n}(),u=function(n){function e(e){var t=n.call(this,e)||this;return t.seenValue=!1,t}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(o.a)},oQam:function(n,e,t){"use strict";e.FileLikeObject=function(){function n(n){this.rawFile=n;var e,t=(e=n)&&(e.nodeName||e.prop&&e.attr&&e.find)?n.value:n;this["_createFrom"+("string"==typeof t?"FakePath":"Object")](t)}return n.prototype._createFromFakePath=function(n){this.lastModifiedDate=void 0,this.size=void 0,this.type="like/"+n.slice(n.lastIndexOf(".")+1).toLowerCase(),this.name=n.slice(n.lastIndexOf("/")+n.lastIndexOf("\\")+2)},n.prototype._createFromObject=function(n){this.size=n.size,this.type=n.type,this.name=n.name},n}()},oVTH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t("+ryv");var l=t("DtyJ"),o=t("CcnG"),r=t("M+vq");t("imBb");var i=function(){function n(n){this.options=n,this.hotkeys=[],this.pausedHotkeys=[],this.cheatSheetToggle=new l.Subject,this._preventIn=["INPUT","SELECT","TEXTAREA"],Mousetrap.prototype.stopCallback=function(n,e,t,l){return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&e.contentEditable&&"true"===e.contentEditable},this.mousetrap=new Mousetrap,this.options.disableCheatSheet||this.add(new r.Hotkey(this.options.cheatSheetHotkey||"?",(function(n){this.cheatSheetToggle.next()}).bind(this),[],this.options.cheatSheetDescription||"Show / hide this help menu")),this.options.cheatSheetCloseEsc&&this.add(new r.Hotkey("esc",(function(n){this.cheatSheetToggle.next(!1)}).bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))}return n.prototype.add=function(n,e){var t=this;if(Array.isArray(n)){for(var l=[],o=0,r=n;o<r.length;o++)l.push(this.add(r[o],e));return l}return this.remove(n),this.hotkeys.push(n),this.mousetrap.bind(n.combo,function(e,l){var o=!0;if(e){var r=e.target||e.srcElement,i=r.nodeName.toUpperCase();(" "+r.className+" ").indexOf(" mousetrap ")>-1?o=!0:t._preventIn.indexOf(i)>-1&&-1===n.allowIn.map(function(n){return n.toUpperCase()}).indexOf(i)&&(o=!1)}if(o)return n.callback.apply(t,[e,l])},e),n},n.prototype.remove=function(n){var e=[];if(!n){for(var t=0,l=this.hotkeys;t<l.length;t++)e.push(this.remove(l[t]));return e}if(Array.isArray(n)){for(var o=0,r=n;o<r.length;o++)e.push(this.remove(r[o]));return e}var i=this.findHotkey(n);return i>-1?(this.hotkeys.splice(i,1),this.mousetrap.unbind(n.combo),n):null},n.prototype.get=function(n){if(!n)return this.hotkeys;if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.get(l[t]));return e}for(var o=0;o<this.hotkeys.length;o++)if(this.hotkeys[o].combo.indexOf(n)>-1)return this.hotkeys[o];return null},n.prototype.pause=function(n){if(!n)return this.pause(this.hotkeys);if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.pause(l[t]));return e}return this.remove(n),this.pausedHotkeys.push(n),n},n.prototype.unpause=function(n){if(!n)return this.unpause(this.pausedHotkeys);if(Array.isArray(n)){for(var e=[],t=0,l=n;t<l.length;t++)e.push(this.unpause(l[t]));return e}var o=this.pausedHotkeys.indexOf(n);return o>-1?(this.add(n),this.pausedHotkeys.splice(o,1)):null},n.prototype.reset=function(){this.mousetrap.reset()},n.prototype.findHotkey=function(n){return this.hotkeys.indexOf(n)},n}();i.decorators=[{type:o.Injectable}],e.HotkeysService=i},oYUb:function(n,e,t){n.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(n){return this.AtrulePrelude(n.atrule?String(n.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:t("82qP"),atrule:t("6dTv"),pseudo:t("avj0"),node:t("585i")}},ofj6:function(n,e,t){var l=t("O36p");n.exports={matchFragments:function(n,e,t,o,r){var i=[];return null!==t.matched&&function t(a){if(null!==a.syntax&&a.syntax.type===o&&a.syntax.name===r){var u=function n(e){return"node"in e?e.node:n(e.match[0])}(a),s=function n(e){return"node"in e?e.node:n(e.match[e.match.length-1])}(a);n.syntax.walk(e,function(n,e,t){if(n===u){var o=new l;do{if(o.appendData(e.data),e.data===s)break;e=e.next}while(null!==e);i.push({parent:t,nodes:o})}})}Array.isArray(a.match)&&a.match.forEach(t)}(t.matched),i}}},ou9H:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n,e){return function(t){return t.lift(new a(n,e))}}var a=function(){function n(n,e){this.keySelector=n,this.flushes=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.keySelector,this.flushes))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.keySelector=t,o.values=new Set,l&&o.add(Object(r.a)(o,l)),o}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.values.clear()},e.prototype.notifyError=function(n,e){this._error(n)},e.prototype._next=function(n){this.keySelector?this._useKeySelector(n):this._finalizeNext(n,n)},e.prototype._useKeySelector=function(n){var e,t=this.destination;try{e=this.keySelector(n)}catch(l){return void t.error(l)}this._finalizeNext(e,n)},e.prototype._finalizeNext=function(n,e){var t=this.values;t.has(n)||(t.add(n),this.destination.next(e))},e}(o.a)},p0Sj:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("dEwP"),o=t("nkY7");function r(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n[n.length-1];return Object(o.a)(t)?(n.pop(),function(e){return Object(l.a)(n,e,t)}):function(e){return Object(l.a)(n,e)}}},p0ib:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("6blF"),o=t("nkY7"),r=t("Zn8D"),i=t("IUTb");function a(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=Number.POSITIVE_INFINITY,a=null,u=n[n.length-1];return Object(o.a)(u)?(a=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof u&&(t=n.pop()),null===a&&1===n.length&&n[0]instanceof l.a?n[0]:Object(r.a)(t)(Object(i.a)(n,a))}},p33S:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("isby"),o=t("W0Ae");function r(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return 1===n.length&&Object(l.a)(n[0])&&(n=n[0]),e.lift.call(o.a.apply(void 0,[e].concat(n)))}}},pKD1:function(n,e,t){var l=t("mrSG").__decorate,o=t("mrSG").__metadata,r=t("CcnG"),i=t("UpIn"),a=function(){function n(n){this.fileOver=new r.EventEmitter,this.onFileDrop=new r.EventEmitter,this.element=n}return n.prototype.getOptions=function(){return this.uploader.options},n.prototype.getFilters=function(){return{}},n.prototype.onDrop=function(n){var e=this._getTransfer(n);if(e){var t=this.getOptions(),l=this.getFilters();this._preventAndStop(n),this.uploader.addToQueue(e.files,t,l),this.fileOver.emit(!1),this.onFileDrop.emit(e.files)}},n.prototype.onDragOver=function(n){var e=this._getTransfer(n);this._haveFiles(e.types)&&(e.dropEffect="copy",this._preventAndStop(n),this.fileOver.emit(!0))},n.prototype.onDragLeave=function(n){this.element&&n.currentTarget===this.element[0]||(this._preventAndStop(n),this.fileOver.emit(!1))},n.prototype._getTransfer=function(n){return n.dataTransfer?n.dataTransfer:n.originalEvent.dataTransfer},n.prototype._preventAndStop=function(n){n.preventDefault(),n.stopPropagation()},n.prototype._haveFiles=function(n){return!!n&&(n.indexOf?-1!==n.indexOf("Files"):!!n.contains&&n.contains("Files"))},n}();l([r.Input(),o("design:type",i.FileUploader)],a.prototype,"uploader",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"fileOver",void 0),l([r.Output(),o("design:type",r.EventEmitter)],a.prototype,"onFileDrop",void 0),l([r.HostListener("drop",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],a.prototype,"onDrop",null),l([r.HostListener("dragover",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",void 0)],a.prototype,"onDragOver",null),l([r.HostListener("dragleave",["$event"]),o("design:type",Function),o("design:paramtypes",[Object]),o("design:returntype",Object)],a.prototype,"onDragLeave",null),a=l([r.Directive({selector:"[ng2FileDrop]"})],a),e.FileDropDirective=a},pbg4:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("6blF"),o=t("svcd"),r=t("67Y/"),i=t("1fDf"),a=t("isby"),u=t("nkY7");function s(n,e,t){if(e){if(!Object(u.a)(e))return function(){for(var l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return s(n,t).apply(void 0,l).pipe(Object(r.a)(function(n){return Object(a.a)(n)?e.apply(void 0,n):e(n)}))};t=e}return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a,u=this,s={context:u,subject:a,callbackFunc:n,scheduler:t};return new l.a(function(l){if(t)return t.schedule(d,0,{args:e,subscriber:l,params:s});if(!a){a=new o.a;try{n.apply(u,e.concat([function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];a.next(n.length<=1?n[0]:n),a.complete()}]))}catch(r){Object(i.a)(a)?a.error(r):console.warn(r)}}return a.subscribe(l)})}}function d(n){var e=this,t=n.args,l=n.subscriber,r=n.params,i=r.callbackFunc,a=r.context,u=r.scheduler,s=r.subject;if(!s){s=r.subject=new o.a;try{i.apply(a,t.concat([function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var l=n.length<=1?n[0]:n;e.add(u.schedule(c,0,{value:l,subject:s}))}]))}catch(d){s.error(d)}}this.add(s.subscribe(l))}function c(n){var e=n.subject;e.next(n.value),e.complete()}},psW0:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("mrSG"),o=t("zotm"),r=t("MGBS"),i=t("rPjj"),a=t("67Y/"),u=t("0/uQ");function s(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?function(l){return l.pipe(s(function(t,l){return Object(u.a)(n(t,l)).pipe(Object(a.a)(function(n,o){return e(t,n,l,o)}))},t))}:("number"==typeof e&&(t=e),function(e){return e.lift(new d(n,t))})}var d=function(){function n(n,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=n,this.concurrent=e}return n.prototype.call=function(n,e){return e.subscribe(new c(n,this.project,this.concurrent))},n}(),c=function(n){function e(e,t,l){void 0===l&&(l=Number.POSITIVE_INFINITY);var o=n.call(this,e)||this;return o.project=t,o.concurrent=l,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return l.__extends(e,n),e.prototype._next=function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)},e.prototype._tryNext=function(n){var e,t=this.index++;try{e=this.project(n,t)}catch(l){return void this.destination.error(l)}this.active++,this._innerSub(e,n,t)},e.prototype._innerSub=function(n,e,t){var l=new i.a(this,void 0,void 0);this.destination.add(l),Object(o.a)(this,n,e,t,l)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this.destination.next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.remove(n),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(r.a)},pugT:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("isby"),o=t("McSo"),r=t("2Bdj"),i=t("awvh"),a=function(){function n(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}var e;return n.prototype.unsubscribe=function(){var e;if(!this.closed){var t=this._parentOrParents,a=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof n)t.remove(this);else if(null!==t)for(var d=0;d<t.length;++d)t[d].remove(this);if(Object(r.a)(a))try{a.call(this)}catch(f){e=f instanceof i.a?u(f.errors):[f]}if(Object(l.a)(s)){d=-1;for(var c=s.length;++d<c;){var p=s[d];if(Object(o.a)(p))try{p.unsubscribe()}catch(f){e=e||[],f instanceof i.a?e=e.concat(u(f.errors)):e.push(f)}}}if(e)throw new i.a(e)}},n.prototype.add=function(e){var t=e;if(!e)return n.EMPTY;switch(typeof e){case"function":t=new n(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof n)){var l=t;(t=new n)._subscriptions=[l]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var o=t._parentOrParents;if(null===o)t._parentOrParents=this;else if(o instanceof n){if(o===this)return t;t._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return t;o.push(this)}var r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t},n.prototype.remove=function(n){var e=this._subscriptions;if(e){var t=e.indexOf(n);-1!==t&&e.splice(t,1)}},n.EMPTY=((e=new n).closed=!0,e),n}();function u(n){return n.reduce(function(n,e){return n.concat(e instanceof i.a?e.errors:e)},[])}},q8iK:function(n,e){},qyHS:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i)}}var i=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new a(n))},n}(),a=function(n){function e(e){var t=n.call(this,e)||this;return t.hasPrev=!1,t}return l.__extends(e,n),e.prototype._next=function(n){var e;this.hasPrev?e=[this.prev,n]:this.hasPrev=!0,this.prev=n,e&&this.destination.next(e)},e}(o.a)},r1XK:function(n,e,t){var l=t("vd7W").TYPE.String;n.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(l)}},generate:function(n){this.chunk(n.value)}}},rPjj:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("mrSG"),o=function(n){function e(e,t,l){var o=n.call(this)||this;return o.parent=e,o.outerValue=t,o.outerIndex=l,o.index=0,o}return l.__extends(e,n),e.prototype._next=function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)},e.prototype._error=function(n){this.parent.notifyError(n,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(t("FFOo").a)},s4kO:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("S5bw"),o=t("xlPZ");function r(n,e,t,r){t&&"function"!=typeof t&&(r=t);var i="function"==typeof t?t:void 0,a=new l.a(n,e,r);return function(n){return Object(o.a)(function(){return a},i)(n)}}},sLa7:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n,e,t){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(l){return l.lift(new a(n,e,t))}}var a=function(){function n(n,e,t){this.project=n,this.concurrent=e,this.scheduler=t}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.project,this.concurrent,this.scheduler))},n}(),u=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r.project=t,r.concurrent=l,r.scheduler=o,r.index=0,r.active=0,r.hasCompleted=!1,l<Number.POSITIVE_INFINITY&&(r.buffer=[]),r}return l.__extends(e,n),e.dispatch=function(n){n.subscriber.subscribeToProjection(n.result,n.value,n.index)},e.prototype._next=function(n){var t=this.destination;if(t.closed)this._complete();else{var l=this.index++;if(this.active<this.concurrent){t.next(n);try{var o=(0,this.project)(n,l);this.scheduler?this.destination.add(this.scheduler.schedule(e.dispatch,0,{subscriber:this,result:o,value:n,index:l})):this.subscribeToProjection(o,n,l)}catch(r){t.error(r)}}else this.buffer.push(n)}},e.prototype.subscribeToProjection=function(n,e,t){this.active++,this.destination.add(Object(r.a)(this,n,e,t))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(n,e,t,l,o){this._next(e)},e.prototype.notifyComplete=function(n){var e=this.buffer;this.destination.remove(n),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.a)},siIJ:function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l=function(){function n(e,t){void 0===t&&(t=n.now),this.SchedulerAction=e,this.now=t}return n.prototype.schedule=function(n,e,t){return void 0===e&&(e=0),new this.SchedulerAction(this,n).schedule(t,e)},n.now=function(){return Date.now()},n}()},sjRw:function(n,e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,t,l,o){if(0===t.length)return-1;var r=function n(t,l,o,r,i,a){var u=Math.floor((l-t)/2)+t,s=i(o,r[u],!0);return 0===s?u:s>0?l-u>1?n(u,l,o,r,i,a):a==e.LEAST_UPPER_BOUND?l<r.length?l:-1:u:u-t>1?n(t,u,o,r,i,a):a==e.LEAST_UPPER_BOUND?u:t<0?-1:t}(-1,t.length,n,t,l,o||e.GREATEST_LOWER_BOUND);if(r<0)return-1;for(;r-1>=0&&0===l(t[r],t[r-1],!0);)--r;return r}},svcd:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("K9Ia"),r=t("pugT"),i=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return l.__extends(e,n),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),r.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),r.a.EMPTY):n.prototype._subscribe.call(this,e)},e.prototype.next=function(n){this.hasCompleted||(this.value=n,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||n.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&n.prototype.next.call(this,this.value),n.prototype.complete.call(this)},e}(o.b)},t1UP:function(n,e){var t=Object.prototype.hasOwnProperty,l=Object.create(null),o=Object.create(null),r=45;function i(n,e){return n.length-(e=e||0)>=2&&n.charCodeAt(e)===r&&n.charCodeAt(e+1)===r}function a(n,e){if(n.length-(e=e||0)>=3&&n.charCodeAt(e)===r&&n.charCodeAt(e+1)!==r){var t=n.indexOf("-",e+2);if(-1!==t)return n.substring(e,t+1)}return""}n.exports={keyword:function(n){if(t.call(l,n))return l[n];var e=n.toLowerCase();if(t.call(l,e))return l[n]=l[e];var o=i(e,0),r=o?"":a(e,0);return l[n]=Object.freeze({basename:e.substr(r.length),name:e,vendor:r,prefix:r,custom:o})},property:function(n){if(t.call(o,n))return o[n];var e=n,l=n[0];"/"===l?l="/"===n[1]?"//":"/":"_"!==l&&"*"!==l&&"$"!==l&&"#"!==l&&"+"!==l&&"&"!==l&&(l="");var r=i(e,l.length);if(!r&&(e=e.toLowerCase(),t.call(o,e)))return o[n]=o[e];var u=r?"":a(e,l.length),s=e.substr(0,l.length+u.length);return o[n]=Object.freeze({basename:e.substr(s.length),name:e.substr(l.length),hack:l,vendor:u,prefix:s,custom:r})},isCustomProperty:i,vendorPrefix:a}},t9fZ:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("b7mW"),i=t("G5J1");function a(n){return function(e){return 0===n?Object(i.b)():e.lift(new u(n))}}var u=function(){function n(n){if(this.total=n,this.total<0)throw new r.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.total=t,l.count=0,l}return l.__extends(e,n),e.prototype._next=function(n){var e=this.total,t=++this.count;t<=e&&(this.destination.next(n),t===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)},tHPV:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.__extends(e,n),e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0?n.prototype.requestAsyncId.call(this,e,t,l):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,t,l){if(void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,l);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)},e}(t("h9Dq").a),r=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var e,t=this.actions,l=-1,o=t.length;n=n||t.shift();do{if(e=n.execute(n.state,n.delay))break}while(++l<o&&(n=t.shift()));if(this.active=!1,e){for(;++l<o&&(n=t.shift());)n.unsubscribe();throw e}},e}(t("CS9Q").a);t.d(e,"a",function(){return i});var i=new r(o)},tMwf:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("K9Ia"),r=t("MGBS"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.notifier,e))},n}(),s=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.notifier=t,o.source=l,o.sourceIsBeingSubscribedTo=!0,o}return l.__extends(e,n),e.prototype.notifyNext=function(n,e,t,l,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return n.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return n.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var n=this.notifications,e=this.retriesSubscription;n&&(n.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,n.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new o.b;try{e=(0,this.notifier)(this.notifications)}catch(t){return n.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(i.a)(this,e)},e}(r.a)},tNVB:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("3fWJ"),r=t("FFOo");function i(n){return void 0===n&&(n=s),function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.errorFactory=n}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.errorFactory))},n}(),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.errorFactory=t,l.hasValue=!1,l}return l.__extends(e,n),e.prototype._next=function(n){this.hasValue=!0,this.destination.next(n)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var n=void 0;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)},e}(r.a);function s(){return new o.a}},"te+T":function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},twQA:function(n,e,t){const l=t("3XNy");function o(n,e,t){for(var l=0;l<n.length;l++)e(l)&&(n[l]=t)}for(var r={Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},i=Object.keys(r).reduce(function(n,e){return n[r[e]]=e,n},{}),a={Eof:128,Delim:129,WhiteSpace:130,Digit:131,NameStart:132,NonPrintable:133,Newline:134},u="undefined"!=typeof Uint32Array?Uint32Array:Array,s=new u(128),d=new u(128),c=new u(128),p=0;p<s.length;p++)d[p]=c[p]=s[p]=p||a.Eof;o(s,l.isWhiteSpace,a.WhiteSpace),o(s,l.isDigit,a.Digit),o(s,l.isNameStart,a.NameStart),o(d,l.isNewline,a.Newline),o(c,l.isWhiteSpace,a.WhiteSpace),o(c,l.isNonPrintable,a.NonPrintable),n.exports={TYPE:r,NAME:i,CHARCODE:{Tab:9,LineFeed:10,FormFeed:12,CarriageReturn:13,Space:32,ExclamationMark:33,QuotationMark:34,NumberSign:35,DollarSign:36,PercentSign:37,Ampersand:38,Apostrophe:39,LeftParenthesis:40,RightParenthesis:41,Asterisk:42,PlusSign:43,Comma:44,HyphenMinus:45,FullStop:46,Solidus:47,Colon:58,Semicolon:59,LessThanSign:60,EqualsSign:61,GreaterThanSign:62,QuestionMark:63,CommercialAt:64,LeftSquareBracket:91,Backslash:92,RightSquareBracket:93,CircumflexAccent:94,LowLine:95,GraveAccent:96,LeftCurlyBracket:123,VerticalLine:124,RightCurlyBracket:125,Tilde:126},INPUT_STREAM_CODE:s,INPUT_STREAM_CODE_STRING:d,INPUT_STREAM_CODE_URL:c,INPUT_STREAM_CODE_TYPE:a}},twrC:function(n,e,t){n.exports=t("errG")},u5kB:function(n,e,t){var l=t("KjDf"),o=t("1aLD"),r=t("8wsT"),i=t("O36p"),a=t("vd7W"),u=t("twQA"),s=t("P3uw").findWhiteSpaceStart,d=t("OohF"),c=function(){},p=u.TYPE,f=u.NAME,h=p.WhiteSpace,m=p.Ident,v=p.Function,g=p.Url,b=p.Hash,_=p.Percentage,y=p.Number,w=u.CHARCODE.NumberSign;function C(n){return function(){return this[n]()}}n.exports=function(n){var e={scanner:new r,locationMap:new l,filename:"<unknown>",needPositions:!1,onParseError:c,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:d,createList:function(){return new i},createSingleNodeList:function(n){return(new i).appendData(n)},getFirstListNode:function(n){return n&&n.first()},getLastListNode:function(n){return n.last()},parseWithFallback:function(n,e){var t=this.scanner.tokenIndex;try{return n.call(this)}catch(o){if(this.onParseErrorThrow)throw o;var l=e.call(this,t);return this.onParseErrorThrow=!0,this.onParseError(o,l),this.onParseErrorThrow=!1,l}},lookupNonWSType:function(n){do{var e=this.scanner.lookupType(n++);if(e!==h)return e}while(0!==e);return 0},eat:function(n){if(this.scanner.tokenType!==n){var e=this.scanner.tokenStart,t=f[n]+" is expected";switch(n){case m:this.scanner.tokenType===v||this.scanner.tokenType===g?(e=this.scanner.tokenEnd-1,t="Identifier is expected but function found"):t="Identifier is expected";break;case b:this.scanner.isDelim(w)&&(this.scanner.next(),e++,t="Name is expected");break;case _:this.scanner.tokenType===y&&(e=this.scanner.tokenEnd,t="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===n&&(e+=1)}this.error(t,e)}this.scanner.next()},consume:function(n){var e=this.scanner.getTokenValue();return this.eat(n),e},consumeFunctionName:function(){var n=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(v),n},getLocation:function(n,e){return this.needPositions?this.locationMap.getLocationRange(n,e,this.filename):null},getLocationFromList:function(n){if(this.needPositions){var e=this.getFirstListNode(n),t=this.getLastListNode(n);return this.locationMap.getLocationRange(null!==e?e.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==t?t.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(n,e){var t=this.locationMap.getLocation(void 0!==e&&e<this.scanner.source.length?e:this.scanner.eof?s(this.scanner.source,this.scanner.source.length-1):this.scanner.tokenStart);throw new o(n||"Unexpected input",this.scanner.source,t.offset,t.line,t.column)}};for(var t in n=function(n){var e={context:{},scope:{},atrule:{},pseudo:{}};if(n.parseContext)for(var t in n.parseContext)switch(typeof n.parseContext[t]){case"function":e.context[t]=n.parseContext[t];break;case"string":e.context[t]=C(n.parseContext[t])}if(n.scope)for(var t in n.scope)e.scope[t]=n.scope[t];if(n.atrule)for(var t in n.atrule){var l=n.atrule[t];l.parse&&(e.atrule[t]=l.parse)}if(n.pseudo)for(var t in n.pseudo){var o=n.pseudo[t];o.parse&&(e.pseudo[t]=o.parse)}if(n.node)for(var t in n.node)e[t]=n.node[t].parse;return e}(n||{}))e[t]=n[t];return function(n,t){var l,o=(t=t||{}).context||"default";if(a(n,e.scanner),e.locationMap.setSource(n,t.offset,t.line,t.column),e.filename=t.filename||"<unknown>",e.needPositions=Boolean(t.positions),e.onParseError="function"==typeof t.onParseError?t.onParseError:c,e.onParseErrorThrow=!1,e.parseAtrulePrelude=!("parseAtrulePrelude"in t)||Boolean(t.parseAtrulePrelude),e.parseRulePrelude=!("parseRulePrelude"in t)||Boolean(t.parseRulePrelude),e.parseValue=!("parseValue"in t)||Boolean(t.parseValue),e.parseCustomProperty="parseCustomProperty"in t&&Boolean(t.parseCustomProperty),!e.context.hasOwnProperty(o))throw new Error("Unknown context `"+o+"`");return l=e.context[o].call(e,t),e.scanner.eof||e.error(),l}}},uMaO:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this)||this;return l.subject=e,l.subscriber=t,l.closed=!1,l}return l.__extends(e,n),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var n=this.subject,e=n.observers;if(this.subject=null,e&&0!==e.length&&!n.isStopped&&!n.closed){var t=e.indexOf(this.subscriber);-1!==t&&e.splice(t,1)}}},e}(t("pugT").a)},uW6F:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("60iU");function i(){return function(n){return n.lift(new a)}}var a=function(){function n(){}return n.prototype.call=function(n,e){return e.subscribe(new u(n))},n}(),u=function(n){function e(e){return n.call(this,e)||this}return l.__extends(e,n),e.prototype._next=function(n){this.destination.next(r.a.createNext(n))},e.prototype._error=function(n){var e=this.destination;e.next(r.a.createError(n)),e.complete()},e.prototype._complete=function(){var n=this.destination;n.next(r.a.createComplete()),n.complete()},e}(o.a)},"uZ+w":function(n,e,t){var l=t("2yWD").SyntaxParseError,o=function(n){this.str=n,this.pos=0};o.prototype={charCodeAt:function(n){return n<this.str.length?this.str.charCodeAt(n):0},charCode:function(){return this.charCodeAt(this.pos)},nextCharCode:function(){return this.charCodeAt(this.pos+1)},nextNonWsCode:function(n){return this.charCodeAt(this.findWsEnd(n))},findWsEnd:function(n){for(;n<this.str.length;n++){var e=this.str.charCodeAt(n);if(13!==e&&10!==e&&12!==e&&32!==e&&9!==e)break}return n},substringToPos:function(n){return this.str.substring(this.pos,this.pos=n)},eat:function(n){this.charCode()!==n&&this.error("Expect `"+String.fromCharCode(n)+"`"),this.pos++},peek:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""},error:function(n){throw new l(n,this.str,this.pos)}},n.exports=o},ujTQ:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("FFOo"),r=t("3fWJ");function i(n){return function(e){return e.lift(new a(n,e))}}var a=function(){function n(n,e){this.predicate=n,this.source=e}return n.prototype.call=function(n,e){return e.subscribe(new u(n,this.predicate,this.source))},n}(),u=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.predicate=t,o.source=l,o.seenValue=!1,o.index=0,o}return l.__extends(e,n),e.prototype.applySingleValue=function(n){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=n)},e.prototype._next=function(n){var e=this.index++;this.predicate?this.tryNext(n,e):this.applySingleValue(n)},e.prototype.tryNext=function(n,e){try{this.predicate(n,e,this.source)&&this.applySingleValue(n)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var n=this.destination;this.index>0?(n.next(this.seenValue?this.singleValue:void 0),n.complete()):n.error(new r.a)},e}(o.a)},v9aN:function(n,e){function t(n){this.name="RavenConfigError",this.message=n}(t.prototype=new Error).constructor=t,n.exports=t},vAyL:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("6blF");function o(n,e,t){return void 0===n&&(n=0),new l.a(function(l){void 0===e&&(e=n,n=0);var o=0,i=n;if(t)return t.schedule(r,0,{index:o,count:e,start:n,subscriber:l});for(;;){if(o++>=e){l.complete();break}if(l.next(i++),l.closed)break}})}function r(n){var e=n.start,t=n.index,l=n.subscriber;t>=n.count?l.complete():(l.next(e),l.closed||(n.index=t+1,n.start=e+1,this.schedule(n)))}},vYjF:function(n,e,t){var l=t("BjAV"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(n){return void 0===n}function i(n){return"[object Object]"===Object.prototype.toString.call(n)}function a(n){return"[object String]"===Object.prototype.toString.call(n)}function u(n){return"[object Array]"===Object.prototype.toString.call(n)}function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request(""),new Response,!0}catch(n){return!1}}function d(n,e){var t,l;if(r(n.length))for(t in n)p(n,t)&&e.call(null,t,n[t]);else if(l=n.length)for(t=0;t<l;t++)e.call(null,t,n[t])}function c(n,e){if("number"!=typeof e)throw new Error("2nd argument to `truncate` function should be a number");return"string"!=typeof n||0===e?n:n.length<=e?n:n.substr(0,e)+"\u2026"}function p(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function f(n){for(var e,t=[],l=0,o=n.length;l<o;l++)a(e=n[l])?t.push(e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):e&&e.source&&t.push(e.source);return new RegExp(t.join("|"),"i")}function h(n){var e,t,l,o,r,i=[];if(!n||!n.tagName)return"";if(i.push(n.tagName.toLowerCase()),n.id&&i.push("#"+n.id),(e=n.className)&&a(e))for(t=e.split(/\s+/),r=0;r<t.length;r++)i.push("."+t[r]);var u=["type","name","title","alt"];for(r=0;r<u.length;r++)(o=n.getAttribute(l=u[r]))&&i.push("["+l+'="'+o+'"]');return i.join("")}function m(n,e){return!!(!!n^!!e)}function v(n,e){if(m(n,e))return!1;var t,l,o=n.frames,r=e.frames;if(void 0===o||void 0===r)return!1;if(o.length!==r.length)return!1;for(var i=0;i<o.length;i++)if((t=o[i]).filename!==(l=r[i]).filename||t.lineno!==l.lineno||t.colno!==l.colno||t.function!==l.function)return!1;return!0}function g(n){if("string"==typeof n)return c(n,40);if("number"==typeof n||"boolean"==typeof n||void 0===n)return n;var e=Object.prototype.toString.call(n);return"[object Object]"===e?"[Object]":"[object Array]"===e?"[Array]":"[object Function]"===e?n.name?"[Function: "+n.name+"]":"[Function]":n}n.exports={isObject:function(n){return"object"==typeof n&&null!==n},isError:function(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}},isErrorEvent:function(n){return"[object ErrorEvent]"===Object.prototype.toString.call(n)},isDOMError:function(n){return"[object DOMError]"===Object.prototype.toString.call(n)},isDOMException:function(n){return"[object DOMException]"===Object.prototype.toString.call(n)},isUndefined:r,isFunction:function(n){return"function"==typeof n},isPlainObject:i,isString:a,isArray:u,isEmptyObject:function(n){if(!i(n))return!1;for(var e in n)if(n.hasOwnProperty(e))return!1;return!0},supportsErrorEvent:function(){try{return new ErrorEvent(""),!0}catch(n){return!1}},supportsDOMError:function(){try{return new DOMError(""),!0}catch(n){return!1}},supportsDOMException:function(){try{return new DOMException(""),!0}catch(n){return!1}},supportsFetch:s,supportsReferrerPolicy:function(){if(!s())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(n){return!1}},supportsPromiseRejectionEvent:function(){return"function"==typeof PromiseRejectionEvent},wrappedCallback:function(n){return function(e,t){var l=n(e)||e;return t&&t(l)||l}},each:d,objectMerge:function(n,e){return e?(d(e,function(e,t){n[e]=t}),n):n},truncate:c,objectFrozen:function(n){return!!Object.isFrozen&&Object.isFrozen(n)},hasKey:p,joinRegExp:f,urlencode:function(n){var e=[];return d(n,function(n,t){e.push(encodeURIComponent(n)+"="+encodeURIComponent(t))}),e.join("&")},uuid4:function(){var n=o.crypto||o.msCrypto;if(!r(n)&&n.getRandomValues){var e=new Uint16Array(8);n.getRandomValues(e),e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;var t=function(n){for(var e=n.toString(16);e.length<4;)e="0"+e;return e};return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(n){var e=16*Math.random()|0;return("x"===n?e:3&e|8).toString(16)})},htmlTreeAsString:function(n){for(var e,t=[],l=0,o=0,r=" > ".length;n&&l++<5&&!("html"===(e=h(n))||l>1&&o+t.length*r+e.length>=80);)t.push(e),o+=e.length,n=n.parentNode;return t.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(n,e){return!m(n,e)&&(n=n.values[0]).type===(e=e.values[0]).type&&n.value===e.value&&(t=e.stacktrace,(!r(n.stacktrace)||!r(t))&&v(n.stacktrace,e.stacktrace));var t},isSameStacktrace:v,parseUrl:function(n){if("string"!=typeof n)return{};var e=n.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return{protocol:e[2],host:e[4],path:e[5],relative:e[5]+(e[6]||"")+(e[8]||"")}},fill:function(n,e,t,l){if(null!=n){var o=n[e];n[e]=t(o),n[e].__raven__=!0,n[e].__orig__=o,l&&l.push([n,e,o])}},safeJoin:function(n,e){if(!u(n))return"";for(var t=[],l=0;l<n.length;l++)try{t.push(String(n[l]))}catch(o){t.push("[value cannot be serialized]")}return t.join(e)},serializeException:function n(e,t,o){if(!i(e))return e;o="number"!=typeof(t="number"!=typeof t?3:t)?51200:o;var r,a=function n(e,t){return 0===t?g(e):i(e)?Object.keys(e).reduce(function(l,o){return l[o]=n(e[o],t-1),l},{}):Array.isArray(e)?e.map(function(e){return n(e,t-1)}):g(e)}(e,t);return r=l(a),function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(r))>o?n(e,t-1):a},serializeKeysForMessage:function(n,e){if("number"==typeof n||"string"==typeof n)return n.toString();if(!Array.isArray(n))return"";if(0===(n=n.filter(function(n){return"string"==typeof n})).length)return"[object has no keys]";if(n[0].length>=(e="number"!=typeof e?40:e))return n[0];for(var t=n.length;t>0;t--){var l=n.slice(0,t).join(", ");if(!(l.length>e))return t===n.length?l:l+"\u2026"}return""},sanitize:function(n,e){if(!u(e)||u(e)&&0===e.length)return n;var t,o=f(e);try{t=JSON.parse(l(n))}catch(r){return n}return function n(e){return u(e)?e.map(function(e){return n(e)}):i(e)?Object.keys(e).reduce(function(t,l){return t[l]=o.test(l)?"********":n(e[l]),t},{}):e}(t)}}},vd7W:function(n,e,t){var l=t("8wsT"),o=t("Sean"),r=t("twQA"),i=r.TYPE,a=r.CHARCODE,u=r.INPUT_STREAM_CODE,s=r.INPUT_STREAM_CODE_STRING,d=r.INPUT_STREAM_CODE_URL,c=r.INPUT_STREAM_CODE_TYPE,p=t("P3uw"),f=p.firstCharOffset,h=p.cmpStr,m=p.getNewlineLength,v=p.isNewline,g=p.isName,b=p.isValidEscape,_=p.isNumberStart,y=p.isIdentifierStart,w=p.findWhiteSpaceEnd,C=p.consumeEscaped,x=p.consumeName,S=p.consumeNumber,k=p.consumeBadUrlRemnants,E=a.Asterisk,T=a.HyphenMinus,R=a.GreaterThanSign,I=a.ExclamationMark,D=a.PercentSign,O=16777215,F=24;function N(n,e){function t(e){return e<M?n.charCodeAt(e):0}function r(){return j=S(n,j),y(t(j),t(j+1),t(j+2))?(U=i.Dimension,void(j=x(n,j))):t(j)===D?(U=i.Percentage,void j++):void(U=i.Number)}function a(){const e=j;return j=x(n,j),h(n,e,j,"url")&&40===t(j)?34===t(j=w(n,j+1))||39===t(j)?(U=i.Function,void(j=e+4)):void function(){for(U=i.Url,j=w(n,j);j<n.length;j++){var e=n.charCodeAt(j);switch(e<128?d[e]:e){case 41:return void j++;case c.Eof:return;case c.WhiteSpace:return 41===t(j=w(n,j))||j>=n.length?void(j<n.length&&j++):(j=k(n,j),void(U=i.BadUrl));case 34:case 39:case 40:case c.NonPrintable:return j=k(n,j),void(U=i.BadUrl);case 92:if(b(e,t(j+1))){j=C(n,j)-1;break}return j=k(n,j),void(U=i.BadUrl)}}}():40===t(j)?(U=i.Function,void j++):void(U=i.Ident)}function p(e){for(e||(e=t(j++)),U=i.String;j<n.length;j++){var l=n.charCodeAt(j);switch(l<128?s[l]:l){case e:return void j++;case c.Eof:return;case c.Newline:return j+=m(n,j,l),void(U=i.BadString);case 92:if(j===n.length-1)break;var o=t(j+1);v(o)?j+=m(n,j+1,o):b(l,o)&&(j=C(n,j)-1)}}}e||(e=new l),n=String(n||"");for(var N=f(n),M=n.length,A=o(e.offsetAndType,M+1),q=o(e.balance,M+1),P=0,j=N,L=0,V=0,B=0;j<M;){var z=n.charCodeAt(j),U=0;switch(q[P]=M,z<128?u[z]:c.NameStart){case c.WhiteSpace:U=i.WhiteSpace,j=w(n,j+1);break;case 34:p();break;case 35:g(t(j+1))||b(t(j+1),t(j+2))?(U=i.Hash,j=x(n,j+1)):(U=i.Delim,j++);break;case 39:p();break;case 40:U=i.LeftParenthesis,j++;break;case 41:U=i.RightParenthesis,j++;break;case 43:_(z,t(j+1),t(j+2))?r():(U=i.Delim,j++);break;case 44:U=i.Comma,j++;break;case 45:_(z,t(j+1),t(j+2))?r():t(j+1)===T&&t(j+2)===R?(U=i.CDC,j+=3):y(z,t(j+1),t(j+2))?a():(U=i.Delim,j++);break;case 46:_(z,t(j+1),t(j+2))?r():(U=i.Delim,j++);break;case 47:t(j+1)===E?(U=i.Comment,1===(j=n.indexOf("*/",j+2)+2)&&(j=n.length)):(U=i.Delim,j++);break;case 58:U=i.Colon,j++;break;case 59:U=i.Semicolon,j++;break;case 60:t(j+1)===I&&t(j+2)===T&&t(j+3)===T?(U=i.CDO,j+=4):(U=i.Delim,j++);break;case 64:y(t(j+1),t(j+2),t(j+3))?(U=i.AtKeyword,j=x(n,j+1)):(U=i.Delim,j++);break;case 91:U=i.LeftSquareBracket,j++;break;case 92:b(z,t(j+1))?a():(U=i.Delim,j++);break;case 93:U=i.RightSquareBracket,j++;break;case 123:U=i.LeftCurlyBracket,j++;break;case 125:U=i.RightCurlyBracket,j++;break;case c.Digit:r();break;case c.NameStart:a();break;case c.Eof:break;default:U=i.Delim,j++}switch(U){case L:for(L=(V=q[B=V&O])>>F,q[P]=B,q[B++]=P;B<P;B++)q[B]===M&&(q[B]=P);break;case i.LeftParenthesis:case i.Function:q[P]=V,V=(L=i.RightParenthesis)<<F|P;break;case i.LeftSquareBracket:q[P]=V,V=(L=i.RightSquareBracket)<<F|P;break;case i.LeftCurlyBracket:q[P]=V,V=(L=i.RightCurlyBracket)<<F|P}A[P++]=U<<F|j}for(A[P]=j,q[P]=M,q[M]=M;0!==V;)V=q[B=V&O],q[B]=M;return e.source=n,e.firstCharOffset=N,e.offsetAndType=A,e.tokenCount=P,e.balance=q,e.reset(),e.next(),e}Object.keys(r).forEach(function(n){N[n]=r[n]}),Object.keys(p).forEach(function(n){N[n]=p[n]}),n.exports=N},vubp:function(n,e,t){"use strict";t.d(e,"a",function(){return u});var l=t("mrSG"),o=t("T1DM"),r=t("VGuC"),i=t("FFOo"),a=t("60iU");function u(n,e){void 0===e&&(e=o.a);var t=Object(r.a)(n)?+n-e.now():Math.abs(n);return function(n){return n.lift(new s(t,e))}}var s=function(){function n(n,e){this.delay=n,this.scheduler=e}return n.prototype.call=function(n,e){return e.subscribe(new d(n,this.delay,this.scheduler))},n}(),d=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.delay=t,o.scheduler=l,o.queue=[],o.active=!1,o.errored=!1,o}return l.__extends(e,n),e.dispatch=function(n){for(var e=n.source,t=e.queue,l=n.scheduler,o=n.destination;t.length>0&&t[0].time-l.now()<=0;)t.shift().notification.observe(o);if(t.length>0){var r=Math.max(0,t[0].time-l.now());this.schedule(n,r)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(n){this.active=!0,this.destination.add(n.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))},e.prototype.scheduleNotification=function(n){if(!0!==this.errored){var e=this.scheduler,t=new c(e.now()+this.delay,n);this.queue.push(t),!1===this.active&&this._schedule(e)}},e.prototype._next=function(n){this.scheduleNotification(a.a.createNext(n))},e.prototype._error=function(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()},e}(i.a),c=function(){return function(n,e){this.time=n,this.notification=e}}()},w1EH:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var l=t("3fWJ"),o=t("VnD/"),r=t("AxiF"),i=t("tNVB"),a=t("HJBe"),u=t("mChF");function s(n,e){var t=arguments.length>=2;return function(s){return s.pipe(n?Object(o.a)(function(e,t){return n(e,t,s)}):u.a,Object(r.a)(1),t?Object(a.a)(e):Object(i.a)(function(){return new l.a}))}}},wDBO:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("mrSG"),o=t("MGBS"),r=t("zotm");function i(n){return function(e){return e.lift(new a(n))}}var a=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,e){var t=new u(n),l=e.subscribe(t);return l.add(Object(r.a)(t,this.notifier)),l},n}(),u=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.hasValue=!1,e}return l.__extends(e,n),e.prototype._next=function(n){this.value=n,this.hasValue=!0},e.prototype.notifyNext=function(n,e,t,l,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(o.a)},wDXs:function(n,e,t){n.exports=t("2pxp")},wjTF:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e))}}var i=function(){function n(n,e){this.compareTo=n,this.comparator=e}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.compareTo,this.comparator))},n}(),a=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.compareTo=t,o.comparator=l,o._a=[],o._b=[],o._oneComplete=!1,o.destination.add(t.subscribe(new u(e,o))),o}return l.__extends(e,n),e.prototype._next=function(n){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(n),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var n=this._a,e=this._b,t=this.comparator;n.length>0&&e.length>0;){var l=n.shift(),o=e.shift(),r=!1;try{r=t?t(l,o):l===o}catch(i){this.destination.error(i)}r||this.emit(!1)}},e.prototype.emit=function(n){var e=this.destination;e.next(n),e.complete()},e.prototype.nextB=function(n){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(n),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(o.a),u=function(n){function e(e,t){var l=n.call(this,e)||this;return l.parent=t,l}return l.__extends(e,n),e.prototype._next=function(n){this.parent.nextB(n)},e.prototype._error=function(n){this.parent.error(n),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(o.a)},xDdU:function(n,e,t){var l,o,r=t("4fRq"),i=t("I2ZF"),a=0,u=0;n.exports=function(n,e,t){var s=e&&t||0,d=e||[],c=(n=n||{}).node||l,p=void 0!==n.clockseq?n.clockseq:o;if(null==c||null==p){var f=r();null==c&&(c=l=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=o=16383&(f[6]<<8|f[7]))}var h=void 0!==n.msecs?n.msecs:(new Date).getTime(),m=void 0!==n.nsecs?n.nsecs:u+1,v=h-a+(m-u)/1e4;if(v<0&&void 0===n.clockseq&&(p=p+1&16383),(v<0||h>a)&&void 0===n.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,u=m,o=p;var g=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;d[s++]=g>>>24&255,d[s++]=g>>>16&255,d[s++]=g>>>8&255,d[s++]=255&g;var b=h/4294967296*1e4&268435455;d[s++]=b>>>8&255,d[s++]=255&b,d[s++]=b>>>24&15|16,d[s++]=b>>>16&255,d[s++]=p>>>8|128,d[s++]=255&p;for(var _=0;_<6;++_)d[s+_]=c[_];return e||i(d)}},xMyE:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("FFOo"),r=t("+umK"),i=t("2Bdj");function a(n,e,t){return function(l){return l.lift(new u(n,e,t))}}var u=function(){function n(n,e,t){this.nextOrObserver=n,this.error=e,this.complete=t}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.nextOrObserver,this.error,this.complete))},n}(),s=function(n){function e(e,t,l,o){var a=n.call(this,e)||this;return a._tapNext=r.a,a._tapError=r.a,a._tapComplete=r.a,a._tapError=l||r.a,a._tapComplete=o||r.a,Object(i.a)(t)?(a._context=a,a._tapNext=t):t&&(a._context=t,a._tapNext=t.next||r.a,a._tapError=t.error||r.a,a._tapComplete=t.complete||r.a),a}return l.__extends(e,n),e.prototype._next=function(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)},e.prototype._error=function(n){try{this._tapError.call(this._context,n)}catch(n){return void this.destination.error(n)}this.destination.error(n)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()},e}(o.a)},xODi:function(n,e){n.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},xTla:function(n,e,t){"use strict";t.d(e,"a",function(){return l});var l="function"==typeof Symbol&&Symbol.observable||"@@observable"},xXU7:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("6blF"),o=t("T1DM"),r=t("/21U");function i(n,e){return void 0===n&&(n=0),void 0===e&&(e=o.a),(!Object(r.a)(n)||n<0)&&(n=0),e&&"function"==typeof e.schedule||(e=o.a),new l.a(function(t){return t.add(e.schedule(a,n,{subscriber:t,counter:0,period:n})),t})}function a(n){var e=n.subscriber,t=n.counter,l=n.period;e.next(t),this.schedule({subscriber:e,counter:t+1,period:l},l)}},xk4V:function(n,e,t){var l=t("4fRq"),o=t("I2ZF");n.exports=function(n,e,t){var r=e&&t||0;"string"==typeof n&&(e="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||l)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var a=0;a<16;++a)e[r+a]=i[a];return e||o(i)}},xlPZ:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("KhEm");function o(n,e){return function(t){var o;if(o="function"==typeof n?n:function(){return n},"function"==typeof e)return t.lift(new r(o,e));var i=Object.create(t,l.b);return i.source=t,i.subjectFactory=o,i}}var r=function(){function n(n,e){this.subjectFactory=n,this.selector=e}return n.prototype.call=function(n,e){var t=this.selector,l=this.subjectFactory(),o=t(l).subscribe(n);return o.add(e.subscribe(l)),o},n}()},xsCy:function(n,e,t){"use strict";t.d(e,"a",function(){return a});var l=t("mrSG"),o=t("pugT"),r=t("MGBS"),i=t("zotm");function a(n){return function(e){return e.lift(new u(n))}}var u=function(){function n(n){this.closingSelector=n}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.closingSelector))},n}(),s=function(n){function e(e,t){var l=n.call(this,e)||this;return l.closingSelector=t,l.subscribing=!1,l.openBuffer(),l}return l.__extends(e,n),e.prototype._next=function(n){this.buffer.push(n)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),n.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(n,e,t,l,o){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var n,e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{n=(0,this.closingSelector)()}catch(t){return this.error(t)}e=new o.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(i.a)(this,n)),this.subscribing=!1},e}(r.a)},y3By:function(n,e,t){"use strict";t.d(e,"a",function(){return o}),t.d(e,"b",function(){return r});var l=t("+umK");function o(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return r(n)}function r(n){return n?1===n.length?n[0]:function(e){return n.reduce(function(n,e){return e(n)},e)}:l.a}},yGWI:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(){return function(n){return n.lift(new i(n))}}var i=function(){function n(n){this.connectable=n}return n.prototype.call=function(n,e){var t=this.connectable;t._refCount++;var l=new a(n,t),o=e.subscribe(l);return l.closed||(l.connection=t.connect()),o},n}(),a=function(n){function e(e,t){var l=n.call(this,e)||this;return l.connectable=t,l}return l.__extends(e,n),e.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var e=n._refCount;if(e<=0)this.connection=null;else if(n._refCount=e-1,e>1)this.connection=null;else{var t=this.connection,l=n._connection;this.connection=null,!l||t&&l!==t||l.unsubscribe()}}else this.connection=null},e}(o.a)},yJif:function(n,e,t){n.exports=t("errG")},yLV6:function(n,e,t){var l;!function(o,r,i,a){"use strict";var u,s=["","webkit","Moz","MS","ms","o"],d=r.createElement("div"),c="function",p=Math.round,f=Math.abs,h=Date.now;function m(n,e,t){return setTimeout(C(n,t),e)}function v(n,e,t){return!!Array.isArray(n)&&(g(n,t[e],t),!0)}function g(n,e,t){var l;if(n)if(n.forEach)n.forEach(e,t);else if(n.length!==a)for(l=0;l<n.length;)e.call(t,n[l],l,n),l++;else for(l in n)n.hasOwnProperty(l)&&e.call(t,n[l],l,n)}function b(n,e,t){var l="DEPRECATED METHOD: "+e+"\n"+t+" AT \n";return function(){var e=new Error("get-stack-trace"),t=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,l,t),n.apply(this,arguments)}}u="function"!=typeof Object.assign?function(n){if(n===a||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(n),t=1;t<arguments.length;t++){var l=arguments[t];if(l!==a&&null!==l)for(var o in l)l.hasOwnProperty(o)&&(e[o]=l[o])}return e}:Object.assign;var _=b(function(n,e,t){for(var l=Object.keys(e),o=0;o<l.length;)(!t||t&&n[l[o]]===a)&&(n[l[o]]=e[l[o]]),o++;return n},"extend","Use `assign`."),y=b(function(n,e){return _(n,e,!0)},"merge","Use `assign`.");function w(n,e,t){var l,o=e.prototype;(l=n.prototype=Object.create(o)).constructor=n,l._super=o,t&&u(l,t)}function C(n,e){return function(){return n.apply(e,arguments)}}function x(n,e){return typeof n==c?n.apply(e&&e[0]||a,e):n}function S(n,e){return n===a?e:n}function k(n,e,t){g(I(e),function(e){n.addEventListener(e,t,!1)})}function E(n,e,t){g(I(e),function(e){n.removeEventListener(e,t,!1)})}function T(n,e){for(;n;){if(n==e)return!0;n=n.parentNode}return!1}function R(n,e){return n.indexOf(e)>-1}function I(n){return n.trim().split(/\s+/g)}function D(n,e,t){if(n.indexOf&&!t)return n.indexOf(e);for(var l=0;l<n.length;){if(t&&n[l][t]==e||!t&&n[l]===e)return l;l++}return-1}function O(n){return Array.prototype.slice.call(n,0)}function F(n,e,t){for(var l=[],o=[],r=0;r<n.length;){var i=e?n[r][e]:n[r];D(o,i)<0&&l.push(n[r]),o[r]=i,r++}return t&&(l=e?l.sort(function(n,t){return n[e]>t[e]}):l.sort()),l}function N(n,e){for(var t,l,o=e[0].toUpperCase()+e.slice(1),r=0;r<s.length;){if((l=(t=s[r])?t+o:e)in n)return l;r++}return a}var M=1;function A(n){var e=n.ownerDocument||n;return e.defaultView||e.parentWindow||o}var q="ontouchstart"in o,P=N(o,"PointerEvent")!==a,j=q&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L=25,V=1,B=4,z=8,U=1,H=2,Z=4,W=8,G=16,K=H|Z,Y=W|G,$=K|Y,X=["x","y"],Q=["clientX","clientY"];function J(n,e){var t=this;this.manager=n,this.callback=e,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(e){x(n.options.enable,[n])&&t.handler(e)},this.init()}function nn(n,e,t){var l=t.pointers.length,o=t.changedPointers.length,r=e&V&&l-o==0,i=e&(B|z)&&l-o==0;t.isFirst=!!r,t.isFinal=!!i,r&&(n.session={}),t.eventType=e,function(n,e){var t=n.session,l=e.pointers,o=l.length;t.firstInput||(t.firstInput=en(e)),o>1&&!t.firstMultiple?t.firstMultiple=en(e):1===o&&(t.firstMultiple=!1);var r=t.firstInput,i=t.firstMultiple,u=i?i.center:r.center,s=e.center=tn(l);e.timeStamp=h(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=an(u,s),e.distance=rn(u,s),function(n,e){var t=e.center,l=n.offsetDelta||{},o=n.prevDelta||{},r=n.prevInput||{};e.eventType!==V&&r.eventType!==B||(o=n.prevDelta={x:r.deltaX||0,y:r.deltaY||0},l=n.offsetDelta={x:t.x,y:t.y}),e.deltaX=o.x+(t.x-l.x),e.deltaY=o.y+(t.y-l.y)}(t,e),e.offsetDirection=on(e.deltaX,e.deltaY);var d,c,p=ln(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=f(p.x)>f(p.y)?p.x:p.y,e.scale=i?(d=i.pointers,rn((c=l)[0],c[1],Q)/rn(d[0],d[1],Q)):1,e.rotation=i?function(n,e){return an(l[1],l[0],Q)+an(n[1],n[0],Q)}(i.pointers):0,e.maxPointers=t.prevInput?e.pointers.length>t.prevInput.maxPointers?e.pointers.length:t.prevInput.maxPointers:e.pointers.length,function(n,e){var t,l,o,r,i=n.lastInterval||e,u=e.timeStamp-i.timeStamp;if(e.eventType!=z&&(u>L||i.velocity===a)){var s=e.deltaX-i.deltaX,d=e.deltaY-i.deltaY,c=ln(u,s,d);l=c.x,o=c.y,t=f(c.x)>f(c.y)?c.x:c.y,r=on(s,d),n.lastInterval=e}else t=i.velocity,l=i.velocityX,o=i.velocityY,r=i.direction;e.velocity=t,e.velocityX=l,e.velocityY=o,e.direction=r}(t,e);var m=n.element;T(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(n,t),n.emit("hammer.input",t),n.recognize(t),n.session.prevInput=t}function en(n){for(var e=[],t=0;t<n.pointers.length;)e[t]={clientX:p(n.pointers[t].clientX),clientY:p(n.pointers[t].clientY)},t++;return{timeStamp:h(),pointers:e,center:tn(e),deltaX:n.deltaX,deltaY:n.deltaY}}function tn(n){var e=n.length;if(1===e)return{x:p(n[0].clientX),y:p(n[0].clientY)};for(var t=0,l=0,o=0;o<e;)t+=n[o].clientX,l+=n[o].clientY,o++;return{x:p(t/e),y:p(l/e)}}function ln(n,e,t){return{x:e/n||0,y:t/n||0}}function on(n,e){return n===e?U:f(n)>=f(e)?n<0?H:Z:e<0?W:G}function rn(n,e,t){t||(t=X);var l=e[t[0]]-n[t[0]],o=e[t[1]]-n[t[1]];return Math.sqrt(l*l+o*o)}function an(n,e,t){return t||(t=X),180*Math.atan2(e[t[1]]-n[t[1]],e[t[0]]-n[t[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(A(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(A(this.element),this.evWin,this.domHandler)}};var un={mousedown:V,mousemove:2,mouseup:B},sn="mousedown",dn="mousemove mouseup";function cn(){this.evEl=sn,this.evWin=dn,this.pressed=!1,J.apply(this,arguments)}w(cn,J,{handler:function(n){var e=un[n.type];e&V&&0===n.button&&(this.pressed=!0),2&e&&1!==n.which&&(e=B),this.pressed&&(e&B&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[n],changedPointers:[n],pointerType:"mouse",srcEvent:n}))}});var pn={pointerdown:V,pointermove:2,pointerup:B,pointercancel:z,pointerout:z},fn={2:"touch",3:"pen",4:"mouse",5:"kinect"},hn="pointerdown",mn="pointermove pointerup pointercancel";function vn(){this.evEl=hn,this.evWin=mn,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(hn="MSPointerDown",mn="MSPointerMove MSPointerUp MSPointerCancel"),w(vn,J,{handler:function(n){var e=this.store,t=!1,l=n.type.toLowerCase().replace("ms",""),o=pn[l],r=fn[n.pointerType]||n.pointerType,i="touch"==r,a=D(e,n.pointerId,"pointerId");o&V&&(0===n.button||i)?a<0&&(e.push(n),a=e.length-1):o&(B|z)&&(t=!0),a<0||(e[a]=n,this.callback(this.manager,o,{pointers:e,changedPointers:[n],pointerType:r,srcEvent:n}),t&&e.splice(a,1))}});var gn={touchstart:V,touchmove:2,touchend:B,touchcancel:z},bn="touchstart",_n="touchstart touchmove touchend touchcancel";function yn(){this.evTarget=bn,this.evWin=_n,this.started=!1,J.apply(this,arguments)}w(yn,J,{handler:function(n){var e=gn[n.type];if(e===V&&(this.started=!0),this.started){var t=(function(n,e){var t=O(n.touches),l=O(n.changedTouches);return e&(B|z)&&(t=F(t.concat(l),"identifier",!0)),[t,l]}).call(this,n,e);e&(B|z)&&t[0].length-t[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:n})}}});var wn={touchstart:V,touchmove:2,touchend:B,touchcancel:z},Cn="touchstart touchmove touchend touchcancel";function xn(){this.evTarget=Cn,this.targetIds={},J.apply(this,arguments)}w(xn,J,{handler:function(n){var e=wn[n.type],t=(function(n,e){var t=O(n.touches),l=this.targetIds;if(e&(2|V)&&1===t.length)return l[t[0].identifier]=!0,[t,t];var o,r,i=O(n.changedTouches),a=[],u=this.target;if(r=t.filter(function(n){return T(n.target,u)}),e===V)for(o=0;o<r.length;)l[r[o].identifier]=!0,o++;for(o=0;o<i.length;)l[i[o].identifier]&&a.push(i[o]),e&(B|z)&&delete l[i[o].identifier],o++;return a.length?[F(r.concat(a),"identifier",!0),a]:void 0}).call(this,n,e);t&&this.callback(this.manager,e,{pointers:t[0],changedPointers:t[1],pointerType:"touch",srcEvent:n})}});var Sn=2500;function kn(){J.apply(this,arguments);var n=C(this.handler,this);this.touch=new xn(this.manager,n),this.mouse=new cn(this.manager,n),this.primaryTouch=null,this.lastTouches=[]}function En(n){var e=n.changedPointers[0];if(e.identifier===this.primaryTouch){var t={x:e.clientX,y:e.clientY};this.lastTouches.push(t);var l=this.lastTouches;setTimeout(function(){var n=l.indexOf(t);n>-1&&l.splice(n,1)},Sn)}}w(kn,J,{handler:function(n,e,t){var l="mouse"==t.pointerType;if(!(l&&t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)){if("touch"==t.pointerType)(function(n,e){n&V?(this.primaryTouch=e.changedPointers[0].identifier,En.call(this,e)):n&(B|z)&&En.call(this,e)}).call(this,e,t);else if(l&&(function(n){for(var e=n.srcEvent.clientX,t=n.srcEvent.clientY,l=0;l<this.lastTouches.length;l++){var o=this.lastTouches[l],r=Math.abs(e-o.x),i=Math.abs(t-o.y);if(r<=25&&i<=25)return!0}return!1}).call(this,t))return;this.callback(n,e,t)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Tn=N(d.style,"touchAction"),Rn=Tn!==a,In=function(){if(!Rn)return!1;var n={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){n[t]=!e||o.CSS.supports("touch-action",t)}),n}();function Dn(n,e){this.manager=n,this.set(e)}Dn.prototype={set:function(n){"compute"==n&&(n=this.compute()),Rn&&this.manager.element.style&&In[n]&&(this.manager.element.style[Tn]=n),this.actions=n.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var n=[];return g(this.manager.recognizers,function(e){x(e.options.enable,[e])&&(n=n.concat(e.getTouchAction()))}),function(n){if(R(n,"none"))return"none";var e=R(n,"pan-x"),t=R(n,"pan-y");return e&&t?"none":e||t?e?"pan-x":"pan-y":R(n,"manipulation")?"manipulation":"auto"}(n.join(" "))},preventDefaults:function(n){var e=n.srcEvent,t=n.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var l=this.actions,o=R(l,"none")&&!In.none,r=R(l,"pan-y")&&!In["pan-y"],i=R(l,"pan-x")&&!In["pan-x"];if(o&&1===n.pointers.length&&n.distance<2&&n.deltaTime<250)return;if(!i||!r)return o||r&&t&K||i&&t&Y?this.preventSrc(e):void 0}},preventSrc:function(n){this.manager.session.prevented=!0,n.preventDefault()}};var On=1,Fn=2,Nn=4,Mn=8,An=Mn,qn=16;function Pn(n){this.options=u({},this.defaults,n||{}),this.id=M++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=On,this.simultaneous={},this.requireFail=[]}function jn(n){return n&qn?"cancel":n&Mn?"end":n&Nn?"move":n&Fn?"start":""}function Ln(n){return n==G?"down":n==W?"up":n==H?"left":n==Z?"right":""}function Vn(n,e){var t=e.manager;return t?t.get(n):n}function Bn(){Pn.apply(this,arguments)}function zn(){Bn.apply(this,arguments),this.pX=null,this.pY=null}function Un(){Bn.apply(this,arguments)}function Hn(){Pn.apply(this,arguments),this._timer=null,this._input=null}function Zn(){Bn.apply(this,arguments)}function Wn(){Bn.apply(this,arguments)}function Gn(){Pn.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Kn(n,e){return(e=e||{}).recognizers=S(e.recognizers,Kn.defaults.preset),new Yn(n,e)}function Yn(n,e){var t;this.options=u({},Kn.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||n,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=n,this.input=new((t=this).options.inputClass||(P?vn:j?xn:q?kn:cn))(t,nn),this.touchAction=new Dn(this,this.options.touchAction),$n(this,!0),g(this.options.recognizers,function(n){var e=this.add(new n[0](n[1]));n[2]&&e.recognizeWith(n[2]),n[3]&&e.requireFailure(n[3])},this)}function $n(n,e){var t,l=n.element;l.style&&(g(n.options.cssProps,function(o,r){t=N(l.style,r),e?(n.oldCssProps[t]=l.style[t],l.style[t]=o):l.style[t]=n.oldCssProps[t]||""}),e||(n.oldCssProps={}))}Pn.prototype={defaults:{},set:function(n){return u(this.options,n),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(n){if(v(n,"recognizeWith",this))return this;var e=this.simultaneous;return e[(n=Vn(n,this)).id]||(e[n.id]=n,n.recognizeWith(this)),this},dropRecognizeWith:function(n){return v(n,"dropRecognizeWith",this)?this:(n=Vn(n,this),delete this.simultaneous[n.id],this)},requireFailure:function(n){if(v(n,"requireFailure",this))return this;var e=this.requireFail;return-1===D(e,n=Vn(n,this))&&(e.push(n),n.requireFailure(this)),this},dropRequireFailure:function(n){if(v(n,"dropRequireFailure",this))return this;n=Vn(n,this);var e=D(this.requireFail,n);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(n){return!!this.simultaneous[n.id]},emit:function(n){var e=this,t=this.state;function l(t){e.manager.emit(t,n)}t<Mn&&l(e.options.event+jn(t)),l(e.options.event),n.additionalEvent&&l(n.additionalEvent),t>=Mn&&l(e.options.event+jn(t))},tryEmit:function(n){if(this.canEmit())return this.emit(n);this.state=32},canEmit:function(){for(var n=0;n<this.requireFail.length;){if(!(this.requireFail[n].state&(32|On)))return!1;n++}return!0},recognize:function(n){var e=u({},n);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(An|qn|32)&&(this.state=On),this.state=this.process(e),this.state&(Fn|Nn|Mn|qn)&&this.tryEmit(e)},process:function(n){},getTouchAction:function(){},reset:function(){}},w(Bn,Pn,{defaults:{pointers:1},attrTest:function(n){var e=this.options.pointers;return 0===e||n.pointers.length===e},process:function(n){var e=this.state,t=n.eventType,l=e&(Fn|Nn),o=this.attrTest(n);return l&&(t&z||!o)?e|qn:l||o?t&B?e|Mn:e&Fn?e|Nn:Fn:32}}),w(zn,Bn,{defaults:{event:"pan",threshold:10,pointers:1,direction:$},getTouchAction:function(){var n=this.options.direction,e=[];return n&K&&e.push("pan-y"),n&Y&&e.push("pan-x"),e},directionTest:function(n){var e=this.options,t=!0,l=n.distance,o=n.direction,r=n.deltaX,i=n.deltaY;return o&e.direction||(e.direction&K?(o=0===r?U:r<0?H:Z,t=r!=this.pX,l=Math.abs(n.deltaX)):(o=0===i?U:i<0?W:G,t=i!=this.pY,l=Math.abs(n.deltaY))),n.direction=o,t&&l>e.threshold&&o&e.direction},attrTest:function(n){return Bn.prototype.attrTest.call(this,n)&&(this.state&Fn||!(this.state&Fn)&&this.directionTest(n))},emit:function(n){this.pX=n.deltaX,this.pY=n.deltaY;var e=Ln(n.direction);e&&(n.additionalEvent=this.options.event+e),this._super.emit.call(this,n)}}),w(Un,Bn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.scale-1)>this.options.threshold||this.state&Fn)},emit:function(n){1!==n.scale&&(n.additionalEvent=this.options.event+(n.scale<1?"in":"out")),this._super.emit.call(this,n)}}),w(Hn,Pn,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(n){var e=this.options,t=n.pointers.length===e.pointers,l=n.distance<e.threshold,o=n.deltaTime>e.time;if(this._input=n,!l||!t||n.eventType&(B|z)&&!o)this.reset();else if(n.eventType&V)this.reset(),this._timer=m(function(){this.state=An,this.tryEmit()},e.time,this);else if(n.eventType&B)return An;return 32},reset:function(){clearTimeout(this._timer)},emit:function(n){this.state===An&&(n&&n.eventType&B?this.manager.emit(this.options.event+"up",n):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),w(Zn,Bn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.rotation)>this.options.threshold||this.state&Fn)}}),w(Wn,Bn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:K|Y,pointers:1},getTouchAction:function(){return zn.prototype.getTouchAction.call(this)},attrTest:function(n){var e,t=this.options.direction;return t&(K|Y)?e=n.overallVelocity:t&K?e=n.overallVelocityX:t&Y&&(e=n.overallVelocityY),this._super.attrTest.call(this,n)&&t&n.offsetDirection&&n.distance>this.options.threshold&&n.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&n.eventType&B},emit:function(n){var e=Ln(n.offsetDirection);e&&this.manager.emit(this.options.event+e,n),this.manager.emit(this.options.event,n)}}),w(Gn,Pn,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(n){var e=this.options,t=n.pointers.length===e.pointers,l=n.distance<e.threshold,o=n.deltaTime<e.time;if(this.reset(),n.eventType&V&&0===this.count)return this.failTimeout();if(l&&o&&t){if(n.eventType!=B)return this.failTimeout();var r=!this.pTime||n.timeStamp-this.pTime<e.interval,i=!this.pCenter||rn(this.pCenter,n.center)<e.posThreshold;if(this.pTime=n.timeStamp,this.pCenter=n.center,i&&r?this.count+=1:this.count=1,this._input=n,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=An,this.tryEmit()},e.interval,this),Fn):An}return 32},failTimeout:function(){return this._timer=m(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==An&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Kn.VERSION="2.0.7",Kn.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Zn,{enable:!1}],[Un,{enable:!1},["rotate"]],[Wn,{direction:K}],[zn,{direction:K},["swipe"]],[Gn],[Gn,{event:"doubletap",taps:2},["tap"]],[Hn]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Yn.prototype={set:function(n){return u(this.options,n),n.touchAction&&this.touchAction.update(),n.inputTarget&&(this.input.destroy(),this.input.target=n.inputTarget,this.input.init()),this},stop:function(n){this.session.stopped=n?2:1},recognize:function(n){var e=this.session;if(!e.stopped){var t;this.touchAction.preventDefaults(n);var l=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&An)&&(o=e.curRecognizer=null);for(var r=0;r<l.length;)t=l[r],2===e.stopped||o&&t!=o&&!t.canRecognizeWith(o)?t.reset():t.recognize(n),!o&&t.state&(Fn|Nn|Mn)&&(o=e.curRecognizer=t),r++}},get:function(n){if(n instanceof Pn)return n;for(var e=this.recognizers,t=0;t<e.length;t++)if(e[t].options.event==n)return e[t];return null},add:function(n){if(v(n,"add",this))return this;var e=this.get(n.options.event);return e&&this.remove(e),this.recognizers.push(n),n.manager=this,this.touchAction.update(),n},remove:function(n){if(v(n,"remove",this))return this;if(n=this.get(n)){var e=this.recognizers,t=D(e,n);-1!==t&&(e.splice(t,1),this.touchAction.update())}return this},on:function(n,e){if(n!==a&&e!==a){var t=this.handlers;return g(I(n),function(n){t[n]=t[n]||[],t[n].push(e)}),this}},off:function(n,e){if(n!==a){var t=this.handlers;return g(I(n),function(n){e?t[n]&&t[n].splice(D(t[n],e),1):delete t[n]}),this}},emit:function(n,e){this.options.domEvents&&function(n,e){var t=r.createEvent("Event");t.initEvent(n,!0,!0),t.gesture=e,e.target.dispatchEvent(t)}(n,e);var t=this.handlers[n]&&this.handlers[n].slice();if(t&&t.length){e.type=n,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var l=0;l<t.length;)t[l](e),l++}},destroy:function(){this.element&&$n(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(Kn,{INPUT_START:V,INPUT_MOVE:2,INPUT_END:B,INPUT_CANCEL:z,STATE_POSSIBLE:On,STATE_BEGAN:Fn,STATE_CHANGED:Nn,STATE_ENDED:Mn,STATE_RECOGNIZED:An,STATE_CANCELLED:qn,STATE_FAILED:32,DIRECTION_NONE:U,DIRECTION_LEFT:H,DIRECTION_RIGHT:Z,DIRECTION_UP:W,DIRECTION_DOWN:G,DIRECTION_HORIZONTAL:K,DIRECTION_VERTICAL:Y,DIRECTION_ALL:$,Manager:Yn,Input:J,TouchAction:Dn,TouchInput:xn,MouseInput:cn,PointerEventInput:vn,TouchMouseInput:kn,SingleTouchInput:yn,Recognizer:Pn,AttrRecognizer:Bn,Tap:Gn,Pan:zn,Swipe:Wn,Pinch:Un,Rotate:Zn,Press:Hn,on:k,off:E,each:g,merge:y,extend:_,assign:u,inherit:w,bindFn:C,prefixed:N}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Kn,(l=(function(){return Kn}).call(e,t,e,n))===a||(n.exports=l)}(window,document)},yTw5:function(n,e,t){var l=t("vd7W").TYPE,o=t("4njK").mode,r=l.LeftCurlyBracket;function i(n){return this.Raw(n,o.leftCurlyBracket,!0)}function a(){var n=this.SelectorList();return"Raw"!==n.type&&!1===this.scanner.eof&&this.scanner.tokenType!==r&&this.error(),n}n.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var n,e,t=this.scanner.tokenIndex,l=this.scanner.tokenStart;return n=this.parseRulePrelude?this.parseWithFallback(a,i):i.call(this,t),e=this.Block(!0),{type:"Rule",loc:this.getLocation(l,this.scanner.tokenStart),prelude:n,block:e}},generate:function(n){this.node(n.prelude),this.node(n.block)},walkContext:"rule"}},yccp:function(n,e,t){"use strict";function l(n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t])}Object.defineProperty(e,"__esModule",{value:!0});var o=t("CcnG"),r=t("Ip0R"),i=t("CBFY"),a=t("XtUT"),u=t("+ryv"),s=t("oVTH");l(t("XtUT")),l(t("M+vq")),l(t("+ryv")),l(t("CBFY")),l(t("oVTH"));var d=function(){function n(){}return n.forRoot=function(e){return void 0===e&&(e={}),{ngModule:n,providers:[s.HotkeysService,{provide:u.HotkeyOptions,useValue:e}]}},n}();d.decorators=[{type:o.NgModule,args:[{imports:[r.CommonModule],exports:[i.HotkeysDirective,a.CheatSheetComponent],declarations:[i.HotkeysDirective,a.CheatSheetComponent]}]}],e.HotkeyModule=d},zAZS:function(n,e,t){"use strict";t.d(e,"a",function(){return r});var l=t("mrSG"),o=t("FFOo");function r(n,e){return function(t){return t.lift(new i(n,e,t))}}var i=function(){function n(n,e,t){this.predicate=n,this.thisArg=e,this.source=t}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.predicate,this.thisArg,this.source))},n}(),a=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r.predicate=t,r.thisArg=l,r.source=o,r.index=0,r.thisArg=l||r,r}return l.__extends(e,n),e.prototype.notifyComplete=function(n){this.destination.next(n),this.destination.complete()},e.prototype._next=function(n){var e=!1;try{e=this.predicate.call(this.thisArg,n,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(o.a)},zQHH:function(n,e,t){"use strict";t.d(e,"a",function(){return o});var l=t("15JJ");function o(n,e){return e?Object(l.a)(function(){return n},e):Object(l.a)(function(){return n})}},zUnb:function(n,e,t){"use strict";t.r(e);var l={};t.r(l),t.d(l,"arc",function(){return vN}),t.d(l,"area",function(){return CN}),t.d(l,"line",function(){return wN}),t.d(l,"pie",function(){return kN}),t.d(l,"areaRadial",function(){return ON}),t.d(l,"radialArea",function(){return ON}),t.d(l,"lineRadial",function(){return DN}),t.d(l,"radialLine",function(){return DN}),t.d(l,"pointRadial",function(){return FN}),t.d(l,"linkHorizontal",function(){return VN}),t.d(l,"linkVertical",function(){return BN}),t.d(l,"linkRadial",function(){return zN}),t.d(l,"symbol",function(){return iM}),t.d(l,"symbols",function(){return rM}),t.d(l,"symbolCircle",function(){return UN}),t.d(l,"symbolCross",function(){return HN}),t.d(l,"symbolDiamond",function(){return GN}),t.d(l,"symbolSquare",function(){return QN}),t.d(l,"symbolStar",function(){return XN}),t.d(l,"symbolTriangle",function(){return nM}),t.d(l,"symbolWye",function(){return oM}),t.d(l,"curveBasisClosed",function(){return pM}),t.d(l,"curveBasisOpen",function(){return hM}),t.d(l,"curveBasis",function(){return dM}),t.d(l,"curveBundle",function(){return vM}),t.d(l,"curveCardinalClosed",function(){return wM}),t.d(l,"curveCardinalOpen",function(){return xM}),t.d(l,"curveCardinal",function(){return _M}),t.d(l,"curveCatmullRomClosed",function(){return RM}),t.d(l,"curveCatmullRomOpen",function(){return DM}),t.d(l,"curveCatmullRom",function(){return EM}),t.d(l,"curveLinearClosed",function(){return FM}),t.d(l,"curveLinear",function(){return bN}),t.d(l,"curveMonotoneX",function(){return VM}),t.d(l,"curveMonotoneY",function(){return BM}),t.d(l,"curveNatural",function(){return HM}),t.d(l,"curveStep",function(){return WM}),t.d(l,"curveStepAfter",function(){return KM}),t.d(l,"curveStepBefore",function(){return GM}),t.d(l,"stack",function(){return QM}),t.d(l,"stackOffsetExpand",function(){return JM}),t.d(l,"stackOffsetDiverging",function(){return nA}),t.d(l,"stackOffsetNone",function(){return YM}),t.d(l,"stackOffsetSilhouette",function(){return eA}),t.d(l,"stackOffsetWiggle",function(){return tA}),t.d(l,"stackOrderAscending",function(){return lA}),t.d(l,"stackOrderDescending",function(){return rA}),t.d(l,"stackOrderInsideOut",function(){return iA}),t.d(l,"stackOrderNone",function(){return $M}),t.d(l,"stackOrderReverse",function(){return aA}),t.d(l,"zoom",function(){return Hj}),t.d(l,"zoomTransform",function(){return Aj}),t.d(l,"zoomIdentity",function(){return Mj}),t.d(l,"bisect",function(){return FW}),t.d(l,"bisectRight",function(){return DW}),t.d(l,"bisectLeft",function(){return OW}),t.d(l,"ascending",function(){return TW}),t.d(l,"bisector",function(){return RW}),t.d(l,"cross",function(){return AW}),t.d(l,"descending",function(){return qW}),t.d(l,"deviation",function(){return LW}),t.d(l,"extent",function(){return VW}),t.d(l,"histogram",function(){return nG}),t.d(l,"thresholdFreedmanDiaconis",function(){return tG}),t.d(l,"thresholdScott",function(){return lG}),t.d(l,"thresholdSturges",function(){return JW}),t.d(l,"max",function(){return oG}),t.d(l,"mean",function(){return rG}),t.d(l,"median",function(){return iG}),t.d(l,"merge",function(){return aG}),t.d(l,"min",function(){return uG}),t.d(l,"pairs",function(){return NW}),t.d(l,"permute",function(){return sG}),t.d(l,"quantile",function(){return eG}),t.d(l,"range",function(){return WW}),t.d(l,"scan",function(){return dG}),t.d(l,"shuffle",function(){return cG}),t.d(l,"sum",function(){return pG}),t.d(l,"ticks",function(){return $W}),t.d(l,"tickIncrement",function(){return XW}),t.d(l,"tickStep",function(){return QW}),t.d(l,"transpose",function(){return fG}),t.d(l,"variance",function(){return jW}),t.d(l,"zip",function(){return mG}),t.d(l,"axisTop",function(){return TG}),t.d(l,"axisRight",function(){return RG}),t.d(l,"axisBottom",function(){return IG}),t.d(l,"axisLeft",function(){return DG}),t.d(l,"brush",function(){return eK}),t.d(l,"brushX",function(){return JG}),t.d(l,"brushY",function(){return nK}),t.d(l,"brushSelection",function(){return QG}),t.d(l,"chord",function(){return dK}),t.d(l,"ribbon",function(){return bK}),t.d(l,"nest",function(){return CK}),t.d(l,"set",function(){return DK}),t.d(l,"map",function(){return wK}),t.d(l,"keys",function(){return OK}),t.d(l,"values",function(){return FK}),t.d(l,"entries",function(){return NK}),t.d(l,"color",function(){return YK}),t.d(l,"rgb",function(){return JK}),t.d(l,"hsl",function(){return tY}),t.d(l,"lab",function(){return mY}),t.d(l,"hcl",function(){return wY}),t.d(l,"cubehelix",function(){return IY}),t.d(l,"contours",function(){return VY}),t.d(l,"contourDensity",function(){return ZY}),t.d(l,"dispatch",function(){return rO}),t.d(l,"drag",function(){return vO}),t.d(l,"dragDisable",function(){return uO}),t.d(l,"dragEnable",function(){return sO}),t.d(l,"dsvFormat",function(){return QY}),t.d(l,"csvParse",function(){return n$}),t.d(l,"csvParseRows",function(){return e$}),t.d(l,"csvFormat",function(){return t$}),t.d(l,"csvFormatRows",function(){return l$}),t.d(l,"tsvParse",function(){return r$}),t.d(l,"tsvParseRows",function(){return i$}),t.d(l,"tsvFormat",function(){return a$}),t.d(l,"tsvFormatRows",function(){return u$}),t.d(l,"easeLinear",function(){return zP}),t.d(l,"easeQuad",function(){return ZP}),t.d(l,"easeQuadIn",function(){return UP}),t.d(l,"easeQuadOut",function(){return HP}),t.d(l,"easeQuadInOut",function(){return ZP}),t.d(l,"easeCubic",function(){return KP}),t.d(l,"easeCubicIn",function(){return WP}),t.d(l,"easeCubicOut",function(){return GP}),t.d(l,"easeCubicInOut",function(){return KP}),t.d(l,"easePoly",function(){return XP}),t.d(l,"easePolyIn",function(){return YP}),t.d(l,"easePolyOut",function(){return $P}),t.d(l,"easePolyInOut",function(){return XP}),t.d(l,"easeSin",function(){return tj}),t.d(l,"easeSinIn",function(){return nj}),t.d(l,"easeSinOut",function(){return ej}),t.d(l,"easeSinInOut",function(){return tj}),t.d(l,"easeExp",function(){return rj}),t.d(l,"easeExpIn",function(){return lj}),t.d(l,"easeExpOut",function(){return oj}),t.d(l,"easeExpInOut",function(){return rj}),t.d(l,"easeCircle",function(){return uj}),t.d(l,"easeCircleIn",function(){return ij}),t.d(l,"easeCircleOut",function(){return aj}),t.d(l,"easeCircleInOut",function(){return uj}),t.d(l,"easeBounce",function(){return yj}),t.d(l,"easeBounceIn",function(){return _j}),t.d(l,"easeBounceOut",function(){return yj}),t.d(l,"easeBounceInOut",function(){return wj}),t.d(l,"easeBack",function(){return Sj}),t.d(l,"easeBackIn",function(){return Cj}),t.d(l,"easeBackOut",function(){return xj}),t.d(l,"easeBackInOut",function(){return Sj}),t.d(l,"easeElastic",function(){return Tj}),t.d(l,"easeElasticIn",function(){return Ej}),t.d(l,"easeElasticOut",function(){return Tj}),t.d(l,"easeElasticInOut",function(){return Rj}),t.d(l,"forceCenter",function(){return s$}),t.d(l,"forceCollide",function(){return C$}),t.d(l,"forceLink",function(){return k$}),t.d(l,"forceManyBody",function(){return F$}),t.d(l,"forceRadial",function(){return N$}),t.d(l,"forceSimulation",function(){return O$}),t.d(l,"forceX",function(){return M$}),t.d(l,"forceY",function(){return A$}),t.d(l,"formatDefaultLocale",function(){return Y$}),t.d(l,"format",function(){return H$}),t.d(l,"formatPrefix",function(){return Z$}),t.d(l,"formatLocale",function(){return K$}),t.d(l,"formatSpecifier",function(){return B$}),t.d(l,"precisionFixed",function(){return $$}),t.d(l,"precisionPrefix",function(){return X$}),t.d(l,"precisionRound",function(){return Q$}),t.d(l,"geoArea",function(){return HX}),t.d(l,"geoBounds",function(){return qQ}),t.d(l,"geoCentroid",function(){return KQ}),t.d(l,"geoCircle",function(){return rJ}),t.d(l,"geoClipAntimeridian",function(){return vJ}),t.d(l,"geoClipCircle",function(){return gJ}),t.d(l,"geoClipExtent",function(){return kJ}),t.d(l,"geoClipRectangle",function(){return wJ}),t.d(l,"geoContains",function(){return UJ}),t.d(l,"geoDistance",function(){return MJ}),t.d(l,"geoGraticule",function(){return WJ}),t.d(l,"geoGraticule10",function(){return GJ}),t.d(l,"geoInterpolate",function(){return QJ}),t.d(l,"geoLength",function(){return OJ}),t.d(l,"geoPath",function(){return $0}),t.d(l,"geoAlbers",function(){return m1}),t.d(l,"geoAlbersUsa",function(){return v1}),t.d(l,"geoAzimuthalEqualArea",function(){return y1}),t.d(l,"geoAzimuthalEqualAreaRaw",function(){return _1}),t.d(l,"geoAzimuthalEquidistant",function(){return C1}),t.d(l,"geoAzimuthalEquidistantRaw",function(){return w1}),t.d(l,"geoConicConformal",function(){return R1}),t.d(l,"geoConicConformalRaw",function(){return T1}),t.d(l,"geoConicEqualArea",function(){return h1}),t.d(l,"geoConicEqualAreaRaw",function(){return f1}),t.d(l,"geoConicEquidistant",function(){return F1}),t.d(l,"geoConicEquidistantRaw",function(){return O1}),t.d(l,"geoEquirectangular",function(){return D1}),t.d(l,"geoEquirectangularRaw",function(){return I1}),t.d(l,"geoGnomonic",function(){return M1}),t.d(l,"geoGnomonicRaw",function(){return N1}),t.d(l,"geoIdentity",function(){return q1}),t.d(l,"geoProjection",function(){return d1}),t.d(l,"geoProjectionMutator",function(){return c1}),t.d(l,"geoMercator",function(){return S1}),t.d(l,"geoMercatorRaw",function(){return x1}),t.d(l,"geoNaturalEarth1",function(){return j1}),t.d(l,"geoNaturalEarth1Raw",function(){return P1}),t.d(l,"geoOrthographic",function(){return V1}),t.d(l,"geoOrthographicRaw",function(){return L1}),t.d(l,"geoStereographic",function(){return z1}),t.d(l,"geoStereographicRaw",function(){return B1}),t.d(l,"geoTransverseMercator",function(){return H1}),t.d(l,"geoTransverseMercatorRaw",function(){return U1}),t.d(l,"geoRotation",function(){return tJ}),t.d(l,"geoStream",function(){return qX}),t.d(l,"geoTransform",function(){return X0}),t.d(l,"cluster",function(){return K1}),t.d(l,"hierarchy",function(){return $1}),t.d(l,"pack",function(){return w2}),t.d(l,"packSiblings",function(){return m2}),t.d(l,"packEnclose",function(){return t2}),t.d(l,"partition",function(){return T2}),t.d(l,"stratify",function(){return N2}),t.d(l,"tree",function(){return V2}),t.d(l,"treemap",function(){return Z2}),t.d(l,"treemapBinary",function(){return W2}),t.d(l,"treemapDice",function(){return E2}),t.d(l,"treemapSlice",function(){return B2}),t.d(l,"treemapSliceDice",function(){return G2}),t.d(l,"treemapSquarify",function(){return H2}),t.d(l,"treemapResquarify",function(){return K2}),t.d(l,"interpolate",function(){return v6}),t.d(l,"interpolateArray",function(){return s6}),t.d(l,"interpolateBasis",function(){return Y7}),t.d(l,"interpolateBasisClosed",function(){return $7}),t.d(l,"interpolateDate",function(){return d6}),t.d(l,"interpolateNumber",function(){return c6}),t.d(l,"interpolateObject",function(){return p6}),t.d(l,"interpolateRound",function(){return g6}),t.d(l,"interpolateString",function(){return m6}),t.d(l,"interpolateTransformCss",function(){return C6}),t.d(l,"interpolateTransformSvg",function(){return x6}),t.d(l,"interpolateZoom",function(){return E6}),t.d(l,"interpolateRgb",function(){return e6}),t.d(l,"interpolateRgbBasis",function(){return a6}),t.d(l,"interpolateRgbBasisClosed",function(){return u6}),t.d(l,"interpolateHsl",function(){return R6}),t.d(l,"interpolateHslLong",function(){return I6}),t.d(l,"interpolateLab",function(){return D6}),t.d(l,"interpolateHcl",function(){return F6}),t.d(l,"interpolateHclLong",function(){return N6}),t.d(l,"interpolateCubehelix",function(){return A6}),t.d(l,"interpolateCubehelixLong",function(){return q6}),t.d(l,"quantize",function(){return P6}),t.d(l,"path",function(){return qF}),t.d(l,"polygonArea",function(){return j6}),t.d(l,"polygonCentroid",function(){return L6}),t.d(l,"polygonHull",function(){return U6}),t.d(l,"polygonContains",function(){return H6}),t.d(l,"polygonLength",function(){return Z6}),t.d(l,"quadtree",function(){return v$}),t.d(l,"randomUniform",function(){return G6}),t.d(l,"randomNormal",function(){return K6}),t.d(l,"randomLogNormal",function(){return Y6}),t.d(l,"randomBates",function(){return X6}),t.d(l,"randomIrwinHall",function(){return $6}),t.d(l,"randomExponential",function(){return Q6}),t.d(l,"scaleBand",function(){return o3}),t.d(l,"scalePoint",function(){return r3}),t.d(l,"scaleIdentity",function(){return O3}),t.d(l,"scaleLinear",function(){return D3}),t.d(l,"scaleLog",function(){return L3}),t.d(l,"scaleOrdinal",function(){return l3}),t.d(l,"scaleImplicit",function(){return t3}),t.d(l,"scalePow",function(){return B3}),t.d(l,"scaleSqrt",function(){return z3}),t.d(l,"scaleQuantile",function(){return U3}),t.d(l,"scaleQuantize",function(){return H3}),t.d(l,"scaleThreshold",function(){return Z3}),t.d(l,"scaleTime",function(){return B9}),t.d(l,"scaleUtc",function(){return z9}),t.d(l,"scaleSequential",function(){return U9}),t.d(l,"schemeCategory10",function(){return Z9}),t.d(l,"schemeAccent",function(){return W9}),t.d(l,"schemeDark2",function(){return G9}),t.d(l,"schemePaired",function(){return K9}),t.d(l,"schemePastel1",function(){return Y9}),t.d(l,"schemePastel2",function(){return $9}),t.d(l,"schemeSet1",function(){return X9}),t.d(l,"schemeSet2",function(){return Q9}),t.d(l,"schemeSet3",function(){return J9}),t.d(l,"interpolateBrBG",function(){return t5}),t.d(l,"schemeBrBG",function(){return e5}),t.d(l,"interpolatePRGn",function(){return o5}),t.d(l,"schemePRGn",function(){return l5}),t.d(l,"interpolatePiYG",function(){return i5}),t.d(l,"schemePiYG",function(){return r5}),t.d(l,"interpolatePuOr",function(){return u5}),t.d(l,"schemePuOr",function(){return a5}),t.d(l,"interpolateRdBu",function(){return d5}),t.d(l,"schemeRdBu",function(){return s5}),t.d(l,"interpolateRdGy",function(){return p5}),t.d(l,"schemeRdGy",function(){return c5}),t.d(l,"interpolateRdYlBu",function(){return h5}),t.d(l,"schemeRdYlBu",function(){return f5}),t.d(l,"interpolateRdYlGn",function(){return v5}),t.d(l,"schemeRdYlGn",function(){return m5}),t.d(l,"interpolateSpectral",function(){return b5}),t.d(l,"schemeSpectral",function(){return g5}),t.d(l,"interpolateBuGn",function(){return y5}),t.d(l,"schemeBuGn",function(){return _5}),t.d(l,"interpolateBuPu",function(){return C5}),t.d(l,"schemeBuPu",function(){return w5}),t.d(l,"interpolateGnBu",function(){return S5}),t.d(l,"schemeGnBu",function(){return x5}),t.d(l,"interpolateOrRd",function(){return E5}),t.d(l,"schemeOrRd",function(){return k5}),t.d(l,"interpolatePuBuGn",function(){return R5}),t.d(l,"schemePuBuGn",function(){return T5}),t.d(l,"interpolatePuBu",function(){return D5}),t.d(l,"schemePuBu",function(){return I5}),t.d(l,"interpolatePuRd",function(){return F5}),t.d(l,"schemePuRd",function(){return O5}),t.d(l,"interpolateRdPu",function(){return M5}),t.d(l,"schemeRdPu",function(){return N5}),t.d(l,"interpolateYlGnBu",function(){return q5}),t.d(l,"schemeYlGnBu",function(){return A5}),t.d(l,"interpolateYlGn",function(){return j5}),t.d(l,"schemeYlGn",function(){return P5}),t.d(l,"interpolateYlOrBr",function(){return V5}),t.d(l,"schemeYlOrBr",function(){return L5}),t.d(l,"interpolateYlOrRd",function(){return z5}),t.d(l,"schemeYlOrRd",function(){return B5}),t.d(l,"interpolateBlues",function(){return H5}),t.d(l,"schemeBlues",function(){return U5}),t.d(l,"interpolateGreens",function(){return W5}),t.d(l,"schemeGreens",function(){return Z5}),t.d(l,"interpolateGreys",function(){return K5}),t.d(l,"schemeGreys",function(){return G5}),t.d(l,"interpolatePurples",function(){return $5}),t.d(l,"schemePurples",function(){return Y5}),t.d(l,"interpolateReds",function(){return Q5}),t.d(l,"schemeReds",function(){return X5}),t.d(l,"interpolateOranges",function(){return nnn}),t.d(l,"schemeOranges",function(){return J5}),t.d(l,"interpolateCubehelixDefault",function(){return enn}),t.d(l,"interpolateRainbow",function(){return rnn}),t.d(l,"interpolateWarm",function(){return tnn}),t.d(l,"interpolateCool",function(){return lnn}),t.d(l,"interpolateViridis",function(){return ann}),t.d(l,"interpolateMagma",function(){return unn}),t.d(l,"interpolateInferno",function(){return snn}),t.d(l,"interpolatePlasma",function(){return dnn}),t.d(l,"create",function(){return Cen}),t.d(l,"creator",function(){return fnn}),t.d(l,"local",function(){return Sen}),t.d(l,"matcher",function(){return wnn}),t.d(l,"mouse",function(){return Ren}),t.d(l,"namespace",function(){return pnn}),t.d(l,"namespaces",function(){return cnn}),t.d(l,"clientPoint",function(){return Ten}),t.d(l,"select",function(){return wen}),t.d(l,"selectAll",function(){return Ien}),t.d(l,"selection",function(){return yen}),t.d(l,"selector",function(){return mnn}),t.d(l,"selectorAll",function(){return gnn}),t.d(l,"style",function(){return jnn}),t.d(l,"touch",function(){return Den}),t.d(l,"touches",function(){return Oen}),t.d(l,"window",function(){return Mnn}),t.d(l,"event",function(){return sen}),t.d(l,"customEvent",function(){return men}),t.d(l,"timeInterval",function(){return K3}),t.d(l,"timeMillisecond",function(){return $3}),t.d(l,"timeMilliseconds",function(){return X3}),t.d(l,"utcMillisecond",function(){return $3}),t.d(l,"utcMilliseconds",function(){return X3}),t.d(l,"timeSecond",function(){return e4}),t.d(l,"timeSeconds",function(){return t4}),t.d(l,"utcSecond",function(){return e4}),t.d(l,"utcSeconds",function(){return t4}),t.d(l,"timeMinute",function(){return o4}),t.d(l,"timeMinutes",function(){return r4}),t.d(l,"timeHour",function(){return a4}),t.d(l,"timeHours",function(){return u4}),t.d(l,"timeDay",function(){return d4}),t.d(l,"timeDays",function(){return c4}),t.d(l,"timeWeek",function(){return f4}),t.d(l,"timeWeeks",function(){return y4}),t.d(l,"timeSunday",function(){return f4}),t.d(l,"timeSundays",function(){return y4}),t.d(l,"timeMonday",function(){return h4}),t.d(l,"timeMondays",function(){return w4}),t.d(l,"timeTuesday",function(){return m4}),t.d(l,"timeTuesdays",function(){return C4}),t.d(l,"timeWednesday",function(){return v4}),t.d(l,"timeWednesdays",function(){return x4}),t.d(l,"timeThursday",function(){return g4}),t.d(l,"timeThursdays",function(){return S4}),t.d(l,"timeFriday",function(){return b4}),t.d(l,"timeFridays",function(){return k4}),t.d(l,"timeSaturday",function(){return _4}),t.d(l,"timeSaturdays",function(){return E4}),t.d(l,"timeMonth",function(){return R4}),t.d(l,"timeMonths",function(){return I4}),t.d(l,"timeYear",function(){return O4}),t.d(l,"timeYears",function(){return F4}),t.d(l,"utcMinute",function(){return M4}),t.d(l,"utcMinutes",function(){return A4}),t.d(l,"utcHour",function(){return P4}),t.d(l,"utcHours",function(){return j4}),t.d(l,"utcDay",function(){return V4}),t.d(l,"utcDays",function(){return B4}),t.d(l,"utcWeek",function(){return U4}),t.d(l,"utcWeeks",function(){return $4}),t.d(l,"utcSunday",function(){return U4}),t.d(l,"utcSundays",function(){return $4}),t.d(l,"utcMonday",function(){return H4}),t.d(l,"utcMondays",function(){return X4}),t.d(l,"utcTuesday",function(){return Z4}),t.d(l,"utcTuesdays",function(){return Q4}),t.d(l,"utcWednesday",function(){return W4}),t.d(l,"utcWednesdays",function(){return J4}),t.d(l,"utcThursday",function(){return G4}),t.d(l,"utcThursdays",function(){return n8}),t.d(l,"utcFriday",function(){return K4}),t.d(l,"utcFridays",function(){return e8}),t.d(l,"utcSaturday",function(){return Y4}),t.d(l,"utcSaturdays",function(){return t8}),t.d(l,"utcMonth",function(){return o8}),t.d(l,"utcMonths",function(){return r8}),t.d(l,"utcYear",function(){return a8}),t.d(l,"utcYears",function(){return u8}),t.d(l,"timeFormatDefaultLocale",function(){return R9}),t.d(l,"timeFormat",function(){return h8}),t.d(l,"timeParse",function(){return m8}),t.d(l,"utcFormat",function(){return v8}),t.d(l,"utcParse",function(){return g8}),t.d(l,"timeFormatLocale",function(){return p8}),t.d(l,"isoFormat",function(){return I9}),t.d(l,"isoParse",function(){return D9}),t.d(l,"now",function(){return Qq}),t.d(l,"timer",function(){return eP}),t.d(l,"timerFlush",function(){return tP}),t.d(l,"timeout",function(){return iP}),t.d(l,"interval",function(){return aP}),t.d(l,"transition",function(){return qon}),t.d(l,"active",function(){return zon}),t.d(l,"interrupt",function(){return Jtn}),t.d(l,"voronoi",function(){return Trn}),t("yLV6");var o=t("CcnG"),r=t("NlKi"),i=t("kiQV").version,a=new(function(){return function(){this.shouldSend=!0}}());r.config("https://b2b1cfd9b043491eb6b566fd8acee358@sentry.io/842726",{shouldSendCallback:function(){return a.shouldSend},release:i}).install();var u=function(){return function(){}}(),s=t("mrSG"),d=t("6blF"),c=function(){var n={MEMORY:0,IMMUTABLE_MEMORY:1,SESSION:2,LOCAL:3};return n[n.MEMORY]="MEMORY",n[n.IMMUTABLE_MEMORY]="IMMUTABLE_MEMORY",n[n.SESSION]="SESSION",n[n.LOCAL]="LOCAL",n}(),p=function(){function n(n,e,t,l){var o=this;void 0===l&&(l={}),this._loader=e;var r=l.type||c.MEMORY;t.defineProperty(this,"_value",n,l),this._changes=t.changes({key:n,type:r}).map(function(n){return o._value}).publishBehavior(this._value).refCount()}return n.prototype.get=function(){var n=this,e=this._value;if(void 0===e){var t=this._cachedObservable;if(void 0!==t)return t;var l=this._loader();if(l&&l instanceof d.a){var o=l.publishLast().refCount().do(function(e){return n._value=e}).do(function(e){return n._cachedObservable=void 0});return this._cachedObservable=o,o}this._value=e=l}return d.a.of(e)},n.prototype.changes=function(){return this._changes},n.prototype.clear=function(){this._value=void 0},n}(),f="__INFO",h=function(){function n(n,e){this._namespace=n,this._container=e;var t=e.get(this._namespace);if(t&&("object"!=typeof t||!t[f]))throw new Error("Potential attribute conflict detected")}return n.prototype.addAttribute=function(n){var e=this._getInfo();e[n]=!0,this._setInfo(e)},n.prototype.removeAttribute=function(n){var e=this._getInfo();delete e[n],this._setInfo(e)},n.prototype.getAttributes=function(){return Object.keys(this._getInfo()).filter(function(n){return n!==f})},n.prototype.available=function(){var n=this._container.get(this._namespace);return!n||"object"==typeof n&&n[f]},n.prototype._getInfo=function(){var n=this._container.get(this._namespace);return n||((n={})[f]=!0),n},n.prototype._setInfo=function(n){Object.keys(n).length<=1?this._container.remove(this._namespace):this._container.set(this._namespace,n)},n}(),m=function(){function n(n,e,t){void 0===t&&(t=!0),this._namespace=n,this._root=e,this._available=t,this._info=new h(n,e)}return n.prototype.set=function(n,e){if(!this._available)return!1;var t=this._root.set(this._getNamespacedKey(n),e);return this._info.addAttribute(n),t},n.prototype.get=function(n){if(this._available){var e=this._root.get(this._getNamespacedKey(n));return void 0===e&&this._info.removeAttribute(n),e}},n.prototype.remove=function(n){if(this._available)return this._info.removeAttribute(n),this._root.remove(this._getNamespacedKey(n))},n.prototype.removeAll=function(){var n=this;this._info.getAttributes().forEach(function(e){n.remove(e)})},n.prototype.available=function(){return this._available&&this._info.available()},n.prototype.exists=function(n){return void 0!==this.get(n)},n.prototype.keys=function(){var n=this;return this._info.getAttributes().filter(function(e){return n.exists(e)})},n.prototype._getNamespacedKey=function(n){return this._namespace+"::"+n},n}(),v=function(){function n(n){this._storage=n}return n.prototype.set=function(n,e){try{null===e&&(e="_____NULL_VALUE_____"),void 0===e?this._storage.removeItem(n):this._storage.setItem(n,JSON.stringify(e))}catch(t){return!1}return!0},n.prototype.get=function(n){var e=this._storage.getItem(n);if(null!==e){var t=JSON.parse(e);return"_____NULL_VALUE_____"===t?null:t}},n.prototype.remove=function(n){var e=this.get(n);return void 0!==e&&this._storage.removeItem(n),e},n.prototype.removeAll=function(){this._storage.clear()},n}(),g="ANGULAR_PERSISTENCE_STORAGE",b=function(n){function e(e){n.call(this,g,new v(e),!!e)}return Object(s.__extends)(e,n),e}(m),_=function(n){function e(){n.call(this,sessionStorage)}return Object(s.__extends)(e,n),e}(b),y=function(n){function e(){n.call(this,localStorage)}return Object(s.__extends)(e,n),e}(b),w=function(){function n(){this._data={}}return n.prototype.available=function(){return!0},n.prototype.set=function(n,e){return void 0===e?delete this._data[n]:this._data[n]=e,!0},n.prototype.get=function(n){return this._data[n]},n.prototype.exists=function(n){return void 0!==this._data[n]},n.prototype.remove=function(n){delete this._data[n]},n.prototype.removeAll=function(){var n=Object.keys(this._data);return this._data={},n},n.prototype.keys=function(){return Object.keys(this._data)},n}(),C=function(n){function e(){n.apply(this,arguments)}return Object(s.__extends)(e,n),e.prototype.set=function(e,t){return void 0!==t&&(t=JSON.stringify(t)),n.prototype.set.call(this,e,t)},e.prototype.get=function(e){var t=n.prototype.get.call(this,e);if(void 0!==t)return JSON.parse(t)},e}(w),x=function(){function n(){this._storages=[]}return n.getStorage=function(){return new n},n.prototype.of=function(n){var e=this._storages[n];if(!e){switch(n){case c.MEMORY:e=new w,this._storages[n]=e;break;case c.IMMUTABLE_MEMORY:e=new C;break;case c.LOCAL:e=new y;break;case c.SESSION:e=new _}if(!e||!e.available())throw new Error("Storage type not available");this._storages[n]=e}return e},n}(),S=function(){function n(){this._emitter=new o.EventEmitter,this._storage=x.getStorage()}return n.prototype.changes=function(n){void 0===n&&(n={});var e=this._emitter.asObservable();return n.key&&(e=e.filter(function(e){return e.key===n.key})),n.type&&(e=e.filter(function(e){return e.type===n.type})),e},n.prototype.get=function(n,e){void 0===e&&(e=c.MEMORY);var t=this._getStorage(e),l=t.get(n);if(l){var o=Date.now();if(l.expireAfter&&l.created+l.expireAfter<o)return t.remove(n),void this._emitter.emit({key:n,type:e});if(l.oneUse)return t.remove(n),this._emitter.emit({key:n,type:e}),l.data;if(l.timeout){if(l.lastAccessed+l.timeout<o)return t.remove(n),void this._emitter.emit({key:n,type:e});l.lastAccessed=o,t.set(n,l)}return l.data}},n.prototype.set=function(n,e,t){if(void 0===t&&(t={}),t.type||(t.type=c.MEMORY),void 0===!e)return this.remove(n),this._emitter.emit({key:n,type:t.type}),!0;var l=this._getStorage(t.type),o=Date.now(),r=l.set(n,{data:e,expireAfter:t.expireAfter,timeout:t.timeout,oneUse:!!t.oneUse,created:o,lastAccessed:o});return r?this._emitter.emit({key:n,type:t.type}):l.remove(n),r},n.prototype.remove=function(n,e){void 0===e&&(e=c.MEMORY);var t=this._getStorage(e),l=this.get(n,e);return void 0!==l&&(t.remove(n),this._emitter.emit({key:n,type:e})),l},n.prototype.removeAll=function(n){var e=this;void 0===n&&(n=c.MEMORY);var t=this._getStorage(n).keys();this._getStorage(n).removeAll(),t.forEach(function(t){return e._emitter.emit({key:t,type:n})})},n.prototype.clean=function(n){void 0===n&&(n=c.MEMORY);for(var e=this._getStorage(n),t=e.keys(),l=Date.now(),o=0,r=t;o<r.length;o++){var i=r[o],a=e.get(i);a&&(a.expireAfter&&a.created+a.expireAfter<l||a.timeout&&a.lastAccessed+a.timeout<l)&&this.remove(i)}},n.prototype.defineProperty=function(n,e,t,l){var o=this;void 0===l&&(l={});var r=l.type||c.MEMORY;Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return o.get(t,r)},set:function(n){o.set(t,n,l)}})},n.prototype.createContainer=function(n,e){void 0===e&&(e={});var t=this,l={oneUse:e.oneUse,expireAfter:e.expireAfter,timeout:e.timeout,type:e.type||c.MEMORY};return new m(n,{get:function(n){return t.get(n,l.type)},set:function(n,e){return t.set(n,e,l)},remove:function(n){return t.remove(n,l.type)},removeAll:function(){return t.removeAll()}},!0)},n.prototype.createCache=function(n,e,t){return void 0===t&&(t={}),new p(n,e,this,{type:t.type||c.MEMORY,expireAfter:t.expireAfter,timeout:t.timeout})},n.prototype._getStorage=function(n){return this._storage.of(n)},n.prototype._calculateExpires=function(n){return n?Date.now()+n:void 0},n}(),k=function(){return function(){}}(),E=t("26FU"),T=function(){function n(n){this.persistenceService=n,this.settingsSubject=new E.a(this.getAll())}return n.prototype.get=function(e){if(!(e in n.DEFAULTS))throw Error("Key '"+e+"' doesn't exist in settings");var t=this.persistenceService.get(e,c.LOCAL);return void 0===t?n.DEFAULTS[e]:t},n.prototype.set=function(e,t){if(!(e in n.DEFAULTS))throw Error("Key '"+e+"' doesn't exist in settings");this.persistenceService.set(e,t,{type:c.LOCAL}),this.settingsSubject.next(this.getAll())},n.prototype.getAll=function(){var e=this,t=s.__assign({},n.DEFAULTS);return Object.keys(n.DEFAULTS).forEach(function(n){t[n]=e.get(n)}),t},n.prototype.setAll=function(n){var e=this;Object.keys(n).forEach(function(t){e.set(t,n[t])})},n.prototype.isExperimentalEnabled=function(){return this.get("experimental_features")},n.prototype.subscribe=function(n){return this.settingsSubject.subscribe(n)},n.DEFAULTS={crash_reports:!0,experimental_features:!1,angular_map:!1,console_command:void 0},n}(),R=function(){function n(n,e,t,l){this.settingsService=t,this.electronService=l,n.addSvgIcon("gns3",e.bypassSecurityTrustResourceUrl("./assets/gns3_icon.svg"))}return n.prototype.ngOnInit=function(){var n=this;this.electronService.isElectronApp&&this.settingsService.subscribe(function(e){n.electronService.ipcRenderer.send("settings.changed",e)})},n}(),I=t("Ip0R"),D=t("F/XL"),O=t("0/uQ"),F=t("3fWJ"),N=t("dzgT"),M=t("lYZG"),A=t("K9Ia"),q=t("G5J1"),P=t("67Y/"),j=t("Txjg"),L=t("w1EH"),V=t("9Z1F"),B=t("P6uZ"),z=t("psW0"),U=t("zAZS"),H=t("15JJ"),Z=t("t9fZ"),W=t("p0Sj"),G=t("dC0D"),K=t("VnD/"),Y=t("Phjn"),$=t("Qgas"),X=t("xMyE"),Q=t("2WpN"),J=t("Zn8D"),nn=null;function en(){return nn}var tn,ln=function(n){function e(){var e=n.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var t=e.createElement("div",document);if(null!=e.getStyle(t,"animationName"))e._animationPrefix="";else for(var l=["Webkit","Moz","O","ms"],o=0;o<l.length;o++)if(null!=e.getStyle(t,l[o]+"AnimationName")){e._animationPrefix="-"+l[o].toLowerCase()+"-";break}var r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(r).forEach(function(n){null!=e.getStyle(t,n)&&(e._transitionEnd=r[n])})}catch(i){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(s.__extends)(e,n),e.prototype.getDistributedNodes=function(n){return n.getDistributedNodes()},e.prototype.resolveAndSetHref=function(n,e,t){n.href=null==t?e:e+"/../"+t},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function n(){this.resourceLoaderType=null}return Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(n){this._attrToPropMap=n},enumerable:!0,configurable:!0}),n}()),on={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},rn={"\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"},an={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"},un=function(){if(o["\u0275global"].Node)return o["\u0275global"].Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))}}(),sn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.parse=function(n){throw new Error("parse not implemented")},e.makeCurrent=function(){var n;n=new e,nn||(nn=n)},e.prototype.hasProperty=function(n,e){return e in n},e.prototype.setProperty=function(n,e,t){n[e]=t},e.prototype.getProperty=function(n,e){return n[e]},e.prototype.invoke=function(n,e,t){var l;(l=n)[e].apply(l,Object(s.__spread)(t))},e.prototype.logError=function(n){window.console&&(console.error?console.error(n):console.log(n))},e.prototype.log=function(n){window.console&&window.console.log&&window.console.log(n)},e.prototype.logGroup=function(n){window.console&&window.console.group&&window.console.group(n)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return on},enumerable:!0,configurable:!0}),e.prototype.contains=function(n,e){return un.call(n,e)},e.prototype.querySelector=function(n,e){return n.querySelector(e)},e.prototype.querySelectorAll=function(n,e){return n.querySelectorAll(e)},e.prototype.on=function(n,e,t){n.addEventListener(e,t,!1)},e.prototype.onAndCancel=function(n,e,t){return n.addEventListener(e,t,!1),function(){n.removeEventListener(e,t,!1)}},e.prototype.dispatchEvent=function(n,e){n.dispatchEvent(e)},e.prototype.createMouseEvent=function(n){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(n,!0,!0),e},e.prototype.createEvent=function(n){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(n,!0,!0),e},e.prototype.preventDefault=function(n){n.preventDefault(),n.returnValue=!1},e.prototype.isPrevented=function(n){return n.defaultPrevented||null!=n.returnValue&&!n.returnValue},e.prototype.getInnerHTML=function(n){return n.innerHTML},e.prototype.getTemplateContent=function(n){return"content"in n&&this.isTemplateElement(n)?n.content:null},e.prototype.getOuterHTML=function(n){return n.outerHTML},e.prototype.nodeName=function(n){return n.nodeName},e.prototype.nodeValue=function(n){return n.nodeValue},e.prototype.type=function(n){return n.type},e.prototype.content=function(n){return this.hasProperty(n,"content")?n.content:n},e.prototype.firstChild=function(n){return n.firstChild},e.prototype.nextSibling=function(n){return n.nextSibling},e.prototype.parentElement=function(n){return n.parentNode},e.prototype.childNodes=function(n){return n.childNodes},e.prototype.childNodesAsList=function(n){for(var e=n.childNodes,t=new Array(e.length),l=0;l<e.length;l++)t[l]=e[l];return t},e.prototype.clearNodes=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)},e.prototype.appendChild=function(n,e){n.appendChild(e)},e.prototype.removeChild=function(n,e){n.removeChild(e)},e.prototype.replaceChild=function(n,e,t){n.replaceChild(e,t)},e.prototype.remove=function(n){return n.parentNode&&n.parentNode.removeChild(n),n},e.prototype.insertBefore=function(n,e,t){n.insertBefore(t,e)},e.prototype.insertAllBefore=function(n,e,t){t.forEach(function(t){return n.insertBefore(t,e)})},e.prototype.insertAfter=function(n,e,t){n.insertBefore(t,e.nextSibling)},e.prototype.setInnerHTML=function(n,e){n.innerHTML=e},e.prototype.getText=function(n){return n.textContent},e.prototype.setText=function(n,e){n.textContent=e},e.prototype.getValue=function(n){return n.value},e.prototype.setValue=function(n,e){n.value=e},e.prototype.getChecked=function(n){return n.checked},e.prototype.setChecked=function(n,e){n.checked=e},e.prototype.createComment=function(n){return this.getDefaultDocument().createComment(n)},e.prototype.createTemplate=function(n){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=n,e},e.prototype.createElement=function(n,e){return(e=e||this.getDefaultDocument()).createElement(n)},e.prototype.createElementNS=function(n,e,t){return(t=t||this.getDefaultDocument()).createElementNS(n,e)},e.prototype.createTextNode=function(n,e){return(e=e||this.getDefaultDocument()).createTextNode(n)},e.prototype.createScriptTag=function(n,e,t){var l=(t=t||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(n,e),l},e.prototype.createStyleElement=function(n,e){var t=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(t,this.createTextNode(n,e)),t},e.prototype.createShadowRoot=function(n){return n.createShadowRoot()},e.prototype.getShadowRoot=function(n){return n.shadowRoot},e.prototype.getHost=function(n){return n.host},e.prototype.clone=function(n){return n.cloneNode(!0)},e.prototype.getElementsByClassName=function(n,e){return n.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(n,e){return n.getElementsByTagName(e)},e.prototype.classList=function(n){return Array.prototype.slice.call(n.classList,0)},e.prototype.addClass=function(n,e){n.classList.add(e)},e.prototype.removeClass=function(n,e){n.classList.remove(e)},e.prototype.hasClass=function(n,e){return n.classList.contains(e)},e.prototype.setStyle=function(n,e,t){n.style[e]=t},e.prototype.removeStyle=function(n,e){n.style[e]=""},e.prototype.getStyle=function(n,e){return n.style[e]},e.prototype.hasStyle=function(n,e,t){var l=this.getStyle(n,e)||"";return t?l==t:l.length>0},e.prototype.tagName=function(n){return n.tagName},e.prototype.attributeMap=function(n){for(var e=new Map,t=n.attributes,l=0;l<t.length;l++){var o=t.item(l);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(n,e){return n.hasAttribute(e)},e.prototype.hasAttributeNS=function(n,e,t){return n.hasAttributeNS(e,t)},e.prototype.getAttribute=function(n,e){return n.getAttribute(e)},e.prototype.getAttributeNS=function(n,e,t){return n.getAttributeNS(e,t)},e.prototype.setAttribute=function(n,e,t){n.setAttribute(e,t)},e.prototype.setAttributeNS=function(n,e,t,l){n.setAttributeNS(e,t,l)},e.prototype.removeAttribute=function(n,e){n.removeAttribute(e)},e.prototype.removeAttributeNS=function(n,e,t){n.removeAttributeNS(e,t)},e.prototype.templateAwareRoot=function(n){return this.isTemplateElement(n)?this.content(n):n},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(n){try{return n.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(n){return n.title},e.prototype.setTitle=function(n,e){n.title=e||""},e.prototype.elementMatches=function(n,e){return!!this.isElementNode(n)&&(n.matches&&n.matches(e)||n.msMatchesSelector&&n.msMatchesSelector(e)||n.webkitMatchesSelector&&n.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(n){return this.isElementNode(n)&&"TEMPLATE"===n.nodeName},e.prototype.isTextNode=function(n){return n.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(n){return n.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(n){return n.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(n){return null!=n.shadowRoot&&n instanceof HTMLElement},e.prototype.isShadowRoot=function(n){return n instanceof DocumentFragment},e.prototype.importIntoDoc=function(n){return document.importNode(this.templateAwareRoot(n),!0)},e.prototype.adoptNode=function(n){return document.adoptNode(n)},e.prototype.getHref=function(n){return n.getAttribute("href")},e.prototype.getEventKey=function(n){var e=n.key;if(null==e){if(null==(e=n.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&an.hasOwnProperty(e)&&(e=an[e]))}return rn[e]||e},e.prototype.getGlobalEventTarget=function(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(n){var e,t=dn||(dn=document.querySelector("base"))?dn.getAttribute("href"):null;return null==t?null:(e=t,tn||(tn=document.createElement("a")),tn.setAttribute("href",e),"/"===tn.pathname.charAt(0)?tn.pathname:"/"+tn.pathname)},e.prototype.resetBaseElement=function(){dn=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(n,e,t){this.setAttribute(n,"data-"+e,t)},e.prototype.getData=function(n,e){return this.getAttribute(n,"data-"+e)},e.prototype.getComputedStyle=function(n){return getComputedStyle(n)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(n){return Object(I["\u0275parseCookieValue"])(document.cookie,n)},e.prototype.setCookie=function(n,e){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(e)},e}(ln),dn=null;function cn(){return!!window.history.pushState}var pn=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._init(),t}return Object(s.__extends)(e,n),e.prototype._init=function(){this.location=en().getLocation(),this._history=en().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return en().getBaseHref(this._doc)},e.prototype.onPopState=function(n){en().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",n,!1)},e.prototype.onHashChange=function(n){en().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",n,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(n){this.location.pathname=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(n,e,t){cn()?this._history.pushState(n,e,t):this.location.hash=t},e.prototype.replaceState=function(n,e,t){cn()?this._history.replaceState(n,e,t):this.location.hash=t},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},Object(s.__decorate)([Object(s.__param)(0,Object(o.Inject)(I.DOCUMENT)),Object(s.__metadata)("design:paramtypes",[Object])],e)}(I.PlatformLocation),fn=new o.InjectionToken("TRANSITION_ID"),hn=[{provide:o.APP_INITIALIZER,useFactory:function(n,e,t){return function(){t.get(o.ApplicationInitStatus).donePromise.then(function(){var t=en();Array.prototype.slice.apply(t.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return t.getAttribute(e,"ng-transition")===n}).forEach(function(n){return t.remove(n)})})}},deps:[fn,I.DOCUMENT,o.Injector],multi:!0}],mn=function(){function n(){}return n.init=function(){Object(o.setTestabilityGetter)(new n)},n.prototype.addToWindow=function(n){o["\u0275global"].getAngularTestability=function(e,t){void 0===t&&(t=!0);var l=n.findTestabilityInTree(e,t);if(null==l)throw new Error("Could not find testability for element.");return l},o["\u0275global"].getAllAngularTestabilities=function(){return n.getAllTestabilities()},o["\u0275global"].getAllAngularRootElements=function(){return n.getAllRootElements()},o["\u0275global"].frameworkStabilizers||(o["\u0275global"].frameworkStabilizers=[]),o["\u0275global"].frameworkStabilizers.push(function(n){var e=o["\u0275global"].getAllAngularTestabilities(),t=e.length,l=!1,r=function(e){l=l||e,0==--t&&n(l)};e.forEach(function(n){n.whenStable(r)})})},n.prototype.findTestabilityInTree=function(n,e,t){if(null==e)return null;var l=n.getTestability(e);return null!=l?l:t?en().isShadowRoot(e)?this.findTestabilityInTree(n,en().getHost(e),!0):this.findTestabilityInTree(n,en().parentElement(e),!0):null},n}();function vn(n,e){"undefined"!=typeof COMPILED&&COMPILED||((o["\u0275global"].ng=o["\u0275global"].ng||{})[n]=e)}var gn=function(){return{ApplicationRef:o.ApplicationRef,NgZone:o.NgZone}}();function bn(n){return Object(o.getDebugNode)(n)}var _n=new o.InjectionToken("EventManagerPlugins"),yn=function(){function n(n,e){var t=this;this._zone=e,this._eventNameToPlugin=new Map,n.forEach(function(n){return n.manager=t}),this._plugins=n.slice().reverse()}return n.prototype.addEventListener=function(n,e,t){return this._findPluginFor(e).addEventListener(n,e,t)},n.prototype.addGlobalEventListener=function(n,e,t){return this._findPluginFor(e).addGlobalEventListener(n,e,t)},n.prototype.getZone=function(){return this._zone},n.prototype._findPluginFor=function(n){var e=this._eventNameToPlugin.get(n);if(e)return e;for(var t=this._plugins,l=0;l<t.length;l++){var o=t[l];if(o.supports(n))return this._eventNameToPlugin.set(n,o),o}throw new Error("No event manager plugin found for event "+n)},n}(),wn=function(){function n(n){this._doc=n}return n.prototype.addGlobalEventListener=function(n,e,t){var l=en().getGlobalEventTarget(this._doc,n);if(!l)throw new Error("Unsupported event target "+l+" for event "+e);return this.addEventListener(l,e,t)},n}(),Cn=function(){function n(){this._stylesSet=new Set}return n.prototype.addStyles=function(n){var e=this,t=new Set;n.forEach(function(n){e._stylesSet.has(n)||(e._stylesSet.add(n),t.add(n))}),this.onStylesAdded(t)},n.prototype.onStylesAdded=function(n){},n.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},n}(),xn=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t._hostNodes=new Set,t._styleNodes=new Set,t._hostNodes.add(e.head),t}return Object(s.__extends)(e,n),e.prototype._addStylesToHost=function(n,e){var t=this;n.forEach(function(n){var l=t._doc.createElement("style");l.textContent=n,t._styleNodes.add(e.appendChild(l))})},e.prototype.addHost=function(n){this._addStylesToHost(this._stylesSet,n),this._hostNodes.add(n)},e.prototype.removeHost=function(n){this._hostNodes.delete(n)},e.prototype.onStylesAdded=function(n){var e=this;this._hostNodes.forEach(function(t){return e._addStylesToHost(n,t)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(n){return en().remove(n)})},e}(Cn),Sn={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/"},kn=/%COMP%/g,En="_nghost-%COMP%",Tn="_ngcontent-%COMP%";function Rn(n,e,t){for(var l=0;l<e.length;l++){var o=e[l];Array.isArray(o)?Rn(n,o,t):(o=o.replace(kn,n),t.push(o))}return t}function In(n){return function(e){!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}var Dn=function(){function n(n,e,t){this.eventManager=n,this.sharedStylesHost=e,this.appId=t,this.rendererByCompId=new Map,this.defaultRenderer=new On(n)}return n.prototype.createRenderer=function(n,e){if(!n||!e)return this.defaultRenderer;switch(e.encapsulation){case o.ViewEncapsulation.Emulated:var t=this.rendererByCompId.get(e.id);return t||(t=new Mn(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,t)),t.applyToHost(n),t;case o.ViewEncapsulation.Native:case o.ViewEncapsulation.ShadowDom:return new An(this.eventManager,this.sharedStylesHost,n,e);default:if(!this.rendererByCompId.has(e.id)){var l=Rn(e.id,e.styles,[]);this.sharedStylesHost.addStyles(l),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},n.prototype.begin=function(){},n.prototype.end=function(){},n}(),On=function(){function n(n){this.eventManager=n,this.data=Object.create(null)}return n.prototype.destroy=function(){},n.prototype.createElement=function(n,e){return e?document.createElementNS(Sn[e]||e,n):document.createElement(n)},n.prototype.createComment=function(n){return document.createComment(n)},n.prototype.createText=function(n){return document.createTextNode(n)},n.prototype.appendChild=function(n,e){n.appendChild(e)},n.prototype.insertBefore=function(n,e,t){n&&n.insertBefore(e,t)},n.prototype.removeChild=function(n,e){n&&n.removeChild(e)},n.prototype.selectRootElement=function(n,e){var t="string"==typeof n?document.querySelector(n):n;if(!t)throw new Error('The selector "'+n+'" did not match any elements');return e||(t.textContent=""),t},n.prototype.parentNode=function(n){return n.parentNode},n.prototype.nextSibling=function(n){return n.nextSibling},n.prototype.setAttribute=function(n,e,t,l){if(l){e=l+":"+e;var o=Sn[l];o?n.setAttributeNS(o,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)},n.prototype.removeAttribute=function(n,e,t){if(t){var l=Sn[t];l?n.removeAttributeNS(l,e):n.removeAttribute(t+":"+e)}else n.removeAttribute(e)},n.prototype.addClass=function(n,e){n.classList.add(e)},n.prototype.removeClass=function(n,e){n.classList.remove(e)},n.prototype.setStyle=function(n,e,t,l){l&o.RendererStyleFlags2.DashCase?n.style.setProperty(e,t,l&o.RendererStyleFlags2.Important?"important":""):n.style[e]=t},n.prototype.removeStyle=function(n,e,t){t&o.RendererStyleFlags2.DashCase?n.style.removeProperty(e):n.style[e]=""},n.prototype.setProperty=function(n,e,t){Nn(e,"property"),n[e]=t},n.prototype.setValue=function(n,e){n.nodeValue=e},n.prototype.listen=function(n,e,t){return Nn(e,"listener"),"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,In(t)):this.eventManager.addEventListener(n,e,In(t))},n}(),Fn=function(){return"@".charCodeAt(0)}();function Nn(n,e){if(n.charCodeAt(0)===Fn)throw new Error("Found the synthetic "+e+" "+n+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Mn=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;r.component=l;var i=Rn(o+"-"+l.id,l.styles,[]);return t.addStyles(i),r.contentAttr=Tn.replace(kn,o+"-"+l.id),r.hostAttr=En.replace(kn,o+"-"+l.id),r}return Object(s.__extends)(e,n),e.prototype.applyToHost=function(e){n.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,t){var l=n.prototype.createElement.call(this,e,t);return n.prototype.setAttribute.call(this,l,this.contentAttr,""),l},e}(On),An=function(n){function e(e,t,l,r){var i=n.call(this,e)||this;i.sharedStylesHost=t,i.hostEl=l,i.component=r,i.shadowRoot=r.encapsulation===o.ViewEncapsulation.ShadowDom?l.attachShadow({mode:"open"}):l.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Rn(r.id,r.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return Object(s.__extends)(e,n),e.prototype.nodeOrShadowRoot=function(n){return n===this.hostEl?this.shadowRoot:n},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,t){return n.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.insertBefore=function(e,t,l){return n.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),t,l)},e.prototype.removeChild=function(e,t){return n.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),t)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(n.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(On),qn=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(n){return"__zone_symbol__"+n}}(),Pn=qn("addEventListener"),jn=qn("removeEventListener"),Ln={},Vn="__zone_symbol__propagationStopped",Bn=function(){var n="undefined"!=typeof Zone&&Zone[qn("BLACK_LISTED_EVENTS")];if(n){var e={};return n.forEach(function(n){e[n]=n}),e}}(),zn=function(n){return!!Bn&&Bn.hasOwnProperty(n)},Un=function(n){var e=Ln[n.type];if(e){var t=this[e];if(t){var l=[n];if(1===t.length)return(i=t[0]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l);for(var o=t.slice(),r=0;r<o.length&&!0!==n[Vn];r++){var i;(i=o[r]).zone!==Zone.current?i.zone.run(i.handler,this,l):i.handler.apply(this,l)}}}},Hn=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o.ngZone=t,l&&Object(I.isPlatformServer)(l)||o.patchEvent(),o}return Object(s.__extends)(e,n),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var n=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Vn]=!0),n&&n.apply(this,arguments)}}},e.prototype.supports=function(n){return!0},e.prototype.addEventListener=function(n,e,t){var l=this,r=t;if(!n[Pn]||o.NgZone.isInAngularZone()&&!zn(e))n.addEventListener(e,r,!1);else{var i=Ln[e];i||(i=Ln[e]=qn("ANGULAR"+e+"FALSE"));var a=n[i],u=a&&a.length>0;a||(a=n[i]=[]);var s=zn(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:r});else{for(var d=!1,c=0;c<a.length;c++)if(a[c].handler===r){d=!0;break}d||a.push({zone:s,handler:r})}u||n[Pn](e,Un,!1)}return function(){return l.removeEventListener(n,e,r)}},e.prototype.removeEventListener=function(n,e,t){var l=n[jn];if(!l)return n.removeEventListener.apply(n,[e,t,!1]);var o=Ln[e],r=o&&n[o];if(!r)return n.removeEventListener.apply(n,[e,t,!1]);for(var i=!1,a=0;a<r.length;a++)if(r[a].handler===t){i=!0,r.splice(a,1);break}i?0===r.length&&l.apply(n,[e,Un,!1]):n.removeEventListener.apply(n,[e,t,!1])},e}(wn),Zn={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Wn=new o.InjectionToken("HammerGestureConfig"),Gn=new o.InjectionToken("HammerLoader"),Kn=function(){function n(){this.events=[],this.overrides={}}return n.prototype.buildHammer=function(n){var e=new Hammer(n,this.options);for(var t in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(t).set(this.overrides[t]);return e},n}(),Yn=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r._config=t,r.console=l,r.loader=o,r}return Object(s.__extends)(e,n),e.prototype.supports=function(n){return!(!Zn.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+n+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(n,e,t){var l=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var r=!1,i=function(){r=!0};return this.loader().then(function(){if(!window.Hammer)return l.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=function(){});r||(i=l.addEventListener(n,e,t))}).catch(function(){l.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),i=function(){}}),function(){i()}}return o.runOutsideAngular(function(){var r=l._config.buildHammer(n),i=function(n){o.runGuarded(function(){t(n)})};return r.on(e,i),function(){r.off(e,i),"function"==typeof r.destroy&&r.destroy()}})},e.prototype.isCustomEvent=function(n){return this._config.events.indexOf(n)>-1},e}(wn),$n=["alt","control","meta","shift"],Xn={alt:function(n){return n.altKey},control:function(n){return n.ctrlKey},meta:function(n){return n.metaKey},shift:function(n){return n.shiftKey}},Qn=function(n){function e(e){return n.call(this,e)||this}var t;return Object(s.__extends)(e,n),t=e,e.prototype.supports=function(n){return null!=t.parseEventName(n)},e.prototype.addEventListener=function(n,e,l){var o=t.parseEventName(e),r=t.eventCallback(o.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return en().onAndCancel(n,o.domEventName,r)})},e.parseEventName=function(n){var e=n.toLowerCase().split("."),l=e.shift();if(0===e.length||"keydown"!==l&&"keyup"!==l)return null;var o=t._normalizeKey(e.pop()),r="";if($n.forEach(function(n){var t=e.indexOf(n);t>-1&&(e.splice(t,1),r+=n+".")}),r+=o,0!=e.length||0===o.length)return null;var i={};return i.domEventName=l,i.fullKey=r,i},e.getEventFullKey=function(n){var e="",t=en().getEventKey(n);return" "===(t=t.toLowerCase())?t="space":"."===t&&(t="dot"),$n.forEach(function(l){l!=t&&(0,Xn[l])(n)&&(e+=l+".")}),e+=t},e.eventCallback=function(n,e,l){return function(o){t.getEventFullKey(o)===n&&l.runGuarded(function(){return e(o)})}},e._normalizeKey=function(n){switch(n){case"esc":return"escape";default:return n}},e}(wn),Jn=function(){return function(){}}(),ne=function(n){function e(e){var t=n.call(this)||this;return t._doc=e,t}return Object(s.__extends)(e,n),e.prototype.sanitize=function(n,e){if(null==e)return null;switch(n){case o.SecurityContext.NONE:return e;case o.SecurityContext.HTML:return e instanceof te?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(o["\u0275_sanitizeHtml"])(this._doc,String(e)));case o.SecurityContext.STYLE:return e instanceof le?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(o["\u0275_sanitizeStyle"])(e));case o.SecurityContext.SCRIPT:if(e instanceof oe)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return e instanceof ie||e instanceof re?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(o["\u0275_sanitizeUrl"])(String(e)));case o.SecurityContext.RESOURCE_URL:if(e instanceof ie)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+n+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(n,e){if(n instanceof ee)throw new Error("Required a safe "+e+", got a "+n.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(n){return new te(n)},e.prototype.bypassSecurityTrustStyle=function(n){return new le(n)},e.prototype.bypassSecurityTrustScript=function(n){return new oe(n)},e.prototype.bypassSecurityTrustUrl=function(n){return new re(n)},e.prototype.bypassSecurityTrustResourceUrl=function(n){return new ie(n)},e}(Jn),ee=function(){function n(n){this.changingThisBreaksApplicationSecurity=n}return n.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},n}(),te=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"HTML"},e}(ee),le=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"Style"},e}(ee),oe=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"Script"},e}(ee),re=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"URL"},e}(ee),ie=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ee),ae=[{provide:o.PLATFORM_ID,useValue:I["\u0275PLATFORM_BROWSER_ID"]},{provide:o.PLATFORM_INITIALIZER,useValue:function(){sn.makeCurrent(),mn.init()},multi:!0},{provide:I.PlatformLocation,useClass:pn,deps:[I.DOCUMENT]},{provide:I.DOCUMENT,useFactory:function(){return document},deps:[]}],ue=Object(o.createPlatformFactory)(o.platformCore,"browser",ae),se=function(){function n(n){if(n)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 e;return e=n,n.withServerTransition=function(n){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:n.appId},{provide:fn,useExisting:o.APP_ID},hn]}},n}();"undefined"!=typeof window&&window;var de=function(){return function(n,e){this.id=n,this.url=e}}(),ce=function(n){function e(e,t,l,o){void 0===l&&(l="imperative"),void 0===o&&(o=null);var r=n.call(this,e,t)||this;return r.navigationTrigger=l,r.restoredState=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(de),pe=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.urlAfterRedirects=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(de),fe=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.reason=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(de),he=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o.error=l,o}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(de),me=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ve=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ge=function(n){function e(e,t,l,o,r){var i=n.call(this,e,t)||this;return i.urlAfterRedirects=l,i.state=o,i.shouldActivate=r,i}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(de),be=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),_e=function(n){function e(e,t,l,o){var r=n.call(this,e,t)||this;return r.urlAfterRedirects=l,r.state=o,r}return Object(s.__extends)(e,n),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(de),ye=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},n}(),we=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},n}(),Ce=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),xe=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),Se=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ke=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),Ee=function(){function n(n,e,t){this.routerEvent=n,this.position=e,this.anchor=t}return n.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},n}(),Te=function(){return function(){}}(),Re="primary",Ie=function(){function n(n){this.params=n||{}}return n.prototype.has=function(n){return this.params.hasOwnProperty(n)},n.prototype.get=function(n){if(this.has(n)){var e=this.params[n];return Array.isArray(e)?e[0]:e}return null},n.prototype.getAll=function(n){if(this.has(n)){var e=this.params[n];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(n.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),n}();function De(n){return new Ie(n)}var Oe="ngNavigationCancelingError";function Fe(n){var e=Error("NavigationCancelingError: "+n);return e[Oe]=!0,e}function Ne(n,e,t){var l=t.path.split("/");if(l.length>n.length)return null;if("full"===t.pathMatch&&(e.hasChildren()||l.length<n.length))return null;for(var o={},r=0;r<l.length;r++){var i=l[r],a=n[r];if(i.startsWith(":"))o[i.substring(1)]=a;else if(i!==a.path)return null}return{consumed:n.slice(0,l.length),posParams:o}}var Me=function(){return function(n,e){this.routes=n,this.module=e}}();function Ae(n,e){void 0===e&&(e="");for(var t=0;t<n.length;t++){var l=n[t];qe(l,Pe(e,l))}}function qe(n,e){if(!n)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(n))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!n.component&&!n.children&&!n.loadChildren&&n.outlet&&n.outlet!==Re)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(n.redirectTo&&n.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(n.redirectTo&&n.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(n.children&&n.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(n.redirectTo&&n.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(n.path&&n.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===n.redirectTo&&!n.component&&!n.children&&!n.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===n.path&&void 0===n.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof n.path&&"/"===n.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===n.path&&void 0!==n.redirectTo&&void 0===n.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+n.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==n.pathMatch&&"full"!==n.pathMatch&&"prefix"!==n.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");n.children&&Ae(n.children,e)}function Pe(n,e){return e?n||e.path?n&&!e.path?n+"/":!n&&e.path?e.path:n+"/"+e.path:"":n}function je(n){var e=n.children&&n.children.map(je),t=e?Object(s.__assign)({},n,{children:e}):Object(s.__assign)({},n);return!t.component&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Re&&(t.component=Te),t}function Le(n,e){var t,l=Object.keys(n),o=Object.keys(e);if(!l||!o||l.length!=o.length)return!1;for(var r=0;r<l.length;r++)if(n[t=l[r]]!==e[t])return!1;return!0}function Ve(n){return Array.prototype.concat.apply([],n)}function Be(n){return n.length>0?n[n.length-1]:null}function ze(n,e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)}function Ue(n){return Object(o["\u0275isObservable"])(n)?n:Object(o["\u0275isPromise"])(n)?Object(O.a)(Promise.resolve(n)):Object(D.a)(n)}function He(n,e,t){return t?function(n,e){return Le(n,e)}(n.queryParams,e.queryParams)&&function n(e,t){if(!Ke(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var l in t.children){if(!e.children[l])return!1;if(!n(e.children[l],t.children[l]))return!1}return!0}(n.root,e.root):function(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(function(t){return e[t]===n[t]})}(n.queryParams,e.queryParams)&&function n(e,t){return function e(t,l,o){if(t.segments.length>o.length)return!!Ke(i=t.segments.slice(0,o.length),o)&&!l.hasChildren();if(t.segments.length===o.length){if(!Ke(t.segments,o))return!1;for(var r in l.children){if(!t.children[r])return!1;if(!n(t.children[r],l.children[r]))return!1}return!0}var i=o.slice(0,t.segments.length),a=o.slice(t.segments.length);return!!Ke(t.segments,i)&&!!t.children[Re]&&e(t.children[Re],l,a)}(e,t,t.segments)}(n.root,e.root)}var Ze=function(){function n(n,e,t){this.root=n,this.queryParams=e,this.fragment=t}return Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Qe.serialize(this)},n}(),We=function(){function n(n,e){var t=this;this.segments=n,this.children=e,this.parent=null,ze(e,function(n,e){return n.parent=t})}return n.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(n.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Je(this)},n}(),Ge=function(){function n(n,e){this.path=n,this.parameters=e}return Object.defineProperty(n.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=De(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return rt(this)},n}();function Ke(n,e){return n.length===e.length&&n.every(function(n,t){return n.path===e[t].path})}function Ye(n,e){var t=[];return ze(n.children,function(n,l){l===Re&&(t=t.concat(e(n,l)))}),ze(n.children,function(n,l){l!==Re&&(t=t.concat(e(n,l)))}),t}var $e=function(){return function(){}}(),Xe=function(){function n(){}return n.prototype.parse=function(n){var e=new dt(n);return new Ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},n.prototype.serialize=function(n){var e,t;return"/"+function n(e,t){if(!e.hasChildren())return Je(e);if(t){var l=e.children[Re]?n(e.children[Re],!1):"",o=[];return ze(e.children,function(e,t){t!==Re&&o.push(t+":"+n(e,!1))}),o.length>0?l+"("+o.join("//")+")":l}var r=Ye(e,function(t,l){return l===Re?[n(e.children[Re],!1)]:[l+":"+n(t,!1)]});return Je(e)+"/("+r.join("//")+")"}(n.root,!0)+(e=n.queryParams,(t=Object.keys(e).map(function(n){var t=e[n];return Array.isArray(t)?t.map(function(e){return et(n)+"="+et(e)}).join("&"):et(n)+"="+et(t)})).length?"?"+t.join("&"):"")+("string"==typeof n.fragment?"#"+encodeURI(n.fragment):"")},n}(),Qe=new Xe;function Je(n){return n.segments.map(function(n){return rt(n)}).join("/")}function nt(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(n){return nt(n).replace(/%3B/gi,";")}function tt(n){return nt(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lt(n){return decodeURIComponent(n)}function ot(n){return lt(n.replace(/\+/g,"%20"))}function rt(n){return""+tt(n.path)+(e=n.parameters,Object.keys(e).map(function(n){return";"+tt(n)+"="+tt(e[n])}).join(""));var e}var it=/^[^\/()?;=#]+/;function at(n){var e=n.match(it);return e?e[0]:""}var ut=/^[^=?&#]+/,st=/^[^?&#]+/,dt=function(){function n(n){this.url=n,this.remaining=n}return n.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new We([],{}):new We([],this.parseChildren())},n.prototype.parseQueryParams=function(){var n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n},n.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},n.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[Re]=new We(n,e)),t},n.prototype.parseSegment=function(){var n=at(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(n),new Ge(lt(n),this.parseMatrixParams())},n.prototype.parseMatrixParams=function(){for(var n={};this.consumeOptional(";");)this.parseParam(n);return n},n.prototype.parseParam=function(n){var e=at(this.remaining);if(e){this.capture(e);var t="";if(this.consumeOptional("=")){var l=at(this.remaining);l&&this.capture(t=l)}n[lt(e)]=lt(t)}},n.prototype.parseQueryParam=function(n){var e,t=(e=this.remaining.match(ut))?e[0]:"";if(t){this.capture(t);var l="";if(this.consumeOptional("=")){var o=function(n){var e=n.match(st);return e?e[0]:""}(this.remaining);o&&this.capture(l=o)}var r=ot(t),i=ot(l);if(n.hasOwnProperty(r)){var a=n[r];Array.isArray(a)||(n[r]=a=[a]),a.push(i)}else n[r]=i}},n.prototype.parseParens=function(n){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var t=at(this.remaining),l=this.remaining[t.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;t.indexOf(":")>-1?(o=t.substr(0,t.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=Re);var r=this.parseChildren();e[o]=1===Object.keys(r).length?r[Re]:new We([],r),this.consumeOptional("//")}return e},n.prototype.peekStartsWith=function(n){return this.remaining.startsWith(n)},n.prototype.consumeOptional=function(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)},n.prototype.capture=function(n){if(!this.consumeOptional(n))throw new Error('Expected "'+n+'".')},n}(),ct=function(){function n(n){this._root=n}return Object.defineProperty(n.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),n.prototype.parent=function(n){var e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null},n.prototype.children=function(n){var e=pt(n,this._root);return e?e.children.map(function(n){return n.value}):[]},n.prototype.firstChild=function(n){var e=pt(n,this._root);return e&&e.children.length>0?e.children[0].value:null},n.prototype.siblings=function(n){var e=ft(n,this._root);return e.length<2?[]:e[e.length-2].children.map(function(n){return n.value}).filter(function(e){return e!==n})},n.prototype.pathFromRoot=function(n){return ft(n,this._root).map(function(n){return n.value})},n}();function pt(n,e){var t,l;if(n===e.value)return e;try{for(var o=Object(s.__values)(e.children),r=o.next();!r.done;r=o.next()){var i=pt(n,r.value);if(i)return i}}catch(a){t={error:a}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return null}function ft(n,e){var t,l;if(n===e.value)return[e];try{for(var o=Object(s.__values)(e.children),r=o.next();!r.done;r=o.next()){var i=ft(n,r.value);if(i.length)return i.unshift(e),i}}catch(a){t={error:a}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(t)throw t.error}}return[]}var ht=function(){function n(n,e){this.value=n,this.children=e}return n.prototype.toString=function(){return"TreeNode("+this.value+")"},n}();function mt(n){var e={};return n&&n.children.forEach(function(n){return e[n.value.outlet]=n}),e}var vt=function(n){function e(e,t){var l=n.call(this,e)||this;return l.snapshot=t,Ct(l,e),l}return Object(s.__extends)(e,n),e.prototype.toString=function(){return this.snapshot.toString()},e}(ct);function gt(n,e){var t=function(n,e){var t=new yt([],{},{},"",{},Re,e,null,n.root,-1,{});return new wt("",new ht(t,[]))}(n,e),l=new E.a([new Ge("",{})]),o=new E.a({}),r=new E.a({}),i=new E.a({}),a=new E.a(""),u=new bt(l,o,i,a,r,Re,e,t.root);return u.snapshot=t.root,new vt(new ht(u,[]),t)}var bt=function(){function n(n,e,t,l,o,r,i,a){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,this._futureSnapshot=a}return Object.defineProperty(n.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(P.a)(function(n){return De(n)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(P.a)(function(n){return De(n)}))),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},n}();function _t(n,e){void 0===e&&(e="emptyOnly");var t=n.pathFromRoot,l=0;if("always"!==e)for(l=t.length-1;l>=1;){var o=t[l],r=t[l-1];if(o.routeConfig&&""===o.routeConfig.path)l--;else{if(r.component)break;l--}}return function(n){return n.reduce(function(n,e){return{params:Object(s.__assign)({},n.params,e.params),data:Object(s.__assign)({},n.data,e.data),resolve:Object(s.__assign)({},n.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(t.slice(l))}var yt=function(){function n(n,e,t,l,o,r,i,a,u,s,d){this.url=n,this.params=e,this.queryParams=t,this.fragment=l,this.data=o,this.outlet=r,this.component=i,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=s,this._resolve=d}return Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=De(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=De(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return"Route(url:'"+this.url.map(function(n){return n.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},n}(),wt=function(n){function e(e,t){var l=n.call(this,t)||this;return l.url=e,Ct(l,t),l}return Object(s.__extends)(e,n),e.prototype.toString=function(){return xt(this._root)},e}(ct);function Ct(n,e){e.value._routerState=n,e.children.forEach(function(e){return Ct(n,e)})}function xt(n){var e=n.children.length>0?" { "+n.children.map(xt).join(", ")+" } ":"";return""+n.value+e}function St(n){if(n.snapshot){var e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Le(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Le(e.params,t.params)||n.params.next(t.params),function(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;++t)if(!Le(n[t],e[t]))return!1;return!0}(e.url,t.url)||n.url.next(t.url),Le(e.data,t.data)||n.data.next(t.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function kt(n,e){var t,l;return Le(n.params,e.params)&&Ke(t=n.url,l=e.url)&&t.every(function(n,e){return Le(n.parameters,l[e].parameters)})&&!(!n.parent!=!e.parent)&&(!n.parent||kt(n.parent,e.parent))}function Et(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Tt(n,e,t,l,o){var r={};return l&&ze(l,function(n,e){r[e]=Array.isArray(n)?n.map(function(n){return""+n}):""+n}),new Ze(t.root===n?e:function n(e,t,l){var o={};return ze(e.children,function(e,r){o[r]=e===t?l:n(e,t,l)}),new We(e.segments,o)}(t.root,n,e),r,o)}var Rt=function(){function n(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&Et(t[0]))throw new Error("Root segment cannot have matrix parameters");var l=t.find(function(n){return"object"==typeof n&&null!=n&&n.outlets});if(l&&l!==Be(t))throw new Error("{outlets:{}} has to be the last command")}return n.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},n}(),It=function(){return function(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}}();function Dt(n){return"object"==typeof n&&null!=n&&n.outlets?n.outlets[Re]:""+n}function Ot(n,e,t){if(n||(n=new We([],{})),0===n.segments.length&&n.hasChildren())return Ft(n,e,t);var l=function(n,e,t){for(var l=0,o=e,r={match:!1,pathIndex:0,commandIndex:0};o<n.segments.length;){if(l>=t.length)return r;var i=n.segments[o],a=Dt(t[l]),u=l<t.length-1?t[l+1]:null;if(o>0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!qt(a,u,i))return r;l+=2}else{if(!qt(a,{},i))return r;l++}o++}return{match:!0,pathIndex:o,commandIndex:l}}(n,e,t),o=t.slice(l.commandIndex);if(l.match&&l.pathIndex<n.segments.length){var r=new We(n.segments.slice(0,l.pathIndex),{});return r.children[Re]=new We(n.segments.slice(l.pathIndex),n.children),Ft(r,0,o)}return l.match&&0===o.length?new We(n.segments,{}):l.match&&!n.hasChildren()?Nt(n,e,t):l.match?Ft(n,0,o):Nt(n,e,t)}function Ft(n,e,t){if(0===t.length)return new We(n.segments,{});var l=function(n){var e,t;return"object"!=typeof n[0]?((e={})[Re]=n,e):void 0===n[0].outlets?((t={})[Re]=n,t):n[0].outlets}(t),o={};return ze(l,function(t,l){null!==t&&(o[l]=Ot(n.children[l],e,t))}),ze(n.children,function(n,e){void 0===l[e]&&(o[e]=n)}),new We(n.segments,o)}function Nt(n,e,t){for(var l=n.segments.slice(0,e),o=0;o<t.length;){if("object"==typeof t[o]&&void 0!==t[o].outlets){var r=Mt(t[o].outlets);return new We(l,r)}if(0===o&&Et(t[0]))l.push(new Ge(n.segments[e].path,t[0])),o++;else{var i=Dt(t[o]),a=o<t.length-1?t[o+1]:null;i&&a&&Et(a)?(l.push(new Ge(i,At(a))),o+=2):(l.push(new Ge(i,{})),o++)}}return new We(l,{})}function Mt(n){var e={};return ze(n,function(n,t){null!==n&&(e[t]=Nt(new We([],{}),0,n))}),e}function At(n){var e={};return ze(n,function(n,t){return e[t]=""+n}),e}function qt(n,e,t){return n==t.path&&Le(e,t.parameters)}var Pt=function(){function n(n,e,t,l){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=l}return n.prototype.activate=function(n){var e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),St(this.futureState.root),this.activateChildRoutes(e,t,n)},n.prototype.deactivateChildRoutes=function(n,e,t){var l=this,o=mt(e);n.children.forEach(function(n){var e=n.value.outlet;l.deactivateRoutes(n,o[e],t),delete o[e]}),ze(o,function(n,e){l.deactivateRouteAndItsChildren(n,t)})},n.prototype.deactivateRoutes=function(n,e,t){var l=n.value,o=e?e.value:null;if(l===o)if(l.component){var r=t.getContext(l.outlet);r&&this.deactivateChildRoutes(n,e,r.children)}else this.deactivateChildRoutes(n,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)},n.prototype.deactivateRouteAndItsChildren=function(n,e){this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)},n.prototype.detachAndStoreRouteSubtree=function(n,e){var t=e.getContext(n.value.outlet);if(t&&t.outlet){var l=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:l,route:n,contexts:o})}},n.prototype.deactivateRouteAndOutlet=function(n,e){var t=this,l=e.getContext(n.value.outlet);if(l){var o=mt(n),r=n.value.component?l.children:e;ze(o,function(n,e){return t.deactivateRouteAndItsChildren(n,r)}),l.outlet&&(l.outlet.deactivate(),l.children.onOutletDeactivated())}},n.prototype.activateChildRoutes=function(n,e,t){var l=this,o=mt(e);n.children.forEach(function(n){l.activateRoutes(n,o[n.value.outlet],t),l.forwardEvent(new ke(n.value.snapshot))}),n.children.length&&this.forwardEvent(new xe(n.value.snapshot))},n.prototype.activateRoutes=function(n,e,t){var l=n.value,o=e?e.value:null;if(St(l),l===o)if(l.component){var r=t.getOrCreateContext(l.outlet);this.activateChildRoutes(n,e,r.children)}else this.activateChildRoutes(n,e,t);else if(l.component)if(r=t.getOrCreateContext(l.outlet),this.routeReuseStrategy.shouldAttach(l.snapshot)){var i=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),r.children.onOutletReAttached(i.contexts),r.attachRef=i.componentRef,r.route=i.route.value,r.outlet&&r.outlet.attach(i.componentRef,i.route.value),jt(i.route)}else{var a=function(n){for(var e=l.snapshot.parent;e;e=e.parent){var t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(),u=a?a.module.componentFactoryResolver:null;r.attachRef=null,r.route=l,r.resolver=u,r.outlet&&r.outlet.activateWith(l,u),this.activateChildRoutes(n,null,r.children)}else this.activateChildRoutes(n,null,t)},n}();function jt(n){St(n.value),n.children.forEach(jt)}function Lt(n){return"function"==typeof n}function Vt(n){return n instanceof Ze}var Bt=function(){return function(n){this.segmentGroup=n||null}}(),zt=function(){return function(n){this.urlTree=n}}();function Ut(n){return new d.a(function(e){return e.error(new Bt(n))})}function Ht(n){return new d.a(function(e){return e.error(new zt(n))})}function Zt(n){return new d.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+n+"'"))})}var Wt=function(){function n(n,e,t,l,r){this.configLoader=e,this.urlSerializer=t,this.urlTree=l,this.config=r,this.allowRedirects=!0,this.ngModule=n.get(o.NgModuleRef)}return n.prototype.apply=function(){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Re).pipe(Object(P.a)(function(e){return n.createUrlTree(e,n.urlTree.queryParams,n.urlTree.fragment)})).pipe(Object(V.a)(function(e){if(e instanceof zt)return n.allowRedirects=!1,n.match(e.urlTree);if(e instanceof Bt)throw n.noMatchError(e);throw e}))},n.prototype.match=function(n){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,n.root,Re).pipe(Object(P.a)(function(t){return e.createUrlTree(t,n.queryParams,n.fragment)})).pipe(Object(V.a)(function(n){if(n instanceof Bt)throw e.noMatchError(n);throw n}))},n.prototype.noMatchError=function(n){return new Error("Cannot match any routes. URL Segment: '"+n.segmentGroup+"'")},n.prototype.createUrlTree=function(n,e,t){var l,o=n.segments.length>0?new We([],((l={})[Re]=n,l)):n;return new Ze(o,e,t)},n.prototype.expandSegmentGroup=function(n,e,t,l){return 0===t.segments.length&&t.hasChildren()?this.expandChildren(n,e,t).pipe(Object(P.a)(function(n){return new We([],n)})):this.expandSegment(n,t,e,t.segments,l,!0)},n.prototype.expandChildren=function(n,e,t){var l=this;return function(t,o){if(0===Object.keys(t).length)return Object(D.a)({});var r=[],i=[],a={};return ze(t,function(t,o){var u,s,d=(u=o,s=t,l.expandSegmentGroup(n,e,s,u)).pipe(Object(P.a)(function(n){return a[o]=n}));o===Re?r.push(d):i.push(d)}),D.a.apply(null,r.concat(i)).pipe(Object(j.a)(),Object(L.a)(),Object(P.a)(function(){return a}))}(t.children)},n.prototype.expandSegment=function(n,e,t,l,o,r){var i=this;return D.a.apply(void 0,Object(s.__spread)(t)).pipe(Object(P.a)(function(a){return i.expandSegmentAgainstRoute(n,e,t,a,l,o,r).pipe(Object(V.a)(function(n){if(n instanceof Bt)return Object(D.a)(null);throw n}))}),Object(j.a)(),Object(B.a)(function(n){return!!n}),Object(V.a)(function(n,t){if(n instanceof F.a||"EmptyError"===n.name){if(i.noLeftoversInUrl(e,l,o))return Object(D.a)(new We([],{}));throw new Bt(e)}throw n}))},n.prototype.noLeftoversInUrl=function(n,e,t){return 0===e.length&&!n.children[t]},n.prototype.expandSegmentAgainstRoute=function(n,e,t,l,o,r,i){return $t(l)!==r?Ut(e):void 0===l.redirectTo?this.matchSegmentAgainstRoute(n,e,l,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,t,l,o,r):Ut(e)},n.prototype.expandSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,r){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,l,r):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,t,l,o,r)},n.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,e,t,l){var o=this,r=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Ht(r):this.lineralizeSegments(t,r).pipe(Object(z.a)(function(t){var r=new We(t,{});return o.expandSegment(n,r,e,t,l,!1)}))},n.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(n,e,t,l,o,r){var i=this,a=Gt(e,l,o),u=a.consumedSegments,s=a.lastChild,d=a.positionalParamSegments;if(!a.matched)return Ut(e);var c=this.applyRedirectCommands(u,l.redirectTo,d);return l.redirectTo.startsWith("/")?Ht(c):this.lineralizeSegments(l,c).pipe(Object(z.a)(function(l){return i.expandSegment(n,e,t,l.concat(o.slice(s)),r,!1)}))},n.prototype.matchSegmentAgainstRoute=function(n,e,t,l){var o=this;if("**"===t.path)return t.loadChildren?this.configLoader.load(n.injector,t).pipe(Object(P.a)(function(n){return t._loadedConfig=n,new We(l,{})})):Object(D.a)(new We(l,{}));var r=Gt(e,t,l),i=r.consumedSegments,a=r.lastChild;if(!r.matched)return Ut(e);var u=l.slice(a);return this.getChildConfig(n,t,l).pipe(Object(z.a)(function(n){var t=n.module,l=n.routes,r=function(n,e,t,l){return t.length>0&&function(n,e,t){return l.some(function(t){return Yt(n,e,t)&&$t(t)!==Re})}(n,t)?{segmentGroup:Kt(new We(e,function(n,e){var t,l,o={};o[Re]=e;try{for(var r=Object(s.__values)(n),i=r.next();!i.done;i=r.next()){var a=i.value;""===a.path&&$t(a)!==Re&&(o[$t(a)]=new We([],{}))}}catch(u){t={error:u}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return o}(l,new We(t,n.children)))),slicedSegments:[]}:0===t.length&&function(n,e,t){return l.some(function(t){return Yt(n,e,t)})}(n,t)?{segmentGroup:Kt(new We(n.segments,function(n,e,t,l){var o,r,i={};try{for(var a=Object(s.__values)(t),u=a.next();!u.done;u=a.next()){var d=u.value;Yt(n,e,d)&&!l[$t(d)]&&(i[$t(d)]=new We([],{}))}}catch(c){o={error:c}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return Object(s.__assign)({},l,i)}(n,t,l,n.children))),slicedSegments:t}:{segmentGroup:n,slicedSegments:t}}(e,i,u,l),a=r.segmentGroup,d=r.slicedSegments;return 0===d.length&&a.hasChildren()?o.expandChildren(t,l,a).pipe(Object(P.a)(function(n){return new We(i,n)})):0===l.length&&0===d.length?Object(D.a)(new We(i,{})):o.expandSegment(t,a,l,d,Re,!0).pipe(Object(P.a)(function(n){return new We(i.concat(n.segments),n.children)}))}))},n.prototype.getChildConfig=function(n,e,t){var l=this;return e.children?Object(D.a)(new Me(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?Object(D.a)(e._loadedConfig):function(n,e,t){var l=e.canLoad;return l&&0!==l.length?Object(O.a)(l).pipe(Object(P.a)(function(l){var o,r=n.get(l);if(function(n){return n&&Lt(n.canLoad)}(r))o=r.canLoad(e,t);else{if(!Lt(r))throw new Error("Invalid CanLoad guard");o=r(e,t)}return Ue(o)})).pipe(Object(j.a)(),Object(U.a)(function(n){return!0===n})):Object(D.a)(!0)}(n.injector,e,t).pipe(Object(z.a)(function(t){return t?l.configLoader.load(n.injector,e).pipe(Object(P.a)(function(n){return e._loadedConfig=n,n})):function(n){return new d.a(function(e){return e.error(Fe("Cannot load children because the guard of the route \"path: '"+n.path+"'\" returned false"))})}(e)})):Object(D.a)(new Me([],n))},n.prototype.lineralizeSegments=function(n,e){for(var t=[],l=e.root;;){if(t=t.concat(l.segments),0===l.numberOfChildren)return Object(D.a)(t);if(l.numberOfChildren>1||!l.children[Re])return Zt(n.redirectTo);l=l.children[Re]}},n.prototype.applyRedirectCommands=function(n,e,t){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,t)},n.prototype.applyRedirectCreatreUrlTree=function(n,e,t,l){var o=this.createSegmentGroup(n,e.root,t,l);return new Ze(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},n.prototype.createQueryParams=function(n,e){var t={};return ze(n,function(n,l){if("string"==typeof n&&n.startsWith(":")){var o=n.substring(1);t[l]=e[o]}else t[l]=n}),t},n.prototype.createSegmentGroup=function(n,e,t,l){var o=this,r=this.createSegments(n,e.segments,t,l),i={};return ze(e.children,function(e,r){i[r]=o.createSegmentGroup(n,e,t,l)}),new We(r,i)},n.prototype.createSegments=function(n,e,t,l){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(n,e,l):o.findOrReturn(e,t)})},n.prototype.findPosParam=function(n,e,t){var l=t[e.path.substring(1)];if(!l)throw new Error("Cannot redirect to '"+n+"'. Cannot find '"+e.path+"'.");return l},n.prototype.findOrReturn=function(n,e){var t,l,o=0;try{for(var r=Object(s.__values)(e),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.path===n.path)return e.splice(o),a;o++}}catch(u){t={error:u}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return n},n}();function Gt(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var l=(e.matcher||Ne)(t,n,e);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Kt(n){if(1===n.numberOfChildren&&n.children[Re]){var e=n.children[Re];return new We(n.segments.concat(e.segments),e.children)}return n}function Yt(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0!==t.redirectTo}function $t(n){return n.outlet||Re}var Xt=function(){return function(n){this.path=n,this.route=this.path[this.path.length-1]}}(),Qt=function(){return function(n,e){this.component=n,this.route=e}}();function Jt(n,e,t){var l=function(n){if(!n)return null;for(var e=n.parent;e;e=e.parent){var t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(l?l.module.injector:t).get(n)}function nl(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var r=mt(e);return n.children.forEach(function(n){!function(n,e,t,l,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var r=n.value,i=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(i&&r.routeConfig===i.routeConfig){var u=function(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Ke(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Ke(n.url,e.url)||!Le(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kt(n,e)||!Le(n.queryParams,e.queryParams);case"paramsChange":default:return!kt(n,e)}}(i,r,r.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Xt(l)):(r.data=i.data,r._resolvedData=i._resolvedData),nl(n,e,r.component?a?a.children:null:t,l,o),u&&o.canDeactivateChecks.push(new Qt(a&&a.outlet&&a.outlet.component||null,i))}else i&&el(e,a,o),o.canActivateChecks.push(new Xt(l)),nl(n,null,r.component?a?a.children:null:t,l,o)}(n,r[n.value.outlet],t,l.concat([n.value]),o),delete r[n.value.outlet]}),ze(r,function(n,e){return el(n,t.getContext(e),o)}),o}function el(n,e,t){var l=mt(n),o=n.value;ze(l,function(n,l){el(n,o.component?e?e.children.getContext(l):null:e,t)}),t.canDeactivateChecks.push(new Qt(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var tl=Symbol("INITIAL_VALUE");function ll(){return Object(H.a)(function(n){return N.b.apply(void 0,Object(s.__spread)(n.map(function(n){return n.pipe(Object(Z.a)(1),Object(W.a)(tl))}))).pipe(Object(G.a)(function(n,e){var t=!1;return e.reduce(function(n,l,o){if(n!==tl)return n;if(l===tl&&(t=!0),!t){if(!1===l)return l;if(o===e.length-1||Vt(l))return l}return n},n)},tl),Object(K.a)(function(n){return n!==tl}),Object(P.a)(function(n){return Vt(n)?n:!0===n}),Object(Z.a)(1))})}function ol(n,e){return null!==n&&e&&e(new Se(n)),Object(D.a)(!0)}function rl(n,e){return null!==n&&e&&e(new Ce(n)),Object(D.a)(!0)}function il(n,e,t){var l=e.routeConfig?e.routeConfig.canActivate:null;if(!l||0===l.length)return Object(D.a)(!0);var o=l.map(function(l){return Object(M.a)(function(){var o,r=Jt(l,e,t);if(function(n){return n&&Lt(n.canActivate)}(r))o=Ue(r.canActivate(e,n));else{if(!Lt(r))throw new Error("Invalid CanActivate guard");o=Ue(r(e,n))}return o.pipe(Object(B.a)())})});return Object(D.a)(o).pipe(ll())}function al(n,e,t){var l=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(n){return function(n){var e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(n)}).filter(function(n){return null!==n}).map(function(e){return Object(M.a)(function(){var o=e.guards.map(function(o){var r,i=Jt(o,e.node,t);if(function(n){return n&&Lt(n.canActivateChild)}(i))r=Ue(i.canActivateChild(l,n));else{if(!Lt(i))throw new Error("Invalid CanActivateChild guard");r=Ue(i(l,n))}return r.pipe(Object(B.a)())});return Object(D.a)(o).pipe(ll())})});return Object(D.a)(o).pipe(ll())}var ul=function(){return function(){}}(),sl=function(){function n(n,e,t,l,o,r){this.rootComponentType=n,this.config=e,this.urlTree=t,this.url=l,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=r}return n.prototype.recognize=function(){try{var n=pl(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,Re),t=new yt([],Object.freeze({}),Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},Re,this.rootComponentType,null,this.urlTree.root,-1,{}),l=new ht(t,e),o=new wt(this.url,l);return this.inheritParamsAndData(o._root),Object(D.a)(o)}catch(r){return new d.a(function(n){return n.error(r)})}},n.prototype.inheritParamsAndData=function(n){var e=this,t=n.value,l=_t(t,this.paramsInheritanceStrategy);t.params=Object.freeze(l.params),t.data=Object.freeze(l.data),n.children.forEach(function(n){return e.inheritParamsAndData(n)})},n.prototype.processSegmentGroup=function(n,e,t){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,t)},n.prototype.processChildren=function(n,e){var t,l=this,o=Ye(e,function(e,t){return l.processSegmentGroup(n,e,t)});return t={},o.forEach(function(n){var e=t[n.value.outlet];if(e){var l=e.url.map(function(n){return n.toString()}).join("/"),o=n.value.url.map(function(n){return n.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+l+"' and '"+o+"'.")}t[n.value.outlet]=n.value}),o.sort(function(n,e){return n.value.outlet===Re?-1:e.value.outlet===Re?1:n.value.outlet.localeCompare(e.value.outlet)}),o},n.prototype.processSegment=function(n,e,t,l){var o,r;try{for(var i=Object(s.__values)(n),a=i.next();!a.done;a=i.next()){var u=a.value;try{return this.processSegmentAgainstRoute(u,e,t,l)}catch(d){if(!(d instanceof ul))throw d}}}catch(c){o={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,t,l))return[];throw new ul},n.prototype.noLeftoversInUrl=function(n,e,t){return 0===e.length&&!n.children[t]},n.prototype.processSegmentAgainstRoute=function(n,e,t,l){if(n.redirectTo)throw new ul;if((n.outlet||Re)!==l)throw new ul;var o,r=[],i=[];if("**"===n.path){var a=t.length>0?Be(t).parameters:{};o=new yt(t,a,Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,ml(n),l,n.component,n,dl(e),cl(e)+t.length,vl(n))}else{var u=function(n,e,t){if(""===e.path){if("full"===e.pathMatch&&(n.hasChildren()||t.length>0))throw new ul;return{consumedSegments:[],lastChild:0,parameters:{}}}var l=(e.matcher||Ne)(t,n,e);if(!l)throw new ul;var o={};ze(l.posParams,function(n,e){o[e]=n.path});var r=l.consumed.length>0?Object(s.__assign)({},o,l.consumed[l.consumed.length-1].parameters):o;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:r}}(e,n,t);r=u.consumedSegments,i=t.slice(u.lastChild),o=new yt(r,u.parameters,Object.freeze(Object(s.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,ml(n),l,n.component,n,dl(e),cl(e)+r.length,vl(n))}var d=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(n),c=pl(e,r,i,d,this.relativeLinkResolution),p=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&p.hasChildren()){var h=this.processChildren(d,p);return[new ht(o,h)]}if(0===d.length&&0===f.length)return[new ht(o,[])];var m=this.processSegment(d,p,f,Re);return[new ht(o,m)]},n}();function dl(n){for(var e=n;e._sourceSegment;)e=e._sourceSegment;return e}function cl(n){for(var e=n,t=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)t+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return t-1}function pl(n,e,t,l,o){if(t.length>0&&function(n,e,t){return l.some(function(t){return fl(n,e,t)&&hl(t)!==Re})}(n,t)){var r=new We(e,function(n,e,t,l){var o,r,i={};i[Re]=l,l._sourceSegment=n,l._segmentIndexShift=e.length;try{for(var a=Object(s.__values)(t),u=a.next();!u.done;u=a.next()){var d=u.value;if(""===d.path&&hl(d)!==Re){var c=new We([],{});c._sourceSegment=n,c._segmentIndexShift=e.length,i[hl(d)]=c}}}catch(p){o={error:p}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}(n,e,l,new We(t,n.children)));return r._sourceSegment=n,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===t.length&&function(n,e,t){return l.some(function(t){return fl(n,e,t)})}(n,t)){var i=new We(n.segments,function(n,e,t,l,o,r){var i,a,u={};try{for(var d=Object(s.__values)(l),c=d.next();!c.done;c=d.next()){var p=c.value;if(fl(n,t,p)&&!o[hl(p)]){var f=new We([],{});f._sourceSegment=n,f._segmentIndexShift="legacy"===r?n.segments.length:e.length,u[hl(p)]=f}}}catch(h){i={error:h}}finally{try{c&&!c.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return Object(s.__assign)({},o,u)}(n,e,t,l,n.children,o));return i._sourceSegment=n,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:t}}var a=new We(n.segments,n.children);return a._sourceSegment=n,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:t}}function fl(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path&&void 0===t.redirectTo}function hl(n){return n.outlet||Re}function ml(n){return n.data||{}}function vl(n){return n.resolve||{}}function gl(n,e,t,l){var o=Jt(n,e,l);return Ue(o.resolve?o.resolve(e,t):o(e,t))}function bl(n){return function(e){return e.pipe(Object(H.a)(function(e){var t=n(e);return t?Object(O.a)(t).pipe(Object(P.a)(function(){return e})):Object(O.a)([e])}))}}var _l=function(){return function(){}}(),yl=function(){function n(){}return n.prototype.shouldDetach=function(n){return!1},n.prototype.store=function(n,e){},n.prototype.shouldAttach=function(n){return!1},n.prototype.retrieve=function(n){return null},n.prototype.shouldReuseRoute=function(n,e){return n.routeConfig===e.routeConfig},n}(),wl=new o.InjectionToken("ROUTES"),Cl=function(){function n(n,e,t,l){this.loader=n,this.compiler=e,this.onLoadStartListener=t,this.onLoadEndListener=l}return n.prototype.load=function(n,e){var t=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(P.a)(function(l){t.onLoadEndListener&&t.onLoadEndListener(e);var o=l.create(n);return new Me(Ve(o.injector.get(wl)).map(je),o)}))},n.prototype.loadModuleFactory=function(n){var e=this;return"string"==typeof n?Object(O.a)(this.loader.load(n)):Ue(n()).pipe(Object(z.a)(function(n){return n instanceof o.NgModuleFactory?Object(D.a)(n):Object(O.a)(e.compiler.compileModuleAsync(n))}))},n}(),xl=function(){return function(){}}(),Sl=function(){function n(){}return n.prototype.shouldProcessUrl=function(n){return!0},n.prototype.extract=function(n){return n},n.prototype.merge=function(n,e){return n},n}();function kl(n){throw n}function El(n,e,t){return e.parse("/")}function Tl(n,e){return Object(D.a)(null)}var Rl=function(){function n(n,e,t,l,r,i,a,u){var s=this;this.rootComponentType=n,this.urlSerializer=e,this.rootContexts=t,this.location=l,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new A.b,this.errorHandler=kl,this.malformedUriErrorHandler=El,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Tl,afterPreactivation:Tl},this.urlHandlingStrategy=new Sl,this.routeReuseStrategy=new yl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(o.NgModuleRef),this.console=r.get(o["\u0275Console"]);var d=r.get(o.NgZone);this.isNgZoneEnabled=d instanceof o.NgZone,this.resetConfig(u),this.currentUrlTree=new Ze(new We([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cl(i,a,function(n){return s.triggerEvent(new ye(n))},function(n){return s.triggerEvent(new we(n))}),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new E.a({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 n.prototype.setupNavigations=function(n){var e=this,t=this.events;return n.pipe(Object(K.a)(function(n){return 0!==n.id}),Object(P.a)(function(n){return Object(s.__assign)({},n,{extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})}),Object(H.a)(function(n){var l,o,r,i=!1,a=!1;return Object(D.a)(n).pipe(Object(X.a)(function(n){e.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:e.lastSuccessfulNavigation?Object(s.__assign)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(H.a)(function(n){var l,o,r,i,a=!e.navigated||n.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||a)&&e.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return Object(D.a)(n).pipe(Object(H.a)(function(n){var l=e.transitions.getValue();return t.next(new ce(n.id,e.serializeUrl(n.extractedUrl),n.source,n.restoredState)),l!==e.transitions.getValue()?q.a:[n]}),Object(H.a)(function(n){return Promise.resolve(n)}),(l=e.ngModule.injector,o=e.configLoader,r=e.urlSerializer,i=e.config,function(n){return n.pipe(Object(H.a)(function(n){return function(e,t,l,o,r){return new Wt(e,t,l,n.extractedUrl,r).apply()}(l,o,r,0,i).pipe(Object(P.a)(function(e){return Object(s.__assign)({},n,{urlAfterRedirects:e})}))}))}),Object(X.a)(function(n){e.currentNavigation=Object(s.__assign)({},e.currentNavigation,{finalUrl:n.urlAfterRedirects})}),function(n,t,l,o,r){return function(l){return l.pipe(Object(z.a)(function(l){return function(n,e,t,l,o,r){return void 0===o&&(o="emptyOnly"),void 0===r&&(r="legacy"),new sl(n,e,t,l,o,r).recognize()}(n,t,l.urlAfterRedirects,(i=l.urlAfterRedirects,e.serializeUrl(i)),o,r).pipe(Object(P.a)(function(n){return Object(s.__assign)({},l,{targetSnapshot:n})}));var i}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(X.a)(function(n){"eager"===e.urlUpdateStrategy&&(n.extras.skipLocationChange||e.setBrowserUrl(n.urlAfterRedirects,!!n.extras.replaceUrl,n.id,n.extras.state),e.browserUrlTree=n.urlAfterRedirects)}),Object(X.a)(function(n){var l=new me(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);t.next(l)}));if(a&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=n.extractedUrl,d=n.source,c=n.restoredState,p=n.extras,f=new ce(n.id,e.serializeUrl(u),d,c);t.next(f);var h=gt(u,e.rootComponentType).snapshot;return Object(D.a)(Object(s.__assign)({},n,{targetSnapshot:h,urlAfterRedirects:u,extras:Object(s.__assign)({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=n.rawUrl,e.browserUrlTree=n.urlAfterRedirects,n.resolve(null),q.a}),bl(function(n){var t=n.extras;return e.hooks.beforePreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})}),Object(X.a)(function(n){var t=new ve(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)}),Object(P.a)(function(n){return Object(s.__assign)({},n,{guards:(t=n.targetSnapshot,l=n.currentSnapshot,o=e.rootContexts,r=t._root,nl(r,l?l._root:null,o,[r.value]))});var t,l,o,r}),function(n,e){return function(t){return t.pipe(Object(z.a)(function(t){var l=t.targetSnapshot,o=t.currentSnapshot,r=t.guards,i=r.canActivateChecks,a=r.canDeactivateChecks;return 0===a.length&&0===i.length?Object(D.a)(Object(s.__assign)({},t,{guardsResult:!0})):function(n,e,t,l){return Object(O.a)(n).pipe(Object(z.a)(function(n){return function(n,e,t,l,o){var r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(D.a)(!0);var i=r.map(function(r){var i,a=Jt(r,e,o);if(function(n){return n&&Lt(n.canDeactivate)}(a))i=Ue(a.canDeactivate(n,e,t,l));else{if(!Lt(a))throw new Error("Invalid CanDeactivate guard");i=Ue(a(n,e,t,l))}return i.pipe(Object(B.a)())});return Object(D.a)(i).pipe(ll())}(n.component,n.route,t,e,l)}),Object(B.a)(function(n){return!0!==n},!0))}(a,l,o,n).pipe(Object(z.a)(function(t){return t&&"boolean"==typeof t?function(n,e,t,l){return Object(O.a)(e).pipe(Object(Y.a)(function(e){return Object(O.a)([rl(e.route.parent,l),ol(e.route,l),al(n,e.path,t),il(n,e.route,t)]).pipe(Object(j.a)(),Object(B.a)(function(n){return!0!==n},!0))}),Object(B.a)(function(n){return!0!==n},!0))}(l,i,n,e):Object(D.a)(t)}),Object(P.a)(function(n){return Object(s.__assign)({},t,{guardsResult:n})}))}))}}(e.ngModule.injector,function(n){return e.triggerEvent(n)}),Object(X.a)(function(n){if(Vt(n.guardsResult)){var t=Fe('Redirecting to "'+e.serializeUrl(n.guardsResult)+'"');throw t.url=n.guardsResult,t}}),Object(X.a)(function(n){var t=new ge(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);e.triggerEvent(t)}),Object(K.a)(function(n){if(!n.guardsResult){e.resetUrlToCurrentUrlTree();var l=new fe(n.id,e.serializeUrl(n.extractedUrl),"");return t.next(l),n.resolve(!1),!1}return!0}),bl(function(n){if(n.guards.canActivateChecks.length)return Object(D.a)(n).pipe(Object(X.a)(function(n){var t=new be(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)}),(t=e.paramsInheritanceStrategy,l=e.ngModule.injector,function(n){return n.pipe(Object(z.a)(function(n){var e=n.targetSnapshot,o=n.guards.canActivateChecks;return o.length?Object(O.a)(o).pipe(Object(Y.a)(function(n){return function(n,t,l,o){return function(n,e,t,l){var o=Object.keys(n);if(0===o.length)return Object(D.a)({});if(1===o.length){var r=o[0];return gl(n[r],e,t,l).pipe(Object(P.a)(function(n){var e;return(e={})[r]=n,e}))}var i={};return Object(O.a)(o).pipe(Object(z.a)(function(o){return gl(n[o],e,t,l).pipe(Object(P.a)(function(n){return i[o]=n,n}))})).pipe(Object(L.a)(),Object(P.a)(function(){return i}))}(n._resolve,n,e,o).pipe(Object(P.a)(function(e){return n._resolvedData=e,n.data=Object(s.__assign)({},n.data,_t(n,l).resolve),null}))}(n.route,0,t,l)}),Object($.a)(function(n,e){return n}),Object(P.a)(function(e){return n})):Object(D.a)(n)}))}),Object(X.a)(function(n){var t=new _e(n.id,e.serializeUrl(n.extractedUrl),e.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.triggerEvent(t)}));var t,l}),bl(function(n){var t=n.extras;return e.hooks.afterPreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!t.skipLocationChange,replaceUrl:!!t.replaceUrl})}),Object(P.a)(function(n){var t,l,o,r=(o=function n(e,t,l){if(l&&e.shouldReuseRoute(t.value,l.value.snapshot)){(u=l.value)._futureSnapshot=t.value;var o=function(e,t,l){return t.children.map(function(t){var o,r;try{for(var i=Object(s.__values)(l.children),a=i.next();!a.done;a=i.next()){var u=a.value;if(e.shouldReuseRoute(u.value.snapshot,t.value))return n(e,t,u)}}catch(d){o={error:d}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return n(e,t)})}(e,t,l);return new ht(u,o)}var r=e.retrieve(t.value);if(r){var i=r.route;return function n(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var l=0;l<e.children.length;++l)n(e.children[l],t.children[l])}(t,i),i}var a,u=new bt(new E.a((a=t.value).url),new E.a(a.params),new E.a(a.queryParams),new E.a(a.fragment),new E.a(a.data),a.outlet,a.component,a);return o=t.children.map(function(t){return n(e,t)}),new ht(u,o)}(e.routeReuseStrategy,(t=n.targetSnapshot)._root,(l=n.currentRouterState)?l._root:void 0),new vt(o,t));return Object(s.__assign)({},n,{targetRouterState:r})}),Object(X.a)(function(n){e.currentUrlTree=n.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,n.rawUrl),e.routerState=n.targetRouterState,"deferred"===e.urlUpdateStrategy&&(n.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!n.extras.replaceUrl,n.id,n.extras.state),e.browserUrlTree=n.urlAfterRedirects)}),(l=e.rootContexts,o=e.routeReuseStrategy,r=function(n){return e.triggerEvent(n)},Object(P.a)(function(n){return new Pt(o,n.targetRouterState,n.currentRouterState,r).activate(l),n})),Object(X.a)({next:function(){i=!0},complete:function(){i=!0}}),Object(Q.a)(function(){if(!i&&!a){e.resetUrlToCurrentUrlTree();var l=new fe(n.id,e.serializeUrl(n.extractedUrl),"Navigation ID "+n.id+" is not equal to the current navigation id "+e.navigationId);t.next(l),n.resolve(!1)}e.currentNavigation=null}),Object(V.a)(function(l){if(a=!0,(u=l)&&u[Oe]){var o=Vt(l.url);o||(e.navigated=!0,e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl));var r=new fe(n.id,e.serializeUrl(n.extractedUrl),l.message);t.next(r),n.resolve(!1),o&&e.navigateByUrl(l.url)}else{e.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl);var i=new he(n.id,e.serializeUrl(n.extractedUrl),l);t.next(i);try{n.resolve(e.errorHandler(l))}catch(s){n.reject(s)}}var u;return q.a}))}))},n.prototype.resetRootComponentType=function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType},n.prototype.getTransition=function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n},n.prototype.setTransition=function(n){this.transitions.next(Object(s.__assign)({},this.getTransition(),n))},n.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},n.prototype.setUpLocationChangeListener=function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var t=n.parseUrl(e.url),l="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){n.scheduleNavigation(t,l,o,{replaceUrl:!0})},0)}))},Object.defineProperty(n.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),n.prototype.getCurrentNavigation=function(){return this.currentNavigation},n.prototype.triggerEvent=function(n){this.events.next(n)},n.prototype.resetConfig=function(n){Ae(n),this.config=n.map(je),this.navigated=!1,this.lastSuccessfulId=-1},n.prototype.ngOnDestroy=function(){this.dispose()},n.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},n.prototype.createUrlTree=function(n,e){void 0===e&&(e={});var t=e.relativeTo,l=e.queryParams,r=e.fragment,i=e.preserveQueryParams,a=e.queryParamsHandling,u=e.preserveFragment;Object(o.isDevMode)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var d=t||this.routerState.root,c=u?this.currentUrlTree.fragment:r,p=null;if(a)switch(a){case"merge":p=Object(s.__assign)({},this.currentUrlTree.queryParams,l);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=l||null}else p=i?this.currentUrlTree.queryParams:l||null;return null!==p&&(p=this.removeEmptyProps(p)),function(n,e,t,l,o){if(0===t.length)return Tt(e.root,e.root,e,l,o);var r=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new Rt(!0,0,n);var e=0,t=!1,l=n.reduce(function(n,l,o){if("object"==typeof l&&null!=l){if(l.outlets){var r={};return ze(l.outlets,function(n,e){r[e]="string"==typeof n?n.split("/"):n}),Object(s.__spread)(n,[{outlets:r}])}if(l.segmentPath)return Object(s.__spread)(n,[l.segmentPath])}return"string"!=typeof l?Object(s.__spread)(n,[l]):0===o?(l.split("/").forEach(function(l,o){0==o&&"."===l||(0==o&&""===l?t=!0:".."===l?e++:""!=l&&n.push(l))}),n):Object(s.__spread)(n,[l])},[]);return new Rt(t,e,l)}(t);if(r.toRoot())return Tt(e.root,new We([],{}),e,l,o);var i=function(n,t,l){if(n.isAbsolute)return new It(e.root,!0,0);if(-1===l.snapshot._lastPathIndex)return new It(l.snapshot._urlSegment,!0,0);var o=Et(n.commands[0])?0:1;return function(e,t,r){for(var i=l.snapshot._urlSegment,a=l.snapshot._lastPathIndex+o,u=n.numberOfDoubleDots;u>a;){if(u-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new It(i,!1,a-u)}()}(r,0,n),a=i.processChildren?Ft(i.segmentGroup,i.index,r.commands):Ot(i.segmentGroup,i.index,r.commands);return Tt(i.segmentGroup,a,e,l,o)}(d,this.currentUrlTree,n,p,c)},n.prototype.navigateByUrl=function(n,e){void 0===e&&(e={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var t=Vt(n)?n:this.parseUrl(n),l=this.urlHandlingStrategy.merge(t,this.rawUrlTree);return this.scheduleNavigation(l,"imperative",null,e)},n.prototype.navigate=function(n,e){return void 0===e&&(e={skipLocationChange:!1}),function(n){for(var e=0;e<n.length;e++){var t=n[e];if(null==t)throw new Error("The requested path contains "+t+" segment at index "+e)}}(n),this.navigateByUrl(this.createUrlTree(n,e),e)},n.prototype.serializeUrl=function(n){return this.urlSerializer.serialize(n)},n.prototype.parseUrl=function(n){var e;try{e=this.urlSerializer.parse(n)}catch(t){e=this.malformedUriErrorHandler(t,this.urlSerializer,n)}return e},n.prototype.isActive=function(n,e){if(Vt(n))return He(this.currentUrlTree,n,e);var t=this.parseUrl(n);return He(this.currentUrlTree,t,e)},n.prototype.removeEmptyProps=function(n){return Object.keys(n).reduce(function(e,t){var l=n[t];return null!=l&&(e[t]=l),e},{})},n.prototype.processNavigations=function(){var n=this;this.navigations.subscribe(function(e){n.navigated=!0,n.lastSuccessfulId=e.id,n.events.next(new pe(e.id,n.serializeUrl(e.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,n.currentNavigation=null,e.resolve(!0)},function(e){n.console.warn("Unhandled Navigation Error: ")})},n.prototype.scheduleNavigation=function(n,e,t,l){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===n.toString())return Promise.resolve(!0);var r=null,i=null,a=new Promise(function(n,e){r=n,i=e}),u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:l,resolve:r,reject:i,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(function(n){return Promise.reject(n)})},n.prototype.setBrowserUrl=function(n,e,t,l){var o=this.urlSerializer.serialize(n);l=l||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object(s.__assign)({},l,{navigationId:t})):this.location.go(o,"",Object(s.__assign)({},l,{navigationId:t}))},n.prototype.resetStateAndUrl=function(n,e,t){this.routerState=n,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t),this.resetUrlToCurrentUrlTree()},n.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},n}(),Il=function(){function n(n,e,t,l,o){this.router=n,this.route=e,this.commands=[],null==t&&l.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.onClick=function(){var n={skipLocationChange:Ol(this.skipLocationChange),replaceUrl:Ol(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,n),!0},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ol(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ol(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}(),Dl=function(){function n(n,e,t){var l=this;this.router=n,this.route=e,this.locationStrategy=t,this.commands=[],this.subscription=n.events.subscribe(function(n){n instanceof pe&&l.updateTargetUrlAndHref()})}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){this.updateTargetUrlAndHref()},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.onClick=function(n,e,t,l){if(0!==n||e||t||l)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Ol(this.skipLocationChange),replaceUrl:Ol(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1},n.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ol(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ol(this.preserveFragment)})},enumerable:!0,configurable:!0}),Object(s.__decorate)([Object(o.HostBinding)("attr.target"),Object(o.Input)(),Object(s.__metadata)("design:type",String)],n.prototype,"target",void 0),n}();function Ol(n){return""===n||!!n}var Fl=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Nl,this.attachRef=null}}(),Nl=function(){function n(){this.contexts=new Map}return n.prototype.onChildOutletCreated=function(n,e){var t=this.getOrCreateContext(n);t.outlet=e,this.contexts.set(n,t)},n.prototype.onChildOutletDestroyed=function(n){var e=this.getContext(n);e&&(e.outlet=null)},n.prototype.onOutletDeactivated=function(){var n=this.contexts;return this.contexts=new Map,n},n.prototype.onOutletReAttached=function(n){this.contexts=n},n.prototype.getOrCreateContext=function(n){var e=this.getContext(n);return e||(e=new Fl,this.contexts.set(n,e)),e},n.prototype.getContext=function(n){return this.contexts.get(n)||null},n}(),Ml=function(){function n(n,e,t,l,r){this.parentContexts=n,this.location=e,this.resolver=t,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=l||Re,n.onChildOutletCreated(this.name,this)}return n.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},n.prototype.ngOnInit=function(){if(!this.activated){var n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}},Object.defineProperty(n.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),n.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var n=this.activated;return this.activated=null,this._activatedRoute=null,n},n.prototype.attach=function(n,e){this.activated=n,this._activatedRoute=e,this.location.insert(n.hostView)},n.prototype.deactivate=function(){if(this.activated){var n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},n.prototype.activateWith=function(n,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;var t=(e=e||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,o=new Al(n,l,this.location.injector);this.activated=this.location.createComponent(t,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},n}(),Al=function(){function n(n,e,t){this.route=n,this.childContexts=e,this.parent=t}return n.prototype.get=function(n,e){return n===bt?this.route:n===Nl?this.childContexts:this.parent.get(n,e)},n}(),ql=function(){return function(){}}(),Pl=function(){function n(){}return n.prototype.preload=function(n,e){return e().pipe(Object(V.a)(function(){return Object(D.a)(null)}))},n}(),jl=function(){function n(){}return n.prototype.preload=function(n,e){return Object(D.a)(null)},n}(),Ll=function(){function n(n,e,t,l,o){this.router=n,this.injector=l,this.preloadingStrategy=o,this.loader=new Cl(e,t,function(e){return n.triggerEvent(new ye(e))},function(e){return n.triggerEvent(new we(e))})}return n.prototype.setUpPreloading=function(){var n=this;this.subscription=this.router.events.pipe(Object(K.a)(function(n){return n instanceof pe}),Object(Y.a)(function(){return n.preload()})).subscribe(function(){})},n.prototype.preload=function(){var n=this.injector.get(o.NgModuleRef);return this.processRoutes(n,this.router.config)},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.processRoutes=function(n,e){var t,l,o=[];try{for(var r=Object(s.__values)(e),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var u=a._loadedConfig;o.push(this.processRoutes(u.module,u.routes))}else a.loadChildren&&!a.canLoad?o.push(this.preloadConfig(n,a)):a.children&&o.push(this.processRoutes(n,a.children))}}catch(d){t={error:d}}finally{try{i&&!i.done&&(l=r.return)&&l.call(r)}finally{if(t)throw t.error}}return Object(O.a)(o).pipe(Object(J.a)(),Object(P.a)(function(n){}))},n.prototype.preloadConfig=function(n,e){var t=this;return this.preloadingStrategy.preload(e,function(){return t.loader.load(n.injector,e).pipe(Object(z.a)(function(n){return e._loadedConfig=n,t.processRoutes(n.module,n.routes)}))})},n}(),Vl=function(){function n(n,e,t){void 0===t&&(t={}),this.router=n,this.viewportScroller=e,this.options=t,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},t.scrollPositionRestoration=t.scrollPositionRestoration||"disabled",t.anchorScrolling=t.anchorScrolling||"disabled"}return n.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},n.prototype.createScrollEvents=function(){var n=this;return this.router.events.subscribe(function(e){e instanceof ce?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=e.navigationTrigger,n.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof pe&&(n.lastId=e.id,n.scheduleScrollEvent(e,n.router.parseUrl(e.urlAfterRedirects).fragment))})},n.prototype.consumeScrollEvents=function(){var n=this;return this.router.events.subscribe(function(e){e instanceof Ee&&(e.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})},n.prototype.scheduleScrollEvent=function(n,e){this.router.triggerEvent(new Ee(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},n.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},n}(),Bl=new o.InjectionToken("ROUTER_CONFIGURATION"),zl=new o.InjectionToken("ROUTER_FORROOT_GUARD"),Ul=[I.Location,{provide:$e,useClass:Xe},{provide:Rl,useFactory:$l,deps:[o.ApplicationRef,$e,Nl,I.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,wl,Bl,[xl,new o.Optional],[_l,new o.Optional]]},Nl,{provide:bt,useFactory:Xl,deps:[Rl]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},Ll,jl,Pl,{provide:Bl,useValue:{enableTracing:!1}}];function Hl(){return new o.NgProbeToken("Router",Rl)}var Zl=function(){function n(n,e){}var e;return e=n,n.forRoot=function(n,t){return{ngModule:e,providers:[Ul,Yl(n),{provide:zl,useFactory:Kl,deps:[[Rl,new o.Optional,new o.SkipSelf]]},{provide:Bl,useValue:t||{}},{provide:I.LocationStrategy,useFactory:Gl,deps:[I.PlatformLocation,[new o.Inject(I.APP_BASE_HREF),new o.Optional],Bl]},{provide:Vl,useFactory:Wl,deps:[Rl,I.ViewportScroller,Bl]},{provide:ql,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:jl},{provide:o.NgProbeToken,multi:!0,useFactory:Hl},[Ql,{provide:o.APP_INITIALIZER,multi:!0,useFactory:Jl,deps:[Ql]},{provide:eo,useFactory:no,deps:[Ql]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:eo}]]}},n.forChild=function(n){return{ngModule:e,providers:[Yl(n)]}},n}();function Wl(n,e,t){return t.scrollOffset&&e.setOffset(t.scrollOffset),new Vl(n,e,t)}function Gl(n,e,t){return void 0===t&&(t={}),t.useHash?new I.HashLocationStrategy(n,e):new I.PathLocationStrategy(n,e)}function Kl(n){if(n)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Yl(n){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:n},{provide:wl,multi:!0,useValue:n}]}function $l(n,e,t,l,o,r,i,a,u,s,d){void 0===u&&(u={});var c=new Rl(null,e,t,l,o,r,i,Ve(a));if(s&&(c.urlHandlingStrategy=s),d&&(c.routeReuseStrategy=d),u.errorHandler&&(c.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(c.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var p=en();c.events.subscribe(function(n){p.logGroup("Router Event: "+n.constructor.name),p.log(n.toString()),p.log(n),p.logGroupEnd()})}return u.onSameUrlNavigation&&(c.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(c.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(c.relativeLinkResolution=u.relativeLinkResolution),c}function Xl(n){return n.routerState.root}var Ql=function(){function n(n){this.injector=n,this.initNavigation=!1,this.resultOfPreactivationDone=new A.b}return n.prototype.appInitializer=function(){var n=this;return this.injector.get(I.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var e=null,t=new Promise(function(n){return e=n}),l=n.injector.get(Rl),o=n.injector.get(Bl);if(n.isLegacyDisabled(o)||n.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)l.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");l.hooks.afterPreactivation=function(){return n.initNavigation?Object(D.a)(null):(n.initNavigation=!0,e(!0),n.resultOfPreactivationDone)},l.initialNavigation()}return t})},n.prototype.bootstrapListener=function(n){var e=this.injector.get(Bl),t=this.injector.get(Ll),l=this.injector.get(Vl),r=this.injector.get(Rl),i=this.injector.get(o.ApplicationRef);n===i.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),t.setUpPreloading(),l.init(),r.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},n.prototype.isLegacyEnabled=function(n){return"legacy_enabled"===n.initialNavigation||!0===n.initialNavigation||void 0===n.initialNavigation},n.prototype.isLegacyDisabled=function(n){return"legacy_disabled"===n.initialNavigation||!1===n.initialNavigation},n}();function Jl(n){return n.appInitializer.bind(n)}function no(n){return n.bootstrapListener.bind(n)}var eo=new o.InjectionToken("Router Initializer"),to=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function lo(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](1,212992,null,0,Ml,[Nl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}function oo(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,lo,to)),o["\u0275did"](1,49152,null,0,Te,[],null,null)],null,null)}var ro,io=o["\u0275ccf"]("ng-component",Te,oo,{},{},[]),ao=new o.Version("8.1.1");function uo(n){return null!=n&&""+n!="false"}function so(n,e){return void 0===e&&(e=0),function(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function co(n){return Array.isArray(n)?n:[n]}function po(n){return null==n?"":"string"==typeof n?n:n+"px"}function fo(n){return n instanceof o.ElementRef?n.nativeElement:n}try{ro="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(jrn){ro=!1}var ho,mo,vo=function(){function n(n){this._platformId=n,this.isBrowser=this._platformId?Object(I.isPlatformBrowser)(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&&!ro)&&"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 n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(o.PLATFORM_ID,8))},token:n,providedIn:"root"}),n}(),go=function(){return function(){}}(),bo=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function _o(){if(ho)return ho;if("object"!=typeof document||!document)return ho=new Set(bo);var n=document.createElement("input");return ho=new Set(bo.filter(function(e){return n.setAttribute("type",e),n.type===e}))}function yo(n){return function(){if(null==mo&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return mo=!0}}))}finally{mo=mo||!1}return mo}()?n:!!n.capture}var wo=t("pugT"),Co=27;function xo(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.length?e.some(function(e){return n[e]}):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var So=t("Gi3i");function ko(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}var Eo=0,To=new Map,Ro=null,Io=function(){function n(n){this._document=n}return n.prototype.describe=function(n,e){this._canBeDescribed(n,e)&&("string"!=typeof e?(this._setMessageId(e),To.set(e,{messageElement:e,referenceCount:0})):To.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(n,e)||this._addMessageReference(n,e))},n.prototype.removeDescription=function(n,e){if(this._isElementNode(n)){if(this._isElementDescribedByMessage(n,e)&&this._removeMessageReference(n,e),"string"==typeof e){var t=To.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}Ro&&0===Ro.childNodes.length&&this._deleteMessagesContainer()}},n.prototype.ngOnDestroy=function(){for(var n=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<n.length;e++)this._removeCdkDescribedByReferenceIds(n[e]),n[e].removeAttribute("cdk-describedby-host");Ro&&this._deleteMessagesContainer(),To.clear()},n.prototype._createMessageElement=function(n){var e=this._document.createElement("div");this._setMessageId(e),e.textContent=n,this._createMessagesContainer(),Ro.appendChild(e),To.set(n,{messageElement:e,referenceCount:0})},n.prototype._setMessageId=function(n){n.id||(n.id="cdk-describedby-message-"+Eo++)},n.prototype._deleteMessageElement=function(n){var e=To.get(n),t=e&&e.messageElement;Ro&&t&&Ro.removeChild(t),To.delete(n)},n.prototype._createMessagesContainer=function(){if(!Ro){var n=this._document.getElementById("cdk-describedby-message-container");n&&n.parentNode.removeChild(n),(Ro=this._document.createElement("div")).id="cdk-describedby-message-container",Ro.setAttribute("aria-hidden","true"),Ro.style.display="none",this._document.body.appendChild(Ro)}},n.prototype._deleteMessagesContainer=function(){Ro&&Ro.parentNode&&(Ro.parentNode.removeChild(Ro),Ro=null)},n.prototype._removeCdkDescribedByReferenceIds=function(n){var e=ko(n,"aria-describedby").filter(function(n){return 0!=n.indexOf("cdk-describedby-message")});n.setAttribute("aria-describedby",e.join(" "))},n.prototype._addMessageReference=function(n,e){var t=To.get(e);!function(n,e,t){var l=ko(n,e);l.some(function(n){return n.trim()==t.trim()})||(l.push(t.trim()),n.setAttribute(e,l.join(" ")))}(n,"aria-describedby",t.messageElement.id),n.setAttribute("cdk-describedby-host",""),t.referenceCount++},n.prototype._removeMessageReference=function(n,e){var t=To.get(e);t.referenceCount--,function(n,e,t){var l=ko(n,e).filter(function(n){return n!=t.trim()});n.setAttribute(e,l.join(" "))}(n,"aria-describedby",t.messageElement.id),n.removeAttribute("cdk-describedby-host")},n.prototype._isElementDescribedByMessage=function(n,e){var t=ko(n,"aria-describedby"),l=To.get(e),o=l&&l.messageElement.id;return!!o&&-1!=t.indexOf(o)},n.prototype._canBeDescribed=function(n,e){if(!this._isElementNode(n))return!1;if(e&&"object"==typeof e)return!0;var t=null==e?"":(""+e).trim(),l=n.getAttribute("aria-label");return!(!t||l&&l.trim()===t)},n.prototype._isElementNode=function(n){return n.nodeType===this._document.ELEMENT_NODE},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),Do=function(){function n(n){var e=this;this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.b,this._typeaheadSubscription=wo.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(n){return n.disabled},this._pressedLetters=[],this.tabOut=new A.b,this.change=new A.b,n instanceof o.QueryList&&n.changes.subscribe(function(n){if(e._activeItem){var t=n.toArray().indexOf(e._activeItem);t>-1&&t!==e._activeItemIndex&&(e._activeItemIndex=t)}})}return n.prototype.skipPredicate=function(n){return this._skipPredicateFn=n,this},n.prototype.withWrap=function(n){return void 0===n&&(n=!0),this._wrap=n,this},n.prototype.withVerticalOrientation=function(n){return void 0===n&&(n=!0),this._vertical=n,this},n.prototype.withHorizontalOrientation=function(n){return this._horizontal=n,this},n.prototype.withAllowedModifierKeys=function(n){return this._allowedModifierKeys=n,this},n.prototype.withTypeAhead=function(n){var e=this;if(void 0===n&&(n=200),this._items.length&&this._items.some(function(n){return"function"!=typeof n.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(X.a)(function(n){return e._pressedLetters.push(n)}),Object(So.a)(n),Object(K.a)(function(){return e._pressedLetters.length>0}),Object(P.a)(function(){return e._pressedLetters.join("")})).subscribe(function(n){for(var t=e._getItemsArray(),l=1;l<t.length+1;l++){var o=(e._activeItemIndex+l)%t.length,r=t[o];if(!e._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(n)){e.setActiveItem(o);break}}e._pressedLetters=[]}),this},n.prototype.setActiveItem=function(n){var e=this._activeItemIndex;this.updateActiveItem(n),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)},n.prototype.onKeydown=function(n){var e=this,t=n.keyCode,l=["altKey","ctrlKey","metaKey","shiftKey"].every(function(t){return!n[t]||e._allowedModifierKeys.indexOf(t)>-1});switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&l){this.setNextItemActive();break}return;case 38:if(this._vertical&&l){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&l){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&l){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((l||xo(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],n.preventDefault()},Object.defineProperty(n.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),n.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},n.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},n.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},n.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},n.prototype.updateActiveItem=function(n){var e=this._getItemsArray(),t="number"==typeof n?n:e.indexOf(n),l=e[t];this._activeItem=null==l?null:l,this._activeItemIndex=t},n.prototype.updateActiveItemIndex=function(n){this.updateActiveItem(n)},n.prototype._setActiveItemByDelta=function(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)},n.prototype._setActiveInWrapMode=function(n){for(var e=this._getItemsArray(),t=1;t<=e.length;t++){var l=(this._activeItemIndex+n*t+e.length)%e.length;if(!this._skipPredicateFn(e[l]))return void this.setActiveItem(l)}},n.prototype._setActiveInDefaultMode=function(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)},n.prototype._setActiveItemByIndex=function(n,e){var t=this._getItemsArray();if(t[n]){for(;this._skipPredicateFn(t[n]);)if(!t[n+=e])return;this.setActiveItem(n)}},n.prototype._getItemsArray=function(){return this._items instanceof o.QueryList?this._items.toArray():this._items},n}(),Oo=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),n.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(Do),Fo=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._origin="program",e}return Object(s.__extends)(e,n),e.prototype.setFocusOrigin=function(n){return this._origin=n,this},e.prototype.setActiveItem=function(e){n.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(Do),No=function(){function n(n){this._platform=n}return n.prototype.isDisabled=function(n){return n.hasAttribute("disabled")},n.prototype.isVisible=function(n){return function(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility},n.prototype.isTabbable=function(n){if(!this._platform.isBrowser)return!1;var e,t=function(n){try{return n.frameElement}catch(jrn){return null}}((e=n).ownerDocument&&e.ownerDocument.defaultView||window);if(t){var l=t&&t.nodeName.toLowerCase();if(-1===Ao(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===l)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var o=n.nodeName.toLowerCase(),r=Ao(n);if(n.hasAttribute("contenteditable"))return-1!==r;if("iframe"===o)return!1;if("audio"===o){if(!n.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===o){if(!n.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==o||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(n){var e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(n))&&n.tabIndex>=0},n.prototype.isFocusable=function(n){return function(n){return!function(n){return function(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function(n){var e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function(n){return function(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Mo(n))}(n)&&!this.isDisabled(n)&&this.isVisible(n)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(vo))},token:n,providedIn:"root"}),n}();function Mo(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var e=n.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Ao(n){if(!Mo(n))return null;var e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var qo=function(){function n(n,e,t,l,o){var r=this;void 0===o&&(o=!1),this._element=n,this._checker=e,this._ngZone=t,this._document=l,this._hasAttached=!1,this.startAnchorListener=function(){return r.focusLastTabbableElement()},this.endAnchorListener=function(){return r.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return Object.defineProperty(n.prototype,"enabled",{get:function(){return this._enabled},set:function(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){var n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null},n.prototype.attachAnchors=function(){var n=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){n._startAnchor||(n._startAnchor=n._createAnchor(),n._startAnchor.addEventListener("focus",n.startAnchorListener)),n._endAnchor||(n._endAnchor=n._createAnchor(),n._endAnchor.addEventListener("focus",n.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)},n.prototype.focusInitialElementWhenReady=function(){var n=this;return new Promise(function(e){n._executeOnStable(function(){return e(n.focusInitialElement())})})},n.prototype.focusFirstTabbableElementWhenReady=function(){var n=this;return new Promise(function(e){n._executeOnStable(function(){return e(n.focusFirstTabbableElement())})})},n.prototype.focusLastTabbableElementWhenReady=function(){var n=this;return new Promise(function(e){n._executeOnStable(function(){return e(n.focusLastTabbableElement())})})},n.prototype._getRegionBoundary=function(n){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+n+"], [cdkFocusRegion"+n+"], [cdk-focus-"+n+"]"),t=0;t<e.length;t++)e[t].hasAttribute("cdk-focus-"+n)?console.warn("Found use of deprecated attribute 'cdk-focus-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",e[t]):e[t].hasAttribute("cdk-focus-region-"+n)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",e[t]);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)},n.prototype.focusInitialElement=function(){var n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return n?(n.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",n),Object(o.isDevMode)()&&!this._checker.isFocusable(n)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",n),n.focus(),!0):this.focusFirstTabbableElement()},n.prototype.focusFirstTabbableElement=function(){var n=this._getRegionBoundary("start");return n&&n.focus(),!!n},n.prototype.focusLastTabbableElement=function(){var n=this._getRegionBoundary("end");return n&&n.focus(),!!n},n.prototype.hasAttached=function(){return this._hasAttached},n.prototype._getFirstTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var e=n.children||n.childNodes,t=0;t<e.length;t++){var l=e[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[t]):null;if(l)return l}return null},n.prototype._getLastTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var e=n.children||n.childNodes,t=e.length-1;t>=0;t--){var l=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(l)return l}return null},n.prototype._createAnchor=function(){var n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n},n.prototype._toggleAnchorTabIndex=function(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},n.prototype._executeOnStable=function(n){this._ngZone.isStable?n():this._ngZone.onStable.asObservable().pipe(Object(Z.a)(1)).subscribe(n)},n}(),Po=function(){function n(n,e,t){this._checker=n,this._ngZone=e,this._document=t}return n.prototype.create=function(n,e){return void 0===e&&(e=!1),new qo(n,this._checker,this._ngZone,this._document,e)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(No),Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),jo=new o.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Lo=new o.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Vo=function(){function n(n,e,t,l){this._ngZone=e,this._defaultOptions=l,this._document=t,this._liveElement=n||this._createLiveElement()}return n.prototype.announce=function(n){for(var e=this,t=[],l=1;l<arguments.length;l++)t[l-1]=arguments[l];var o,r,i=this._defaultOptions;return 1===t.length&&"number"==typeof t[0]?r=t[0]:(o=t[0],r=t[1]),this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),null==r&&i&&(r=i.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(e._previousTimeout),e._previousTimeout=setTimeout(function(){e._liveElement.textContent=n,t(),"number"==typeof r&&(e._previousTimeout=setTimeout(function(){return e.clear()},r))},100)})})},n.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},n.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},n.prototype._createLiveElement=function(){for(var n=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),t=0;t<n.length;t++)n[t].parentNode.removeChild(n[t]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(jo,8),Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(I.DOCUMENT),Object(o["\u0275\u0275inject"])(Lo,8))},token:n,providedIn:"root"}),n}(),Bo=650,zo=yo({passive:!0,capture:!0}),Uo=function(){function n(n,e){var t=this;this._ngZone=n,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(n){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=n.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},Bo)},this._windowFocusListener=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout(function(){return t._windowFocused=!1})}}return n.prototype.monitor=function(n,e){var t=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Object(D.a)(null);var l=fo(n);if(this._elementInfo.has(l)){var o=this._elementInfo.get(l);return o.checkChildren=e,o.subject.asObservable()}var r={unlisten:function(){},checkChildren:e,subject:new A.b};this._elementInfo.set(l,r),this._incrementMonitoredElementCount();var i=function(n){return t._onFocus(n,l)},a=function(n){return t._onBlur(n,l)};return this._ngZone.runOutsideAngular(function(){l.addEventListener("focus",i,!0),l.addEventListener("blur",a,!0)}),r.unlisten=function(){l.removeEventListener("focus",i,!0),l.removeEventListener("blur",a,!0)},r.subject.asObservable()},n.prototype.stopMonitoring=function(n){var e=fo(n),t=this._elementInfo.get(e);t&&(t.unlisten(),t.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},n.prototype.focusVia=function(n,e,t){var l=fo(n);this._setOriginForCurrentEventQueue(e),"function"==typeof l.focus&&l.focus(t)},n.prototype.ngOnDestroy=function(){var n=this;this._elementInfo.forEach(function(e,t){return n.stopMonitoring(t)})},n.prototype._toggleClass=function(n,e,t){t?n.classList.add(e):n.classList.remove(e)},n.prototype._setClasses=function(n,e){this._elementInfo.get(n)&&(this._toggleClass(n,"cdk-focused",!!e),this._toggleClass(n,"cdk-touch-focused","touch"===e),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(n,"cdk-mouse-focused","mouse"===e),this._toggleClass(n,"cdk-program-focused","program"===e))},n.prototype._setOriginForCurrentEventQueue=function(n){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=n,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},n.prototype._wasCausedByTouch=function(n){var e=n.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},n.prototype._onFocus=function(n,e){var t=this._elementInfo.get(e);if(t&&(t.checkChildren||e===n.target)){var l=this._origin;l||(l=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(n)?"touch":"program"),this._setClasses(e,l),this._emitOrigin(t.subject,l),this._lastFocusOrigin=l}},n.prototype._onBlur=function(n,e){var t=this._elementInfo.get(e);!t||t.checkChildren&&n.relatedTarget instanceof Node&&e.contains(n.relatedTarget)||(this._setClasses(e),this._emitOrigin(t.subject,null))},n.prototype._emitOrigin=function(n,e){this._ngZone.run(function(){return n.next(e)})},n.prototype._incrementMonitoredElementCount=function(){var n=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",n._documentKeydownListener,zo),document.addEventListener("mousedown",n._documentMousedownListener,zo),document.addEventListener("touchstart",n._documentTouchstartListener,zo),window.addEventListener("focus",n._windowFocusListener)})},n.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,zo),document.removeEventListener("mousedown",this._documentMousedownListener,zo),document.removeEventListener("touchstart",this._documentTouchstartListener,zo),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(vo))},token:n,providedIn:"root"}),n}(),Ho=function(){function n(n,e){var t=this;this._elementRef=n,this._focusMonitor=e,this.cdkFocusChange=new o.EventEmitter,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(n){return t.cdkFocusChange.emit(n)})}return n.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},n}();function Zo(n){return 0===n.buttons}var Wo=function(){return function(){}}(),Go=new o.Version("8.1.1"),Ko=new o.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Yo=function(){function n(n,e){this._sanityChecksEnabled=n,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return n.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(o.isDevMode)()&&!this._isTestEnv()},n.prototype._isTestEnv=function(){var n=this._window;return n&&(n.__karma__||n.jasmine)},n.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},n.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var e=getComputedStyle(n);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}},n.prototype._checkCdkVersionMatch=function(){Go.full!==ao.full&&console.warn("The Angular Material version ("+Go.full+") does not match the Angular CDK version ("+ao.full+").\nPlease ensure the versions of these two packages exactly match.")},n.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},n}();function $o(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._disabled=!1,l}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=uo(n)},enumerable:!0,configurable:!0}),e}(n)}function Xo(n,e){return function(n){function t(){for(var t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];var o=n.apply(this,t)||this;return o.color=e,o}return Object(s.__extends)(t,n),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(n){var t=n||e;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)},enumerable:!0,configurable:!0}),t}(n)}function Qo(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._disableRipple=!1,l}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=uo(n)},enumerable:!0,configurable:!0}),e}(n)}function Jo(n,e){return void 0===e&&(e=0),function(n){function t(){for(var t=[],l=0;l<arguments.length;l++)t[l]=arguments[l];var o=n.apply(this,t)||this;return o._tabIndex=e,o}return Object(s.__extends)(t,n),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(n){this._tabIndex=null!=n?n:e},enumerable:!0,configurable:!0}),t}(n)}function nr(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l.errorState=!1,l.stateChanges=new A.b,l}return Object(s.__extends)(e,n),e.prototype.updateErrorState=function(){var n=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==n&&(this.errorState=e,this.stateChanges.next())},e}(n)}function er(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._isInitialized=!1,l._pendingSubscribers=[],l.initialized=new d.a(function(n){l._isInitialized?l._notifySubscriber(n):l._pendingSubscribers.push(n)}),l}return Object(s.__extends)(e,n),e.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},e.prototype._notifySubscriber=function(n){n.next(),n.complete()},e}(n)}var tr=function(){function n(){}return n.prototype.isErrorState=function(n,e){return!!(n&&n.invalid&&(n.touched||e&&e.submitted))},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),lr=new o.InjectionToken("MAT_HAMMER_OPTIONS"),or=["longpress","slide","slidestart","slideend","slideright","slideleft"],rr={on:function(){},off:function(){}},ir=function(n){function e(e,t){var l=n.call(this)||this;return l._hammerOptions=e,l.events=or,t&&t._checkHammerIsAvailable(),l}return Object(s.__extends)(e,n),e.prototype.buildHammer=function(n){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return rr;var t=new e(n,this._hammerOptions||void 0),l=new e.Pan,o=new e.Swipe,r=new e.Press,i=this._createRecognizer(l,{event:"slide",threshold:0},o),a=this._createRecognizer(r,{event:"longpress",time:500});return l.recognizeWith(o),a.recognizeWith(i),t.add([o,r,l,i,a]),t},e.prototype._createRecognizer=function(n,e){for(var t=[],l=2;l<arguments.length;l++)t[l-2]=arguments[l];var o=new n.constructor(e);return t.push(n),t.forEach(function(n){return o.recognizeWith(n)}),o},e}(Kn);function ar(n,e,t){var l=n.nativeElement.classList;t?l.add(e):l.remove(e)}var ur=function(){return function(){}}(),sr=function(){var n={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return n[n.FADING_IN]="FADING_IN",n[n.VISIBLE]="VISIBLE",n[n.FADING_OUT]="FADING_OUT",n[n.HIDDEN]="HIDDEN",n}(),dr=function(){function n(n,e,t){this._renderer=n,this.element=e,this.config=t,this.state=sr.HIDDEN}return n.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},n}(),cr={enterDuration:450,exitDuration:400},pr=800,fr=yo({passive:!0}),hr=function(){function n(n,e,t,l){var o=this;this._target=n,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(n){var e=Zo(n),t=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+pr;o._target.rippleDisabled||e||t||(o._isPointerDown=!0,o.fadeInRipple(n.clientX,n.clientY,o._target.rippleConfig))},this._onTouchStart=function(n){if(!o._target.rippleDisabled){o._lastTouchStartEvent=Date.now(),o._isPointerDown=!0;for(var e=n.changedTouches,t=0;t<e.length;t++)o.fadeInRipple(e[t].clientX,e[t].clientY,o._target.rippleConfig)}},this._onPointerUp=function(){o._isPointerDown&&(o._isPointerDown=!1,o._activeRipples.forEach(function(n){!n.config.persistent&&(n.state===sr.VISIBLE||n.config.terminateOnPointerUp&&n.state===sr.FADING_IN)&&n.fadeOut()}))},l.isBrowser&&(this._containerElement=t.nativeElement,this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}return n.prototype.fadeInRipple=function(n,e,t){var l=this;void 0===t&&(t={});var o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object(s.__assign)({},cr,t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);var i=t.radius||function(n,e,t){var l=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),o=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(l*l+o*o)}(n,e,o),a=n-o.left,u=e-o.top,d=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-i+"px",c.style.top=u-i+"px",c.style.height=2*i+"px",c.style.width=2*i+"px",c.style.backgroundColor=t.color||null,c.style.transitionDuration=d+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var p=new dr(this,c,t);return p.state=sr.FADING_IN,this._activeRipples.add(p),t.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone(function(){var n=p===l._mostRecentTransientRipple;p.state=sr.VISIBLE,t.persistent||n&&l._isPointerDown||p.fadeOut()},d),p},n.prototype.fadeOutRipple=function(n){var e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var t=n.element,l=Object(s.__assign)({},cr,n.config.animation);t.style.transitionDuration=l.exitDuration+"ms",t.style.opacity="0",n.state=sr.FADING_OUT,this._runTimeoutOutsideZone(function(){n.state=sr.HIDDEN,t.parentNode.removeChild(t)},l.exitDuration)}},n.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(n){return n.fadeOut()})},n.prototype.setupTriggerEvents=function(n){var e=this;n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,t){n.addEventListener(t,e,fr)})}),this._triggerElement=n)},n.prototype._runTimeoutOutsideZone=function(n,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(n,e)})},n.prototype._removeTriggerEvents=function(){var n=this;this._triggerElement&&this._triggerEvents.forEach(function(e,t){n._triggerElement.removeEventListener(t,e,fr)})},n}(),mr=new o.InjectionToken("mat-ripple-global-options"),vr=function(){function n(n,e,t,l,o){this._elementRef=n,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new hr(this,e,n,t),"NoopAnimations"===o&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},n.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},n.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(n.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object(s.__assign)({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),n.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},n.prototype.launch=function(n,e,t){return void 0===e&&(e=0),"number"==typeof n?this._rippleRenderer.fadeInRipple(n,e,Object(s.__assign)({},this.rippleConfig,t)):this._rippleRenderer.fadeInRipple(0,0,Object(s.__assign)({},this.rippleConfig,n))},n}(),gr=function(){return function(){}}(),br=function(){return function(n){this._animationMode=n,this.state="unchecked",this.disabled=!1}}(),_r=function(){return function(){}}(),yr=0,wr=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+yr++,e}return Object(s.__extends)(e,n),e}($o(function(){return function(){}}())),Cr=0,xr=function(){return function(n,e){void 0===e&&(e=!1),this.source=n,this.isUserInput=e}}(),Sr=new o.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),kr=function(){function n(n,e,t,l){this._element=n,this._changeDetectorRef=e,this._parent=t,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Cr++,this.onSelectionChange=new o.EventEmitter,this._stateChanges=new A.b}return Object.defineProperty(n.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),n.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.focus=function(){var n=this._getHostElement();"function"==typeof n.focus&&n.focus()},n.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},n.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},n.prototype.getLabel=function(){return this.viewValue},n.prototype._handleKeydown=function(n){13!==n.keyCode&&32!==n.keyCode||xo(n)||(this._selectViaInteraction(),n.preventDefault())},n.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},n.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},n.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},n.prototype._getHostElement=function(){return this._element.nativeElement},n.prototype.ngAfterViewChecked=function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._emitSelectionChangeEvent=function(n){void 0===n&&(n=!1),this.onSelectionChange.emit(new xr(this,n))},n}();function Er(n,e,t){if(t.length){for(var l=e.toArray(),o=t.toArray(),r=0,i=0;i<n+1;i++)l[i].group&&l[i].group===o[r]&&r++;return r}return 0}var Tr=function(){return function(){}}(),Rr=new o.InjectionToken("mat-label-global-options"),Ir="accent",Dr=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Or=function(n){function e(e,t,l){var o=n.call(this,e)||this;o._focusMonitor=t,o._animationMode=l,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var r=0,i=Dr;r<i.length;r++){var a=i[r];o._hasHostAttributes(a)&&o._getHostElement().classList.add(a)}return o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=Ir),o}return Object(s.__extends)(e,n),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._getHostElement().focus()},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.some(function(e){return n._getHostElement().hasAttribute(e)})},e}(Xo($o(Qo(function(){return function(n){this._elementRef=n}}())))),Fr=function(n){function e(e,t,l){return n.call(this,t,e,l)||this}return Object(s.__extends)(e,n),e.prototype._haltDisabledEvents=function(n){this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())},e}(Or),Nr=function(){return function(){}}(),Mr=new o.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(o.inject)(I.DOCUMENT)}}),Ar=function(){function n(n){if(this.value="ltr",this.change=new o.EventEmitter,n){var e=(n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return n.prototype.ngOnDestroy=function(){this.change.complete()},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(Mr,8))},token:n,providedIn:"root"}),n}(),qr=function(){return function(){}}(),Pr=function(){return function(){}}(),jr=function(){return function(){}}(),Lr="*";function Vr(n,e){return void 0===e&&(e=null),{type:2,steps:n,options:e}}function Br(n){return{type:6,styles:n,offset:null}}function zr(n){Promise.resolve(null).then(n)}var Ur=function(){function n(n,e){void 0===n&&(n=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=n+e}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.init=function(){},n.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},n.prototype.triggerMicrotask=function(){var n=this;zr(function(){return n._onFinish()})},n.prototype._onStart=function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]},n.prototype.pause=function(){},n.prototype.restart=function(){},n.prototype.finish=function(){this._onFinish()},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.reset=function(){},n.prototype.setPosition=function(n){},n.prototype.getPosition=function(){return 0},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),Hr=function(){function n(n){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;var t=0,l=0,o=0,r=this.players.length;0==r?zr(function(){return e._onFinish()}):this.players.forEach(function(n){n.onDone(function(){++t==r&&e._onFinish()}),n.onDestroy(function(){++l==r&&e._onDestroy()}),n.onStart(function(){++o==r&&e._onStart()})}),this.totalTime=this.players.reduce(function(n,e){return Math.max(n,e.totalTime)},0)}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.init=function(){this.players.forEach(function(n){return n.init()})},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[])},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(n){return n.play()})},n.prototype.pause=function(){this.players.forEach(function(n){return n.pause()})},n.prototype.restart=function(){this.players.forEach(function(n){return n.restart()})},n.prototype.finish=function(){this._onFinish(),this.players.forEach(function(n){return n.finish()})},n.prototype.destroy=function(){this._onDestroy()},n.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(n){return n.destroy()}),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.reset=function(){this.players.forEach(function(n){return n.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype.setPosition=function(n){var e=n*this.totalTime;this.players.forEach(function(n){var t=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(t)})},n.prototype.getPosition=function(){var n=0;return this.players.forEach(function(e){var t=e.getPosition();n=Math.min(t,n)}),n},n.prototype.beforeDestroy=function(){this.players.forEach(function(n){n.beforeDestroy&&n.beforeDestroy()})},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),Zr="!";function Wr(){return"undefined"!=typeof process}function Gr(n){switch(n.length){case 0:return new Ur;case 1:return n[0];default:return new Hr(n)}}function Kr(n,e,t,l,o,r){void 0===o&&(o={}),void 0===r&&(r={});var i=[],a=[],u=-1,s=null;if(l.forEach(function(n){var t=n.offset,l=t==u,d=l&&s||{};Object.keys(n).forEach(function(t){var l=t,a=n[t];if("offset"!==t)switch(l=e.normalizePropertyName(l,i),a){case Zr:a=o[t];break;case Lr:a=r[t];break;default:a=e.normalizeStyleValue(t,l,a,i)}d[l]=a}),l||a.push(d),s=d,u=t}),i.length)throw new Error("Unable to animate due to the following errors:\n - "+i.join("\n - "));return a}function Yr(n,e,t,l){switch(e){case"start":n.onStart(function(){return l(t&&$r(t,"start",n))});break;case"done":n.onDone(function(){return l(t&&$r(t,"done",n))});break;case"destroy":n.onDestroy(function(){return l(t&&$r(t,"destroy",n))})}}function $r(n,e,t){var l=t.totalTime,o=Xr(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,null==l?n.totalTime:l,!!t.disabled),r=n._data;return null!=r&&(o._data=r),o}function Xr(n,e,t,l,o,r,i){return void 0===o&&(o=""),void 0===r&&(r=0),{element:n,triggerName:e,fromState:t,toState:l,phaseName:o,totalTime:r,disabled:!!i}}function Qr(n,e,t){var l;return n instanceof Map?(l=n.get(e))||n.set(e,l=t):(l=n[e])||(l=n[e]=t),l}function Jr(n){var e=n.indexOf(":");return[n.substring(1,e),n.substr(e+1)]}var ni=function(n,e){return!1},ei=function(n,e){return!1},ti=function(n,e,t){return[]},li=Wr();(li||"undefined"!=typeof Element)&&(ni=function(n,e){return n.contains(e)},ei=function(){if(li||Element.prototype.matches)return function(n,e){return n.matches(e)};var n=Element.prototype,e=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return e?function(n,t){return e.apply(n,[t])}:ei}(),ti=function(n,e,t){var l=[];if(t)l.push.apply(l,Object(s.__spread)(n.querySelectorAll(e)));else{var o=n.querySelector(e);o&&l.push(o)}return l});var oi=null,ri=!1;function ii(n){oi||(oi=("undefined"!=typeof document?document.body:null)||{},ri=!!oi.style&&"WebkitAppearance"in oi.style);var e=!0;return oi.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&!(e=n in oi.style)&&ri&&(e="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in oi.style),e}var ai=ei,ui=ni,si=ti;function di(n){var e={};return Object.keys(n).forEach(function(t){var l=t.replace(/([a-z])([A-Z])/g,"$1-$2");e[l]=n[t]}),e}var ci=function(){function n(){}return n.prototype.validateStyleProperty=function(n){return ii(n)},n.prototype.matchesElement=function(n,e){return ai(n,e)},n.prototype.containsElement=function(n,e){return ui(n,e)},n.prototype.query=function(n,e,t){return si(n,e,t)},n.prototype.computeStyle=function(n,e,t){return t||""},n.prototype.animate=function(n,e,t,l,o,r,i){return void 0===r&&(r=[]),new Ur(t,l)},n}(),pi=function(){function n(){}return n.NOOP=new ci,n}(),fi=1e3;function hi(n){if("number"==typeof n)return n;var e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:mi(parseFloat(e[1]),e[2])}function mi(n,e){switch(e){case"s":return n*fi;default:return n}}function vi(n,e,t){return n.hasOwnProperty("duration")?n:function(n,e,t){var l,o=0,r="";if("string"==typeof n){var i=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return e.push('The provided timing value "'+n+'" is invalid.'),{duration:0,delay:0,easing:""};l=mi(parseFloat(i[1]),i[2]);var a=i[3];null!=a&&(o=mi(parseFloat(a),i[4]));var u=i[5];u&&(r=u)}else l=n;if(!t){var s=!1,d=e.length;l<0&&(e.push("Duration values below 0 are not allowed for this animation step."),s=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&e.splice(d,0,'The provided timing value "'+n+'" is invalid.')}return{duration:l,delay:o,easing:r}}(n,e,t)}function gi(n,e){return void 0===e&&(e={}),Object.keys(n).forEach(function(t){e[t]=n[t]}),e}function bi(n,e,t){if(void 0===t&&(t={}),e)for(var l in n)t[l]=n[l];else gi(n,t);return t}function _i(n,e,t){return t?e+":"+t+";":""}function yi(n){for(var e="",t=0;t<n.style.length;t++)e+=_i(0,l=n.style.item(t),n.style.getPropertyValue(l));for(var l in n.style)n.style.hasOwnProperty(l)&&!l.startsWith("_")&&(e+=_i(0,l.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n.style[l]));n.setAttribute("style",e)}function wi(n,e,t){n.style&&(Object.keys(e).forEach(function(l){var o=Ii(l);t&&!t.hasOwnProperty(l)&&(t[l]=n.style[o]),n.style[o]=e[l]}),Wr()&&yi(n))}function Ci(n,e){n.style&&(Object.keys(e).forEach(function(e){var t=Ii(e);n.style[t]=""}),Wr()&&yi(n))}function xi(n){return Array.isArray(n)?1==n.length?n[0]:Vr(n):n}var Si=new RegExp("{{\\s*(.+?)\\s*}}","g");function ki(n){var e=[];if("string"==typeof n){for(var t=n.toString(),l=void 0;l=Si.exec(t);)e.push(l[1]);Si.lastIndex=0}return e}function Ei(n,e,t){var l=n.toString(),o=l.replace(Si,function(n,l){var o=e[l];return e.hasOwnProperty(l)||(t.push("Please provide a value for the animation param "+l),o=""),o.toString()});return o==l?n:o}function Ti(n){for(var e=[],t=n.next();!t.done;)e.push(t.value),t=n.next();return e}var Ri=/-+([a-z0-9])/g;function Ii(n){return n.replace(Ri,function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n[1].toUpperCase()})}function Di(n,e){return 0===n||0===e}function Oi(n,e,t){var l=Object.keys(t);if(l.length&&e.length){var o=e[0],r=[];if(l.forEach(function(n){o.hasOwnProperty(n)||r.push(n),o[n]=t[n]}),r.length)for(var i=function(){var t=e[a];r.forEach(function(e){t[e]=Ni(n,e)})},a=1;a<e.length;a++)i()}return e}function Fi(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Ni(n,e){return window.getComputedStyle(n)[e]}var Mi="*",Ai=new Set(["true","1"]),qi=new Set(["false","0"]);function Pi(n,e){var t=Ai.has(n)||qi.has(n),l=Ai.has(e)||qi.has(e);return function(o,r){var i=n==Mi||n==o,a=e==Mi||e==r;return!i&&t&&"boolean"==typeof o&&(i=o?Ai.has(n):qi.has(n)),!a&&l&&"boolean"==typeof r&&(a=r?Ai.has(e):qi.has(e)),i&&a}}var ji=new RegExp("s*:selfs*,?","g");function Li(n,e,t){return new Vi(n).build(e,t)}var Vi=function(){function n(n){this._driver=n}return n.prototype.build=function(n,e){var t=new Bi(e);return this._resetContextStyleTimingState(t),Fi(this,xi(n),t)},n.prototype._resetContextStyleTimingState=function(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0},n.prototype.visitTrigger=function(n,e){var t=this,l=e.queryCount=0,o=e.depCount=0,r=[],i=[];return"@"==n.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(function(n){if(t._resetContextStyleTimingState(e),0==n.type){var a=n,u=a.name;u.toString().split(/\s*,\s*/).forEach(function(n){a.name=n,r.push(t.visitState(a,e))}),a.name=u}else if(1==n.type){var s=t.visitTransition(n,e);l+=s.queryCount,o+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:r,transitions:i,queryCount:l,depCount:o,options:null}},n.prototype.visitState=function(n,e){var t=this.visitStyle(n.styles,e),l=n.options&&n.options.params||null;if(t.containsDynamicStyles){var o=new Set,r=l||{};if(t.styles.forEach(function(n){if(zi(n)){var e=n;Object.keys(e).forEach(function(n){ki(e[n]).forEach(function(n){r.hasOwnProperty(n)||o.add(n)})})}}),o.size){var i=Ti(o.values());e.errors.push('state("'+n.name+'", ...) must define default values for all the following style substitutions: '+i.join(", "))}}return{type:0,name:n.name,style:t,options:l?{params:l}:null}},n.prototype.visitTransition=function(n,e){e.queryCount=0,e.depCount=0;var t,l,o,r=Fi(this,xi(n.animation),e);return{type:1,matchers:(t=n.expr,l=e.errors,o=[],"string"==typeof t?t.split(/\s*,\s*/).forEach(function(n){return function(n,e,t){if(":"==n[0]){var l=function(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(n,e){return parseFloat(e)>parseFloat(n)};case":decrement":return function(n,e){return parseFloat(e)<parseFloat(n)};default:return e.push('The transition alias value "'+n+'" is not supported'),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}var o=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return t.push('The provided transition expression "'+n+'" is not supported'),e;var r=o[1],i=o[2],a=o[3];e.push(Pi(r,a)),"<"!=i[0]||r==Mi&&a==Mi||e.push(Pi(a,r))}(n,o,l)}):o.push(t),o),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:Ui(n.options)}},n.prototype.visitSequence=function(n,e){var t=this;return{type:2,steps:n.steps.map(function(n){return Fi(t,n,e)}),options:Ui(n.options)}},n.prototype.visitGroup=function(n,e){var t=this,l=e.currentTime,o=0,r=n.steps.map(function(n){e.currentTime=l;var r=Fi(t,n,e);return o=Math.max(o,e.currentTime),r});return e.currentTime=o,{type:3,steps:r,options:Ui(n.options)}},n.prototype.visitAnimate=function(n,e){var t,l=function(n,e){var t=null;if(n.hasOwnProperty("duration"))t=n;else if("number"==typeof n)return Hi(vi(n,e).duration,0,"");var l=n;if(l.split(/\s+/).some(function(n){return"{"==n.charAt(0)&&"{"==n.charAt(1)})){var o=Hi(0,0,"");return o.dynamic=!0,o.strValue=l,o}return Hi((t=t||vi(l,e)).duration,t.delay,t.easing)}(n.timings,e.errors);e.currentAnimateTimings=l;var o=n.styles?n.styles:Br({});if(5==o.type)t=this.visitKeyframes(o,e);else{var r=n.styles,i=!1;if(!r){i=!0;var a={};l.easing&&(a.easing=l.easing),r=Br(a)}e.currentTime+=l.duration+l.delay;var u=this.visitStyle(r,e);u.isEmptyStep=i,t=u}return e.currentAnimateTimings=null,{type:4,timings:l,style:t,options:null}},n.prototype.visitStyle=function(n,e){var t=this._makeStyleAst(n,e);return this._validateStyleAst(t,e),t},n.prototype._makeStyleAst=function(n,e){var t=[];Array.isArray(n.styles)?n.styles.forEach(function(n){"string"==typeof n?n==Lr?t.push(n):e.errors.push("The provided style string value "+n+" is not allowed."):t.push(n)}):t.push(n.styles);var l=!1,o=null;return t.forEach(function(n){if(zi(n)){var e=n,t=e.easing;if(t&&(o=t,delete e.easing),!l)for(var r in e)if(e[r].toString().indexOf("{{")>=0){l=!0;break}}}),{type:6,styles:t,easing:o,offset:n.offset,containsDynamicStyles:l,options:null}},n.prototype._validateStyleAst=function(n,e){var t=this,l=e.currentAnimateTimings,o=e.currentTime,r=e.currentTime;l&&r>0&&(r-=l.duration+l.delay),n.styles.forEach(function(n){"string"!=typeof n&&Object.keys(n).forEach(function(l){if(t._driver.validateStyleProperty(l)){var i,a,u,s=e.collectedStyles[e.currentQuerySelector],d=s[l],c=!0;d&&(r!=o&&r>=d.startTime&&o<=d.endTime&&(e.errors.push('The CSS property "'+l+'" that exists between the times of "'+d.startTime+'ms" and "'+d.endTime+'ms" is also being animated in a parallel animation between the times of "'+r+'ms" and "'+o+'ms"'),c=!1),r=d.startTime),c&&(s[l]={startTime:r,endTime:o}),e.options&&(i=e.errors,a=e.options.params||{},(u=ki(n[l])).length&&u.forEach(function(n){a.hasOwnProperty(n)||i.push("Unable to resolve the local animation param "+n+" in the given list of values")}))}else e.errors.push('The provided animation property "'+l+'" is not a supported CSS property for animations')})})},n.prototype.visitKeyframes=function(n,e){var t=this,l={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),l;var o=0,r=[],i=!1,a=!1,u=0,s=n.steps.map(function(n){var l=t._makeStyleAst(n,e),s=null!=l.offset?l.offset:function(n){if("string"==typeof n)return null;var e=null;if(Array.isArray(n))n.forEach(function(n){if(zi(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}});else if(zi(n)&&n.hasOwnProperty("offset")){var t=n;e=parseFloat(t.offset),delete t.offset}return e}(l.styles),d=0;return null!=s&&(o++,d=l.offset=s),a=a||d<0||d>1,i=i||d<u,u=d,r.push(d),l});a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");var d=n.steps.length,c=0;o>0&&o<d?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(c=1/(d-1));var p=d-1,f=e.currentTime,h=e.currentAnimateTimings,m=h.duration;return s.forEach(function(n,o){var i=c>0?o==p?1:c*o:r[o],a=i*m;e.currentTime=f+h.delay+a,h.duration=a,t._validateStyleAst(n,e),n.offset=i,l.styles.push(n)}),l},n.prototype.visitReference=function(n,e){return{type:8,animation:Fi(this,xi(n.animation),e),options:Ui(n.options)}},n.prototype.visitAnimateChild=function(n,e){return e.depCount++,{type:9,options:Ui(n.options)}},n.prototype.visitAnimateRef=function(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Ui(n.options)}},n.prototype.visitQuery=function(n,e){var t=e.currentQuerySelector,l=n.options||{};e.queryCount++,e.currentQuery=n;var o=Object(s.__read)(function(n){var e=!!n.split(/\s*,\s*/).find(function(n){return":self"==n});return e&&(n=n.replace(ji,"")),[n=n.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(n){return".ng-trigger-"+n.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(n.selector),2),r=o[0],i=o[1];e.currentQuerySelector=t.length?t+" "+r:r,Qr(e.collectedStyles,e.currentQuerySelector,{});var a=Fi(this,xi(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:11,selector:r,limit:l.limit||0,optional:!!l.optional,includeSelf:i,animation:a,originalSelector:n.selector,options:Ui(n.options)}},n.prototype.visitStagger=function(n,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var t="full"===n.timings?{duration:0,delay:0,easing:"full"}:vi(n.timings,e.errors,!0);return{type:12,animation:Fi(this,xi(n.animation),e),timings:t,options:null}},n}(),Bi=function(){return function(n){this.errors=n,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 zi(n){return!Array.isArray(n)&&"object"==typeof n}function Ui(n){var e;return n?(n=gi(n)).params&&(n.params=(e=n.params)?gi(e):null):n={},n}function Hi(n,e,t){return{duration:n,delay:e,easing:t}}function Zi(n,e,t,l,o,r,i,a){return void 0===i&&(i=null),void 0===a&&(a=!1),{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:l,duration:o,delay:r,totalTime:o+r,easing:i,subTimeline:a}}var Wi=function(){function n(){this._map=new Map}return n.prototype.consume=function(n){var e=this._map.get(n);return e?this._map.delete(n):e=[],e},n.prototype.append=function(n,e){var t=this._map.get(n);t||this._map.set(n,t=[]),t.push.apply(t,Object(s.__spread)(e))},n.prototype.has=function(n){return this._map.has(n)},n.prototype.clear=function(){this._map.clear()},n}(),Gi=new RegExp(":enter","g"),Ki=new RegExp(":leave","g");function Yi(n,e,t,l,o,r,i,a,u,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s=[]),(new $i).buildKeyframes(n,e,t,l,o,r,i,a,u,s)}var $i=function(){function n(){}return n.prototype.buildKeyframes=function(n,e,t,l,o,r,i,a,u,s){void 0===s&&(s=[]),u=u||new Wi;var d=new Qi(n,e,u,l,o,s,[]);d.options=a,d.currentTimeline.setStyles([r],null,d.errors,a),Fi(this,t,d);var c=d.timelines.filter(function(n){return n.containsAnimation()});if(c.length&&Object.keys(i).length){var p=c[c.length-1];p.allowOnlyTimelineStyles()||p.setStyles([i],null,d.errors,a)}return c.length?c.map(function(n){return n.buildKeyframes()}):[Zi(e,[],[],[],0,0,"",!1)]},n.prototype.visitTrigger=function(n,e){},n.prototype.visitState=function(n,e){},n.prototype.visitTransition=function(n,e){},n.prototype.visitAnimateChild=function(n,e){var t=e.subInstructions.consume(e.element);if(t){var l=e.createSubContext(n.options),o=e.currentTimeline.currentTime,r=this._visitSubInstructions(t,l,l.options);o!=r&&e.transformIntoNewTimeline(r)}e.previousNode=n},n.prototype.visitAnimateRef=function(n,e){var t=e.createSubContext(n.options);t.transformIntoNewTimeline(),this.visitReference(n.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=n},n.prototype._visitSubInstructions=function(n,e,t){var l=e.currentTimeline.currentTime,o=null!=t.duration?hi(t.duration):null,r=null!=t.delay?hi(t.delay):null;return 0!==o&&n.forEach(function(n){var t=e.appendInstructionToTimeline(n,o,r);l=Math.max(l,t.duration+t.delay)}),l},n.prototype.visitReference=function(n,e){e.updateOptions(n.options,!0),Fi(this,n.animation,e),e.previousNode=n},n.prototype.visitSequence=function(n,e){var t=this,l=e.subContextCount,o=e,r=n.options;if(r&&(r.params||r.delay)&&((o=e.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Xi);var i=hi(r.delay);o.delayNextStep(i)}n.steps.length&&(n.steps.forEach(function(n){return Fi(t,n,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>l&&o.transformIntoNewTimeline()),e.previousNode=n},n.prototype.visitGroup=function(n,e){var t=this,l=[],o=e.currentTimeline.currentTime,r=n.options&&n.options.delay?hi(n.options.delay):0;n.steps.forEach(function(i){var a=e.createSubContext(n.options);r&&a.delayNextStep(r),Fi(t,i,a),o=Math.max(o,a.currentTimeline.currentTime),l.push(a.currentTimeline)}),l.forEach(function(n){return e.currentTimeline.mergeTimelineCollectedStyles(n)}),e.transformIntoNewTimeline(o),e.previousNode=n},n.prototype._visitTiming=function(n,e){if(n.dynamic){var t=n.strValue;return vi(e.params?Ei(t,e.params,e.errors):t,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}},n.prototype.visitAnimate=function(n,e){var t=e.currentAnimateTimings=this._visitTiming(n.timings,e),l=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),l.snapshotCurrentStyles());var o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(t.duration),this.visitStyle(o,e),l.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n},n.prototype.visitStyle=function(n,e){var t=e.currentTimeline,l=e.currentAnimateTimings;!l&&t.getCurrentStyleProperties().length&&t.forwardFrame();var o=l&&l.easing||n.easing;n.isEmptyStep?t.applyEmptyStep(o):t.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n},n.prototype.visitKeyframes=function(n,e){var t=e.currentAnimateTimings,l=e.currentTimeline.duration,o=t.duration,r=e.createSubContext().currentTimeline;r.easing=t.easing,n.styles.forEach(function(n){r.forwardTime((n.offset||0)*o),r.setStyles(n.styles,n.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(l+o),e.previousNode=n},n.prototype.visitQuery=function(n,e){var t=this,l=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?hi(o.delay):0;r&&(6===e.previousNode.type||0==l&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Xi);var i=l,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(l,o){e.currentQueryIndex=o;var a=e.createSubContext(n.options,l);r&&a.delayNextStep(r),l===e.element&&(u=a.currentTimeline),Fi(t,n.animation,a),a.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n},n.prototype.visitStagger=function(n,e){var t=e.parentContext,l=e.currentTimeline,o=n.timings,r=Math.abs(o.duration),i=r*(e.currentQueryTotal-1),a=r*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=i-a;break;case"full":a=t.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var s=u.currentTime;Fi(this,n.animation,e),e.previousNode=n,t.currentStaggerTime=l.currentTime-s+(l.startTime-t.currentTimeline.startTime)},n}(),Xi={},Qi=function(){function n(n,e,t,l,o,r,i,a){this._driver=n,this.element=e,this.subInstructions=t,this._enterClassName=l,this._leaveClassName=o,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Ji(this._driver,e,0),i.push(this.currentTimeline)}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.updateOptions=function(n,e){var t=this;if(n){var l=n,o=this.options;null!=l.duration&&(o.duration=hi(l.duration)),null!=l.delay&&(o.delay=hi(l.delay));var r=l.params;if(r){var i=o.params;i||(i=this.options.params={}),Object.keys(r).forEach(function(n){e&&i.hasOwnProperty(n)||(i[n]=Ei(r[n],i,t.errors))})}}},n.prototype._copyOptions=function(){var n={};if(this.options){var e=this.options.params;if(e){var t=n.params={};Object.keys(e).forEach(function(n){t[n]=e[n]})}}return n},n.prototype.createSubContext=function(e,t,l){void 0===e&&(e=null);var o=t||this.element,r=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,l||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r},n.prototype.transformIntoNewTimeline=function(n){return this.previousNode=Xi,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline},n.prototype.appendInstructionToTimeline=function(n,e,t){var l={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=t?t:0)+n.delay,easing:""},o=new na(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,l,n.stretchStartingKeyframe);return this.timelines.push(o),l},n.prototype.incrementTime=function(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)},n.prototype.delayNextStep=function(n){n>0&&this.currentTimeline.delayNextStep(n)},n.prototype.invokeQuery=function(n,e,t,l,o,r){var i=[];if(l&&i.push(this.element),n.length>0){n=(n=n.replace(Gi,"."+this._enterClassName)).replace(Ki,"."+this._leaveClassName);var a=this._driver.query(this.element,n,1!=t);0!==t&&(a=t<0?a.slice(a.length+t,a.length):a.slice(0,t)),i.push.apply(i,Object(s.__spread)(a))}return o||0!=i.length||r.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),i},n}(),Ji=function(){function n(n,e,t,l){this._driver=n,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return n.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},n.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(n.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),n.prototype.delayNextStep=function(n){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n},n.prototype.fork=function(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)},n.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))},n.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},n.prototype.forwardTime=function(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()},n.prototype._updateStyle=function(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}},n.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},n.prototype.applyEmptyStep=function(n){var e=this;n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(function(n){e._backFill[n]=e._globalTimelineStyles[n]||Lr,e._currentKeyframe[n]=Lr}),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(n,e,t,l){var o=this;e&&(this._previousKeyframe.easing=e);var r=l&&l.params||{},i=function(n,e){var t,l={};return n.forEach(function(n){"*"===n?(t=t||Object.keys(e)).forEach(function(n){l[n]=Lr}):bi(n,!1,l)}),l}(n,this._globalTimelineStyles);Object.keys(i).forEach(function(n){var e=Ei(i[n],r,t);o._pendingStyles[n]=e,o._localTimelineStyles.hasOwnProperty(n)||(o._backFill[n]=o._globalTimelineStyles.hasOwnProperty(n)?o._globalTimelineStyles[n]:Lr),o._updateStyle(n,e)})},n.prototype.applyStylesToKeyframe=function(){var n=this,e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(function(t){n._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(function(e){n._currentKeyframe.hasOwnProperty(e)||(n._currentKeyframe[e]=n._localTimelineStyles[e])}))},n.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach(function(e){var t=n._localTimelineStyles[e];n._pendingStyles[e]=t,n._updateStyle(e,t)})},n.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(n.prototype,"properties",{get:function(){var n=[];for(var e in this._currentKeyframe)n.push(e);return n},enumerable:!0,configurable:!0}),n.prototype.mergeTimelineCollectedStyles=function(n){var e=this;Object.keys(n._styleSummary).forEach(function(t){var l=e._styleSummary[t],o=n._styleSummary[t];(!l||o.time>l.time)&&e._updateStyle(t,o.value)})},n.prototype.buildKeyframes=function(){var n=this;this.applyStylesToKeyframe();var e=new Set,t=new Set,l=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(r,i){var a=bi(r,!0);Object.keys(a).forEach(function(n){var l=a[n];l==Zr?e.add(n):l==Lr&&t.add(n)}),l||(a.offset=i/n.duration),o.push(a)});var r=e.size?Ti(e.values()):[],i=t.size?Ti(t.values()):[];if(l){var a=o[0],u=gi(a);a.offset=0,u.offset=1,o=[a,u]}return Zi(this.element,o,r,i,this.duration,this.startTime,this.easing,!1)},n}(),na=function(n){function e(e,t,l,o,r,i,a){void 0===a&&(a=!1);var u=n.call(this,e,t,i.delay)||this;return u.element=t,u.keyframes=l,u.preStyleProps=o,u.postStyleProps=r,u._stretchStartingKeyframe=a,u.timings={duration:i.duration,delay:i.delay,easing:i.easing},u}return Object(s.__extends)(e,n),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var n=this.keyframes,e=this.timings,t=e.delay,l=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&t){var r=[],i=l+t,a=t/i,u=bi(n[0],!1);u.offset=0,r.push(u);var s=bi(n[0],!1);s.offset=ea(a),r.push(s);for(var d=n.length-1,c=1;c<=d;c++){var p=bi(n[c],!1);p.offset=ea((t+p.offset*l)/i),r.push(p)}l=i,t=0,o="",n=r}return Zi(this.element,n,this.preStyleProps,this.postStyleProps,l,t,o,!0)},e}(Ji);function ea(n,e){void 0===e&&(e=3);var t=Math.pow(10,e-1);return Math.round(n*t)/t}var ta=function(){return function(){}}(),la=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.normalizePropertyName=function(n,e){return Ii(n)},e.prototype.normalizeStyleValue=function(n,e,t,l){var o="",r=t.toString().trim();if(oa[e]&&0!==t&&"0"!==t)if("number"==typeof t)o="px";else{var i=t.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&0==i[1].length&&l.push("Please provide a CSS unit value for "+n+":"+t)}return r+o},e}(ta),oa=function(){return n="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(","),e={},n.forEach(function(n){return e[n]=!0}),e;var n,e}();function ra(n,e,t,l,o,r,i,a,u,s,d,c,p){return{type:0,element:n,triggerName:e,isRemovalTransition:o,fromState:t,fromStyles:r,toState:l,toStyles:i,timelines:a,queriedElements:u,preStyleProps:s,postStyleProps:d,totalTime:c,errors:p}}var ia={},aa=function(){function n(n,e,t){this._triggerName=n,this.ast=e,this._stateStyles=t}return n.prototype.match=function(n,e,t,l){return function(n,e,t,l,o){return n.some(function(n){return n(e,t,l,o)})}(this.ast.matchers,n,e,t,l)},n.prototype.buildStyles=function(n,e,t){var l=this._stateStyles["*"],o=this._stateStyles[n],r=l?l.buildStyles(e,t):{};return o?o.buildStyles(e,t):r},n.prototype.build=function(n,e,t,l,o,r,i,a,u,d){var c=[],p=this.ast.options&&this.ast.options.params||ia,f=this.buildStyles(t,i&&i.params||ia,c),h=a&&a.params||ia,m=this.buildStyles(l,h,c),v=new Set,g=new Map,b=new Map,_="void"===l,y={params:Object(s.__assign)({},p,h)},w=d?[]:Yi(n,e,this.ast.animation,o,r,f,m,y,u,c),C=0;if(w.forEach(function(n){C=Math.max(n.duration+n.delay,C)}),c.length)return ra(e,this._triggerName,t,l,_,f,m,[],[],g,b,C,c);w.forEach(function(n){var t=n.element,l=Qr(g,t,{});n.preStyleProps.forEach(function(n){return l[n]=!0});var o=Qr(b,t,{});n.postStyleProps.forEach(function(n){return o[n]=!0}),t!==e&&v.add(t)});var x=Ti(v.values());return ra(e,this._triggerName,t,l,_,f,m,w,x,g,b,C)},n}(),ua=function(){function n(n,e){this.styles=n,this.defaultParams=e}return n.prototype.buildStyles=function(n,e){var t={},l=gi(this.defaultParams);return Object.keys(n).forEach(function(e){var t=n[e];null!=t&&(l[e]=t)}),this.styles.styles.forEach(function(n){if("string"!=typeof n){var o=n;Object.keys(o).forEach(function(n){var r=o[n];r.length>1&&(r=Ei(r,l,e)),t[n]=r})}}),t},n}(),sa=function(){function n(n,e){var t=this;this.name=n,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(n){t.states[n.name]=new ua(n.style,n.options&&n.options.params||{})}),da(this.states,"true","1"),da(this.states,"false","0"),e.transitions.forEach(function(e){t.transitionFactories.push(new aa(n,e,t.states))}),this.fallbackTransition=new aa(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(n,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(n.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),n.prototype.matchTransition=function(n,e,t,l){return this.transitionFactories.find(function(o){return o.match(n,e,t,l)})||null},n.prototype.matchStyles=function(n,e,t){return this.fallbackTransition.buildStyles(n,e,t)},n}();function da(n,e,t){n.hasOwnProperty(e)?n.hasOwnProperty(t)||(n[t]=n[e]):n.hasOwnProperty(t)&&(n[e]=n[t])}var ca=new Wi,pa=function(){function n(n,e,t){this.bodyNode=n,this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return n.prototype.register=function(n,e){var t=[],l=Li(this._driver,e,t);if(t.length)throw new Error("Unable to build the animation due to the following errors: "+t.join("\n"));this._animations[n]=l},n.prototype._buildPlayer=function(n,e,t){var l=n.element,o=Kr(0,this._normalizer,0,n.keyframes,e,t);return this._driver.animate(l,o,n.duration,n.delay,n.easing,[],!0)},n.prototype.create=function(n,e,t){var l=this;void 0===t&&(t={});var o,r=[],i=this._animations[n],a=new Map;if(i?(o=Yi(this._driver,e,i,"ng-enter","ng-leave",{},{},t,ca,r)).forEach(function(n){var e=Qr(a,n.element,{});n.postStyleProps.forEach(function(n){return e[n]=null})}):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));a.forEach(function(n,e){Object.keys(n).forEach(function(t){n[t]=l._driver.computeStyle(e,t,Lr)})});var u=Gr(o.map(function(n){var e=a.get(n.element);return l._buildPlayer(n,{},e)}));return this._playersById[n]=u,u.onDestroy(function(){return l.destroy(n)}),this.players.push(u),u},n.prototype.destroy=function(n){var e=this._getPlayer(n);e.destroy(),delete this._playersById[n];var t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)},n.prototype._getPlayer=function(n){var e=this._playersById[n];if(!e)throw new Error("Unable to find the timeline player referenced by "+n);return e},n.prototype.listen=function(n,e,t,l){var o=Xr(e,"","","");return Yr(this._getPlayer(n),t,o,l),function(){}},n.prototype.command=function(n,e,t,l){if("register"!=t)if("create"!=t){var o=this._getPlayer(n);switch(t){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(n)}}else this.create(n,e,l[0]||{});else this.register(n,l[0])},n}(),fa=[],ha={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ma={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},va="__ng_removed",ga=function(){function n(n,e){void 0===e&&(e=""),this.namespaceId=e;var t=n&&n.hasOwnProperty("value");if(this.value=function(n){return null!=n?n:null}(t?n.value:n),t){var l=gi(n);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.absorbOptions=function(n){var e=n.params;if(e){var t=this.options.params;Object.keys(e).forEach(function(n){null==t[n]&&(t[n]=e[n])})}},n}(),ba=new ga("void"),_a=function(){function n(n,e,t){this.id=n,this.hostElement=e,this._engine=t,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Ta(e,this._hostClassName)}return n.prototype.listen=function(n,e,t,l){var o,r=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+t+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==t||0==t.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(o=t)&&"done"!=o)throw new Error('The provided animation trigger event "'+t+'" for the animation trigger "'+e+'" is not supported!');var i=Qr(this._elementListeners,n,[]),a={name:e,phase:t,callback:l};i.push(a);var u=Qr(this._engine.statesByElement,n,{});return u.hasOwnProperty(e)||(Ta(n,"ng-trigger"),Ta(n,"ng-trigger-"+e),u[e]=ba),function(){r._engine.afterFlush(function(){var n=i.indexOf(a);n>=0&&i.splice(n,1),r._triggers[e]||delete u[e]})}},n.prototype.register=function(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)},n.prototype._getTrigger=function(n){var e=this._triggers[n];if(!e)throw new Error('The provided animation trigger "'+n+'" has not been registered!');return e},n.prototype.trigger=function(n,e,t,l){var o=this;void 0===l&&(l=!0);var r=this._getTrigger(e),i=new wa(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Ta(n,"ng-trigger"),Ta(n,"ng-trigger-"+e),this._engine.statesByElement.set(n,a={}));var u=a[e],s=new ga(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&u&&s.absorbOptions(u.options),a[e]=s,u||(u=ba),"void"===s.value||u.value!==s.value){var d=Qr(this._engine.playersByElement,n,[]);d.forEach(function(n){n.namespaceId==o.id&&n.triggerName==e&&n.queued&&n.destroy()});var c=r.matchTransition(u.value,s.value,n,s.params),p=!1;if(!c){if(!l)return;c=r.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:c,fromState:u,toState:s,player:i,isFallbackTransition:p}),p||(Ta(n,"ng-animate-queued"),i.onStart(function(){Ra(n,"ng-animate-queued")})),i.onDone(function(){var e=o.players.indexOf(i);e>=0&&o.players.splice(e,1);var t=o._engine.playersByElement.get(n);if(t){var l=t.indexOf(i);l>=0&&t.splice(l,1)}}),this.players.push(i),d.push(i),i}if(!function(n,e){var t=Object.keys(n),l=Object.keys(e);if(t.length!=l.length)return!1;for(var o=0;o<t.length;o++){var r=t[o];if(!e.hasOwnProperty(r)||n[r]!==e[r])return!1}return!0}(u.params,s.params)){var f=[],h=r.matchStyles(u.value,u.params,f),m=r.matchStyles(s.value,s.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){Ci(n,h),wi(n,m)})}},n.prototype.deregister=function(n){var e=this;delete this._triggers[n],this._engine.statesByElement.forEach(function(e,t){delete e[n]}),this._elementListeners.forEach(function(t,l){e._elementListeners.set(l,t.filter(function(e){return e.name!=n}))})},n.prototype.clearElementCache=function(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);var e=this._engine.playersByElement.get(n);e&&(e.forEach(function(n){return n.destroy()}),this._engine.playersByElement.delete(n))},n.prototype._signalRemovalForInnerTriggers=function(n,e,t){var l=this;void 0===t&&(t=!1),this._engine.driver.query(n,".ng-trigger",!0).forEach(function(n){if(!n[va]){var t=l._engine.fetchNamespacesByElement(n);t.size?t.forEach(function(t){return t.triggerLeaveAnimation(n,e,!1,!0)}):l.clearElementCache(n)}})},n.prototype.triggerLeaveAnimation=function(n,e,t,l){var o=this,r=this._engine.statesByElement.get(n);if(r){var i=[];if(Object.keys(r).forEach(function(e){if(o._triggers[e]){var t=o.trigger(n,e,"void",l);t&&i.push(t)}}),i.length)return this._engine.markElementAsRemoved(this.id,n,!0,e),t&&Gr(i).onDone(function(){return o._engine.processLeaveNode(n)}),!0}return!1},n.prototype.prepareLeaveAnimationListeners=function(n){var e=this,t=this._elementListeners.get(n);if(t){var l=new Set;t.forEach(function(t){var o=t.name;if(!l.has(o)){l.add(o);var r=e._triggers[o].fallbackTransition,i=e._engine.statesByElement.get(n)[o]||ba,a=new ga("void"),u=new wa(e.id,o,n);e._engine.totalQueuedPlayers++,e._queue.push({element:n,triggerName:o,transition:r,fromState:i,toState:a,player:u,isFallbackTransition:!0})}})}},n.prototype.removeNode=function(n,e){var t=this,l=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e,!0),!this.triggerLeaveAnimation(n,e,!0)){var o=!1;if(l.totalAnimations){var r=l.players.length?l.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else for(var i=n;i=i.parentNode;)if(l.statesByElement.get(i)){o=!0;break}}this.prepareLeaveAnimationListeners(n),o?l.markElementAsRemoved(this.id,n,!1,e):(l.afterFlush(function(){return t.clearElementCache(n)}),l.destroyInnerAnimations(n),l._onRemovalComplete(n,e))}},n.prototype.insertNode=function(n,e){Ta(n,this._hostClassName)},n.prototype.drainQueuedTransitions=function(n){var e=this,t=[];return this._queue.forEach(function(l){var o=l.player;if(!o.destroyed){var r=l.element,i=e._elementListeners.get(r);i&&i.forEach(function(e){if(e.name==l.triggerName){var t=Xr(r,l.triggerName,l.fromState.value,l.toState.value);t._data=n,Yr(l.player,e.phase,t,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):t.push(l)}}),this._queue=[],t.sort(function(n,t){var l=n.transition.ast.depCount,o=t.transition.ast.depCount;return 0==l||0==o?l-o:e._engine.driver.containsElement(n.element,t.element)?1:-1})},n.prototype.destroy=function(n){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,n)},n.prototype.elementContainsData=function(n){var e=!1;return this._elementListeners.has(n)&&(e=!0),!!this._queue.find(function(e){return e.element===n})||e},n}(),ya=function(){function n(n,e,t){this.bodyNode=n,this.driver=e,this._normalizer=t,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(n,e){}}return n.prototype._onRemovalComplete=function(n,e){this.onRemovalComplete(n,e)},Object.defineProperty(n.prototype,"queuedPlayers",{get:function(){var n=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&n.push(e)})}),n},enumerable:!0,configurable:!0}),n.prototype.createNamespace=function(n,e){var t=new _a(n,e,this);return e.parentNode?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[n]=t},n.prototype._balanceNamespaceList=function(n,e){var t=this._namespaceList.length-1;if(t>=0){for(var l=!1,o=t;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,n),l=!0;break}l||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(e,n),n},n.prototype.register=function(n,e){var t=this._namespaceLookup[n];return t||(t=this.createNamespace(n,e)),t},n.prototype.registerTrigger=function(n,e,t){var l=this._namespaceLookup[n];l&&l.register(e,t)&&this.totalAnimations++},n.prototype.destroy=function(n,e){var t=this;if(n){var l=this._fetchNamespace(n);this.afterFlush(function(){t.namespacesByHostElement.delete(l.hostElement),delete t._namespaceLookup[n];var e=t._namespaceList.indexOf(l);e>=0&&t._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return l.destroy(e)})}},n.prototype._fetchNamespace=function(n){return this._namespaceLookup[n]},n.prototype.fetchNamespacesByElement=function(n){var e=new Set,t=this.statesByElement.get(n);if(t)for(var l=Object.keys(t),o=0;o<l.length;o++){var r=t[l[o]].namespaceId;if(r){var i=this._fetchNamespace(r);i&&e.add(i)}}return e},n.prototype.trigger=function(n,e,t,l){if(Ca(e)){var o=this._fetchNamespace(n);if(o)return o.trigger(e,t,l),!0}return!1},n.prototype.insertNode=function(n,e,t,l){if(Ca(e)){var o=e[va];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var r=this.collectedLeaveElements.indexOf(e);r>=0&&this.collectedLeaveElements.splice(r,1)}if(n){var i=this._fetchNamespace(n);i&&i.insertNode(e,t)}l&&this.collectEnterElement(e)}},n.prototype.collectEnterElement=function(n){this.collectedEnterElements.push(n)},n.prototype.markElementAsDisabled=function(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Ta(n,"ng-animate-disabled")):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ra(n,"ng-animate-disabled"))},n.prototype.removeNode=function(n,e,t,l){if(Ca(e)){var o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,l):this.markElementAsRemoved(n,e,!1,l),t){var r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,l)}}else this._onRemovalComplete(e,l)},n.prototype.markElementAsRemoved=function(n,e,t,l){this.collectedLeaveElements.push(e),e[va]={namespaceId:n,setForRemoval:l,hasAnimation:t,removedBeforeQueried:!1}},n.prototype.listen=function(n,e,t,l,o){return Ca(e)?this._fetchNamespace(n).listen(e,t,l,o):function(){}},n.prototype._buildInstruction=function(n,e,t,l,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,t,l,n.fromState.options,n.toState.options,e,o)},n.prototype.destroyInnerAnimations=function(n){var e=this,t=this.driver.query(n,".ng-trigger",!0);t.forEach(function(n){return e.destroyActiveAnimationsForElement(n)}),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,".ng-animating",!0)).forEach(function(n){return e.finishActiveQueriedAnimationOnElement(n)})},n.prototype.destroyActiveAnimationsForElement=function(n){var e=this.playersByElement.get(n);e&&e.forEach(function(n){n.queued?n.markedForDestroy=!0:n.destroy()})},n.prototype.finishActiveQueriedAnimationOnElement=function(n){var e=this.playersByQueriedElement.get(n);e&&e.forEach(function(n){return n.finish()})},n.prototype.whenRenderingDone=function(){var n=this;return new Promise(function(e){if(n.players.length)return Gr(n.players).onDone(function(){return e()});e()})},n.prototype.processLeaveNode=function(n){var e=this,t=n[va];if(t&&t.setForRemoval){if(n[va]=ha,t.namespaceId){this.destroyInnerAnimations(n);var l=this._fetchNamespace(t.namespaceId);l&&l.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}this.driver.matchesElement(n,".ng-animate-disabled")&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(n,!1)})},n.prototype.flush=function(n){var e=this;void 0===n&&(n=-1);var t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(n,t){return e._balanceNamespaceList(n,t)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var l=0;l<this.collectedEnterElements.length;l++)Ta(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{t=this._flushAnimations(o,n)}finally{for(l=0;l<o.length;l++)o[l]()}}else for(l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(n){return n()}),this._flushFns=[],this._whenQuietFns.length){var r=this._whenQuietFns;this._whenQuietFns=[],t.length?Gr(t).onDone(function(){r.forEach(function(n){return n()})}):r.forEach(function(n){return n()})}},n.prototype.reportError=function(n){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+n.join("\n"))},n.prototype._flushAnimations=function(n,e){var t=this,l=new Wi,o=[],r=new Map,i=[],a=new Map,u=new Map,d=new Map,c=new Set;this.disabledNodes.forEach(function(n){c.add(n);for(var e=t.driver.query(n,".ng-animate-queued",!0),l=0;l<e.length;l++)c.add(e[l])});var p=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=ka(f,this.collectedEnterElements),m=new Map,v=0;h.forEach(function(n,e){var t="ng-enter"+v++;m.set(e,t),n.forEach(function(n){return Ta(n,t)})});for(var g=[],b=new Set,_=new Set,y=0;y<this.collectedLeaveElements.length;y++)(P=(q=this.collectedLeaveElements[y])[va])&&P.setForRemoval&&(g.push(q),b.add(q),P.hasAnimation?this.driver.query(q,".ng-star-inserted",!0).forEach(function(n){return b.add(n)}):_.add(q));var w=new Map,C=ka(f,Array.from(b));C.forEach(function(n,e){var t="ng-leave"+v++;w.set(e,t),n.forEach(function(n){return Ta(n,t)})}),n.push(function(){h.forEach(function(n,e){var t=m.get(e);n.forEach(function(n){return Ra(n,t)})}),C.forEach(function(n,e){var t=w.get(e);n.forEach(function(n){return Ra(n,t)})}),g.forEach(function(n){t.processLeaveNode(n)})});for(var x=[],S=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach(function(n){var e=n.player,r=n.element;if(x.push(e),t.collectedEnterElements.length){var s=r[va];if(s&&s.setForMove)return void e.destroy()}var c=!p||!t.driver.containsElement(p,r),f=w.get(r),h=m.get(r),v=t._buildInstruction(n,l,h,f,c);if(v.errors&&v.errors.length)S.push(v);else{if(c)return e.onStart(function(){return Ci(r,v.fromStyles)}),e.onDestroy(function(){return wi(r,v.toStyles)}),void o.push(e);if(n.isFallbackTransition)return e.onStart(function(){return Ci(r,v.fromStyles)}),e.onDestroy(function(){return wi(r,v.toStyles)}),void o.push(e);v.timelines.forEach(function(n){return n.stretchStartingKeyframe=!0}),l.append(r,v.timelines),i.push({instruction:v,player:e,element:r}),v.queriedElements.forEach(function(n){return Qr(a,n,[]).push(e)}),v.preStyleProps.forEach(function(n,e){var t=Object.keys(n);if(t.length){var l=u.get(e);l||u.set(e,l=new Set),t.forEach(function(n){return l.add(n)})}}),v.postStyleProps.forEach(function(n,e){var t=Object.keys(n),l=d.get(e);l||d.set(e,l=new Set),t.forEach(function(n){return l.add(n)})})}});if(S.length){var E=[];S.forEach(function(n){E.push("@"+n.triggerName+" has failed due to:\n"),n.errors.forEach(function(n){return E.push("- "+n+"\n")})}),x.forEach(function(n){return n.destroy()}),this.reportError(E)}var T=new Map,R=new Map;i.forEach(function(n){var e=n.element;l.has(e)&&(R.set(e,e),t._beforeAnimationBuild(n.player.namespaceId,n.instruction,T))}),o.forEach(function(n){var e=n.element;t._getPreviousPlayers(e,!1,n.namespaceId,n.triggerName,null).forEach(function(n){Qr(T,e,[]).push(n),n.destroy()})});var I=g.filter(function(n){return Da(n,u,d)}),D=new Map;Sa(D,this.driver,_,d,Lr).forEach(function(n){Da(n,u,d)&&I.push(n)});var O=new Map;h.forEach(function(n,e){Sa(O,t.driver,new Set(n),u,Zr)}),I.forEach(function(n){var e=D.get(n),t=O.get(n);D.set(n,Object(s.__assign)({},e,t))});var F=[],N=[],M={};i.forEach(function(n){var e=n.element,i=n.player,a=n.instruction;if(l.has(e)){if(c.has(e))return i.onDestroy(function(){return wi(e,a.toStyles)}),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=M;if(R.size>1){for(var s=e,d=[];s=s.parentNode;){var p=R.get(s);if(p){u=p;break}d.push(s)}d.forEach(function(n){return R.set(n,u)})}var f=t._buildAnimation(i.namespaceId,a,T,r,O,D);if(i.setRealPlayer(f),u===M)F.push(i);else{var h=t.playersByElement.get(u);h&&h.length&&(i.parentPlayer=Gr(h)),o.push(i)}}else Ci(e,a.fromStyles),i.onDestroy(function(){return wi(e,a.toStyles)}),N.push(i),c.has(e)&&o.push(i)}),N.forEach(function(n){var e=r.get(n.element);if(e&&e.length){var t=Gr(e);n.setRealPlayer(t)}}),o.forEach(function(n){n.parentPlayer?n.syncPlayerEvents(n.parentPlayer):n.destroy()});for(var A=0;A<g.length;A++){var q,P=(q=g[A])[va];if(Ra(q,"ng-leave"),!P||!P.hasAnimation){var j=[];if(a.size){var L=a.get(q);L&&L.length&&j.push.apply(j,Object(s.__spread)(L));for(var V=this.driver.query(q,".ng-animating",!0),B=0;B<V.length;B++){var z=a.get(V[B]);z&&z.length&&j.push.apply(j,Object(s.__spread)(z))}}var U=j.filter(function(n){return!n.destroyed});U.length?Ia(this,q,U):this.processLeaveNode(q)}}return g.length=0,F.forEach(function(n){t.players.push(n),n.onDone(function(){n.destroy();var e=t.players.indexOf(n);t.players.splice(e,1)}),n.play()}),F},n.prototype.elementContainsData=function(n,e){var t=!1,l=e[va];return l&&l.setForRemoval&&(t=!0),this.playersByElement.has(e)&&(t=!0),this.playersByQueriedElement.has(e)&&(t=!0),this.statesByElement.has(e)&&(t=!0),this._fetchNamespace(n).elementContainsData(e)||t},n.prototype.afterFlush=function(n){this._flushFns.push(n)},n.prototype.afterFlushAnimationsDone=function(n){this._whenQuietFns.push(n)},n.prototype._getPreviousPlayers=function(n,e,t,l,o){var r=[];if(e){var i=this.playersByQueriedElement.get(n);i&&(r=i)}else{var a=this.playersByElement.get(n);if(a){var u=!o||"void"==o;a.forEach(function(n){n.queued||(u||n.triggerName==l)&&r.push(n)})}}return(t||l)&&(r=r.filter(function(n){return!(t&&t!=n.namespaceId||l&&l!=n.triggerName)})),r},n.prototype._beforeAnimationBuild=function(n,e,t){var l,o,r=e.element,i=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName,u=function(n){var l=n.element,o=l!==r,u=Qr(t,l,[]);d._getPreviousPlayers(l,o,i,a,e.toState).forEach(function(n){var e=n.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),n.destroy(),u.push(n)})},d=this;try{for(var c=Object(s.__values)(e.timelines),p=c.next();!p.done;p=c.next())u(p.value)}catch(f){l={error:f}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(l)throw l.error}}Ci(r,e.fromStyles)},n.prototype._buildAnimation=function(n,e,t,l,o,r){var i=this,a=e.triggerName,u=e.element,s=[],d=new Set,c=new Set,p=e.timelines.map(function(e){var p=e.element;d.add(p);var f=p[va];if(f&&f.removedBeforeQueried)return new Ur(e.duration,e.delay);var h,m,v=p!==u,g=(h=(t.get(p)||fa).map(function(n){return n.getRealPlayer()}),m=[],function n(e,t){for(var l=0;l<e.length;l++){var o=e[l];o instanceof Hr?n(o.players,t):t.push(o)}}(h,m),m).filter(function(n){return!!n.element&&n.element===p}),b=o.get(p),_=r.get(p),y=Kr(0,i._normalizer,0,e.keyframes,b,_),w=i._buildPlayer(e,y,g);if(e.subTimeline&&l&&c.add(p),v){var C=new wa(n,a,p);C.setRealPlayer(w),s.push(C)}return w});s.forEach(function(n){Qr(i.playersByQueriedElement,n.element,[]).push(n),n.onDone(function(){return function(n,e,t){var l;if(n instanceof Map){if(l=n.get(e)){if(l.length){var o=l.indexOf(t);l.splice(o,1)}0==l.length&&n.delete(e)}}else(l=n[e])&&(l.length&&(o=l.indexOf(t),l.splice(o,1)),0==l.length&&delete n[e]);return l}(i.playersByQueriedElement,n.element,n)})}),d.forEach(function(n){return Ta(n,"ng-animating")});var f=Gr(p);return f.onDestroy(function(){d.forEach(function(n){return Ra(n,"ng-animating")}),wi(u,e.toStyles)}),c.forEach(function(n){Qr(l,n,[]).push(f)}),f},n.prototype._buildPlayer=function(n,e,t){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,t):new Ur(n.duration,n.delay)},n}(),wa=function(){function n(n,e,t){this.namespaceId=n,this.triggerName=e,this.element=t,this._player=new Ur,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return n.prototype.setRealPlayer=function(n){var e=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(function(t){e._queuedCallbacks[t].forEach(function(e){return Yr(n,t,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)},n.prototype.getRealPlayer=function(){return this._player},n.prototype.overrideTotalTime=function(n){this.totalTime=n},n.prototype.syncPlayerEvents=function(n){var e=this,t=this._player;t.triggerCallback&&n.onStart(function(){return t.triggerCallback("start")}),n.onDone(function(){return e.finish()}),n.onDestroy(function(){return e.destroy()})},n.prototype._queueEvent=function(n,e){Qr(this._queuedCallbacks,n,[]).push(e)},n.prototype.onDone=function(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)},n.prototype.onStart=function(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)},n.prototype.onDestroy=function(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)},n.prototype.init=function(){this._player.init()},n.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},n.prototype.play=function(){!this.queued&&this._player.play()},n.prototype.pause=function(){!this.queued&&this._player.pause()},n.prototype.restart=function(){!this.queued&&this._player.restart()},n.prototype.finish=function(){this._player.finish()},n.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},n.prototype.reset=function(){!this.queued&&this._player.reset()},n.prototype.setPosition=function(n){this.queued||this._player.setPosition(n)},n.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},n.prototype.triggerCallback=function(n){var e=this._player;e.triggerCallback&&e.triggerCallback(n)},n}();function Ca(n){return n&&1===n.nodeType}function xa(n,e){var t=n.style.display;return n.style.display=null!=e?e:"none",t}function Sa(n,e,t,l,o){var r=[];t.forEach(function(n){return r.push(xa(n))});var i=[];l.forEach(function(t,l){var r={};t.forEach(function(n){var t=r[n]=e.computeStyle(l,n,o);t&&0!=t.length||(l[va]=ma,i.push(l))}),n.set(l,r)});var a=0;return t.forEach(function(n){return xa(n,r[a++])}),i}function ka(n,e){var t=new Map;if(n.forEach(function(n){return t.set(n,[])}),0==e.length)return t;var l=new Set(e),o=new Map;return e.forEach(function(n){var e=function n(e){if(!e)return 1;var r=o.get(e);if(r)return r;var i=e.parentNode;return r=t.has(i)?i:l.has(i)?1:n(i),o.set(e,r),r}(n);1!==e&&t.get(e).push(n)}),t}var Ea="$$classes";function Ta(n,e){if(n.classList)n.classList.add(e);else{var t=n[Ea];t||(t=n[Ea]={}),t[e]=!0}}function Ra(n,e){if(n.classList)n.classList.remove(e);else{var t=n[Ea];t&&delete t[e]}}function Ia(n,e,t){Gr(t).onDone(function(){return n.processLeaveNode(e)})}function Da(n,e,t){var l=t.get(n);if(!l)return!1;var o=e.get(n);return o?l.forEach(function(n){return o.add(n)}):e.set(n,l),t.delete(n),!0}var Oa=function(){function n(n,e,t){var l=this;this.bodyNode=n,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(n,e){},this._transitionEngine=new ya(n,e,t),this._timelineEngine=new pa(n,e,t),this._transitionEngine.onRemovalComplete=function(n,e){return l.onRemovalComplete(n,e)}}return n.prototype.registerTrigger=function(n,e,t,l,o){var r=n+"-"+l,i=this._triggerCache[r];if(!i){var a=[],u=Li(this._driver,o,a);if(a.length)throw new Error('The animation trigger "'+l+'" has failed to build due to the following errors:\n - '+a.join("\n - "));i=function(n,e){return new sa(n,e)}(l,u),this._triggerCache[r]=i}this._transitionEngine.registerTrigger(e,l,i)},n.prototype.register=function(n,e){this._transitionEngine.register(n,e)},n.prototype.destroy=function(n,e){this._transitionEngine.destroy(n,e)},n.prototype.onInsert=function(n,e,t,l){this._transitionEngine.insertNode(n,e,t,l)},n.prototype.onRemove=function(n,e,t,l){this._transitionEngine.removeNode(n,e,l||!1,t)},n.prototype.disableAnimations=function(n,e){this._transitionEngine.markElementAsDisabled(n,e)},n.prototype.process=function(n,e,t,l){if("@"==t.charAt(0)){var o=Object(s.__read)(Jr(t),2);this._timelineEngine.command(o[0],e,o[1],l)}else this._transitionEngine.trigger(n,e,t,l)},n.prototype.listen=function(n,e,t,l,o){if("@"==t.charAt(0)){var r=Object(s.__read)(Jr(t),2);return this._timelineEngine.listen(r[0],e,r[1],o)}return this._transitionEngine.listen(n,e,t,l,o)},n.prototype.flush=function(n){void 0===n&&(n=-1),this._transitionEngine.flush(n)},Object.defineProperty(n.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),n.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},n}();function Fa(n,e){var t=null,l=null;return Array.isArray(e)&&e.length?(t=Ma(e[0]),e.length>1&&(l=Ma(e[e.length-1]))):e&&(t=Ma(e)),t||l?new Na(n,t,l):null}var Na=function(){function n(e,t,l){this._element=e,this._startStyles=t,this._endStyles=l,this._state=0;var o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o={}),this._initialStyles=o}return n.prototype.start=function(){this._state<1&&(this._startStyles&&wi(this._element,this._startStyles,this._initialStyles),this._state=1)},n.prototype.finish=function(){this.start(),this._state<2&&(wi(this._element,this._initialStyles),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),this._state=1)},n.prototype.destroy=function(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ci(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ci(this._element,this._endStyles),this._endStyles=null),wi(this._element,this._initialStyles),this._state=3)},n.initialStylesByElement=new WeakMap,n}();function Ma(n){for(var e=null,t=Object.keys(n),l=0;l<t.length;l++){var o=t[l];Aa(o)&&((e=e||{})[o]=n[o])}return e}function Aa(n){return"display"===n||"position"===n}var qa="animation",Pa="animationend",ja=function(){function n(n,e,t,l,o,r,i){var a=this;this._element=n,this._name=e,this._duration=t,this._delay=l,this._easing=o,this._fillMode=r,this._onDoneFn=i,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(n){return a._handleCallback(n)}}return n.prototype.apply=function(){var n,e,t;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(t=Ha(n=this._element,"").trim()).length&&(function(n,e){for(var t=0;t<n.length;t++)","===n.charAt(t)&&0}(t),e=t+", "+e),Ua(n,"",e),za(this._element,this._eventFn,!1),this._startTime=Date.now()},n.prototype.pause=function(){La(this._element,this._name,"paused")},n.prototype.resume=function(){La(this._element,this._name,"running")},n.prototype.setPosition=function(n){var e=Va(this._element,this._name);this._position=n*this._duration,Ua(this._element,"Delay","-"+this._position+"ms",e)},n.prototype.getPosition=function(){return this._position},n.prototype._handleCallback=function(n){var e=n._ngTestManualTimestamp||Date.now(),t=1e3*parseFloat(n.elapsedTime.toFixed(3));n.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&t>=this._duration&&this.finish()},n.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),za(this._element,this._eventFn,!0))},n.prototype.destroy=function(){var n,e,t,l;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(l=Ba(t=Ha(n=this._element,"").split(","),e))>=0&&(t.splice(l,1),Ua(n,"",t.join(","))))},n}();function La(n,e,t){Ua(n,"PlayState",t,Va(n,e))}function Va(n,e){var t=Ha(n,"");return t.indexOf(",")>0?Ba(t.split(","),e):Ba([t],e)}function Ba(n,e){for(var t=0;t<n.length;t++)if(n[t].indexOf(e)>=0)return t;return-1}function za(n,e,t){t?n.removeEventListener(Pa,e):n.addEventListener(Pa,e)}function Ua(n,e,t,l){var o=qa+e;if(null!=l){var r=n.style[o];if(r.length){var i=r.split(",");i[l]=t,t=i.join(",")}}n.style[o]=t}function Ha(n,e){return n.style[qa+e]}var Za="linear",Wa=function(){function n(n,e,t,l,o,r,i,a){this.element=n,this.keyframes=e,this.animationName=t,this._duration=l,this._delay=o,this._finalStyles=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||Za,this.totalTime=l+o,this._buildStyler()}return n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.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(n){return n()}),this._onDestroyFns=[])},n.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[]},n.prototype._flushStartFns=function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]},n.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},n.prototype.setPosition=function(n){this._styler.setPosition(n)},n.prototype.getPosition=function(){return this._styler.getPosition()},n.prototype.hasStarted=function(){return this._state>=2},n.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},n.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},n.prototype.pause=function(){this.init(),this._styler.pause()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},n.prototype._buildStyler=function(){var n=this;this._styler=new ja(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return n.finish()})},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n.prototype.beforeDestroy=function(){var n=this;this.init();var e={};if(this.hasStarted()){var t=this._state>=3;Object.keys(this._finalStyles).forEach(function(l){"offset"!=l&&(e[l]=t?n._finalStyles[l]:Ni(n.element,l))})}this.currentSnapshot=e},n}(),Ga=function(n){function e(e,t){var l=n.call(this)||this;return l.element=e,l._startingStyles={},l.__initialized=!1,l._styles=di(t),l}return Object(s.__extends)(e,n),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(n){e._startingStyles[n]=e.element.style[n]}),n.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(n){return e.element.style.setProperty(n,e._styles[n])}),n.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(n){var t=e._startingStyles[n];t?e.element.style.setProperty(n,t):e.element.style.removeProperty(n)}),this._startingStyles=null,n.prototype.destroy.call(this))},e}(Ur),Ka=function(){function n(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return n.prototype.validateStyleProperty=function(n){return ii(n)},n.prototype.matchesElement=function(n,e){return ai(n,e)},n.prototype.containsElement=function(n,e){return ui(n,e)},n.prototype.query=function(n,e,t){return si(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.buildKeyframeElement=function(n,e,t){t=t.map(function(n){return di(n)});var l="@keyframes "+e+" {\n",o="";t.forEach(function(n){o=" ";var e=parseFloat(n.offset);l+=""+o+100*e+"% {\n",o+=" ",Object.keys(n).forEach(function(e){var t=n[e];switch(e){case"offset":return;case"easing":return void(t&&(l+=o+"animation-timing-function: "+t+";\n"));default:return void(l+=""+o+e+": "+t+";\n")}}),l+=o+"}\n"}),l+="}\n";var r=document.createElement("style");return r.innerHTML=l,r},n.prototype.animate=function(n,e,t,l,o,r,i){void 0===r&&(r=[]),i&&this._notifyFaultyScrubber();var a=r.filter(function(n){return n instanceof Wa}),u={};Di(t,l)&&a.forEach(function(n){var e=n.currentSnapshot;Object.keys(e).forEach(function(n){return u[n]=e[n]})});var s=function(n){var e={};return n&&(Array.isArray(n)?n:[n]).forEach(function(n){Object.keys(n).forEach(function(t){"offset"!=t&&"easing"!=t&&(e[t]=n[t])})}),e}(e=Oi(n,e,u));if(0==t)return new Ga(n,s);var d="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(n,d,e);document.querySelector("head").appendChild(c);var p=Fa(n,e),f=new Wa(n,e,d,t,l,o,s,p);return f.onDestroy(function(){var n;(n=c).parentNode.removeChild(n)}),f},n.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)},n}(),Ya=function(){function n(n,e,t,l){this.element=n,this.keyframes=e,this.options=t,this._specialStyles=l,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=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])},n.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},n.prototype._buildPlayer=function(){var n=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return n._onFinish()})}},n.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},n.prototype._triggerWebAnimation=function(n,e,t){return n.animate(e,t)},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},n.prototype.pause=function(){this.init(),this.domPlayer.pause()},n.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},n.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.hasStarted=function(){return this._started},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])},n.prototype.setPosition=function(n){this.domPlayer.currentTime=n*this.time},n.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(n.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),n.prototype.beforeDestroy=function(){var n=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(t){"offset"!=t&&(e[t]=n._finished?n._finalKeyframe[t]:Ni(n.element,t))}),this.currentSnapshot=e},n.prototype.triggerCallback=function(n){var e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(function(n){return n()}),e.length=0},n}(),$a=function(){function n(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Xa().toString()),this._cssKeyframesDriver=new Ka}return n.prototype.validateStyleProperty=function(n){return ii(n)},n.prototype.matchesElement=function(n,e){return ai(n,e)},n.prototype.containsElement=function(n,e){return ui(n,e)},n.prototype.query=function(n,e,t){return si(n,e,t)},n.prototype.computeStyle=function(n,e,t){return window.getComputedStyle(n)[e]},n.prototype.overrideWebAnimationsSupport=function(n){this._isNativeImpl=n},n.prototype.animate=function(n,e,t,l,o,r,i){if(void 0===r&&(r=[]),!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(n,e,t,l,o,r);var a={duration:t,delay:l,fill:0==l?"both":"forwards"};o&&(a.easing=o);var u={},s=r.filter(function(n){return n instanceof Ya});Di(t,l)&&s.forEach(function(n){var e=n.currentSnapshot;Object.keys(e).forEach(function(n){return u[n]=e[n]})});var d=Fa(n,e=Oi(n,e=e.map(function(n){return bi(n,!1)}),u));return new Ya(n,e,a,d)},n}();function Xa(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Qa=function(n){function e(e,t){var l=n.call(this)||this;return l._nextAnimationId=0,l._renderer=e.createRenderer(t.body,{id:"0",encapsulation:o.ViewEncapsulation.None,styles:[],data:{animation:[]}}),l}return Object(s.__extends)(e,n),e.prototype.build=function(n){var e=this._nextAnimationId.toString();this._nextAnimationId++;var t=Array.isArray(n)?Vr(n):n;return eu(this._renderer,null,e,"register",[t]),new Ja(e,this._renderer)},e}(Pr),Ja=function(n){function e(e,t){var l=n.call(this)||this;return l._id=e,l._renderer=t,l}return Object(s.__extends)(e,n),e.prototype.create=function(n,e){return new nu(this._id,n,e||{},this._renderer)},e}(jr),nu=function(){function n(n,e,t,l){this.id=n,this.element=e,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}return n.prototype._listen=function(n,e){return this._renderer.listen(this.element,"@@"+this.id+":"+n,e)},n.prototype._command=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return eu(this._renderer,this.element,this.id,n,e)},n.prototype.onDone=function(n){this._listen("done",n)},n.prototype.onStart=function(n){this._listen("start",n)},n.prototype.onDestroy=function(n){this._listen("destroy",n)},n.prototype.init=function(){this._command("init")},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this._command("play"),this._started=!0},n.prototype.pause=function(){this._command("pause")},n.prototype.restart=function(){this._command("restart")},n.prototype.finish=function(){this._command("finish")},n.prototype.destroy=function(){this._command("destroy")},n.prototype.reset=function(){this._command("reset")},n.prototype.setPosition=function(n){this._command("setPosition",n)},n.prototype.getPosition=function(){return 0},n}();function eu(n,e,t,l,o){return n.setProperty(e,"@@"+t+":"+l,o)}var tu=function(){function n(n,e,t){this.delegate=n,this.engine=e,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(n,e){e&&e.parentNode(n)&&e.removeChild(n.parentNode,n)}}return n.prototype.createRenderer=function(n,e){var t=this,l=this.delegate.createRenderer(n,e);if(!(n&&e&&e.data&&e.data.animation)){var o=this._rendererCache.get(l);return o||(o=new lu("",l,this.engine),this._rendererCache.set(l,o)),o}var r=e.id,i=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(i,n),e.data.animation.forEach(function(e){return t.engine.registerTrigger(r,i,n,e.name,e)}),new ou(this,i,l,this.engine)},n.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},n.prototype._scheduleCountTask=function(){var n=this;this.promise.then(function(){n._microtaskId++})},n.prototype.scheduleListenerCallback=function(n,e,t){var l=this;n>=0&&n<this._microtaskId?this._zone.run(function(){return e(t)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){l._zone.run(function(){l._animationCallbacksBuffer.forEach(function(n){var e=Object(s.__read)(n,2);(0,e[0])(e[1])}),l._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,t]))},n.prototype.end=function(){var n=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){n._scheduleCountTask(),n.engine.flush(n._microtaskId)}),this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},n}(),lu=function(){function n(n,e,t){this.namespaceId=n,this.delegate=e,this.engine=t,this.destroyNode=this.delegate.destroyNode?function(n){return e.destroyNode(n)}:null}return Object.defineProperty(n.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},n.prototype.createElement=function(n,e){return this.delegate.createElement(n,e)},n.prototype.createComment=function(n){return this.delegate.createComment(n)},n.prototype.createText=function(n){return this.delegate.createText(n)},n.prototype.appendChild=function(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)},n.prototype.insertBefore=function(n,e,t){this.delegate.insertBefore(n,e,t),this.engine.onInsert(this.namespaceId,e,n,!0)},n.prototype.removeChild=function(n,e,t){this.engine.onRemove(this.namespaceId,e,this.delegate,t)},n.prototype.selectRootElement=function(n,e){return this.delegate.selectRootElement(n,e)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setAttribute=function(n,e,t,l){this.delegate.setAttribute(n,e,t,l)},n.prototype.removeAttribute=function(n,e,t){this.delegate.removeAttribute(n,e,t)},n.prototype.addClass=function(n,e){this.delegate.addClass(n,e)},n.prototype.removeClass=function(n,e){this.delegate.removeClass(n,e)},n.prototype.setStyle=function(n,e,t,l){this.delegate.setStyle(n,e,t,l)},n.prototype.removeStyle=function(n,e,t){this.delegate.removeStyle(n,e,t)},n.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(n,!!t):this.delegate.setProperty(n,e,t)},n.prototype.setValue=function(n,e){this.delegate.setValue(n,e)},n.prototype.listen=function(n,e,t){return this.delegate.listen(n,e,t)},n.prototype.disableAnimations=function(n,e){this.engine.disableAnimations(n,e)},n}(),ou=function(n){function e(e,t,l,o){var r=n.call(this,t,l,o)||this;return r.factory=e,r.namespaceId=t,r}return Object(s.__extends)(e,n),e.prototype.setProperty=function(n,e,t){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(n,t=void 0===t||!!t):this.engine.process(this.namespaceId,n,e.substr(1),t):this.delegate.setProperty(n,e,t)},e.prototype.listen=function(n,e,t){var l,o,r,i=this;if("@"==e.charAt(0)){var a=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(n),u=e.substr(1),d="";return"@"!=u.charAt(0)&&(u=(l=Object(s.__read)((o=u,r=o.indexOf("."),[o.substring(0,r),o.substr(r+1)]),2))[0],d=l[1]),this.engine.listen(this.namespaceId,a,u,d,function(n){i.factory.scheduleListenerCallback(n._data||-1,t,n)})}return this.delegate.listen(n,e,t)},e}(lu),ru=function(n){function e(e,t,l){return n.call(this,e.body,t,l)||this}return Object(s.__extends)(e,n),e}(Oa);function iu(){return"function"==typeof Xa()?new $a:new Ka}function au(){return new la}function uu(n,e,t){return new tu(n,e,t)}var su=new o.InjectionToken("AnimationModuleType"),du=function(){return function(){}}(),cu=o["\u0275crt"]({encapsulation:2,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-flat-button,.mat-icon-button,.mat-stroked-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:0;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-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.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{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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 .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{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 .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-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-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function pu(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{ripple:0}),(n()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](4,212992,[[1,4]],0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["\u0275eld"](5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(n,e){var t=e.component;n(e,4,0,t.isIconButton,t._isRippleDisabled(),t._getHostElement())},function(n,e){var t=e.component;n(e,3,0,t.isRoundButton||t.isIconButton,o["\u0275nov"](e,4).unbounded)})}var fu=o["\u0275crt"]({encapsulation:2,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-flat-button,.mat-icon-button,.mat-stroked-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:0;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-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.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{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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 .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{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 .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-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-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function hu(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{ripple:0}),(n()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](4,212992,[[1,4]],0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),o["\u0275eld"](5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(n,e){var t=e.component;n(e,4,0,t.isIconButton,t._isRippleDisabled(),t._getHostElement())},function(n,e){var t=e.component;n(e,3,0,t.isRoundButton||t.isIconButton,o["\u0275nov"](e,4).unbounded)})}var mu=Xo(function(){return function(n){this._elementRef=n}}()),vu=function(){return function(){}}(),gu=function(n){function e(e,t,l){var o=n.call(this,e)||this;return o._platform=t,o._document=l,o}return Object(s.__extends)(e,n),e.prototype.ngAfterViewInit=function(){var n=this;Object(o.isDevMode)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return n._checkToolbarMixedModes()}))},e.prototype._checkToolbarMixedModes=function(){var n=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(n){return!(n.classList&&n.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(n._document?n._document.COMMENT_NODE:8)}).some(function(n){return!(!n.textContent||!n.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.")}()},e}(mu),bu=function(){return function(){}}(),_u=o["\u0275crt"]({encapsulation:2,styles:["@media (-ms-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}}"],data:{}});function yu(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1)],null,null)}var wu=function(){return function(){}}(),Cu=function(){return function(){}}(),xu=function(){function n(n){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?function(){e.headers=new Map,n.split("\n").forEach(function(n){var t=n.indexOf(":");if(t>0){var l=n.slice(0,t),o=l.toLowerCase(),r=n.slice(t+1).trim();e.maybeSetNormalizedName(l,o),e.headers.has(o)?e.headers.get(o).push(r):e.headers.set(o,[r])}})}:function(){e.headers=new Map,Object.keys(n).forEach(function(t){var l=n[t],o=t.toLowerCase();"string"==typeof l&&(l=[l]),l.length>0&&(e.headers.set(o,l),e.maybeSetNormalizedName(t,o))})}:this.headers=new Map}return n.prototype.has=function(n){return this.init(),this.headers.has(n.toLowerCase())},n.prototype.get=function(n){this.init();var e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null},n.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},n.prototype.getAll=function(n){return this.init(),this.headers.get(n.toLowerCase())||null},n.prototype.append=function(n,e){return this.clone({name:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({name:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({name:n,value:e,op:"d"})},n.prototype.maybeSetNormalizedName=function(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)},n.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(n){return e.applyUpdate(n)}),this.lazyUpdate=null))},n.prototype.copyFrom=function(n){var e=this;n.init(),Array.from(n.headers.keys()).forEach(function(t){e.headers.set(t,n.headers.get(t)),e.normalizedNames.set(t,n.normalizedNames.get(t))})},n.prototype.clone=function(e){var t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t},n.prototype.applyUpdate=function(n){var e=n.name.toLowerCase();switch(n.op){case"a":case"s":var t=n.value;if("string"==typeof t&&(t=[t]),0===t.length)return;this.maybeSetNormalizedName(n.name,e);var l=("a"===n.op?this.headers.get(e):void 0)||[];l.push.apply(l,Object(s.__spread)(t)),this.headers.set(e,l);break;case"d":var o=n.value;if(o){var r=this.headers.get(e);if(!r)return;0===(r=r.filter(function(n){return-1===o.indexOf(n)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,r)}else this.headers.delete(e),this.normalizedNames.delete(e)}},n.prototype.forEach=function(n){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(t){return n(e.normalizedNames.get(t),e.headers.get(t))})},n}(),Su=function(){function n(){}return n.prototype.encodeKey=function(n){return ku(n)},n.prototype.encodeValue=function(n){return ku(n)},n.prototype.decodeKey=function(n){return decodeURIComponent(n)},n.prototype.decodeValue=function(n){return decodeURIComponent(n)},n}();function ku(n){return encodeURIComponent(n).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 Eu=function(){function n(n){var e,t,l,o=this;if(void 0===n&&(n={}),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Su,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=n.fromString,t=this.encoder,l=new Map,e.length>0&&e.split("&").forEach(function(n){var e=n.indexOf("="),o=Object(s.__read)(-1==e?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,e)),t.decodeValue(n.slice(e+1))],2),r=o[0],i=o[1],a=l.get(r)||[];a.push(i),l.set(r,a)}),l)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var t=n.fromObject[e];o.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return n.prototype.has=function(n){return this.init(),this.map.has(n)},n.prototype.get=function(n){this.init();var e=this.map.get(n);return e?e[0]:null},n.prototype.getAll=function(n){return this.init(),this.map.get(n)||null},n.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},n.prototype.append=function(n,e){return this.clone({param:n,value:e,op:"a"})},n.prototype.set=function(n,e){return this.clone({param:n,value:e,op:"s"})},n.prototype.delete=function(n,e){return this.clone({param:n,value:e,op:"d"})},n.prototype.toString=function(){var n=this;return this.init(),this.keys().map(function(e){var t=n.encoder.encodeKey(e);return n.map.get(e).map(function(e){return t+"="+n.encoder.encodeValue(e)}).join("&")}).join("&")},n.prototype.clone=function(e){var t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t},n.prototype.init=function(){var n=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return n.map.set(e,n.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var t=("a"===e.op?n.map.get(e.param):void 0)||[];t.push(e.value),n.map.set(e.param,t);break;case"d":if(void 0===e.value){n.map.delete(e.param);break}var l=n.map.get(e.param)||[],o=l.indexOf(e.value);-1!==o&&l.splice(o,1),l.length>0?n.map.set(e.param,l):n.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},n}();function Tu(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Ru(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Iu(n){return"undefined"!=typeof FormData&&n instanceof FormData}var Du=function(){function n(n,e,t,l){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||l?(this.body=void 0!==t?t:null,o=l):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new xu),this.params){var r=this.params.toString();if(0===r.length)this.urlWithParams=e;else{var i=e.indexOf("?");this.urlWithParams=e+(-1===i?"?":i<e.length-1?"&":"")+r}}else this.params=new Eu,this.urlWithParams=e}return n.prototype.serializeBody=function(){return null===this.body?null:Tu(this.body)||Ru(this.body)||Iu(this.body)||"string"==typeof this.body?this.body:this.body instanceof Eu?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},n.prototype.detectContentTypeHeader=function(){return null===this.body?null:Iu(this.body)?null:Ru(this.body)?this.body.type||null:Tu(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Eu?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},n.prototype.clone=function(e){void 0===e&&(e={});var t=e.method||this.method,l=e.url||this.url,o=e.responseType||this.responseType,r=void 0!==e.body?e.body:this.body,i=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,u=e.headers||this.headers,s=e.params||this.params;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce(function(n,t){return n.set(t,e.setHeaders[t])},u)),e.setParams&&(s=Object.keys(e.setParams).reduce(function(n,t){return n.set(t,e.setParams[t])},s)),new n(t,l,r,{params:s,headers:u,reportProgress:a,responseType:o,withCredentials:i})},n}(),Ou=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}({}),Fu=function(){return function(n,e,t){void 0===e&&(e=200),void 0===t&&(t="OK"),this.headers=n.headers||new xu,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}(),Nu=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Ou.ResponseHeader,t}return Object(s.__extends)(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(Fu),Mu=function(n){function e(e){void 0===e&&(e={});var t=n.call(this,e)||this;return t.type=Ou.Response,t.body=void 0!==e.body?e.body:null,t}return Object(s.__extends)(e,n),e.prototype.clone=function(n){return void 0===n&&(n={}),new e({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},e}(Fu),Au=function(n){function e(e){var t=n.call(this,e,0,"Unknown Error")||this;return t.name="HttpErrorResponse",t.ok=!1,t.message=t.status>=200&&t.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,t.error=e.error||null,t}return Object(s.__extends)(e,n),e}(Fu);function qu(n,e){return{body:e,headers:n.headers,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var Pu=function(){function n(n){this.handler=n}return n.prototype.request=function(n,e,t){var l,o=this;if(void 0===t&&(t={}),n instanceof Du)l=n;else{var r;r=t.headers instanceof xu?t.headers:new xu(t.headers);var i=void 0;t.params&&(i=t.params instanceof Eu?t.params:new Eu({fromObject:t.params})),l=new Du(n,e,void 0!==t.body?t.body:null,{headers:r,params:i,reportProgress:t.reportProgress,responseType:t.responseType||"json",withCredentials:t.withCredentials})}var a=Object(D.a)(l).pipe(Object(Y.a)(function(n){return o.handler.handle(n)}));if(n instanceof Du||"events"===t.observe)return a;var u=a.pipe(Object(K.a)(function(n){return n instanceof Mu}));switch(t.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return u.pipe(Object(P.a)(function(n){if(null!==n.body&&!(n.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return n.body}));case"blob":return u.pipe(Object(P.a)(function(n){if(null!==n.body&&!(n.body instanceof Blob))throw new Error("Response is not a Blob.");return n.body}));case"text":return u.pipe(Object(P.a)(function(n){if(null!==n.body&&"string"!=typeof n.body)throw new Error("Response is not a string.");return n.body}));case"json":default:return u.pipe(Object(P.a)(function(n){return n.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+t.observe+"}")}},n.prototype.delete=function(n,e){return void 0===e&&(e={}),this.request("DELETE",n,e)},n.prototype.get=function(n,e){return void 0===e&&(e={}),this.request("GET",n,e)},n.prototype.head=function(n,e){return void 0===e&&(e={}),this.request("HEAD",n,e)},n.prototype.jsonp=function(n,e){return this.request("JSONP",n,{params:(new Eu).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},n.prototype.options=function(n,e){return void 0===e&&(e={}),this.request("OPTIONS",n,e)},n.prototype.patch=function(n,e,t){return void 0===t&&(t={}),this.request("PATCH",n,qu(t,e))},n.prototype.post=function(n,e,t){return void 0===t&&(t={}),this.request("POST",n,qu(t,e))},n.prototype.put=function(n,e,t){return void 0===t&&(t={}),this.request("PUT",n,qu(t,e))},n}(),ju=function(){function n(n,e){this.next=n,this.interceptor=e}return n.prototype.handle=function(n){return this.interceptor.intercept(n,this.next)},n}(),Lu=new o.InjectionToken("HTTP_INTERCEPTORS"),Vu=function(){function n(){}return n.prototype.intercept=function(n,e){return e.handle(n)},n}(),Bu=/^\)\]\}',?\n/,zu=function(){return function(){}}(),Uu=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),Hu=function(){function n(n){this.xhrFactory=n}return n.prototype.handle=function(n){var e=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new d.a(function(t){var l=e.xhrFactory.build();if(l.open(n.method,n.urlWithParams),n.withCredentials&&(l.withCredentials=!0),n.headers.forEach(function(n,e){return l.setRequestHeader(n,e.join(","))}),n.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var o=n.detectContentTypeHeader();null!==o&&l.setRequestHeader("Content-Type",o)}if(n.responseType){var r=n.responseType.toLowerCase();l.responseType="json"!==r?r:"text"}var i=n.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===l.status?204:l.status,t=l.statusText||"OK",o=new xu(l.getAllResponseHeaders()),r=function(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(l)||n.url;return a=new Nu({headers:o,status:e,statusText:t,url:r})},s=function(){var e=u(),o=e.headers,r=e.status,i=e.statusText,a=e.url,s=null;204!==r&&(s=void 0===l.response?l.responseText:l.response),0===r&&(r=s?200:0);var d=r>=200&&r<300;if("json"===n.responseType&&"string"==typeof s){var c=s;s=s.replace(Bu,"");try{s=""!==s?JSON.parse(s):null}catch(p){s=c,d&&(d=!1,s={error:p,text:s})}}d?(t.next(new Mu({body:s,headers:o,status:r,statusText:i,url:a||void 0})),t.complete()):t.error(new Au({error:s,headers:o,status:r,statusText:i,url:a||void 0}))},d=function(n){var e=u().url,o=new Au({error:n,status:l.status||0,statusText:l.statusText||"Unknown Error",url:e||void 0});t.error(o)},c=!1,p=function(e){c||(t.next(u()),c=!0);var o={type:Ou.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===n.responseType&&l.responseText&&(o.partialText=l.responseText),t.next(o)},f=function(n){var e={type:Ou.UploadProgress,loaded:n.loaded};n.lengthComputable&&(e.total=n.total),t.next(e)};return l.addEventListener("load",s),l.addEventListener("error",d),n.reportProgress&&(l.addEventListener("progress",p),null!==i&&l.upload&&l.upload.addEventListener("progress",f)),l.send(i),t.next({type:Ou.Sent}),function(){l.removeEventListener("error",d),l.removeEventListener("load",s),n.reportProgress&&(l.removeEventListener("progress",p),null!==i&&l.upload&&l.upload.removeEventListener("progress",f)),l.abort()}})},n}(),Zu=new o.InjectionToken("XSRF_COOKIE_NAME"),Wu=new o.InjectionToken("XSRF_HEADER_NAME"),Gu=function(){return function(){}}(),Ku=function(){function n(n,e,t){this.doc=n,this.platform=e,this.cookieName=t,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return n.prototype.getToken=function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(I["\u0275parseCookieValue"])(n,this.cookieName),this.lastCookieString=n),this.lastToken},n}(),Yu=function(){function n(n,e){this.tokenService=n,this.headerName=e}return n.prototype.intercept=function(n,e){var t=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e.handle(n);var l=this.tokenService.getToken();return null===l||n.headers.has(this.headerName)||(n=n.clone({headers:n.headers.set(this.headerName,l)})),e.handle(n)},n}(),$u=function(){function n(n,e){this.backend=n,this.injector=e,this.chain=null}return n.prototype.handle=function(n){if(null===this.chain){var e=this.injector.get(Lu,[]);this.chain=e.reduceRight(function(n,e){return new ju(n,e)},this.backend)}return this.chain.handle(n)},n}(),Xu=function(){function n(){}var e;return e=n,n.disable=function(){return{ngModule:e,providers:[{provide:Yu,useClass:Vu}]}},n.withOptions=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[n.cookieName?{provide:Zu,useValue:n.cookieName}:[],n.headerName?{provide:Wu,useValue:n.headerName}:[]]}},n}(),Qu=function(){return function(){}}(),Ju=t("XlPw"),ns=t("VNr4"),es=t("S1nX");function ts(n){return Error('Unable to find icon with the name "'+n+'"')}function ls(n){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+n+'".')}function os(n){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+n+'".')}var rs=function(){return function(n){n.nodeName?this.svgElement=n:this.url=n}}(),is=function(){function n(n,e,t){this._httpClient=n,this._sanitizer=e,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=t}return n.prototype.addSvgIcon=function(n,e){return this.addSvgIconInNamespace("",n,e)},n.prototype.addSvgIconLiteral=function(n,e){return this.addSvgIconLiteralInNamespace("",n,e)},n.prototype.addSvgIconInNamespace=function(n,e,t){return this._addSvgIconConfig(n,e,new rs(t))},n.prototype.addSvgIconLiteralInNamespace=function(n,e,t){var l=this._sanitizer.sanitize(o.SecurityContext.HTML,t);if(!l)throw os(t);var r=this._createSvgElementForSingleIcon(l);return this._addSvgIconConfig(n,e,new rs(r))},n.prototype.addSvgIconSet=function(n){return this.addSvgIconSetInNamespace("",n)},n.prototype.addSvgIconSetLiteral=function(n){return this.addSvgIconSetLiteralInNamespace("",n)},n.prototype.addSvgIconSetInNamespace=function(n,e){return this._addSvgIconSetConfig(n,new rs(e))},n.prototype.addSvgIconSetLiteralInNamespace=function(n,e){var t=this._sanitizer.sanitize(o.SecurityContext.HTML,e);if(!t)throw os(e);var l=this._svgElementFromString(t);return this._addSvgIconSetConfig(n,new rs(l))},n.prototype.registerFontClassAlias=function(n,e){return void 0===e&&(e=n),this._fontCssClassesByAlias.set(n,e),this},n.prototype.classNameForFontAlias=function(n){return this._fontCssClassesByAlias.get(n)||n},n.prototype.setDefaultFontSetClass=function(n){return this._defaultFontSetClass=n,this},n.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},n.prototype.getSvgIconFromUrl=function(n){var e=this,t=this._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n);if(!t)throw ls(n);var l=this._cachedIconsByUrl.get(t);return l?Object(D.a)(as(l)):this._loadSvgIconFromConfig(new rs(n)).pipe(Object(X.a)(function(n){return e._cachedIconsByUrl.set(t,n)}),Object(P.a)(function(n){return as(n)}))},n.prototype.getNamedSvgIcon=function(n,e){void 0===e&&(e="");var t=us(e,n),l=this._svgIconConfigs.get(t);if(l)return this._getSvgFromConfig(l);var o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(n,o):Object(Ju.a)(ts(t))},n.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},n.prototype._getSvgFromConfig=function(n){return n.svgElement?Object(D.a)(as(n.svgElement)):this._loadSvgIconFromConfig(n).pipe(Object(X.a)(function(e){return n.svgElement=e}),Object(P.a)(function(n){return as(n)}))},n.prototype._getSvgFromIconSetConfigs=function(n,e){var t=this,l=this._extractIconWithNameFromAnySet(n,e);if(l)return Object(D.a)(l);var r=e.filter(function(n){return!n.svgElement}).map(function(n){return t._loadSvgIconSetFromConfig(n).pipe(Object(V.a)(function(e){var l=t._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n.url);return console.error("Loading icon set URL: "+l+" failed: "+e.message),Object(D.a)(null)}))});return Object(ns.a)(r).pipe(Object(P.a)(function(){var l=t._extractIconWithNameFromAnySet(n,e);if(!l)throw ts(n);return l}))},n.prototype._extractIconWithNameFromAnySet=function(n,e){for(var t=e.length-1;t>=0;t--){var l=e[t];if(l.svgElement){var o=this._extractSvgIconFromSet(l.svgElement,n);if(o)return o}}return null},n.prototype._loadSvgIconFromConfig=function(n){var e=this;return this._fetchUrl(n.url).pipe(Object(P.a)(function(n){return e._createSvgElementForSingleIcon(n)}))},n.prototype._loadSvgIconSetFromConfig=function(n){var e=this;return n.svgElement?Object(D.a)(n.svgElement):this._fetchUrl(n.url).pipe(Object(P.a)(function(t){return n.svgElement||(n.svgElement=e._svgElementFromString(t)),n.svgElement}))},n.prototype._createSvgElementForSingleIcon=function(n){var e=this._svgElementFromString(n);return this._setSvgAttributes(e),e},n.prototype._extractSvgIconFromSet=function(n,e){var t=n.querySelector('[id="'+e+'"]');if(!t)return null;var l=t.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l));var o=this._svgElementFromString("<svg></svg>");return o.appendChild(l),this._setSvgAttributes(o)},n.prototype._svgElementFromString=function(n){var e=this._document.createElement("DIV");e.innerHTML=n;var t=e.querySelector("svg");if(!t)throw Error("<svg> tag not found");return t},n.prototype._toSvgElement=function(n){for(var e=this._svgElementFromString("<svg></svg>"),t=0;t<n.childNodes.length;t++)n.childNodes[t].nodeType===this._document.ELEMENT_NODE&&e.appendChild(n.childNodes[t].cloneNode(!0));return e},n.prototype._setSvgAttributes=function(n){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),n},n.prototype._fetchUrl=function(n){var e=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==n)throw Error('Cannot fetch icon from URL "'+n+'".');var t=this._sanitizer.sanitize(o.SecurityContext.RESOURCE_URL,n);if(!t)throw ls(n);var l=this._inProgressUrlFetches.get(t);if(l)return l;var r=this._httpClient.get(t,{responseType:"text"}).pipe(Object(Q.a)(function(){return e._inProgressUrlFetches.delete(t)}),Object(es.a)());return this._inProgressUrlFetches.set(t,r),r},n.prototype._addSvgIconConfig=function(n,e,t){return this._svgIconConfigs.set(us(n,e),t),this},n.prototype._addSvgIconSetConfig=function(n,e){var t=this._iconSetConfigs.get(n);return t?t.push(e):this._iconSetConfigs.set(n,[e]),this},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(Pu,8),Object(o["\u0275\u0275inject"])(Jn),Object(o["\u0275\u0275inject"])(I.DOCUMENT,8))},token:n,providedIn:"root"}),n}();function as(n){return n.cloneNode(!0)}function us(n,e){return n+":"+e}var ss=Xo(function(){return function(n){this._elementRef=n}}()),ds=new o.InjectionToken("mat-icon-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(I.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),cs=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ps=cs.map(function(n){return"["+n+"]"}).join(", "),fs=/^url\(['"]?#(.*?)['"]?\)$/,hs=function(n){function e(e,t,l,o){var r=n.call(this,e)||this;return r._iconRegistry=t,r._location=o,r._inline=!1,l||e.nativeElement.setAttribute("aria-hidden","true"),r}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"inline",{get:function(){return this._inline},set:function(n){this._inline=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSet",{get:function(){return this._fontSet},set:function(n){this._fontSet=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(n){this._fontIcon=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),e.prototype._splitIconName=function(n){if(!n)return["",""];var e=n.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'+n+'"')}},e.prototype.ngOnChanges=function(n){var e=this,t=n.svgIcon;if(t)if(this.svgIcon){var l=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(l[1],l[0]).pipe(Object(Z.a)(1)).subscribe(function(n){return e._setSvgElement(n)},function(n){return console.log("Error retrieving icon: "+n.message)})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngAfterViewChecked=function(){var n=this._elementsWithExternalReferences;if(n&&this._location&&n.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}},e.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},e.prototype._usingFontIcon=function(){return!this.svgIcon},e.prototype._setSvgElement=function(n){this._clearSvgElement();for(var e=n.querySelectorAll("style"),t=0;t<e.length;t++)e[t].textContent+=" ";if(this._location){var l=this._location.getPathname();this._previousPath=l,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(l)}this._elementRef.nativeElement.appendChild(n)},e.prototype._clearSvgElement=function(){var n=this._elementRef.nativeElement,e=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var t=n.childNodes[e];1===t.nodeType&&"svg"!==t.nodeName.toLowerCase()||n.removeChild(t)}},e.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var n=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&n.classList.remove(this._previousFontSetClass),e&&n.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},e.prototype._cleanupFontValue=function(n){return"string"==typeof n?n.trim().split(" ")[0]:n},e.prototype._prependPathToReferences=function(n){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,t){e.forEach(function(e){t.setAttribute(e.name,"url('"+n+"#"+e.value+"')")})})},e.prototype._cacheChildrenWithExternalReferences=function(n){for(var e=n.querySelectorAll(ps),t=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,l=function(n){cs.forEach(function(l){var o=e[n],r=o.getAttribute(l),i=r?r.match(fs):null;if(i){var a=t.get(o);a||t.set(o,a=[]),a.push({name:l,value:i[1]})}})},o=0;o<e.length;o++)l(o)},e}(ss),ms=function(){return function(){}}(),vs=o["\u0275crt"]({encapsulation:2,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}"],data:{}});function gs(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0)],null,null)}function bs(){throw Error("Host already has a portal attached")}var _s=function(){function n(){}return n.prototype.attach=function(n){return null==n&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),n.hasAttached()&&bs(),this._attachedHost=n,n.attach(this)},n.prototype.detach=function(){var n=this._attachedHost;null==n?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,n.detach())},Object.defineProperty(n.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),n.prototype.setAttachedHost=function(n){this._attachedHost=n},n}(),ys=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r.component=e,r.viewContainerRef=t,r.injector=l,r.componentFactoryResolver=o,r}return Object(s.__extends)(e,n),e}(_s),ws=function(n){function e(e,t,l){var o=n.call(this)||this;return o.templateRef=e,o.viewContainerRef=t,o.context=l,o}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,t){return void 0===t&&(t=this.context),this.context=t,n.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,n.prototype.detach.call(this)},e}(_s),Cs=function(){function n(){this._isDisposed=!1}return n.prototype.hasAttached=function(){return!!this._attachedPortal},n.prototype.attach=function(n){return n||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&bs(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),n instanceof ys?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof ws?(this._attachedPortal=n,this.attachTemplatePortal(n)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},n.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},n.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},n.prototype.setDisposeFn=function(n){this._disposeFn=n},n.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},n}(),xs=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r.outletElement=e,r._componentFactoryResolver=t,r._appRef=l,r._defaultInjector=o,r}return Object(s.__extends)(e,n),e.prototype.attachComponentPortal=function(n){var e,t=this,l=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);return n.viewContainerRef?(e=n.viewContainerRef.createComponent(l,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=l.create(n.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){t._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(n){var e=this,t=n.viewContainerRef,l=t.createEmbeddedView(n.templateRef,n.context);return l.detectChanges(),l.rootNodes.forEach(function(n){return e.outletElement.appendChild(n)}),this.setDisposeFn(function(){var n=t.indexOf(l);-1!==n&&t.remove(n)}),l},e.prototype.dispose=function(){n.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(n){return n.hostView.rootNodes[0]},e}(Cs),Ss=function(n){function e(e,t){var l=n.call(this)||this;return l._componentFactoryResolver=e,l._viewContainerRef=t,l._isInitialized=!1,l.attached=new o.EventEmitter,l}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&n.prototype.detach.call(this),e&&n.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){n.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(l,t.length,e.injector||t.injector);return n.prototype.setDisposeFn.call(this,function(){return o.destroy()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o},e.prototype.attachTemplatePortal=function(e){var t=this;e.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return n.prototype.setDisposeFn.call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=l,this.attached.emit(l),l},e}(Cs),ks=function(){return function(){}}(),Es=function(){function n(n,e){this._parentInjector=n,this._customTokens=e}return n.prototype.get=function(n,e){var t=this._customTokens.get(n);return void 0!==t?t:this._parentInjector.get(n,e)},n}(),Ts=t("p0ib"),Rs=t("KQya"),Is=t("ny24"),Ds=t("vubp"),Os=t("bne5"),Fs=(t("tHPV"),t("ad02")),Ns=t("Rney"),Ms=t("qyHS"),As=t("klSw"),qs=function(){return function(){}}();function Ps(n){return n&&"function"==typeof n.connect}var js=function(){function n(n,e,t){var l=this;void 0===n&&(n=!1),void 0===t&&(t=!0),this._multiple=n,this._emitChanges=t,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new A.b,this.onChange=this.changed,e&&e.length&&(n?e.forEach(function(n){return l._markSelected(n)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),n.prototype.select=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._verifyValueAssignment(e),e.forEach(function(e){return n._markSelected(e)}),this._emitChangeEvent()},n.prototype.deselect=function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._verifyValueAssignment(e),e.forEach(function(e){return n._unmarkSelected(e)}),this._emitChangeEvent()},n.prototype.toggle=function(n){this.isSelected(n)?this.deselect(n):this.select(n)},n.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},n.prototype.isSelected=function(n){return this._selection.has(n)},n.prototype.isEmpty=function(){return 0===this._selection.size},n.prototype.hasValue=function(){return!this.isEmpty()},n.prototype.sort=function(n){this._multiple&&this.selected&&this._selected.sort(n)},n.prototype.isMultipleSelection=function(){return this._multiple},n.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=[])},n.prototype._markSelected=function(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))},n.prototype._unmarkSelected=function(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))},n.prototype._unmarkAll=function(){var n=this;this.isEmpty()||this._selection.forEach(function(e){return n._unmarkSelected(e)})},n.prototype._verifyValueAssignment=function(n){if(n.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},n}(),Ls=function(){function n(){this._listeners=[]}return n.prototype.notify=function(n,e){for(var t=0,l=this._listeners;t<l.length;t++)(0,l[t])(n,e)},n.prototype.listen=function(n){var e=this;return this._listeners.push(n),function(){e._listeners=e._listeners.filter(function(e){return n!==e})}},n.prototype.ngOnDestroy=function(){this._listeners=[]},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Vs=function(){function n(n,e){this._ngZone=n,this._platform=e,this._scrolled=new A.b,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return n.prototype.register=function(n){var e=this;this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(function(){return e._scrolled.next(n)}))},n.prototype.deregister=function(n){var e=this.scrollContainers.get(n);e&&(e.unsubscribe(),this.scrollContainers.delete(n))},n.prototype.scrolled=function(n){var e=this;return void 0===n&&(n=20),this._platform.isBrowser?new d.a(function(t){e._globalSubscription||e._addGlobalListener();var l=n>0?e._scrolled.pipe(Object(Ns.a)(n)).subscribe(t):e._scrolled.subscribe(t);return e._scrolledCount++,function(){l.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(D.a)()},n.prototype.ngOnDestroy=function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,t){return n.deregister(t)}),this._scrolled.complete()},n.prototype.ancestorScrolled=function(n,e){var t=this.getAncestorScrollContainers(n);return this.scrolled(e).pipe(Object(K.a)(function(n){return!n||t.indexOf(n)>-1}))},n.prototype.getAncestorScrollContainers=function(n){var e=this,t=[];return this.scrollContainers.forEach(function(l,o){e._scrollableContainsElement(o,n)&&t.push(o)}),t},n.prototype._scrollableContainsElement=function(n,e){var t=e.nativeElement,l=n.getElementRef().nativeElement;do{if(t==l)return!0}while(t=t.parentElement);return!1},n.prototype._addGlobalListener=function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Object(Os.a)(window.document,"scroll").subscribe(function(){return n._scrolled.next()})})},n.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(vo))},token:n,providedIn:"root"}),n}(),Bs=function(){return function(){}}(),zs=function(){function n(n,e){var t=this;this._platform=n,e.runOutsideAngular(function(){t._change=n.isBrowser?Object(Ts.a)(Object(Os.a)(window,"resize"),Object(Os.a)(window,"orientationchange")):Object(D.a)(),t._invalidateCache=t.change().subscribe(function(){return t._updateViewportSize()})})}return n.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},n.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n},n.prototype.getViewportRect=function(){var n=this.getViewportScrollPosition(),e=this.getViewportSize(),t=e.width,l=e.height;return{top:n.top,left:n.left,bottom:n.top+l,right:n.left+t,height:l,width:t}},n.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=document.documentElement,e=n.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||n.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||n.scrollLeft||0}},n.prototype.change=function(n){return void 0===n&&(n=20),n>0?this._change.pipe(Object(Ns.a)(n)):this._change},n.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(vo),Object(o["\u0275\u0275inject"])(o.NgZone))},token:n,providedIn:"root"}),n}(),Us=function(){function n(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return n.prototype.attach=function(){},n.prototype.enable=function(){if(this._canBeEnabled()){var n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=po(-this._previousScrollPosition.left),n.style.top=po(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},n.prototype.disable=function(){if(this._isEnabled){var n=this._document.documentElement,e=n.style,t=this._document.body.style,l=e.scrollBehavior||"",o=t.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=t.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=l,t.scrollBehavior=o}},n.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var n=this._document.body,e=this._viewportRuler.getViewportSize();return n.scrollHeight>e.height||n.scrollWidth>e.width},n}();function Hs(){return Error("Scroll strategy has already been attached.")}var Zs=function(){function n(n,e,t,l){var o=this;this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=l,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return n.prototype.attach=function(n){if(this._overlayRef)throw Hs();this._overlayRef=n},n.prototype.enable=function(){var n=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=n._viewportRuler.getViewportScrollPosition().top;Math.abs(e-n._initialScrollPosition)>n._config.threshold?n._detach():n._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),Ws=function(){function n(){}return n.prototype.enable=function(){},n.prototype.disable=function(){},n.prototype.attach=function(){},n}();function Gs(n,e){return e.some(function(e){return n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right})}function Ks(n,e){return e.some(function(e){return n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right})}var Ys=function(){function n(n,e,t,l){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=l,this._scrollSubscription=null}return n.prototype.attach=function(n){if(this._overlayRef)throw Hs();this._overlayRef=n},n.prototype.enable=function(){var n=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(n._overlayRef.updatePosition(),n._config&&n._config.autoClose){var e=n._overlayRef.overlayElement.getBoundingClientRect(),t=n._viewportRuler.getViewportSize(),l=t.width,o=t.height;Gs(e,[{width:l,height:o,bottom:o,right:l,top:0,left:0}])&&(n.disable(),n._ngZone.run(function(){return n._overlayRef.detach()}))}}))},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),$s=function(){function n(n,e,t,l){var o=this;this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this.noop=function(){return new Ws},this.close=function(n){return new Zs(o._scrollDispatcher,o._ngZone,o._viewportRuler,n)},this.block=function(){return new Us(o._viewportRuler,o._document)},this.reposition=function(n){return new Ys(o._scrollDispatcher,o._viewportRuler,o._ngZone,n)},this._document=l}return n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(Vs),Object(o["\u0275\u0275inject"])(zs),Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),Xs=function(){return function(n){if(this.scrollStrategy=new Ws,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n)for(var e=0,t=Object.keys(n);e<t.length;e++){var l=t[e];void 0!==n[l]&&(this[l]=n[l])}}}(),Qs=function(){return function(n,e,t,l,o){this.offsetX=t,this.offsetY=l,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),Js=function(){return function(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}();function nd(n,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "top", "bottom" or "center".')}function ed(n,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+n+' "'+e+'". Expected "start", "end" or "center".')}var td=function(){function n(n){var e=this;this._attachedOverlays=[],this._keydownListener=function(n){for(var t=e._attachedOverlays,l=t.length-1;l>-1;l--)if(t[l]._keydownEventSubscriptions>0){t[l]._keydownEvents.next(n);break}},this._document=n}return n.prototype.ngOnDestroy=function(){this._detach()},n.prototype.add=function(n){this.remove(n),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(n)},n.prototype.remove=function(n){var e=this._attachedOverlays.indexOf(n);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},n.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),ld=function(){function n(n){this._document=n}return n.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},n.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},n.prototype._createContainer=function(){var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),this._document.body.appendChild(n),this._containerElement=n},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(I.DOCUMENT))},token:n,providedIn:"root"}),n}(),od=function(){function n(n,e,t,l,o,r,i,a){var u=this;this._portalOutlet=n,this._host=e,this._pane=t,this._config=l,this._ngZone=o,this._keyboardDispatcher=r,this._document=i,this._location=a,this._backdropElement=null,this._backdropClick=new A.b,this._attachments=new A.b,this._detachments=new A.b,this._locationChanges=wo.a.EMPTY,this._backdropClickHandler=function(n){return u._backdropClick.next(n)},this._keydownEventsObservable=new d.a(function(n){var e=u._keydownEvents.subscribe(n);return u._keydownEventSubscriptions++,function(){e.unsubscribe(),u._keydownEventSubscriptions--}}),this._keydownEvents=new A.b,this._keydownEventSubscriptions=0,l.scrollStrategy&&(this._scrollStrategy=l.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=l.positionStrategy}return Object.defineProperty(n.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var e=this,t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(Z.a)(1)).subscribe(function(){e.hasAttached()&&e.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 e.dispose()})),t},n.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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),n}},n.prototype.dispose=function(){var n=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,n&&this._detachments.next(),this._detachments.complete()},n.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},n.prototype.backdropClick=function(){return this._backdropClick.asObservable()},n.prototype.attachments=function(){return this._attachments.asObservable()},n.prototype.detachments=function(){return this._detachments.asObservable()},n.prototype.keydownEvents=function(){return this._keydownEventsObservable},n.prototype.getConfig=function(){return this._config},n.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},n.prototype.updatePositionStrategy=function(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))},n.prototype.updateSize=function(n){this._config=Object(s.__assign)({},this._config,n),this._updateElementSize()},n.prototype.setDirection=function(n){this._config=Object(s.__assign)({},this._config,{direction:n}),this._updateElementDirection()},n.prototype.addPanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!0)},n.prototype.removePanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!1)},n.prototype.getDirection=function(){var n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"},n.prototype.updateScrollStrategy=function(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))},n.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},n.prototype._updateElementSize=function(){var n=this._pane.style;n.width=po(this._config.width),n.height=po(this._config.height),n.minWidth=po(this._config.minWidth),n.minHeight=po(this._config.minHeight),n.maxWidth=po(this._config.maxWidth),n.maxHeight=po(this._config.maxHeight)},n.prototype._togglePointerEvents=function(n){this._pane.style.pointerEvents=n?"auto":"none"},n.prototype._attachBackdrop=function(){var n=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(){n._backdropElement&&n._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},n.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},n.prototype.detachBackdrop=function(){var n=this,e=this._backdropElement;if(e){var t,l=function(){e&&(e.removeEventListener("click",n._backdropClickHandler),e.removeEventListener("transitionend",l),e.parentNode&&e.parentNode.removeChild(e)),n._backdropElement==e&&(n._backdropElement=null),n._config.backdropClass&&n._toggleClasses(e,n._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",l)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(function(){return setTimeout(l,500)})}},n.prototype._toggleClasses=function(n,e,t){var l=n.classList;co(e).forEach(function(n){t?l.add(n):l.remove(n)})},n.prototype._detachContentWhenStable=function(){var n=this;this._ngZone.runOutsideAngular(function(){var e=n._ngZone.onStable.asObservable().pipe(Object(Is.a)(Object(Ts.a)(n._attachments,n._detachments))).subscribe(function(){n._pane&&n._host&&0!==n._pane.children.length||(n._pane&&n._config.panelClass&&n._toggleClasses(n._pane,n._config.panelClass,!1),n._host&&n._host.parentElement&&(n._previousHostParent=n._host.parentElement,n._previousHostParent.removeChild(n._host)),e.unsubscribe())})})},n.prototype._disposeScrollStrategy=function(){var n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())},n}(),rd=function(){function n(n,e,t,l,o){this._viewportRuler=e,this._document=t,this._platform=l,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new A.b,this._resizeSubscription=wo.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(n)}return Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var e=this;if(this._overlayRef&&n!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),n.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},n.prototype.apply=function(){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();for(var n,e=this._originRect,t=this._overlayRect,l=this._viewportRect,o=[],r=0,i=this._preferredPositions;r<i.length;r++){var a=i[r],u=this._getOriginPoint(e,a),s=this._getOverlayPoint(u,t,a),d=this._getOverlayFit(s,t,l,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,u);this._canFitWithFlexibleDimensions(d,s,l)?o.push({position:a,origin:u,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(u,a)}):(!n||n.overlayFit.visibleArea<d.visibleArea)&&(n={overlayFit:d,overlayPoint:s,originPoint:u,position:a,overlayRect:t})}if(o.length){for(var c=null,p=-1,f=0,h=o;f<h.length;f++){var m=h[f],v=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);v>p&&(p=v,c=m)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(n.position,n.originPoint);this._applyPosition(n.position,n.originPoint)}},n.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},n.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&id(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)},n.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 n=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,n);this._applyPosition(n,e)}},n.prototype.withScrollableContainers=function(n){return this._scrollables=n,this},n.prototype.withPositions=function(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},n.prototype.withViewportMargin=function(n){return this._viewportMargin=n,this},n.prototype.withFlexibleDimensions=function(n){return void 0===n&&(n=!0),this._hasFlexibleDimensions=n,this},n.prototype.withGrowAfterOpen=function(n){return void 0===n&&(n=!0),this._growAfterOpen=n,this},n.prototype.withPush=function(n){return void 0===n&&(n=!0),this._canPush=n,this},n.prototype.withLockedPosition=function(n){return void 0===n&&(n=!0),this._positionLocked=n,this},n.prototype.setOrigin=function(n){return this._origin=n,this},n.prototype.withDefaultOffsetX=function(n){return this._offsetX=n,this},n.prototype.withDefaultOffsetY=function(n){return this._offsetY=n,this},n.prototype.withTransformOriginOn=function(n){return this._transformOriginSelector=n,this},n.prototype._getOriginPoint=function(n,e){var t;if("center"==e.originX)t=n.left+n.width/2;else{var l=this._isRtl()?n.right:n.left,o=this._isRtl()?n.left:n.right;t="start"==e.originX?l:o}return{x:t,y:"center"==e.originY?n.top+n.height/2:"top"==e.originY?n.top:n.bottom}},n.prototype._getOverlayPoint=function(n,e,t){var l;return l="center"==t.overlayX?-e.width/2:"start"===t.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:n.x+l,y:n.y+("center"==t.overlayY?-e.height/2:"top"==t.overlayY?0:-e.height)}},n.prototype._getOverlayFit=function(n,e,t,l){var o=n.x,r=n.y,i=this._getOffset(l,"x"),a=this._getOffset(l,"y");i&&(o+=i),a&&(r+=a);var u=0-r,s=r+e.height-t.height,d=this._subtractOverflows(e.width,0-o,o+e.width-t.width),c=this._subtractOverflows(e.height,u,s),p=d*c;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:c===e.height,fitsInViewportHorizontally:d==e.width}},n.prototype._canFitWithFlexibleDimensions=function(n,e,t){if(this._hasFlexibleDimensions){var l=t.bottom-e.y,o=t.right-e.x,r=this._overlayRef.getConfig().minHeight,i=this._overlayRef.getConfig().minWidth;return(n.fitsInViewportVertically||null!=r&&r<=l)&&(n.fitsInViewportHorizontally||null!=i&&i<=o)}},n.prototype._pushOverlayOnScreen=function(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};var l,o,r=this._viewportRect,i=Math.max(n.x+e.width-r.right,0),a=Math.max(n.y+e.height-r.bottom,0),u=Math.max(r.top-t.top-n.y,0),s=Math.max(r.left-t.left-n.x,0);return this._previousPushAmount={x:l=e.width<=r.width?s||-i:n.x<this._viewportMargin?r.left-t.left-n.x:0,y:o=e.height<=r.height?u||-a:n.y<this._viewportMargin?r.top-t.top-n.y:0},{x:n.x+l,y:n.y+o}},n.prototype._applyPosition=function(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){var t=this._getScrollVisibility(),l=new Js(n,t);this._positionChanges.next(l)}this._isInitialRender=!1},n.prototype._setTransformOrigin=function(n){if(this._transformOriginSelector){var e,t=this._boundingBox.querySelectorAll(this._transformOriginSelector),l=n.overlayY;e="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(var o=0;o<t.length;o++)t[o].style.transformOrigin=e+" "+l}},n.prototype._calculateBoundingBoxRect=function(n,e){var t,l,o,r,i,a,u=this._viewportRect,s=this._isRtl();if("top"===e.overlayY)t=u.height-(l=n.y)+this._viewportMargin;else if("bottom"===e.overlayY)t=u.height-(o=u.height-n.y+2*this._viewportMargin)+this._viewportMargin;else{var d=Math.min(u.bottom-n.y+u.top,n.y),c=this._lastBoundingBoxSize.height;l=n.y-d,(t=2*d)>c&&!this._isInitialRender&&!this._growAfterOpen&&(l=n.y-c/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)a=u.width-n.x+this._viewportMargin,r=n.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)i=n.x,r=u.right-n.x;else{d=Math.min(u.right-n.x+u.left,n.x);var p=this._lastBoundingBoxSize.width;i=n.x-d,(r=2*d)>p&&!this._isInitialRender&&!this._growAfterOpen&&(i=n.x-p/2)}return{top:l,left:i,bottom:o,right:a,width:r,height:t}},n.prototype._setBoundingBoxStyles=function(n,e){var t=this._calculateBoundingBoxRect(n,e);this._isInitialRender||this._growAfterOpen||(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));var l={};if(this._hasExactPosition())l.top=l.left="0",l.bottom=l.right="",l.width=l.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;l.height=po(t.height),l.top=po(t.top),l.bottom=po(t.bottom),l.width=po(t.width),l.left=po(t.left),l.right=po(t.right),l.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",l.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(l.maxHeight=po(o)),r&&(l.maxWidth=po(r))}this._lastBoundingBoxSize=t,id(this._boundingBox.style,l)},n.prototype._resetBoundingBoxStyles=function(){id(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},n.prototype._resetOverlayElementStyles=function(){id(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},n.prototype._setOverlayElementStyles=function(n,e){var t={};if(this._hasExactPosition()){var l=this._viewportRuler.getViewportScrollPosition();id(t,this._getExactOverlayY(e,n,l)),id(t,this._getExactOverlayX(e,n,l))}else t.position="static";var o="",r=this._getOffset(e,"x"),i=this._getOffset(e,"y");r&&(o+="translateX("+r+"px) "),i&&(o+="translateY("+i+"px)"),t.transform=o.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(t.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(t.maxWidth=""),id(this._pane.style,t)},n.prototype._getExactOverlayY=function(n,e,t){var l={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));var r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=r,"bottom"===n.overlayY?l.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":l.top=po(o.y),l},n.prototype._getExactOverlayX=function(n,e,t){var l={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),"right"==(this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left")?l.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":l.left=po(o.x),l},n.prototype._getScrollVisibility=function(){var n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(function(n){return n.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Ks(n,t),isOriginOutsideView:Gs(n,t),isOverlayClipped:Ks(e,t),isOverlayOutsideView:Gs(e,t)}},n.prototype._subtractOverflows=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce(function(n,e){return n-Math.max(e,0)},n)},n.prototype._getNarrowedViewportRect=function(){var n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}},n.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},n.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},n.prototype._getOffset=function(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY},n.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(n){ed("originX",n.originX),nd("originY",n.originY),ed("overlayX",n.overlayX),nd("overlayY",n.overlayY)})},n.prototype._addPanelClasses=function(n){var e=this;this._pane&&co(n).forEach(function(n){""!==n&&-1===e._appliedPanelClasses.indexOf(n)&&(e._appliedPanelClasses.push(n),e._pane.classList.add(n))})},n.prototype._clearPanelClasses=function(){var n=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){n._pane.classList.remove(e)}),this._appliedPanelClasses=[])},n.prototype._getOriginRect=function(){var n=this._origin;return n instanceof o.ElementRef?n.nativeElement.getBoundingClientRect():n instanceof HTMLElement?n.getBoundingClientRect():{top:n.y,bottom:n.y,left:n.x,right:n.x,height:0,width:0}},n}();function id(n,e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}var ad=function(){function n(n,e,t,l,o,r,i){this._preferredPositions=[],this._positionStrategy=new rd(t,l,o,r,i).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(n,e)}return Object.defineProperty(n.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){this._overlayRef=n,this._positionStrategy.attach(n),this._direction&&(n.setDirection(this._direction),this._direction=null)},n.prototype.dispose=function(){this._positionStrategy.dispose()},n.prototype.detach=function(){this._positionStrategy.detach()},n.prototype.apply=function(){this._positionStrategy.apply()},n.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},n.prototype.withScrollableContainers=function(n){this._positionStrategy.withScrollableContainers(n)},n.prototype.withFallbackPosition=function(n,e,t,l){var o=new Qs(n,e,t,l);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.withDirection=function(n){return this._overlayRef?this._overlayRef.setDirection(n):this._direction=n,this},n.prototype.withOffsetX=function(n){return this._positionStrategy.withDefaultOffsetX(n),this},n.prototype.withOffsetY=function(n){return this._positionStrategy.withDefaultOffsetY(n),this},n.prototype.withLockedPosition=function(n){return this._positionStrategy.withLockedPosition(n),this},n.prototype.withPositions=function(n){return this._preferredPositions=n.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.setOrigin=function(n){return this._positionStrategy.setOrigin(n),this},n}(),ud=function(){function n(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return n.prototype.attach=function(n){var e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},n.prototype.top=function(n){return void 0===n&&(n=""),this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this},n.prototype.left=function(n){return void 0===n&&(n=""),this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this},n.prototype.bottom=function(n){return void 0===n&&(n=""),this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this},n.prototype.right=function(n){return void 0===n&&(n=""),this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this},n.prototype.width=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this},n.prototype.height=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this},n.prototype.centerHorizontally=function(n){return void 0===n&&(n=""),this.left(n),this._justifyContent="center",this},n.prototype.centerVertically=function(n){return void 0===n&&(n=""),this.top(n),this._alignItems="center",this},n.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig();n.position=this._cssPosition,n.marginLeft="100%"===t.width?"0":this._leftOffset,n.marginTop="100%"===t.height?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,"100%"===t.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===t.height?"flex-start":this._alignItems}},n.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove("cdk-global-overlay-wrapper"),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},n}(),sd=function(){function n(n,e,t,l){this._viewportRuler=n,this._document=e,this._platform=t,this._overlayContainer=l}return n.prototype.global=function(){return new ud},n.prototype.connectedTo=function(n,e,t){return new ad(e,t,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.prototype.flexibleConnectedTo=function(n){return new rd(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(zs),Object(o["\u0275\u0275inject"])(I.DOCUMENT),Object(o["\u0275\u0275inject"])(vo),Object(o["\u0275\u0275inject"])(ld))},token:n,providedIn:"root"}),n}(),dd=0,cd=function(){function n(n,e,t,l,o,r,i,a,u,s){this.scrollStrategies=n,this._overlayContainer=e,this._componentFactoryResolver=t,this._positionBuilder=l,this._keyboardDispatcher=o,this._injector=r,this._ngZone=i,this._document=a,this._directionality=u,this._location=s}return n.prototype.create=function(n){var e=this._createHostElement(),t=this._createPaneElement(e),l=this._createPortalOutlet(t),o=new Xs(n);return o.direction=o.direction||this._directionality.value,new od(l,e,t,o,this._ngZone,this._keyboardDispatcher,this._document,this._location)},n.prototype.position=function(){return this._positionBuilder},n.prototype._createPaneElement=function(n){var e=this._document.createElement("div");return e.id="cdk-overlay-"+dd++,e.classList.add("cdk-overlay-pane"),n.appendChild(e),e},n.prototype._createHostElement=function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n},n.prototype._createPortalOutlet=function(n){return this._appRef||(this._appRef=this._injector.get(o.ApplicationRef)),new xs(n,this._componentFactoryResolver,this._appRef,this._injector)},n}(),pd=[{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"}],fd=new o.InjectionToken("cdk-connected-overlay-scroll-strategy"),hd=function(){return function(n){this.elementRef=n}}(),md=function(){function n(n,e,t,l,r){this._overlay=n,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=wo.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.attach=new o.EventEmitter,this.detach=new o.EventEmitter,this.overlayKeydown=new o.EventEmitter,this._templatePortal=new ws(e,t),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(n.prototype,"offsetX",{get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"offsetY",{get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(n){this._lockPosition=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"push",{get:function(){return this._push},set:function(n){this._push=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},n.prototype.ngOnChanges=function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())},n.prototype._createOverlay=function(){var n=this;this.positions&&this.positions.length||(this.positions=pd),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(e){n.overlayKeydown.next(e),e.keyCode!==Co||xo(e)||(e.preventDefault(),n._detachOverlay())})},n.prototype._buildConfig=function(){var n=this._position=this._createPositionStrategy(),e=new Xs({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e},n.prototype._updatePositionStrategy=function(n){var e=this,t=this.positions.map(function(n){return{originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||e.offsetX,offsetY:n.offsetY||e.offsetY,panelClass:n.panelClass||void 0}});return n.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},n.prototype._createPositionStrategy=function(){var n=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(function(e){return n.positionChange.emit(e)}),e},n.prototype._attachOverlay=function(){var n=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(e){n.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe()},n.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},n}();function vd(n){return function(){return n.scrollStrategies.reposition()}}var gd=function(){return function(){}}(),bd=new o.InjectionToken("MAT_MENU_PANEL"),_d=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r._elementRef=e,r._focusMonitor=l,r._parentMenu=o,r.role="menuitem",r._hovered=new A.b,r._highlighted=!1,r._triggersSubmenu=!1,l&&l.monitor(r._elementRef,!1),o&&o.addItem&&o.addItem(r),r._document=t,r}return Object(s.__extends)(e,n),e.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),n):this._getHostElement().focus()},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(n){this.disabled&&(n.preventDefault(),n.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var n=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,t="";if(n.childNodes)for(var l=n.childNodes.length,o=0;o<l;o++)n.childNodes[o].nodeType===e&&(t+=n.childNodes[o].textContent);return t.trim()},e}(Qo($o(function(){return function(){}}()))),yd=new o.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),wd=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(function(){function n(n,e,t){this._elementRef=n,this._ngZone=e,this._defaultOptions=t,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.QueryList,this._tabSubscription=wo.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new A.b,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.EventEmitter,this.close=this.closed}return Object.defineProperty(n.prototype,"xPosition",{get:function(){return this._xPosition},set:function(n){"before"!==n&&"after"!==n&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"yPosition",{get:function(){return this._yPosition},set:function(n){"above"!==n&&"below"!==n&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(n){this._overlapTrigger=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"panelClass",{set:function(n){var e=this,t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(function(n){e._classList[n]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(function(n){e._classList[n]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classList",{get:function(){return this.panelClass},set:function(n){this.panelClass=n},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this.setPositionClasses()},n.prototype.ngAfterContentInit=function(){var n=this;this._updateDirectDescendants(),this._keyManager=new Fo(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return n.closed.emit("tab")})},n.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},n.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(W.a)(this._directDescendantItems),Object(H.a)(function(n){return Ts.a.apply(void 0,n.map(function(n){return n._hovered}))}))},n.prototype.addItem=function(n){},n.prototype.removeItem=function(n){},n.prototype._handleKeydown=function(n){var e=n.keyCode,t=this._keyManager;switch(e){case Co:xo(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:xo(n)||(36===e?t.setFirstItemActive():t.setLastItemActive(),n.preventDefault());break;default:38!==e&&40!==e||t.setFocusOrigin("keyboard"),t.onKeydown(n)}},n.prototype.focusFirstItem=function(n){var e=this;void 0===n&&(n="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(Z.a)(1)).subscribe(function(){return e._keyManager.setFocusOrigin(n).setFirstItemActive()}):this._keyManager.setFocusOrigin(n).setFirstItemActive()},n.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},n.prototype.setElevation=function(n){var e="mat-elevation-z"+(4+n),t=Object.keys(this._classList).find(function(n){return n.startsWith("mat-elevation-z")});t&&t!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},n.prototype.setPositionClasses=function(n,e){void 0===n&&(n=this.xPosition),void 0===e&&(e=this.yPosition);var t=this._classList;t["mat-menu-before"]="before"===n,t["mat-menu-after"]="after"===n,t["mat-menu-above"]="above"===e,t["mat-menu-below"]="below"===e},n.prototype._startAnimation=function(){this._panelAnimationState="enter"},n.prototype._resetAnimation=function(){this._panelAnimationState="void"},n.prototype._onAnimationDone=function(n){this._animationDone.next(n),this._isAnimating=!1},n.prototype._onAnimationStart=function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)},n.prototype._updateDirectDescendants=function(){var n=this;this._allItems.changes.pipe(Object(W.a)(this._allItems)).subscribe(function(e){n._directDescendantItems.reset(e.filter(function(e){return e._parentMenu===n})),n._directDescendantItems.notifyOnChanges()})},n}()),Cd=function(n){function e(e,t,l){return n.call(this,e,t,l)||this}return Object(s.__extends)(e,n),e}(wd),xd=new o.InjectionToken("mat-menu-scroll-strategy");function Sd(n){return function(){return n.scrollStrategies.reposition()}}var kd=yo({passive:!0}),Ed=function(){function n(n,e,t,l,r,i,a,u){var s=this;this._overlay=n,this._element=e,this._viewContainerRef=t,this._parentMenu=r,this._menuItemInstance=i,this._dir=a,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=wo.a.EMPTY,this._hoverSubscription=wo.a.EMPTY,this._menuCloseSubscription=wo.a.EMPTY,this._handleTouchStart=function(){return s._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.EventEmitter,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,kd),i&&(i._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=l}return Object.defineProperty(n.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(n){this.menu=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"menu",{get:function(){return this._menu},set:function(n){var e=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.asObservable().subscribe(function(n){e._destroyMenu(),"click"!==n&&"tab"!==n||!e._parentMenu||e._parentMenu.closed.emit(n)})))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},n.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,kd),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(n.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),n.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},n.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},n.prototype.openMenu=function(){var n=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return n.closeMenu()}),this._initMenu(),this.menu instanceof wd&&this.menu._startAnimation()}},n.prototype.closeMenu=function(){this.menu.close.emit()},n.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,n):this._element.nativeElement.focus()},n.prototype._destroyMenu=function(){var n=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof wd?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(K.a)(function(n){return"void"===n.toState}),Object(Z.a)(1),Object(Is.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return n._resetMenu()}}):this._resetMenu()):(this._resetMenu(),e.lazyContent&&e.lazyContent.detach())}},n.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},n.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var n=0,e=this.menu.parentMenu;e;)n++,e=e.parentMenu;this.menu.setElevation(n)}},n.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},n.prototype._setIsMenuOpen=function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=n)},n.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()},n.prototype._createOverlay=function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},n.prototype._getOverlayConfig=function(){return new Xs({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},n.prototype._subscribeToPositions=function(n){var e=this;this.menu.setPositionClasses&&n.positionChanges.subscribe(function(n){e.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")})},n.prototype._setPosition=function(n){var e="before"===this.menu.xPosition?["end","start"]:["start","end"],t=e[0],l=e[1],o="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],r=o[0],i=o[1],a=[r,i],u=a[0],s=a[1],d=[t,l],c=d[0],p=d[1],f=0;this.triggersSubmenu()?(p=t="before"===this.menu.xPosition?"start":"end",l=c="end"===t?"start":"end",f="bottom"===r?8:-8):this.menu.overlapTrigger||(u="top"===r?"bottom":"top",s="top"===i?"bottom":"top"),n.withPositions([{originX:t,originY:u,overlayX:c,overlayY:r,offsetY:f},{originX:l,originY:u,overlayX:p,overlayY:r,offsetY:f},{originX:t,originY:s,overlayX:c,overlayY:i,offsetY:-f},{originX:l,originY:s,overlayX:p,overlayY:i,offsetY:-f}])},n.prototype._menuClosingActions=function(){var n=this,e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),l=this._parentMenu?this._parentMenu.closed:Object(D.a)(),o=this._parentMenu?this._parentMenu._hovered().pipe(Object(K.a)(function(e){return e!==n._menuItemInstance}),Object(K.a)(function(){return n._menuOpen})):Object(D.a)();return Object(Ts.a)(e,l,o,t)},n.prototype._handleMousedown=function(n){Zo(n)||(this._openedBy=0===n.button?"mouse":null,this.triggersSubmenu()&&n.preventDefault())},n.prototype._handleKeydown=function(n){var e=n.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()},n.prototype._handleClick=function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()},n.prototype._handleHover=function(){var n=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(K.a)(function(e){return e===n._menuItemInstance&&!e.disabled}),Object(Ds.a)(0,Rs.a)).subscribe(function(){n._openedBy="mouse",n.menu instanceof wd&&n.menu._isAnimating?n.menu._animationDone.pipe(Object(Z.a)(1),Object(Ds.a)(0,Rs.a),Object(Is.a)(n._parentMenu._hovered())).subscribe(function(){return n.openMenu()}):n.openMenu()}))},n.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new ws(this.menu.templateRef,this._viewContainerRef)),this._portal},n}(),Td=function(){return function(){}}(),Rd=function(){return function(){}}(),Id=o["\u0275crt"]({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;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}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Dd(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(n,e,t){var l=!0,o=n.component;return"keydown"===e&&(l=!1!==o._handleKeydown(t)&&l),"click"===e&&(l=!1!==o.closed.emit("click")&&l),"@transformMenu.start"===e&&(l=!1!==o._onAnimationStart(t)&&l),"@transformMenu.done"===e&&(l=!1!==o._onAnimationDone(t)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),o["\u0275eld"](3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),o["\u0275ncd"](null,0)],function(n,e){n(e,2,0,"mat-menu-panel",e.component._classList)},function(n,e){n(e,0,0,e.component._panelAnimationState)})}function Od(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{templateRef:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,Dd))],null,null)}var Fd=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Nd(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](2,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(n,e){var t=e.component;n(e,2,0,t.disableRipple||t.disabled,t._getHostElement())},function(n,e){n(e,1,0,o["\u0275nov"](e,2).unbounded)})}var Md=100,Ad=Xo(function(){return function(n){this._elementRef=n}}(),"primary"),qd=new o.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:Md}}}),Pd=function(n){function e(e,t,l,o,r){var i=n.call(this,e,t,l,o,r)||this;return i.mode="indeterminate",i}return Object(s.__extends)(e,n),e}(function(n){function e(t,l,o,r,i){var a=n.call(this,t)||this;a._elementRef=t,a._document=o,a._diameter=Md,a._value=0,a._fallbackAnimation=!1,a.mode="determinate";var u=e._diameters;return u.has(o.head)||u.set(o.head,new Set([Md])),a._styleRoot=function(n,e){if("undefined"!=typeof window){var t=e.head;if(t&&(t.createShadowRoot||t.attachShadow)){var l=n.getRootNode?n.getRootNode():null;if(l instanceof window.ShadowRoot)return l}}return null}(t.nativeElement,o)||o.head,a._fallbackAnimation=l.EDGE||l.TRIDENT,a._noopAnimations="NoopAnimations"===r&&!!i&&!i._forceAnimations,i&&(i.diameter&&(a.diameter=i.diameter),i.strokeWidth&&(a.strokeWidth=i.strokeWidth)),t.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(a._fallbackAnimation?"-fallback":"")+"-animation"),a}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(n){if(this._diameter=so(n),!this._fallbackAnimation){var t=e._diameters.get(this._styleRoot);t&&t.has(this._diameter)||this._attachStyleNode()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(n){this._strokeWidth=so(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(n){this._value=Math.max(0,Math.min(100,so(n)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var n=2*this._circleRadius+this.strokeWidth;return"0 0 "+n+" "+n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var n=this._document.createElement("style"),t=this._styleRoot,l=this._diameter,o=e._diameters,r=o.get(t);n.setAttribute("mat-spinner-animation",l+""),n.textContent=this._getAnimationText(),t.appendChild(n),r||(r=new Set,o.set(t,r)),r.add(l)},e.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)},e._diameters=new WeakMap,e}(Ad)),jd=function(){return function(){}}(),Ld=o["\u0275crt"]({encapsulation:2,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 2s 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:4s;animation-timing-function:cubic-bezier(.35,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 10s cubic-bezier(.87,.03,.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(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function Vd(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t._circleRadius,"mat-progress-spinner-stroke-rotate-"+t.diameter,t._strokeDashOffset,t._strokeCircumference,t._circleStrokeWidth)})}function Bd(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t._circleRadius,t._strokeDashOffset,t._strokeCircumference,t._circleStrokeWidth)})}function zd(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Vd)),o["\u0275did"](3,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Bd)),o["\u0275did"](5,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(n,e){n(e,1,0,"indeterminate"===e.component.mode),n(e,3,0,!0),n(e,5,0,!1)},function(n,e){var t=e.component;n(e,0,0,t.diameter,t.diameter,t._viewBox)})}var Ud,Hd=t("dEwP"),Zd=t("0mNj"),Wd=new Set,Gd=function(){function n(n){this._platform=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Kd}return n.prototype.matchMedia=function(n){return this._platform.WEBKIT&&function(n){if(!Wd.has(n))try{Ud||((Ud=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Ud)),Ud.sheet&&(Ud.sheet.insertRule("@media "+n+" {.fx-query-test{ }}",0),Wd.add(n))}catch(e){console.error(e)}}(n),this._matchMedia(n)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(vo))},token:n,providedIn:"root"}),n}();function Kd(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var Yd=function(){function n(n,e){this._mediaMatcher=n,this._zone=e,this._queries=new Map,this._destroySubject=new A.b}return n.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},n.prototype.isMatched=function(n){var e=this;return $d(co(n)).some(function(n){return e._registerQuery(n).mql.matches})},n.prototype.observe=function(n){var e=this,t=$d(co(n)).map(function(n){return e._registerQuery(n).observable}),l=Object(N.b)(t);return(l=Object(Hd.a)(l.pipe(Object(Z.a)(1)),l.pipe(Object(Zd.a)(1),Object(So.a)(0)))).pipe(Object(P.a)(function(n){var e={matches:!1,breakpoints:{}};return n.forEach(function(n){e.matches=e.matches||n.matches,e.breakpoints[n.query]=n.matches}),e}))},n.prototype._registerQuery=function(n){var e=this;if(this._queries.has(n))return this._queries.get(n);var t=this._mediaMatcher.matchMedia(n),l={observable:new d.a(function(n){var l=function(t){return e._zone.run(function(){return n.next(t)})};return t.addListener(l),function(){t.removeListener(l)}}).pipe(Object(W.a)(t),Object(P.a)(function(e){return{query:n,matches:e.matches}}),Object(Is.a)(this._destroySubject)),mql:t};return this._queries.set(n,l),l},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(Gd),Object(o["\u0275\u0275inject"])(o.NgZone))},token:n,providedIn:"root"}),n}();function $d(n){return n.map(function(n){return n.split(",")}).reduce(function(n,e){return n.concat(e)}).map(function(n){return n.trim()})}var Xd={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},Qd=20;function Jd(n){return Error('Tooltip position "'+n+'" is invalid.')}var nc=new o.InjectionToken("mat-tooltip-scroll-strategy");function ec(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:Qd})}}var tc=new o.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),lc=function(){function n(n,e,t,l,o,r,i,a,u,s,d,c){var p=this;this._overlay=n,this._elementRef=e,this._scrollDispatcher=t,this._viewContainerRef=l,this._ngZone=o,this._ariaDescriber=i,this._focusMonitor=a,this._dir=s,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new A.b,this._scrollStrategy=u;var f=e.nativeElement,h="undefined"==typeof window||window.Hammer||c;r.IOS||r.ANDROID?h||this._manualListeners.set("touchstart",function(){return p.show()}):this._manualListeners.set("mouseenter",function(){return p.show()}).set("mouseleave",function(){return p.hide()}),this._manualListeners.forEach(function(n,e){return f.addEventListener(e,n)}),a.monitor(e).pipe(Object(Is.a)(this._destroyed)).subscribe(function(n){n?"keyboard"===n&&o.run(function(){return p.show()}):o.run(function(){return p.hide(0)})}),d&&d.position&&(this.position=d.position)}return Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=uo(n),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},set:function(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=n?(""+n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this._elementRef.nativeElement,e=n.style;"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),n.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},n.prototype.ngOnDestroy=function(){var n=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach(function(e,t){n._elementRef.nativeElement.removeEventListener(t,e)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},n.prototype.show=function(n){var e=this;if(void 0===n&&(n=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var t=this._createOverlay();this._detach(),this._portal=this._portal||new ys(oc,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(n)}},n.prototype.hide=function(n){void 0===n&&(n=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(n)},n.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},n.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},n.prototype._handleKeydown=function(n){this._isTooltipVisible()&&n.keyCode===Co&&!xo(n)&&(n.preventDefault(),n.stopPropagation(),this.hide(0))},n.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},n.prototype._createOverlay=function(){var n=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(Object(Is.a)(this._destroyed)).subscribe(function(e){n._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef},n.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},n.prototype._updatePosition=function(){var n=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),t=this._getOverlayPosition();n.withPositions([Object(s.__assign)({},e.main,t.main),Object(s.__assign)({},e.fallback,t.fallback)])},n.prototype._getOrigin=function(){var n,e=!this._dir||"ltr"==this._dir.value,t=this.position;if("above"==t||"below"==t)n={originX:"center",originY:"above"==t?"top":"bottom"};else if("before"==t||"left"==t&&e||"right"==t&&!e)n={originX:"start",originY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Jd(t);n={originX:"end",originY:"center"}}var l=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:l.x,originY:l.y}}},n.prototype._getOverlayPosition=function(){var n,e=!this._dir||"ltr"==this._dir.value,t=this.position;if("above"==t)n={overlayX:"center",overlayY:"bottom"};else if("below"==t)n={overlayX:"center",overlayY:"top"};else if("before"==t||"left"==t&&e||"right"==t&&!e)n={overlayX:"end",overlayY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw Jd(t);n={overlayX:"start",overlayY:"center"}}var l=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:l.x,overlayY:l.y}}},n.prototype._updateTooltipMessage=function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(Z.a)(1),Object(Is.a)(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))},n.prototype._setTooltipClass=function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())},n.prototype._invertPosition=function(n,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:e}},n}(),oc=function(){function n(n,e){this._changeDetectorRef=n,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new A.b,this._isHandset=this._breakpointObserver.observe(Xd.Handset)}return n.prototype.show=function(n){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()},n)},n.prototype.hide=function(n){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()},n)},n.prototype.afterHidden=function(){return this._onHide.asObservable()},n.prototype.isVisible=function(){return"visible"===this._visibility},n.prototype.ngOnDestroy=function(){this._onHide.complete()},n.prototype._animationStart=function(){this._closeOnInteraction=!1},n.prototype._animationDone=function(n){var e=n.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},n.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},n.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},n}(),rc=function(){return function(){}}(),ic=function(){return function(n,e,t){void 0===t&&(t=!1),this.visible=n,this.error=e,this.clear=t}}(),ac=function(){function n(){this.state=new E.a(new ic(!1))}return n.prototype.setError=function(n){this.state.next(new ic(!1,n))},n.prototype.clear=function(){this.state.next(new ic(!1,null,!0))},n.prototype.activate=function(){this.state.next(new ic(!0))},n.prototype.deactivate=function(){this.state.next(new ic(!1))},n}(),uc=function(){function n(n,e){this.progressService=n,this.router=e,this.visible=!1}return n.prototype.ngOnInit=function(){var n=this;this.progressService.state.subscribe(function(e){n.visible=e.visible,e.error&&!n.error&&(n.error=e.error),e.clear&&(n.error=null)}),this.routerSubscription=this.router.events.subscribe(function(){n.progressService.clear()})},n.prototype.refresh=function(){this.router.navigateByUrl(this.router.url)},n.prototype.ngOnDestroy=function(){this.routerSubscription.unsubscribe()},n}(),sc=o["\u0275crt"]({encapsulation:0,styles:[[".overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:1000}.error-state[_ngcontent-%COMP%], .loading-spinner[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.error-state[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.error-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px}"]],data:{}});function dc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["color","primary"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,zd,Ld)),o["\u0275did"](2,49152,null,0,Pd,[o.ElementRef,vo,[2,I.DOCUMENT],[2,su],qd],{color:[0,"color"]},null)],function(n,e){n(e,2,0,"primary")},function(n,e){n(e,1,0,o["\u0275nov"](e,2)._noopAnimations,o["\u0275nov"](e,2).diameter,o["\u0275nov"](e,2).diameter)})}function cc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,20,"div",[["class","error-state"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","error-icon"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["error_outline"])),(n()(),o["\u0275eld"](5,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["Error occurred: ",""])),(n()(),o["\u0275eld"](7,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["mat-button",""],["matTooltip","Refresh page"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==r.refresh()&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["refresh"])),(n()(),o["\u0275eld"](14,16777216,null,null,6,"button",[["mat-button",""],["matTooltip","Go to home"],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,15).onClick()&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,17).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,17)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](15,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](16,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](17,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](19,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["home"]))],function(n,e){n(e,3,0),n(e,10,0,"Refresh page"),n(e,12,0),n(e,15,0,"/"),n(e,17,0,"Go to home"),n(e,19,0)},function(n,e){var t=e.component;n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color),n(e,6,0,t.error.message),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,14,0,o["\u0275nov"](e,16).disabled||null,"NoopAnimations"===o["\u0275nov"](e,16)._animationMode),n(e,18,0,o["\u0275nov"](e,19).inline,"primary"!==o["\u0275nov"](e,19).color&&"accent"!==o["\u0275nov"](e,19).color&&"warn"!==o["\u0275nov"](e,19).color)})}function pc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","overlay"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,dc)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,cc)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.visible&&!t.error),n(e,4,0,t.error)},null)}function fc(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,pc)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.visible||t.error)},null)}var hc=function(){function n(){}return n.prototype.setServerId=function(n){this.serverId=n},n.prototype.setProjectId=function(n){this.projectId=n},n.prototype.getServerId=function(){return this.serverId},n.prototype.getProjectId=function(){return this.projectId},n}(),mc=function(){function n(n){var e=this;this.electronService=n,this.serverStatusChanged=new A.b,this.electronService.isElectronApp&&this.electronService.ipcRenderer.on(this.statusChannel,function(n,t){e.serverStatusChanged.next(t)})}return Object.defineProperty(n.prototype,"statusChannel",{get:function(){return"local-server-status-events"},enumerable:!0,configurable:!0}),n.prototype.start=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return this.serverStatusChanged.next({serverName:n.name,status:"starting",message:""}),[4,this.electronService.remote.require("./local-server.js").startLocalServer(n)];case 1:return[2,e.sent()]}})})},n.prototype.stop=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopLocalServer(n)];case 1:return[2,e.sent()]}})})},n.prototype.stopAll=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(n){switch(n.label){case 0:return[4,this.electronService.remote.require("./local-server.js").stopAllLocalServers()];case 1:return[2,n.sent()]}})})},n.prototype.getRunningServers=function(){return this.electronService.isElectronApp?this.electronService.remote.require("./local-server.js").getRunningServers():[]},n.prototype.ngOnDestroy=function(){this.electronService.isElectronApp&&this.electronService.ipcRenderer.removeAllListeners(this.statusChannel)},n}(),vc=function(){function n(n,e){this.snackbar=n,this.zone=e,this.snackBarConfigForSuccess={duration:2e3,panelClass:["snackabar-success"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"},this.snackBarConfigForError={duration:2e3,panelClass:["snackabar-error"],MatSnackBarHorizontalPosition:"center",MatSnackBarVerticalPosition:"bottom"}}return n.prototype.error=function(n){var e=this;this.zone.run(function(){e.snackbar.open(n,"Close",e.snackBarConfigForError)})},n.prototype.success=function(n){var e=this;this.zone.run(function(){e.snackbar.open(n,"Close",e.snackBarConfigForSuccess)})},n}(),gc=function(){function n(n,e,t,l,o){this.electronService=n,this.recentlyOpenedProjectService=e,this.serverManagement=t,this.toasterService=l,this.progressService=o,this.isInstalledSoftwareAvailable=!1,this.uiVersion=i,this.shouldStopServersOnClosing=!0}return n.prototype.ngOnInit=function(){var n=this;this.recentlyOpenedServerId=this.recentlyOpenedProjectService.getServerId(),this.recentlyOpenedProjectId=this.recentlyOpenedProjectService.getProjectId(),this.isInstalledSoftwareAvailable=this.electronService.isElectronApp,this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(e){"errored"===e.status&&(console.error(e.message),n.toasterService.error(e.message)),"stderr"===e.status&&(console.error(e.message),n.toasterService.error(e.message))}),this.shouldStopServersOnClosing=this.electronService.isElectronApp},n.prototype.onBeforeUnload=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return this.shouldStopServersOnClosing?(n.preventDefault(),n.returnValue=!1,this.progressService.activate(),[4,this.serverManagement.stopAll()]):[2];case 1:return e.sent(),this.shouldStopServersOnClosing=!1,this.progressService.deactivate(),window.close(),[2,!1]}})})},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n}(),bc=function(){function n(){}return Object.defineProperty(n.prototype,"electron",{get:function(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isElectronApp",{get:function(){return!!window.navigator.userAgent.match(/Electron/)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isMacOS",{get:function(){return this.isElectronApp&&"darwin"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isWindows",{get:function(){return this.isElectronApp&&"win32"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isLinux",{get:function(){return this.isElectronApp&&"linux"===process.platform},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isX86",{get:function(){return this.isElectronApp&&"ia32"===process.arch},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isX64",{get:function(){return this.isElectronApp&&"x64"===process.arch},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"desktopCapturer",{get:function(){return this.electron?this.electron.desktopCapturer:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ipcRenderer",{get:function(){return this.electron?this.electron.ipcRenderer:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"remote",{get:function(){return this.electron?this.electron.remote:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"webFrame",{get:function(){return this.electron?this.electron.webFrame:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"clipboard",{get:function(){return this.electron?this.electron.clipboard:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"crashReporter",{get:function(){return this.electron?this.electron.crashReporter:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"process",{get:function(){return this.remote?this.remote.process:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"nativeImage",{get:function(){return this.electron?this.electron.nativeImage:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"screen",{get:function(){return this.electron?this.electron.screen:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"shell",{get:function(){return this.electron?this.electron.shell:null},enumerable:!0,configurable:!0}),n}(),_c=function(n){function e(){return n.call(this)||this}return Object(s.__extends)(e,n),e}(bc),yc=function(){return function(){}}(),wc=o["\u0275crt"]({encapsulation:2,styles:[["app-default-layout,app-root,body,html{height:100%}app-default-layout{display:flex;flex-direction:column;height:100vh}.footer{padding:20px;margin:auto 0 0;color:#fff}.default-content{margin:0 auto;max-width:940px;padding-top:20px;padding-bottom:20px}header{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);z-index:10}.default-header h1{font-weight:300;margin:0;font-size:20px;padding:28px 8px;color:#fff}.default-header{margin:0 auto;max-width:940px}.buttons-bar{padding-top:10px;text-align:right}.fill-space{flex:1 1 auto}.container>*{width:100%}.container{padding:0}.mat-dialog-content>*{width:100%}"]],data:{}});function Cc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back to project"]))],function(n,e){var t=e.component;n(e,1,0,o["\u0275inlineInterpolate"](2,"/server/",t.recentlyOpenedServerId,"/project/",t.recentlyOpenedProjectId,""))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function xc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,51,"header",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,50,"mat-toolbar",[["class","mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,yu,_u)),o["\u0275did"](2,4243456,null,1,gu,[o.ElementRef,vo,I.DOCUMENT],{color:[0,"color"]},null),o["\u0275qud"](603979776,1,{_toolbarRows:1}),(n()(),o["\u0275eld"](4,0,null,0,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,pu,cu)),o["\u0275did"](5,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](6,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","gns3"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](7,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{svgIcon:[0,"svgIcon"]},null),(n()(),o["\u0275eld"](8,0,null,0,3,"button",[["mat-button",""],["routerLink","/servers"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,9).onClick()&&l),l},pu,cu)),o["\u0275did"](9,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](10,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Servers"])),(n()(),o["\u0275and"](16777216,null,0,1,null,Cc)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,0,0,"span",[["class","fill-space"]],null,null,null,null,null)),(n()(),o["\u0275eld"](15,16777216,null,0,5,"button",[["aria-haspopup","true"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,17)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](16,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](17,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](18,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](19,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](21,0,null,0,30,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](22,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,2,{_allItems:1}),o["\u0275qud"](603979776,3,{items:1}),o["\u0275qud"](603979776,4,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](28,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/settings"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,29).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,30)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,30)._handleMouseEnter()&&l),l},Nd,Fd)),o["\u0275did"](29,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](30,180224,[[2,4],[3,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](32,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["settings"])),(n()(),o["\u0275eld"](34,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Settings"])),(n()(),o["\u0275eld"](36,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/installed-software"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,37).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,38)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,38)._handleMouseEnter()&&l),l},Nd,Fd)),o["\u0275did"](37,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](38,180224,[[2,4],[3,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](39,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](40,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["cloud_download"])),(n()(),o["\u0275eld"](42,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Installed software"])),(n()(),o["\u0275eld"](44,0,null,0,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/help"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,45).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,46)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,46)._handleMouseEnter()&&l),l},Nd,Fd)),o["\u0275did"](45,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](46,180224,[[2,4],[3,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](47,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](48,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["help"])),(n()(),o["\u0275eld"](50,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Help"])),(n()(),o["\u0275eld"](52,0,null,null,2,"main",[["class","mat-app-background"]],null,null,null,null,null)),(n()(),o["\u0275eld"](53,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](54,212992,null,0,Ml,[Nl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null),(n()(),o["\u0275eld"](55,0,null,null,1,"app-progress",[],null,null,null,fc,sc)),o["\u0275did"](56,245760,null,0,uc,[ac,Rl],null,null),(n()(),o["\u0275eld"](57,0,null,null,1,"footer",[["class","footer mat-app-background"]],null,null,null,null,null)),(n()(),o["\u0275ted"](58,null,[" GNS3 Web UI \xa9 2019 - v","\n"]))],function(n,e){var t=e.component;n(e,2,0,"primary"),n(e,7,0,"gns3"),n(e,9,0,"/servers"),n(e,13,0,t.recentlyOpenedProjectId&&t.recentlyOpenedServerId),n(e,17,0,o["\u0275nov"](e,22)),n(e,19,0),n(e,22,0),n(e,29,0,"/settings"),n(e,32,0),n(e,37,0,"/installed-software"),n(e,38,0,!t.isInstalledSoftwareAvailable),n(e,40,0),n(e,45,0,"/help"),n(e,48,0),n(e,54,0),n(e,56,0)},function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2)._toolbarRows.length>0,0===o["\u0275nov"](e,2)._toolbarRows.length),n(e,4,0,o["\u0275nov"](e,5).disabled||null,"NoopAnimations"===o["\u0275nov"](e,5)._animationMode),n(e,6,0,o["\u0275nov"](e,7).inline,"primary"!==o["\u0275nov"](e,7).color&&"accent"!==o["\u0275nov"](e,7).color&&"warn"!==o["\u0275nov"](e,7).color),n(e,8,0,o["\u0275nov"](e,10).disabled||null,"NoopAnimations"===o["\u0275nov"](e,10)._animationMode),n(e,15,0,o["\u0275nov"](e,16).disabled||null,"NoopAnimations"===o["\u0275nov"](e,16)._animationMode,o["\u0275nov"](e,17).menuOpen||null),n(e,18,0,o["\u0275nov"](e,19).inline,"primary"!==o["\u0275nov"](e,19).color&&"accent"!==o["\u0275nov"](e,19).color&&"warn"!==o["\u0275nov"](e,19).color),n(e,28,0,o["\u0275nov"](e,30).role,o["\u0275nov"](e,30)._highlighted,o["\u0275nov"](e,30)._triggersSubmenu,o["\u0275nov"](e,30)._getTabIndex(),o["\u0275nov"](e,30).disabled.toString(),o["\u0275nov"](e,30).disabled||null),n(e,31,0,o["\u0275nov"](e,32).inline,"primary"!==o["\u0275nov"](e,32).color&&"accent"!==o["\u0275nov"](e,32).color&&"warn"!==o["\u0275nov"](e,32).color),n(e,36,0,o["\u0275nov"](e,38).role,o["\u0275nov"](e,38)._highlighted,o["\u0275nov"](e,38)._triggersSubmenu,o["\u0275nov"](e,38)._getTabIndex(),o["\u0275nov"](e,38).disabled.toString(),o["\u0275nov"](e,38).disabled||null),n(e,39,0,o["\u0275nov"](e,40).inline,"primary"!==o["\u0275nov"](e,40).color&&"accent"!==o["\u0275nov"](e,40).color&&"warn"!==o["\u0275nov"](e,40).color),n(e,44,0,o["\u0275nov"](e,46).role,o["\u0275nov"](e,46)._highlighted,o["\u0275nov"](e,46)._triggersSubmenu,o["\u0275nov"](e,46)._getTabIndex(),o["\u0275nov"](e,46).disabled.toString(),o["\u0275nov"](e,46).disabled||null),n(e,47,0,o["\u0275nov"](e,48).inline,"primary"!==o["\u0275nov"](e,48).color&&"accent"!==o["\u0275nov"](e,48).color&&"warn"!==o["\u0275nov"](e,48).color),n(e,58,0,t.uiVersion)})}function Sc(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-default-layout",[],null,[["window","beforeunload"]],function(n,e,t){var l=!0;return"window:beforeunload"===e&&(l=!1!==o["\u0275nov"](n,1).onBeforeUnload(t)&&l),l},xc,wc)),o["\u0275did"](1,245760,null,0,gc,[bc,hc,mc,vc,ac],null,null)],function(n,e){n(e,1,0)},null)}var kc=o["\u0275ccf"]("app-default-layout",gc,Sc,{},{},[]);function Ec(n){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var l=n.apply(this,e)||this;return l._sticky=!1,l._hasStickyChanged=!1,l}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"sticky",{get:function(){return this._sticky},set:function(n){var e=this._sticky;this._sticky=uo(n),this._hasStickyChanged=e!==this._sticky},enumerable:!0,configurable:!0}),e.prototype.hasStickyChanged=function(){var n=this._hasStickyChanged;return this._hasStickyChanged=!1,n},e.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},e}(n)}var Tc=function(){return function(n){this.template=n}}(),Rc=function(){return function(n){this.template=n}}(),Ic=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stickyEnd=!1,e}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(n){var e=this._stickyEnd;this._stickyEnd=uo(n),this._hasStickyChanged=e!==this._stickyEnd},enumerable:!0,configurable:!0}),e}(Ec(function(){return function(){}}())),Dc=function(){return function(n,e){e.nativeElement.classList.add("cdk-column-"+n.cssClassFriendlyName)}}(),Oc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Dc),Fc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Dc),Nc=function(){function n(n,e){this.template=n,this._differs=e}return n.prototype.ngOnChanges=function(n){if(!this._columnsDiffer){var e=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}},n.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},n.prototype.extractCellTemplate=function(n){return this instanceof Mc?n.headerCell.template:this instanceof Ac?n.footerCell.template:n.cell.template},n}(),Mc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(Ec(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Nc))),Ac=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(e){n.prototype.ngOnChanges.call(this,e)},e}(Ec(function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Nc))),qc=function(n){function e(e,t){return n.call(this,e,t)||this}return Object(s.__extends)(e,n),e}(Nc),Pc=function(){function n(e){this._viewContainer=e,n.mostRecentCellOutlet=this}return n.prototype.ngOnDestroy=function(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)},n.mostRecentCellOutlet=null,n}(),jc=function(){return function(){}}(),Lc=function(){return function(){}}(),Vc=["top","bottom","left","right"],Bc=function(){function n(n,e,t,l){void 0===l&&(l=!0),this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._isBrowser=l}return n.prototype.clearStickyPositioning=function(n,e){for(var t=0,l=n;t<l.length;t++){var o=l[t];if(o.nodeType===o.ELEMENT_NODE){this._removeStickyStyle(o,e);for(var r=0;r<o.children.length;r++)this._removeStickyStyle(o.children[r],e)}}},n.prototype.updateStickyColumns=function(n,e,t){var l=e.some(function(n){return n})||t.some(function(n){return n});if(n.length&&l&&this._isBrowser)for(var o=n[0],r=o.children.length,i=this._getCellWidths(o),a=this._getStickyStartColumnPositions(i,e),u=this._getStickyEndColumnPositions(i,t),s="rtl"===this.direction,d=0,c=n;d<c.length;d++)for(var p=c[d],f=0;f<r;f++){var h=p.children[f];e[f]&&this._addStickyStyle(h,s?"right":"left",a[f]),t[f]&&this._addStickyStyle(h,s?"left":"right",u[f])}},n.prototype.stickRows=function(n,e,t){if(this._isBrowser)for(var l="bottom"===t?n.reverse():n,o=0,r=0;r<l.length;r++)if(e[r]){var i=l[r];if(this._isNativeHtmlTable)for(var a=0;a<i.children.length;a++)this._addStickyStyle(i.children[a],t,o);else this._addStickyStyle(i,t,o);if(r===l.length-1)return;o+=i.getBoundingClientRect().height}},n.prototype.updateStickyFooterContainer=function(n,e){if(this._isNativeHtmlTable){var t=n.querySelector("tfoot");e.some(function(n){return!n})?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0)}},n.prototype._removeStickyStyle=function(n,e){for(var t=0,l=e;t<l.length;t++)n.style[l[t]]="";n.style.zIndex=this._getCalculatedZIndex(n),Vc.some(function(e){return!!n.style[e]})||(n.style.position="",n.classList.remove(this._stickCellCss))},n.prototype._addStickyStyle=function(n,e,t){n.classList.add(this._stickCellCss),n.style[e]=t+"px",n.style.cssText+="position: -webkit-sticky; position: sticky; ",n.style.zIndex=this._getCalculatedZIndex(n)},n.prototype._getCalculatedZIndex=function(n){for(var e={top:100,bottom:10,left:1,right:1},t=0,l=0,o=Vc;l<o.length;l++){var r=o[l];n.style[r]&&(t+=e[r])}return t?""+t:""},n.prototype._getCellWidths=function(n){for(var e=[],t=n.children,l=0;l<t.length;l++)e.push(t[l].getBoundingClientRect().width);return e},n.prototype._getStickyStartColumnPositions=function(n,e){for(var t=[],l=0,o=0;o<n.length;o++)e[o]&&(t[o]=l,l+=n[o]);return t},n.prototype._getStickyEndColumnPositions=function(n,e){for(var t=[],l=0,o=n.length;o>0;o--)e[o]&&(t[o]=l,l+=n[o]);return t},n}();function zc(n){return Error('Could not find column with id "'+n+'".')}var Uc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Hc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Zc=function(){return function(n,e){this.viewContainer=n,this.elementRef=e}}(),Wc=function(){function n(n,e,t,l,o,r,i){this._differs=n,this._changeDetectorRef=e,this._elementRef=t,this._dir=o,this._platform=i,this._onDestroy=new A.b,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new E.a({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(n.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(n){Object(o.isDevMode)()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+"."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(n){this._multiTemplateDataRows=uo(n),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,t){return n.trackBy?n.trackBy(t.dataIndex,t.data):t})},n.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},n.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Ps(this.dataSource)&&this.dataSource.disconnect(this)},n.prototype.renderRows=function(){var n=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var t=this._rowOutlet.viewContainer;e.forEachOperation(function(e,l,o){if(null==e.previousIndex)n._insertRow(e.item,o);else if(null==o)t.remove(l);else{var r=t.get(l);t.move(r,o)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(n){t.get(n.currentIndex).context.$implicit=n.item.data}),this.updateStickyColumnStyles()}},n.prototype.setHeaderRowDef=function(n){this._customHeaderRowDefs=new Set([n]),this._headerRowDefChanged=!0},n.prototype.setFooterRowDef=function(n){this._customFooterRowDefs=new Set([n]),this._footerRowDefChanged=!0},n.prototype.addColumnDef=function(n){this._customColumnDefs.add(n)},n.prototype.removeColumnDef=function(n){this._customColumnDefs.delete(n)},n.prototype.addRowDef=function(n){this._customRowDefs.add(n)},n.prototype.removeRowDef=function(n){this._customRowDefs.delete(n)},n.prototype.addHeaderRowDef=function(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0},n.prototype.removeHeaderRowDef=function(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0},n.prototype.addFooterRowDef=function(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0},n.prototype.removeFooterRowDef=function(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0},n.prototype.updateStickyHeaderRowStyles=function(){var n=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=n.length?"":"none");var t=this._headerRowDefs.map(function(n){return n.sticky});this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,t,"top"),this._headerRowDefs.forEach(function(n){return n.resetStickyChanged()})},n.prototype.updateStickyFooterRowStyles=function(){var n=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=n.length?"":"none");var t=this._footerRowDefs.map(function(n){return n.sticky});this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(function(n){return n.resetStickyChanged()})},n.prototype.updateStickyColumnStyles=function(){var n=this,e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),l=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(t,l),["left","right"]),e.forEach(function(e,t){n._addStickyColumnStyles([e],n._headerRowDefs[t])}),this._rowDefs.forEach(function(e){for(var l=[],o=0;o<t.length;o++)n._renderRows[o].rowDef===e&&l.push(t[o]);n._addStickyColumnStyles(l,e)}),l.forEach(function(e,t){n._addStickyColumnStyles([e],n._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(function(n){return n.resetStickyChanged()})},n.prototype._getAllRenderRows=function(){var n=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var t=0;t<this._data.length;t++){var l=this._data[t],o=this._getRenderRowsForData(l,t,e.get(l));this._cachedRenderRowsMap.has(l)||this._cachedRenderRowsMap.set(l,new WeakMap);for(var r=0;r<o.length;r++){var i=o[r],a=this._cachedRenderRowsMap.get(i.data);a.has(i.rowDef)?a.get(i.rowDef).push(i):a.set(i.rowDef,[i]),n.push(i)}}return n},n.prototype._getRenderRowsForData=function(n,e,t){return this._getRowDefs(n,e).map(function(l){var o=t&&t.has(l)?t.get(l):[];if(o.length){var r=o.shift();return r.dataIndex=e,r}return{data:n,rowDef:l,dataIndex:e}})},n.prototype._cacheColumnDefs=function(){var n=this;this._columnDefsByName.clear(),Gc(this._contentColumnDefs,this._customColumnDefs).forEach(function(e){if(n._columnDefsByName.has(e.name))throw Error('Duplicate column definition name provided: "'+e.name+'".');n._columnDefsByName.set(e.name,e)})},n.prototype._cacheRowDefs=function(){this._headerRowDefs=Gc(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=Gc(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=Gc(this._contentRowDefs,this._customRowDefs);var n=this._rowDefs.filter(function(n){return!n.when});if(!this.multiTemplateDataRows&&n.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=n[0]},n.prototype._renderUpdatedColumns=function(){var n=function(n,e){return n||!!e.getColumnsDiff()};this._rowDefs.reduce(n,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(n,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(n,!1)&&this._forceRenderFooterRows()},n.prototype._switchDataSource=function(n){this._data=[],Ps(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=n},n.prototype._observeRenderChanges=function(){var n=this;if(this.dataSource){var e;if(Ps(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof d.a?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(D.a)(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(Object(Is.a)(this._onDestroy)).subscribe(function(e){n._data=e||[],n.renderRows()})}},n.prototype._forceRenderHeaderRows=function(){var n=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,t){return n._renderRow(n._headerRowOutlet,e,t)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},n.prototype._forceRenderFooterRows=function(){var n=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,t){return n._renderRow(n._footerRowOutlet,e,t)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},n.prototype._addStickyColumnStyles=function(n,e){var t=this,l=Array.from(e.columns||[]).map(function(n){var e=t._columnDefsByName.get(n);if(!e)throw zc(n);return e}),o=l.map(function(n){return n.sticky}),r=l.map(function(n){return n.stickyEnd});this._stickyStyler.updateStickyColumns(n,o,r)},n.prototype._getRenderedRows=function(n){for(var e=[],t=0;t<n.viewContainer.length;t++){var l=n.viewContainer.get(t);e.push(l.rootNodes[0])}return e},n.prototype._getRowDefs=function(n,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var t=[];if(this.multiTemplateDataRows)t=this._rowDefs.filter(function(t){return!t.when||t.when(e,n)});else{var l=this._rowDefs.find(function(t){return t.when&&t.when(e,n)})||this._defaultRowDef;l&&t.push(l)}if(!t.length)throw function(n){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(n))}(n);return t},n.prototype._insertRow=function(n,e){this._renderRow(this._rowOutlet,n.rowDef,e,{$implicit:n.data})},n.prototype._renderRow=function(n,e,t,l){void 0===l&&(l={}),n.viewContainer.createEmbeddedView(e.template,l,t);for(var o=0,r=this._getCellTemplates(e);o<r.length;o++)Pc.mostRecentCellOutlet&&Pc.mostRecentCellOutlet._viewContainer.createEmbeddedView(r[o],l);this._changeDetectorRef.markForCheck()},n.prototype._updateRowIndexContext=function(){for(var n=this._rowOutlet.viewContainer,e=0,t=n.length;e<t;e++){var l=n.get(e).context;l.count=t,l.first=0===e,l.last=e===t-1,l.even=e%2==0,l.odd=!l.even,this.multiTemplateDataRows?(l.dataIndex=this._renderRows[e].dataIndex,l.renderIndex=e):l.index=this._renderRows[e].dataIndex}},n.prototype._getCellTemplates=function(n){var e=this;return n&&n.columns?Array.from(n.columns,function(t){var l=e._columnDefsByName.get(t);if(!l)throw zc(t);return n.extractCellTemplate(l)}):[]},n.prototype._applyNativeTableSections=function(){for(var n=this._document.createDocumentFragment(),e=0,t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];e<t.length;e++){var l=t[e],o=this._document.createElement(l.tag);o.setAttribute("role","rowgroup"),o.appendChild(l.outlet.elementRef.nativeElement),n.appendChild(o)}this._elementRef.nativeElement.appendChild(n)},n.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},n.prototype._checkStickyStates=function(){var n=function(n,e){return n||e.hasStickyChanged()};this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&this.updateStickyColumnStyles()},n.prototype._setupStickyStyler=function(){var n=this;this._stickyStyler=new Bc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(D.a)()).pipe(Object(Is.a)(this._onDestroy)).subscribe(function(e){n._stickyStyler.direction=e,n.updateStickyColumnStyles()})},n}();function Gc(n,e){return n.toArray().concat(Array.from(e))}var Kc=function(){return function(){}}(),Yc=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}return Object(s.__extends)(e,n),e}(Wc),$c=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Tc),Xc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Rc),Qc=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Ic),Jc=function(n){function e(e,t){var l=n.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),l}return Object(s.__extends)(e,n),e}(Oc),np=function(n){function e(e,t){var l=n.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),l}return Object(s.__extends)(e,n),e}(Fc),ep=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Mc),tp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(qc),lp=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(jc),op=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(Lc),rp=function(){return function(){}}(),ip=o["\u0275crt"]({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function ap(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{_rowOutlet:0}),o["\u0275qud"](402653184,2,{_headerRowOutlet:0}),o["\u0275qud"](402653184,3,{_footerRowOutlet:0}),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](5,16384,[[2,4]],0,Hc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["\u0275eld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](7,16384,[[1,4]],0,Uc,[o.ViewContainerRef,o.ElementRef],null,null),(n()(),o["\u0275eld"](8,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](9,16384,[[3,4]],0,Zc,[o.ViewContainerRef,o.ElementRef],null,null)],null,null)}var up=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function sp(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Pc,[o.ViewContainerRef],null,null)],null,null)}var dp=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function cp(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Pc,[o.ViewContainerRef],null,null)],null,null)}var pp=function(){return function(){}}(),fp=function(){return function(){}}(),hp=function(){return function(){}}(),mp=function(){return function(){this.align="start"}}(),vp=function(){return function(n){this._animationMode=n}}(),gp=function(){return function(){}}(),bp=o["\u0275crt"]({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function _p(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1)],null,null)}var yp=function(){function n(){this._vertical=!1,this._inset=!1}return Object.defineProperty(n.prototype,"vertical",{get:function(){return this._vertical},set:function(n){this._vertical=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"inset",{get:function(){return this._inset},set:function(n){this._inset=uo(n)},enumerable:!0,configurable:!0}),n}(),wp=function(){return function(){}}(),Cp=o["\u0275crt"]({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],data:{}});function xp(n){return o["\u0275vid"](2,[],null,null)}var Sp=t("pbg4");d.a.bindCallback=Sp.a;var kp=t("emHa");d.a.bindNodeCallback=kp.a,d.a.combineLatest=N.b,d.a.concat=Hd.a,d.a.defer=M.a,d.a.empty=q.b,d.a.forkJoin=ns.a,d.a.from=O.a,d.a.fromEvent=Os.a;var Ep=t("kERW");d.a.fromEventPattern=Ep.a,d.a.fromPromise=O.a;var Tp=t("GFlT");d.a.generate=Tp.a;var Rp=t("mEZQ");d.a.if=Rp.a;var Ip=t("xXU7");d.a.interval=Ip.a,d.a.merge=Ts.a;var Dp=t("W0Ae");d.a.race=Dp.a;var Op=t("GDxn");d.a.never=function(){return Op.a},d.a.of=D.a;var Fp=t("ELzr");d.a.onErrorResumeNext=Fp.a;var Np=t("EWOM");d.a.pairs=Np.a;var Mp=t("vAyL");d.a.range=Mp.a;var Ap=t("7Qw6");d.a.using=Ap.a,d.a.throw=Ju.a,d.a.throwError=Ju.a;var qp=t("gI3B");d.a.timer=qp.a;var Pp=t("909l");d.a.zip=Pp.b;var jp="undefined"!=typeof window&&window,Lp="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Vp="undefined"!=typeof global&&global,Bp=jp||Vp||Lp,zp=t("FFOo");function Up(n,e){return void 0===e&&(e=null),new $p({method:"GET",url:n,headers:e})}function Hp(n,e,t){return new $p({method:"POST",url:n,body:e,headers:t})}function Zp(n,e){return new $p({method:"DELETE",url:n,headers:e})}function Wp(n,e,t){return new $p({method:"PUT",url:n,body:e,headers:t})}function Gp(n,e,t){return new $p({method:"PATCH",url:n,body:e,headers:t})}var Kp=Object(P.a)(function(n,e){return n.response});function Yp(n,e){return Kp(new $p({method:"GET",url:n,responseType:"json",headers:e}))}var $p=function(n){function e(e){var t=n.call(this)||this,l={async:!0,createXHR:function(){return this.crossDomain?function(){if(Bp.XMLHttpRequest)return new Bp.XMLHttpRequest;if(Bp.XDomainRequest)return new Bp.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(Bp.XMLHttpRequest)return new Bp.XMLHttpRequest;var n=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],t=0;t<3;t++)try{if(new Bp.ActiveXObject(n=e[t]))break}catch(l){}return new Bp.ActiveXObject(n)}catch(l){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)l.url=e;else for(var o in e)e.hasOwnProperty(o)&&(l[o]=e[o]);return t.request=l,t}var t;return s.__extends(e,n),e.prototype._subscribe=function(n){return new Xp(n,this.request)},e.create=((t=function(n){return new e(n)}).get=Up,t.post=Hp,t.delete=Zp,t.put=Wp,t.patch=Gp,t.getJSON=Yp,t),e}(d.a),Xp=function(n){function e(e,t){var l=n.call(this,e)||this;l.request=t,l.done=!1;var o=t.headers=t.headers||{};return t.crossDomain||l.getHeader(o,"X-Requested-With")||(o["X-Requested-With"]="XMLHttpRequest"),l.getHeader(o,"Content-Type")||Bp.FormData&&t.body instanceof Bp.FormData||void 0===t.body||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),t.body=l.serializeBody(t.body,l.getHeader(t.headers,"Content-Type")),l.send(),l}return s.__extends(e,n),e.prototype.next=function(n){this.done=!0;var e,t=this.xhr,l=this.request,o=this.destination;try{e=new Qp(n,t,l)}catch(r){return o.error(r)}o.next(e)},e.prototype.send=function(){var n=this.request,e=this.request,t=e.user,l=e.method,o=e.url,r=e.async,i=e.password,a=e.headers,u=e.body;try{var s=this.xhr=n.createXHR();this.setupEvents(s,n),t?s.open(l,o,r,t,i):s.open(l,o,r),r&&(s.timeout=n.timeout,s.responseType=n.responseType),"withCredentials"in s&&(s.withCredentials=!!n.withCredentials),this.setHeaders(s,a),u?s.send(u):s.send()}catch(d){this.error(d)}},e.prototype.serializeBody=function(n,e){if(!n||"string"==typeof n)return n;if(Bp.FormData&&n instanceof Bp.FormData)return n;if(e){var t=e.indexOf(";");-1!==t&&(e=e.substring(0,t))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(n).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(n[e])}).join("&");case"application/json":return JSON.stringify(n);default:return n}},e.prototype.setHeaders=function(n,e){for(var t in e)e.hasOwnProperty(t)&&n.setRequestHeader(t,e[t])},e.prototype.getHeader=function(n,e){for(var t in n)if(t.toLowerCase()===e.toLowerCase())return n[t]},e.prototype.setupEvents=function(n,e){var t,l,o=e.progressSubscriber;function r(n){var e,t=r.subscriber,l=r.progressSubscriber,o=r.request;l&&l.error(n);try{e=new tf(this,o)}catch(i){e=i}t.error(e)}function i(n){}function a(n){var e=a.subscriber,t=a.progressSubscriber,l=a.request;if(4===this.readyState){var o=1223===this.status?204:this.status;if(0===o&&(o=("text"===this.responseType?this.response||this.responseText:this.response)?200:0),o<400)t&&t.complete(),e.next(n),e.complete();else{t&&t.error(n);var r=void 0;try{r=new nf("ajax error "+o,this,l)}catch(i){r=i}e.error(r)}}}n.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=o,n.upload&&"withCredentials"in n&&(o&&(t=function(n){t.progressSubscriber.next(n)},Bp.XDomainRequest?n.onprogress=t:n.upload.onprogress=t,t.progressSubscriber=o),n.onerror=l=function(n){var e,t=l.progressSubscriber,o=l.subscriber,r=l.request;t&&t.error(n);try{e=new nf("ajax error",this,r)}catch(i){e=i}o.error(e)},l.request=e,l.subscriber=this,l.progressSubscriber=o),n.onreadystatechange=i,i.subscriber=this,i.progressSubscriber=o,i.request=e,n.onload=a,a.subscriber=this,a.progressSubscriber=o,a.request=e},e.prototype.unsubscribe=function(){var e=this.xhr;!this.done&&e&&4!==e.readyState&&"function"==typeof e.abort&&e.abort(),n.prototype.unsubscribe.call(this)},e}(zp.a),Qp=function(){return function(n,e,t){this.originalEvent=n,this.xhr=e,this.request=t,this.status=e.status,this.responseType=e.responseType||t.responseType,this.response=ef(this.responseType,e)}}();function Jp(n,e,t){return Error.call(this),this.message=n,this.name="AjaxError",this.xhr=e,this.request=t,this.status=e.status,this.responseType=e.responseType||t.responseType,this.response=ef(this.responseType,e),this}Jp.prototype=Object.create(Error.prototype);var nf=Jp;function ef(n,e){switch(n){case"json":return function(n){return"response"in n?n.responseType?n.response:JSON.parse(n.response||n.responseText||"null"):JSON.parse(n.responseText||"null")}(e);case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var tf=function(n,e){return nf.call(this,"ajax timeout",n,e),this.name="AjaxTimeoutError",this};d.a.ajax=$p.create;var lf=t("S5bw"),of={url:"",deserializer:function(n){return JSON.parse(n.data)},serializer:function(n){return JSON.stringify(n)}},rf=function(n){function e(e,t){var l=n.call(this)||this;if(e instanceof d.a)l.destination=t,l.source=e;else{var o=l._config=s.__assign({},of);if(l._output=new A.b,"string"==typeof e)o.url=e;else for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);if(!o.WebSocketCtor&&WebSocket)o.WebSocketCtor=WebSocket;else if(!o.WebSocketCtor)throw new Error("no WebSocket constructor can be found");l.destination=new lf.a}return l}return s.__extends(e,n),e.prototype.lift=function(n){var t=new e(this._config,this.destination);return t.operator=n,t.source=this,t},e.prototype._resetState=function(){this._socket=null,this.source||(this.destination=new lf.a),this._output=new A.b},e.prototype.multiplex=function(n,e,t){var l=this;return new d.a(function(o){try{l.next(n())}catch(i){o.error(i)}var r=l.subscribe(function(n){try{t(n)&&o.next(n)}catch(i){o.error(i)}},function(n){return o.error(n)},function(){return o.complete()});return function(){try{l.next(e())}catch(i){o.error(i)}r.unsubscribe()}})},e.prototype._connectSocket=function(){var n=this,e=this._config,t=e.WebSocketCtor,l=e.protocol,o=e.url,r=e.binaryType,i=this._output,a=null;try{a=l?new t(o,l):new t(o),this._socket=a,r&&(this._socket.binaryType=r)}catch(s){return void i.error(s)}var u=new wo.a(function(){n._socket=null,a&&1===a.readyState&&a.close()});a.onopen=function(e){if(!n._socket)return a.close(),void n._resetState();var t=n._config.openObserver;t&&t.next(e);var l=n.destination;n.destination=zp.a.create(function(t){if(1===a.readyState)try{a.send((0,n._config.serializer)(t))}catch(e){n.destination.error(e)}},function(e){var t=n._config.closingObserver;t&&t.next(void 0),e&&e.code?a.close(e.code,e.reason):i.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),n._resetState()},function(){var e=n._config.closingObserver;e&&e.next(void 0),a.close(),n._resetState()}),l&&l instanceof lf.a&&u.add(l.subscribe(n.destination))},a.onerror=function(e){n._resetState(),i.error(e)},a.onclose=function(e){n._resetState();var t=n._config.closeObserver;t&&t.next(e),e.wasClean?i.complete():i.error(e)},a.onmessage=function(e){try{i.next((0,n._config.deserializer)(e))}catch(t){i.error(t)}}},e.prototype._subscribe=function(n){var e=this,t=this.source;return t?t.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(function(){var n=e._socket;0===e._output.observers.length&&(n&&1===n.readyState&&n.close(),e._resetState())}),n)},e.prototype.unsubscribe=function(){var e=this._socket;e&&1===e.readyState&&e.close(),this._resetState(),n.prototype.unsubscribe.call(this)},e}(A.a);d.a.webSocket=function(n){return new rf(n)};var af=t("DaYz");d.a.prototype.buffer=function(n){return Object(af.a)(n)(this)};var uf=t("KD6q");d.a.prototype.bufferCount=function(n,e){return void 0===e&&(e=null),Object(uf.a)(n,e)(this)};var sf=t("T1DM"),df=t("nkY7"),cf=t("b7Yd");d.a.prototype.bufferTime=function(n){var e=arguments.length,t=sf.a;Object(df.a)(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],e--);var l=null;e>=2&&(l=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),Object(cf.a)(n,l,o,t)(this)};var pf=t("Qkom");d.a.prototype.bufferToggle=function(n,e){return Object(pf.a)(n,e)(this)};var ff=t("xsCy");function hf(n){return Object(V.a)(n)(this)}d.a.prototype.bufferWhen=function(n){return Object(ff.a)(n)(this)},d.a.prototype.catch=hf,d.a.prototype._catch=hf;var mf=t("F1hP");d.a.prototype.combineAll=function(n){return Object(mf.a)(n)(this)};var vf=t("isby");d.a.prototype.combineLatest=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=null;return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(vf.a)(n[0])&&(n=n[0].slice()),this.lift.call(D.a.apply(void 0,[this].concat(n)),new N.a(t))},d.a.prototype.concat=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Hd.a.apply(void 0,[this].concat(n)))},d.a.prototype.concatAll=function(){return Object(j.a)()(this)},d.a.prototype.concatMap=function(n){return Object(Y.a)(n)(this)};var gf=t("dDXr");d.a.prototype.concatMapTo=function(n){return Object(gf.a)(n)(this)};var bf=t("6Dj2");d.a.prototype.count=function(n){return Object(bf.a)(n)(this)};var _f=t("41IB");d.a.prototype.dematerialize=function(){return Object(_f.a)()(this)};var yf=t("bWpG");d.a.prototype.debounce=function(n){return Object(yf.a)(n)(this)},d.a.prototype.debounceTime=function(n,e){return void 0===e&&(e=sf.a),Object(So.a)(n,e)(this)};var wf=t("HJBe");d.a.prototype.defaultIfEmpty=function(n){return void 0===n&&(n=null),Object(wf.a)(n)(this)},d.a.prototype.delay=function(n,e){return void 0===e&&(e=sf.a),Object(Ds.a)(n,e)(this)};var Cf=t("WbdR");d.a.prototype.delayWhen=function(n,e){return Object(Cf.a)(n,e)(this)};var xf=t("ou9H");d.a.prototype.distinct=function(n,e){return Object(xf.a)(n,e)(this)},d.a.prototype.distinctUntilChanged=function(n,e){return Object(Fs.a)(n,e)(this)};var Sf=t("Cr8c");function kf(n,e,t){return Object(X.a)(n,e,t)(this)}d.a.prototype.distinctUntilKeyChanged=function(n,e){return Object(Sf.a)(n,e)(this)},d.a.prototype.do=kf,d.a.prototype._do=kf;var Ef=t("31qQ");d.a.prototype.exhaust=function(){return Object(Ef.a)()(this)};var Tf=t("6V3w");d.a.prototype.exhaustMap=function(n){return Object(Tf.a)(n)(this)};var Rf=t("sLa7");d.a.prototype.expand=function(n,e,t){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,Object(Rf.a)(n,e,t)(this)};var If=t("MPaf");function Df(n){return Object(Q.a)(n)(this)}d.a.prototype.elementAt=function(n,e){return If.a.apply(void 0,arguments)(this)},d.a.prototype.filter=function(n,e){return Object(K.a)(n,e)(this)},d.a.prototype.finally=Df,d.a.prototype._finally=Df;var Of=t("NKZO");d.a.prototype.find=function(n,e){return Object(Of.b)(n,e)(this)};var Ff=t("VYim");d.a.prototype.findIndex=function(n,e){return Object(Ff.a)(n,e)(this)},d.a.prototype.first=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return B.a.apply(void 0,n)(this)};var Nf=t("IxPp");d.a.prototype.groupBy=function(n,e,t,l){return Object(Nf.b)(n,e,t,l)(this)};var Mf=t("DKLv");d.a.prototype.ignoreElements=function(){return Object(Mf.a)()(this)};var Af=t("igQg");d.a.prototype.isEmpty=function(){return Object(Af.a)()(this)};var qf=t("MpAI");function Pf(n){return n(this)}d.a.prototype.audit=function(n){return Object(qf.a)(n)(this)},d.a.prototype.auditTime=function(n,e){return void 0===e&&(e=sf.a),Object(Ns.a)(n,e)(this)},d.a.prototype.last=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return L.a.apply(void 0,n)(this)},d.a.prototype.let=Pf,d.a.prototype.letBind=Pf,d.a.prototype.every=function(n,e){return Object(U.a)(n,e)(this)},d.a.prototype.map=function(n,e){return Object(P.a)(n,e)(this)};var jf=t("aGNc");d.a.prototype.mapTo=function(n){return Object(jf.a)(n)(this)};var Lf=t("uW6F");d.a.prototype.materialize=function(){return Object(Lf.a)()(this)};var Vf=t("mcCJ");function Bf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(z.a)(n,e)(this)}d.a.prototype.max=function(n){return Object(Vf.a)(n)(this)},d.a.prototype.merge=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Ts.a.apply(void 0,[this].concat(n)))},d.a.prototype.mergeAll=function(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),Object(J.a)(n)(this)},d.a.prototype.mergeMap=Bf,d.a.prototype.flatMap=Bf;var zf=t("j0HV");function Uf(n,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(zf.a)(n,e)(this)}d.a.prototype.flatMapTo=Uf,d.a.prototype.mergeMapTo=Uf;var Hf=t("lA9V");d.a.prototype.mergeScan=function(n,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(Hf.a)(n,e,t)(this)};var Zf=t("gAJb");d.a.prototype.min=function(n){return Object(Zf.a)(n)(this)};var Wf=t("xlPZ");d.a.prototype.multicast=function(n,e){return Object(Wf.a)(n,e)(this)};var Gf=t("mZXl");d.a.prototype.observeOn=function(n,e){return void 0===e&&(e=0),Object(Gf.b)(n,e)(this)};var Kf=t("TJrj");d.a.prototype.onErrorResumeNext=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Kf.a.apply(void 0,n)(this)},d.a.prototype.pairwise=function(){return Object(Ms.a)()(this)};var Yf=t("h+56");d.a.prototype.partition=function(n,e){return Object(Yf.a)(n,e)(this)};var $f=t("FYXD");d.a.prototype.pluck=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return $f.a.apply(void 0,n)(this)};var Xf=t("W1+X");d.a.prototype.publish=function(n){return Object(Xf.a)(n)(this)};var Qf=t("3J/R");d.a.prototype.publishBehavior=function(n){return Object(Qf.a)(n)(this)};var Jf=t("s4kO");d.a.prototype.publishReplay=function(n,e,t,l){return Object(Jf.a)(n,e,t,l)(this)};var nh=t("kR3u");d.a.prototype.publishLast=function(){return Object(nh.a)()(this)};var eh=t("p33S");d.a.prototype.race=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return eh.a.apply(void 0,n)(this)},d.a.prototype.reduce=function(n,e){return arguments.length>=2?Object($.a)(n,e)(this):Object($.a)(n)(this)};var th=t("Nzu2");d.a.prototype.repeat=function(n){return void 0===n&&(n=-1),Object(th.a)(n)(this)};var lh=t("tMwf");d.a.prototype.repeatWhen=function(n){return Object(lh.a)(n)(this)};var oh=t("5tAl");d.a.prototype.retry=function(n){return void 0===n&&(n=-1),Object(oh.a)(n)(this)};var rh=t("ZqrO");d.a.prototype.retryWhen=function(n){return Object(rh.a)(n)(this)};var ih=t("wDBO");d.a.prototype.sample=function(n){return Object(ih.a)(n)(this)};var ah=t("/ojb");d.a.prototype.sampleTime=function(n,e){return void 0===e&&(e=sf.a),Object(ah.a)(n,e)(this)},d.a.prototype.scan=function(n,e){return arguments.length>=2?Object(G.a)(n,e)(this):Object(G.a)(n)(this)};var uh=t("wjTF");d.a.prototype.sequenceEqual=function(n,e){return Object(uh.a)(n,e)(this)},d.a.prototype.share=function(){return Object(es.a)()(this)},d.a.prototype.shareReplay=function(n,e,t){return n&&"object"==typeof n?Object(As.a)(n)(this):Object(As.a)(n,e,t)(this)};var sh=t("ujTQ");d.a.prototype.single=function(n){return Object(sh.a)(n)(this)},d.a.prototype.skip=function(n){return Object(Zd.a)(n)(this)};var dh=t("14Nl");d.a.prototype.skipLast=function(n){return Object(dh.a)(n)(this)};var ch=t("0GsU");d.a.prototype.skipUntil=function(n){return Object(ch.a)(n)(this)};var ph=t("VQ2P");d.a.prototype.skipWhile=function(n){return Object(ph.a)(n)(this)},d.a.prototype.startWith=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return W.a.apply(void 0,n)(this)};var fh=t("9dfq");d.a.prototype.subscribeOn=function(n,e){return void 0===e&&(e=0),Object(fh.a)(n,e)(this)};var hh=t("KAzf");function mh(){return Object(hh.a)()(this)}d.a.prototype.switch=mh,d.a.prototype._switch=mh,d.a.prototype.switchMap=function(n){return Object(H.a)(n)(this)};var vh=t("zQHH");d.a.prototype.switchMapTo=function(n){return Object(vh.a)(n)(this)},d.a.prototype.take=function(n){return Object(Z.a)(n)(this)};var gh=t("AxiF");d.a.prototype.takeLast=function(n){return Object(gh.a)(n)(this)},d.a.prototype.takeUntil=function(n){return Object(Is.a)(n)(this)};var bh=t("jvbL");d.a.prototype.takeWhile=function(n){return Object(bh.a)(n)(this)};var _h=t("+gEr");d.a.prototype.throttle=function(n,e){return void 0===e&&(e=_h.a),Object(_h.b)(n,e)(this)};var yh=t("AJqF");d.a.prototype.throttleTime=function(n,e,t){return void 0===e&&(e=sf.a),void 0===t&&(t=_h.a),Object(yh.a)(n,e,t)(this)};var wh=t("6wkY");d.a.prototype.timeInterval=function(n){return void 0===n&&(n=sf.a),Object(wh.a)(n)(this)};var Ch=t("0zd0");d.a.prototype.timeout=function(n,e){return void 0===e&&(e=sf.a),Object(Ch.a)(n,e)(this)};var xh=t("ceCD");d.a.prototype.timeoutWith=function(n,e,t){return void 0===t&&(t=sf.a),Object(xh.a)(n,e,t)(this)};var Sh=t("5IO1");d.a.prototype.timestamp=function(n){return void 0===n&&(n=sf.a),Object(Sh.a)(n)(this)};var kh=t("R+r5");d.a.prototype.toArray=function(){return Object(kh.a)()(this)},t("q8iK");var Eh=t("Wnek");d.a.prototype.window=function(n){return Object(Eh.a)(n)(this)};var Th=t("e5mD");d.a.prototype.windowCount=function(n,e){return void 0===e&&(e=0),Object(Th.a)(n,e)(this)};var Rh=t("/21U"),Ih=t("lxKu");d.a.prototype.windowTime=function(n){var e=sf.a,t=null,l=Number.POSITIVE_INFINITY;return Object(df.a)(arguments[3])&&(e=arguments[3]),Object(df.a)(arguments[2])?e=arguments[2]:Object(Rh.a)(arguments[2])&&(l=arguments[2]),Object(df.a)(arguments[1])?e=arguments[1]:Object(Rh.a)(arguments[1])&&(t=arguments[1]),Object(Ih.a)(n,t,l,e)(this)};var Dh=t("K3ba");d.a.prototype.windowToggle=function(n,e){return Object(Dh.a)(n,e)(this)};var Oh=t("MysU");d.a.prototype.windowWhen=function(n){return Object(Oh.a)(n)(this)};var Fh=t("/PH2");d.a.prototype.withLatestFrom=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Fh.a.apply(void 0,n)(this)},d.a.prototype.zip=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return this.lift.call(Pp.b.apply(void 0,[this].concat(n)))};var Nh=t("br6f");d.a.prototype.zipAll=function(n){return Object(Nh.a)(n)(this)},t("zo3G"),t("L/V9"),t("xTla"),t("En8+"),t("ahDk");var Mh=function(){return function(){}}(),Ah=function(n){function e(e){return n.call(this,e)||this}return s.__extends(e,n),e.fromError=function(n,t){var l=new e(n);return l.originalError=t,l},e}(Error),qh=function(){function n(){}return n.prototype.handleError=function(n){var e=n;return"HttpErrorResponse"===n.name&&0===n.status&&(e=Ah.fromError("Server is unreachable",n)),Object(Ju.a)(e)},n}(),Ph=function(){function n(n,e){this.http=n,this.errorHandler=e}return n.prototype.get=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.get(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.getText=function(n,e,t){t=this.getTextOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.get(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.post=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.http.post(o.url,t,o.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.put=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.http.put(o.url,t,o.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.delete=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.delete(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.patch=function(n,e,t,l){l=this.getJsonOptions(l);var o=this.getOptionsForServer(n,e,l);return this.http.patch(o.url,t,o.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.head=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.head(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.options=function(n,e,t){t=this.getJsonOptions(t);var l=this.getOptionsForServer(n,e,t);return this.http.options(l.url,l.options).pipe(Object(V.a)(this.errorHandler.handleError))},n.prototype.getJsonOptions=function(n){return n||{responseType:"json"}},n.prototype.getTextOptions=function(n){return n||{responseType:"text"}},n.prototype.getOptionsForServer=function(n,e,t){if(e=n.host&&n.port?"http://"+n.host+":"+n.port+"/v2"+e:"/v2"+e,t.headers||(t.headers={}),"basic"===n.authorization){var l=btoa(n.login+":"+n.password);t.headers.Authorization="Basic "+l}return{url:e,options:t}},n}(),jh=function(){function n(n){this.httpServer=n}return n.prototype.get=function(n){return this.httpServer.get(n,"/version")},n}(),Lh=function(){function n(n,e){this.utils=new Vh,this.dbWrapper=new Bh(n,e)}return n.prototype.openDatabase=function(n,e){var t=this,l=this;return new Promise(function(o,r){t.dbWrapper.dbVersion=n;var i=t.utils.indexedDB.open(t.dbWrapper.dbName,n);i.onsuccess=function(n){l.dbWrapper.db=i.result,o()},i.onerror=function(n){r(n.target.errorCode+" ("+n.target.error+")")},"function"==typeof e&&(i.onupgradeneeded=function(n){e(n,l.dbWrapper.db)})})},n.prototype.getByKey=function(n,e){var t=this;return new Promise(function(l,o){t.dbWrapper.validateBeforeTransaction(n,o),t.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){o(n)},complete:function(n){}}).objectStore(n).get(e).onsuccess=function(n){l(n.target.result)}})},n.prototype.getAll=function(n,e,t){var l=this;return new Promise(function(o,r){l.dbWrapper.validateBeforeTransaction(n,r);var i,a=l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},complete:function(n){}}).objectStore(n),u=[];(i=t?a.index(t.indexName).openCursor(e,"desc"===t.order?"prev":"next"):a.openCursor(e)).onerror=function(n){r(n)},i.onsuccess=function(n){var e=n.target.result;e?(u.push(e.value),e.continue()):o(u)}})},n.prototype.add=function(n,e,t){var l=this;return new Promise(function(o,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){r(n)},complete:function(n){o({key:t,value:e})}}).objectStore(n).add(e,t).onsuccess=function(n){t=n.target.result}})},n.prototype.update=function(n,e,t){var l=this;return new Promise(function(o,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){r(n)},complete:function(n){o(e)},abort:function(n){r(n)}}).objectStore(n).put(e,t)})},n.prototype.delete=function(n,e){var t=this;return new Promise(function(l,o){t.dbWrapper.validateBeforeTransaction(n,o),t.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){o(n)},complete:function(n){l()},abort:function(n){o(n)}}).objectStore(n).delete(e)})},n.prototype.openCursor=function(n,e,t){var l=this;return new Promise(function(o,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},complete:function(n){o()},abort:function(n){r(n)}}).objectStore(n).openCursor(t).onsuccess=function(n){e(n),o()}})},n.prototype.clear=function(n){var e=this;return new Promise(function(t,l){e.dbWrapper.validateBeforeTransaction(n,l),e.dbWrapper.createTransaction({storeName:n,dbMode:"readwrite",error:function(n){l(n)},complete:function(n){t()},abort:function(n){l(n)}}).objectStore(n).clear(),t()})},n.prototype.getByIndex=function(n,e,t){var l=this;return new Promise(function(o,r){l.dbWrapper.validateBeforeTransaction(n,r),l.dbWrapper.createTransaction({storeName:n,dbMode:"readonly",error:function(n){r(n)},abort:function(n){r(n)},complete:function(n){}}).objectStore(n).index(e).get(t).onsuccess=function(n){o(n.target.result)}})},n}(),Vh=function(){return function(){this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB}}(),Bh=function(){function n(n,e){this.dbName=n,this.dbVersion=e||1,this.db=null}return n.prototype.validateStoreName=function(n){return this.db.objectStoreNames.contains(n)},n.prototype.validateBeforeTransaction=function(n,e){this.db||e("You need to use the openDatabase function to create a database before you query it!"),this.validateStoreName(n)||e("objectStore does not exists: "+n)},n.prototype.createTransaction=function(n){var e=this.db.transaction(n.storeName,n.dbMode);return e.onerror=n.error,e.oncomplete=n.complete,e.onabort=n.abort,e},n}(),zh=function(){function n(){this.db=new Lh(n.DATABASE,n.VERSION)}return n.prototype.get=function(){return this.db},n.VERSION=1,n.DATABASE="gns3-web-ui",n}(),Uh=function(){function n(n){var e=this;this.indexedDbService=n,this.tablename="servers",this.ready=n.get().openDatabase(1,function(n){n.currentTarget.result.createObjectStore(e.tablename,{keyPath:"id",autoIncrement:!0})})}return n.prototype.get=function(n){var e=this;return this.onReady(function(){return e.indexedDbService.get().getByKey(e.tablename,n)})},n.prototype.create=function(n){var e=this;return this.onReady(function(){return new Promise(function(t,l){e.indexedDbService.get().add(e.tablename,n).then(function(e){n.id=e.key,t(n)},l)})})},n.prototype.update=function(n){var e=this;return this.onReady(function(){return new Promise(function(t,l){e.indexedDbService.get().update(e.tablename,n).then(function(e){t(n)},l)})})},n.prototype.findAll=function(){var n=this;return this.onReady(function(){return n.indexedDbService.get().getAll(n.tablename)})},n.prototype.delete=function(n){var e=this;return this.onReady(function(){return e.indexedDbService.get().delete(e.tablename,n.id)})},n.prototype.getServerUrl=function(n){return"http://"+n.host+":"+n.port+"/"},n.prototype.getLocalServer=function(n,e){var t=this;return new Promise(function(l,o){t.findAll().then(function(r){var i=r.find(function(n){return"bundled"===n.location});if(i)i.host=n,i.port=e,t.update(i).then(function(n){l(n)},o);else{var a=new Mh;a.name="local",a.host=n,a.port=e,a.location="bundled",t.create(a).then(function(n){l(n)},o)}},o)})},n.prototype.onReady=function(n){var e=this;return new Promise(function(t,l){e.ready.then(function(){n().then(function(n){t(n)},function(n){l(n)})},function(n){l(n)})})},n}(),Hh=function(){function n(){this.dataChange=new E.a([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n.prototype.addServer=function(n){var e=this.data.slice();e.push(n),this.dataChange.next(e)},n.prototype.addServers=function(n){this.dataChange.next(n)},n.prototype.remove=function(n){var e=this.data.indexOf(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data.slice()))},n.prototype.find=function(n){return this.data.find(function(e){return e.name===n})},n.prototype.findIndex=function(n){return this.data.findIndex(function(e){return e.name===n})},n.prototype.update=function(n){var e=this.findIndex(n.name);e>=0&&(this.data[e]=n,this.dataChange.next(this.data.slice()))},n}(),Zh=function(){function n(n,e,t){this.versionService=n,this.serverService=e,this.serverDatabase=t,this.defaultServers=[{host:"127.0.0.1",port:3080}]}return n.prototype.ngOnInit=function(){this.discoverFirstAvailableServer()},n.prototype.discoverFirstAvailableServer=function(){var n=this;Object(ns.a)(d.a.fromPromise(this.serverService.findAll()).pipe(Object(P.a)(function(n){return n})),this.discovery()).subscribe(function(e){var t=e[1];e[0].forEach(function(n){t=t.filter(function(e){return!(e.host==n.host&&e.port==n.port)})}),t.length>0&&(n.discoveredServer=t.shift())})},n.prototype.discovery=function(){var n=this,e=[];return this.defaultServers.forEach(function(t){e.push(n.isServerAvailable(t.host,t.port).catch(function(n){return d.a.of(null)}))}),new d.a(function(n){Object(ns.a)(e).subscribe(function(e){n.next(e.filter(function(n){return null!=n})),n.complete()})})},n.prototype.isServerAvailable=function(n,e){var t=new Mh;return t.host=n,t.port=e,this.versionService.get(t).flatMap(function(n){return d.a.of(t)})},n.prototype.ignore=function(n){this.discoveredServer=null},n.prototype.accept=function(n){var e=this;null==n.name&&(n.name=n.host),n.location="remote",this.serverService.create(n).then(function(n){e.serverDatabase.addServer(n),e.discoveredServer=null})},n}(),Wh=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Gh(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,15,"mat-card",[["class","info mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](1,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](2,0,null,0,5,"mat-card-content",[["align","center"],["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](3,16384,null,0,pp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" We've discovered GNS3 server on "])),(n()(),o["\u0275eld"](5,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["",":",""])),(n()(),o["\u0275ted"](-1,null,[", would you like to add to the list? "])),(n()(),o["\u0275eld"](8,0,null,0,7,"mat-card-actions",[["align","right"],["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),o["\u0275did"](9,16384,null,0,mp,[],{align:[0,"align"]},null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o.ignore(o.discoveredServer)&&l),l},pu,cu)),o["\u0275did"](11,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["NO"])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o.accept(o.discoveredServer)&&l),l},pu,cu)),o["\u0275did"](14,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["YES"]))],function(n,e){n(e,9,0,"right"),n(e,11,0,"accent")},function(n,e){var t=e.component;n(e,0,0,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,6,0,t.discoveredServer.host,t.discoveredServer.port),n(e,8,0,"end"===o["\u0275nov"](e,9).align),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode)})}function Kh(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,xp,Cp)),o["\u0275did"](1,49152,null,0,yp,[],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).vertical?"vertical":"horizontal",o["\u0275nov"](e,1).vertical,!o["\u0275nov"](e,1).vertical,o["\u0275nov"](e,1).inset)})}function Yh(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,Gh)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Kh)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.discoveredServer),n(e,3,0,t.discoveredServer)},null)}var $h=new o.InjectionToken("NgValueAccessor"),Xh=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"checked",n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),Qh=new o.InjectionToken("CompositionEventMode"),Jh=function(){function n(n,e,t){var l;this._renderer=n,this._elementRef=e,this._compositionMode=t,this.onChange=function(n){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(l=en()?en().getUserAgent():"",!/android (\d+)/.test(l.toLowerCase())))}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._handleInput=function(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)},n.prototype._compositionStart=function(){this._composing=!0},n.prototype._compositionEnd=function(n){this._composing=!1,this._compositionMode&&this.onChange(n)},n}(),nm=function(){function n(){}return Object.defineProperty(n.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n.prototype.reset=function(n){void 0===n&&(n=void 0),this.control&&this.control.reset(n)},n.prototype.hasError=function(n,e){return!!this.control&&this.control.hasError(n,e)},n.prototype.getError=function(n,e){return this.control?this.control.getError(n,e):null},n}(),em=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(nm);function tm(){throw new Error("unimplemented")}var lm=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"validator",{get:function(){return tm()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return tm()},enumerable:!0,configurable:!0}),e}(nm),om=function(){function n(n){this._cd=n}return Object.defineProperty(n.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),n}(),rm=function(n){function e(e){return n.call(this,e)||this}return Object(s.__extends)(e,n),e}(om),im=function(n){function e(e){return n.call(this,e)||this}return Object(s.__extends)(e,n),e}(om);function am(n){return null==n||0===n.length}var um=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/,sm=function(){function n(){}return n.min=function(n){return function(e){if(am(e.value)||am(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}},n.max=function(n){return function(e){if(am(e.value)||am(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}},n.required=function(n){return am(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return am(n.value)?null:um.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(e){if(am(e.value))return null;var t=e.value?e.value.length:0;return t<n?{minlength:{requiredLength:n,actualLength:t}}:null}},n.maxLength=function(n){return function(e){var t=e.value?e.value.length:0;return t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}},n.pattern=function(e){return e?("string"==typeof e?(l="","^"!==e.charAt(0)&&(l+="^"),l+=e,"$"!==e.charAt(e.length-1)&&(l+="$"),t=new RegExp(l)):(l=e.toString(),t=e),function(n){if(am(n.value))return null;var e=n.value;return t.test(e)?null:{pattern:{requiredPattern:l,actualValue:e}}}):n.nullValidator;var t,l},n.nullValidator=function(n){return null},n.compose=function(n){if(!n)return null;var e=n.filter(dm);return 0==e.length?null:function(n){return pm(function(n,t){return e.map(function(e){return e(n)})}(n))}},n.composeAsync=function(n){if(!n)return null;var e=n.filter(dm);return 0==e.length?null:function(n){var t=function(n,t){return e.map(function(e){return e(n)})}(n).map(cm);return Object(ns.a)(t).pipe(Object(P.a)(pm))}},n}();function dm(n){return null!=n}function cm(n){var e=Object(o["\u0275isPromise"])(n)?Object(O.a)(n):n;if(!Object(o["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function pm(n){var e=n.reduce(function(n,e){return null!=e?Object(s.__assign)({},n,e):n},{});return 0===Object.keys(e).length?null:e}function fm(n){return n.validate?function(e){return n.validate(e)}:n}function hm(n){return n.validate?function(e){return n.validate(e)}:n}var mm=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),vm=function(){function n(){this._accessors=[]}return n.prototype.add=function(n,e){this._accessors.push([n,e])},n.prototype.remove=function(n){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===n)return void this._accessors.splice(e,1)},n.prototype.select=function(n){var e=this;this._accessors.forEach(function(t){e._isSameGroup(t,n)&&t[1]!==n&&t[1].fireUncheck(n.value)})},n.prototype._isSameGroup=function(n,e){return!!n[0].control&&n[0]._parent===e._control._parent&&n[1].name===e.name},n}(),gm=function(){function n(n,e,t,l){this._renderer=n,this._elementRef=e,this._registry=t,this._injector=l,this.onChange=function(){},this.onTouched=function(){}}return n.prototype.ngOnInit=function(){this._control=this._injector.get(lm),this._checkName(),this._registry.add(this._control,this)},n.prototype.ngOnDestroy=function(){this._registry.remove(this)},n.prototype.writeValue=function(n){this._state=n===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},n.prototype.registerOnChange=function(n){var e=this;this._fn=n,this.onChange=function(){n(e.value),e._registry.select(e)}},n.prototype.fireUncheck=function(n){this.writeValue(n)},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},n.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 ')},n}(),bm=function(){function n(n,e){this._renderer=n,this._elementRef=e,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(n))},n.prototype.registerOnChange=function(n){this.onChange=function(e){n(""==e?null:parseFloat(e))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),_m='\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 });',ym='\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 });',wm='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',Cm=function(){function n(){}return n.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 "+_m)},n.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 '+ym+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+wm)},n.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+_m)},n.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 "+ym)},n.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 });')},n.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 ")},n.ngModelWarning=function(n){console.warn("\n It looks like you're using ngModel on the same form field as "+n+". \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"===n?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},n}();function xm(n,e){return Object(s.__spread)(e.path,[n])}function Sm(n,e){n||Rm(e,"Cannot find control with"),e.valueAccessor||Rm(e,"No value accessor for form control with"),n.validator=sm.compose([n.validator,e.validator]),n.asyncValidator=sm.composeAsync([n.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(n.value),function(n,e){e.valueAccessor.registerOnChange(function(t){n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&km(n,e)})}(n,e),function(n,e){n.registerOnChange(function(n,t){e.valueAccessor.writeValue(n),t&&e.viewToModelUpdate(n)})}(n,e),function(n,e){e.valueAccessor.registerOnTouched(function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&km(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),e.valueAccessor.setDisabledState&&n.registerOnDisabledChange(function(n){e.valueAccessor.setDisabledState(n)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return n.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return n.updateValueAndValidity()})})}function km(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Em(n,e){null==n&&Rm(e,"Cannot find control with"),n.validator=sm.compose([n.validator,e.validator]),n.asyncValidator=sm.composeAsync([n.asyncValidator,e.asyncValidator])}function Tm(n){return Rm(n,"There is no FormControl instance attached to form control element with")}function Rm(n,e){var t;throw t=n.path.length>1?"path: '"+n.path.join(" -> ")+"'":n.path[0]?"name: '"+n.path+"'":"unspecified name attribute",new Error(e+" "+t)}function Im(n){return null!=n?sm.compose(n.map(fm)):null}function Dm(n){return null!=n?sm.composeAsync(n.map(hm)):null}function Om(n,e){if(!n.hasOwnProperty("model"))return!1;var t=n.model;return!!t.isFirstChange()||!Object(o["\u0275looseIdentical"])(e,t.currentValue)}var Fm=[Xh,bm,mm,function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=o["\u0275looseIdentical"]}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){this.value=n;var e=this._getOptionId(n);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var t=function(n,e){return null==n?""+e:(e&&"object"==typeof e&&(e="Object"),(n+": "+e).slice(0,50))}(e,n);this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){e.value=e._getOptionValue(t),n(e.value)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(){return(this._idCounter++).toString()},n.prototype._getOptionId=function(n){var e,t;try{for(var l=Object(s.__values)(Array.from(this._optionMap.keys())),o=l.next();!o.done;o=l.next()){var r=o.value;if(this._compareWith(this._optionMap.get(r),n))return r}}catch(i){e={error:i}}finally{try{o&&!o.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e):n},n}(),function(){function n(n,e){this._renderer=n,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=o["\u0275looseIdentical"]}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){var e,t=this;if(this.value=n,Array.isArray(n)){var l=n.map(function(n){return t._getOptionId(n)});e=function(n,e){n._setSelected(l.indexOf(e.toString())>-1)}}else e=function(n,e){n._setSelected(!1)};this._optionMap.forEach(e)},n.prototype.registerOnChange=function(n){var e=this;this.onChange=function(t){var l=[];if(t.hasOwnProperty("selectedOptions"))for(var o=t.selectedOptions,r=0;r<o.length;r++){var i=o.item(r),a=e._getOptionValue(i.value);l.push(a)}else for(o=t.options,r=0;r<o.length;r++)(i=o.item(r)).selected&&(a=e._getOptionValue(i.value),l.push(a));e.value=l,n(l)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(n){var e=(this._idCounter++).toString();return this._optionMap.set(e,n),e},n.prototype._getOptionId=function(n){var e,t;try{for(var l=Object(s.__values)(Array.from(this._optionMap.keys())),o=l.next();!o.done;o=l.next()){var r=o.value;if(this._compareWith(this._optionMap.get(r)._value,n))return r}}catch(i){e={error:i}}finally{try{o&&!o.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}return null},n.prototype._getOptionValue=function(n){var e=function(n){return n.split(":")[0]}(n);return this._optionMap.has(e)?this._optionMap.get(e)._value:n},n}(),gm];function Nm(n,e){n._syncPendingControls(),e.forEach(function(n){var e=n.control;"submit"===e.updateOn&&e._pendingChange&&(n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Mm(n,e){if(!e)return null;Array.isArray(e)||Rm(n,"Value accessor was not provided as an array for form control with");var t=void 0,l=void 0,o=void 0;return e.forEach(function(e){var r;e.constructor===Jh?t=e:(r=e,Fm.some(function(n){return r.constructor===n})?(l&&Rm(n,"More than one built-in value accessor matches form control with"),l=e):(o&&Rm(n,"More than one custom value accessor matches form control with"),o=e))}),o||l||t||(Rm(n,"No valid value accessor for form control with"),null)}function Am(n,e){var t=n.indexOf(e);t>-1&&n.splice(t,1)}function qm(n){var e=jm(n)?n.validators:n;return Array.isArray(e)?Im(e):e||null}function Pm(n,e){var t=jm(e)?e.asyncValidators:n;return Array.isArray(t)?Dm(t):t||null}function jm(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var Lm=function(){function n(n,e){this.validator=n,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),n.prototype.setValidators=function(n){this.validator=qm(n)},n.prototype.setAsyncValidators=function(n){this.asyncValidator=Pm(n)},n.prototype.clearValidators=function(){this.validator=null},n.prototype.clearAsyncValidators=function(){this.asyncValidator=null},n.prototype.markAsTouched=function(n){void 0===n&&(n={}),this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)},n.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(n){return n.markAllAsTouched()})},n.prototype.markAsUntouched=function(n){void 0===n&&(n={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype.markAsDirty=function(n){void 0===n&&(n={}),this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)},n.prototype.markAsPristine=function(n){void 0===n&&(n={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype.markAsPending=function(n){void 0===n&&(n={}),this.status="PENDING",!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)},n.prototype.disable=function(n){void 0===n&&(n={});var e=this._parentMarkedDirty(n.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(s.__assign)({},n,{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(s.__assign)({},n,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(n){return n(!0)})},n.prototype.enable=function(n){void 0===n&&(n={});var e=this._parentMarkedDirty(n.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(Object(s.__assign)({},n,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object(s.__assign)({},n,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(n){return n(!1)})},n.prototype._updateAncestors=function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},n.prototype.setParent=function(n){this._parent=n},n.prototype.updateValueAndValidity=function(n){void 0===n&&(n={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)},n.prototype._updateTreeValidity=function(n){void 0===n&&(n={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(n)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})},n.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},n.prototype._runValidator=function(){return this.validator?this.validator(this):null},n.prototype._runAsyncValidator=function(n){var e=this;if(this.asyncValidator){this.status="PENDING";var t=cm(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(function(t){return e.setErrors(t,{emitEvent:n})})}},n.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},n.prototype.setErrors=function(n,e){void 0===e&&(e={}),this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)},n.prototype.get=function(n){return function(n,e,t){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(n,e){return n instanceof Bm?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof zm&&n.at(e)||null},n))}(this,n)},n.prototype.getError=function(n,e){var t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null},n.prototype.hasError=function(n,e){return!!this.getError(n,e)},Object.defineProperty(n.prototype,"root",{get:function(){for(var n=this;n._parent;)n=n._parent;return n},enumerable:!0,configurable:!0}),n.prototype._updateControlsErrors=function(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)},n.prototype._initObservables=function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter},n.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},n.prototype._anyControlsHaveStatus=function(n){return this._anyControls(function(e){return e.status===n})},n.prototype._anyControlsDirty=function(){return this._anyControls(function(n){return n.dirty})},n.prototype._anyControlsTouched=function(){return this._anyControls(function(n){return n.touched})},n.prototype._updatePristine=function(n){void 0===n&&(n={}),this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype._updateTouched=function(n){void 0===n&&(n={}),this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype._isBoxedValue=function(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n},n.prototype._registerOnCollectionChange=function(n){this._onCollectionChange=n},n.prototype._setUpdateStrategy=function(n){jm(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)},n.prototype._parentMarkedDirty=function(n){return!n&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},n}(),Vm=function(n){function e(e,t,l){void 0===e&&(e=null);var o=n.call(this,qm(t),Pm(l,t))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(t),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(s.__extends)(e,n),e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(n){return n(t.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){void 0===e&&(e={}),this.setValue(n,e)},e.prototype.reset=function(n,e){void 0===n&&(n=null),void 0===e&&(e={}),this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(n){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(n){this._onChange.push(n)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(n){this._onDisabledChange.push(n)},e.prototype._forEachChild=function(n){},e.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))},e.prototype._applyFormState=function(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n},e}(Lm),Bm=function(n){function e(e,t,l){var o=n.call(this,qm(t),Pm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(s.__extends)(e,n),e.prototype.registerControl=function(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(n,e){this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled},e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),Object.keys(n).forEach(function(l){t._throwIfControlMissing(l),t.controls[l].setValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),Object.keys(n).forEach(function(l){t.controls[l]&&t.controls[l].patchValue(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n={}),void 0===e&&(e={}),this._forEachChild(function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(n,e,t){return n[t]=e instanceof Vm?e.value:e.getRawValue(),n})},e.prototype._syncPendingControls=function(){var n=this._reduceChildren(!1,function(n,e){return!!e._syncPendingControls()||n});return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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[n])throw new Error("Cannot find form control with name: "+n+".")},e.prototype._forEachChild=function(n){var e=this;Object.keys(this.controls).forEach(function(t){return n(e.controls[t],t)})},e.prototype._setUpControls=function(){var n=this;this._forEachChild(function(e){e.setParent(n),e._registerOnCollectionChange(n._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(n){var e=this,t=!1;return this._forEachChild(function(l,o){t=t||e.contains(o)&&n(l)}),t},e.prototype._reduceValue=function(){var n=this;return this._reduceChildren({},function(e,t,l){return(t.enabled||n.disabled)&&(e[l]=t.value),e})},e.prototype._reduceChildren=function(n,e){var t=n;return this._forEachChild(function(n,l){t=e(t,n,l)}),t},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=Object(s.__values)(Object.keys(this.controls)),l=t.next();!l.done;l=t.next())if(this.controls[l.value].enabled)return!1}catch(o){n={error:o}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control with name: '"+t+"'.")})},e}(Lm),zm=function(n){function e(e,t,l){var o=n.call(this,qm(t),Pm(l,t))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(t),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(s.__extends)(e,n),e.prototype.at=function(n){return this.controls[n]},e.prototype.push=function(n){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(n,e){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),this.updateValueAndValidity()},e.prototype.setControl=function(n,e){this.controls[n]&&this.controls[n]._registerOnCollectionChange(function(){}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(n,e){var t=this;void 0===e&&(e={}),this._checkAllValuesPresent(n),n.forEach(function(n,l){t._throwIfControlMissing(l),t.at(l).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(n,e){var t=this;void 0===e&&(e={}),n.forEach(function(n,l){t.at(l)&&t.at(l).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(n,e){void 0===n&&(n=[]),void 0===e&&(e={}),this._forEachChild(function(t,l){t.reset(n[l],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map(function(n){return n instanceof Vm?n.value:n.getRawValue()})},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild(function(n){return n._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var n=this.controls.reduce(function(n,e){return!!e._syncPendingControls()||n},!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n},e.prototype._throwIfControlMissing=function(n){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(n))throw new Error("Cannot find form control at index "+n)},e.prototype._forEachChild=function(n){this.controls.forEach(function(e,t){n(e,t)})},e.prototype._updateValue=function(){var n=this;this.value=this.controls.filter(function(e){return e.enabled||n.disabled}).map(function(n){return n.value})},e.prototype._anyControls=function(n){return this.controls.some(function(e){return e.enabled&&n(e)})},e.prototype._setUpControls=function(){var n=this;this._forEachChild(function(e){return n._registerControl(e)})},e.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control at index: "+t+".")})},e.prototype._allControlsDisabled=function(){var n,e;try{for(var t=Object(s.__values)(this.controls),l=t.next();!l.done;l=t.next())if(l.value.enabled)return!1}catch(o){n={error:o}}finally{try{l&&!l.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)},e}(Lm),Um=function(){return Promise.resolve(null)}(),Hm=function(n){function e(e,t){var l=n.call(this)||this;return l.submitted=!1,l._directives=[],l.ngSubmit=new o.EventEmitter,l.form=new Bm({},Im(e),Dm(t)),l}return Object(s.__extends)(e,n),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(n){var e=this;Um.then(function(){var t=e._findContainer(n.path);n.control=t.registerControl(n.name,n.control),Sm(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(n)})},e.prototype.getControl=function(n){return this.form.get(n.path)},e.prototype.removeControl=function(n){var e=this;Um.then(function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name),Am(e._directives,n)})},e.prototype.addFormGroup=function(n){var e=this;Um.then(function(){var t=e._findContainer(n.path),l=new Bm({});Em(l,n),t.registerControl(n.name,l),l.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(n){var e=this;Um.then(function(){var t=e._findContainer(n.path);t&&t.removeControl(n.name)})},e.prototype.getFormGroup=function(n){return this.form.get(n.path)},e.prototype.updateModel=function(n,e){var t=this;Um.then(function(){t.form.get(n.path).setValue(e)})},e.prototype.setValue=function(n){this.control.setValue(n)},e.prototype.onSubmit=function(n){return this.submitted=!0,Nm(this.form,this._directives),this.ngSubmit.emit(n),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(n){return n.pop(),n.length?this.form.get(n):this.form},e}(em),Zm=function(){function n(){}return n.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 '+_m+'\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 ')},n.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 "+ym+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+wm)},n.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}">')},n.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 "+ym+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+wm)},n.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},n}(),Wm=new o.InjectionToken("NgFormSelectorWarning"),Gm=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return xm(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Im(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(em),Km=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}var t;return Object(s.__extends)(e,n),t=e,e.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof Hm||Zm.modelGroupParentException()},e}(Gm),Ym=function(){return Promise.resolve(null)}(),$m=function(n){function e(e,t,l,r){var i=n.call(this)||this;return i.control=new Vm,i._registered=!1,i.update=new o.EventEmitter,i._parent=e,i._rawValidators=t||[],i._rawAsyncValidators=l||[],i.valueAccessor=Mm(i,r),i}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),Om(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?xm(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Im(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dm(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){Sm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Km)&&this._parent instanceof Gm?Zm.formGroupNameException():this._parent instanceof Km||this._parent instanceof Hm||Zm.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Zm.missingNameException()},e.prototype._updateValue=function(n){var e=this;Ym.then(function(){e.control.setValue(n,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(n){var e=this,t=n.isDisabled.currentValue,l=""===t||t&&"false"!==t;Ym.then(function(){l&&!e.control.disabled?e.control.disable():!l&&e.control.disabled&&e.control.enable()})},e}(lm),Xm=function(){return function(){}}(),Qm=new o.InjectionToken("NgModelWithFormControlWarning"),Jm=function(n){function e(e,t){var l=n.call(this)||this;return l._validators=e,l._asyncValidators=t,l.submitted=!1,l.directives=[],l.form=null,l.ngSubmit=new o.EventEmitter,l}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(n){var e=this.form.get(n.path);return Sm(e,n),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),e},e.prototype.getControl=function(n){return this.form.get(n.path)},e.prototype.removeControl=function(n){Am(this.directives,n)},e.prototype.addFormGroup=function(n){var e=this.form.get(n.path);Em(e,n),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(n){},e.prototype.getFormGroup=function(n){return this.form.get(n.path)},e.prototype.addFormArray=function(n){var e=this.form.get(n.path);Em(e,n),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(n){},e.prototype.getFormArray=function(n){return this.form.get(n.path)},e.prototype.updateModel=function(n,e){this.form.get(n.path).setValue(e)},e.prototype.onSubmit=function(n){return this.submitted=!0,Nm(this.form,this.directives),this.ngSubmit.emit(n),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},e.prototype._updateDomValue=function(){var n=this;this.directives.forEach(function(e){var t=n.form.get(e.path);e.control!==t&&(function(n,e){e.valueAccessor.registerOnChange(function(){return Tm(e)}),e.valueAccessor.registerOnTouched(function(){return Tm(e)}),e._rawValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)}),n&&n._clearChangeFns()}(e.control,e),t&&Sm(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var n=this;this.form._registerOnCollectionChange(function(){return n._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var n=Im(this._validators);this.form.validator=sm.compose([this.form.validator,n]);var e=Dm(this._asyncValidators);this.form.asyncValidator=sm.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Cm.missingFormException()},e}(em),nv=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}return Object(s.__extends)(e,n),e.prototype._checkParentType=function(){tv(this._parent)&&Cm.groupParentException()},e}(Gm),ev=function(n){function e(e,t,l){var o=n.call(this)||this;return o._parent=e,o._validators=t,o._asyncValidators=l,o}return Object(s.__extends)(e,n),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return xm(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Im(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dm(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){tv(this._parent)&&Cm.arrayParentException()},e}(em);function tv(n){return!(n instanceof nv||n instanceof Jm||n instanceof ev)}var lv=function(n){function e(e,t,l,r,i){var a=n.call(this)||this;return a._ngModelWarningConfig=i,a._added=!1,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._parent=e,a._rawValidators=t||[],a._rawAsyncValidators=l||[],a.valueAccessor=Mm(a,r),a}var t;return Object(s.__extends)(e,n),t=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(n){Cm.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(n){var e,l;this._added||this._setUpControl(),Om(n,this.viewModel)&&("formControlName",e=t,this,l=this._ngModelWarningConfig,Object(o.isDevMode)()&&"never"!==l&&((null!==l&&"once"!==l||e._ngModelWarningSentOnce)&&("always"!==l||this._ngModelWarningSent)||(Cm.ngModelWarning("formControlName"),e._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},Object.defineProperty(e.prototype,"path",{get:function(){return xm(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Im(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Dm(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof nv)&&this._parent instanceof Gm?Cm.ngModelGroupException():this._parent instanceof nv||this._parent instanceof Jm||this._parent instanceof ev||Cm.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e._ngModelWarningSentOnce=!1,e}(lm),ov=function(){return function(){}}(),rv=function(){function n(){}return n.prototype.group=function(n,e){void 0===e&&(e=null);var t=this._reduceControls(n),l=null,o=null,r=void 0;return null!=e&&(function(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(e)?(l=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(l=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null)),new Bm(t,{asyncValidators:o,updateOn:r,validators:l})},n.prototype.control=function(n,e,t){return new Vm(n,e,t)},n.prototype.array=function(n,e,t){var l=this,o=n.map(function(n){return l._createControl(n)});return new zm(o,e,t)},n.prototype._reduceControls=function(n){var e=this,t={};return Object.keys(n).forEach(function(l){t[l]=e._createControl(n[l])}),t},n.prototype._createControl=function(n){return n instanceof Vm||n instanceof Bm||n instanceof zm?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)},n}(),iv=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Wm,useValue:n.warnOnDeprecatedNgFormSelector}]}},n}(),av=function(){function n(){}var e;return e=n,n.withConfig=function(n){return{ngModule:e,providers:[{provide:Qm,useValue:n.warnOnNgModelWithFormControl}]}},n}(),uv=function(){function n(n,e,t,l){this.dialogRef=n,this.electronService=e,this.serverService=t,this.data=l,this.authorizations=[{key:"none",name:"No authorization"},{key:"basic",name:"Basic authorization"}],this.locations=[],this.serverForm=new Bm({name:new Vm("",[sm.required]),location:new Vm(""),path:new Vm(""),ubridge_path:new Vm(""),host:new Vm("",[sm.required]),port:new Vm("",[sm.required,sm.min(1)]),authorization:new Vm("none"),login:new Vm(""),password:new Vm("")})}return n.prototype.getLocations=function(){return s.__awaiter(this,void 0,void 0,function(){var n,e;return s.__generator(this,function(t){switch(t.label){case 0:return[4,this.numberOfLocalServers()];case 1:return n=t.sent(),e=[],this.electronService.isElectronApp&&0===n&&e.push({key:"local",name:"Local"}),e.push({key:"remote",name:"Remote"}),[2,e]}})})},n.prototype.getDefaultLocation=function(){return s.__awaiter(this,void 0,void 0,function(){var n;return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.numberOfLocalServers()];case 1:return n=e.sent(),this.electronService.isElectronApp&&0===n?[2,"local"]:[2,"remote"]}})})},n.prototype.numberOfLocalServers=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(n){switch(n.label){case 0:return[4,this.serverService.findAll()];case 1:return[2,n.sent().filter(function(n){return"local"===n.location}).length]}})})},n.prototype.getDefaultHost=function(){return"127.0.0.1"},n.prototype.getDefaultPort=function(){return 3080},n.prototype.getDefaultLocalServerPath=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(n){switch(n.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getLocalServerPath()]:[3,2];case 1:return[2,n.sent()];case 2:return[2]}})})},n.prototype.getDefaultUbridgePath=function(){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(n){switch(n.label){case 0:return this.electronService.isElectronApp?[4,this.electronService.remote.require("./local-server.js").getUbridgePath()]:[3,2];case 1:return[2,n.sent()];case 2:return[2]}})})},n.prototype.ngOnInit=function(){return s.__awaiter(this,void 0,void 0,function(){var n,e,t,l,o=this;return s.__generator(this,function(r){switch(r.label){case 0:return n=this,[4,this.getLocations()];case 1:return n.locations=r.sent(),[4,this.getDefaultLocalServerPath()];case 2:return e=r.sent(),[4,this.getDefaultUbridgePath()];case 3:return t=r.sent(),this.serverForm.get("location").valueChanges.subscribe(function(n){var l=o.serverForm.get("path"),r=o.serverForm.get("ubridge_path");"local"===n?(l.setValue(e),l.setValidators([sm.required]),r.setValue(t),r.setValidators([sm.required])):(l.setValue(""),l.clearValidators(),r.setValue(""),r.clearValidators()),[l,r].forEach(function(n){n.updateValueAndValidity({onlySelf:!0})})}),this.serverForm.get("authorization").valueChanges.subscribe(function(n){var e=o.serverForm.get("login"),t=o.serverForm.get("password");"none"===n?(e.clearValidators(),t.clearValidators()):(e.setValidators([sm.required]),t.setValidators([sm.required])),[e,t].forEach(function(n){n.updateValueAndValidity({onlySelf:!0})})}),[4,this.getDefaultLocation()];case 4:return l=r.sent(),this.serverForm.get("location").setValue(l),this.serverForm.get("host").setValue(this.getDefaultHost()),this.serverForm.get("port").setValue(this.getDefaultPort()),this.serverForm.get("authorization").setValue("none"),[2]}})})},n.prototype.onAddClick=function(){if(this.serverForm.valid){var n=Object.assign({},this.serverForm.value);this.dialogRef.close(n)}},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),sv=function(){function n(n,e,t,l,o){this.dialog=n,this.serverService=e,this.serverDatabase=t,this.serverManagement=l,this.changeDetector=o,this.displayedColumns=["id","name","location","ip","port","actions"]}return n.prototype.ngOnInit=function(){var n=this,e=this.serverManagement.getRunningServers();this.serverService.findAll().then(function(t){t.forEach(function(n){e.findIndex(function(e){return n.name===e})>=0&&(n.status="running")}),n.serverDatabase.addServers(t)}),this.dataSource=new dv(this.serverDatabase),this.serverStatusSubscription=this.serverManagement.serverStatusChanged.subscribe(function(e){var t=n.serverDatabase.find(e.serverName);t&&("starting"===e.status&&(t.status="starting"),"stopped"===e.status&&(t.status="stopped"),"errored"===e.status&&(t.status="stopped"),"started"===e.status&&(t.status="running"),n.serverDatabase.update(t),n.changeDetector.detectChanges())})},n.prototype.ngOnDestroy=function(){this.serverStatusSubscription.unsubscribe()},n.prototype.createModal=function(){var n=this;this.dialog.open(uv,{width:"350px",autoFocus:!1}).afterClosed().subscribe(function(e){e&&n.serverService.create(e).then(function(e){n.serverDatabase.addServer(e)})})},n.prototype.getServerStatus=function(n){if("local"===n.location)return void 0===n.status?"stopped":n.status},n.prototype.deleteServer=function(n){var e=this;this.serverService.delete(n).then(function(){e.serverDatabase.remove(n)})},n.prototype.startServer=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.serverManagement.start(n)];case 1:return e.sent(),[2]}})})},n.prototype.stopServer=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.serverManagement.stop(n)];case 1:return e.sent(),[2]}})})},n}(),dv=function(n){function e(e){var t=n.call(this)||this;return t.serverDatabase=e,t}return s.__extends(e,n),e.prototype.connect=function(){var n=this;return Object(Ts.a)(this.serverDatabase.dataChange).pipe(Object(P.a)(function(){return n.serverDatabase.data}))},e.prototype.disconnect=function(){},e}(qs),cv=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}}();function pv(){throw Error("Attempting to attach dialog content after content is already attached")}var fv=function(n){function e(e,t,l,r,i){var a=n.call(this)||this;return a._elementRef=e,a._focusTrapFactory=t,a._changeDetectorRef=l,a._document=r,a._config=i,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new o.EventEmitter,a._ariaLabelledBy=i.ariaLabelledBy||null,a}return Object(s.__extends)(e,n),e.prototype.attachComponentPortal=function(n){return this._portalOutlet.hasAttached()&&pv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._portalOutlet.hasAttached()&&pv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},e.prototype._trapFocus=function(){var n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=this._document.activeElement;e===n||n.contains(e)||n.focus()}},e.prototype._restoreFocus=function(){var n=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&n&&"function"==typeof n.focus&&n.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var n=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return n._elementRef.nativeElement.focus()}))},e.prototype._onAnimationDone=function(n){"enter"===n.toState?this._trapFocus():"exit"===n.toState&&this._restoreFocus(),this._animationStateChanged.emit(n)},e.prototype._onAnimationStart=function(n){this._animationStateChanged.emit(n)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(Cs),hv=0,mv=function(){function n(n,e,t,l){var o=this;void 0===l&&(l="mat-dialog-"+hv++),this._overlayRef=n,this._containerInstance=e,this.id=l,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new A.b,this._afterClosed=new A.b,this._beforeClosed=new A.b,e._id=l,e._animationStateChanged.pipe(Object(K.a)(function(n){return"done"===n.phaseName&&"enter"===n.toState}),Object(Z.a)(1)).subscribe(function(){o._afterOpened.next(),o._afterOpened.complete()}),e._animationStateChanged.pipe(Object(K.a)(function(n){return"done"===n.phaseName&&"exit"===n.toState}),Object(Z.a)(1)).subscribe(function(){clearTimeout(o._closeFallbackTimeout),o._overlayRef.dispose()}),n.detachments().subscribe(function(){o._beforeClosed.next(o._result),o._beforeClosed.complete(),o._afterClosed.next(o._result),o._afterClosed.complete(),o.componentInstance=null,o._overlayRef.dispose()}),n.keydownEvents().pipe(Object(K.a)(function(n){return n.keyCode===Co&&!o.disableClose&&!xo(n)})).subscribe(function(n){n.preventDefault(),o.close()})}return n.prototype.close=function(n){var e=this;this._result=n,this._containerInstance._animationStateChanged.pipe(Object(K.a)(function(n){return"start"===n.phaseName}),Object(Z.a)(1)).subscribe(function(t){e._beforeClosed.next(n),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout(function(){e._overlayRef.dispose()},t.totalTime+100)}),this._containerInstance._startExitAnimation()},n.prototype.afterOpened=function(){return this._afterOpened.asObservable()},n.prototype.afterClosed=function(){return this._afterClosed.asObservable()},n.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},n.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},n.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},n.prototype.updatePosition=function(n){var e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},n.prototype.updateSize=function(n,e){return void 0===n&&(n=""),void 0===e&&(e=""),this._getPositionStrategy().width(n).height(e),this._overlayRef.updatePosition(),this},n.prototype.addPanelClass=function(n){return this._overlayRef.addPanelClass(n),this},n.prototype.removePanelClass=function(n){return this._overlayRef.removePanelClass(n),this},n.prototype.afterOpen=function(){return this.afterOpened()},n.prototype.beforeClose=function(){return this.beforeClosed()},n.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},n}(),vv=new o.InjectionToken("MatDialogData"),gv=new o.InjectionToken("mat-dialog-default-options"),bv=new o.InjectionToken("mat-dialog-scroll-strategy");function _v(n){return function(){return n.scrollStrategies.block()}}var yv=function(){function n(n,e,t,l,o,r,i){var a=this;this._overlay=n,this._injector=e,this._location=t,this._defaultOptions=l,this._parentDialog=r,this._overlayContainer=i,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A.b,this._afterOpenedAtThisLevel=new A.b,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(M.a)(function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Object(W.a)(void 0))}),this._scrollStrategy=o}return Object.defineProperty(n.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_afterAllClosed",{get:function(){var n=this._parentDialog;return n?n._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),n.prototype.open=function(n,e){var t=this;if((e=function(n,e){return Object(s.__assign)({},e,n)}(e,this._defaultOptions||new cv)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var l=this._createOverlay(e),o=this._attachDialogContainer(l,e),r=this._attachDialogContent(n,o,l,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(function(){return t._removeOpenDialog(r)}),this.afterOpened.next(r),r},n.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},n.prototype.getDialogById=function(n){return this.openDialogs.find(function(e){return e.id===n})},n.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},n.prototype._createOverlay=function(n){var e=this._getOverlayConfig(n);return this._overlay.create(e)},n.prototype._getOverlayConfig=function(n){var e=new Xs({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(e.backdropClass=n.backdropClass),e},n.prototype._attachDialogContainer=function(n,e){var t=new Es(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[cv,e]])),l=new ys(fv,e.viewContainerRef,t);return n.attach(l).instance},n.prototype._attachDialogContent=function(n,e,t,l){var r=new mv(t,e,this._location,l.id);if(l.hasBackdrop&&t.backdropClick().subscribe(function(){r.disableClose||r.close()}),n instanceof o.TemplateRef)e.attachTemplatePortal(new ws(n,null,{$implicit:l.data,dialogRef:r}));else{var i=this._createInjector(l,r,e),a=e.attachComponentPortal(new ys(n,void 0,i));r.componentInstance=a.instance}return r.updateSize(l.width,l.height).updatePosition(l.position),r},n.prototype._createInjector=function(n,e,t){var l=n&&n.viewContainerRef&&n.viewContainerRef.injector,o=new WeakMap([[fv,t],[vv,n.data],[mv,e]]);return!n.direction||l&&l.get(Ar,null)||o.set(Ar,{value:n.direction,change:Object(D.a)()}),new Es(l||this._injector,o)},n.prototype._removeOpenDialog=function(n){var e=this.openDialogs.indexOf(n);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(n,e){n?e.setAttribute("aria-hidden",n):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},n.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var e=n.parentElement.children,t=e.length-1;t>-1;t--){var l=e[t];l===n||"SCRIPT"===l.nodeName||"STYLE"===l.nodeName||l.hasAttribute("aria-live")||(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}},n.prototype._closeDialogs=function(n){for(var e=n.length;e--;)n[e].close()},n}(),wv=0,Cv=function(){function n(n,e,t){this._dialogRef=n,this._elementRef=e,this._dialog=t,this.id="mat-dialog-title-"+wv++}return n.prototype.ngOnInit=function(){var n=this;this._dialogRef||(this._dialogRef=function(n,e){for(var t=n.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?e.find(function(n){return n.id===t.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=n._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=n.id)})},n}(),xv=function(){return function(){}}(),Sv=function(){return function(){}}(),kv=function(){return function(){}}(),Ev=o["\u0275crt"]({encapsulation:0,styles:[[".buttons-bar[_ngcontent-%COMP%]{padding-top:22px}"]],data:{}});function Tv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" ID "]))],null,null)}function Rv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.id)})}function Iv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function Dv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"a",[["class","table-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l},null,null)),o["\u0275did"](1,671744,null,0,Dl,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](2,3),(n()(),o["\u0275ted"](3,null,["",""]))],function(n,e){var t=n(e,2,0,"/server",e.parent.context.$implicit.id,"projects");n(e,1,0,t)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).target,o["\u0275nov"](e,1).href),n(e,3,0,e.parent.context.$implicit.name)})}function Ov(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.parent.context.$implicit.name)})}function Fv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,Dv)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ov)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,3,0,"running"===t.getServerStatus(e.context.$implicit)||"remote"===e.context.$implicit.location||"bundled"===e.context.$implicit.location),n(e,5,0,"running"!=t.getServerStatus(e.context.$implicit)&&"remote"!==e.context.$implicit.location&&"bundled"!==e.context.$implicit.location)},null)}function Nv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Location "]))],null,null)}function Mv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.location)})}function Av(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Host "]))],null,null)}function qv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.host)})}function Pv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port "]))],null,null)}function jv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.port)})}function Lv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function Vv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.startServer(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["aria-label","Start server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function Bv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.stopServer(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["aria-label","Stop server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function zv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,zd,Ld)),o["\u0275did"](1,49152,null,0,Pd,[o.ElementRef,vo,[2,I.DOCUMENT],[2,su],qd],{diameter:[0,"diameter"]},null)],function(n,e){n(e,1,0,24)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._noopAnimations,o["\u0275nov"](e,1).diameter,o["\u0275nov"](e,1).diameter)})}function Uv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,Vv)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Bv)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,zv)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](8,0,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.deleteServer(n.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](10,0,null,0,2,"mat-icon",[["aria-label","Remove server"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](11,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"]))],function(n,e){var t=e.component;n(e,3,0,"local"===e.context.$implicit.location&&"stopped"===t.getServerStatus(e.context.$implicit)),n(e,5,0,"local"===e.context.$implicit.location&&"running"===t.getServerStatus(e.context.$implicit)),n(e,7,0,"local"===e.context.$implicit.location&&"starting"===t.getServerStatus(e.context.$implicit)),n(e,11,0)},function(n,e){n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,10,0,o["\u0275nov"](e,11).inline,"primary"!==o["\u0275nov"](e,11).color&&"accent"!==o["\u0275nov"](e,11).color&&"warn"!==o["\u0275nov"](e,11).color)})}function Hv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function Zv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function Wv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,102,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Servers"])),(n()(),o["\u0275eld"](4,0,null,null,98,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"app-server-discovery",[],null,null,null,Yh,Wh)),o["\u0275did"](6,114688,null,0,Zh,[jh,Uh,Hh],null,null),(n()(),o["\u0275eld"](7,0,null,null,91,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,90,"mat-table",[["class","mat-table"]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](10,2342912,[["table",4]],4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](15,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](17,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,5,{cell:0}),o["\u0275qud"](603979776,6,{headerCell:0}),o["\u0275qud"](603979776,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Tv)),o["\u0275did"](23,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Rv)),o["\u0275did"](26,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](28,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](30,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,8,{cell:0}),o["\u0275qud"](603979776,9,{headerCell:0}),o["\u0275qud"](603979776,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Iv)),o["\u0275did"](36,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Fv)),o["\u0275did"](39,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](41,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](43,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,11,{cell:0}),o["\u0275qud"](603979776,12,{headerCell:0}),o["\u0275qud"](603979776,13,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Nv)),o["\u0275did"](49,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[12,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Mv)),o["\u0275did"](52,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[11,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](54,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](56,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,14,{cell:0}),o["\u0275qud"](603979776,15,{headerCell:0}),o["\u0275qud"](603979776,16,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Av)),o["\u0275did"](62,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[15,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,qv)),o["\u0275did"](65,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[14,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](67,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](69,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,17,{cell:0}),o["\u0275qud"](603979776,18,{headerCell:0}),o["\u0275qud"](603979776,19,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Pv)),o["\u0275did"](75,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[18,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,jv)),o["\u0275did"](78,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[17,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](80,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](82,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,20,{cell:0}),o["\u0275qud"](603979776,21,{headerCell:0}),o["\u0275qud"](603979776,22,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Lv)),o["\u0275did"](88,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[21,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Uv)),o["\u0275did"](91,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[20,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,Hv)),o["\u0275did"](94,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,Zv)),o["\u0275did"](97,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],qc,null,[tp]),(n()(),o["\u0275eld"](99,0,null,null,3,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](100,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.createModal()&&l),l},pu,cu)),o["\u0275did"](101,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add server"]))],function(n,e){var t=e.component;n(e,6,0),n(e,10,0,t.dataSource),n(e,17,0,"id"),n(e,30,0,"name"),n(e,43,0,"location"),n(e,56,0,"ip"),n(e,69,0,"port"),n(e,82,0,"actions"),n(e,94,0,t.displayedColumns),n(e,97,0,t.displayedColumns),n(e,101,0,"primary")},function(n,e){n(e,100,0,o["\u0275nov"](e,101).disabled||null,"NoopAnimations"===o["\u0275nov"](e,101)._animationMode)})}function Gv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-server-list",[],null,null,null,Wv,Ev)),o["\u0275did"](1,245760,null,0,sv,[yv,Uh,Hh,mc,o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}var Kv=o["\u0275ccf"]("app-server-list",sv,Gv,{},{},[]),Yv=function(){function n(n,e,t,l){this.router=n,this.serverService=e,this.progressService=t,this.document=l}return n.prototype.ngOnInit=function(){var n=this;this.progressService.activate(),setTimeout(function(){n.serverService.getLocalServer(n.document.location.hostname,parseInt(n.document.location.port,10)).then(function(e){n.progressService.deactivate(),n.router.navigate(["/server",e.id,"projects"])})},100)},n}(),$v=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Xv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-progress",[],null,null,null,fc,sc)),o["\u0275did"](1,245760,null,0,uc,[ac,Rl],null,null)],function(n,e){n(e,1,0)},null)}function Qv(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-bundled-server-finder",[],null,null,null,Xv,$v)),o["\u0275did"](1,114688,null,0,Yv,[Rl,Uh,ac,I.DOCUMENT],null,null)],function(n,e){n(e,1,0)},null)}var Jv=o["\u0275ccf"]("app-bundled-server-finder",Yv,Qv,{},{},[]),ng=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.sortables=new Map,e._stateChanges=new A.b,e.start="asc",e._direction="",e.sortChange=new o.EventEmitter,e}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(n){if(Object(o.isDevMode)()&&n&&"asc"!==n&&"desc"!==n)throw function(n){return Error(n+" is not a valid sort direction ('asc' or 'desc').")}(n);this._direction=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=uo(n)},enumerable:!0,configurable:!0}),e.prototype.register=function(n){if(!n.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(n.id))throw Error("Cannot have two MatSortables with the same id ("+n.id+").");this.sortables.set(n.id,n)},e.prototype.deregister=function(n){this.sortables.delete(n.id)},e.prototype.sort=function(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})},e.prototype.getNextSortDirection=function(n){if(!n)return"";var e,t,l=(e=null!=n.disableClear?n.disableClear:this.disableClear,t=["asc","desc"],"desc"==(n.start||this.start)&&t.reverse(),e||t.push(""),t),o=l.indexOf(this.direction)+1;return o>=l.length&&(o=0),l[o]},e.prototype.ngOnInit=function(){this._markInitialized()},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(er($o(function(){return function(){}}()))),eg=function(){function n(){this.changes=new A.b,this.sortButtonLabel=function(n){return"Change sorting for "+n}}return n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}();function tg(n){return n||new eg}var lg=function(n){function e(e,t,l,o){var r=n.call(this)||this;if(r._intl=e,r._sort=l,r._columnDef=o,r._showIndicatorHint=!1,r._arrowDirection="",r._disableViewStateAnimation=!1,r.arrowPosition="after",!l)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return r._rerenderSubscription=Object(Ts.a)(l.sortChange,l._stateChanges,e.changes).subscribe(function(){r._isSorted()&&r._updateArrowDirection(),!r._isSorted()&&r._viewState&&"active"===r._viewState.toState&&(r._disableViewStateAnimation=!1,r._setAnimationTransitionState({fromState:"active",toState:r._arrowDirection})),t.markForCheck()}),r}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=uo(n)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},e.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},e.prototype._setIndicatorHintVisible=function(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))},e.prototype._setAnimationTransitionState=function(n){this._viewState=n,this._disableViewStateAnimation&&(this._viewState={toState:n.toState})},e.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var n=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(n),this._showIndicatorHint=!1}},e.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},e.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},e.prototype._getArrowViewState=function(){var n=this._viewState.fromState;return(n?n+"-to-":"")+this._viewState.toState},e.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},e.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},e.prototype._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null},e.prototype._renderArrow=function(){return!this._isDisabled()||this._isSorted()},e}($o(function(){return function(){}}())),og=function(){return function(){}}(),rg=o["\u0275crt"]({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function ig(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],function(n,e,t){var l=!0,o=n.component;return"@arrowPosition.start"===e&&(l=0!=(o._disableViewStateAnimation=!0)&&l),"@arrowPosition.done"===e&&(l=0!=(o._disableViewStateAnimation=!1)&&l),l},null,null)),(n()(),o["\u0275eld"](1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t._getArrowViewState(),t._getArrowViewState(),t._getArrowDirectionState()),n(e,2,0,t._getArrowDirectionState()),n(e,3,0,t._getArrowDirectionState()),n(e,4,0,t._getArrowDirectionState())})}function ag(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,o=n.component;return"focus"===e&&(l=!1!==o._setIndicatorHintVisible(!0)&&l),"blur"===e&&(l=!1!==o._setIndicatorHintVisible(!1)&&l),l},null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275and"](16777216,null,null,1,null,ig)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,4,0,e.component._renderArrow())},function(n,e){var t=e.component;n(e,0,0,t._isSorted(),"before"==t.arrowPosition),n(e,1,0,t._isDisabled()||null,t._intl.sortButtonLabel(t.id))})}var ug=function(){function n(n,e){this.httpServer=n,this.settingsService=e}return n.prototype.get=function(n,e){return this.httpServer.get(n,"/projects/"+e)},n.prototype.open=function(n,e){return this.httpServer.post(n,"/projects/"+e+"/open",{})},n.prototype.close=function(n,e){return this.httpServer.post(n,"/projects/"+e+"/close",{})},n.prototype.list=function(n){return this.httpServer.get(n,"/projects")},n.prototype.nodes=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/nodes")},n.prototype.links=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/links")},n.prototype.drawings=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/drawings")},n.prototype.add=function(n,e,t){return this.httpServer.post(n,"/projects",{name:e,project_id:t})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e)},n.prototype.getUploadPath=function(n,e,t){return"http://"+n.host+":"+n.port+"/v2/projects/"+e+"/import?name="+t},n.prototype.getExportPath=function(n,e){return"http://"+n.host+":"+n.port+"/v2/projects/"+e.project_id+"/export"},n.prototype.export=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/export")},n.prototype.getStatistics=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/stats")},n.prototype.duplicate=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/duplicate",{name:t})},n.prototype.notificationsPath=function(n,e){return"ws://"+n.host+":"+n.port+"/v2/projects/"+e+"/notifications/ws"},n.prototype.isReadOnly=function(n){return n.readonly?n.readonly:!this.settingsService.isExperimentalEnabled()},n}(),sg=t("YNBZ"),dg=t("EcEN"),cg=function(){function n(n,e){this.dialogRef=n,this.data=e,this.existingProject=e.existingProject}return n.prototype.ngOnInit=function(){"opened"===this.existingProject.status?(this.confirmationMessage="Project "+this.existingProject.name+" is open. You can not overwrite it.",this.isOpen=!0):this.confirmationMessage="Project "+this.existingProject.name+" already exist, overwrite it?"},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n}(),pg=function(){function n(){}return n.prototype.get=function(n){return new RegExp(/[~`!#$%\^&*+=\[\]\\';,\/{}|\\":<>\?]/).test(n.value)?{invalidName:!0}:null},n}(),fg=function(){function n(n,e,t,l,r,i){this.dialog=n,this.dialogRef=e,this.data=t,this.formBuilder=l,this.projectService=r,this.projectNameValidator=i,this.isImportEnabled=!1,this.isFinishEnabled=!1,this.isDeleteVisible=!1,this.resultMessage="The project is being imported... Please wait",this.submitted=!1,this.isFirstStepCompleted=!1,this.onImportProject=new o.EventEmitter,this.projectNameForm=this.formBuilder.group({projectName:new Vm(null,[sm.required,i.get])})}return n.prototype.ngOnInit=function(){var n=this;this.uploader=new sg.FileUploader({}),this.uploader.onAfterAddingFile=function(n){n.withCredentials=!1},this.uploader.onErrorItem=function(e,t,l,o){var r=JSON.parse(t);n.resultMessage="An error occured: "+r.message,n.isFinishEnabled=!0},this.uploader.onCompleteItem=function(e,t,l,o){n.onImportProject.emit(n.uuid),n.resultMessage="Project was imported succesfully!",n.isFinishEnabled=!0}},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.uploadProjectFile=function(n){this.projectNameForm.controls.projectName.setValue(n.target.files[0].name.split(".")[0]),this.isImportEnabled=!0,this.isDeleteVisible=!0},n.prototype.onImportClick=function(){var n=this;this.projectNameForm.invalid?this.submitted=!0:this.projectService.list(this.server).subscribe(function(e){var t=n.projectNameForm.controls.projectName.value,l=e.find(function(n){return n.name===t});l?n.openConfirmationDialog(l):n.importProject()})},n.prototype.importProject=function(){var n=this.prepareUploadPath();this.uploader.queue.forEach(function(e){return e.url=n}),this.isFirstStepCompleted=!0,this.uploader.uploadItem(this.uploader.queue[0])},n.prototype.openConfirmationDialog=function(n){var e=this;this.dialog.open(cg,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1}).afterClosed().subscribe(function(t){t&&e.projectService.close(e.server,n.project_id).subscribe(function(){e.projectService.delete(e.server,n.project_id).subscribe(function(){e.importProject()})})})},n.prototype.onNoClick=function(){this.uploader.cancelAll(),this.dialogRef.close()},n.prototype.onFinishClick=function(){this.dialogRef.close()},n.prototype.onDeleteClick=function(){this.uploader.queue.pop(),this.isImportEnabled=!1,this.isDeleteVisible=!1,this.projectNameForm.controls.projectName.setValue("")},n.prototype.prepareUploadPath=function(){return this.uuid=Object(dg.v4)(),this.projectService.getUploadPath(this.server,this.uuid,this.projectNameForm.controls.projectName.value)},n}(),hg=function(){function n(n,e,t,l,r,i,a){this.dialogRef=n,this.router=e,this.dialog=t,this.projectService=l,this.toasterService=r,this.formBuilder=i,this.projectNameValidator=a,this.onAddProject=new o.EventEmitter,this.projectNameForm=this.formBuilder.group({projectName:new Vm(null,[sm.required,a.get])})}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.onAddClick=function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(e){var t=n.projectNameForm.controls.projectName.value,l=e.find(function(n){return n.name===t});l?n.openConfirmationDialog(l):n.addProject()})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var n=this;this.uuid=Object(dg.v4)(),this.projectService.add(this.server,this.projectNameForm.controls.projectName.value,this.uuid).subscribe(function(e){n.dialogRef.close(),n.toasterService.success("Project "+e.name+" added"),n.router.navigate(["/server",n.server.id,"project",e.project_id])})},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.onAddClick()},n.prototype.openConfirmationDialog=function(n){var e=this;this.dialog.open(cg,{width:"300px",height:"150px",data:{existingProject:n},autoFocus:!1}).afterClosed().subscribe(function(t){t&&e.projectService.close(e.server,n.project_id).subscribe(function(){e.projectService.delete(e.server,n.project_id).subscribe(function(){e.addProject()})})})},n}(),mg=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.projectService=t,this.settingsService=l,this.progressService=o,this.dialog=r,this.projectDatabase=new vg,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){var n=this;this.sort.sort({id:"name",start:"asc"}),this.dataSource=new gg(this.projectDatabase,this.sort),this.route.paramMap.pipe(Object(H.a)(function(e){var t=e.get("server_id");return n.serverService.get(parseInt(t,10))})).subscribe(function(e){n.server=e,n.refresh()}),this.settings=this.settingsService.getAll()},n.prototype.refresh=function(){var n=this;this.projectService.list(this.server).subscribe(function(e){n.projectDatabase.addProjects(e)},function(e){n.progressService.setError(e)})},n.prototype.delete=function(n){var e=this;this.projectService.delete(this.server,n.project_id).subscribe(function(){e.projectDatabase.remove(n)})},n.prototype.open=function(n){var e=this;this.progressService.activate(),this.projectService.open(this.server,n.project_id).subscribe(function(){e.refresh()},function(){},function(){e.progressService.deactivate()})},n.prototype.close=function(n){var e=this;this.progressService.activate(),this.projectService.close(this.server,n.project_id).subscribe(function(){e.refresh()},function(){},function(){e.progressService.deactivate()})},n.prototype.duplicate=function(n){var e=this;this.projectService.duplicate(this.server,n.project_id,n.name).subscribe(function(){e.refresh()})},n.prototype.addBlankProject=function(){this.dialog.open(hg,{width:"400px",autoFocus:!1}).componentInstance.server=this.server},n.prototype.importProject=function(){var n=this,e=this.dialog.open(fg,{width:"400px",autoFocus:!1});e.componentInstance.server=this.server,e.afterClosed().subscribe(function(){n.refresh()})},n}(),vg=function(){function n(){this.dataChange=new E.a([])}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n.prototype.addProjects=function(n){this.dataChange.next(n)},n.prototype.remove=function(n){var e=this.data.indexOf(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data.slice()))},n}(),gg=function(n){function e(e,t){var l=n.call(this)||this;return l.projectDatabase=e,l.sort=t,l}return s.__extends(e,n),e.prototype.connect=function(){var n=this;return Ts.a.apply(void 0,[this.projectDatabase.dataChange,this.sort.sortChange]).pipe(Object(P.a)(function(){return n.sort.active&&""!==n.sort.direction?n.projectDatabase.data.sort(function(e,t){var l=e[n.sort.active],o=t[n.sort.active];return((isNaN(+l)?l:+l)<(isNaN(+o)?o:+o)?-1:1)*("asc"===n.sort.direction?1:-1)}):n.projectDatabase.data}))},e.prototype.disconnect=function(){},e}(qs),bg=o["\u0275crt"]({encapsulation:0,styles:[[".add-button[_ngcontent-%COMP%], .import-button[_ngcontent-%COMP%]{height:40px;margin:20px}"]],data:{}});function _g(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addBlankProject()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Add blank project "]))],function(n,e){n(e,1,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function yg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"button",[["class","import-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.importProject()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Import project "]))],function(n,e){n(e,1,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function wg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},ag,rg)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,lg,[eg,o.ChangeDetectorRef,[2,ng],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Name "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function Cg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,0,null,null,3,"a",[["class","table-link"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,3).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),l},null,null)),o["\u0275did"](3,671744,null,0,Dl,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](4,4),(n()(),o["\u0275ted"](5,null,["",""]))],function(n,e){var t=n(e,4,0,"/server",e.component.server.id,"project",e.context.$implicit.project_id);n(e,3,0,t)},function(n,e){n(e,2,0,o["\u0275nov"](e,3).target,o["\u0275nov"](e,3).href),n(e,5,0,e.context.$implicit.name)})}function xg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function Sg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.delete(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["aria-label","Delete project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,2,0,"Delete project"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function kg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Duplicate project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.duplicate(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["aria-label","Duplicate project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["filter_2"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,2,0,"Duplicate project"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function Eg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Open project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.open(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["aria-label","Open project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,2,0,"Open project"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function Tg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Close project"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.close(n.parent.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["aria-label","Close project"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,2,0,"Close project"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}function Rg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,Sg)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,kg)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Eg)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Tg)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,"closed"==e.context.$implicit.status),n(e,5,0,"closed"==e.context.$implicit.status),n(e,7,0,"closed"==e.context.$implicit.status),n(e,9,0,"opened"==e.context.$implicit.status)},null)}function Ig(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function Dg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function Og(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{sort:0}),(n()(),o["\u0275eld"](1,0,null,null,50,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Projects"])),(n()(),o["\u0275and"](16777216,null,null,1,null,_g)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,yg)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,0,null,null,41,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,40,"div",[["class","mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,39,"mat-table",[["class","mat-table"],["matSort",""]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](14,2342912,[["table",4]],4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,2,{_contentColumnDefs:1}),o["\u0275qud"](603979776,3,{_contentRowDefs:1}),o["\u0275qud"](603979776,4,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,5,{_contentFooterRowDefs:1}),o["\u0275did"](19,737280,[[1,4]],0,ng,[],null,null),(n()(),o["\u0275eld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](22,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,6,{cell:0}),o["\u0275qud"](603979776,7,{headerCell:0}),o["\u0275qud"](603979776,8,{footerCell:0}),o["\u0275prd"](2048,[[2,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,wg)),o["\u0275did"](28,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[7,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Cg)),o["\u0275did"](31,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](35,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,9,{cell:0}),o["\u0275qud"](603979776,10,{headerCell:0}),o["\u0275qud"](603979776,11,{footerCell:0}),o["\u0275prd"](2048,[[2,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,xg)),o["\u0275did"](41,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[10,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Rg)),o["\u0275did"](44,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,Ig)),o["\u0275did"](47,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[4,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,Dg)),o["\u0275did"](50,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],qc,null,[tp])],function(n,e){var t=e.component;n(e,7,0,t.settings.experimental_features),n(e,9,0,t.settings.experimental_features),n(e,14,0,t.dataSource),n(e,19,0),n(e,22,0,"name"),n(e,35,0,"actions"),n(e,47,0,t.displayedColumns),n(e,50,0,t.displayedColumns)},null)}function Fg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-projects",[],null,null,null,Og,bg)),o["\u0275did"](1,114688,null,0,mg,[bt,Uh,ug,T,ac,yv],null,null)],function(n,e){n(e,1,0)},null)}var Ng=o["\u0275ccf"]("app-projects",mg,Fg,{},{},[]),Mg=0,Ag=function(){function n(){this._stateChanges=new A.b,this._openCloseAllActions=new A.b,this.id="cdk-accordion-"+Mg++,this._multi=!1}return Object.defineProperty(n.prototype,"multi",{get:function(){return this._multi},set:function(n){this._multi=uo(n)},enumerable:!0,configurable:!0}),n.prototype.openAll=function(){this._openCloseAll(!0)},n.prototype.closeAll=function(){this._openCloseAll(!1)},n.prototype.ngOnChanges=function(n){this._stateChanges.next(n)},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._openCloseAll=function(n){this.multi&&this._openCloseAllActions.next(n)},n}(),qg=0,Pg=function(){function n(n,e,t){var l=this;this.accordion=n,this._changeDetectorRef=e,this._expansionDispatcher=t,this._openCloseAllSubscription=wo.a.EMPTY,this.closed=new o.EventEmitter,this.opened=new o.EventEmitter,this.destroyed=new o.EventEmitter,this.expandedChange=new o.EventEmitter,this.id="cdk-accordion-child-"+qg++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=t.listen(function(n,e){l.accordion&&!l.accordion.multi&&l.accordion.id===e&&l.id!==n&&(l.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(n.prototype,"expanded",{get:function(){return this._expanded},set:function(n){n=uo(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=uo(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},n.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},n.prototype.close=function(){this.disabled||(this.expanded=!1)},n.prototype.open=function(){this.disabled||(this.expanded=!0)},n.prototype._subscribeToOpenCloseAllActions=function(){var n=this;return this.accordion._openCloseAllActions.subscribe(function(e){n.disabled||(n.expanded=e)})},n}(),jg=function(){return function(){}}(),Lg=new o.InjectionToken("MAT_ACCORDION"),Vg=0,Bg=new o.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),zg=function(n){function e(e,t,l,r,i,a,u){var s=n.call(this,e,t,l)||this;return s._viewContainerRef=r,s._animationMode=a,s._hideToggle=!1,s.afterExpand=new o.EventEmitter,s.afterCollapse=new o.EventEmitter,s._inputChanges=new A.b,s._headerId="mat-expansion-panel-header-"+Vg++,s._bodyAnimationDone=new A.b,s.accordion=e,s._document=i,s._bodyAnimationDone.pipe(Object(Fs.a)(function(n,e){return n.fromState===e.fromState&&n.toState===e.toState})).subscribe(function(n){"void"!==n.fromState&&("expanded"===n.toState?s.afterExpand.emit():"collapsed"===n.toState&&s.afterCollapse.emit())}),u&&(s.hideToggle=u.hideToggle),s}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(n){this._hideToggle=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(n){this._togglePosition=n},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var n=this;this._lazyContent&&this.opened.pipe(Object(W.a)(null),Object(K.a)(function(){return n.expanded&&!n._portal}),Object(Z.a)(1)).subscribe(function(){n._portal=new ws(n._lazyContent._template,n._viewContainerRef)})},e.prototype.ngOnChanges=function(n){this._inputChanges.next(n)},e.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body){var n=this._document.activeElement,e=this._body.nativeElement;return n===e||e.contains(n)}return!1},e}(Pg),Ug=function(){function n(n,e,t,l,o){var r=this;this.panel=n,this._element=e,this._focusMonitor=t,this._changeDetectorRef=l,this._parentChangeSubscription=wo.a.EMPTY,this._animationsDisabled=!0;var i=n.accordion?n.accordion._stateChanges.pipe(Object(K.a)(function(n){return!(!n.hideToggle&&!n.togglePosition)})):q.a;this._parentChangeSubscription=Object(Ts.a)(n.opened,n.closed,i,n._inputChanges.pipe(Object(K.a)(function(n){return!!(n.hideToggle||n.disabled||n.togglePosition)}))).subscribe(function(){return r._changeDetectorRef.markForCheck()}),n.closed.pipe(Object(K.a)(function(){return n._containsFocus()})).subscribe(function(){return t.focusVia(e,"program")}),t.monitor(e).subscribe(function(e){e&&n.accordion&&n.accordion._handleHeaderFocus(r)}),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return n.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(n.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),n.prototype._toggle=function(){this.panel.toggle()},n.prototype._isExpanded=function(){return this.panel.expanded},n.prototype._getExpandedState=function(){return this.panel._getExpandedState()},n.prototype._getPanelId=function(){return this.panel.id},n.prototype._getTogglePosition=function(){return this.panel.togglePosition},n.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},n.prototype._keydown=function(n){switch(n.keyCode){case 32:case 13:xo(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}},n.prototype.focus=function(n){void 0===n&&(n="program"),this._focusMonitor.focusVia(this._element,n)},n.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},n}(),Hg=function(){return function(){}}(),Zg=function(){return function(){}}(),Wg=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(n){this._hideToggle=uo(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new Fo(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(n){var e=n.keyCode,t=this._keyManager;36===e?xo(n)||(t.setFirstItemActive(),n.preventDefault()):35===e?xo(n)||(t.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n)},e.prototype._handleHeaderFocus=function(n){this._keyManager.updateActiveItem(n)},e}(Ag),Gg=function(){return function(){}}(),Kg=o["\u0275crt"]({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function Yg(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function $g(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_body:0}),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],function(n,e,t){var l=!0;return"@bodyExpansion.done"===e&&(l=!1!==n.component._bodyAnimationDone.next(t)&&l),l},null,null)),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),o["\u0275ncd"](null,1),(n()(),o["\u0275and"](16777216,null,null,1,null,Yg)),o["\u0275did"](6,212992,null,0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),o["\u0275ncd"](null,2)],function(n,e){n(e,6,0,e.component._portal)},function(n,e){var t=e.component;n(e,2,0,t._getExpandedState(),t._headerId,t.id)})}var Xg=o["\u0275crt"]({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function Qg(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component._getExpandedState())})}function Jg(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),o["\u0275ncd"](null,0),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2),(n()(),o["\u0275and"](16777216,null,null,1,null,Qg)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,5,0,e.component._showToggle())},null)}var nb=Qo(function(){return function(){}}()),eb=Qo(function(){return function(){}}()),tb=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e._stateChanges=new A.b,e}return Object(s.__extends)(e,n),e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(nb),lb=function(n){function e(e){var t=n.call(this)||this;return t._elementRef=e,t._stateChanges=new A.b,"action-list"===t._getListType()&&e.nativeElement.classList.add("mat-action-list"),t}return Object(s.__extends)(e,n),e.prototype._getListType=function(){var n=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===n?"list":"mat-action-list"===n?"action-list":null},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(nb),ob=function(n){function e(e,t,l,o){var r=n.call(this)||this;r._element=e,r._isInteractiveList=!1,r._destroyed=new A.b,r._isInteractiveList=!!(l||o&&"action-list"===o._getListType()),r._list=l||o;var i=r._getHostElement();return"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),r._list&&r._list._stateChanges.pipe(Object(Is.a)(r._destroyed)).subscribe(function(){t.markForCheck()}),r}return Object(s.__extends)(e,n),e.prototype.ngAfterContentInit=function(){var n,e;e=this._element,(n=this._lines).changes.pipe(Object(W.a)(n)).subscribe(function(n){var t=n.length;ar(e,"mat-2-line",!1),ar(e,"mat-3-line",!1),ar(e,"mat-multi-line",!1),2===t||3===t?ar(e,"mat-"+t+"-line",!0):t>3&&ar(e,"mat-multi-line",!0)})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(eb),rb=function(){return function(){}}(),ib=o["\u0275crt"]({encapsulation:2,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:0;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}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.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}@media (-ms-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}"],data:{}});function ab(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,db,sb)),o["\u0275did"](1,49152,null,0,br,[[2,su]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(n,e){var t=e.component;n(e,1,0,t.selected?"checked":"",t.disabled)},function(n,e){n(e,0,0,"indeterminate"===o["\u0275nov"](e,1).state,"checked"===o["\u0275nov"](e,1).state,o["\u0275nov"](e,1).disabled,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}function ub(n){return o["\u0275vid"](2,[(n()(),o["\u0275and"](16777216,null,null,1,null,ab)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](5,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(n,e){var t=e.component;n(e,1,0,t.multiple),n(e,5,0,t.disabled||t.disableRipple,t._getHostElement())},function(n,e){n(e,4,0,o["\u0275nov"](e,5).unbounded)})}var sb=o["\u0275crt"]({encapsulation:2,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,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.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}"],data:{}});function db(n){return o["\u0275vid"](2,[],null,null)}var cb=o["\u0275crt"]({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function pb(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0)],null,null)}var fb=o["\u0275crt"]({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function hb(n){return o["\u0275vid"](2,[o["\u0275ncd"](null,0)],null,null)}var mb=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function vb(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](2,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2)],function(n,e){var t=e.component;n(e,2,0,t._isRippleDisabled(),t._getHostElement())},function(n,e){n(e,1,0,o["\u0275nov"](e,2).unbounded)})}var gb=function(){function n(n){this.httpClient=n,this.thirdpartylicenses="",this.releasenotes=""}return n.prototype.ngOnInit=function(){var n=this;this.httpClient.get(window.location.href+"/3rdpartylicenses.txt",{responseType:"text"}).subscribe(function(e){n.thirdpartylicenses=e.replace(new RegExp("\n","g"),"<br />")},function(e){404===e.status&&(n.thirdpartylicenses="File not found")}),this.httpClient.get("ReleaseNotes.txt",{responseType:"text"}).subscribe(function(e){n.releasenotes=e.replace(new RegExp("\n","g"),"<br />")})},n}(),bb=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function _b(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,82,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Help"])),(n()(),o["\u0275eld"](4,0,null,null,78,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,77,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,76,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](7,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](10,16777216,null,null,48,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](11,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](14,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,15)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,15)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,15)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](15,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](16,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](17,{value:0,params:1}),(n()(),o["\u0275eld"](18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](19,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Useful shortcuts "])),(n()(),o["\u0275eld"](21,0,null,1,37,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,hb,fb)),o["\u0275did"](22,704512,null,0,lb,[o.ElementRef],null,null),(n()(),o["\u0275eld"](23,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](24,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,3,{_lines:1}),o["\u0275qud"](603979776,4,{_avatar:0}),o["\u0275qud"](603979776,5,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + + to zoom in "])),(n()(),o["\u0275eld"](29,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](30,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,6,{_lines:1}),o["\u0275qud"](603979776,7,{_avatar:0}),o["\u0275qud"](603979776,8,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + - to zoom out "])),(n()(),o["\u0275eld"](35,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](36,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,9,{_lines:1}),o["\u0275qud"](603979776,10,{_avatar:0}),o["\u0275qud"](603979776,11,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + 0 to reset zoom "])),(n()(),o["\u0275eld"](41,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](42,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,12,{_lines:1}),o["\u0275qud"](603979776,13,{_avatar:0}),o["\u0275qud"](603979776,14,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + a to select all items on map "])),(n()(),o["\u0275eld"](47,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](48,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,15,{_lines:1}),o["\u0275qud"](603979776,16,{_avatar:0}),o["\u0275qud"](603979776,17,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + shift + a to deselect all items on map "])),(n()(),o["\u0275eld"](53,0,null,0,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,vb,mb)),o["\u0275did"](54,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,18,{_lines:1}),o["\u0275qud"](603979776,19,{_avatar:0}),o["\u0275qud"](603979776,20,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" ctrl + shift + s to go to preferences "])),(n()(),o["\u0275eld"](59,16777216,null,null,11,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](60,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,21,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](63,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,64)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,64)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,64)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](64,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](65,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](66,{value:0,params:1}),(n()(),o["\u0275eld"](67,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](68,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Third party components "])),(n()(),o["\u0275eld"](70,0,null,1,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),o["\u0275eld"](71,16777216,null,null,11,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](72,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,22,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](75,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,76)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,76)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,76)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](76,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](77,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](78,{value:0,params:1}),(n()(),o["\u0275eld"](79,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](80,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Release notes "])),(n()(),o["\u0275eld"](82,0,null,1,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,10,0,o["\u0275nov"](e,11).expanded,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode,o["\u0275nov"](e,11)._hasSpacing());var l=o["\u0275nov"](e,15).panel._headerId,r=o["\u0275nov"](e,15).disabled?-1:0,i=o["\u0275nov"](e,15)._getPanelId(),a=o["\u0275nov"](e,15)._isExpanded(),u=o["\u0275nov"](e,15).panel.disabled,s=o["\u0275nov"](e,15)._isExpanded(),d="after"===o["\u0275nov"](e,15)._getTogglePosition(),c="before"===o["\u0275nov"](e,15)._getTogglePosition(),p=o["\u0275nov"](e,15)._animationsDisabled,f=n(e,17,0,o["\u0275nov"](e,15)._getExpandedState(),n(e,16,0,o["\u0275nov"](e,15).collapsedHeight,o["\u0275nov"](e,15).expandedHeight));n(e,14,0,l,r,i,a,u,s,d,c,p,f),n(e,23,0,o["\u0275nov"](e,24)._avatar||o["\u0275nov"](e,24)._icon,o["\u0275nov"](e,24)._avatar||o["\u0275nov"](e,24)._icon),n(e,29,0,o["\u0275nov"](e,30)._avatar||o["\u0275nov"](e,30)._icon,o["\u0275nov"](e,30)._avatar||o["\u0275nov"](e,30)._icon),n(e,35,0,o["\u0275nov"](e,36)._avatar||o["\u0275nov"](e,36)._icon,o["\u0275nov"](e,36)._avatar||o["\u0275nov"](e,36)._icon),n(e,41,0,o["\u0275nov"](e,42)._avatar||o["\u0275nov"](e,42)._icon,o["\u0275nov"](e,42)._avatar||o["\u0275nov"](e,42)._icon),n(e,47,0,o["\u0275nov"](e,48)._avatar||o["\u0275nov"](e,48)._icon,o["\u0275nov"](e,48)._avatar||o["\u0275nov"](e,48)._icon),n(e,53,0,o["\u0275nov"](e,54)._avatar||o["\u0275nov"](e,54)._icon,o["\u0275nov"](e,54)._avatar||o["\u0275nov"](e,54)._icon),n(e,59,0,o["\u0275nov"](e,60).expanded,"NoopAnimations"===o["\u0275nov"](e,60)._animationMode,o["\u0275nov"](e,60)._hasSpacing());var h=o["\u0275nov"](e,64).panel._headerId,m=o["\u0275nov"](e,64).disabled?-1:0,v=o["\u0275nov"](e,64)._getPanelId(),g=o["\u0275nov"](e,64)._isExpanded(),b=o["\u0275nov"](e,64).panel.disabled,_=o["\u0275nov"](e,64)._isExpanded(),y="after"===o["\u0275nov"](e,64)._getTogglePosition(),w="before"===o["\u0275nov"](e,64)._getTogglePosition(),C=o["\u0275nov"](e,64)._animationsDisabled,x=n(e,66,0,o["\u0275nov"](e,64)._getExpandedState(),n(e,65,0,o["\u0275nov"](e,64).collapsedHeight,o["\u0275nov"](e,64).expandedHeight));n(e,63,0,h,m,v,g,b,_,y,w,C,x),n(e,70,0,t.thirdpartylicenses),n(e,71,0,o["\u0275nov"](e,72).expanded,"NoopAnimations"===o["\u0275nov"](e,72)._animationMode,o["\u0275nov"](e,72)._hasSpacing());var S=o["\u0275nov"](e,76).panel._headerId,k=o["\u0275nov"](e,76).disabled?-1:0,E=o["\u0275nov"](e,76)._getPanelId(),T=o["\u0275nov"](e,76)._isExpanded(),R=o["\u0275nov"](e,76).panel.disabled,I=o["\u0275nov"](e,76)._isExpanded(),D="after"===o["\u0275nov"](e,76)._getTogglePosition(),O="before"===o["\u0275nov"](e,76)._getTogglePosition(),F=o["\u0275nov"](e,76)._animationsDisabled,N=n(e,78,0,o["\u0275nov"](e,76)._getExpandedState(),n(e,77,0,o["\u0275nov"](e,76).collapsedHeight,o["\u0275nov"](e,76).expandedHeight));n(e,75,0,S,k,E,T,R,I,D,O,F,N),n(e,82,0,t.releasenotes)})}function yb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-help",[],null,null,null,_b,bb)),o["\u0275did"](1,114688,null,0,gb,[Pu],null,null)],function(n,e){n(e,1,0)},null)}var wb=o["\u0275ccf"]("app-help",gb,yb,{},{},[]),Cb=new o.InjectionToken("mat-checkbox-click-action"),xb=0,Sb=function(){var n={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return n[n.Init]="Init",n[n.Checked]="Checked",n[n.Unchecked]="Unchecked",n[n.Indeterminate]="Indeterminate",n}(),kb=function(){return function(){}}(),Eb=function(n){function e(e,t,l,r,i,a,u){var s=n.call(this,e)||this;return s._changeDetectorRef=t,s._focusMonitor=l,s._ngZone=r,s._clickAction=a,s._animationMode=u,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++xb,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new o.EventEmitter,s.indeterminateChange=new o.EventEmitter,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=Sb.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(i)||0,s._focusMonitor.monitor(e,!0).subscribe(function(n){n||Promise.resolve().then(function(){s._onTouched(),t.markForCheck()})}),s}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=uo(n)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(n){n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(n){var e=uo(n);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(n){var e=n!=this._indeterminate;this._indeterminate=n,e&&(this._transitionCheckState(this._indeterminate?Sb.Indeterminate:this.checked?Sb.Checked:Sb.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(n){this.checked=!!n},e.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},e.prototype.registerOnTouched=function(n){this._onTouched=n},e.prototype.setDisabledState=function(n){this.disabled=n},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(n){var e=this._currentCheckState,t=this._elementRef.nativeElement;if(e!==n&&(this._currentAnimationClass.length>0&&t.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,n),this._currentCheckState=n,this._currentAnimationClass.length>0)){t.classList.add(this._currentAnimationClass);var l=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){t.classList.remove(l)},1e3)})}},e.prototype._emitChangeEvent=function(){var n=new kb;n.source=this,n.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(n)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(n){var e=this;n.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?Sb.Checked:Sb.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},e.prototype._onInteractionEvent=function(n){n.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(n,e){if("NoopAnimations"===this._animationMode)return"";var t="";switch(n){case Sb.Init:if(e===Sb.Checked)t="unchecked-checked";else{if(e!=Sb.Indeterminate)return"";t="unchecked-indeterminate"}break;case Sb.Unchecked:t=e===Sb.Checked?"unchecked-checked":"unchecked-indeterminate";break;case Sb.Checked:t=e===Sb.Unchecked?"checked-unchecked":"checked-indeterminate";break;case Sb.Indeterminate:t=e===Sb.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+t},e}(Jo(Xo(Qo($o(function(){return function(n){this._elementRef=n}}())),"accent"))),Tb=function(){return function(){}}(),Rb=function(){return function(){}}(),Ib=function(){function n(){}return n.prototype.create=function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}(),Db=function(){function n(n){this._mutationObserverFactory=n,this._observedElements=new Map}return n.prototype.ngOnDestroy=function(){var n=this;this._observedElements.forEach(function(e,t){return n._cleanupObserver(t)})},n.prototype.observe=function(n){var e=this,t=fo(n);return new d.a(function(n){var l=e._observeElement(t).subscribe(n);return function(){l.unsubscribe(),e._unobserveElement(t)}})},n.prototype._observeElement=function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var e=new A.b,t=this._mutationObserverFactory.create(function(n){return e.next(n)});t&&t.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:t,stream:e,count:1})}return this._observedElements.get(n).stream},n.prototype._unobserveElement=function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))},n.prototype._cleanupObserver=function(n){if(this._observedElements.has(n)){var e=this._observedElements.get(n),t=e.observer,l=e.stream;t&&t.disconnect(),l.complete(),this._observedElements.delete(n)}},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(Ib))},token:n,providedIn:"root"}),n}(),Ob=function(){function n(n,e,t){this._contentObserver=n,this._elementRef=e,this._ngZone=t,this.event=new o.EventEmitter,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=uo(n),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"debounce",{get:function(){return this._debounce},set:function(n){this._debounce=so(n),this._subscribe()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},n.prototype.ngOnDestroy=function(){this._unsubscribe()},n.prototype._subscribe=function(){var n=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){n._currentSubscription=(n.debounce?e.pipe(Object(So.a)(n.debounce)):e).subscribe(n.event)})},n.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},n}(),Fb=function(){return function(){}}(),Nb=o["\u0275crt"]({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function Mb(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_inputElement:0}),o["\u0275qud"](671088640,2,{ripple:0}),(n()(),o["\u0275eld"](2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],function(n,e,t){var l=!0,o=n.component;return"change"===e&&(l=!1!==o._onInteractionEvent(t)&&l),"click"===e&&(l=!1!==o._onInputClick(t)&&l),l},null,null)),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](6,212992,[[2,4]],0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["\u0275pod"](7,{enterDuration:0}),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(n()(),o["\u0275eld"](9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(n()(),o["\u0275eld"](10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(n()(),o["\u0275eld"](13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(n()(),o["\u0275eld"](14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component._onLabelTextChange()&&l),l},null,null)),o["\u0275did"](15,1196032,null,0,Ob,[Db,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["\u0275eld"](16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["\xa0"])),o["\u0275ncd"](null,0)],function(n,e){var t=e.component,l=n(e,7,0,150);n(e,6,0,!0,20,l,t._isRippleDisabled(),o["\u0275nov"](e,2))},function(n,e){var t=e.component;n(e,2,0,t.inputId),n(e,3,0,!o["\u0275nov"](e,14).textContent||!o["\u0275nov"](e,14).textContent.trim()),n(e,4,1,[t.inputId,t.required,t.checked,t.value,t.disabled,t.name,t.tabIndex,t.indeterminate,t.ariaLabel||null,t.ariaLabelledby,t._getAriaChecked()]),n(e,5,0,o["\u0275nov"](e,6).unbounded)})}var Ab=0,qb=function(){return function(){this.id="mat-error-"+Ab++}}(),Pb=function(){return function(){}}();function jb(n){return Error("A hint was already declared for 'align=\""+n+"\"'.")}var Lb=function(){return function(){}}(),Vb=function(){return function(){}}(),Bb=0,zb=Xo(function(){return function(n){this._elementRef=n}}(),"primary"),Ub=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Hb=function(n){function e(e,t,l,o,r,i,a,u){var s=n.call(this,e)||this;return s._elementRef=e,s._changeDetectorRef=t,s._dir=o,s._defaults=r,s._platform=i,s._ngZone=a,s._outlineGapCalculationNeededImmediately=!1,s._outlineGapCalculationNeededOnStable=!1,s._destroyed=new A.b,s._showAlwaysAnimate=!1,s._subscriptAnimationState="",s._hintLabel="",s._hintLabelId="mat-hint-"+Bb++,s._labelId="mat-form-field-label-"+Bb++,s._labelOptions=l||{},s.floatLabel=s._labelOptions.float||"auto",s._animationsEnabled="NoopAnimations"!==u,s.appearance=r&&r.appearance?r.appearance:"legacy",s}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(n){var e=this._appearance;this._appearance=n||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==n&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(n){this._hideRequiredMarker=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(n){this._hintLabel=n,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(n){n!==this._floatLabel&&(this._floatLabel=n||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(n){this._explicitFormFieldControl=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var n=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(W.a)(null)).subscribe(function(){n._validatePlaceholders(),n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){n._ngZone.onStable.asObservable().pipe(Object(Is.a)(n._destroyed)).subscribe(function(){n._outlineGapCalculationNeededOnStable&&n.updateOutlineGap()})}),Object(Ts.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){n._outlineGapCalculationNeededOnStable=!0,n._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(W.a)(null)).subscribe(function(){n._processHints(),n._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(W.a)(null)).subscribe(function(){n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n.updateOutlineGap()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._shouldForward=function(n){var e=this._control?this._control.ngControl:null;return e&&e[n]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var n=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Object(Os.a)(this._label.nativeElement,"transitionend").pipe(Object(Z.a)(1)).subscribe(function(){n._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var n,e,t=this;this._hintChildren&&this._hintChildren.forEach(function(l){if("start"===l.align){if(n||t.hintLabel)throw jb("start");n=l}else if("end"===l.align){if(e)throw jb("end");e=l}})},e.prototype._syncDescribedByIds=function(){if(this._control){var n=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(n){return"start"===n.align}):null,t=this._hintChildren?this._hintChildren.find(function(n){return"end"===n.align}):null;e?n.push(e.id):this._hintLabel&&n.push(this._hintLabelId),t&&n.push(t.id)}else this._errorChildren&&(n=this._errorChildren.map(function(n){return n.id}));this._control.setDescribedByIds(n)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,t=0,l=this._connectionContainerRef.nativeElement,o=l.querySelectorAll(".mat-form-field-outline-start"),r=l.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var i=l.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(i),u=this._getStartEnd(n.children[0].getBoundingClientRect()),s=0,d=0,c=n.children;d<c.length;d++)s+=c[d].offsetWidth;e=u-a-5,t=s>0?.75*s+10:0}for(var p=0;p<o.length;p++)o.item(p).style.width=e+"px";for(p=0;p<r.length;p++)r.item(p).style.width=t+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},e.prototype._getStartEnd=function(n){return this._dir&&"rtl"===this._dir.value?n.right:n.left},e}(zb),Zb=function(){return function(){}}(),Wb=o["\u0275crt"]({encapsulation:2,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}@media (-ms-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 .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.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:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.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 .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-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}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-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}@media (-ms-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 .6s cubic-bezier(.25,.8,.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}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;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-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-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 .4s .133s cubic-bezier(.25,.8,.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 .4s .133s cubic-bezier(.25,.8,.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 .4s .133s cubic-bezier(.25,.8,.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 .4s .133s cubic-bezier(.25,.8,.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:0 0}@media (-ms-high-contrast:active){.mat-focused 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}",".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}@media (-ms-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}@media (-ms-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}@media (-ms-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}",".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:-.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-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{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-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.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 .1s cubic-bezier(.25,.8,.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 .6s cubic-bezier(.25,.8,.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 .mat-form-field-outline,.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,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-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}@media (-ms-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}@media (-ms-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 .6s cubic-bezier(.25,.8,.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}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function Gb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Kb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),o["\u0275ncd"](null,0)],null,null)}function Yb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,null,null,null,null,null,null,null)),o["\u0275ncd"](null,2),(n()(),o["\u0275eld"](2,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](3,null,["",""]))],null,function(n,e){n(e,3,0,e.component._control.placeholder)})}function $b(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,3),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function Xb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" *"]))],null,null)}function Qb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component.updateOutlineGap()&&l),l},null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),o["\u0275did"](2,1196032,null,0,Ob,[Db,o.ElementRef,o.NgZone],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(n()(),o["\u0275and"](16777216,null,null,1,null,Yb)),o["\u0275did"](4,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$b)),o["\u0275did"](6,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Xb)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t._hasLabel()),n(e,2,0,"outline"!=t.appearance),n(e,4,0,!1),n(e,6,0,!0),n(e,8,0,!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)},function(n,e){var t=e.component;n(e,0,0,t._labelId,t._control.id,t._control.id,t._control.empty&&!t._shouldAlwaysFloat,t._control.empty&&!t._shouldAlwaysFloat,"accent"==t.color,"warn"==t.color)})}function Jb(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),o["\u0275ncd"](null,4)],null,null)}function n_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,1,0,"accent"==t.color,"warn"==t.color)})}function e_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),o["\u0275ncd"](null,5)],null,function(n,e){n(e,0,0,e.component._subscriptAnimationState)})}function t_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){var t=e.component;n(e,0,0,t._hintLabelId),n(e,1,0,t.hintLabel)})}function l_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,t_)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["\u0275ncd"](null,6),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),o["\u0275ncd"](null,7)],function(n,e){n(e,2,0,e.component.hintLabel)},function(n,e){n(e,0,0,e.component._subscriptAnimationState)})}function o_(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{underlineRef:0}),o["\u0275qud"](402653184,2,{_connectionContainerRef:0}),o["\u0275qud"](671088640,3,{_inputContainerRef:0}),o["\u0275qud"](671088640,4,{_label:0}),(n()(),o["\u0275eld"](4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==(o._control.onContainerClick&&o._control.onContainerClick(t))&&l),l},null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Gb)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Kb)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),o["\u0275ncd"](null,1),(n()(),o["\u0275eld"](12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Qb)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Jb)),o["\u0275did"](16,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,n_)),o["\u0275did"](18,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),o["\u0275did"](20,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,e_)),o["\u0275did"](22,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,l_)),o["\u0275did"](24,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(n,e){var t=e.component;n(e,7,0,"outline"==t.appearance),n(e,9,0,t._prefixChildren.length),n(e,14,0,t._hasFloatingLabel()),n(e,16,0,t._suffixChildren.length),n(e,18,0,"outline"!=t.appearance),n(e,20,0,t._getDisplayedMessages()),n(e,22,0,"error"),n(e,24,0,"hint")},null)}var r_=yo({passive:!0}),i_=function(){function n(n,e){this._platform=n,this._ngZone=e,this._monitoredElements=new Map}return n.prototype.monitor=function(n){var e=this;if(!this._platform.isBrowser)return q.a;var t=fo(n),l=this._monitoredElements.get(t);if(l)return l.subject.asObservable();var o=new A.b,r="cdk-text-field-autofilled",i=function(n){"cdk-text-field-autofill-start"!==n.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===n.animationName&&t.classList.contains(r)&&(t.classList.remove(r),e._ngZone.run(function(){return o.next({target:n.target,isAutofilled:!1})})):(t.classList.add(r),e._ngZone.run(function(){return o.next({target:n.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){t.addEventListener("animationstart",i,r_),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:function(){t.removeEventListener("animationstart",i,r_)}}),o.asObservable()},n.prototype.stopMonitoring=function(n){var e=fo(n),t=this._monitoredElements.get(e);t&&(t.unlisten(),t.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},n.prototype.ngOnDestroy=function(){var n=this;this._monitoredElements.forEach(function(e,t){return n.stopMonitoring(t)})},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(vo),Object(o["\u0275\u0275inject"])(o.NgZone))},token:n,providedIn:"root"}),n}(),a_=function(){return function(){}}(),u_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],s_=0,d_=function(n){function e(e,t,l,o,r,i,a,u,s){var d=n.call(this,i,o,r,l)||this;d._elementRef=e,d._platform=t,d.ngControl=l,d._autofillMonitor=u,d._uid="mat-input-"+s_++,d._isServer=!1,d._isNativeSelect=!1,d.focused=!1,d.stateChanges=new A.b,d.controlType="mat-input",d.autofilled=!1,d._disabled=!1,d._required=!1,d._type="text",d._readonly=!1,d._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(n){return _o().has(n)});var c=d._elementRef.nativeElement;return d._inputValueAccessor=a||c,d._previousNativeValue=d.value,d.id=d.id,t.IOS&&s.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(n){var e=n.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),d._isServer=!d._platform.isBrowser,d._isNativeSelect="select"===c.nodeName.toLowerCase(),d._isNativeSelect&&(d.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select"),d}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(n){this._disabled=uo(n),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(n){this._type=n||"text",this._validateType(),!this._isTextarea()&&_o().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(n){n!==this.value&&(this._inputValueAccessor.value=n,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(n){this._readonly=uo(n)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){n.autofilled=e.isAutofilled,n.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(n){n===this.focused||this.readonly&&n||(this.focused=n,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var n=this._elementRef.nativeElement.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())},e.prototype._validateType=function(){if(u_.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var n=this._elementRef.nativeElement.validity;return n&&n.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var n=this._elementRef.nativeElement,e=n.options[0];return this.focused||n.multiple||!this.empty||!!(n.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(nr(function(){return function(n,e,t,l){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=l}}())),c_=function(){return function(){}}(),p_=function(){function n(n){this.electronService=n}return n.prototype.get=function(){if(this.electronService.isElectronApp)return this.electronService.isLinux?'xfce4-terminal --tab -T "%d" -e "telnet %h %p"':this.electronService.isWindows?'putty.exe -telnet %h %p -loghost "%d"':void 0},n}(),f_=function(){function n(n,e){this.defaultConsoleService=n,this.settingsService=e}return Object.defineProperty(n.prototype,"command",{get:function(){var n=this.settingsService.get("console_command");return void 0===n?this.defaultConsoleService.get():n},set:function(n){this.settingsService.set("console_command",n)},enumerable:!0,configurable:!0}),n}(),h_=function(){function n(n,e,t){this.settingsService=n,this.toaster=e,this.consoleService=t,this.settings=s.__assign({},T.DEFAULTS)}return n.prototype.ngOnInit=function(){this.settings=this.settingsService.getAll(),this.consoleCommand=this.consoleService.command},n.prototype.save=function(){this.settingsService.setAll(this.settings),this.toaster.success("Settings have been saved.")},n}(),m_=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function v_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,79,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Settings"])),(n()(),o["\u0275eld"](4,0,null,null,75,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,70,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,69,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](7,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](10,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](11,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],{expanded:[0,"expanded"]},null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](14,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,15)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,15)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,15)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](15,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](16,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](17,{value:0,params:1}),(n()(),o["\u0275eld"](18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](19,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Local settings "])),(n()(),o["\u0275eld"](21,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["\u0275did"](22,16384,null,0,Hg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Customize your local settings "])),(n()(),o["\u0275eld"](24,0,null,1,7,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](25,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.settings.crash_reports=t)&&l),l},Mb,Nb)),o["\u0275did"](26,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](28,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](30,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,["Send anonymous crash reports"])),(n()(),o["\u0275eld"](32,0,null,1,7,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.settings.experimental_features=t)&&l),l},Mb,Nb)),o["\u0275did"](34,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](36,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](38,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,["Enable experimental features (WARNING: IT CAN BREAK YOU LABS!)"])),(n()(),o["\u0275eld"](40,16777216,null,null,35,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](41,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],{expanded:[0,"expanded"]},null),o["\u0275qud"](603979776,3,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](44,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,45)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,45)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,45)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](45,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](46,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](47,{value:0,params:1}),(n()(),o["\u0275eld"](48,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](49,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Console settings "])),(n()(),o["\u0275eld"](51,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),o["\u0275did"](52,16384,null,0,Hg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Customize console settings "])),(n()(),o["\u0275eld"](54,0,null,1,21,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](55,0,null,null,20,"mat-form-field",[["class","full-width-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](56,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](66,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","console"],["readonly","true"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(n,e,t){var l=!0;return"blur"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,67)._onInput()&&l),l},null,null)),o["\u0275did"](67,999424,null,0,d_,[o.ElementRef,vo,[8,null],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],value:[1,"value"],readonly:[2,"readonly"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](69,0,null,4,6,"a",[["mat-icon-button",""],["matSuffix",""],["routerLink","/settings/console"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,70).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,71)._haltDisabledEvents(t)&&l),l},hu,fu)),o["\u0275did"](70,671744,null,0,Dl,[Rl,bt,I.LocationStrategy],{routerLink:[0,"routerLink"]},null),o["\u0275did"](71,180224,null,0,Fr,[Uo,o.ElementRef,[2,su]],null,null),o["\u0275did"](72,16384,[[12,4]],0,Vb,[],null,null),(n()(),o["\u0275eld"](73,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](74,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["mode_edit"])),(n()(),o["\u0275eld"](76,0,null,null,3,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.save()&&l),l},pu,cu)),o["\u0275did"](78,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save settings"]))],function(n,e){var t=e.component;n(e,11,0,!0),n(e,28,0,t.settings.crash_reports),n(e,36,0,t.settings.experimental_features),n(e,41,0,!1),n(e,67,0,"console",t.consoleCommand,"true"),n(e,70,0,"/settings/console"),n(e,74,0),n(e,78,0,"primary")},function(n,e){n(e,10,0,o["\u0275nov"](e,11).expanded,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode,o["\u0275nov"](e,11)._hasSpacing());var t=o["\u0275nov"](e,15).panel._headerId,l=o["\u0275nov"](e,15).disabled?-1:0,r=o["\u0275nov"](e,15)._getPanelId(),i=o["\u0275nov"](e,15)._isExpanded(),a=o["\u0275nov"](e,15).panel.disabled,u=o["\u0275nov"](e,15)._isExpanded(),s="after"===o["\u0275nov"](e,15)._getTogglePosition(),d="before"===o["\u0275nov"](e,15)._getTogglePosition(),c=o["\u0275nov"](e,15)._animationsDisabled,p=n(e,17,0,o["\u0275nov"](e,15)._getExpandedState(),n(e,16,0,o["\u0275nov"](e,15).collapsedHeight,o["\u0275nov"](e,15).expandedHeight));n(e,14,0,t,l,r,i,a,u,s,d,c,p),n(e,25,1,[o["\u0275nov"](e,26).id,null,o["\u0275nov"](e,26).indeterminate,o["\u0275nov"](e,26).checked,o["\u0275nov"](e,26).disabled,"before"==o["\u0275nov"](e,26).labelPosition,"NoopAnimations"===o["\u0275nov"](e,26)._animationMode,o["\u0275nov"](e,30).ngClassUntouched,o["\u0275nov"](e,30).ngClassTouched,o["\u0275nov"](e,30).ngClassPristine,o["\u0275nov"](e,30).ngClassDirty,o["\u0275nov"](e,30).ngClassValid,o["\u0275nov"](e,30).ngClassInvalid,o["\u0275nov"](e,30).ngClassPending]),n(e,33,1,[o["\u0275nov"](e,34).id,null,o["\u0275nov"](e,34).indeterminate,o["\u0275nov"](e,34).checked,o["\u0275nov"](e,34).disabled,"before"==o["\u0275nov"](e,34).labelPosition,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode,o["\u0275nov"](e,38).ngClassUntouched,o["\u0275nov"](e,38).ngClassTouched,o["\u0275nov"](e,38).ngClassPristine,o["\u0275nov"](e,38).ngClassDirty,o["\u0275nov"](e,38).ngClassValid,o["\u0275nov"](e,38).ngClassInvalid,o["\u0275nov"](e,38).ngClassPending]),n(e,40,0,o["\u0275nov"](e,41).expanded,"NoopAnimations"===o["\u0275nov"](e,41)._animationMode,o["\u0275nov"](e,41)._hasSpacing());var f=o["\u0275nov"](e,45).panel._headerId,h=o["\u0275nov"](e,45).disabled?-1:0,m=o["\u0275nov"](e,45)._getPanelId(),v=o["\u0275nov"](e,45)._isExpanded(),g=o["\u0275nov"](e,45).panel.disabled,b=o["\u0275nov"](e,45)._isExpanded(),_="after"===o["\u0275nov"](e,45)._getTogglePosition(),y="before"===o["\u0275nov"](e,45)._getTogglePosition(),w=o["\u0275nov"](e,45)._animationsDisabled,C=n(e,47,0,o["\u0275nov"](e,45)._getExpandedState(),n(e,46,0,o["\u0275nov"](e,45).collapsedHeight,o["\u0275nov"](e,45).expandedHeight));n(e,44,0,f,h,m,v,g,b,_,y,w,C),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,66,0,o["\u0275nov"](e,67)._isServer,o["\u0275nov"](e,67).id,o["\u0275nov"](e,67).placeholder,o["\u0275nov"](e,67).disabled,o["\u0275nov"](e,67).required,o["\u0275nov"](e,67).readonly&&!o["\u0275nov"](e,67)._isNativeSelect||null,o["\u0275nov"](e,67)._ariaDescribedby||null,o["\u0275nov"](e,67).errorState,o["\u0275nov"](e,67).required.toString()),n(e,69,0,o["\u0275nov"](e,70).target,o["\u0275nov"](e,70).href,o["\u0275nov"](e,71).disabled?-1:o["\u0275nov"](e,71).tabIndex||0,o["\u0275nov"](e,71).disabled||null,o["\u0275nov"](e,71).disabled.toString(),"NoopAnimations"===o["\u0275nov"](e,71)._animationMode),n(e,73,0,o["\u0275nov"](e,74).inline,"primary"!==o["\u0275nov"](e,74).color&&"accent"!==o["\u0275nov"](e,74).color&&"warn"!==o["\u0275nov"](e,74).color),n(e,77,0,o["\u0275nov"](e,78).disabled||null,"NoopAnimations"===o["\u0275nov"](e,78)._animationMode)})}function g_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-settings",[],null,null,null,v_,m_)),o["\u0275did"](1,114688,null,0,h_,[T,vc,f_],null,null)],function(n,e){n(e,1,0)},null)}var b_=o["\u0275ccf"]("app-settings",h_,g_,{},{},[]),__=function(){function n(n,e,t){this.router=n,this.consoleService=e,this.toasterService=t,this.consoleForm=new Bm({command:new Vm("")})}return n.prototype.ngOnInit=function(){this.consoleForm.get("command").setValue(this.consoleService.command)},n.prototype.goBack=function(){this.router.navigate(["/settings"])},n.prototype.save=function(){this.consoleService.command=this.consoleForm.value.command,this.toasterService.success("Console command has been updated."),this.goBack()},n}(),y_=o["\u0275crt"]({encapsulation:0,styles:[[".help[_ngcontent-%COMP%]{font-size:14px}"]],data:{}});function w_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,53,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Console settings"])),(n()(),o["\u0275eld"](5,0,null,null,48,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,39,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,37,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field full-width-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","command"],["matInput",""],["placeholder","Command"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,13,"div",[["class","help"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["The following variables are replaced by GNS3:"])),(n()(),o["\u0275eld"](34,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %h: console IP or hostname"])),(n()(),o["\u0275eld"](36,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %p: console port"])),(n()(),o["\u0275eld"](38,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %s: path of the serial connection"])),(n()(),o["\u0275eld"](40,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %d: title of the console"])),(n()(),o["\u0275eld"](42,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %i: Project UUID"])),(n()(),o["\u0275eld"](44,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" %c: server URL (http://user:password@server:port) "])),(n()(),o["\u0275eld"](46,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](47,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](48,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](50,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.save()&&l),l},pu,cu)),o["\u0275did"](51,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](53,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){n(e,10,0,e.component.consoleForm),n(e,27,0,"command"),n(e,30,0,"Command"),n(e,51,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,47,0,o["\u0275nov"](e,48).disabled||null,"NoopAnimations"===o["\u0275nov"](e,48)._animationMode),n(e,50,0,o["\u0275nov"](e,51).disabled||null,"NoopAnimations"===o["\u0275nov"](e,51)._animationMode)})}function C_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-console",[],null,null,null,w_,y_)),o["\u0275did"](1,114688,null,0,__,[Rl,f_,vc],null,null)],function(n,e){n(e,1,0)},null)}var x_=o["\u0275ccf"]("app-console",__,C_,{},{},[]),S_=function(){function n(){}return n.prototype.ngOnInit=function(){null==window.loadedTextAds355353&&(window.loadedTextAds355353=new Array),window.id355353=165803,window.setID355353=355353,window.rnd=window.rnd||Math.floor(1e7*Math.random()),window.abkw=window.abkw||"";var n=window.sparkCounter355353;null==n?n=1:n+=1,window.sparkCounter355353=n,window.loadedTextAds355353[n]=!1,this.id=window.id355353,this.divId="abta355353"+n,this.setId=window.setID355353,this.abkw=window.abkw,this.rnd=window.rnd,this.sparkCounter=window.sparkCounter355353},n.prototype.ngAfterViewInit=function(){var n="https://servedbyadbutler.com/adserve/;ID="+this.id+";setID="+this.setId+";type=textad;kw="+this.abkw+";pid="+this.rnd+";layoutID="+this.sparkCounter,e=document.createElement("script");e.src=n,e.type="text/javascript",e.async=!0,e.charset="utf-8",this.code.nativeElement.appendChild(e)},n.prototype.ngOnDestroy=function(){window.sparkCounter355353=0,delete window.loadedTextAds355353[this.sparkCounter]},n}(),k_=o["\u0275crt"]({encapsulation:2,styles:[[".butler a{color:#0097a7}.butler{font-size:14px}"]],data:{}});function E_(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{code:0}),(n()(),o["\u0275eld"](1,0,null,null,3,"table",[["cellPadding","3"],["cellSpacing","0"],["class","butler"],["style","width: 600px; border: 0px solid #C0C0C0; background-color: #263238"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"tr",[],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,[[1,0],["code",1]],null,1,"td",[["height","80"],["style","background-color: #263238"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[],[[8,"id",0]],null,null,null,null))],null,function(n,e){n(e,4,0,o["\u0275inlineInterpolate"](1,"",e.component.divId,""))})}var T_=function(){function n(n){this.electronService=n,this.installedChanged=new o.EventEmitter,this.disabled=!1,this.readyToInstall=!0}return n.prototype.ngOnInit=function(){var n=this;this.electronService.ipcRenderer.on(this.responseChannel,function(e,t){n.updateButton(),n.installedChanged.emit(t)})},n.prototype.ngOnDestroy=function(){this.electronService.ipcRenderer.removeAllListeners(this.responseChannel)},n.prototype.ngOnChanges=function(){this.updateButton()},n.prototype.install=function(){this.disabled=!0,this.buttonText="Installing",this.electronService.ipcRenderer.send("installed-software-install",this.software)},Object.defineProperty(n.prototype,"responseChannel",{get:function(){return"installed-software-installed-"+this.software.name},enumerable:!0,configurable:!0}),n.prototype.updateButton=function(){this.disabled=this.software.installed,this.buttonText=this.software.installed?"Installed":"Install"},n}(),R_=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function I_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.buttonText)})}function D_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.install()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,I_)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.disabled,"primary"),n(e,3,0,t.readyToInstall)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode)})}var O_=function(){function n(n){this.electronService=n}return n.prototype.isWindows=function(){return"win32"===this.electronService.process.platform},n.prototype.isLinux=function(){return"linux"===this.electronService.process.platform},n.prototype.isDarwin=function(){return"darwin"===this.electronService.process.platform},n}(),F_=function(){function n(n){this.platformService=n}return n.prototype.get=function(){return this.platformService.isWindows()?this.getForWindows():this.platformService.isDarwin()?this.getForDarwin():this.getForLinux()},n.prototype.getForWindows=function(){return[{name:"Wireshark",locations:["C:\\Program Files\\Wireshark\\Wireshark.exe"],type:"web",resource:"https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-2.6.3.exe",binary:"Wireshark.exe",sudo:!0,installation_arguments:[],installed:!1,installer:!0}]},n.prototype.getForLinux=function(){return[]},n.prototype.getForDarwin=function(){return[]},n}(),N_=function(){function n(n,e){this.electronService=n,this.externalSoftwareDefinition=e}return n.prototype.list=function(){var n=this.externalSoftwareDefinition.get(),e=this.electronService.remote.require("./installed-software.js").getInstalledSoftware(n);return n.map(function(n){return n.installed=e[n.name].length>0,n})},n}(),M_=function(){function n(n,e){this.installedSoftwareService=n,this.changeDetectorRef=e,this.displayedColumns=["name","actions"]}return n.prototype.ngOnInit=function(){this.dataSource=new A_(this.installedSoftwareService)},n.prototype.onInstalled=function(n){this.dataSource.refresh(),this.changeDetectorRef.detectChanges()},n}(),A_=function(n){function e(e){var t=n.call(this)||this;return t.installedSoftwareService=e,t.installed=new E.a([]),t}return s.__extends(e,n),e.prototype.connect=function(){return this.refresh(),this.installed},e.prototype.disconnect=function(){},e.prototype.refresh=function(){var n=this.installedSoftwareService.list();n.push({type:"adbutler"}),this.installed.next(n)},e}(qs),q_=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function P_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function j_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,[" "," "]))],null,function(n,e){n(e,1,0,e.parent.context.$implicit.name)})}function L_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"app-adbutler",[],null,null,null,E_,k_)),o["\u0275did"](2,4440064,null,0,S_,[],null,null)],function(n,e){n(e,2,0)},null)}function V_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,j_)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,L_)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,"adbutler"!==e.context.$implicit.type),n(e,5,0,"adbutler"===e.context.$implicit.type)},null)}function B_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null)],null,null)}function z_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-install-software",[],null,[[null,"installedChanged"]],function(n,e,t){var l=!0;return"installedChanged"===e&&(l=!1!==n.component.onInstalled(t)&&l),l},D_,R_)),o["\u0275did"](1,770048,null,0,T_,[bc],{software:[0,"software"]},{installedChanged:"installedChanged"})],function(n,e){n(e,1,0,e.parent.context.$implicit)},null)}function U_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,z_)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,"adbutler"!==e.context.$implicit.type)},null)}function H_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function Z_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function W_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,44,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Installed software"])),(n()(),o["\u0275eld"](4,0,null,null,40,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,39,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,38,"mat-table",[["class","mat-table"]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](8,2342912,[["table",4]],4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](13,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](15,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,5,{cell:0}),o["\u0275qud"](603979776,6,{headerCell:0}),o["\u0275qud"](603979776,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,P_)),o["\u0275did"](21,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,V_)),o["\u0275did"](24,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](26,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](28,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,8,{cell:0}),o["\u0275qud"](603979776,9,{headerCell:0}),o["\u0275qud"](603979776,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,B_)),o["\u0275did"](34,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,U_)),o["\u0275did"](37,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,H_)),o["\u0275did"](40,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,Z_)),o["\u0275did"](43,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],qc,null,[tp])],function(n,e){var t=e.component;n(e,8,0,t.dataSource),n(e,15,0,"name"),n(e,28,0,"actions"),n(e,40,0,t.displayedColumns),n(e,43,0,t.displayedColumns)},null)}function G_(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-installed-software",[],null,null,null,W_,q_)),o["\u0275did"](1,114688,null,0,M_,[N_,o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}var K_=o["\u0275ccf"]("app-installed-software",M_,G_,{},{},[]),Y_=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.filter(function(n){return n.name.toLowerCase().includes(e)})):n:[]},n}(),$_=function(){function n(){}return n.prototype.transform=function(n){var e=new Date(1e3*+n),t=e.getHours(),l="0"+e.getMinutes(),o="0"+e.getSeconds(),r=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return t+":"+l.substr(-2)+":"+o.substr(-2)+" "+a+"/"+i+"/"+r},n}(),X_=function(){function n(n){this.httpServer=n}return n.prototype.create=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/snapshots",t)},n.prototype.delete=function(n,e,t){return this.httpServer.delete(n,"/projects/"+e+"/snapshots/"+t)},n.prototype.list=function(n,e){return this.httpServer.get(n,"/projects/"+e+"/snapshots")},n.prototype.restore=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/snapshots/"+t+"/restore",{})},n}(),Q_=function(){function n(n,e){this.dialogRef=n,this.data=e}return n.prototype.onCancelClick=function(){this.dialogRef.close(n.CANCELLED)},n.prototype.ngOnInit=function(){},n}(),J_=function(){function n(n){this.dialog=n}return n.prototype.open=function(){return this.dialog.open(Q_,{width:"250px",autoFocus:!1})},n}(),ny=function(){function n(n,e,t,l,o){this.snapshotService=n,this.serverService=e,this.route=t,this.progressDialogService=l,this.toaster=o,this.displayedColumns=["name","creationDate","actions"]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.projectId=this.route.snapshot.paramMap.get("project_id"),this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getSnapshots()})},n.prototype.getSnapshots=function(){var n=this;this.snapshotService.list(this.server,this.projectId).subscribe(function(e){n.snapshots=e})},n.prototype.restoreSnapshot=function(n){var e=this,t=this.snapshotService.restore(this.server,this.projectId,n.snapshot_id.toString()),l=this.progressDialogService.open(),o=t.subscribe(function(t){e.toaster.success("Snapshot "+n.name+" has been restored."),l.close()});l.afterClosed().subscribe(function(n){n===Q_.CANCELLED&&o.unsubscribe()})},n.prototype.deleteSnapshot=function(n){var e=this;this.snapshotService.delete(this.server,this.projectId,n.snapshot_id.toString()).subscribe(function(){e.getSnapshots(),e.toaster.success("Snapshot "+n.name+" has been deleted.")})},n.prototype.sortData=function(n){if(n.active&&""!==n.direction){var e=this.snapshots.slice();this.snapshots=e.sort(function(e,t){var l="asc"===n.direction;return"name"===n.active?function(n,e,t){return((n=n.toLowerCase())<(e=e.toLowerCase())?-1:1)*(t?1:-1)}(e.name,t.name,l):"creationDate"===n.active?function(n,e,t){return(n<e?-1:1)*(t?1:-1)}(+e.created_at,+t.created_at,!l):0})}},n}(),ey=o["\u0275crt"]({encapsulation:0,styles:[[".filter-field[_ngcontent-%COMP%]{width:100%}.mat-table[_ngcontent-%COMP%]{margin:-16px!important}"]],data:{}});function ty(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},ag,rg)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,lg,[eg,o.ChangeDetectorRef,[2,ng],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Name "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function ly(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function oy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick()&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!0)&&l),"mouseleave"===e&&(l=!1!==o["\u0275nov"](n,2)._setIndicatorHintVisible(!1)&&l),l},ag,rg)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),o["\u0275did"](2,245760,null,0,lg,[eg,o.ChangeDetectorRef,[2,ng],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),o["\u0275ted"](-1,0,[" Date "]))],function(n,e){n(e,2,0,"")},function(n,e){n(e,0,0,o["\u0275nov"](e,2)._getAriaSortAttribute(),o["\u0275nov"](e,2)._isDisabled())})}function ry(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "])),o["\u0275ppd"](3,1)],null,function(n,e){var t=o["\u0275unv"](e,2,0,n(e,3,0,o["\u0275nov"](e.parent,1),e.context.$implicit.created_at));n(e,2,0,t)})}function iy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Actions "]))],null,null)}function ay(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align: right"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Restore snapshot"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==r.restoreSnapshot(n.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](4,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](5,0,null,0,2,"mat-icon",[["aria-label","Restore snapshot"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](6,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["restore"])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Delete snapshot"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,10).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,10)._handleTouchend()&&l),"click"===e&&(l=!1!==r.deleteSnapshot(n.context.$implicit)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["aria-label","Delete snapshot"],["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"]))],function(n,e){n(e,4,0,"Restore snapshot"),n(e,6,0),n(e,10,0,"Delete snapshot"),n(e,12,0)},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).inline,"primary"!==o["\u0275nov"](e,6).color&&"accent"!==o["\u0275nov"](e,6).color&&"warn"!==o["\u0275nov"](e,6).color),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color)})}function uy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function sy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function dy(n){return o["\u0275vid"](0,[o["\u0275pid"](0,Y_,[]),o["\u0275pid"](0,$_,[]),(n()(),o["\u0275eld"](2,0,null,null,80,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Snapshots"])),(n()(),o["\u0275eld"](7,0,null,null,75,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,74,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](9,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](10,0,null,0,18,"mat-form-field",[["class","filter-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](11,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,27)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.searchText=t)&&l),l},null,null)),o["\u0275did"](22,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](24,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](26,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](27,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](29,0,null,0,53,"mat-table",[["class","mat-table mat-table"],["matSort",""]],null,[[null,"matSortChange"]],function(n,e,t){var l=!0;return"matSortChange"===e&&(l=!1!==n.component.sortData(t)&&l),l},ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](31,2342912,[["table",4]],4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,10,{_contentColumnDefs:1}),o["\u0275qud"](603979776,11,{_contentRowDefs:1}),o["\u0275qud"](603979776,12,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,13,{_contentFooterRowDefs:1}),o["\u0275ppd"](36,2),o["\u0275did"](37,737280,null,0,ng,[],null,{sortChange:"matSortChange"}),(n()(),o["\u0275eld"](38,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](40,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,14,{cell:0}),o["\u0275qud"](603979776,15,{headerCell:0}),o["\u0275qud"](603979776,16,{footerCell:0}),o["\u0275prd"](2048,[[10,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,ty)),o["\u0275did"](46,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[15,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,ly)),o["\u0275did"](49,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[14,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](51,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](53,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,17,{cell:0}),o["\u0275qud"](603979776,18,{headerCell:0}),o["\u0275qud"](603979776,19,{footerCell:0}),o["\u0275prd"](2048,[[10,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,oy)),o["\u0275did"](59,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[18,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,ry)),o["\u0275did"](62,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[17,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](64,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](66,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,20,{cell:0}),o["\u0275qud"](603979776,21,{headerCell:0}),o["\u0275qud"](603979776,22,{footerCell:0}),o["\u0275prd"](2048,[[10,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,iy)),o["\u0275did"](72,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[21,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,ay)),o["\u0275did"](75,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[20,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,uy)),o["\u0275did"](78,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[12,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,sy)),o["\u0275did"](81,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[11,4]],qc,null,[tp])],function(n,e){var t=e.component;n(e,24,0,t.searchText),n(e,27,0,"Filter");var l=o["\u0275unv"](e,31,0,n(e,36,0,o["\u0275nov"](e,0),t.snapshots,t.searchText));n(e,31,0,l),n(e,37,0),n(e,40,0,"name"),n(e,53,0,"creationDate"),n(e,66,0,"actions"),n(e,78,0,t.displayedColumns),n(e,81,0,t.displayedColumns)},function(n,e){n(e,8,0,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode),n(e,10,1,["standard"==o["\u0275nov"](e,11).appearance,"fill"==o["\u0275nov"](e,11).appearance,"outline"==o["\u0275nov"](e,11).appearance,"legacy"==o["\u0275nov"](e,11).appearance,o["\u0275nov"](e,11)._control.errorState,o["\u0275nov"](e,11)._canLabelFloat,o["\u0275nov"](e,11)._shouldLabelFloat(),o["\u0275nov"](e,11)._hasFloatingLabel(),o["\u0275nov"](e,11)._hideControlPlaceholder(),o["\u0275nov"](e,11)._control.disabled,o["\u0275nov"](e,11)._control.autofilled,o["\u0275nov"](e,11)._control.focused,"accent"==o["\u0275nov"](e,11).color,"warn"==o["\u0275nov"](e,11).color,o["\u0275nov"](e,11)._shouldForward("untouched"),o["\u0275nov"](e,11)._shouldForward("touched"),o["\u0275nov"](e,11)._shouldForward("pristine"),o["\u0275nov"](e,11)._shouldForward("dirty"),o["\u0275nov"](e,11)._shouldForward("valid"),o["\u0275nov"](e,11)._shouldForward("invalid"),o["\u0275nov"](e,11)._shouldForward("pending"),!o["\u0275nov"](e,11)._animationsEnabled]),n(e,21,1,[o["\u0275nov"](e,26).ngClassUntouched,o["\u0275nov"](e,26).ngClassTouched,o["\u0275nov"](e,26).ngClassPristine,o["\u0275nov"](e,26).ngClassDirty,o["\u0275nov"](e,26).ngClassValid,o["\u0275nov"](e,26).ngClassInvalid,o["\u0275nov"](e,26).ngClassPending,o["\u0275nov"](e,27)._isServer,o["\u0275nov"](e,27).id,o["\u0275nov"](e,27).placeholder,o["\u0275nov"](e,27).disabled,o["\u0275nov"](e,27).required,o["\u0275nov"](e,27).readonly&&!o["\u0275nov"](e,27)._isNativeSelect||null,o["\u0275nov"](e,27)._ariaDescribedby||null,o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).required.toString()])})}function cy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-list-of-snapshots",[],null,null,null,dy,ey)),o["\u0275did"](1,114688,null,0,ny,[X_,Uh,bt,J_,vc],null,null)],function(n,e){n(e,1,0)},null)}var py=o["\u0275ccf"]("app-list-of-snapshots",ny,cy,{},{},[]),fy=[".listcontainer[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}.choose-symbol-button[_ngcontent-%COMP%], .top-button[_ngcontent-%COMP%]{height:36px;margin-top:22px}.cancel-button[_ngcontent-%COMP%]{height:36px;margin-top:22px;margin-right:10px}.form-field[_ngcontent-%COMP%], .select[_ngcontent-%COMP%]{width:100%}.shadowed[_ngcontent-%COMP%]{display:none;transition:.25s}.nonvisible[_ngcontent-%COMP%]{display:none}.configButton[_ngcontent-%COMP%]{width:100%}.configHideButton[_ngcontent-%COMP%]{margin-left:80%;width:20%;margin-bottom:10px}.symbolSelectionButton[_ngcontent-%COMP%]{width:100%}.list-item[_ngcontent-%COMP%]{display:flex}.template-name[_ngcontent-%COMP%]{width:95%}.delete-button[_ngcontent-%COMP%]{width:10%;outline:0}.menu-button[_ngcontent-%COMP%]{width:5%;outline:0!important}th[_ngcontent-%COMP%]{border:0!important}th.mat-header-cell[_ngcontent-%COMP%]{padding-bottom:15px}td.mat-cell[_ngcontent-%COMP%]{padding-top:15px}.radio-button[_ngcontent-%COMP%]{width:50%;padding-top:20px}.radio-group[_ngcontent-%COMP%]{margin-bottom:20px}.file-button[_ngcontent-%COMP%]{width:18%}.file-name-form-field[_ngcontent-%COMP%]{padding-left:2%;width:80%}"],hy=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),my=o["\u0275crt"]({encapsulation:0,styles:[fy],data:{}});function vy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,64,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Preferences"])),(n()(),o["\u0275eld"](5,0,null,null,59,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,58,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,57,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](8,704512,null,0,tb,[],null,null),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10).onClick()&&l),l},vb,mb)),o["\u0275did"](10,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](11,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,1,{_lines:1}),o["\u0275qud"](603979776,2,{_avatar:0}),o["\u0275qud"](603979776,3,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Built-in "])),(n()(),o["\u0275eld"](16,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,17).onClick()&&l),l},vb,mb)),o["\u0275did"](17,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](18,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,4,{_lines:1}),o["\u0275qud"](603979776,5,{_avatar:0}),o["\u0275qud"](603979776,6,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Dynamips "])),(n()(),o["\u0275eld"](23,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,24).onClick()&&l),l},vb,mb)),o["\u0275did"](24,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](25,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,7,{_lines:1}),o["\u0275qud"](603979776,8,{_avatar:0}),o["\u0275qud"](603979776,9,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" IOS on Unix "])),(n()(),o["\u0275eld"](30,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,31).onClick()&&l),l},vb,mb)),o["\u0275did"](31,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](32,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,10,{_lines:1}),o["\u0275qud"](603979776,11,{_avatar:0}),o["\u0275qud"](603979776,12,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VPCS "])),(n()(),o["\u0275eld"](37,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,38).onClick()&&l),l},vb,mb)),o["\u0275did"](38,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](39,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,13,{_lines:1}),o["\u0275qud"](603979776,14,{_avatar:0}),o["\u0275qud"](603979776,15,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" QEMU "])),(n()(),o["\u0275eld"](44,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,45).onClick()&&l),l},vb,mb)),o["\u0275did"](45,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](46,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,16,{_lines:1}),o["\u0275qud"](603979776,17,{_avatar:0}),o["\u0275qud"](603979776,18,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VirtualBox "])),(n()(),o["\u0275eld"](51,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,52).onClick()&&l),l},vb,mb)),o["\u0275did"](52,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](53,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,19,{_lines:1}),o["\u0275qud"](603979776,20,{_avatar:0}),o["\u0275qud"](603979776,21,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" VMware "])),(n()(),o["\u0275eld"](58,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,59).onClick()&&l),l},vb,mb)),o["\u0275did"](59,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](60,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,22,{_lines:1}),o["\u0275qud"](603979776,23,{_avatar:0}),o["\u0275qud"](603979776,24,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Docker "]))],function(n,e){var t=e.component;n(e,10,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin")),n(e,17,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/dynamips/templates")),n(e,24,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/iou/templates")),n(e,31,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/vpcs/templates")),n(e,38,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/qemu/templates")),n(e,45,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/virtualbox/templates")),n(e,52,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/vmware/templates")),n(e,59,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/docker/templates"))},function(n,e){n(e,9,0,o["\u0275nov"](e,11)._avatar||o["\u0275nov"](e,11)._icon,o["\u0275nov"](e,11)._avatar||o["\u0275nov"](e,11)._icon),n(e,16,0,o["\u0275nov"](e,18)._avatar||o["\u0275nov"](e,18)._icon,o["\u0275nov"](e,18)._avatar||o["\u0275nov"](e,18)._icon),n(e,23,0,o["\u0275nov"](e,25)._avatar||o["\u0275nov"](e,25)._icon,o["\u0275nov"](e,25)._avatar||o["\u0275nov"](e,25)._icon),n(e,30,0,o["\u0275nov"](e,32)._avatar||o["\u0275nov"](e,32)._icon,o["\u0275nov"](e,32)._avatar||o["\u0275nov"](e,32)._icon),n(e,37,0,o["\u0275nov"](e,39)._avatar||o["\u0275nov"](e,39)._icon,o["\u0275nov"](e,39)._avatar||o["\u0275nov"](e,39)._icon),n(e,44,0,o["\u0275nov"](e,46)._avatar||o["\u0275nov"](e,46)._icon,o["\u0275nov"](e,46)._avatar||o["\u0275nov"](e,46)._icon),n(e,51,0,o["\u0275nov"](e,53)._avatar||o["\u0275nov"](e,53)._icon,o["\u0275nov"](e,53)._avatar||o["\u0275nov"](e,53)._icon),n(e,58,0,o["\u0275nov"](e,60)._avatar||o["\u0275nov"](e,60)._icon,o["\u0275nov"](e,60)._avatar||o["\u0275nov"](e,60)._icon)})}function gy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-preferences",[],null,null,null,vy,my)),o["\u0275did"](1,114688,null,0,hy,[bt],null,null)],function(n,e){n(e,1,0)},null)}var by=o["\u0275ccf"]("app-preferences",hy,gy,{},{},[]),_y=function(){function n(n){this.route=n,this.serverId=""}return n.prototype.ngOnInit=function(){this.serverId=this.route.snapshot.paramMap.get("server_id")},n}(),yy=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function wy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,33,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Built-in preferences"])),(n()(),o["\u0275eld"](5,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,6).onClick()&&l),l},pu,cu)),o["\u0275did"](6,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](7,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"])),(n()(),o["\u0275eld"](9,0,null,null,24,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](10,0,null,null,23,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,22,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](12,704512,null,0,tb,[],null,null),(n()(),o["\u0275eld"](13,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,14).onClick()&&l),l},vb,mb)),o["\u0275did"](14,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](15,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,1,{_lines:1}),o["\u0275qud"](603979776,2,{_avatar:0}),o["\u0275qud"](603979776,3,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Ethernet hubs "])),(n()(),o["\u0275eld"](20,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,21).onClick()&&l),l},vb,mb)),o["\u0275did"](21,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](22,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,4,{_lines:1}),o["\u0275qud"](603979776,5,{_avatar:0}),o["\u0275qud"](603979776,6,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Ethernet switches "])),(n()(),o["\u0275eld"](27,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,28).onClick()&&l),l},vb,mb)),o["\u0275did"](28,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](29,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,7,{_lines:1}),o["\u0275qud"](603979776,8,{_avatar:0}),o["\u0275qud"](603979776,9,{_icon:0}),(n()(),o["\u0275ted"](-1,2,[" Cloud nodes "]))],function(n,e){var t=e.component;n(e,6,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences")),n(e,14,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-hubs")),n(e,21,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/ethernet-switches")),n(e,28,0,o["\u0275inlineInterpolate"](1,"/server/",t.serverId,"/preferences/builtin/cloud-nodes"))},function(n,e){n(e,5,0,o["\u0275nov"](e,7).disabled||null,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,13,0,o["\u0275nov"](e,15)._avatar||o["\u0275nov"](e,15)._icon,o["\u0275nov"](e,15)._avatar||o["\u0275nov"](e,15)._icon),n(e,20,0,o["\u0275nov"](e,22)._avatar||o["\u0275nov"](e,22)._icon,o["\u0275nov"](e,22)._avatar||o["\u0275nov"](e,22)._icon),n(e,27,0,o["\u0275nov"](e,29)._avatar||o["\u0275nov"](e,29)._icon,o["\u0275nov"](e,29)._avatar||o["\u0275nov"](e,29)._icon)})}function Cy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-built-in-preferences",[],null,null,null,wy,yy)),o["\u0275did"](1,114688,null,0,_y,[bt],null,null)],function(n,e){n(e,1,0)},null)}var xy=o["\u0275ccf"]("app-built-in-preferences",_y,Cy,{},{},[]),Sy=function(){return function(){this.emptyTemplatesListMessage="Empty templates list",this.textMessage&&(this.emptyTemplatesListMessage=this.textMessage)}}(),ky=o["\u0275crt"]({encapsulation:0,styles:[[".header[_ngcontent-%COMP%]{text-align:center;color:#a9a9a9}"]],data:{}});function Ey(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,1,"h6",[["class","header"]],null,null,null,null,null)),(n()(),o["\u0275ted"](4,null,[" "," "]))],null,function(n,e){var t=e.component;n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,4,0,t.emptyTemplatesListMessage)})}var Ty=function(){function n(n){this.httpServer=n}return n.prototype.list=function(n){return this.httpServer.get(n,"/templates")},n.prototype.deleteTemplate=function(n,e){return this.httpServer.delete(n,"/templates/"+e,{observe:"body"}).map(function(n){return!0}).catch(function(n){return d.a.throw(!1)})},n}(),Ry=function(){function n(n,e){this.dialogRef=n,this.data=e,this.templateName="",this.templateName=e.templateName}return n.prototype.ngOnInit=function(){},n.prototype.onNoClick=function(){this.dialogRef.close(!1)},n.prototype.onYesClick=function(){this.dialogRef.close(!0)},n}(),Iy=function(){function n(n,e,t){this.templateService=n,this.dialog=e,this.toasterService=t,this.deleteEvent=new o.EventEmitter}return n.prototype.deleteItem=function(n,e){var t=this;this.dialog.open(Ry,{width:"300px",height:"250px",data:{templateName:n},autoFocus:!1}).afterClosed().subscribe(function(l){l&&t.templateService.deleteTemplate(t.server,e).subscribe(function(l){l&&(t.deleteEvent.emit(e),t.toasterService.success("Template "+n+" deleted."))})})},n}(),Dy=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Oy(n){return o["\u0275vid"](0,[],null,null)}var Fy=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),Ny=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.ethernetHubsTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(e){n.ethernetHubsTemplates=e.filter(function(n){return"ethernet_hub"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),My=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Ay(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function qy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Ethernet hub template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-hubs/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Py(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function jy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function Ly(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,jy)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.ethernetHubsTemplates)},null)}function Vy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Ly)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function By(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet hubs templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Ay)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qy)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Py)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Vy)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.ethernetHubsTemplates.length),n(e,13,0,t.ethernetHubsTemplates.length),n(e,15,0,t.server)},null)}function zy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-templates",[],null,null,null,By,My)),o["\u0275did"](1,114688,null,0,Ny,[bt,Uh,Fy],null,null)],function(n,e){n(e,1,0)},null)}var Uy=o["\u0275ccf"]("app-ethernet-hubs-templates",Ny,zy,{},{},[]),Hy=function(){function n(){}return n.prototype.getQemuTemplate=function(){return Object(D.a)({adapter_type:"e1000",adapters:4,bios_image:"",boot_priority:"c",builtin:!1,category:"guest",cdrom_image:"",compute_id:"local",console_auto_start:!1,console_type:"telnet",cpu_throttling:0,cpus:1,custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",hda_disk_image:"",hda_disk_interface:"ide",hdb_disk_image:"",hdb_disk_interface:"ide",hdc_disk_image:"",hdc_disk_interface:"ide",hdd_disk_image:"",hdd_disk_interface:"ide",initrd:"",kernel_command_line:"",kernel_image:"",legacy_networking:!1,linked_clone:!0,mac_address:"",name:"",on_close:"power_off",options:"-nographic",platform:"",port_name_format:"Ethernet{0}",port_segment_size:0,process_priority:"normal",qemu_path:"",ram:256,symbol:":/symbols/qemu_guest.svg",template_id:"",template_type:"qemu",usage:""})},n.prototype.getVpcsTemplate=function(){return Object(D.a)({base_script_file:"vpcs_base_config.txt",builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"PC{0}",name:"",symbol:":/symbols/vpcs_guest.svg",template_id:"",template_type:"vpcs"})},n.prototype.getVirtualBoxTemplate=function(){return Object(D.a)({adapter_type:"Intel PRO/1000 MT Desktop (82540EM)",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power_off",port_name_format:"Ethernet{0}",port_segment_size:0,ram:0,symbol:":/symbols/vbox_guest.svg",template_id:"",template_type:"virtualbox",usage:"",use_any_adapter:!1,vmname:""})},n.prototype.getCloudNodeTemplate=function(){return Object(D.a)({builtin:!1,category:"guest",compute_id:"local",default_name_format:"Cloud{0}",name:"",ports_mapping:[],remote_console_type:"none",symbol:":/symbols/cloud.svg",template_id:"",template_type:"cloud"})},n.prototype.getEthernetHubTemplate=function(){return Object(D.a)({builtin:!1,category:"switch",compute_id:"local",default_name_format:"Hub{0}",name:"",ports_mapping:[],symbol:":/symbols/hub.svg",template_id:"",template_type:"ethernet_hub"})},n.prototype.getEthernetSwitchTemplate=function(){return Object(D.a)({builtin:!1,category:"switch",compute_id:"local",console_type:"telnet",default_name_format:"Switch{0}",name:"",ports_mapping:[],symbol:":/symbols/ethernet_switch.svg",template_id:"",template_type:"ethernet_switch"})},n.prototype.getIosTemplate=function(){return Object(D.a)({auto_delete_disks:!0,builtin:!1,category:"router",chassis:"",compute_id:"local",console_auto_start:!1,console_type:"telnet",default_name_format:"R{0}",disk0:0,disk1:0,exec_area:64,idlemax:500,idlepc:"",idlesleep:30,image:"",iomem:0,mac_addr:"",mmap:!0,name:"",nvram:128,platform:"",private_config:"",ram:128,sparsemem:!0,startup_config:"",symbol:":/symbols/router.svg",system_id:"FTX0945W0MY",template_id:"",template_type:"dynamips",usage:""})},n.prototype.getVmwareTemplate=function(){return Object(D.a)({adapter_type:"e1000",adapters:1,builtin:!1,category:"guest",compute_id:"local",console_auto_start:!1,console_type:"none",custom_adapters:[],default_name_format:"{name}-{0}",first_port_name:"",headless:!1,linked_clone:!1,name:"",on_close:"power-off",port_name_format:"Ethernet{0}",port_segment_size:0,symbol:":/symbols/vmware_guest.svg",template_id:"",template_type:"vmware",usage:"",use_any_adapter:!1,vmx_path:""})},n.prototype.getDockerTemplate=function(){return Object(D.a)({adapters:1,builtin:!1,category:"guest",compute_id:"vm",console_auto_start:!1,console_http_path:"/",console_http_port:80,console_resolution:"1024x768",console_type:"telnet",custom_adapters:[],default_name_format:"{name}-{0}",environment:"",extra_hosts:"",image:"",name:"",start_command:"",symbol:":/symbols/docker_guest.svg",template_id:"",template_type:"docker",usage:""})},n.prototype.getIouTemplate=function(){return Object(D.a)({builtin:!1,category:"switch",compute_id:"vm",console_auto_start:!1,console_type:"telnet",default_name_format:"IOU{0}",ethernet_adapters:1,l1_keepalives:!1,name:"",nvram:128,path:"",private_config:"",ram:256,serial_adapters:0,startup_config:"iou_l2_base_startup-config.txt",symbol:":/symbols/multilayer_switch.svg",template_id:"",template_type:"iou",usage:"",use_default_iou_values:!0})},n}(),Zy=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Vm("",sm.required),numberOfPorts:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.addTemplate=function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var e;this.templateMocksService.getEthernetHubTemplate().subscribe(function(n){e=n}),e.template_id=Object(dg.v4)(),e.name=this.formGroup.get("templateName").value;for(var t=0;t<this.formGroup.get("numberOfPorts").value;t++)e.ports_mapping.push({name:"Ethernet"+t,port_number:t});this.builtInTemplatesService.addTemplate(this.server,e).subscribe(function(){n.goBack()})}},n}(),Wy=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Gy(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,57,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Ethernet hub template"])),(n()(),o["\u0275eld"](5,0,null,null,52,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,44,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](33,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](43,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfPorts"],["matInput",""],["placeholder","Number of ports"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,44)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,44).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,44)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,44)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,49)._onInput()&&l),l},null,null)),o["\u0275did"](44,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](46,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](48,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](49,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](51,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](52,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](53,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](55,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](56,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){n(e,10,0,e.component.formGroup),n(e,27,0,"templateName"),n(e,30,0,"Template name","text"),n(e,46,0,"numberOfPorts"),n(e,49,0,"Number of ports","text"),n(e,56,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,32,1,["standard"==o["\u0275nov"](e,33).appearance,"fill"==o["\u0275nov"](e,33).appearance,"outline"==o["\u0275nov"](e,33).appearance,"legacy"==o["\u0275nov"](e,33).appearance,o["\u0275nov"](e,33)._control.errorState,o["\u0275nov"](e,33)._canLabelFloat,o["\u0275nov"](e,33)._shouldLabelFloat(),o["\u0275nov"](e,33)._hasFloatingLabel(),o["\u0275nov"](e,33)._hideControlPlaceholder(),o["\u0275nov"](e,33)._control.disabled,o["\u0275nov"](e,33)._control.autofilled,o["\u0275nov"](e,33)._control.focused,"accent"==o["\u0275nov"](e,33).color,"warn"==o["\u0275nov"](e,33).color,o["\u0275nov"](e,33)._shouldForward("untouched"),o["\u0275nov"](e,33)._shouldForward("touched"),o["\u0275nov"](e,33)._shouldForward("pristine"),o["\u0275nov"](e,33)._shouldForward("dirty"),o["\u0275nov"](e,33)._shouldForward("valid"),o["\u0275nov"](e,33)._shouldForward("invalid"),o["\u0275nov"](e,33)._shouldForward("pending"),!o["\u0275nov"](e,33)._animationsEnabled]),n(e,43,1,[o["\u0275nov"](e,48).ngClassUntouched,o["\u0275nov"](e,48).ngClassTouched,o["\u0275nov"](e,48).ngClassPristine,o["\u0275nov"](e,48).ngClassDirty,o["\u0275nov"](e,48).ngClassValid,o["\u0275nov"](e,48).ngClassInvalid,o["\u0275nov"](e,48).ngClassPending,o["\u0275nov"](e,49)._isServer,o["\u0275nov"](e,49).id,o["\u0275nov"](e,49).placeholder,o["\u0275nov"](e,49).disabled,o["\u0275nov"](e,49).required,o["\u0275nov"](e,49).readonly&&!o["\u0275nov"](e,49)._isNativeSelect||null,o["\u0275nov"](e,49)._ariaDescribedby||null,o["\u0275nov"](e,49).errorState,o["\u0275nov"](e,49).required.toString()]),n(e,52,0,o["\u0275nov"](e,53).disabled||null,"NoopAnimations"===o["\u0275nov"](e,53)._animationMode),n(e,55,0,o["\u0275nov"](e,56).disabled||null,"NoopAnimations"===o["\u0275nov"](e,56)._animationMode)})}function Ky(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-add-template",[],null,null,null,Gy,Wy)),o["\u0275did"](1,114688,null,0,Zy,[bt,Uh,Fy,Rl,vc,Hy,rv],null,null)],function(n,e){n(e,1,0)},null)}var Yy=o["\u0275ccf"]("app-ethernet-hubs-add-template",Zy,Ky,{},{},[]),$y=0,Xy=0,Qy=new o.InjectionToken("mat-select-scroll-strategy");function Jy(n){return function(){return n.scrollStrategies.reposition()}}var nw=function(){return function(n,e){this.source=n,this.value=e}}(),ew=function(n){function e(e,t,l,r,i,a,u,s,d,c,p,f,h){var m=n.call(this,i,r,u,s,c)||this;return m._viewportRuler=e,m._changeDetectorRef=t,m._ngZone=l,m._dir=a,m._parentFormField=d,m.ngControl=c,m._liveAnnouncer=h,m._panelOpen=!1,m._required=!1,m._scrollTop=0,m._multiple=!1,m._compareWith=function(n,e){return n===e},m._uid="mat-select-"+$y++,m._destroy=new A.b,m._triggerFontSize=0,m._onChange=function(){},m._onTouched=function(){},m._optionIds="",m._transformOrigin="top",m._panelDoneAnimatingStream=new A.b,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=Object(M.a)(function(){var n=m.options;return n?n.changes.pipe(Object(W.a)(n),Object(H.a)(function(){return Ts.a.apply(void 0,n.map(function(n){return n.onSelectionChange}))})):m._ngZone.onStable.asObservable().pipe(Object(Z.a)(1),Object(H.a)(function(){return m.optionSelectionChanges}))}),m.openedChange=new o.EventEmitter,m._openedStream=m.openedChange.pipe(Object(K.a)(function(n){return n}),Object(P.a)(function(){})),m._closedStream=m.openedChange.pipe(Object(K.a)(function(n){return!n}),Object(P.a)(function(){})),m.selectionChange=new o.EventEmitter,m.valueChange=new o.EventEmitter,m.ngControl&&(m.ngControl.valueAccessor=m),m._scrollStrategyFactory=f,m._scrollStrategy=m._scrollStrategyFactory(),m.tabIndex=parseInt(p)||0,m.id=m.id,m}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(n){this._focused=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(n){this._placeholder=n,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(n){this._required=uo(n),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(n){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(n){this._disableOptionCentering=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(n){if("function"!=typeof n)throw Error("`compareWith` must be a function.");this._compareWith=n,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){n!==this._value&&(this.writeValue(n),this._value=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this._selectionModel=new js(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(Fs.a)(),Object(Is.a)(this._destroy)).subscribe(function(){n.panelOpen?(n._scrollTop=0,n.openedChange.emit(!0)):(n.openedChange.emit(!1),n.overlayDir.offsetX=0,n._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(Object(Is.a)(this._destroy)).subscribe(function(){n._panelOpen&&(n._triggerRect=n.trigger.nativeElement.getBoundingClientRect(),n._changeDetectorRef.markForCheck())})},e.prototype.ngAfterContentInit=function(){var n=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Object(Is.a)(this._destroy)).subscribe(function(n){n.added.forEach(function(n){return n.select()}),n.removed.forEach(function(n){return n.deselect()})}),this.options.changes.pipe(Object(W.a)(null),Object(Is.a)(this._destroy)).subscribe(function(){n._resetOptions(),n._initializeSelection()})},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(n){n.disabled&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var n=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(Object(Z.a)(1)).subscribe(function(){n._triggerFontSize&&n.overlayDir.overlayRef&&n.overlayDir.overlayRef.overlayElement&&(n.overlayDir.overlayRef.overlayElement.style.fontSize=n._triggerFontSize+"px")}))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(n){this.options&&this._setSelectionByValue(n)},e.prototype.registerOnChange=function(n){this._onChange=n},e.prototype.registerOnTouched=function(n){this._onTouched=n},e.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var n=this._selectionModel.selected.map(function(n){return n.viewValue});return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))},e.prototype._handleClosedKeydown=function(n){var e=n.keyCode,t=40===e||38===e||37===e||39===e,l=this._keyManager;if((13===e||32===e)&&!xo(n)||(this.multiple||n.altKey)&&t)n.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;36===e||35===e?(36===e?l.setFirstItemActive():l.setLastItemActive(),n.preventDefault()):l.onKeydown(n);var r=this.selected;this._liveAnnouncer&&r&&o!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}},e.prototype._handleOpenKeydown=function(n){var e=n.keyCode,t=40===e||38===e,l=this._keyManager;if(36===e||35===e)n.preventDefault(),36===e?l.setFirstItemActive():l.setLastItemActive();else if(t&&n.altKey)n.preventDefault(),this.close();else if(13!==e&&32!==e||!l.activeItem||xo(n))if(this._multiple&&65===e&&n.ctrlKey){n.preventDefault();var o=this.options.some(function(n){return!n.disabled&&!n.selected});this.options.forEach(function(n){n.disabled||(o?n.select():n.deselect())})}else{var r=l.activeItemIndex;l.onKeydown(n),this._multiple&&t&&n.shiftKey&&l.activeItem&&l.activeItemIndex!==r&&l.activeItem._selectViaInteraction()}else n.preventDefault(),l.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var n=this;this.overlayDir.positionChange.pipe(Object(Z.a)(1)).subscribe(function(){n._setPseudoCheckboxPaddingSize(),n._changeDetectorRef.detectChanges(),n._calculateOverlayOffsetX(),n.panel.nativeElement.scrollTop=n._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},e.prototype._setPseudoCheckboxPaddingSize=function(){if(!Xy&&this.multiple){var n=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");n&&(Xy=24+n.offsetWidth)}},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var n=this;Promise.resolve().then(function(){n._setSelectionByValue(n.ngControl?n.ngControl.value:n._value),n.stateChanges.next()})},e.prototype._setSelectionByValue=function(n){var e=this;if(this.multiple&&n){if(!Array.isArray(n))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),n.forEach(function(n){return e._selectValue(n)}),this._sortValues()}else{this._selectionModel.clear();var t=this._selectValue(n);t&&this._keyManager.setActiveItem(t)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(n){var e=this,t=this.options.find(function(t){try{return null!=t.value&&e._compareWith(t.value,n)}catch(l){return Object(o.isDevMode)()&&console.warn(l),!1}});return t&&this._selectionModel.select(t),t},e.prototype._initKeyManager=function(){var n=this;this._keyManager=new Oo(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(Is.a)(this._destroy)).subscribe(function(){n.focus(),n.close()}),this._keyManager.change.pipe(Object(Is.a)(this._destroy)).subscribe(function(){n._panelOpen&&n.panel?n._scrollActiveOptionIntoView():n._panelOpen||n.multiple||!n._keyManager.activeItem||n._keyManager.activeItem._selectViaInteraction()})},e.prototype._resetOptions=function(){var n=this,e=Object(Ts.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(Is.a)(e)).subscribe(function(e){n._onSelect(e.source,e.isUserInput),e.isUserInput&&!n.multiple&&n._panelOpen&&(n.close(),n.focus())}),Ts.a.apply(void 0,this.options.map(function(n){return n._stateChanges})).pipe(Object(Is.a)(e)).subscribe(function(){n._changeDetectorRef.markForCheck(),n.stateChanges.next()}),this._setOptionIds()},e.prototype._onSelect=function(n,e){var t=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n),e&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),e&&this.focus())):(n.deselect(),this._selectionModel.clear(),this._propagateChanges(n.value)),t!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var n=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(t,l){return n.sortComparator?n.sortComparator(t,l,e):e.indexOf(t)-e.indexOf(l)}),this.stateChanges.next()}},e.prototype._propagateChanges=function(n){var e;e=this.multiple?this.selected.map(function(n){return n.value}):this.selected?this.selected.value:n,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new nw(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(n){return n.id}).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var n,e,t,l=this._keyManager.activeItemIndex||0,o=Er(l,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(t=(l+o)*(n=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?t:t+n>e+256?Math.max(0,t-256+n):e},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._getOptionIndex=function(n){return this.options.reduce(function(e,t,l){return void 0===e?n===t?l:void 0:e},void 0)},e.prototype._calculateOverlayPosition=function(){var n=this._getItemHeight(),e=this._getItemCount(),t=Math.min(e*n,256),l=e*n-t,o=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);o+=Er(o,this.options,this.optionGroups);var r=t/2;this._scrollTop=this._calculateOverlayScroll(o,r,l),this._offsetY=this._calculateOverlayOffsetY(o,r,l),this._checkOverlayWithinViewport(l)},e.prototype._calculateOverlayScroll=function(n,e,t){var l=this._getItemHeight();return Math.min(Math.max(0,l*n-e+l/2),t)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var n,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),l=this._isRtl(),o=this.multiple?Xy+16:32;if(this.multiple)n=Xy;else{var r=this._selectionModel.selected[0]||this.options.first;n=r&&r.group?32:16}l||(n*=-1);var i=0-(e.left+n-(l?o:0)),a=e.right+n-t.width+(l?0:o);i>0?n+=i+8:a>0&&(n-=a+8),this.overlayDir.offsetX=Math.round(n),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(n,e,t){var l,o=this._getItemHeight(),r=(o-this._triggerRect.height)/2,i=Math.floor(256/o);return this._disableOptionCentering?0:(l=0===this._scrollTop?n*o:this._scrollTop===t?(n-(this._getItemCount()-i))*o+(o-(this._getItemCount()*o-256)%o):e-o/2,Math.round(-1*l-r))},e.prototype._checkOverlayWithinViewport=function(n){var e=this._getItemHeight(),t=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,o=t.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),i=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;i>o?this._adjustPanelUp(i,o):r>l?this._adjustPanelDown(r,l,n):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(n,e){var t=Math.round(n-e);this._scrollTop-=t,this._offsetY-=t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(n,e,t){var l=Math.round(n-e);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=t)return this._scrollTop=t,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var n=this._getItemHeight(),e=(n-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+n/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Qo(Jo($o(nr(function(){return function(n,e,t,l,o){this._elementRef=n,this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=l,this.ngControl=o}}()))))),tw=function(){return function(){}}(),lw=o["\u0275crt"]({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.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 .4s cubic-bezier(.25,.8,.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}@media (-ms-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 .4s .133s cubic-bezier(.25,.8,.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}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function ow(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.placeholder||"\xa0")})}function rw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.triggerValue||"\xa0")})}function iw(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function aw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,rw)),o["\u0275did"](3,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,iw)),o["\u0275did"](5,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(n,e){n(e,1,0,!!e.component.customTrigger),n(e,5,0,!0)},null)}function uw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(n()(),o["\u0275eld"](1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(n,e,t){var l=!0,o=n.component;return"@transformPanel.done"===e&&(l=!1!==o._panelDoneAnimatingStream.next(t.toState)&&l),"keydown"===e&&(l=!1!==o._handleKeydown(t)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](3,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275ncd"](null,1)],function(n,e){var t=e.component;n(e,3,0,o["\u0275inlineInterpolate"](1,"mat-select-panel ",t._getPanelTheme(),""),t.panelClass)},function(n,e){var t=e.component;n(e,0,0,void 0),n(e,1,0,t.multiple?"showing-multiple":"showing",t._transformOrigin,t._triggerFontSize)})}function sw(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{trigger:0}),o["\u0275qud"](671088640,2,{panel:0}),o["\u0275qud"](671088640,3,{overlayDir:0}),(n()(),o["\u0275eld"](3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.toggle()&&l),l},null,null)),o["\u0275did"](4,16384,[["origin",4]],0,hd,[o.ElementRef],null,null),(n()(),o["\u0275eld"](5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),o["\u0275did"](6,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ow)),o["\u0275did"](8,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,aw)),o["\u0275did"](10,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275eld"](11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,function(n,e,t){var l=!0,o=n.component;return"backdropClick"===e&&(l=!1!==o.close()&&l),"attach"===e&&(l=!1!==o._onAttached()&&l),"detach"===e&&(l=!1!==o.close()&&l),l},uw)),o["\u0275did"](14,671744,[[3,4]],0,md,[cd,o.TemplateRef,o.ViewContainerRef,fd,[2,Ar]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],function(n,e){var t=e.component;n(e,6,0,t.empty),n(e,8,0,!0),n(e,10,0,!1),n(e,14,0,o["\u0275nov"](e,4),t._positions,t._offsetY,null==t._triggerRect?null:t._triggerRect.width,"cdk-overlay-transparent-backdrop",t._scrollStrategy,t.panelOpen,"","")},null)}var dw=function(){function n(){}return n.prototype.transform=function(n,e){return n?e?(e=e.toLowerCase(),n.filter(function(n){return n.filename.toLowerCase().includes(e)})):n:[]},n}(),cw=function(){function n(n){this.httpServer=n,this.symbols=new E.a([])}return n.prototype.get=function(n){return this.symbols.getValue().find(function(e){return e.symbol_id===n})},n.prototype.load=function(n){var e=this,t=this.list(n).subscribe(function(l){var o=l.map(function(t){return e.raw(n,t.symbol_id)});Object(ns.a)(o).subscribe(function(n){l.forEach(function(e,t){e.raw=n[t]}),e.symbols.next(l),t.unsubscribe()})});return this.symbols.asObservable()},n.prototype.list=function(n){return this.httpServer.get(n,"/symbols")},n.prototype.raw=function(n,e){var t=encodeURI(e);return this.httpServer.getText(n,"/symbols/"+t+"/raw")},n}(),pw=function(){function n(n){this.symbolService=n,this.symbolChanged=new o.EventEmitter,this.symbols=[],this.isSelected="",this.searchText=""}return n.prototype.ngOnInit=function(){var n=this;this.isSelected=this.symbol,this.symbolService.list(this.server).subscribe(function(e){n.symbols=e})},n.prototype.setSelected=function(n){this.isSelected=n,this.symbolChanged.emit(this.isSelected)},n}(),fw=o["\u0275crt"]({encapsulation:0,styles:[[".buttonWrapper[_ngcontent-%COMP%]{width:85px;height:85px;display:flex;align-items:center;margin-left:auto;margin-right:auto;outline:0}.button[_ngcontent-%COMP%]{background:border-box;border-width:0;outline:0}.buttonSelected[_ngcontent-%COMP%]{border-width:3px;border-color:#0097a7;width:77px}.image[_ngcontent-%COMP%]{width:65px;height:65px}.imageSelected[_ngcontent-%COMP%]{margin-left:-3px}.wrapper[_ngcontent-%COMP%]{display:grid;grid-template-rows:auto;grid-template-columns:repeat(7,1fr);grid-row-gap:3em;grid-column-gap:1em}"]],data:{}});function hw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","buttonWrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,7,"button",[["class","button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setSelected(n.context.$implicit.symbol_id)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](3,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](4,{buttonSelected:0}),(n()(),o["\u0275eld"](5,0,null,null,3,"img",[["class","image"]],[[8,"src",4]],null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](7,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](8,{imageSelected:0})],function(n,e){var t=e.component,l=n(e,4,0,t.isSelected===e.context.$implicit.symbol_id);n(e,3,0,"button",l);var o=n(e,8,0,t.isSelected===e.context.$implicit.symbol_id);n(e,7,0,"image",o)},function(n,e){n(e,5,0,o["\u0275inlineInterpolate"](1,"http://127.0.0.1:3080/v2/symbols/",e.context.$implicit.symbol_id,"/raw"))})}function mw(n){return o["\u0275vid"](0,[o["\u0275pid"](0,dw,[]),(n()(),o["\u0275eld"](1,0,null,null,15,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Search by filename"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,5)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,5).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,5)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,5)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,10)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,10)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,10)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.searchText=t)&&l),l},null,null)),o["\u0275prd"](6144,null,Pb,null,[d_]),o["\u0275did"](5,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](7,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](9,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](10,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),(n()(),o["\u0275eld"](11,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](13,0,null,0,3,"div",[["class","wrapper"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,hw)),o["\u0275did"](15,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275ppd"](16,2)],function(n,e){var t=e.component;n(e,7,0,t.searchText),n(e,10,0,"Search by filename","text");var l=o["\u0275unv"](e,15,0,n(e,16,0,o["\u0275nov"](e,0),t.symbols,t.searchText));n(e,15,0,l)},function(n,e){n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,1,[o["\u0275nov"](e,9).ngClassUntouched,o["\u0275nov"](e,9).ngClassTouched,o["\u0275nov"](e,9).ngClassPristine,o["\u0275nov"](e,9).ngClassDirty,o["\u0275nov"](e,9).ngClassValid,o["\u0275nov"](e,9).ngClassInvalid,o["\u0275nov"](e,9).ngClassPending,o["\u0275nov"](e,10)._isServer,o["\u0275nov"](e,10).id,o["\u0275nov"](e,10).placeholder,o["\u0275nov"](e,10).disabled,o["\u0275nov"](e,10).required,o["\u0275nov"](e,10).readonly&&!o["\u0275nov"](e,10)._isNativeSelect||null,o["\u0275nov"](e,10)._ariaDescribedby||null,o["\u0275nov"](e,10).errorState,o["\u0275nov"](e,10).required.toString()])})}function vw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols",[],null,null,null,mw,fw)),o["\u0275did"](1,114688,null,0,pw,[cw],null,null)],function(n,e){n(e,1,0)},null)}var gw=o["\u0275ccf"]("app-symbols",pw,vw,{server:"server",symbol:"symbol"},{symbolChanged:"symbolChanged"},[]),bw=function(){function n(){this.symbolChangedEmitter=new o.EventEmitter,this.chosenSymbol=""}return n.prototype.symbolChanged=function(n){this.chosenSymbol=n},n.prototype.chooseSymbol=function(){this.symbolChangedEmitter.emit(this.chosenSymbol)},n.prototype.cancelChooseSymbol=function(){this.symbolChangedEmitter.emit(this.symbol)},n}(),_w=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function yw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Symbol selection"])),(n()(),o["\u0275eld"](5,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelChooseSymbol()&&l),l},pu,cu)),o["\u0275did"](6,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](8,0,null,null,2,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](11,0,null,null,2,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,1,"app-symbols",[],null,[[null,"symbolChanged"]],function(n,e,t){var l=!0;return"symbolChanged"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},mw,fw)),o["\u0275did"](13,114688,null,0,pw,[cw],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChanged:"symbolChanged"})],function(n,e){var t=e.component;n(e,9,0,"primary"),n(e,13,0,t.server,t.symbol)},function(n,e){n(e,5,0,o["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode)})}var ww=function(){function n(){}return n.prototype.getCategoriesForCloudNodes=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getConsoleTypesForCloudNodes=function(){return["telnet","none"]},n.prototype.getCategoriesForEthernetHubs=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getCategoriesForEthernetSwitches=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n.prototype.getConsoleTypesForEthernetSwitches=function(){return["telnet","none"]},n.prototype.getPortTypesForEthernetSwitches=function(){return["access","dot1q","qinq"]},n.prototype.getEtherTypesForEthernetSwitches=function(){return["0x8100","0x88A8","0x9100","0x9200"]},n}(),Cw=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.categories=n.builtInTemplatesConfigurationService.getCategoriesForEthernetHubs(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe(function(e){n.ethernetHubTemplate=e,n.numberOfPorts=n.ethernetHubTemplate.ports_mapping.length})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-hubs"])},n.prototype.onSave=function(){var n=this;if(this.inputForm.invalid||!this.numberOfPorts)this.toasterService.error("Fill all required fields");else{this.ethernetHubTemplate.ports_mapping=[];for(var e=0;e<this.numberOfPorts;e++)this.ethernetHubTemplate.ports_mapping.push({name:"Ethernet"+e,port_number:e});this.builtInTemplatesService.saveTemplate(this.server,this.ethernetHubTemplate).subscribe(function(e){n.toasterService.success("Changes saved")})}},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetHubTemplate.symbol=n},n}(),xw=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Sw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[37,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function kw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,122,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,113,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,111,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.name=t)&&l),l},null,null)),o["\u0275did"](20,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](22,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](24,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](25,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](27,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](28,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](38,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,39)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,39).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,44)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,44)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,44)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](39,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](41,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](43,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](44,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](46,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](47,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,19,{_controlNonStatic:0}),o["\u0275qud"](335544320,20,{_controlStatic:0}),o["\u0275qud"](603979776,21,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,22,{_labelChildStatic:0}),o["\u0275qud"](603979776,23,{_placeholderChild:0}),o["\u0275qud"](603979776,24,{_errorChildren:1}),o["\u0275qud"](603979776,25,{_hintChildren:1}),o["\u0275qud"](603979776,26,{_prefixChildren:1}),o["\u0275qud"](603979776,27,{_suffixChildren:1}),(n()(),o["\u0275eld"](57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,58)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,58).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,58)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,58)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,63)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,63)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,63)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](58,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](60,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](62,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](63,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[19,4],[20,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](65,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](66,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](68,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](69,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](70,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](71,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,28,{_controlNonStatic:0}),o["\u0275qud"](335544320,29,{_controlStatic:0}),o["\u0275qud"](603979776,30,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,31,{_labelChildStatic:0}),o["\u0275qud"](603979776,32,{_placeholderChild:0}),o["\u0275qud"](603979776,33,{_errorChildren:1}),o["\u0275qud"](603979776,34,{_hintChildren:1}),o["\u0275qud"](603979776,35,{_prefixChildren:1}),o["\u0275qud"](603979776,36,{_suffixChildren:1}),(n()(),o["\u0275eld"](81,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,87)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,87)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,87)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetHubTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](83,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](84,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](86,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](87,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,37,{options:1}),o["\u0275qud"](603979776,38,{optionGroups:1}),o["\u0275qud"](603979776,39,{customTrigger:0}),o["\u0275prd"](2048,[[28,4],[29,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Sw)),o["\u0275did"](93,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](94,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](95,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,40,{_controlNonStatic:0}),o["\u0275qud"](335544320,41,{_controlStatic:0}),o["\u0275qud"](603979776,42,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,43,{_labelChildStatic:0}),o["\u0275qud"](603979776,44,{_placeholderChild:0}),o["\u0275qud"](603979776,45,{_errorChildren:1}),o["\u0275qud"](603979776,46,{_hintChildren:1}),o["\u0275qud"](603979776,47,{_prefixChildren:1}),o["\u0275qud"](603979776,48,{_suffixChildren:1}),(n()(),o["\u0275eld"](105,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Number of ports"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,106)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,106).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,106)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,106)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,107).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,107).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,107).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,113)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,113)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,113)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.numberOfPorts=t)&&l),l},null,null)),o["\u0275did"](106,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](107,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](109,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](110,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](112,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](113,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[40,4],[41,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](115,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](116,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](117,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](119,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](120,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](122,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,22,0,"templateName",t.ethernetHubTemplate.name),n(e,25,0,"Template name","text"),n(e,41,0,"defaultName",t.ethernetHubTemplate.default_name_format),n(e,44,0,"Default name format","text"),n(e,60,0,"symbol",t.ethernetHubTemplate.symbol),n(e,63,0,"Symbol","text");var l=t.ethernetHubTemplate.category,o=n(e,84,0,!0);n(e,83,0,l,o),n(e,87,0,"Category"),n(e,93,0,t.categories);var r=t.numberOfPorts,i=n(e,110,0,!0);n(e,109,0,r,i),n(e,113,0,"Number of ports","number"),n(e,120,0,"primary")},function(n,e){n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()]),n(e,27,1,["standard"==o["\u0275nov"](e,28).appearance,"fill"==o["\u0275nov"](e,28).appearance,"outline"==o["\u0275nov"](e,28).appearance,"legacy"==o["\u0275nov"](e,28).appearance,o["\u0275nov"](e,28)._control.errorState,o["\u0275nov"](e,28)._canLabelFloat,o["\u0275nov"](e,28)._shouldLabelFloat(),o["\u0275nov"](e,28)._hasFloatingLabel(),o["\u0275nov"](e,28)._hideControlPlaceholder(),o["\u0275nov"](e,28)._control.disabled,o["\u0275nov"](e,28)._control.autofilled,o["\u0275nov"](e,28)._control.focused,"accent"==o["\u0275nov"](e,28).color,"warn"==o["\u0275nov"](e,28).color,o["\u0275nov"](e,28)._shouldForward("untouched"),o["\u0275nov"](e,28)._shouldForward("touched"),o["\u0275nov"](e,28)._shouldForward("pristine"),o["\u0275nov"](e,28)._shouldForward("dirty"),o["\u0275nov"](e,28)._shouldForward("valid"),o["\u0275nov"](e,28)._shouldForward("invalid"),o["\u0275nov"](e,28)._shouldForward("pending"),!o["\u0275nov"](e,28)._animationsEnabled]),n(e,38,1,[o["\u0275nov"](e,43).ngClassUntouched,o["\u0275nov"](e,43).ngClassTouched,o["\u0275nov"](e,43).ngClassPristine,o["\u0275nov"](e,43).ngClassDirty,o["\u0275nov"](e,43).ngClassValid,o["\u0275nov"](e,43).ngClassInvalid,o["\u0275nov"](e,43).ngClassPending,o["\u0275nov"](e,44)._isServer,o["\u0275nov"](e,44).id,o["\u0275nov"](e,44).placeholder,o["\u0275nov"](e,44).disabled,o["\u0275nov"](e,44).required,o["\u0275nov"](e,44).readonly&&!o["\u0275nov"](e,44)._isNativeSelect||null,o["\u0275nov"](e,44)._ariaDescribedby||null,o["\u0275nov"](e,44).errorState,o["\u0275nov"](e,44).required.toString()]),n(e,46,1,["standard"==o["\u0275nov"](e,47).appearance,"fill"==o["\u0275nov"](e,47).appearance,"outline"==o["\u0275nov"](e,47).appearance,"legacy"==o["\u0275nov"](e,47).appearance,o["\u0275nov"](e,47)._control.errorState,o["\u0275nov"](e,47)._canLabelFloat,o["\u0275nov"](e,47)._shouldLabelFloat(),o["\u0275nov"](e,47)._hasFloatingLabel(),o["\u0275nov"](e,47)._hideControlPlaceholder(),o["\u0275nov"](e,47)._control.disabled,o["\u0275nov"](e,47)._control.autofilled,o["\u0275nov"](e,47)._control.focused,"accent"==o["\u0275nov"](e,47).color,"warn"==o["\u0275nov"](e,47).color,o["\u0275nov"](e,47)._shouldForward("untouched"),o["\u0275nov"](e,47)._shouldForward("touched"),o["\u0275nov"](e,47)._shouldForward("pristine"),o["\u0275nov"](e,47)._shouldForward("dirty"),o["\u0275nov"](e,47)._shouldForward("valid"),o["\u0275nov"](e,47)._shouldForward("invalid"),o["\u0275nov"](e,47)._shouldForward("pending"),!o["\u0275nov"](e,47)._animationsEnabled]),n(e,57,1,[o["\u0275nov"](e,62).ngClassUntouched,o["\u0275nov"](e,62).ngClassTouched,o["\u0275nov"](e,62).ngClassPristine,o["\u0275nov"](e,62).ngClassDirty,o["\u0275nov"](e,62).ngClassValid,o["\u0275nov"](e,62).ngClassInvalid,o["\u0275nov"](e,62).ngClassPending,o["\u0275nov"](e,63)._isServer,o["\u0275nov"](e,63).id,o["\u0275nov"](e,63).placeholder,o["\u0275nov"](e,63).disabled,o["\u0275nov"](e,63).required,o["\u0275nov"](e,63).readonly&&!o["\u0275nov"](e,63)._isNativeSelect||null,o["\u0275nov"](e,63)._ariaDescribedby||null,o["\u0275nov"](e,63).errorState,o["\u0275nov"](e,63).required.toString()]),n(e,65,0,o["\u0275nov"](e,66).disabled||null,"NoopAnimations"===o["\u0275nov"](e,66)._animationMode),n(e,70,1,["standard"==o["\u0275nov"](e,71).appearance,"fill"==o["\u0275nov"](e,71).appearance,"outline"==o["\u0275nov"](e,71).appearance,"legacy"==o["\u0275nov"](e,71).appearance,o["\u0275nov"](e,71)._control.errorState,o["\u0275nov"](e,71)._canLabelFloat,o["\u0275nov"](e,71)._shouldLabelFloat(),o["\u0275nov"](e,71)._hasFloatingLabel(),o["\u0275nov"](e,71)._hideControlPlaceholder(),o["\u0275nov"](e,71)._control.disabled,o["\u0275nov"](e,71)._control.autofilled,o["\u0275nov"](e,71)._control.focused,"accent"==o["\u0275nov"](e,71).color,"warn"==o["\u0275nov"](e,71).color,o["\u0275nov"](e,71)._shouldForward("untouched"),o["\u0275nov"](e,71)._shouldForward("touched"),o["\u0275nov"](e,71)._shouldForward("pristine"),o["\u0275nov"](e,71)._shouldForward("dirty"),o["\u0275nov"](e,71)._shouldForward("valid"),o["\u0275nov"](e,71)._shouldForward("invalid"),o["\u0275nov"](e,71)._shouldForward("pending"),!o["\u0275nov"](e,71)._animationsEnabled]),n(e,81,1,[o["\u0275nov"](e,86).ngClassUntouched,o["\u0275nov"](e,86).ngClassTouched,o["\u0275nov"](e,86).ngClassPristine,o["\u0275nov"](e,86).ngClassDirty,o["\u0275nov"](e,86).ngClassValid,o["\u0275nov"](e,86).ngClassInvalid,o["\u0275nov"](e,86).ngClassPending,o["\u0275nov"](e,87).id,o["\u0275nov"](e,87).tabIndex,o["\u0275nov"](e,87)._getAriaLabel(),o["\u0275nov"](e,87)._getAriaLabelledby(),o["\u0275nov"](e,87).required.toString(),o["\u0275nov"](e,87).disabled.toString(),o["\u0275nov"](e,87).errorState,o["\u0275nov"](e,87).panelOpen?o["\u0275nov"](e,87)._optionIds:null,o["\u0275nov"](e,87).multiple,o["\u0275nov"](e,87)._ariaDescribedby||null,o["\u0275nov"](e,87)._getAriaActiveDescendant(),o["\u0275nov"](e,87).disabled,o["\u0275nov"](e,87).errorState,o["\u0275nov"](e,87).required,o["\u0275nov"](e,87).empty]),n(e,94,1,["standard"==o["\u0275nov"](e,95).appearance,"fill"==o["\u0275nov"](e,95).appearance,"outline"==o["\u0275nov"](e,95).appearance,"legacy"==o["\u0275nov"](e,95).appearance,o["\u0275nov"](e,95)._control.errorState,o["\u0275nov"](e,95)._canLabelFloat,o["\u0275nov"](e,95)._shouldLabelFloat(),o["\u0275nov"](e,95)._hasFloatingLabel(),o["\u0275nov"](e,95)._hideControlPlaceholder(),o["\u0275nov"](e,95)._control.disabled,o["\u0275nov"](e,95)._control.autofilled,o["\u0275nov"](e,95)._control.focused,"accent"==o["\u0275nov"](e,95).color,"warn"==o["\u0275nov"](e,95).color,o["\u0275nov"](e,95)._shouldForward("untouched"),o["\u0275nov"](e,95)._shouldForward("touched"),o["\u0275nov"](e,95)._shouldForward("pristine"),o["\u0275nov"](e,95)._shouldForward("dirty"),o["\u0275nov"](e,95)._shouldForward("valid"),o["\u0275nov"](e,95)._shouldForward("invalid"),o["\u0275nov"](e,95)._shouldForward("pending"),!o["\u0275nov"](e,95)._animationsEnabled]),n(e,105,1,[o["\u0275nov"](e,112).ngClassUntouched,o["\u0275nov"](e,112).ngClassTouched,o["\u0275nov"](e,112).ngClassPristine,o["\u0275nov"](e,112).ngClassDirty,o["\u0275nov"](e,112).ngClassValid,o["\u0275nov"](e,112).ngClassInvalid,o["\u0275nov"](e,112).ngClassPending,o["\u0275nov"](e,113)._isServer,o["\u0275nov"](e,113).id,o["\u0275nov"](e,113).placeholder,o["\u0275nov"](e,113).disabled,o["\u0275nov"](e,113).required,o["\u0275nov"](e,113).readonly&&!o["\u0275nov"](e,113)._isNativeSelect||null,o["\u0275nov"](e,113)._ariaDescribedby||null,o["\u0275nov"](e,113).errorState,o["\u0275nov"](e,113).required.toString()]),n(e,116,0,o["\u0275nov"](e,117).disabled||null,"NoopAnimations"===o["\u0275nov"](e,117)._animationMode),n(e,119,0,o["\u0275nov"](e,120).disabled||null,"NoopAnimations"===o["\u0275nov"](e,120)._animationMode)})}function Ew(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.ethernetHubTemplate.symbol)},null)}function Tw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet hub settings"])),(n()(),o["\u0275and"](16777216,null,null,1,null,kw)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ew)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.ethernetHubTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.ethernetHubTemplate)},null)}function Rw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-hubs-template-details",[],null,null,null,Tw,xw)),o["\u0275did"](1,114688,null,0,Cw,[bt,Uh,Fy,vc,rv,ww,Rl],null,null)],function(n,e){n(e,1,0)},null)}var Iw=o["\u0275ccf"]("app-ethernet-hubs-template-details",Cw,Rw,{},{},[]),Dw=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.ethernetSwitchesTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(e){n.ethernetSwitchesTemplates=e.filter(function(n){return"ethernet_switch"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),Ow=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Fw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Nw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Ethernet switch template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/ethernet-switches/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function Mw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function Aw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function qw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,Aw)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.ethernetSwitchesTemplates)},null)}function Pw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,qw)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function jw(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet switches templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Fw)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Nw)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Mw)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Pw)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.ethernetSwitchesTemplates.length),n(e,13,0,t.ethernetSwitchesTemplates.length),n(e,15,0,t.server)},null)}function Lw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-templates",[],null,null,null,jw,Ow)),o["\u0275did"](1,114688,null,0,Dw,[bt,Uh,Fy],null,null)],function(n,e){n(e,1,0)},null)}var Vw=o["\u0275ccf"]("app-ethernet-switches-templates",Dw,Lw,{},{},[]),Bw=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Vm("",sm.required),numberOfPorts:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.addTemplate=function(){var n=this;if(this.formGroup.invalid)this.toasterService.error("Fill all required fields");else{var e;this.templateMocksService.getEthernetSwitchTemplate().subscribe(function(n){e=n}),e.template_id=Object(dg.v4)(),e.name=this.formGroup.get("templateName").value;for(var t=0;t<this.formGroup.get("numberOfPorts").value;t++)e.ports_mapping.push({ethertype:"",name:"Ethernet"+t,port_number:t,type:"access",vlan:1});this.builtInTemplatesService.addTemplate(this.server,e).subscribe(function(e){n.goBack()})}},n}(),zw=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Uw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,57,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Ethernet switch template"])),(n()(),o["\u0275eld"](5,0,null,null,52,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,44,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](33,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](43,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","numberOfPorts"],["matInput",""],["placeholder","Number of ports"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,44)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,44).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,44)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,44)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,49)._onInput()&&l),l},null,null)),o["\u0275did"](44,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](46,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](48,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](49,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](51,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](52,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](53,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](55,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](56,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){n(e,10,0,e.component.formGroup),n(e,27,0,"templateName"),n(e,30,0,"Template name","text"),n(e,46,0,"numberOfPorts"),n(e,49,0,"Number of ports","text"),n(e,56,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,32,1,["standard"==o["\u0275nov"](e,33).appearance,"fill"==o["\u0275nov"](e,33).appearance,"outline"==o["\u0275nov"](e,33).appearance,"legacy"==o["\u0275nov"](e,33).appearance,o["\u0275nov"](e,33)._control.errorState,o["\u0275nov"](e,33)._canLabelFloat,o["\u0275nov"](e,33)._shouldLabelFloat(),o["\u0275nov"](e,33)._hasFloatingLabel(),o["\u0275nov"](e,33)._hideControlPlaceholder(),o["\u0275nov"](e,33)._control.disabled,o["\u0275nov"](e,33)._control.autofilled,o["\u0275nov"](e,33)._control.focused,"accent"==o["\u0275nov"](e,33).color,"warn"==o["\u0275nov"](e,33).color,o["\u0275nov"](e,33)._shouldForward("untouched"),o["\u0275nov"](e,33)._shouldForward("touched"),o["\u0275nov"](e,33)._shouldForward("pristine"),o["\u0275nov"](e,33)._shouldForward("dirty"),o["\u0275nov"](e,33)._shouldForward("valid"),o["\u0275nov"](e,33)._shouldForward("invalid"),o["\u0275nov"](e,33)._shouldForward("pending"),!o["\u0275nov"](e,33)._animationsEnabled]),n(e,43,1,[o["\u0275nov"](e,48).ngClassUntouched,o["\u0275nov"](e,48).ngClassTouched,o["\u0275nov"](e,48).ngClassPristine,o["\u0275nov"](e,48).ngClassDirty,o["\u0275nov"](e,48).ngClassValid,o["\u0275nov"](e,48).ngClassInvalid,o["\u0275nov"](e,48).ngClassPending,o["\u0275nov"](e,49)._isServer,o["\u0275nov"](e,49).id,o["\u0275nov"](e,49).placeholder,o["\u0275nov"](e,49).disabled,o["\u0275nov"](e,49).required,o["\u0275nov"](e,49).readonly&&!o["\u0275nov"](e,49)._isNativeSelect||null,o["\u0275nov"](e,49)._ariaDescribedby||null,o["\u0275nov"](e,49).errorState,o["\u0275nov"](e,49).required.toString()]),n(e,52,0,o["\u0275nov"](e,53).disabled||null,"NoopAnimations"===o["\u0275nov"](e,53)._animationMode),n(e,55,0,o["\u0275nov"](e,56).disabled||null,"NoopAnimations"===o["\u0275nov"](e,56)._animationMode)})}function Hw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-add-template",[],null,null,null,Uw,zw)),o["\u0275did"](1,114688,null,0,Bw,[bt,Uh,Fy,Rl,vc,Hy,rv],null,null)],function(n,e){n(e,1,0)},null)}var Zw=o["\u0275ccf"]("app-ethernet-switches-add-template",Bw,Hw,{},{},[]),Ww=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.formBuilder=o,this.builtInTemplatesConfigurationService=r,this.router=i,this.ethernetPorts=[],this.dataSource=[],this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.portTypes=[],this.etherTypes=[],this.displayedColumns=["port_number","vlan","type","ethertype"],this.inputForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required)}),this.newPort={name:"",port_number:0}}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe(function(e){n.ethernetSwitchTemplate=e,n.ethernetPorts=n.ethernetSwitchTemplate.ports_mapping,n.dataSource=n.ethernetSwitchTemplate.ports_mapping})})},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForEthernetSwitches(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForEthernetSwitches(),this.portTypes=this.builtInTemplatesConfigurationService.getPortTypesForEthernetSwitches(),this.etherTypes=this.builtInTemplatesConfigurationService.getEtherTypesForEthernetSwitches()},n.prototype.onAdd=function(){this.ethernetPorts.push(this.newPort),this.dataSource=this.ethernetPorts.slice(),this.newPort={name:"",port_number:0}},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","ethernet-switches"])},n.prototype.onSave=function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.builtInTemplatesService.saveTemplate(this.server,this.ethernetSwitchTemplate).subscribe(function(e){n.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.ethernetSwitchTemplate.symbol=n},n}(),Gw=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Kw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[39,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function Yw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[51,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function $w(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port number "]))],null,null)}function Xw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.port_number)})}function Qw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" VLAN "]))],null,null)}function Jw(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.vlan)})}function nC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Type "]))],null,null)}function eC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.type)})}function tC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" EtherType "]))],null,null)}function lC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.ethertype)})}function oC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function rC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function iC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[98,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function aC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[110,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function uC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,167,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](1,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,54,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](4,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,5)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,5)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,5)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](5,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](6,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](7,{value:0,params:1}),(n()(),o["\u0275eld"](8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Port settings "])),(n()(),o["\u0275eld"](11,0,null,1,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](13,2342912,null,4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,55,{_contentColumnDefs:1}),o["\u0275qud"](603979776,56,{_contentRowDefs:1}),o["\u0275qud"](603979776,57,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,58,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](18,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](20,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,59,{cell:0}),o["\u0275qud"](603979776,60,{headerCell:0}),o["\u0275qud"](603979776,61,{footerCell:0}),o["\u0275prd"](2048,[[55,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,$w)),o["\u0275did"](26,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[60,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Xw)),o["\u0275did"](29,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[59,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](31,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](33,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,62,{cell:0}),o["\u0275qud"](603979776,63,{headerCell:0}),o["\u0275qud"](603979776,64,{footerCell:0}),o["\u0275prd"](2048,[[55,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,Qw)),o["\u0275did"](39,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[63,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,Jw)),o["\u0275did"](42,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[62,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](44,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](46,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,65,{cell:0}),o["\u0275qud"](603979776,66,{headerCell:0}),o["\u0275qud"](603979776,67,{footerCell:0}),o["\u0275prd"](2048,[[55,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,nC)),o["\u0275did"](52,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[66,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,eC)),o["\u0275did"](55,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[65,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](57,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](59,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,68,{cell:0}),o["\u0275qud"](603979776,69,{headerCell:0}),o["\u0275qud"](603979776,70,{footerCell:0}),o["\u0275prd"](2048,[[55,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,tC)),o["\u0275did"](65,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[69,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,lC)),o["\u0275did"](68,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[68,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,oC)),o["\u0275did"](71,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[57,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,rC)),o["\u0275did"](74,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[56,4]],qc,null,[tp]),(n()(),o["\u0275eld"](76,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](78,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,71,{_controlNonStatic:0}),o["\u0275qud"](335544320,72,{_controlStatic:0}),o["\u0275qud"](603979776,73,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,74,{_labelChildStatic:0}),o["\u0275qud"](603979776,75,{_placeholderChild:0}),o["\u0275qud"](603979776,76,{_errorChildren:1}),o["\u0275qud"](603979776,77,{_hintChildren:1}),o["\u0275qud"](603979776,78,{_prefixChildren:1}),o["\u0275qud"](603979776,79,{_suffixChildren:1}),(n()(),o["\u0275eld"](88,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Port"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,89)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,89).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,89)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,89)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,90).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,90).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,90).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,95)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,95)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,95)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.port_number=t)&&l),l},null,null)),o["\u0275did"](89,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](90,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](92,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](94,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](95,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[71,4],[72,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](97,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](98,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,80,{_controlNonStatic:0}),o["\u0275qud"](335544320,81,{_controlStatic:0}),o["\u0275qud"](603979776,82,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,83,{_labelChildStatic:0}),o["\u0275qud"](603979776,84,{_placeholderChild:0}),o["\u0275qud"](603979776,85,{_errorChildren:1}),o["\u0275qud"](603979776,86,{_hintChildren:1}),o["\u0275qud"](603979776,87,{_prefixChildren:1}),o["\u0275qud"](603979776,88,{_suffixChildren:1}),(n()(),o["\u0275eld"](108,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","VLAN"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,109)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,109).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,110).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,110).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,110).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,115)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,115)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,115)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.vlan=t)&&l),l},null,null)),o["\u0275did"](109,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](110,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](112,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](114,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](115,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[80,4],[81,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](117,0,null,1,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](118,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,89,{_controlNonStatic:0}),o["\u0275qud"](335544320,90,{_controlStatic:0}),o["\u0275qud"](603979776,91,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,92,{_labelChildStatic:0}),o["\u0275qud"](603979776,93,{_placeholderChild:0}),o["\u0275qud"](603979776,94,{_errorChildren:1}),o["\u0275qud"](603979776,95,{_hintChildren:1}),o["\u0275qud"](603979776,96,{_prefixChildren:1}),o["\u0275qud"](603979776,97,{_suffixChildren:1}),(n()(),o["\u0275eld"](128,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,134)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,134)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,134)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](130,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](131,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](133,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](134,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,98,{options:1}),o["\u0275qud"](603979776,99,{optionGroups:1}),o["\u0275qud"](603979776,100,{customTrigger:0}),o["\u0275prd"](2048,[[89,4],[90,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,iC)),o["\u0275did"](140,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](141,0,null,1,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](142,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,101,{_controlNonStatic:0}),o["\u0275qud"](335544320,102,{_controlStatic:0}),o["\u0275qud"](603979776,103,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,104,{_labelChildStatic:0}),o["\u0275qud"](603979776,105,{_placeholderChild:0}),o["\u0275qud"](603979776,106,{_errorChildren:1}),o["\u0275qud"](603979776,107,{_hintChildren:1}),o["\u0275qud"](603979776,108,{_prefixChildren:1}),o["\u0275qud"](603979776,109,{_suffixChildren:1}),(n()(),o["\u0275eld"](152,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","EtherType"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,158)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,158)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,158)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.ethertype=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](154,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](155,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](157,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](158,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,110,{options:1}),o["\u0275qud"](603979776,111,{optionGroups:1}),o["\u0275qud"](603979776,112,{customTrigger:0}),o["\u0275prd"](2048,[[101,4],[102,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,aC)),o["\u0275did"](164,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](165,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAdd()&&l),l},pu,cu)),o["\u0275did"](166,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){var t=e.component;n(e,13,0,t.dataSource),n(e,20,0,"port_number"),n(e,33,0,"vlan"),n(e,46,0,"type"),n(e,59,0,"ethertype"),n(e,71,0,t.displayedColumns),n(e,74,0,t.displayedColumns),n(e,92,0,t.newPort.port_number),n(e,95,0,"Port","number"),n(e,112,0,t.newPort.vlan),n(e,115,0,"VLAN","number");var l=t.newPort.type,o=n(e,131,0,!0);n(e,130,0,l,o),n(e,134,0,"Type"),n(e,140,0,t.portTypes);var r=t.newPort.ethertype,i=n(e,155,0,!0);n(e,154,0,r,i),n(e,158,0,"EtherType"),n(e,164,0,t.etherTypes)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).expanded,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode,o["\u0275nov"](e,1)._hasSpacing());var t=o["\u0275nov"](e,5).panel._headerId,l=o["\u0275nov"](e,5).disabled?-1:0,r=o["\u0275nov"](e,5)._getPanelId(),i=o["\u0275nov"](e,5)._isExpanded(),a=o["\u0275nov"](e,5).panel.disabled,u=o["\u0275nov"](e,5)._isExpanded(),s="after"===o["\u0275nov"](e,5)._getTogglePosition(),d="before"===o["\u0275nov"](e,5)._getTogglePosition(),c=o["\u0275nov"](e,5)._animationsDisabled,p=n(e,7,0,o["\u0275nov"](e,5)._getExpandedState(),n(e,6,0,o["\u0275nov"](e,5).collapsedHeight,o["\u0275nov"](e,5).expandedHeight));n(e,4,0,t,l,r,i,a,u,s,d,c,p),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,88,1,[o["\u0275nov"](e,94).ngClassUntouched,o["\u0275nov"](e,94).ngClassTouched,o["\u0275nov"](e,94).ngClassPristine,o["\u0275nov"](e,94).ngClassDirty,o["\u0275nov"](e,94).ngClassValid,o["\u0275nov"](e,94).ngClassInvalid,o["\u0275nov"](e,94).ngClassPending,o["\u0275nov"](e,95)._isServer,o["\u0275nov"](e,95).id,o["\u0275nov"](e,95).placeholder,o["\u0275nov"](e,95).disabled,o["\u0275nov"](e,95).required,o["\u0275nov"](e,95).readonly&&!o["\u0275nov"](e,95)._isNativeSelect||null,o["\u0275nov"](e,95)._ariaDescribedby||null,o["\u0275nov"](e,95).errorState,o["\u0275nov"](e,95).required.toString()]),n(e,97,1,["standard"==o["\u0275nov"](e,98).appearance,"fill"==o["\u0275nov"](e,98).appearance,"outline"==o["\u0275nov"](e,98).appearance,"legacy"==o["\u0275nov"](e,98).appearance,o["\u0275nov"](e,98)._control.errorState,o["\u0275nov"](e,98)._canLabelFloat,o["\u0275nov"](e,98)._shouldLabelFloat(),o["\u0275nov"](e,98)._hasFloatingLabel(),o["\u0275nov"](e,98)._hideControlPlaceholder(),o["\u0275nov"](e,98)._control.disabled,o["\u0275nov"](e,98)._control.autofilled,o["\u0275nov"](e,98)._control.focused,"accent"==o["\u0275nov"](e,98).color,"warn"==o["\u0275nov"](e,98).color,o["\u0275nov"](e,98)._shouldForward("untouched"),o["\u0275nov"](e,98)._shouldForward("touched"),o["\u0275nov"](e,98)._shouldForward("pristine"),o["\u0275nov"](e,98)._shouldForward("dirty"),o["\u0275nov"](e,98)._shouldForward("valid"),o["\u0275nov"](e,98)._shouldForward("invalid"),o["\u0275nov"](e,98)._shouldForward("pending"),!o["\u0275nov"](e,98)._animationsEnabled]),n(e,108,1,[o["\u0275nov"](e,114).ngClassUntouched,o["\u0275nov"](e,114).ngClassTouched,o["\u0275nov"](e,114).ngClassPristine,o["\u0275nov"](e,114).ngClassDirty,o["\u0275nov"](e,114).ngClassValid,o["\u0275nov"](e,114).ngClassInvalid,o["\u0275nov"](e,114).ngClassPending,o["\u0275nov"](e,115)._isServer,o["\u0275nov"](e,115).id,o["\u0275nov"](e,115).placeholder,o["\u0275nov"](e,115).disabled,o["\u0275nov"](e,115).required,o["\u0275nov"](e,115).readonly&&!o["\u0275nov"](e,115)._isNativeSelect||null,o["\u0275nov"](e,115)._ariaDescribedby||null,o["\u0275nov"](e,115).errorState,o["\u0275nov"](e,115).required.toString()]),n(e,117,1,["standard"==o["\u0275nov"](e,118).appearance,"fill"==o["\u0275nov"](e,118).appearance,"outline"==o["\u0275nov"](e,118).appearance,"legacy"==o["\u0275nov"](e,118).appearance,o["\u0275nov"](e,118)._control.errorState,o["\u0275nov"](e,118)._canLabelFloat,o["\u0275nov"](e,118)._shouldLabelFloat(),o["\u0275nov"](e,118)._hasFloatingLabel(),o["\u0275nov"](e,118)._hideControlPlaceholder(),o["\u0275nov"](e,118)._control.disabled,o["\u0275nov"](e,118)._control.autofilled,o["\u0275nov"](e,118)._control.focused,"accent"==o["\u0275nov"](e,118).color,"warn"==o["\u0275nov"](e,118).color,o["\u0275nov"](e,118)._shouldForward("untouched"),o["\u0275nov"](e,118)._shouldForward("touched"),o["\u0275nov"](e,118)._shouldForward("pristine"),o["\u0275nov"](e,118)._shouldForward("dirty"),o["\u0275nov"](e,118)._shouldForward("valid"),o["\u0275nov"](e,118)._shouldForward("invalid"),o["\u0275nov"](e,118)._shouldForward("pending"),!o["\u0275nov"](e,118)._animationsEnabled]),n(e,128,1,[o["\u0275nov"](e,133).ngClassUntouched,o["\u0275nov"](e,133).ngClassTouched,o["\u0275nov"](e,133).ngClassPristine,o["\u0275nov"](e,133).ngClassDirty,o["\u0275nov"](e,133).ngClassValid,o["\u0275nov"](e,133).ngClassInvalid,o["\u0275nov"](e,133).ngClassPending,o["\u0275nov"](e,134).id,o["\u0275nov"](e,134).tabIndex,o["\u0275nov"](e,134)._getAriaLabel(),o["\u0275nov"](e,134)._getAriaLabelledby(),o["\u0275nov"](e,134).required.toString(),o["\u0275nov"](e,134).disabled.toString(),o["\u0275nov"](e,134).errorState,o["\u0275nov"](e,134).panelOpen?o["\u0275nov"](e,134)._optionIds:null,o["\u0275nov"](e,134).multiple,o["\u0275nov"](e,134)._ariaDescribedby||null,o["\u0275nov"](e,134)._getAriaActiveDescendant(),o["\u0275nov"](e,134).disabled,o["\u0275nov"](e,134).errorState,o["\u0275nov"](e,134).required,o["\u0275nov"](e,134).empty]),n(e,141,1,["standard"==o["\u0275nov"](e,142).appearance,"fill"==o["\u0275nov"](e,142).appearance,"outline"==o["\u0275nov"](e,142).appearance,"legacy"==o["\u0275nov"](e,142).appearance,o["\u0275nov"](e,142)._control.errorState,o["\u0275nov"](e,142)._canLabelFloat,o["\u0275nov"](e,142)._shouldLabelFloat(),o["\u0275nov"](e,142)._hasFloatingLabel(),o["\u0275nov"](e,142)._hideControlPlaceholder(),o["\u0275nov"](e,142)._control.disabled,o["\u0275nov"](e,142)._control.autofilled,o["\u0275nov"](e,142)._control.focused,"accent"==o["\u0275nov"](e,142).color,"warn"==o["\u0275nov"](e,142).color,o["\u0275nov"](e,142)._shouldForward("untouched"),o["\u0275nov"](e,142)._shouldForward("touched"),o["\u0275nov"](e,142)._shouldForward("pristine"),o["\u0275nov"](e,142)._shouldForward("dirty"),o["\u0275nov"](e,142)._shouldForward("valid"),o["\u0275nov"](e,142)._shouldForward("invalid"),o["\u0275nov"](e,142)._shouldForward("pending"),!o["\u0275nov"](e,142)._animationsEnabled]),n(e,152,1,[o["\u0275nov"](e,157).ngClassUntouched,o["\u0275nov"](e,157).ngClassTouched,o["\u0275nov"](e,157).ngClassPristine,o["\u0275nov"](e,157).ngClassDirty,o["\u0275nov"](e,157).ngClassValid,o["\u0275nov"](e,157).ngClassInvalid,o["\u0275nov"](e,157).ngClassPending,o["\u0275nov"](e,158).id,o["\u0275nov"](e,158).tabIndex,o["\u0275nov"](e,158)._getAriaLabel(),o["\u0275nov"](e,158)._getAriaLabelledby(),o["\u0275nov"](e,158).required.toString(),o["\u0275nov"](e,158).disabled.toString(),o["\u0275nov"](e,158).errorState,o["\u0275nov"](e,158).panelOpen?o["\u0275nov"](e,158)._optionIds:null,o["\u0275nov"](e,158).multiple,o["\u0275nov"](e,158)._ariaDescribedby||null,o["\u0275nov"](e,158)._getAriaActiveDescendant(),o["\u0275nov"](e,158).disabled,o["\u0275nov"](e,158).errorState,o["\u0275nov"](e,158).required,o["\u0275nov"](e,158).empty]),n(e,165,0,o["\u0275nov"](e,166).disabled||null,"NoopAnimations"===o["\u0275nov"](e,166)._animationMode)})}function sC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,139,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,131,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,125,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,114,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,3,{_controlNonStatic:0}),o["\u0275qud"](335544320,4,{_controlStatic:0}),o["\u0275qud"](603979776,5,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,6,{_labelChildStatic:0}),o["\u0275qud"](603979776,7,{_placeholderChild:0}),o["\u0275qud"](603979776,8,{_errorChildren:1}),o["\u0275qud"](603979776,9,{_hintChildren:1}),o["\u0275qud"](603979776,10,{_prefixChildren:1}),o["\u0275qud"](603979776,11,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4],[4,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,12,{_controlNonStatic:0}),o["\u0275qud"](335544320,13,{_controlStatic:0}),o["\u0275qud"](603979776,14,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,15,{_labelChildStatic:0}),o["\u0275qud"](603979776,16,{_placeholderChild:0}),o["\u0275qud"](603979776,17,{_errorChildren:1}),o["\u0275qud"](603979776,18,{_hintChildren:1}),o["\u0275qud"](603979776,19,{_prefixChildren:1}),o["\u0275qud"](603979776,20,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4],[13,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,21,{_controlNonStatic:0}),o["\u0275qud"](335544320,22,{_controlStatic:0}),o["\u0275qud"](603979776,23,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,24,{_labelChildStatic:0}),o["\u0275qud"](603979776,25,{_placeholderChild:0}),o["\u0275qud"](603979776,26,{_errorChildren:1}),o["\u0275qud"](603979776,27,{_hintChildren:1}),o["\u0275qud"](603979776,28,{_prefixChildren:1}),o["\u0275qud"](603979776,29,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[21,4],[22,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](79,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,30,{_controlNonStatic:0}),o["\u0275qud"](335544320,31,{_controlStatic:0}),o["\u0275qud"](603979776,32,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,33,{_labelChildStatic:0}),o["\u0275qud"](603979776,34,{_placeholderChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](96,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](97,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](100,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,39,{options:1}),o["\u0275qud"](603979776,40,{optionGroups:1}),o["\u0275qud"](603979776,41,{customTrigger:0}),o["\u0275prd"](2048,[[30,4],[31,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Kw)),o["\u0275did"](106,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](108,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,42,{_controlNonStatic:0}),o["\u0275qud"](335544320,43,{_controlStatic:0}),o["\u0275qud"](603979776,44,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,45,{_labelChildStatic:0}),o["\u0275qud"](603979776,46,{_placeholderChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetSwitchTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](120,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](121,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](123,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](124,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,51,{options:1}),o["\u0275qud"](603979776,52,{optionGroups:1}),o["\u0275qud"](603979776,53,{customTrigger:0}),o["\u0275prd"](2048,[[42,4],[43,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Yw)),o["\u0275did"](130,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,uC)),o["\u0275did"](132,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](133,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](134,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](135,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](137,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](138,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.inputForm),n(e,35,0,"templateName",t.ethernetSwitchTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.ethernetSwitchTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.ethernetSwitchTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.ethernetSwitchTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var r=t.ethernetSwitchTemplate.console_type,i=n(e,121,0,!0);n(e,120,0,r,i),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes),n(e,132,0,t.newPort),n(e,138,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,78,0,o["\u0275nov"](e,79).disabled||null,"NoopAnimations"===o["\u0275nov"](e,79)._animationMode),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).tabIndex,o["\u0275nov"](e,100)._getAriaLabel(),o["\u0275nov"](e,100)._getAriaLabelledby(),o["\u0275nov"](e,100).required.toString(),o["\u0275nov"](e,100).disabled.toString(),o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).panelOpen?o["\u0275nov"](e,100)._optionIds:null,o["\u0275nov"](e,100).multiple,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100)._getAriaActiveDescendant(),o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).empty]),n(e,107,1,["standard"==o["\u0275nov"](e,108).appearance,"fill"==o["\u0275nov"](e,108).appearance,"outline"==o["\u0275nov"](e,108).appearance,"legacy"==o["\u0275nov"](e,108).appearance,o["\u0275nov"](e,108)._control.errorState,o["\u0275nov"](e,108)._canLabelFloat,o["\u0275nov"](e,108)._shouldLabelFloat(),o["\u0275nov"](e,108)._hasFloatingLabel(),o["\u0275nov"](e,108)._hideControlPlaceholder(),o["\u0275nov"](e,108)._control.disabled,o["\u0275nov"](e,108)._control.autofilled,o["\u0275nov"](e,108)._control.focused,"accent"==o["\u0275nov"](e,108).color,"warn"==o["\u0275nov"](e,108).color,o["\u0275nov"](e,108)._shouldForward("untouched"),o["\u0275nov"](e,108)._shouldForward("touched"),o["\u0275nov"](e,108)._shouldForward("pristine"),o["\u0275nov"](e,108)._shouldForward("dirty"),o["\u0275nov"](e,108)._shouldForward("valid"),o["\u0275nov"](e,108)._shouldForward("invalid"),o["\u0275nov"](e,108)._shouldForward("pending"),!o["\u0275nov"](e,108)._animationsEnabled]),n(e,118,1,[o["\u0275nov"](e,123).ngClassUntouched,o["\u0275nov"](e,123).ngClassTouched,o["\u0275nov"](e,123).ngClassPristine,o["\u0275nov"](e,123).ngClassDirty,o["\u0275nov"](e,123).ngClassValid,o["\u0275nov"](e,123).ngClassInvalid,o["\u0275nov"](e,123).ngClassPending,o["\u0275nov"](e,124).id,o["\u0275nov"](e,124).tabIndex,o["\u0275nov"](e,124)._getAriaLabel(),o["\u0275nov"](e,124)._getAriaLabelledby(),o["\u0275nov"](e,124).required.toString(),o["\u0275nov"](e,124).disabled.toString(),o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).panelOpen?o["\u0275nov"](e,124)._optionIds:null,o["\u0275nov"](e,124).multiple,o["\u0275nov"](e,124)._ariaDescribedby||null,o["\u0275nov"](e,124)._getAriaActiveDescendant(),o["\u0275nov"](e,124).disabled,o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).required,o["\u0275nov"](e,124).empty]),n(e,134,0,o["\u0275nov"](e,135).disabled||null,"NoopAnimations"===o["\u0275nov"](e,135)._animationMode),n(e,137,0,o["\u0275nov"](e,138).disabled||null,"NoopAnimations"===o["\u0275nov"](e,138)._animationMode)})}function dC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.ethernetSwitchTemplate.symbol)},null)}function cC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Ethernet switch configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,sC)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,dC)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.ethernetSwitchTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.ethernetSwitchTemplate)},null)}function pC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ethernet-switches-template-details",[],null,null,null,cC,Gw)),o["\u0275did"](1,114688,null,0,Ww,[bt,Uh,Fy,vc,rv,ww,Rl],null,null)],function(n,e){n(e,1,0)},null)}var fC=o["\u0275ccf"]("app-ethernet-switches-template-details",Ww,pC,{},{},[]),hC=function(){function n(n,e,t){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.cloudNodesTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.builtInTemplatesService.getTemplates(this.server).subscribe(function(e){n.cloudNodesTemplates=e.filter(function(n){return"cloud"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),mC=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function vC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function gC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add cloud node template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/builtin/cloud-nodes/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function bC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function _C(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function yC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,_C)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.cloudNodesTemplates)},null)}function wC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,yC)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function CC(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Cloud nodes templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,vC)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,gC)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,bC)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,wC)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.cloudNodesTemplates.length),n(e,13,0,t.cloudNodesTemplates.length),n(e,15,0,t.server)},null)}function xC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-templates",[],null,null,null,CC,mC)),o["\u0275did"](1,114688,null,0,hC,[bt,Uh,Fy],null,null)],function(n,e){n(e,1,0)},null)}var SC=o["\u0275ccf"]("app-cloud-nodes-templates",hC,xC,{},{},[]),kC=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.addTemplate=function(){var n,e=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.templateMocksService.getCloudNodeTemplate().subscribe(function(e){n=e}),n.template_id=Object(dg.v4)(),n.name=this.formGroup.get("templateName").value,this.builtInTemplatesService.addTemplate(this.server,n).subscribe(function(n){e.goBack()}))},n}(),EC=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function TC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New cloud node template"])),(n()(),o["\u0275eld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){n(e,10,0,e.component.formGroup),n(e,27,0,"templateName"),n(e,30,0,"Template name","text"),n(e,37,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function RC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-add-template",[],null,null,null,TC,EC)),o["\u0275did"](1,114688,null,0,kC,[bt,Uh,Fy,Rl,vc,Hy,rv],null,null)],function(n,e){n(e,1,0)},null)}var IC=o["\u0275ccf"]("app-cloud-nodes-add-template",kC,RC,{},{},[]),DC=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.builtInTemplatesService=t,this.toasterService=l,this.builtInTemplatesConfigurationService=o,this.router=r,this.isSymbolSelectionOpened=!1,this.categories=[],this.consoleTypes=[],this.tapInterface="",this.ethernetInterface="",this.ethernetInterfaces=["Ethernet 2","Ethernet 3"],this.portsMappingEthernet=[],this.portsMappingTap=[],this.portsMappingUdp=[],this.displayedColumns=["name","lport","rhost","rport"],this.dataSourceUdp=[],this.newPort={name:"",port_number:0}}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.builtInTemplatesService.getTemplate(n.server,t).subscribe(function(e){n.cloudNodeTemplate=e,n.portsMappingEthernet=n.cloudNodeTemplate.ports_mapping.filter(function(n){return"ethernet"===n.type}),n.portsMappingTap=n.cloudNodeTemplate.ports_mapping.filter(function(n){return"tap"===n.type}),n.portsMappingUdp=n.cloudNodeTemplate.ports_mapping.filter(function(n){return"udp"===n.type}),n.dataSourceUdp=n.portsMappingUdp})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","builtin","cloud-nodes"])},n.prototype.getConfiguration=function(){this.categories=this.builtInTemplatesConfigurationService.getCategoriesForCloudNodes(),this.consoleTypes=this.builtInTemplatesConfigurationService.getConsoleTypesForCloudNodes()},n.prototype.onAddEthernetInterface=function(){this.ethernetInterface&&this.portsMappingEthernet.push({interface:this.ethernetInterface,name:this.ethernetInterface,port_number:0,type:"ethernet"})},n.prototype.onAddTapInterface=function(){this.tapInterface&&this.portsMappingTap.push({interface:this.tapInterface,name:this.tapInterface,port_number:0,type:"tap"})},n.prototype.onAddUdpInterface=function(){this.portsMappingUdp.push(this.newPort),this.dataSourceUdp=this.portsMappingUdp.slice(),this.newPort={name:"",port_number:0}},n.prototype.onSave=function(){var n=this;this.cloudNodeTemplate.ports_mapping=this.portsMappingEthernet.concat(this.portsMappingTap),this.builtInTemplatesService.saveTemplate(this.server,this.cloudNodeTemplate).subscribe(function(e){n.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.cloudNodeTemplate.symbol=n},n}(),OC=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function FC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[39,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function NC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[51,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function MC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function AC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[91,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function qC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function PC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function jC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name)})}function LC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Local port "]))],null,null)}function VC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.rport)})}function BC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Type "]))],null,null)}function zC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.rhost)})}function UC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Remote port "]))],null,null)}function HC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.lport)})}function ZC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function WC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function GC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,64,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](2,2342912,null,4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,105,{_contentColumnDefs:1}),o["\u0275qud"](603979776,106,{_contentRowDefs:1}),o["\u0275qud"](603979776,107,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,108,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](7,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](9,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,109,{cell:0}),o["\u0275qud"](603979776,110,{headerCell:0}),o["\u0275qud"](603979776,111,{footerCell:0}),o["\u0275prd"](2048,[[105,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,PC)),o["\u0275did"](15,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[110,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,jC)),o["\u0275did"](18,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[109,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](20,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](22,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,112,{cell:0}),o["\u0275qud"](603979776,113,{headerCell:0}),o["\u0275qud"](603979776,114,{footerCell:0}),o["\u0275prd"](2048,[[105,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,LC)),o["\u0275did"](28,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[113,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,VC)),o["\u0275did"](31,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[112,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](33,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](35,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,115,{cell:0}),o["\u0275qud"](603979776,116,{headerCell:0}),o["\u0275qud"](603979776,117,{footerCell:0}),o["\u0275prd"](2048,[[105,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,BC)),o["\u0275did"](41,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[116,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,zC)),o["\u0275did"](44,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[115,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](46,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](48,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,118,{cell:0}),o["\u0275qud"](603979776,119,{headerCell:0}),o["\u0275qud"](603979776,120,{footerCell:0}),o["\u0275prd"](2048,[[105,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,UC)),o["\u0275did"](54,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[119,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,HC)),o["\u0275did"](57,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[118,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,ZC)),o["\u0275did"](60,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[107,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,WC)),o["\u0275did"](63,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[106,4]],qc,null,[tp])],function(n,e){var t=e.component;n(e,2,0,t.dataSourceUdp),n(e,9,0,"name"),n(e,22,0,"rport"),n(e,35,0,"rhost"),n(e,48,0,"lport"),n(e,60,0,t.displayedColumns),n(e,63,0,t.displayedColumns)},null)}function KC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,"br",[],null,null,null,null,null))],null,null)}function YC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,359,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,350,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,175,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General "])),(n()(),o["\u0275eld"](16,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](17,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,3,{_controlNonStatic:0}),o["\u0275qud"](335544320,4,{_controlStatic:0}),o["\u0275qud"](603979776,5,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,6,{_labelChildStatic:0}),o["\u0275qud"](603979776,7,{_placeholderChild:0}),o["\u0275qud"](603979776,8,{_errorChildren:1}),o["\u0275qud"](603979776,9,{_hintChildren:1}),o["\u0275qud"](603979776,10,{_prefixChildren:1}),o["\u0275qud"](603979776,11,{_suffixChildren:1}),(n()(),o["\u0275eld"](27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,28)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,28)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,28)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,33)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,33)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.name=t)&&l),l},null,null)),o["\u0275did"](28,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](30,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](32,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](33,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4],[4,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](35,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](36,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,12,{_controlNonStatic:0}),o["\u0275qud"](335544320,13,{_controlStatic:0}),o["\u0275qud"](603979776,14,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,15,{_labelChildStatic:0}),o["\u0275qud"](603979776,16,{_placeholderChild:0}),o["\u0275qud"](603979776,17,{_errorChildren:1}),o["\u0275qud"](603979776,18,{_hintChildren:1}),o["\u0275qud"](603979776,19,{_prefixChildren:1}),o["\u0275qud"](603979776,20,{_suffixChildren:1}),(n()(),o["\u0275eld"](46,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,47)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,47).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,47)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,47)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,52)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,52)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](47,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](49,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](51,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](52,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4],[13,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](54,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](55,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,21,{_controlNonStatic:0}),o["\u0275qud"](335544320,22,{_controlStatic:0}),o["\u0275qud"](603979776,23,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,24,{_labelChildStatic:0}),o["\u0275qud"](603979776,25,{_placeholderChild:0}),o["\u0275qud"](603979776,26,{_errorChildren:1}),o["\u0275qud"](603979776,27,{_hintChildren:1}),o["\u0275qud"](603979776,28,{_prefixChildren:1}),o["\u0275qud"](603979776,29,{_suffixChildren:1}),(n()(),o["\u0275eld"](65,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,66)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,66).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,66)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,66)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,71)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,71)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](66,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](68,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](70,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](71,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[21,4],[22,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](73,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](74,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](76,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](77,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](78,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](79,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,30,{_controlNonStatic:0}),o["\u0275qud"](335544320,31,{_controlStatic:0}),o["\u0275qud"](603979776,32,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,33,{_labelChildStatic:0}),o["\u0275qud"](603979776,34,{_placeholderChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](89,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,94)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,94)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,94)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](91,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](93,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](94,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,39,{options:1}),o["\u0275qud"](603979776,40,{optionGroups:1}),o["\u0275qud"](603979776,41,{customTrigger:0}),o["\u0275prd"](2048,[[30,4],[31,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,FC)),o["\u0275did"](100,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](101,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](102,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,42,{_controlNonStatic:0}),o["\u0275qud"](335544320,43,{_controlStatic:0}),o["\u0275qud"](603979776,44,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,45,{_labelChildStatic:0}),o["\u0275qud"](603979776,46,{_placeholderChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](112,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,117)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,117)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,117)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](114,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](116,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](117,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,51,{options:1}),o["\u0275qud"](603979776,52,{optionGroups:1}),o["\u0275qud"](603979776,53,{customTrigger:0}),o["\u0275prd"](2048,[[42,4],[43,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,NC)),o["\u0275did"](123,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](124,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](125,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,54,{_controlNonStatic:0}),o["\u0275qud"](335544320,55,{_controlStatic:0}),o["\u0275qud"](603979776,56,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,57,{_labelChildStatic:0}),o["\u0275qud"](603979776,58,{_placeholderChild:0}),o["\u0275qud"](603979776,59,{_errorChildren:1}),o["\u0275qud"](603979776,60,{_hintChildren:1}),o["\u0275qud"](603979776,61,{_prefixChildren:1}),o["\u0275qud"](603979776,62,{_suffixChildren:1}),(n()(),o["\u0275eld"](135,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console host"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,136)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,136).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,136)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,136)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,141)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,141)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,141)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_host=t)&&l),l},null,null)),o["\u0275did"](136,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](138,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](140,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](141,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[54,4],[55,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](143,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](144,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,63,{_controlNonStatic:0}),o["\u0275qud"](335544320,64,{_controlStatic:0}),o["\u0275qud"](603979776,65,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,66,{_labelChildStatic:0}),o["\u0275qud"](603979776,67,{_placeholderChild:0}),o["\u0275qud"](603979776,68,{_errorChildren:1}),o["\u0275qud"](603979776,69,{_hintChildren:1}),o["\u0275qud"](603979776,70,{_prefixChildren:1}),o["\u0275qud"](603979776,71,{_suffixChildren:1}),(n()(),o["\u0275eld"](154,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console port"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,155)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,155).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,155)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,155)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,160)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,160)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,160)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_port=t)&&l),l},null,null)),o["\u0275did"](155,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](157,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](159,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](160,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[63,4],[64,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](162,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](163,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,72,{_controlNonStatic:0}),o["\u0275qud"](335544320,73,{_controlStatic:0}),o["\u0275qud"](603979776,74,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,75,{_labelChildStatic:0}),o["\u0275qud"](603979776,76,{_placeholderChild:0}),o["\u0275qud"](603979776,77,{_errorChildren:1}),o["\u0275qud"](603979776,78,{_hintChildren:1}),o["\u0275qud"](603979776,79,{_prefixChildren:1}),o["\u0275qud"](603979776,80,{_suffixChildren:1}),(n()(),o["\u0275eld"](173,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Console HTTP path"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,174)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,174).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,174)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,174)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,179)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,179)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,179)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.cloudNodeTemplate.remote_console_http_path=t)&&l),l},null,null)),o["\u0275did"](174,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](176,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](178,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](179,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[72,4],[73,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](181,16777216,null,null,39,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](182,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,81,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](185,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,186)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,186)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,186)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](186,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](187,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](188,{value:0,params:1}),(n()(),o["\u0275eld"](189,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](190,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Ethernet interfaces "])),(n()(),o["\u0275and"](16777216,null,1,1,null,MC)),o["\u0275did"](193,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](194,0,null,1,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](195,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,82,{_controlNonStatic:0}),o["\u0275qud"](335544320,83,{_controlStatic:0}),o["\u0275qud"](603979776,84,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,85,{_labelChildStatic:0}),o["\u0275qud"](603979776,86,{_placeholderChild:0}),o["\u0275qud"](603979776,87,{_errorChildren:1}),o["\u0275qud"](603979776,88,{_hintChildren:1}),o["\u0275qud"](603979776,89,{_prefixChildren:1}),o["\u0275qud"](603979776,90,{_suffixChildren:1}),(n()(),o["\u0275eld"](205,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Ethernet interface"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,211)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,211)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,211)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.ethernetInterface=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](207,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](208,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](210,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](211,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,91,{options:1}),o["\u0275qud"](603979776,92,{optionGroups:1}),o["\u0275qud"](603979776,93,{customTrigger:0}),o["\u0275prd"](2048,[[82,4],[83,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,AC)),o["\u0275did"](217,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](218,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddEthernetInterface()&&l),l},pu,cu)),o["\u0275did"](219,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](221,16777216,null,null,34,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](222,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,94,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](225,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,226)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,226)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,226)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](226,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](227,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](228,{value:0,params:1}),(n()(),o["\u0275eld"](229,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](230,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" TAP interfaces "])),(n()(),o["\u0275and"](16777216,null,1,1,null,qC)),o["\u0275did"](233,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](234,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](235,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,95,{_controlNonStatic:0}),o["\u0275qud"](335544320,96,{_controlStatic:0}),o["\u0275qud"](603979776,97,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,98,{_labelChildStatic:0}),o["\u0275qud"](603979776,99,{_placeholderChild:0}),o["\u0275qud"](603979776,100,{_errorChildren:1}),o["\u0275qud"](603979776,101,{_hintChildren:1}),o["\u0275qud"](603979776,102,{_prefixChildren:1}),o["\u0275qud"](603979776,103,{_suffixChildren:1}),(n()(),o["\u0275eld"](245,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","TAP interface"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,246)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,246).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,251)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,251)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,251)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.tapInterface=t)&&l),l},null,null)),o["\u0275did"](246,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](248,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](250,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](251,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[95,4],[96,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](253,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddTapInterface()&&l),l},pu,cu)),o["\u0275did"](254,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](256,16777216,null,null,95,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](257,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,104,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](260,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,261)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,261)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,261)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](261,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](262,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](263,{value:0,params:1}),(n()(),o["\u0275eld"](264,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](265,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" UDP tunnels "])),(n()(),o["\u0275and"](16777216,null,1,1,null,GC)),o["\u0275did"](268,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,KC)),o["\u0275did"](270,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](271,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](272,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,121,{_controlNonStatic:0}),o["\u0275qud"](335544320,122,{_controlStatic:0}),o["\u0275qud"](603979776,123,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,124,{_labelChildStatic:0}),o["\u0275qud"](603979776,125,{_placeholderChild:0}),o["\u0275qud"](603979776,126,{_errorChildren:1}),o["\u0275qud"](603979776,127,{_hintChildren:1}),o["\u0275qud"](603979776,128,{_prefixChildren:1}),o["\u0275qud"](603979776,129,{_suffixChildren:1}),(n()(),o["\u0275eld"](282,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,283)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,283).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,283)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,283)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,288)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,288)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,288)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.name=t)&&l),l},null,null)),o["\u0275did"](283,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](285,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](287,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](288,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[121,4],[122,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](290,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](291,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,130,{_controlNonStatic:0}),o["\u0275qud"](335544320,131,{_controlStatic:0}),o["\u0275qud"](603979776,132,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,133,{_labelChildStatic:0}),o["\u0275qud"](603979776,134,{_placeholderChild:0}),o["\u0275qud"](603979776,135,{_errorChildren:1}),o["\u0275qud"](603979776,136,{_hintChildren:1}),o["\u0275qud"](603979776,137,{_prefixChildren:1}),o["\u0275qud"](603979776,138,{_suffixChildren:1}),(n()(),o["\u0275eld"](301,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Local port"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,302)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,302).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,302)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,302)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,303).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,303).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,303).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,308)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,308)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,308)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.lport=t)&&l),l},null,null)),o["\u0275did"](302,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](303,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](305,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](307,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](308,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[130,4],[131,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](310,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](311,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,139,{_controlNonStatic:0}),o["\u0275qud"](335544320,140,{_controlStatic:0}),o["\u0275qud"](603979776,141,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,142,{_labelChildStatic:0}),o["\u0275qud"](603979776,143,{_placeholderChild:0}),o["\u0275qud"](603979776,144,{_errorChildren:1}),o["\u0275qud"](603979776,145,{_hintChildren:1}),o["\u0275qud"](603979776,146,{_prefixChildren:1}),o["\u0275qud"](603979776,147,{_suffixChildren:1}),(n()(),o["\u0275eld"](321,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote host"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,322)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,322).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,322)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,322)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,327)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,327)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,327)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.rhost=t)&&l),l},null,null)),o["\u0275did"](322,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](324,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](326,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](327,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[139,4],[140,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](329,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](330,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,148,{_controlNonStatic:0}),o["\u0275qud"](335544320,149,{_controlStatic:0}),o["\u0275qud"](603979776,150,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,151,{_labelChildStatic:0}),o["\u0275qud"](603979776,152,{_placeholderChild:0}),o["\u0275qud"](603979776,153,{_errorChildren:1}),o["\u0275qud"](603979776,154,{_hintChildren:1}),o["\u0275qud"](603979776,155,{_prefixChildren:1}),o["\u0275qud"](603979776,156,{_suffixChildren:1}),(n()(),o["\u0275eld"](340,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Remote port"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,341)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,341).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,341)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,341)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,342).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,342).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,342).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,347)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,347)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,347)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.newPort.rport=t)&&l),l},null,null)),o["\u0275did"](341,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](342,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](344,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](346,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](347,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[148,4],[149,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](349,0,null,1,2,"button",[["class","form-field"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddUdpInterface()&&l),l},pu,cu)),o["\u0275did"](350,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Add"])),(n()(),o["\u0275eld"](352,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](353,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](354,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](356,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](357,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"])),(n()(),o["\u0275eld"](359,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,30,0,t.cloudNodeTemplate.name),n(e,33,0,"Template name","text"),n(e,49,0,t.cloudNodeTemplate.default_name_format),n(e,52,0,"Default name format","text"),n(e,68,0,t.cloudNodeTemplate.symbol),n(e,71,0,"Symbol","text"),n(e,91,0,t.cloudNodeTemplate.category),n(e,94,0,"Category"),n(e,100,0,t.categories),n(e,114,0,t.cloudNodeTemplate.console_type),n(e,117,0,"Console type"),n(e,123,0,t.consoleTypes),n(e,138,0,t.cloudNodeTemplate.remote_console_host),n(e,141,0,"Console host","text"),n(e,157,0,t.cloudNodeTemplate.remote_console_port),n(e,160,0,"Console port","text"),n(e,176,0,t.cloudNodeTemplate.remote_console_http_path),n(e,179,0,"Console HTTP path","text"),n(e,193,0,t.portsMappingEthernet);var l=t.ethernetInterface,o=n(e,208,0,!0);n(e,207,0,l,o),n(e,211,0,"Ethernet interface"),n(e,217,0,null),n(e,233,0,t.portsMappingTap),n(e,248,0,t.tapInterface),n(e,251,0,"TAP interface","text"),n(e,268,0,t.dataSourceUdp.length),n(e,270,0,t.dataSourceUdp.length),n(e,285,0,t.newPort.name),n(e,288,0,"Name","text"),n(e,305,0,t.newPort.lport),n(e,308,0,"Local port","number"),n(e,324,0,t.newPort.rhost),n(e,327,0,"Remote host","text"),n(e,344,0,t.newPort.rport),n(e,347,0,"Remote port","number"),n(e,357,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,1,["standard"==o["\u0275nov"](e,17).appearance,"fill"==o["\u0275nov"](e,17).appearance,"outline"==o["\u0275nov"](e,17).appearance,"legacy"==o["\u0275nov"](e,17).appearance,o["\u0275nov"](e,17)._control.errorState,o["\u0275nov"](e,17)._canLabelFloat,o["\u0275nov"](e,17)._shouldLabelFloat(),o["\u0275nov"](e,17)._hasFloatingLabel(),o["\u0275nov"](e,17)._hideControlPlaceholder(),o["\u0275nov"](e,17)._control.disabled,o["\u0275nov"](e,17)._control.autofilled,o["\u0275nov"](e,17)._control.focused,"accent"==o["\u0275nov"](e,17).color,"warn"==o["\u0275nov"](e,17).color,o["\u0275nov"](e,17)._shouldForward("untouched"),o["\u0275nov"](e,17)._shouldForward("touched"),o["\u0275nov"](e,17)._shouldForward("pristine"),o["\u0275nov"](e,17)._shouldForward("dirty"),o["\u0275nov"](e,17)._shouldForward("valid"),o["\u0275nov"](e,17)._shouldForward("invalid"),o["\u0275nov"](e,17)._shouldForward("pending"),!o["\u0275nov"](e,17)._animationsEnabled]),n(e,27,1,[o["\u0275nov"](e,32).ngClassUntouched,o["\u0275nov"](e,32).ngClassTouched,o["\u0275nov"](e,32).ngClassPristine,o["\u0275nov"](e,32).ngClassDirty,o["\u0275nov"](e,32).ngClassValid,o["\u0275nov"](e,32).ngClassInvalid,o["\u0275nov"](e,32).ngClassPending,o["\u0275nov"](e,33)._isServer,o["\u0275nov"](e,33).id,o["\u0275nov"](e,33).placeholder,o["\u0275nov"](e,33).disabled,o["\u0275nov"](e,33).required,o["\u0275nov"](e,33).readonly&&!o["\u0275nov"](e,33)._isNativeSelect||null,o["\u0275nov"](e,33)._ariaDescribedby||null,o["\u0275nov"](e,33).errorState,o["\u0275nov"](e,33).required.toString()]),n(e,35,1,["standard"==o["\u0275nov"](e,36).appearance,"fill"==o["\u0275nov"](e,36).appearance,"outline"==o["\u0275nov"](e,36).appearance,"legacy"==o["\u0275nov"](e,36).appearance,o["\u0275nov"](e,36)._control.errorState,o["\u0275nov"](e,36)._canLabelFloat,o["\u0275nov"](e,36)._shouldLabelFloat(),o["\u0275nov"](e,36)._hasFloatingLabel(),o["\u0275nov"](e,36)._hideControlPlaceholder(),o["\u0275nov"](e,36)._control.disabled,o["\u0275nov"](e,36)._control.autofilled,o["\u0275nov"](e,36)._control.focused,"accent"==o["\u0275nov"](e,36).color,"warn"==o["\u0275nov"](e,36).color,o["\u0275nov"](e,36)._shouldForward("untouched"),o["\u0275nov"](e,36)._shouldForward("touched"),o["\u0275nov"](e,36)._shouldForward("pristine"),o["\u0275nov"](e,36)._shouldForward("dirty"),o["\u0275nov"](e,36)._shouldForward("valid"),o["\u0275nov"](e,36)._shouldForward("invalid"),o["\u0275nov"](e,36)._shouldForward("pending"),!o["\u0275nov"](e,36)._animationsEnabled]),n(e,46,1,[o["\u0275nov"](e,51).ngClassUntouched,o["\u0275nov"](e,51).ngClassTouched,o["\u0275nov"](e,51).ngClassPristine,o["\u0275nov"](e,51).ngClassDirty,o["\u0275nov"](e,51).ngClassValid,o["\u0275nov"](e,51).ngClassInvalid,o["\u0275nov"](e,51).ngClassPending,o["\u0275nov"](e,52)._isServer,o["\u0275nov"](e,52).id,o["\u0275nov"](e,52).placeholder,o["\u0275nov"](e,52).disabled,o["\u0275nov"](e,52).required,o["\u0275nov"](e,52).readonly&&!o["\u0275nov"](e,52)._isNativeSelect||null,o["\u0275nov"](e,52)._ariaDescribedby||null,o["\u0275nov"](e,52).errorState,o["\u0275nov"](e,52).required.toString()]),n(e,54,1,["standard"==o["\u0275nov"](e,55).appearance,"fill"==o["\u0275nov"](e,55).appearance,"outline"==o["\u0275nov"](e,55).appearance,"legacy"==o["\u0275nov"](e,55).appearance,o["\u0275nov"](e,55)._control.errorState,o["\u0275nov"](e,55)._canLabelFloat,o["\u0275nov"](e,55)._shouldLabelFloat(),o["\u0275nov"](e,55)._hasFloatingLabel(),o["\u0275nov"](e,55)._hideControlPlaceholder(),o["\u0275nov"](e,55)._control.disabled,o["\u0275nov"](e,55)._control.autofilled,o["\u0275nov"](e,55)._control.focused,"accent"==o["\u0275nov"](e,55).color,"warn"==o["\u0275nov"](e,55).color,o["\u0275nov"](e,55)._shouldForward("untouched"),o["\u0275nov"](e,55)._shouldForward("touched"),o["\u0275nov"](e,55)._shouldForward("pristine"),o["\u0275nov"](e,55)._shouldForward("dirty"),o["\u0275nov"](e,55)._shouldForward("valid"),o["\u0275nov"](e,55)._shouldForward("invalid"),o["\u0275nov"](e,55)._shouldForward("pending"),!o["\u0275nov"](e,55)._animationsEnabled]),n(e,65,1,[o["\u0275nov"](e,70).ngClassUntouched,o["\u0275nov"](e,70).ngClassTouched,o["\u0275nov"](e,70).ngClassPristine,o["\u0275nov"](e,70).ngClassDirty,o["\u0275nov"](e,70).ngClassValid,o["\u0275nov"](e,70).ngClassInvalid,o["\u0275nov"](e,70).ngClassPending,o["\u0275nov"](e,71)._isServer,o["\u0275nov"](e,71).id,o["\u0275nov"](e,71).placeholder,o["\u0275nov"](e,71).disabled,o["\u0275nov"](e,71).required,o["\u0275nov"](e,71).readonly&&!o["\u0275nov"](e,71)._isNativeSelect||null,o["\u0275nov"](e,71)._ariaDescribedby||null,o["\u0275nov"](e,71).errorState,o["\u0275nov"](e,71).required.toString()]),n(e,73,0,o["\u0275nov"](e,74).disabled||null,"NoopAnimations"===o["\u0275nov"](e,74)._animationMode),n(e,78,1,["standard"==o["\u0275nov"](e,79).appearance,"fill"==o["\u0275nov"](e,79).appearance,"outline"==o["\u0275nov"](e,79).appearance,"legacy"==o["\u0275nov"](e,79).appearance,o["\u0275nov"](e,79)._control.errorState,o["\u0275nov"](e,79)._canLabelFloat,o["\u0275nov"](e,79)._shouldLabelFloat(),o["\u0275nov"](e,79)._hasFloatingLabel(),o["\u0275nov"](e,79)._hideControlPlaceholder(),o["\u0275nov"](e,79)._control.disabled,o["\u0275nov"](e,79)._control.autofilled,o["\u0275nov"](e,79)._control.focused,"accent"==o["\u0275nov"](e,79).color,"warn"==o["\u0275nov"](e,79).color,o["\u0275nov"](e,79)._shouldForward("untouched"),o["\u0275nov"](e,79)._shouldForward("touched"),o["\u0275nov"](e,79)._shouldForward("pristine"),o["\u0275nov"](e,79)._shouldForward("dirty"),o["\u0275nov"](e,79)._shouldForward("valid"),o["\u0275nov"](e,79)._shouldForward("invalid"),o["\u0275nov"](e,79)._shouldForward("pending"),!o["\u0275nov"](e,79)._animationsEnabled]),n(e,89,1,[o["\u0275nov"](e,93).ngClassUntouched,o["\u0275nov"](e,93).ngClassTouched,o["\u0275nov"](e,93).ngClassPristine,o["\u0275nov"](e,93).ngClassDirty,o["\u0275nov"](e,93).ngClassValid,o["\u0275nov"](e,93).ngClassInvalid,o["\u0275nov"](e,93).ngClassPending,o["\u0275nov"](e,94).id,o["\u0275nov"](e,94).tabIndex,o["\u0275nov"](e,94)._getAriaLabel(),o["\u0275nov"](e,94)._getAriaLabelledby(),o["\u0275nov"](e,94).required.toString(),o["\u0275nov"](e,94).disabled.toString(),o["\u0275nov"](e,94).errorState,o["\u0275nov"](e,94).panelOpen?o["\u0275nov"](e,94)._optionIds:null,o["\u0275nov"](e,94).multiple,o["\u0275nov"](e,94)._ariaDescribedby||null,o["\u0275nov"](e,94)._getAriaActiveDescendant(),o["\u0275nov"](e,94).disabled,o["\u0275nov"](e,94).errorState,o["\u0275nov"](e,94).required,o["\u0275nov"](e,94).empty]),n(e,101,1,["standard"==o["\u0275nov"](e,102).appearance,"fill"==o["\u0275nov"](e,102).appearance,"outline"==o["\u0275nov"](e,102).appearance,"legacy"==o["\u0275nov"](e,102).appearance,o["\u0275nov"](e,102)._control.errorState,o["\u0275nov"](e,102)._canLabelFloat,o["\u0275nov"](e,102)._shouldLabelFloat(),o["\u0275nov"](e,102)._hasFloatingLabel(),o["\u0275nov"](e,102)._hideControlPlaceholder(),o["\u0275nov"](e,102)._control.disabled,o["\u0275nov"](e,102)._control.autofilled,o["\u0275nov"](e,102)._control.focused,"accent"==o["\u0275nov"](e,102).color,"warn"==o["\u0275nov"](e,102).color,o["\u0275nov"](e,102)._shouldForward("untouched"),o["\u0275nov"](e,102)._shouldForward("touched"),o["\u0275nov"](e,102)._shouldForward("pristine"),o["\u0275nov"](e,102)._shouldForward("dirty"),o["\u0275nov"](e,102)._shouldForward("valid"),o["\u0275nov"](e,102)._shouldForward("invalid"),o["\u0275nov"](e,102)._shouldForward("pending"),!o["\u0275nov"](e,102)._animationsEnabled]),n(e,112,1,[o["\u0275nov"](e,116).ngClassUntouched,o["\u0275nov"](e,116).ngClassTouched,o["\u0275nov"](e,116).ngClassPristine,o["\u0275nov"](e,116).ngClassDirty,o["\u0275nov"](e,116).ngClassValid,o["\u0275nov"](e,116).ngClassInvalid,o["\u0275nov"](e,116).ngClassPending,o["\u0275nov"](e,117).id,o["\u0275nov"](e,117).tabIndex,o["\u0275nov"](e,117)._getAriaLabel(),o["\u0275nov"](e,117)._getAriaLabelledby(),o["\u0275nov"](e,117).required.toString(),o["\u0275nov"](e,117).disabled.toString(),o["\u0275nov"](e,117).errorState,o["\u0275nov"](e,117).panelOpen?o["\u0275nov"](e,117)._optionIds:null,o["\u0275nov"](e,117).multiple,o["\u0275nov"](e,117)._ariaDescribedby||null,o["\u0275nov"](e,117)._getAriaActiveDescendant(),o["\u0275nov"](e,117).disabled,o["\u0275nov"](e,117).errorState,o["\u0275nov"](e,117).required,o["\u0275nov"](e,117).empty]),n(e,124,1,["standard"==o["\u0275nov"](e,125).appearance,"fill"==o["\u0275nov"](e,125).appearance,"outline"==o["\u0275nov"](e,125).appearance,"legacy"==o["\u0275nov"](e,125).appearance,o["\u0275nov"](e,125)._control.errorState,o["\u0275nov"](e,125)._canLabelFloat,o["\u0275nov"](e,125)._shouldLabelFloat(),o["\u0275nov"](e,125)._hasFloatingLabel(),o["\u0275nov"](e,125)._hideControlPlaceholder(),o["\u0275nov"](e,125)._control.disabled,o["\u0275nov"](e,125)._control.autofilled,o["\u0275nov"](e,125)._control.focused,"accent"==o["\u0275nov"](e,125).color,"warn"==o["\u0275nov"](e,125).color,o["\u0275nov"](e,125)._shouldForward("untouched"),o["\u0275nov"](e,125)._shouldForward("touched"),o["\u0275nov"](e,125)._shouldForward("pristine"),o["\u0275nov"](e,125)._shouldForward("dirty"),o["\u0275nov"](e,125)._shouldForward("valid"),o["\u0275nov"](e,125)._shouldForward("invalid"),o["\u0275nov"](e,125)._shouldForward("pending"),!o["\u0275nov"](e,125)._animationsEnabled]),n(e,135,1,[o["\u0275nov"](e,140).ngClassUntouched,o["\u0275nov"](e,140).ngClassTouched,o["\u0275nov"](e,140).ngClassPristine,o["\u0275nov"](e,140).ngClassDirty,o["\u0275nov"](e,140).ngClassValid,o["\u0275nov"](e,140).ngClassInvalid,o["\u0275nov"](e,140).ngClassPending,o["\u0275nov"](e,141)._isServer,o["\u0275nov"](e,141).id,o["\u0275nov"](e,141).placeholder,o["\u0275nov"](e,141).disabled,o["\u0275nov"](e,141).required,o["\u0275nov"](e,141).readonly&&!o["\u0275nov"](e,141)._isNativeSelect||null,o["\u0275nov"](e,141)._ariaDescribedby||null,o["\u0275nov"](e,141).errorState,o["\u0275nov"](e,141).required.toString()]),n(e,143,1,["standard"==o["\u0275nov"](e,144).appearance,"fill"==o["\u0275nov"](e,144).appearance,"outline"==o["\u0275nov"](e,144).appearance,"legacy"==o["\u0275nov"](e,144).appearance,o["\u0275nov"](e,144)._control.errorState,o["\u0275nov"](e,144)._canLabelFloat,o["\u0275nov"](e,144)._shouldLabelFloat(),o["\u0275nov"](e,144)._hasFloatingLabel(),o["\u0275nov"](e,144)._hideControlPlaceholder(),o["\u0275nov"](e,144)._control.disabled,o["\u0275nov"](e,144)._control.autofilled,o["\u0275nov"](e,144)._control.focused,"accent"==o["\u0275nov"](e,144).color,"warn"==o["\u0275nov"](e,144).color,o["\u0275nov"](e,144)._shouldForward("untouched"),o["\u0275nov"](e,144)._shouldForward("touched"),o["\u0275nov"](e,144)._shouldForward("pristine"),o["\u0275nov"](e,144)._shouldForward("dirty"),o["\u0275nov"](e,144)._shouldForward("valid"),o["\u0275nov"](e,144)._shouldForward("invalid"),o["\u0275nov"](e,144)._shouldForward("pending"),!o["\u0275nov"](e,144)._animationsEnabled]),n(e,154,1,[o["\u0275nov"](e,159).ngClassUntouched,o["\u0275nov"](e,159).ngClassTouched,o["\u0275nov"](e,159).ngClassPristine,o["\u0275nov"](e,159).ngClassDirty,o["\u0275nov"](e,159).ngClassValid,o["\u0275nov"](e,159).ngClassInvalid,o["\u0275nov"](e,159).ngClassPending,o["\u0275nov"](e,160)._isServer,o["\u0275nov"](e,160).id,o["\u0275nov"](e,160).placeholder,o["\u0275nov"](e,160).disabled,o["\u0275nov"](e,160).required,o["\u0275nov"](e,160).readonly&&!o["\u0275nov"](e,160)._isNativeSelect||null,o["\u0275nov"](e,160)._ariaDescribedby||null,o["\u0275nov"](e,160).errorState,o["\u0275nov"](e,160).required.toString()]),n(e,162,1,["standard"==o["\u0275nov"](e,163).appearance,"fill"==o["\u0275nov"](e,163).appearance,"outline"==o["\u0275nov"](e,163).appearance,"legacy"==o["\u0275nov"](e,163).appearance,o["\u0275nov"](e,163)._control.errorState,o["\u0275nov"](e,163)._canLabelFloat,o["\u0275nov"](e,163)._shouldLabelFloat(),o["\u0275nov"](e,163)._hasFloatingLabel(),o["\u0275nov"](e,163)._hideControlPlaceholder(),o["\u0275nov"](e,163)._control.disabled,o["\u0275nov"](e,163)._control.autofilled,o["\u0275nov"](e,163)._control.focused,"accent"==o["\u0275nov"](e,163).color,"warn"==o["\u0275nov"](e,163).color,o["\u0275nov"](e,163)._shouldForward("untouched"),o["\u0275nov"](e,163)._shouldForward("touched"),o["\u0275nov"](e,163)._shouldForward("pristine"),o["\u0275nov"](e,163)._shouldForward("dirty"),o["\u0275nov"](e,163)._shouldForward("valid"),o["\u0275nov"](e,163)._shouldForward("invalid"),o["\u0275nov"](e,163)._shouldForward("pending"),!o["\u0275nov"](e,163)._animationsEnabled]),n(e,173,1,[o["\u0275nov"](e,178).ngClassUntouched,o["\u0275nov"](e,178).ngClassTouched,o["\u0275nov"](e,178).ngClassPristine,o["\u0275nov"](e,178).ngClassDirty,o["\u0275nov"](e,178).ngClassValid,o["\u0275nov"](e,178).ngClassInvalid,o["\u0275nov"](e,178).ngClassPending,o["\u0275nov"](e,179)._isServer,o["\u0275nov"](e,179).id,o["\u0275nov"](e,179).placeholder,o["\u0275nov"](e,179).disabled,o["\u0275nov"](e,179).required,o["\u0275nov"](e,179).readonly&&!o["\u0275nov"](e,179)._isNativeSelect||null,o["\u0275nov"](e,179)._ariaDescribedby||null,o["\u0275nov"](e,179).errorState,o["\u0275nov"](e,179).required.toString()]),n(e,181,0,o["\u0275nov"](e,182).expanded,"NoopAnimations"===o["\u0275nov"](e,182)._animationMode,o["\u0275nov"](e,182)._hasSpacing());var f=o["\u0275nov"](e,186).panel._headerId,h=o["\u0275nov"](e,186).disabled?-1:0,m=o["\u0275nov"](e,186)._getPanelId(),v=o["\u0275nov"](e,186)._isExpanded(),g=o["\u0275nov"](e,186).panel.disabled,b=o["\u0275nov"](e,186)._isExpanded(),_="after"===o["\u0275nov"](e,186)._getTogglePosition(),y="before"===o["\u0275nov"](e,186)._getTogglePosition(),w=o["\u0275nov"](e,186)._animationsDisabled,C=n(e,188,0,o["\u0275nov"](e,186)._getExpandedState(),n(e,187,0,o["\u0275nov"](e,186).collapsedHeight,o["\u0275nov"](e,186).expandedHeight));n(e,185,0,f,h,m,v,g,b,_,y,w,C),n(e,194,1,["standard"==o["\u0275nov"](e,195).appearance,"fill"==o["\u0275nov"](e,195).appearance,"outline"==o["\u0275nov"](e,195).appearance,"legacy"==o["\u0275nov"](e,195).appearance,o["\u0275nov"](e,195)._control.errorState,o["\u0275nov"](e,195)._canLabelFloat,o["\u0275nov"](e,195)._shouldLabelFloat(),o["\u0275nov"](e,195)._hasFloatingLabel(),o["\u0275nov"](e,195)._hideControlPlaceholder(),o["\u0275nov"](e,195)._control.disabled,o["\u0275nov"](e,195)._control.autofilled,o["\u0275nov"](e,195)._control.focused,"accent"==o["\u0275nov"](e,195).color,"warn"==o["\u0275nov"](e,195).color,o["\u0275nov"](e,195)._shouldForward("untouched"),o["\u0275nov"](e,195)._shouldForward("touched"),o["\u0275nov"](e,195)._shouldForward("pristine"),o["\u0275nov"](e,195)._shouldForward("dirty"),o["\u0275nov"](e,195)._shouldForward("valid"),o["\u0275nov"](e,195)._shouldForward("invalid"),o["\u0275nov"](e,195)._shouldForward("pending"),!o["\u0275nov"](e,195)._animationsEnabled]),n(e,205,1,[o["\u0275nov"](e,210).ngClassUntouched,o["\u0275nov"](e,210).ngClassTouched,o["\u0275nov"](e,210).ngClassPristine,o["\u0275nov"](e,210).ngClassDirty,o["\u0275nov"](e,210).ngClassValid,o["\u0275nov"](e,210).ngClassInvalid,o["\u0275nov"](e,210).ngClassPending,o["\u0275nov"](e,211).id,o["\u0275nov"](e,211).tabIndex,o["\u0275nov"](e,211)._getAriaLabel(),o["\u0275nov"](e,211)._getAriaLabelledby(),o["\u0275nov"](e,211).required.toString(),o["\u0275nov"](e,211).disabled.toString(),o["\u0275nov"](e,211).errorState,o["\u0275nov"](e,211).panelOpen?o["\u0275nov"](e,211)._optionIds:null,o["\u0275nov"](e,211).multiple,o["\u0275nov"](e,211)._ariaDescribedby||null,o["\u0275nov"](e,211)._getAriaActiveDescendant(),o["\u0275nov"](e,211).disabled,o["\u0275nov"](e,211).errorState,o["\u0275nov"](e,211).required,o["\u0275nov"](e,211).empty]),n(e,218,0,o["\u0275nov"](e,219).disabled||null,"NoopAnimations"===o["\u0275nov"](e,219)._animationMode),n(e,221,0,o["\u0275nov"](e,222).expanded,"NoopAnimations"===o["\u0275nov"](e,222)._animationMode,o["\u0275nov"](e,222)._hasSpacing());var x=o["\u0275nov"](e,226).panel._headerId,S=o["\u0275nov"](e,226).disabled?-1:0,k=o["\u0275nov"](e,226)._getPanelId(),E=o["\u0275nov"](e,226)._isExpanded(),T=o["\u0275nov"](e,226).panel.disabled,R=o["\u0275nov"](e,226)._isExpanded(),I="after"===o["\u0275nov"](e,226)._getTogglePosition(),D="before"===o["\u0275nov"](e,226)._getTogglePosition(),O=o["\u0275nov"](e,226)._animationsDisabled,F=n(e,228,0,o["\u0275nov"](e,226)._getExpandedState(),n(e,227,0,o["\u0275nov"](e,226).collapsedHeight,o["\u0275nov"](e,226).expandedHeight));n(e,225,0,x,S,k,E,T,R,I,D,O,F),n(e,234,1,["standard"==o["\u0275nov"](e,235).appearance,"fill"==o["\u0275nov"](e,235).appearance,"outline"==o["\u0275nov"](e,235).appearance,"legacy"==o["\u0275nov"](e,235).appearance,o["\u0275nov"](e,235)._control.errorState,o["\u0275nov"](e,235)._canLabelFloat,o["\u0275nov"](e,235)._shouldLabelFloat(),o["\u0275nov"](e,235)._hasFloatingLabel(),o["\u0275nov"](e,235)._hideControlPlaceholder(),o["\u0275nov"](e,235)._control.disabled,o["\u0275nov"](e,235)._control.autofilled,o["\u0275nov"](e,235)._control.focused,"accent"==o["\u0275nov"](e,235).color,"warn"==o["\u0275nov"](e,235).color,o["\u0275nov"](e,235)._shouldForward("untouched"),o["\u0275nov"](e,235)._shouldForward("touched"),o["\u0275nov"](e,235)._shouldForward("pristine"),o["\u0275nov"](e,235)._shouldForward("dirty"),o["\u0275nov"](e,235)._shouldForward("valid"),o["\u0275nov"](e,235)._shouldForward("invalid"),o["\u0275nov"](e,235)._shouldForward("pending"),!o["\u0275nov"](e,235)._animationsEnabled]),n(e,245,1,[o["\u0275nov"](e,250).ngClassUntouched,o["\u0275nov"](e,250).ngClassTouched,o["\u0275nov"](e,250).ngClassPristine,o["\u0275nov"](e,250).ngClassDirty,o["\u0275nov"](e,250).ngClassValid,o["\u0275nov"](e,250).ngClassInvalid,o["\u0275nov"](e,250).ngClassPending,o["\u0275nov"](e,251)._isServer,o["\u0275nov"](e,251).id,o["\u0275nov"](e,251).placeholder,o["\u0275nov"](e,251).disabled,o["\u0275nov"](e,251).required,o["\u0275nov"](e,251).readonly&&!o["\u0275nov"](e,251)._isNativeSelect||null,o["\u0275nov"](e,251)._ariaDescribedby||null,o["\u0275nov"](e,251).errorState,o["\u0275nov"](e,251).required.toString()]),n(e,253,0,o["\u0275nov"](e,254).disabled||null,"NoopAnimations"===o["\u0275nov"](e,254)._animationMode),n(e,256,0,o["\u0275nov"](e,257).expanded,"NoopAnimations"===o["\u0275nov"](e,257)._animationMode,o["\u0275nov"](e,257)._hasSpacing());var N=o["\u0275nov"](e,261).panel._headerId,M=o["\u0275nov"](e,261).disabled?-1:0,A=o["\u0275nov"](e,261)._getPanelId(),q=o["\u0275nov"](e,261)._isExpanded(),P=o["\u0275nov"](e,261).panel.disabled,j=o["\u0275nov"](e,261)._isExpanded(),L="after"===o["\u0275nov"](e,261)._getTogglePosition(),V="before"===o["\u0275nov"](e,261)._getTogglePosition(),B=o["\u0275nov"](e,261)._animationsDisabled,z=n(e,263,0,o["\u0275nov"](e,261)._getExpandedState(),n(e,262,0,o["\u0275nov"](e,261).collapsedHeight,o["\u0275nov"](e,261).expandedHeight));n(e,260,0,N,M,A,q,P,j,L,V,B,z),n(e,271,1,["standard"==o["\u0275nov"](e,272).appearance,"fill"==o["\u0275nov"](e,272).appearance,"outline"==o["\u0275nov"](e,272).appearance,"legacy"==o["\u0275nov"](e,272).appearance,o["\u0275nov"](e,272)._control.errorState,o["\u0275nov"](e,272)._canLabelFloat,o["\u0275nov"](e,272)._shouldLabelFloat(),o["\u0275nov"](e,272)._hasFloatingLabel(),o["\u0275nov"](e,272)._hideControlPlaceholder(),o["\u0275nov"](e,272)._control.disabled,o["\u0275nov"](e,272)._control.autofilled,o["\u0275nov"](e,272)._control.focused,"accent"==o["\u0275nov"](e,272).color,"warn"==o["\u0275nov"](e,272).color,o["\u0275nov"](e,272)._shouldForward("untouched"),o["\u0275nov"](e,272)._shouldForward("touched"),o["\u0275nov"](e,272)._shouldForward("pristine"),o["\u0275nov"](e,272)._shouldForward("dirty"),o["\u0275nov"](e,272)._shouldForward("valid"),o["\u0275nov"](e,272)._shouldForward("invalid"),o["\u0275nov"](e,272)._shouldForward("pending"),!o["\u0275nov"](e,272)._animationsEnabled]),n(e,282,1,[o["\u0275nov"](e,287).ngClassUntouched,o["\u0275nov"](e,287).ngClassTouched,o["\u0275nov"](e,287).ngClassPristine,o["\u0275nov"](e,287).ngClassDirty,o["\u0275nov"](e,287).ngClassValid,o["\u0275nov"](e,287).ngClassInvalid,o["\u0275nov"](e,287).ngClassPending,o["\u0275nov"](e,288)._isServer,o["\u0275nov"](e,288).id,o["\u0275nov"](e,288).placeholder,o["\u0275nov"](e,288).disabled,o["\u0275nov"](e,288).required,o["\u0275nov"](e,288).readonly&&!o["\u0275nov"](e,288)._isNativeSelect||null,o["\u0275nov"](e,288)._ariaDescribedby||null,o["\u0275nov"](e,288).errorState,o["\u0275nov"](e,288).required.toString()]),n(e,290,1,["standard"==o["\u0275nov"](e,291).appearance,"fill"==o["\u0275nov"](e,291).appearance,"outline"==o["\u0275nov"](e,291).appearance,"legacy"==o["\u0275nov"](e,291).appearance,o["\u0275nov"](e,291)._control.errorState,o["\u0275nov"](e,291)._canLabelFloat,o["\u0275nov"](e,291)._shouldLabelFloat(),o["\u0275nov"](e,291)._hasFloatingLabel(),o["\u0275nov"](e,291)._hideControlPlaceholder(),o["\u0275nov"](e,291)._control.disabled,o["\u0275nov"](e,291)._control.autofilled,o["\u0275nov"](e,291)._control.focused,"accent"==o["\u0275nov"](e,291).color,"warn"==o["\u0275nov"](e,291).color,o["\u0275nov"](e,291)._shouldForward("untouched"),o["\u0275nov"](e,291)._shouldForward("touched"),o["\u0275nov"](e,291)._shouldForward("pristine"),o["\u0275nov"](e,291)._shouldForward("dirty"),o["\u0275nov"](e,291)._shouldForward("valid"),o["\u0275nov"](e,291)._shouldForward("invalid"),o["\u0275nov"](e,291)._shouldForward("pending"),!o["\u0275nov"](e,291)._animationsEnabled]),n(e,301,1,[o["\u0275nov"](e,307).ngClassUntouched,o["\u0275nov"](e,307).ngClassTouched,o["\u0275nov"](e,307).ngClassPristine,o["\u0275nov"](e,307).ngClassDirty,o["\u0275nov"](e,307).ngClassValid,o["\u0275nov"](e,307).ngClassInvalid,o["\u0275nov"](e,307).ngClassPending,o["\u0275nov"](e,308)._isServer,o["\u0275nov"](e,308).id,o["\u0275nov"](e,308).placeholder,o["\u0275nov"](e,308).disabled,o["\u0275nov"](e,308).required,o["\u0275nov"](e,308).readonly&&!o["\u0275nov"](e,308)._isNativeSelect||null,o["\u0275nov"](e,308)._ariaDescribedby||null,o["\u0275nov"](e,308).errorState,o["\u0275nov"](e,308).required.toString()]),n(e,310,1,["standard"==o["\u0275nov"](e,311).appearance,"fill"==o["\u0275nov"](e,311).appearance,"outline"==o["\u0275nov"](e,311).appearance,"legacy"==o["\u0275nov"](e,311).appearance,o["\u0275nov"](e,311)._control.errorState,o["\u0275nov"](e,311)._canLabelFloat,o["\u0275nov"](e,311)._shouldLabelFloat(),o["\u0275nov"](e,311)._hasFloatingLabel(),o["\u0275nov"](e,311)._hideControlPlaceholder(),o["\u0275nov"](e,311)._control.disabled,o["\u0275nov"](e,311)._control.autofilled,o["\u0275nov"](e,311)._control.focused,"accent"==o["\u0275nov"](e,311).color,"warn"==o["\u0275nov"](e,311).color,o["\u0275nov"](e,311)._shouldForward("untouched"),o["\u0275nov"](e,311)._shouldForward("touched"),o["\u0275nov"](e,311)._shouldForward("pristine"),o["\u0275nov"](e,311)._shouldForward("dirty"),o["\u0275nov"](e,311)._shouldForward("valid"),o["\u0275nov"](e,311)._shouldForward("invalid"),o["\u0275nov"](e,311)._shouldForward("pending"),!o["\u0275nov"](e,311)._animationsEnabled]),n(e,321,1,[o["\u0275nov"](e,326).ngClassUntouched,o["\u0275nov"](e,326).ngClassTouched,o["\u0275nov"](e,326).ngClassPristine,o["\u0275nov"](e,326).ngClassDirty,o["\u0275nov"](e,326).ngClassValid,o["\u0275nov"](e,326).ngClassInvalid,o["\u0275nov"](e,326).ngClassPending,o["\u0275nov"](e,327)._isServer,o["\u0275nov"](e,327).id,o["\u0275nov"](e,327).placeholder,o["\u0275nov"](e,327).disabled,o["\u0275nov"](e,327).required,o["\u0275nov"](e,327).readonly&&!o["\u0275nov"](e,327)._isNativeSelect||null,o["\u0275nov"](e,327)._ariaDescribedby||null,o["\u0275nov"](e,327).errorState,o["\u0275nov"](e,327).required.toString()]),n(e,329,1,["standard"==o["\u0275nov"](e,330).appearance,"fill"==o["\u0275nov"](e,330).appearance,"outline"==o["\u0275nov"](e,330).appearance,"legacy"==o["\u0275nov"](e,330).appearance,o["\u0275nov"](e,330)._control.errorState,o["\u0275nov"](e,330)._canLabelFloat,o["\u0275nov"](e,330)._shouldLabelFloat(),o["\u0275nov"](e,330)._hasFloatingLabel(),o["\u0275nov"](e,330)._hideControlPlaceholder(),o["\u0275nov"](e,330)._control.disabled,o["\u0275nov"](e,330)._control.autofilled,o["\u0275nov"](e,330)._control.focused,"accent"==o["\u0275nov"](e,330).color,"warn"==o["\u0275nov"](e,330).color,o["\u0275nov"](e,330)._shouldForward("untouched"),o["\u0275nov"](e,330)._shouldForward("touched"),o["\u0275nov"](e,330)._shouldForward("pristine"),o["\u0275nov"](e,330)._shouldForward("dirty"),o["\u0275nov"](e,330)._shouldForward("valid"),o["\u0275nov"](e,330)._shouldForward("invalid"),o["\u0275nov"](e,330)._shouldForward("pending"),!o["\u0275nov"](e,330)._animationsEnabled]),n(e,340,1,[o["\u0275nov"](e,346).ngClassUntouched,o["\u0275nov"](e,346).ngClassTouched,o["\u0275nov"](e,346).ngClassPristine,o["\u0275nov"](e,346).ngClassDirty,o["\u0275nov"](e,346).ngClassValid,o["\u0275nov"](e,346).ngClassInvalid,o["\u0275nov"](e,346).ngClassPending,o["\u0275nov"](e,347)._isServer,o["\u0275nov"](e,347).id,o["\u0275nov"](e,347).placeholder,o["\u0275nov"](e,347).disabled,o["\u0275nov"](e,347).required,o["\u0275nov"](e,347).readonly&&!o["\u0275nov"](e,347)._isNativeSelect||null,o["\u0275nov"](e,347)._ariaDescribedby||null,o["\u0275nov"](e,347).errorState,o["\u0275nov"](e,347).required.toString()]),n(e,349,0,o["\u0275nov"](e,350).disabled||null,"NoopAnimations"===o["\u0275nov"](e,350)._animationMode),n(e,353,0,o["\u0275nov"](e,354).disabled||null,"NoopAnimations"===o["\u0275nov"](e,354)._animationMode),n(e,356,0,o["\u0275nov"](e,357).disabled||null,"NoopAnimations"===o["\u0275nov"](e,357)._animationMode)})}function $C(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.cloudNodeTemplate.symbol)},null)}function XC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Cloud configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,YC)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,$C)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.cloudNodeTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.cloudNodeTemplate)},null)}function QC(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-cloud-nodes-template-details",[],null,null,null,XC,OC)),o["\u0275did"](1,114688,null,0,DC,[bt,Uh,Fy,vc,ww,Rl],null,null)],function(n,e){n(e,1,0)},null)}var JC=o["\u0275ccf"]("app-cloud-nodes-template-details",DC,QC,{},{},[]),nx=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),ex=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.iosService=t,this.router=l,this.iosTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.iosService.getTemplates(this.server).subscribe(function(e){n.iosTemplates=e.filter(function(n){return"dynamips"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates",n.template_id,"copy"])},n}(),tx=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function lx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function ox(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add IOS router template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/dynamips/templates/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function rx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function ix(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,20,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](29,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](31,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color),n(e,28,0,o["\u0275nov"](e,29).role,o["\u0275nov"](e,29)._highlighted,o["\u0275nov"](e,29)._triggersSubmenu,o["\u0275nov"](e,29)._getTabIndex(),o["\u0275nov"](e,29).disabled.toString(),o["\u0275nov"](e,29).disabled||null),n(e,30,0,o["\u0275nov"](e,31).inline,"primary"!==o["\u0275nov"](e,31).color&&"accent"!==o["\u0275nov"](e,31).color&&"warn"!==o["\u0275nov"](e,31).color)})}function ax(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,ix)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.iosTemplates)},null)}function ux(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,ax)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function sx(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOS routers templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,lx)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ox)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,rx)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ux)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.iosTemplates.length),n(e,13,0,t.iosTemplates.length),n(e,15,0,t.server)},null)}function dx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ios-templates",[],null,null,null,sx,tx)),o["\u0275did"](1,114688,null,0,ex,[bt,Uh,nx,Rl],null,null)],function(n,e){n(e,1,0)},null)}var cx=o["\u0275ccf"]("app-ios-templates",ex,dx,{},{},[]),px=function(){return function(n){this.template=n}}(),fx=function(){function n(n){this._elementRef=n}return n.prototype.focus=function(){this._elementRef.nativeElement.focus()},n}(),hx=0,mx=new o.InjectionToken("STEPPER_GLOBAL_OPTIONS"),vx=function(){function n(n,e){this._stepper=n,this.interacted=!1,this._editable=!0,this._optional=!1,this._customCompleted=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}return Object.defineProperty(n.prototype,"editable",{get:function(){return this._editable},set:function(n){this._editable=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"optional",{get:function(){return this._optional},set:function(n){this._optional=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"completed",{get:function(){return null==this._customCompleted?this._getDefaultCompleted():this._customCompleted},set:function(n){this._customCompleted=uo(n)},enumerable:!0,configurable:!0}),n.prototype._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted},Object.defineProperty(n.prototype,"hasError",{get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(n){this._customError=uo(n)},enumerable:!0,configurable:!0}),n.prototype._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted},n.prototype.select=function(){this._stepper.selected=this},n.prototype.reset=function(){this.interacted=!1,null!=this._customCompleted&&(this._customCompleted=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()},n.prototype.ngOnChanges=function(){this._stepper._stateChanged()},n}(),gx=function(){function n(n,e,t,l){this._dir=n,this._changeDetectorRef=e,this._elementRef=t,this._destroyed=new A.b,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.EventEmitter,this._orientation="horizontal",this._groupId=hx++,this._document=l}return Object.defineProperty(n.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"linear",{get:function(){return this._linear},set:function(n){this._linear=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){var e=so(n);if(this.steps){if(e<0||e>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(n)}else this._selectedIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(n){this.selectedIndex=this.steps?this.steps.toArray().indexOf(n):-1},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;this._keyManager=new Fo(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(D.a)()).pipe(Object(W.a)(this._layoutDirection()),Object(Is.a)(this._destroyed)).subscribe(function(e){return n._keyManager.withHorizontalOrientation(e)}),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){n.selected||(n._selectedIndex=Math.max(n._selectedIndex-1,0))})},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},n.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)},n.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},n.prototype.reset=function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(n){return n.reset()}),this._stateChanged()},n.prototype._getStepLabelId=function(n){return"cdk-step-label-"+this._groupId+"-"+n},n.prototype._getStepContentId=function(n){return"cdk-step-content-"+this._groupId+"-"+n},n.prototype._stateChanged=function(){this._changeDetectorRef.markForCheck()},n.prototype._getAnimationDirection=function(n){var e=n-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"},n.prototype._getIndicatorType=function(n,e){void 0===e&&(e="number");var t=this.steps.toArray()[n],l=this._isCurrentStep(n);return t._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(t,l):this._getGuidelineLogic(t,l,e)},n.prototype._getDefaultIndicatorLogic=function(n,e){return n._showError&&n.hasError&&!e?"error":!n.completed||e?"number":n.editable?"edit":"done"},n.prototype._getGuidelineLogic=function(n,e,t){return void 0===t&&(t="number"),n._showError&&n.hasError&&!e?"error":n.completed&&!e?"done":n.completed&&e?t:n.editable&&e?"edit":t},n.prototype._isCurrentStep=function(n){return this._selectedIndex===n},n.prototype._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex},n.prototype._updateSelectedItemIndex=function(n){var e=this.steps.toArray();this.selectionChange.emit({selectedIndex:n,previouslySelectedIndex:this._selectedIndex,selectedStep:e[n],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(n):this._keyManager.updateActiveItemIndex(n),this._selectedIndex=n,this._stateChanged()},n.prototype._onKeydown=function(n){var e=xo(n),t=n.keyCode,l=this._keyManager;null==l.activeItemIndex||e||32!==t&&13!==t?36===t?(l.setFirstItemActive(),n.preventDefault()):35===t?(l.setLastItemActive(),n.preventDefault()):l.onKeydown(n):(this.selectedIndex=l.activeItemIndex,n.preventDefault())},n.prototype._anyControlsInvalidOrPending=function(n){var e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&n>=0)&&e.slice(0,n).some(function(n){var e=n.stepControl;return(e?e.invalid||e.pending||!n.interacted:!n.completed)&&!n.optional})},n.prototype._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._containsFocus=function(){if(!this._document||!this._elementRef)return!1;var n=this._elementRef.nativeElement,e=this._document.activeElement;return n===e||n.contains(e)},n}(),bx=function(){return function(){}}(),_x=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return Object(s.__extends)(e,n),e}(px),yx=function(){function n(){this.changes=new A.b,this.optionalLabel="Optional"}return n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n},token:n,providedIn:"root"}),n}();function wx(n){return n||new yx}var Cx=function(n){function e(e,t,l,o){var r=n.call(this,l)||this;return r._intl=e,r._focusMonitor=t,t.monitor(l,!0),r._intlSubscription=e.changes.subscribe(function(){return o.markForCheck()}),r}return Object(s.__extends)(e,n),e.prototype.ngOnDestroy=function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._focusMonitor.focusVia(this._elementRef,"program")},e.prototype._stringLabel=function(){return this.label instanceof _x?null:this.label},e.prototype._templateLabel=function(){return this.label instanceof _x?this.label:null},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}},e.prototype._getDefaultTextForState=function(n){return"number"==n?""+(this.index+1):"edit"==n?"create":"error"==n?"warning":n},e}(fx),xx=function(n){function e(e,t,l){var o=n.call(this,e,l)||this;return o._errorStateMatcher=t,o}return Object(s.__extends)(e,n),e.prototype.isErrorState=function(n,e){return this._errorStateMatcher.isErrorState(n,e)||!!(n&&n.invalid&&this.interacted)},e}(vx),Sx=function(n){function e(){var e=null!==n&&n.apply(this,arguments)||this;return e.animationDone=new o.EventEmitter,e._iconOverrides={},e._animationDone=new A.b,e}return Object(s.__extends)(e,n),e.prototype.ngAfterContentInit=function(){var n=this;this._icons.forEach(function(e){return n._iconOverrides[e.name]=e.templateRef}),this._steps.changes.pipe(Object(Is.a)(this._destroyed)).subscribe(function(){return n._stateChanged()}),this._animationDone.pipe(Object(Fs.a)(function(n,e){return n.fromState===e.fromState&&n.toState===e.toState}),Object(Is.a)(this._destroyed)).subscribe(function(e){"current"===e.toState&&n.animationDone.emit()})},e}(gx),kx=function(n){function e(e,t,l,o){var r=n.call(this,e,t,l,o)||this;return r._orientation="vertical",r}return Object(s.__extends)(e,n),e}(Sx),Ex=function(){return function(){}}(),Tx=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Rx(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function Ix(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{content:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,Rx))],null,null)}var Dx=o["\u0275crt"]({encapsulation:2,styles:[".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}"],data:{animation:[{type:7,name:"stepTransition",definitions:[{type:0,name:"previous",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"next",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"current",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"* <=> current",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Ox(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","mat-step"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"mat-step-header",[["class","mat-vertical-stepper-header mat-step-header"],["role","tab"]],[[8,"tabIndex",0],[8,"id",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==n.context.$implicit.select()&&l),"keydown"===e&&(l=!1!==o._onKeydown(t)&&l),l},zx,Nx)),o["\u0275did"](2,180224,[[1,4]],0,Cx,[yx,Uo,o.ElementRef,o.ChangeDetectorRef],{state:[0,"state"],label:[1,"label"],errorMessage:[2,"errorMessage"],iconOverrides:[3,"iconOverrides"],index:[4,"index"],selected:[5,"selected"],active:[6,"active"],optional:[7,"optional"],disableRipple:[8,"disableRipple"]},null),(n()(),o["\u0275eld"](3,0,null,null,4,"div",[["class","mat-vertical-content-container"]],[[2,"mat-stepper-vertical-line",null]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","mat-vertical-stepper-content"],["role","tabpanel"]],[[1,"tabindex",0],[24,"@stepTransition",0],[8,"id",0],[1,"aria-labelledby",0],[1,"aria-expanded",0]],[[null,"@stepTransition.done"]],function(n,e,t){var l=!0;return"@stepTransition.done"===e&&(l=!1!==n.component._animationDone.next(t)&&l),l},null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","mat-vertical-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](7,540672,null,0,I.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],function(n,e){var t=e.component;n(e,2,0,t._getIndicatorType(e.context.index,e.context.$implicit.state),e.context.$implicit.stepLabel||e.context.$implicit.label,e.context.$implicit.errorMessage,t._iconOverrides,e.context.index,t.selectedIndex===e.context.index,e.context.$implicit.completed||t.selectedIndex===e.context.index||!t.linear,e.context.$implicit.optional,t.disableRipple),n(e,7,0,e.context.$implicit.content)},function(n,e){var t=e.component;n(e,1,0,t._getFocusIndex()==e.context.index?0:-1,t._getStepLabelId(e.context.index),e.context.index+1,t.steps.length,t._getStepContentId(e.context.index),t.selectedIndex===e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null),n(e,3,0,!e.context.last),n(e,4,0,t.selectedIndex===e.context.index?0:null,t._getAnimationDirection(e.context.index),t._getStepContentId(e.context.index),t._getStepLabelId(e.context.index),t.selectedIndex===e.context.index)})}function Fx(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_stepHeader:1}),(n()(),o["\u0275and"](16777216,null,null,1,null,Ox)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,2,0,e.component.steps)},null)}var Nx=o["\u0275crt"]({encapsulation:2,styles:[".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon .mat-icon,.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{}});function Mx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,540672,null,0,I.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){var t=e.component;n(e,1,0,t._getIconContext(),t.iconOverrides[t.state])},null)}function Ax(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){var t=e.component;n(e,1,0,t._getDefaultTextForState(t.state))})}function qx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](1,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](2,0,["",""]))],function(n,e){n(e,1,0)},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).inline,"primary"!==o["\u0275nov"](e,1).color&&"accent"!==o["\u0275nov"](e,1).color&&"warn"!==o["\u0275nov"](e,1).color),n(e,2,0,t._getDefaultTextForState(t.state))})}function Px(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,5,null,null,null,null,null,null,null)),o["\u0275did"](1,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Ax)),o["\u0275did"](3,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qx)),o["\u0275did"](5,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.component.state),n(e,3,0,"number")},null)}function jx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),o["\u0275did"](1,540672,null,0,I.NgTemplateOutlet,[o.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.component._templateLabel().template)},null)}function Lx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-text-label"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.label)})}function Vx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-optional"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component._intl.optionalLabel)})}function Bx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-sub-label-error"]],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""]))],null,function(n,e){n(e,1,0,e.component.errorMessage)})}function zx(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","mat-step-header-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](1,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),(n()(),o["\u0275eld"](2,0,null,null,6,"div",[],[[8,"className",0],[2,"mat-step-icon-selected",null]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,5,"div",[["class","mat-step-icon-content"]],null,null,null,null,null)),o["\u0275did"](4,16384,null,0,I.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Mx)),o["\u0275did"](6,278528,null,0,I.NgSwitchCase,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Px)),o["\u0275did"](8,16384,null,0,I.NgSwitchDefault,[o.ViewContainerRef,o.TemplateRef,I.NgSwitch],null,null),(n()(),o["\u0275eld"](9,0,null,null,8,"div",[["class","mat-step-label"]],[[2,"mat-step-label-active",null],[2,"mat-step-label-selected",null],[2,"mat-step-label-error",null]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,jx)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Lx)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Vx)),o["\u0275did"](15,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Bx)),o["\u0275did"](17,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.disableRipple,t._getHostElement()),n(e,4,0,!(!t.iconOverrides||!t.iconOverrides[t.state])),n(e,6,0,!0),n(e,11,0,t._templateLabel()),n(e,13,0,t._stringLabel()),n(e,15,0,t.optional&&"error"!=t.state),n(e,17,0,"error"==t.state)},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).unbounded),n(e,2,0,o["\u0275inlineInterpolate"](1,"mat-step-icon-state-",t.state," mat-step-icon"),t.selected),n(e,9,0,t.active,t.selected,"error"==t.state)})}var Ux=function(){return function(){}}(),Hx=function(){function n(){this.c1700_wics=["WIC-1T","WIC-2T","WIC-1ENET"],this.c2600_wics=["WIC-1T","WIC-2T"],this.c3700_wics=["WIC-1T","WIC-2T"],this.c2600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW"],this.c3600_nms=["NM-1FE-TX","NM-1E","NM-4E","NM-16ESW","NM-4T"],this.c3700_nms=["NM-1FE-TX","NM-4T","NM-16ESW"],this.c7200_pas=["PA-A1","PA-FE-TX","PA-2FE-TX","PA-GE","PA-4T+","PA-8T","PA-4E","PA-8E","PA-POS-OC3"],this.c7200_io=["C7200-IO-FE","C7200-IO-2FE","C7200-IO-GE-E"]}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getDefaultRamSettings=function(){return{c1700:160,c2600:160,c2691:192,c3600:192,c3725:128,c3745:256,c7200:512}},n.prototype.getDefaultNvRamSettings=function(){return{c1700:128,c2600:128,c2691:256,c3600:256,c3725:256,c3745:256,c7200:512}},n.prototype.getAvailablePlatforms=function(){return["c1700","c2600","c2691","c3725","c3745","c3600","c7200"]},n.prototype.getPlatformsWithEtherSwitchRouterOption=function(){return{c1700:!1,c2600:!0,c2691:!0,c3725:!0,c3745:!0,c3600:!0,c7200:!1}},n.prototype.getPlatformsWithChassis=function(){return{c1700:!0,c2600:!0,c2691:!1,c3725:!1,c3745:!1,c3600:!0,c7200:!1}},n.prototype.getChassis=function(){return{c1700:["1720","1721","1750","1751","1760"],c2600:["2610","2611","2620","2621","2610XM","2611XM","2620XM","2621XM","2650XM","2651XM"],c3600:["3620","3640","3660"]}},n.prototype.getNetworkModules=function(){return{c1700:{0:this.c1700_wics,1:this.c1700_wics},c2600:{0:this.c2600_wics,1:this.c2600_wics,2:this.c2600_wics},c2691:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3725:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics},c3745:{0:this.c3700_wics,1:this.c3700_wics,2:this.c3700_wics}}},n.prototype.getNetworkAdapters=function(){return{1720:{0:["C1700-MB-1FE"]},1721:{0:["C1700-MB-1FE"]},1750:{0:["C1700-MB-1FE"]},1751:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},1760:{0:["C1700-MB-1FE"],1:["C1700-MB-WIC1"]},2610:{0:["C2600-MB-1E"],1:this.c2600_nms},2611:{0:["C2600-MB-2E"],1:this.c2600_nms},2620:{0:["C2600-MB-1FE"],1:this.c2600_nms},2621:{0:["C2600-MB-2FE"],1:this.c2600_nms},"2610XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2611XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2620XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2621XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},"2650XM":{0:["C2600-MB-1FE"],1:this.c2600_nms},"2651XM":{0:["C2600-MB-2FE"],1:this.c2600_nms},3620:{0:this.c3600_nms,1:this.c3600_nms},3640:{0:this.c3600_nms,1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms},3660:{0:["Leopard-2FE"],1:this.c3600_nms,2:this.c3600_nms,3:this.c3600_nms,4:this.c3600_nms,5:this.c3600_nms,6:this.c3600_nms}}},n.prototype.getNetworkAdaptersForPlatform=function(){return{c2691:{0:["GT96100-FE"],1:this.c3700_nms},c3725:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms},c3745:{0:["GT96100-FE"],1:this.c3700_nms,2:this.c3700_nms,3:this.c3700_nms,4:this.c3700_nms},c7200:{0:this.c7200_io,1:this.c7200_pas,2:this.c7200_pas,3:this.c7200_pas,4:this.c7200_pas,5:this.c7200_pas,6:this.c7200_pas}}},n}(),Zx=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.router=r,this.templateMocksService=i,this.iosConfigurationService=a,this.isEtherSwitchRouter=!1,this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[],this.platforms=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.ciscoUrl="https://cfn.cloudapps.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp",this.iosTemplate=new Ux,this.iosImageForm=this.formBuilder.group({imageName:new Vm(null,[sm.required])}),this.iosNameForm=this.formBuilder.group({templateName:new Vm(null,[sm.required]),platform:new Vm(null,[sm.required]),chassis:new Vm(null,[sm.required])}),this.iosMemoryForm=this.formBuilder.group({memory:new Vm(null,[sm.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.templateMocksService.getIosTemplate().subscribe(function(e){n.iosTemplate=e,n.networkModules=n.iosConfigurationService.getNetworkModules(),n.networkAdaptersForPlatform=n.iosConfigurationService.getNetworkAdaptersForPlatform(),n.networkAdapters=n.iosConfigurationService.getNetworkAdapters(),n.platforms=n.iosConfigurationService.getAvailablePlatforms(),n.platformsWithEtherSwitchRouterOption=n.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),n.platformsWithChassis=n.iosConfigurationService.getPlatformsWithChassis(),n.chassis=n.iosConfigurationService.getChassis(),n.defaultRam=n.iosConfigurationService.getDefaultRamSettings()})})},n.prototype.addTemplate=function(){var n=this;this.iosImageForm.invalid||this.iosNameForm.invalid||this.iosMemoryForm.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=Object(dg.v4)(),this.iosTemplate.image=this.iosImageForm.get("imageName").value,this.iosTemplate.name=this.iosNameForm.get("templateName").value,this.iosTemplate.platform=this.iosNameForm.get("platform").value,this.iosTemplate.chassis=this.iosNameForm.get("chassis").value,this.iosTemplate.ram=this.iosMemoryForm.get("memory").value,this.isEtherSwitchRouter&&(this.iosTemplate.symbol=":/symbols/multilayer_switch.svg",this.iosTemplate.category="switch"),this.networkAdaptersForTemplate.length>0&&this.completeAdaptersData(),this.networkModulesForTemplate.length>0&&this.completeModulesData(),this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(e){n.goBack()}))},n.prototype.completeAdaptersData=function(){if(this.chassis[this.iosTemplate.platform]){if(Object.keys(this.networkAdapters[this.iosTemplate.platform]))for(var n=0;n<Object.keys(this.networkAdapters[this.iosTemplate.platform]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="")}else if(Object.keys(this.networkAdaptersForPlatform[this.iosTemplate.platform]))for(n=0;n<Object.keys(this.networkAdaptersForPlatform[this.iosTemplate.platform]).length;n++)this.networkAdaptersForTemplate[n]||(this.networkAdaptersForTemplate[n]="");this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.completeModulesData=function(){if(Object.keys(this.networkModules[this.iosTemplate.platform]))for(var n=0;n<Object.keys(this.networkModules[this.iosTemplate.platform]).length;n++)this.networkModulesForTemplate[n]||(this.networkModulesForTemplate[n]="");this.networkModulesForTemplate[0]&&(this.iosTemplate.wic0=this.networkModulesForTemplate[0]),this.networkModulesForTemplate[1]&&(this.iosTemplate.wic1=this.networkModulesForTemplate[1]),this.networkModulesForTemplate[2]&&(this.iosTemplate.wic2=this.networkModulesForTemplate[2])},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.onPlatformChosen=function(){this.iosTemplate.chassis="",this.networkAdaptersForTemplate=[],this.networkModulesForTemplate=[]},n.prototype.onChassisChosen=function(){this.networkAdaptersForTemplate=[]},n}(),Wx=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Gx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[32,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Kx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[44,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Yx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,35,{_controlNonStatic:0}),o["\u0275qud"](335544320,36,{_controlStatic:0}),o["\u0275qud"](603979776,37,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,38,{_labelChildStatic:0}),o["\u0275qud"](603979776,39,{_placeholderChild:0}),o["\u0275qud"](603979776,40,{_errorChildren:1}),o["\u0275qud"](603979776,41,{_hintChildren:1}),o["\u0275qud"](603979776,42,{_prefixChildren:1}),o["\u0275qud"](603979776,43,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","chassis"],["placeholder","Chassis"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,16)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._onBlur()&&l),"selectionChange"===e&&(l=!1!==r.onChassisChosen(t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](13,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](15,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](16,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["\u0275qud"](603979776,44,{options:1}),o["\u0275qud"](603979776,45,{optionGroups:1}),o["\u0275qud"](603979776,46,{customTrigger:0}),o["\u0275prd"](2048,[[35,4],[36,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Kx)),o["\u0275did"](22,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,13,0,"chassis"),n(e,16,0,"Chassis"),n(e,22,0,t.chassis[t.iosTemplate.platform])},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).tabIndex,o["\u0275nov"](e,16)._getAriaLabel(),o["\u0275nov"](e,16)._getAriaLabelledby(),o["\u0275nov"](e,16).required.toString(),o["\u0275nov"](e,16).disabled.toString(),o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).panelOpen?o["\u0275nov"](e,16)._optionIds:null,o["\u0275nov"](e,16).multiple,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16)._getAriaActiveDescendant(),o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).empty])})}function $x(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.isEtherSwitchRouter=t)&&l),l},Mb,Nb)),o["\u0275did"](1,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](5,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" This is an EtherSwitch router "]))],function(n,e){n(e,3,0,e.component.isEtherSwitchRouter)},function(n,e){n(e,0,1,[o["\u0275nov"](e,1).id,null,o["\u0275nov"](e,1).indeterminate,o["\u0275nov"](e,1).checked,o["\u0275nov"](e,1).disabled,"before"==o["\u0275nov"](e,1).labelPosition,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode,o["\u0275nov"](e,5).ngClassUntouched,o["\u0275nov"](e,5).ngClassTouched,o["\u0275nov"](e,5).ngClassPristine,o["\u0275nov"](e,5).ngClassDirty,o["\u0275nov"](e,5).ngClassValid,o["\u0275nov"](e,5).ngClassInvalid,o["\u0275nov"](e,5).ngClassPending])})}function Xx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[58,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Qx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,58,{options:1}),o["\u0275qud"](603979776,59,{optionGroups:1}),o["\u0275qud"](603979776,60,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Xx)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdapters[t.iosTemplate.chassis][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function Jx(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Qx)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkAdapters[t.iosTemplate.chassis][e.context.$implicit])},null)}function nS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,Jx)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,8)],function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)},null)}function eS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[61,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function tS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,61,{options:1}),o["\u0275qud"](603979776,62,{optionGroups:1}),o["\u0275qud"](603979776,63,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,eS)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function lS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,tS)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.context.$implicit])},null)}function oS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,lS)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,8)],function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)},null)}function rS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[65,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function iS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkModulesForTemplate[n.parent.context.$implicit]=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,65,{options:1}),o["\u0275qud"](603979776,66,{optionGroups:1}),o["\u0275qud"](603979776,67,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,rS)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.networkModulesForTemplate[e.parent.context.$implicit],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"WIC ",e.parent.context.$implicit,"")),n(e,12,0,t.networkModules[t.iosTemplate.platform][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function aS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,iS)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkModules[t.iosTemplate.platform][e.context.$implicit])},null)}function uS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,aS)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,4)],function(n,e){var t=n(e,3,0,0,1,2,3);n(e,2,0,t)},null)}function sS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,167,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,159,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,158,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,Fx,Dx)),o["\u0275prd"](6144,null,gx,null,[kx]),o["\u0275did"](4,5423104,null,2,kx,[[2,Ar],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,Sx,null,[kx]),(n()(),o["\u0275eld"](8,0,null,null,27,"mat-step",[["label","IOS image"]],null,null,null,Ix,Tx)),o["\u0275did"](9,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,3,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](12,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,14).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,14).onReset()&&l),l},null,null)),o["\u0275did"](13,16384,null,0,Xm,[],null,null),o["\u0275did"](14,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](16,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](17,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](18,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](28,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","imageName"],["matInput",""],["placeholder","IOS image"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,29)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,29).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,29)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,29)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,34)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,34)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,34)._onInput()&&l),l},null,null)),o["\u0275did"](29,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](31,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](33,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](34,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](36,0,null,null,54,"mat-step",[["label","Name and platform"]],null,null,null,Ix,Tx)),o["\u0275did"](37,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,13,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](40,0,null,0,48,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,42).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,42).onReset()&&l),l},null,null)),o["\u0275did"](41,16384,null,0,Xm,[],null,null),o["\u0275did"](42,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](44,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](45,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](46,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,14,{_controlNonStatic:0}),o["\u0275qud"](335544320,15,{_controlStatic:0}),o["\u0275qud"](603979776,16,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,17,{_labelChildStatic:0}),o["\u0275qud"](603979776,18,{_placeholderChild:0}),o["\u0275qud"](603979776,19,{_errorChildren:1}),o["\u0275qud"](603979776,20,{_hintChildren:1}),o["\u0275qud"](603979776,21,{_prefixChildren:1}),o["\u0275qud"](603979776,22,{_suffixChildren:1}),(n()(),o["\u0275eld"](56,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,57)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,57)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,57)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,62)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,62)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,62)._onInput()&&l),l},null,null)),o["\u0275did"](57,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](59,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](61,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](62,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[14,4],[15,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](64,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](65,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,23,{_controlNonStatic:0}),o["\u0275qud"](335544320,24,{_controlStatic:0}),o["\u0275qud"](603979776,25,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,26,{_labelChildStatic:0}),o["\u0275qud"](603979776,27,{_placeholderChild:0}),o["\u0275qud"](603979776,28,{_errorChildren:1}),o["\u0275qud"](603979776,29,{_hintChildren:1}),o["\u0275qud"](603979776,30,{_prefixChildren:1}),o["\u0275qud"](603979776,31,{_suffixChildren:1}),(n()(),o["\u0275eld"](75,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","platform"],["placeholder","Platform"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,80)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,80)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,80)._onBlur()&&l),"selectionChange"===e&&(l=!1!==r.onPlatformChosen(t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](77,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](79,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](80,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),o["\u0275qud"](603979776,32,{options:1}),o["\u0275qud"](603979776,33,{optionGroups:1}),o["\u0275qud"](603979776,34,{customTrigger:0}),o["\u0275prd"](2048,[[23,4],[24,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Gx)),o["\u0275did"](86,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Yx)),o["\u0275did"](88,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,$x)),o["\u0275did"](90,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](91,0,null,null,32,"mat-step",[["label","Memory"]],null,null,null,Ix,Tx)),o["\u0275did"](92,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,47,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](95,0,null,0,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,97).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,97).onReset()&&l),l},null,null)),o["\u0275did"](96,16384,null,0,Xm,[],null,null),o["\u0275did"](97,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](99,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](100,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](101,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,48,{_controlNonStatic:0}),o["\u0275qud"](335544320,49,{_controlStatic:0}),o["\u0275qud"](603979776,50,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,51,{_labelChildStatic:0}),o["\u0275qud"](603979776,52,{_placeholderChild:0}),o["\u0275qud"](603979776,53,{_errorChildren:1}),o["\u0275qud"](603979776,54,{_hintChildren:1}),o["\u0275qud"](603979776,55,{_prefixChildren:1}),o["\u0275qud"](603979776,56,{_suffixChildren:1}),(n()(),o["\u0275eld"](111,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","memory"],["matInput",""],["placeholder","Default RAM"],["type","number"],["value","defaultRam[iosTemplate.platform]"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,112)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,112).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,112)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,112)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,113).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,113).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,113).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,118)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,118)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,118)._onInput()&&l),l},null,null)),o["\u0275did"](112,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](113,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](115,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](117,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](118,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"],value:[2,"value"]},null),o["\u0275prd"](2048,[[48,4],[49,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](120,0,null,null,3,"mat-label",[],null,null,null,null,null)),o["\u0275did"](121,16384,null,0,Lb,[],null,null),(n()(),o["\u0275eld"](122,0,null,null,1,"a",[],[[8,"href",4]],null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Check for minimum and maximum RAM requirement"])),(n()(),o["\u0275eld"](124,0,null,null,7,"mat-step",[["label","Network adapters"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](126,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,57,{stepLabel:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,nS)),o["\u0275did"](129,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,oS)),o["\u0275did"](131,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](132,0,null,null,5,"mat-step",[["label","WIC modules"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](134,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,64,{stepLabel:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,uS)),o["\u0275did"](137,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](138,0,null,null,22,"mat-step",[["label","Idle-PC"]],null,null,null,Ix,Tx)),o["\u0275did"](139,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,68,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](142,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](143,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,69,{_controlNonStatic:0}),o["\u0275qud"](335544320,70,{_controlStatic:0}),o["\u0275qud"](603979776,71,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,72,{_labelChildStatic:0}),o["\u0275qud"](603979776,73,{_placeholderChild:0}),o["\u0275qud"](603979776,74,{_errorChildren:1}),o["\u0275qud"](603979776,75,{_hintChildren:1}),o["\u0275qud"](603979776,76,{_prefixChildren:1}),o["\u0275qud"](603979776,77,{_suffixChildren:1}),(n()(),o["\u0275eld"](153,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Idle-PC"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,154)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,154).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,154)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,154)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,159)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,159)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlepc=t)&&l),l},null,null)),o["\u0275did"](154,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](156,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](158,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](159,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[69,4],[70,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](161,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](162,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](163,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](165,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](166,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,4,0,!0),n(e,9,0,"IOS image"),n(e,14,0,t.iosImageForm),n(e,31,0,"imageName"),n(e,34,0,"IOS image","text"),n(e,37,0,"Name and platform"),n(e,42,0,t.iosNameForm),n(e,59,0,"templateName"),n(e,62,0,"Name","text"),n(e,77,0,"platform"),n(e,80,0,"Platform"),n(e,86,0,t.platforms),n(e,88,0,t.chassis[t.iosTemplate.platform]),n(e,90,0,t.platformsWithEtherSwitchRouterOption[t.iosTemplate.platform]),n(e,92,0,"Memory"),n(e,97,0,t.iosMemoryForm),n(e,115,0,"memory"),n(e,118,0,"Default RAM","number","defaultRam[iosTemplate.platform]"),n(e,126,0,"Network adapters"),n(e,129,0,t.iosTemplate.chassis&&t.chassis[t.iosTemplate.platform]),n(e,131,0,t.iosTemplate.platform&&!t.chassis[t.iosTemplate.platform]),n(e,134,0,"WIC modules"),n(e,137,0,t.iosTemplate.platform&&t.networkModules[t.iosTemplate.platform]),n(e,139,0,"Idle-PC"),n(e,156,0,t.iosTemplate.idlepc),n(e,159,0,"Idle-PC","text"),n(e,166,0,"primary")},function(n,e){var t=e.component;n(e,12,0,o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending),n(e,17,1,["standard"==o["\u0275nov"](e,18).appearance,"fill"==o["\u0275nov"](e,18).appearance,"outline"==o["\u0275nov"](e,18).appearance,"legacy"==o["\u0275nov"](e,18).appearance,o["\u0275nov"](e,18)._control.errorState,o["\u0275nov"](e,18)._canLabelFloat,o["\u0275nov"](e,18)._shouldLabelFloat(),o["\u0275nov"](e,18)._hasFloatingLabel(),o["\u0275nov"](e,18)._hideControlPlaceholder(),o["\u0275nov"](e,18)._control.disabled,o["\u0275nov"](e,18)._control.autofilled,o["\u0275nov"](e,18)._control.focused,"accent"==o["\u0275nov"](e,18).color,"warn"==o["\u0275nov"](e,18).color,o["\u0275nov"](e,18)._shouldForward("untouched"),o["\u0275nov"](e,18)._shouldForward("touched"),o["\u0275nov"](e,18)._shouldForward("pristine"),o["\u0275nov"](e,18)._shouldForward("dirty"),o["\u0275nov"](e,18)._shouldForward("valid"),o["\u0275nov"](e,18)._shouldForward("invalid"),o["\u0275nov"](e,18)._shouldForward("pending"),!o["\u0275nov"](e,18)._animationsEnabled]),n(e,28,1,[o["\u0275nov"](e,33).ngClassUntouched,o["\u0275nov"](e,33).ngClassTouched,o["\u0275nov"](e,33).ngClassPristine,o["\u0275nov"](e,33).ngClassDirty,o["\u0275nov"](e,33).ngClassValid,o["\u0275nov"](e,33).ngClassInvalid,o["\u0275nov"](e,33).ngClassPending,o["\u0275nov"](e,34)._isServer,o["\u0275nov"](e,34).id,o["\u0275nov"](e,34).placeholder,o["\u0275nov"](e,34).disabled,o["\u0275nov"](e,34).required,o["\u0275nov"](e,34).readonly&&!o["\u0275nov"](e,34)._isNativeSelect||null,o["\u0275nov"](e,34)._ariaDescribedby||null,o["\u0275nov"](e,34).errorState,o["\u0275nov"](e,34).required.toString()]),n(e,40,0,o["\u0275nov"](e,44).ngClassUntouched,o["\u0275nov"](e,44).ngClassTouched,o["\u0275nov"](e,44).ngClassPristine,o["\u0275nov"](e,44).ngClassDirty,o["\u0275nov"](e,44).ngClassValid,o["\u0275nov"](e,44).ngClassInvalid,o["\u0275nov"](e,44).ngClassPending),n(e,45,1,["standard"==o["\u0275nov"](e,46).appearance,"fill"==o["\u0275nov"](e,46).appearance,"outline"==o["\u0275nov"](e,46).appearance,"legacy"==o["\u0275nov"](e,46).appearance,o["\u0275nov"](e,46)._control.errorState,o["\u0275nov"](e,46)._canLabelFloat,o["\u0275nov"](e,46)._shouldLabelFloat(),o["\u0275nov"](e,46)._hasFloatingLabel(),o["\u0275nov"](e,46)._hideControlPlaceholder(),o["\u0275nov"](e,46)._control.disabled,o["\u0275nov"](e,46)._control.autofilled,o["\u0275nov"](e,46)._control.focused,"accent"==o["\u0275nov"](e,46).color,"warn"==o["\u0275nov"](e,46).color,o["\u0275nov"](e,46)._shouldForward("untouched"),o["\u0275nov"](e,46)._shouldForward("touched"),o["\u0275nov"](e,46)._shouldForward("pristine"),o["\u0275nov"](e,46)._shouldForward("dirty"),o["\u0275nov"](e,46)._shouldForward("valid"),o["\u0275nov"](e,46)._shouldForward("invalid"),o["\u0275nov"](e,46)._shouldForward("pending"),!o["\u0275nov"](e,46)._animationsEnabled]),n(e,56,1,[o["\u0275nov"](e,61).ngClassUntouched,o["\u0275nov"](e,61).ngClassTouched,o["\u0275nov"](e,61).ngClassPristine,o["\u0275nov"](e,61).ngClassDirty,o["\u0275nov"](e,61).ngClassValid,o["\u0275nov"](e,61).ngClassInvalid,o["\u0275nov"](e,61).ngClassPending,o["\u0275nov"](e,62)._isServer,o["\u0275nov"](e,62).id,o["\u0275nov"](e,62).placeholder,o["\u0275nov"](e,62).disabled,o["\u0275nov"](e,62).required,o["\u0275nov"](e,62).readonly&&!o["\u0275nov"](e,62)._isNativeSelect||null,o["\u0275nov"](e,62)._ariaDescribedby||null,o["\u0275nov"](e,62).errorState,o["\u0275nov"](e,62).required.toString()]),n(e,64,1,["standard"==o["\u0275nov"](e,65).appearance,"fill"==o["\u0275nov"](e,65).appearance,"outline"==o["\u0275nov"](e,65).appearance,"legacy"==o["\u0275nov"](e,65).appearance,o["\u0275nov"](e,65)._control.errorState,o["\u0275nov"](e,65)._canLabelFloat,o["\u0275nov"](e,65)._shouldLabelFloat(),o["\u0275nov"](e,65)._hasFloatingLabel(),o["\u0275nov"](e,65)._hideControlPlaceholder(),o["\u0275nov"](e,65)._control.disabled,o["\u0275nov"](e,65)._control.autofilled,o["\u0275nov"](e,65)._control.focused,"accent"==o["\u0275nov"](e,65).color,"warn"==o["\u0275nov"](e,65).color,o["\u0275nov"](e,65)._shouldForward("untouched"),o["\u0275nov"](e,65)._shouldForward("touched"),o["\u0275nov"](e,65)._shouldForward("pristine"),o["\u0275nov"](e,65)._shouldForward("dirty"),o["\u0275nov"](e,65)._shouldForward("valid"),o["\u0275nov"](e,65)._shouldForward("invalid"),o["\u0275nov"](e,65)._shouldForward("pending"),!o["\u0275nov"](e,65)._animationsEnabled]),n(e,75,1,[o["\u0275nov"](e,79).ngClassUntouched,o["\u0275nov"](e,79).ngClassTouched,o["\u0275nov"](e,79).ngClassPristine,o["\u0275nov"](e,79).ngClassDirty,o["\u0275nov"](e,79).ngClassValid,o["\u0275nov"](e,79).ngClassInvalid,o["\u0275nov"](e,79).ngClassPending,o["\u0275nov"](e,80).id,o["\u0275nov"](e,80).tabIndex,o["\u0275nov"](e,80)._getAriaLabel(),o["\u0275nov"](e,80)._getAriaLabelledby(),o["\u0275nov"](e,80).required.toString(),o["\u0275nov"](e,80).disabled.toString(),o["\u0275nov"](e,80).errorState,o["\u0275nov"](e,80).panelOpen?o["\u0275nov"](e,80)._optionIds:null,o["\u0275nov"](e,80).multiple,o["\u0275nov"](e,80)._ariaDescribedby||null,o["\u0275nov"](e,80)._getAriaActiveDescendant(),o["\u0275nov"](e,80).disabled,o["\u0275nov"](e,80).errorState,o["\u0275nov"](e,80).required,o["\u0275nov"](e,80).empty]),n(e,95,0,o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending),n(e,100,1,["standard"==o["\u0275nov"](e,101).appearance,"fill"==o["\u0275nov"](e,101).appearance,"outline"==o["\u0275nov"](e,101).appearance,"legacy"==o["\u0275nov"](e,101).appearance,o["\u0275nov"](e,101)._control.errorState,o["\u0275nov"](e,101)._canLabelFloat,o["\u0275nov"](e,101)._shouldLabelFloat(),o["\u0275nov"](e,101)._hasFloatingLabel(),o["\u0275nov"](e,101)._hideControlPlaceholder(),o["\u0275nov"](e,101)._control.disabled,o["\u0275nov"](e,101)._control.autofilled,o["\u0275nov"](e,101)._control.focused,"accent"==o["\u0275nov"](e,101).color,"warn"==o["\u0275nov"](e,101).color,o["\u0275nov"](e,101)._shouldForward("untouched"),o["\u0275nov"](e,101)._shouldForward("touched"),o["\u0275nov"](e,101)._shouldForward("pristine"),o["\u0275nov"](e,101)._shouldForward("dirty"),o["\u0275nov"](e,101)._shouldForward("valid"),o["\u0275nov"](e,101)._shouldForward("invalid"),o["\u0275nov"](e,101)._shouldForward("pending"),!o["\u0275nov"](e,101)._animationsEnabled]),n(e,111,1,[o["\u0275nov"](e,117).ngClassUntouched,o["\u0275nov"](e,117).ngClassTouched,o["\u0275nov"](e,117).ngClassPristine,o["\u0275nov"](e,117).ngClassDirty,o["\u0275nov"](e,117).ngClassValid,o["\u0275nov"](e,117).ngClassInvalid,o["\u0275nov"](e,117).ngClassPending,o["\u0275nov"](e,118)._isServer,o["\u0275nov"](e,118).id,o["\u0275nov"](e,118).placeholder,o["\u0275nov"](e,118).disabled,o["\u0275nov"](e,118).required,o["\u0275nov"](e,118).readonly&&!o["\u0275nov"](e,118)._isNativeSelect||null,o["\u0275nov"](e,118)._ariaDescribedby||null,o["\u0275nov"](e,118).errorState,o["\u0275nov"](e,118).required.toString()]),n(e,122,0,o["\u0275inlineInterpolate"](1,"",t.ciscoUrl,"")),n(e,142,1,["standard"==o["\u0275nov"](e,143).appearance,"fill"==o["\u0275nov"](e,143).appearance,"outline"==o["\u0275nov"](e,143).appearance,"legacy"==o["\u0275nov"](e,143).appearance,o["\u0275nov"](e,143)._control.errorState,o["\u0275nov"](e,143)._canLabelFloat,o["\u0275nov"](e,143)._shouldLabelFloat(),o["\u0275nov"](e,143)._hasFloatingLabel(),o["\u0275nov"](e,143)._hideControlPlaceholder(),o["\u0275nov"](e,143)._control.disabled,o["\u0275nov"](e,143)._control.autofilled,o["\u0275nov"](e,143)._control.focused,"accent"==o["\u0275nov"](e,143).color,"warn"==o["\u0275nov"](e,143).color,o["\u0275nov"](e,143)._shouldForward("untouched"),o["\u0275nov"](e,143)._shouldForward("touched"),o["\u0275nov"](e,143)._shouldForward("pristine"),o["\u0275nov"](e,143)._shouldForward("dirty"),o["\u0275nov"](e,143)._shouldForward("valid"),o["\u0275nov"](e,143)._shouldForward("invalid"),o["\u0275nov"](e,143)._shouldForward("pending"),!o["\u0275nov"](e,143)._animationsEnabled]),n(e,153,1,[o["\u0275nov"](e,158).ngClassUntouched,o["\u0275nov"](e,158).ngClassTouched,o["\u0275nov"](e,158).ngClassPristine,o["\u0275nov"](e,158).ngClassDirty,o["\u0275nov"](e,158).ngClassValid,o["\u0275nov"](e,158).ngClassInvalid,o["\u0275nov"](e,158).ngClassPending,o["\u0275nov"](e,159)._isServer,o["\u0275nov"](e,159).id,o["\u0275nov"](e,159).placeholder,o["\u0275nov"](e,159).disabled,o["\u0275nov"](e,159).required,o["\u0275nov"](e,159).readonly&&!o["\u0275nov"](e,159)._isNativeSelect||null,o["\u0275nov"](e,159)._ariaDescribedby||null,o["\u0275nov"](e,159).errorState,o["\u0275nov"](e,159).required.toString()]),n(e,162,0,o["\u0275nov"](e,163).disabled||null,"NoopAnimations"===o["\u0275nov"](e,163)._animationMode),n(e,165,0,o["\u0275nov"](e,166).disabled||null,"NoopAnimations"===o["\u0275nov"](e,166)._animationMode)})}function dS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New IOS router"])),(n()(),o["\u0275and"](16777216,null,null,1,null,sS)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.iosTemplate)},null)}function cS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-ios-template",[],null,null,null,dS,Wx)),o["\u0275did"](1,114688,null,0,Zx,[bt,Uh,nx,vc,rv,Rl,Hy,Hx],null,null)],function(n,e){n(e,1,0)},null)}var pS=o["\u0275ccf"]("app-add-ios-template",Zx,cS,{},{},[]),fS=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.formBuilder=o,this.iosConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.networkAdaptersForTemplate=[],this.platforms=[],this.consoleTypes=[],this.platformsWithEtherSwitchRouterOption={},this.platformsWithChassis={},this.chassis={},this.defaultRam={},this.defaultNvram={},this.networkAdapters={},this.networkAdaptersForPlatform={},this.networkModules={},this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required),path:new Vm("",sm.required),initialConfig:new Vm("",sm.required)}),this.memoryForm=this.formBuilder.group({ram:new Vm("",sm.required),nvram:new Vm("",sm.required),iomemory:new Vm("",sm.required),disk0:new Vm("",sm.required),disk1:new Vm("",sm.required)}),this.advancedForm=this.formBuilder.group({systemId:new Vm("",sm.required),idlemax:new Vm("",sm.required),idlesleep:new Vm("",sm.required),execarea:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.iosService.getTemplate(n.server,t).subscribe(function(e){n.iosTemplate=e,n.fillAdaptersData()})})},n.prototype.getConfiguration=function(){this.networkModules=this.iosConfigurationService.getNetworkModules(),this.networkAdaptersForPlatform=this.iosConfigurationService.getNetworkAdaptersForPlatform(),this.networkAdapters=this.iosConfigurationService.getNetworkAdapters(),this.platforms=this.iosConfigurationService.getAvailablePlatforms(),this.platformsWithEtherSwitchRouterOption=this.iosConfigurationService.getPlatformsWithEtherSwitchRouterOption(),this.platformsWithChassis=this.iosConfigurationService.getPlatformsWithChassis(),this.chassis=this.iosConfigurationService.getChassis(),this.defaultRam=this.iosConfigurationService.getDefaultRamSettings(),this.consoleTypes=this.iosConfigurationService.getConsoleTypes()},n.prototype.fillAdaptersData=function(){this.iosTemplate.slot0&&(this.networkAdaptersForTemplate[0]=this.iosTemplate.slot0),this.iosTemplate.slot1&&(this.networkAdaptersForTemplate[1]=this.iosTemplate.slot1),this.iosTemplate.slot2&&(this.networkAdaptersForTemplate[2]=this.iosTemplate.slot2),this.iosTemplate.slot3&&(this.networkAdaptersForTemplate[3]=this.iosTemplate.slot3),this.iosTemplate.slot4&&(this.networkAdaptersForTemplate[4]=this.iosTemplate.slot4),this.iosTemplate.slot5&&(this.networkAdaptersForTemplate[5]=this.iosTemplate.slot5),this.iosTemplate.slot6&&(this.networkAdaptersForTemplate[6]=this.iosTemplate.slot6),this.iosTemplate.slot7&&(this.networkAdaptersForTemplate[7]=this.iosTemplate.slot7)},n.prototype.completeAdaptersData=function(){this.networkAdaptersForTemplate[0]&&(this.iosTemplate.slot0=this.networkAdaptersForTemplate[0]),this.networkAdaptersForTemplate[1]&&(this.iosTemplate.slot1=this.networkAdaptersForTemplate[1]),this.networkAdaptersForTemplate[2]&&(this.iosTemplate.slot2=this.networkAdaptersForTemplate[2]),this.networkAdaptersForTemplate[3]&&(this.iosTemplate.slot3=this.networkAdaptersForTemplate[3]),this.networkAdaptersForTemplate[4]&&(this.iosTemplate.slot4=this.networkAdaptersForTemplate[4]),this.networkAdaptersForTemplate[5]&&(this.iosTemplate.slot5=this.networkAdaptersForTemplate[5]),this.networkAdaptersForTemplate[6]&&(this.iosTemplate.slot6=this.networkAdaptersForTemplate[6]),this.networkAdaptersForTemplate[7]&&(this.iosTemplate.slot7=this.networkAdaptersForTemplate[7])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.memoryForm.invalid||this.advancedForm.invalid?this.toasterService.error("Fill all required fields"):(this.completeAdaptersData(),this.iosService.saveTemplate(this.server,this.iosTemplate).subscribe(function(e){n.toasterService.success("Changes saved")}))},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iosTemplate.symbol=n},n}(),hS=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function mS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[39,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function vS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[78,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function gS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[128,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function bS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,128,{options:1}),o["\u0275qud"](603979776,129,{optionGroups:1}),o["\u0275qud"](603979776,130,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,gS)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdapters[t.iosTemplate.chassis][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function _S(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,bS)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkAdapters[t.iosTemplate.chassis][e.context.$implicit])},null)}function yS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,_S)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,8)],function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)},null)}function wS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[131,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function CS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.networkAdaptersForTemplate[n.parent.context.$implicit]=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,131,{options:1}),o["\u0275qud"](603979776,132,{optionGroups:1}),o["\u0275qud"](603979776,133,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,wS)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.networkAdaptersForTemplate[e.parent.context.$implicit],r=n(e,4,0,!0);n(e,3,0,l,r),n(e,7,0,o["\u0275inlineInterpolate"](1,"Slot ",e.parent.context.$implicit,"")),n(e,12,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.parent.context.$implicit])},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function xS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,CS)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,t.networkAdaptersForPlatform[t.iosTemplate.platform][e.context.$implicit])},null)}function SS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,2,null,xS)),o["\u0275did"](2,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pad"](3,8)],function(n,e){var t=n(e,3,0,0,1,2,3,4,5,6,7);n(e,2,0,t)},null)}function kS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[134,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function ES(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 0"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic0=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](7,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](8,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,134,{options:1}),o["\u0275qud"](603979776,135,{optionGroups:1}),o["\u0275qud"](603979776,136,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,kS)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.iosTemplate.wic0,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 0"),n(e,13,0,t.networkModules[t.iosTemplate.platform][0])},function(n,e){n(e,1,1,[o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function TS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[137,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function RS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 1"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic1=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](7,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](8,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,137,{options:1}),o["\u0275qud"](603979776,138,{optionGroups:1}),o["\u0275qud"](603979776,139,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,TS)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.iosTemplate.wic1,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 1"),n(e,13,0,t.networkModules[t.iosTemplate.platform][1])},function(n,e){n(e,1,1,[o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function IS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[140,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function DS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","WIC 2"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.wic2=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](4,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](5,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](7,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](8,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,140,{options:1}),o["\u0275qud"](603979776,141,{optionGroups:1}),o["\u0275qud"](603979776,142,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,IS)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.iosTemplate.wic2,o=n(e,5,0,!0);n(e,4,0,l,o),n(e,8,0,"WIC 2"),n(e,13,0,t.networkModules[t.iosTemplate.platform][2])},function(n,e){n(e,1,1,[o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function OS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,542,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,534,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,199,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,158,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,3,{_controlNonStatic:0}),o["\u0275qud"](335544320,4,{_controlStatic:0}),o["\u0275qud"](603979776,5,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,6,{_labelChildStatic:0}),o["\u0275qud"](603979776,7,{_placeholderChild:0}),o["\u0275qud"](603979776,8,{_errorChildren:1}),o["\u0275qud"](603979776,9,{_hintChildren:1}),o["\u0275qud"](603979776,10,{_prefixChildren:1}),o["\u0275qud"](603979776,11,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4],[4,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,12,{_controlNonStatic:0}),o["\u0275qud"](335544320,13,{_controlStatic:0}),o["\u0275qud"](603979776,14,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,15,{_labelChildStatic:0}),o["\u0275qud"](603979776,16,{_placeholderChild:0}),o["\u0275qud"](603979776,17,{_errorChildren:1}),o["\u0275qud"](603979776,18,{_hintChildren:1}),o["\u0275qud"](603979776,19,{_prefixChildren:1}),o["\u0275qud"](603979776,20,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4],[13,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["\u0275did"](60,16384,null,0,Lb,[],null,null),(n()(),o["\u0275ted"](61,null,["Platform - ",""])),(n()(),o["\u0275eld"](62,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](63,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](64,0,null,null,2,"mat-label",[],null,null,null,null,null)),o["\u0275did"](65,16384,null,0,Lb,[],null,null),(n()(),o["\u0275ted"](66,null,["Chassis - ",""])),(n()(),o["\u0275eld"](67,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](68,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](69,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](70,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,21,{_controlNonStatic:0}),o["\u0275qud"](335544320,22,{_controlStatic:0}),o["\u0275qud"](603979776,23,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,24,{_labelChildStatic:0}),o["\u0275qud"](603979776,25,{_placeholderChild:0}),o["\u0275qud"](603979776,26,{_errorChildren:1}),o["\u0275qud"](603979776,27,{_hintChildren:1}),o["\u0275qud"](603979776,28,{_prefixChildren:1}),o["\u0275qud"](603979776,29,{_suffixChildren:1}),(n()(),o["\u0275eld"](80,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,81)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,81).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,81)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,81)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,86)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,86)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,86)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](81,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](83,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](85,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](86,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[21,4],[22,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](88,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](89,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](91,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](92,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](93,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](94,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,30,{_controlNonStatic:0}),o["\u0275qud"](335544320,31,{_controlStatic:0}),o["\u0275qud"](603979776,32,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,33,{_labelChildStatic:0}),o["\u0275qud"](603979776,34,{_placeholderChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](104,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,110)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,110)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,110)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](106,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](107,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](109,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](110,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,39,{options:1}),o["\u0275qud"](603979776,40,{optionGroups:1}),o["\u0275qud"](603979776,41,{customTrigger:0}),o["\u0275prd"](2048,[[30,4],[31,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,mS)),o["\u0275did"](116,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](117,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](118,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,42,{_controlNonStatic:0}),o["\u0275qud"](335544320,43,{_controlStatic:0}),o["\u0275qud"](603979776,44,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,45,{_labelChildStatic:0}),o["\u0275qud"](603979776,46,{_placeholderChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](128,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","IOS image path"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,129)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,129).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,129)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,129)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,134)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,134)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,134)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.image=t)&&l),l},null,null)),o["\u0275did"](129,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](131,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](133,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](134,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[42,4],[43,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](136,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](137,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,51,{_controlNonStatic:0}),o["\u0275qud"](335544320,52,{_controlStatic:0}),o["\u0275qud"](603979776,53,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,54,{_labelChildStatic:0}),o["\u0275qud"](603979776,55,{_placeholderChild:0}),o["\u0275qud"](603979776,56,{_errorChildren:1}),o["\u0275qud"](603979776,57,{_hintChildren:1}),o["\u0275qud"](603979776,58,{_prefixChildren:1}),o["\u0275qud"](603979776,59,{_suffixChildren:1}),(n()(),o["\u0275eld"](147,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","initialConfig"],["matInput",""],["placeholder","Initial startup-config"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,148)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,148).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,148)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,148)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,153)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,153)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,153)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.startup_config=t)&&l),l},null,null)),o["\u0275did"](148,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](150,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](152,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](153,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[51,4],[52,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](155,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](156,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,60,{_controlNonStatic:0}),o["\u0275qud"](335544320,61,{_controlStatic:0}),o["\u0275qud"](603979776,62,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,63,{_labelChildStatic:0}),o["\u0275qud"](603979776,64,{_placeholderChild:0}),o["\u0275qud"](603979776,65,{_errorChildren:1}),o["\u0275qud"](603979776,66,{_hintChildren:1}),o["\u0275qud"](603979776,67,{_prefixChildren:1}),o["\u0275qud"](603979776,68,{_suffixChildren:1}),(n()(),o["\u0275eld"](166,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Initial private-config"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,167)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,167).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,167)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,167)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,173)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,173)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,173)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.private_config=t)&&l),l},null,null)),o["\u0275did"](167,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](169,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](170,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](172,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](173,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[60,4],[61,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](175,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](176,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,69,{_controlNonStatic:0}),o["\u0275qud"](335544320,70,{_controlStatic:0}),o["\u0275qud"](603979776,71,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,72,{_labelChildStatic:0}),o["\u0275qud"](603979776,73,{_placeholderChild:0}),o["\u0275qud"](603979776,74,{_errorChildren:1}),o["\u0275qud"](603979776,75,{_hintChildren:1}),o["\u0275qud"](603979776,76,{_prefixChildren:1}),o["\u0275qud"](603979776,77,{_suffixChildren:1}),(n()(),o["\u0275eld"](186,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,191)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,191)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,191)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](188,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](190,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](191,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,78,{options:1}),o["\u0275qud"](603979776,79,{optionGroups:1}),o["\u0275qud"](603979776,80,{customTrigger:0}),o["\u0275prd"](2048,[[69,4],[70,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,vS)),o["\u0275did"](197,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](198,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](199,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](201,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](203,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](205,16777216,null,null,122,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](206,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,81,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](209,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,210)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,210)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,210)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](210,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](211,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](212,{value:0,params:1}),(n()(),o["\u0275eld"](213,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](214,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Memories and disks "])),(n()(),o["\u0275eld"](216,0,null,1,104,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,218).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,218).onReset()&&l),l},null,null)),o["\u0275did"](217,16384,null,0,Xm,[],null,null),o["\u0275did"](218,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](220,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](221,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](222,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,82,{_controlNonStatic:0}),o["\u0275qud"](335544320,83,{_controlStatic:0}),o["\u0275qud"](603979776,84,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,85,{_labelChildStatic:0}),o["\u0275qud"](603979776,86,{_placeholderChild:0}),o["\u0275qud"](603979776,87,{_errorChildren:1}),o["\u0275qud"](603979776,88,{_hintChildren:1}),o["\u0275qud"](603979776,89,{_prefixChildren:1}),o["\u0275qud"](603979776,90,{_suffixChildren:1}),(n()(),o["\u0275eld"](232,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,233)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,233).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,233)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,233)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,234).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,234).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,234).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,239)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,239)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,239)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](233,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](234,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](236,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](238,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](239,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[82,4],[83,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](241,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](242,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,91,{_controlNonStatic:0}),o["\u0275qud"](335544320,92,{_controlStatic:0}),o["\u0275qud"](603979776,93,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,94,{_labelChildStatic:0}),o["\u0275qud"](603979776,95,{_placeholderChild:0}),o["\u0275qud"](603979776,96,{_errorChildren:1}),o["\u0275qud"](603979776,97,{_hintChildren:1}),o["\u0275qud"](603979776,98,{_prefixChildren:1}),o["\u0275qud"](603979776,99,{_suffixChildren:1}),(n()(),o["\u0275eld"](252,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nvram"],["matInput",""],["placeholder","NVRAM size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,253)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,253).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,253)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,253)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,254).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,254).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,254).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,259)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,259)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,259)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.nvram=t)&&l),l},null,null)),o["\u0275did"](253,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](254,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](256,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](258,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](259,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[91,4],[92,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](261,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](262,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,100,{_controlNonStatic:0}),o["\u0275qud"](335544320,101,{_controlStatic:0}),o["\u0275qud"](603979776,102,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,103,{_labelChildStatic:0}),o["\u0275qud"](603979776,104,{_placeholderChild:0}),o["\u0275qud"](603979776,105,{_errorChildren:1}),o["\u0275qud"](603979776,106,{_hintChildren:1}),o["\u0275qud"](603979776,107,{_prefixChildren:1}),o["\u0275qud"](603979776,108,{_suffixChildren:1}),(n()(),o["\u0275eld"](272,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","iomemory"],["matInput",""],["placeholder","I/O memory"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,273)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,273).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,273)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,273)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,274).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,274).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,274).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,279)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,279)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,279)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.iomem=t)&&l),l},null,null)),o["\u0275did"](273,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](274,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](276,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](278,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](279,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[100,4],[101,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](281,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](282,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,109,{_controlNonStatic:0}),o["\u0275qud"](335544320,110,{_controlStatic:0}),o["\u0275qud"](603979776,111,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,112,{_labelChildStatic:0}),o["\u0275qud"](603979776,113,{_placeholderChild:0}),o["\u0275qud"](603979776,114,{_errorChildren:1}),o["\u0275qud"](603979776,115,{_hintChildren:1}),o["\u0275qud"](603979776,116,{_prefixChildren:1}),o["\u0275qud"](603979776,117,{_suffixChildren:1}),(n()(),o["\u0275eld"](292,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","disk0"],["matInput",""],["placeholder","PCMCIA disk0"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,293)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,293).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,293)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,293)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,294).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,294).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,294).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,299)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,299)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,299)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.disk0=t)&&l),l},null,null)),o["\u0275did"](293,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](294,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](296,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](298,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](299,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[109,4],[110,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](301,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](302,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,118,{_controlNonStatic:0}),o["\u0275qud"](335544320,119,{_controlStatic:0}),o["\u0275qud"](603979776,120,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,121,{_labelChildStatic:0}),o["\u0275qud"](603979776,122,{_placeholderChild:0}),o["\u0275qud"](603979776,123,{_errorChildren:1}),o["\u0275qud"](603979776,124,{_hintChildren:1}),o["\u0275qud"](603979776,125,{_prefixChildren:1}),o["\u0275qud"](603979776,126,{_suffixChildren:1}),(n()(),o["\u0275eld"](312,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","disk1"],["matInput",""],["placeholder","PCMCIA disk1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,313)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,313).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,313)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,313)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,314).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,314).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,314).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,319)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,319)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,319)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.disk1=t)&&l),l},null,null)),o["\u0275did"](313,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](314,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](316,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](318,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](319,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[118,4],[119,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](321,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.auto_delete_disks=t)&&l),l},Mb,Nb)),o["\u0275did"](322,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](324,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](326,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Automatically delete NVRAM and disk files "])),(n()(),o["\u0275eld"](328,16777216,null,null,26,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](329,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,127,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](332,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,333)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,333)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,333)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](333,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](334,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](335,{value:0,params:1}),(n()(),o["\u0275eld"](336,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](337,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Slots "])),(n()(),o["\u0275eld"](339,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Adapters"])),(n()(),o["\u0275and"](16777216,null,1,1,null,yS)),o["\u0275did"](342,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,SS)),o["\u0275did"](344,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](345,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](346,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](347,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["WICs"])),(n()(),o["\u0275and"](16777216,null,1,1,null,ES)),o["\u0275did"](350,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,RS)),o["\u0275did"](352,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,DS)),o["\u0275did"](354,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](355,16777216,null,null,150,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](356,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,143,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](359,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,360)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,360)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,360)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](360,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](361,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](362,{value:0,params:1}),(n()(),o["\u0275eld"](363,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](364,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](366,0,null,1,123,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,368).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,368).onReset()&&l),l},null,null)),o["\u0275did"](367,16384,null,0,Xm,[],null,null),o["\u0275did"](368,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](370,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](371,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](372,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,144,{_controlNonStatic:0}),o["\u0275qud"](335544320,145,{_controlStatic:0}),o["\u0275qud"](603979776,146,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,147,{_labelChildStatic:0}),o["\u0275qud"](603979776,148,{_placeholderChild:0}),o["\u0275qud"](603979776,149,{_errorChildren:1}),o["\u0275qud"](603979776,150,{_hintChildren:1}),o["\u0275qud"](603979776,151,{_prefixChildren:1}),o["\u0275qud"](603979776,152,{_suffixChildren:1}),(n()(),o["\u0275eld"](382,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","systemId"],["matInput",""],["placeholder","System ID"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,383)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,383).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,383)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,383)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,388)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,388)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,388)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.system_id=t)&&l),l},null,null)),o["\u0275did"](383,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](385,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](387,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](388,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[144,4],[145,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](390,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](391,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,153,{_controlNonStatic:0}),o["\u0275qud"](335544320,154,{_controlStatic:0}),o["\u0275qud"](603979776,155,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,156,{_labelChildStatic:0}),o["\u0275qud"](603979776,157,{_placeholderChild:0}),o["\u0275qud"](603979776,158,{_errorChildren:1}),o["\u0275qud"](603979776,159,{_hintChildren:1}),o["\u0275qud"](603979776,160,{_prefixChildren:1}),o["\u0275qud"](603979776,161,{_suffixChildren:1}),(n()(),o["\u0275eld"](401,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Base MAC"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,402)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,402).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,402)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,402)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,408)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,408)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,408)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.mac_addr=t)&&l),l},null,null)),o["\u0275did"](402,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](404,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](405,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](407,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](408,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[153,4],[154,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](410,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](411,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,162,{_controlNonStatic:0}),o["\u0275qud"](335544320,163,{_controlStatic:0}),o["\u0275qud"](603979776,164,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,165,{_labelChildStatic:0}),o["\u0275qud"](603979776,166,{_placeholderChild:0}),o["\u0275qud"](603979776,167,{_errorChildren:1}),o["\u0275qud"](603979776,168,{_hintChildren:1}),o["\u0275qud"](603979776,169,{_prefixChildren:1}),o["\u0275qud"](603979776,170,{_suffixChildren:1}),(n()(),o["\u0275eld"](421,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Idle-PC"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,422)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,422).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,422)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,422)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,428)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,428)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,428)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlepc=t)&&l),l},null,null)),o["\u0275did"](422,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](424,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](425,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](427,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](428,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[162,4],[163,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](430,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](431,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,171,{_controlNonStatic:0}),o["\u0275qud"](335544320,172,{_controlStatic:0}),o["\u0275qud"](603979776,173,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,174,{_labelChildStatic:0}),o["\u0275qud"](603979776,175,{_placeholderChild:0}),o["\u0275qud"](603979776,176,{_errorChildren:1}),o["\u0275qud"](603979776,177,{_hintChildren:1}),o["\u0275qud"](603979776,178,{_prefixChildren:1}),o["\u0275qud"](603979776,179,{_suffixChildren:1}),(n()(),o["\u0275eld"](441,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","idlemax"],["matInput",""],["placeholder","Idlemax"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,442)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,442).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,442)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,442)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,443).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,443).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,443).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,448)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,448)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,448)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlemax=t)&&l),l},null,null)),o["\u0275did"](442,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](443,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](445,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](447,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](448,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[171,4],[172,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](450,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](451,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,180,{_controlNonStatic:0}),o["\u0275qud"](335544320,181,{_controlStatic:0}),o["\u0275qud"](603979776,182,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,183,{_labelChildStatic:0}),o["\u0275qud"](603979776,184,{_placeholderChild:0}),o["\u0275qud"](603979776,185,{_errorChildren:1}),o["\u0275qud"](603979776,186,{_hintChildren:1}),o["\u0275qud"](603979776,187,{_prefixChildren:1}),o["\u0275qud"](603979776,188,{_suffixChildren:1}),(n()(),o["\u0275eld"](461,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","idlesleep"],["matInput",""],["placeholder","Idlesleep"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,462)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,462).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,462)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,462)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,463).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,463).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,463).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,468)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,468)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,468)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.idlesleep=t)&&l),l},null,null)),o["\u0275did"](462,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](463,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](465,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](467,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](468,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[180,4],[181,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](470,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](471,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,189,{_controlNonStatic:0}),o["\u0275qud"](335544320,190,{_controlStatic:0}),o["\u0275qud"](603979776,191,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,192,{_labelChildStatic:0}),o["\u0275qud"](603979776,193,{_placeholderChild:0}),o["\u0275qud"](603979776,194,{_errorChildren:1}),o["\u0275qud"](603979776,195,{_hintChildren:1}),o["\u0275qud"](603979776,196,{_prefixChildren:1}),o["\u0275qud"](603979776,197,{_suffixChildren:1}),(n()(),o["\u0275eld"](481,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","execarea"],["matInput",""],["placeholder","Exec area"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,482)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,482).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,482)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,482)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,483).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,483).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,483).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,488)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,488)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,488)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.exec_area=t)&&l),l},null,null)),o["\u0275did"](482,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](483,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](485,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](487,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](488,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[189,4],[190,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](490,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.mmap=t)&&l),l},Mb,Nb)),o["\u0275did"](491,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](493,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](495,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable mmap support "])),(n()(),o["\u0275eld"](497,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](498,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](499,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iosTemplate.sparsemem=t)&&l),l},Mb,Nb)),o["\u0275did"](500,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](502,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](504,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable sparse memory supoport "])),(n()(),o["\u0275eld"](506,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](507,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,198,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](510,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,511)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,511)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,511)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](511,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](512,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](513,{value:0,params:1}),(n()(),o["\u0275eld"](514,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](515,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](517,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](518,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,199,{_controlNonStatic:0}),o["\u0275qud"](335544320,200,{_controlStatic:0}),o["\u0275qud"](603979776,201,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,202,{_labelChildStatic:0}),o["\u0275qud"](603979776,203,{_placeholderChild:0}),o["\u0275qud"](603979776,204,{_errorChildren:1}),o["\u0275qud"](603979776,205,{_hintChildren:1}),o["\u0275qud"](603979776,206,{_prefixChildren:1}),o["\u0275qud"](603979776,207,{_suffixChildren:1}),(n()(),o["\u0275eld"](528,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,529)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,529).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,529)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,529)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,534)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,534)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,534)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iosTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](529,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](531,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](533,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](534,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[199,4],[200,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](536,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](537,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](538,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](540,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](541,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.iosTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.iosTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,83,0,"symbol",t.iosTemplate.symbol),n(e,86,0,"Symbol","text");var l=t.iosTemplate.category,o=n(e,107,0,!0);n(e,106,0,l,o),n(e,110,0,"Category"),n(e,116,0,t.categories),n(e,131,0,"path",t.iosTemplate.image),n(e,134,0,"IOS image path","text"),n(e,150,0,"initialConfig",t.iosTemplate.startup_config),n(e,153,0,"Initial startup-config","text");var r=t.iosTemplate.private_config,i=n(e,170,0,!0);n(e,169,0,r,i),n(e,173,0,"Initial private-config","text"),n(e,188,0,t.iosTemplate.console_type),n(e,191,0,"Console type"),n(e,197,0,t.consoleTypes),n(e,201,0,t.iosTemplate.console_auto_start),n(e,218,0,t.memoryForm),n(e,236,0,"ram",t.iosTemplate.ram),n(e,239,0,"RAM size","number"),n(e,256,0,"nvram",t.iosTemplate.nvram),n(e,259,0,"NVRAM size","number"),n(e,276,0,"iomemory",t.iosTemplate.iomem),n(e,279,0,"I/O memory","number"),n(e,296,0,"disk0",t.iosTemplate.disk0),n(e,299,0,"PCMCIA disk0","number"),n(e,316,0,"disk1",t.iosTemplate.disk1),n(e,319,0,"PCMCIA disk1","number"),n(e,324,0,t.iosTemplate.auto_delete_disks),n(e,342,0,t.iosTemplate.chassis&&t.chassis[t.iosTemplate.platform]),n(e,344,0,t.iosTemplate.platform&&!t.chassis[t.iosTemplate.platform]),n(e,350,0,t.iosTemplate.wic0||""===t.iosTemplate.wic0),n(e,352,0,t.iosTemplate.wic1||""===t.iosTemplate.wic1),n(e,354,0,t.iosTemplate.wic2||""===t.iosTemplate.wic2),n(e,368,0,t.advancedForm),n(e,385,0,"systemId",t.iosTemplate.system_id),n(e,388,0,"System ID","text");var a=t.iosTemplate.mac_addr,u=n(e,405,0,!0);n(e,404,0,a,u),n(e,408,0,"Base MAC","text");var s=t.iosTemplate.idlepc,d=n(e,425,0,!0);n(e,424,0,s,d),n(e,428,0,"Idle-PC","text"),n(e,445,0,"idlemax",t.iosTemplate.idlemax),n(e,448,0,"Idlemax","number"),n(e,465,0,"idlesleep",t.iosTemplate.idlesleep),n(e,468,0,"Idlesleep","number"),n(e,485,0,"execarea",t.iosTemplate.exec_area),n(e,488,0,"Exec area","number"),n(e,493,0,t.iosTemplate.mmap),n(e,502,0,t.iosTemplate.sparsemem),n(e,531,0,t.iosTemplate.usage),n(e,534,0,"text"),n(e,541,0,"primary")},function(n,e){var t=e.component;n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var l=o["\u0275nov"](e,10).panel._headerId,r=o["\u0275nov"](e,10).disabled?-1:0,i=o["\u0275nov"](e,10)._getPanelId(),a=o["\u0275nov"](e,10)._isExpanded(),u=o["\u0275nov"](e,10).panel.disabled,s=o["\u0275nov"](e,10)._isExpanded(),d="after"===o["\u0275nov"](e,10)._getTogglePosition(),c="before"===o["\u0275nov"](e,10)._getTogglePosition(),p=o["\u0275nov"](e,10)._animationsDisabled,f=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,l,r,i,a,u,s,d,c,p,f),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,61,0,t.iosTemplate.platform),n(e,66,0,t.iosTemplate.chassis),n(e,69,1,["standard"==o["\u0275nov"](e,70).appearance,"fill"==o["\u0275nov"](e,70).appearance,"outline"==o["\u0275nov"](e,70).appearance,"legacy"==o["\u0275nov"](e,70).appearance,o["\u0275nov"](e,70)._control.errorState,o["\u0275nov"](e,70)._canLabelFloat,o["\u0275nov"](e,70)._shouldLabelFloat(),o["\u0275nov"](e,70)._hasFloatingLabel(),o["\u0275nov"](e,70)._hideControlPlaceholder(),o["\u0275nov"](e,70)._control.disabled,o["\u0275nov"](e,70)._control.autofilled,o["\u0275nov"](e,70)._control.focused,"accent"==o["\u0275nov"](e,70).color,"warn"==o["\u0275nov"](e,70).color,o["\u0275nov"](e,70)._shouldForward("untouched"),o["\u0275nov"](e,70)._shouldForward("touched"),o["\u0275nov"](e,70)._shouldForward("pristine"),o["\u0275nov"](e,70)._shouldForward("dirty"),o["\u0275nov"](e,70)._shouldForward("valid"),o["\u0275nov"](e,70)._shouldForward("invalid"),o["\u0275nov"](e,70)._shouldForward("pending"),!o["\u0275nov"](e,70)._animationsEnabled]),n(e,80,1,[o["\u0275nov"](e,85).ngClassUntouched,o["\u0275nov"](e,85).ngClassTouched,o["\u0275nov"](e,85).ngClassPristine,o["\u0275nov"](e,85).ngClassDirty,o["\u0275nov"](e,85).ngClassValid,o["\u0275nov"](e,85).ngClassInvalid,o["\u0275nov"](e,85).ngClassPending,o["\u0275nov"](e,86)._isServer,o["\u0275nov"](e,86).id,o["\u0275nov"](e,86).placeholder,o["\u0275nov"](e,86).disabled,o["\u0275nov"](e,86).required,o["\u0275nov"](e,86).readonly&&!o["\u0275nov"](e,86)._isNativeSelect||null,o["\u0275nov"](e,86)._ariaDescribedby||null,o["\u0275nov"](e,86).errorState,o["\u0275nov"](e,86).required.toString()]),n(e,88,0,o["\u0275nov"](e,89).disabled||null,"NoopAnimations"===o["\u0275nov"](e,89)._animationMode),n(e,93,1,["standard"==o["\u0275nov"](e,94).appearance,"fill"==o["\u0275nov"](e,94).appearance,"outline"==o["\u0275nov"](e,94).appearance,"legacy"==o["\u0275nov"](e,94).appearance,o["\u0275nov"](e,94)._control.errorState,o["\u0275nov"](e,94)._canLabelFloat,o["\u0275nov"](e,94)._shouldLabelFloat(),o["\u0275nov"](e,94)._hasFloatingLabel(),o["\u0275nov"](e,94)._hideControlPlaceholder(),o["\u0275nov"](e,94)._control.disabled,o["\u0275nov"](e,94)._control.autofilled,o["\u0275nov"](e,94)._control.focused,"accent"==o["\u0275nov"](e,94).color,"warn"==o["\u0275nov"](e,94).color,o["\u0275nov"](e,94)._shouldForward("untouched"),o["\u0275nov"](e,94)._shouldForward("touched"),o["\u0275nov"](e,94)._shouldForward("pristine"),o["\u0275nov"](e,94)._shouldForward("dirty"),o["\u0275nov"](e,94)._shouldForward("valid"),o["\u0275nov"](e,94)._shouldForward("invalid"),o["\u0275nov"](e,94)._shouldForward("pending"),!o["\u0275nov"](e,94)._animationsEnabled]),n(e,104,1,[o["\u0275nov"](e,109).ngClassUntouched,o["\u0275nov"](e,109).ngClassTouched,o["\u0275nov"](e,109).ngClassPristine,o["\u0275nov"](e,109).ngClassDirty,o["\u0275nov"](e,109).ngClassValid,o["\u0275nov"](e,109).ngClassInvalid,o["\u0275nov"](e,109).ngClassPending,o["\u0275nov"](e,110).id,o["\u0275nov"](e,110).tabIndex,o["\u0275nov"](e,110)._getAriaLabel(),o["\u0275nov"](e,110)._getAriaLabelledby(),o["\u0275nov"](e,110).required.toString(),o["\u0275nov"](e,110).disabled.toString(),o["\u0275nov"](e,110).errorState,o["\u0275nov"](e,110).panelOpen?o["\u0275nov"](e,110)._optionIds:null,o["\u0275nov"](e,110).multiple,o["\u0275nov"](e,110)._ariaDescribedby||null,o["\u0275nov"](e,110)._getAriaActiveDescendant(),o["\u0275nov"](e,110).disabled,o["\u0275nov"](e,110).errorState,o["\u0275nov"](e,110).required,o["\u0275nov"](e,110).empty]),n(e,117,1,["standard"==o["\u0275nov"](e,118).appearance,"fill"==o["\u0275nov"](e,118).appearance,"outline"==o["\u0275nov"](e,118).appearance,"legacy"==o["\u0275nov"](e,118).appearance,o["\u0275nov"](e,118)._control.errorState,o["\u0275nov"](e,118)._canLabelFloat,o["\u0275nov"](e,118)._shouldLabelFloat(),o["\u0275nov"](e,118)._hasFloatingLabel(),o["\u0275nov"](e,118)._hideControlPlaceholder(),o["\u0275nov"](e,118)._control.disabled,o["\u0275nov"](e,118)._control.autofilled,o["\u0275nov"](e,118)._control.focused,"accent"==o["\u0275nov"](e,118).color,"warn"==o["\u0275nov"](e,118).color,o["\u0275nov"](e,118)._shouldForward("untouched"),o["\u0275nov"](e,118)._shouldForward("touched"),o["\u0275nov"](e,118)._shouldForward("pristine"),o["\u0275nov"](e,118)._shouldForward("dirty"),o["\u0275nov"](e,118)._shouldForward("valid"),o["\u0275nov"](e,118)._shouldForward("invalid"),o["\u0275nov"](e,118)._shouldForward("pending"),!o["\u0275nov"](e,118)._animationsEnabled]),n(e,128,1,[o["\u0275nov"](e,133).ngClassUntouched,o["\u0275nov"](e,133).ngClassTouched,o["\u0275nov"](e,133).ngClassPristine,o["\u0275nov"](e,133).ngClassDirty,o["\u0275nov"](e,133).ngClassValid,o["\u0275nov"](e,133).ngClassInvalid,o["\u0275nov"](e,133).ngClassPending,o["\u0275nov"](e,134)._isServer,o["\u0275nov"](e,134).id,o["\u0275nov"](e,134).placeholder,o["\u0275nov"](e,134).disabled,o["\u0275nov"](e,134).required,o["\u0275nov"](e,134).readonly&&!o["\u0275nov"](e,134)._isNativeSelect||null,o["\u0275nov"](e,134)._ariaDescribedby||null,o["\u0275nov"](e,134).errorState,o["\u0275nov"](e,134).required.toString()]),n(e,136,1,["standard"==o["\u0275nov"](e,137).appearance,"fill"==o["\u0275nov"](e,137).appearance,"outline"==o["\u0275nov"](e,137).appearance,"legacy"==o["\u0275nov"](e,137).appearance,o["\u0275nov"](e,137)._control.errorState,o["\u0275nov"](e,137)._canLabelFloat,o["\u0275nov"](e,137)._shouldLabelFloat(),o["\u0275nov"](e,137)._hasFloatingLabel(),o["\u0275nov"](e,137)._hideControlPlaceholder(),o["\u0275nov"](e,137)._control.disabled,o["\u0275nov"](e,137)._control.autofilled,o["\u0275nov"](e,137)._control.focused,"accent"==o["\u0275nov"](e,137).color,"warn"==o["\u0275nov"](e,137).color,o["\u0275nov"](e,137)._shouldForward("untouched"),o["\u0275nov"](e,137)._shouldForward("touched"),o["\u0275nov"](e,137)._shouldForward("pristine"),o["\u0275nov"](e,137)._shouldForward("dirty"),o["\u0275nov"](e,137)._shouldForward("valid"),o["\u0275nov"](e,137)._shouldForward("invalid"),o["\u0275nov"](e,137)._shouldForward("pending"),!o["\u0275nov"](e,137)._animationsEnabled]),n(e,147,1,[o["\u0275nov"](e,152).ngClassUntouched,o["\u0275nov"](e,152).ngClassTouched,o["\u0275nov"](e,152).ngClassPristine,o["\u0275nov"](e,152).ngClassDirty,o["\u0275nov"](e,152).ngClassValid,o["\u0275nov"](e,152).ngClassInvalid,o["\u0275nov"](e,152).ngClassPending,o["\u0275nov"](e,153)._isServer,o["\u0275nov"](e,153).id,o["\u0275nov"](e,153).placeholder,o["\u0275nov"](e,153).disabled,o["\u0275nov"](e,153).required,o["\u0275nov"](e,153).readonly&&!o["\u0275nov"](e,153)._isNativeSelect||null,o["\u0275nov"](e,153)._ariaDescribedby||null,o["\u0275nov"](e,153).errorState,o["\u0275nov"](e,153).required.toString()]),n(e,155,1,["standard"==o["\u0275nov"](e,156).appearance,"fill"==o["\u0275nov"](e,156).appearance,"outline"==o["\u0275nov"](e,156).appearance,"legacy"==o["\u0275nov"](e,156).appearance,o["\u0275nov"](e,156)._control.errorState,o["\u0275nov"](e,156)._canLabelFloat,o["\u0275nov"](e,156)._shouldLabelFloat(),o["\u0275nov"](e,156)._hasFloatingLabel(),o["\u0275nov"](e,156)._hideControlPlaceholder(),o["\u0275nov"](e,156)._control.disabled,o["\u0275nov"](e,156)._control.autofilled,o["\u0275nov"](e,156)._control.focused,"accent"==o["\u0275nov"](e,156).color,"warn"==o["\u0275nov"](e,156).color,o["\u0275nov"](e,156)._shouldForward("untouched"),o["\u0275nov"](e,156)._shouldForward("touched"),o["\u0275nov"](e,156)._shouldForward("pristine"),o["\u0275nov"](e,156)._shouldForward("dirty"),o["\u0275nov"](e,156)._shouldForward("valid"),o["\u0275nov"](e,156)._shouldForward("invalid"),o["\u0275nov"](e,156)._shouldForward("pending"),!o["\u0275nov"](e,156)._animationsEnabled]),n(e,166,1,[o["\u0275nov"](e,172).ngClassUntouched,o["\u0275nov"](e,172).ngClassTouched,o["\u0275nov"](e,172).ngClassPristine,o["\u0275nov"](e,172).ngClassDirty,o["\u0275nov"](e,172).ngClassValid,o["\u0275nov"](e,172).ngClassInvalid,o["\u0275nov"](e,172).ngClassPending,o["\u0275nov"](e,173)._isServer,o["\u0275nov"](e,173).id,o["\u0275nov"](e,173).placeholder,o["\u0275nov"](e,173).disabled,o["\u0275nov"](e,173).required,o["\u0275nov"](e,173).readonly&&!o["\u0275nov"](e,173)._isNativeSelect||null,o["\u0275nov"](e,173)._ariaDescribedby||null,o["\u0275nov"](e,173).errorState,o["\u0275nov"](e,173).required.toString()]),n(e,175,1,["standard"==o["\u0275nov"](e,176).appearance,"fill"==o["\u0275nov"](e,176).appearance,"outline"==o["\u0275nov"](e,176).appearance,"legacy"==o["\u0275nov"](e,176).appearance,o["\u0275nov"](e,176)._control.errorState,o["\u0275nov"](e,176)._canLabelFloat,o["\u0275nov"](e,176)._shouldLabelFloat(),o["\u0275nov"](e,176)._hasFloatingLabel(),o["\u0275nov"](e,176)._hideControlPlaceholder(),o["\u0275nov"](e,176)._control.disabled,o["\u0275nov"](e,176)._control.autofilled,o["\u0275nov"](e,176)._control.focused,"accent"==o["\u0275nov"](e,176).color,"warn"==o["\u0275nov"](e,176).color,o["\u0275nov"](e,176)._shouldForward("untouched"),o["\u0275nov"](e,176)._shouldForward("touched"),o["\u0275nov"](e,176)._shouldForward("pristine"),o["\u0275nov"](e,176)._shouldForward("dirty"),o["\u0275nov"](e,176)._shouldForward("valid"),o["\u0275nov"](e,176)._shouldForward("invalid"),o["\u0275nov"](e,176)._shouldForward("pending"),!o["\u0275nov"](e,176)._animationsEnabled]),n(e,186,1,[o["\u0275nov"](e,190).ngClassUntouched,o["\u0275nov"](e,190).ngClassTouched,o["\u0275nov"](e,190).ngClassPristine,o["\u0275nov"](e,190).ngClassDirty,o["\u0275nov"](e,190).ngClassValid,o["\u0275nov"](e,190).ngClassInvalid,o["\u0275nov"](e,190).ngClassPending,o["\u0275nov"](e,191).id,o["\u0275nov"](e,191).tabIndex,o["\u0275nov"](e,191)._getAriaLabel(),o["\u0275nov"](e,191)._getAriaLabelledby(),o["\u0275nov"](e,191).required.toString(),o["\u0275nov"](e,191).disabled.toString(),o["\u0275nov"](e,191).errorState,o["\u0275nov"](e,191).panelOpen?o["\u0275nov"](e,191)._optionIds:null,o["\u0275nov"](e,191).multiple,o["\u0275nov"](e,191)._ariaDescribedby||null,o["\u0275nov"](e,191)._getAriaActiveDescendant(),o["\u0275nov"](e,191).disabled,o["\u0275nov"](e,191).errorState,o["\u0275nov"](e,191).required,o["\u0275nov"](e,191).empty]),n(e,198,1,[o["\u0275nov"](e,199).id,null,o["\u0275nov"](e,199).indeterminate,o["\u0275nov"](e,199).checked,o["\u0275nov"](e,199).disabled,"before"==o["\u0275nov"](e,199).labelPosition,"NoopAnimations"===o["\u0275nov"](e,199)._animationMode,o["\u0275nov"](e,203).ngClassUntouched,o["\u0275nov"](e,203).ngClassTouched,o["\u0275nov"](e,203).ngClassPristine,o["\u0275nov"](e,203).ngClassDirty,o["\u0275nov"](e,203).ngClassValid,o["\u0275nov"](e,203).ngClassInvalid,o["\u0275nov"](e,203).ngClassPending]),n(e,205,0,o["\u0275nov"](e,206).expanded,"NoopAnimations"===o["\u0275nov"](e,206)._animationMode,o["\u0275nov"](e,206)._hasSpacing());var h=o["\u0275nov"](e,210).panel._headerId,m=o["\u0275nov"](e,210).disabled?-1:0,v=o["\u0275nov"](e,210)._getPanelId(),g=o["\u0275nov"](e,210)._isExpanded(),b=o["\u0275nov"](e,210).panel.disabled,_=o["\u0275nov"](e,210)._isExpanded(),y="after"===o["\u0275nov"](e,210)._getTogglePosition(),w="before"===o["\u0275nov"](e,210)._getTogglePosition(),C=o["\u0275nov"](e,210)._animationsDisabled,x=n(e,212,0,o["\u0275nov"](e,210)._getExpandedState(),n(e,211,0,o["\u0275nov"](e,210).collapsedHeight,o["\u0275nov"](e,210).expandedHeight));n(e,209,0,h,m,v,g,b,_,y,w,C,x),n(e,216,0,o["\u0275nov"](e,220).ngClassUntouched,o["\u0275nov"](e,220).ngClassTouched,o["\u0275nov"](e,220).ngClassPristine,o["\u0275nov"](e,220).ngClassDirty,o["\u0275nov"](e,220).ngClassValid,o["\u0275nov"](e,220).ngClassInvalid,o["\u0275nov"](e,220).ngClassPending),n(e,221,1,["standard"==o["\u0275nov"](e,222).appearance,"fill"==o["\u0275nov"](e,222).appearance,"outline"==o["\u0275nov"](e,222).appearance,"legacy"==o["\u0275nov"](e,222).appearance,o["\u0275nov"](e,222)._control.errorState,o["\u0275nov"](e,222)._canLabelFloat,o["\u0275nov"](e,222)._shouldLabelFloat(),o["\u0275nov"](e,222)._hasFloatingLabel(),o["\u0275nov"](e,222)._hideControlPlaceholder(),o["\u0275nov"](e,222)._control.disabled,o["\u0275nov"](e,222)._control.autofilled,o["\u0275nov"](e,222)._control.focused,"accent"==o["\u0275nov"](e,222).color,"warn"==o["\u0275nov"](e,222).color,o["\u0275nov"](e,222)._shouldForward("untouched"),o["\u0275nov"](e,222)._shouldForward("touched"),o["\u0275nov"](e,222)._shouldForward("pristine"),o["\u0275nov"](e,222)._shouldForward("dirty"),o["\u0275nov"](e,222)._shouldForward("valid"),o["\u0275nov"](e,222)._shouldForward("invalid"),o["\u0275nov"](e,222)._shouldForward("pending"),!o["\u0275nov"](e,222)._animationsEnabled]),n(e,232,1,[o["\u0275nov"](e,238).ngClassUntouched,o["\u0275nov"](e,238).ngClassTouched,o["\u0275nov"](e,238).ngClassPristine,o["\u0275nov"](e,238).ngClassDirty,o["\u0275nov"](e,238).ngClassValid,o["\u0275nov"](e,238).ngClassInvalid,o["\u0275nov"](e,238).ngClassPending,o["\u0275nov"](e,239)._isServer,o["\u0275nov"](e,239).id,o["\u0275nov"](e,239).placeholder,o["\u0275nov"](e,239).disabled,o["\u0275nov"](e,239).required,o["\u0275nov"](e,239).readonly&&!o["\u0275nov"](e,239)._isNativeSelect||null,o["\u0275nov"](e,239)._ariaDescribedby||null,o["\u0275nov"](e,239).errorState,o["\u0275nov"](e,239).required.toString()]),n(e,241,1,["standard"==o["\u0275nov"](e,242).appearance,"fill"==o["\u0275nov"](e,242).appearance,"outline"==o["\u0275nov"](e,242).appearance,"legacy"==o["\u0275nov"](e,242).appearance,o["\u0275nov"](e,242)._control.errorState,o["\u0275nov"](e,242)._canLabelFloat,o["\u0275nov"](e,242)._shouldLabelFloat(),o["\u0275nov"](e,242)._hasFloatingLabel(),o["\u0275nov"](e,242)._hideControlPlaceholder(),o["\u0275nov"](e,242)._control.disabled,o["\u0275nov"](e,242)._control.autofilled,o["\u0275nov"](e,242)._control.focused,"accent"==o["\u0275nov"](e,242).color,"warn"==o["\u0275nov"](e,242).color,o["\u0275nov"](e,242)._shouldForward("untouched"),o["\u0275nov"](e,242)._shouldForward("touched"),o["\u0275nov"](e,242)._shouldForward("pristine"),o["\u0275nov"](e,242)._shouldForward("dirty"),o["\u0275nov"](e,242)._shouldForward("valid"),o["\u0275nov"](e,242)._shouldForward("invalid"),o["\u0275nov"](e,242)._shouldForward("pending"),!o["\u0275nov"](e,242)._animationsEnabled]),n(e,252,1,[o["\u0275nov"](e,258).ngClassUntouched,o["\u0275nov"](e,258).ngClassTouched,o["\u0275nov"](e,258).ngClassPristine,o["\u0275nov"](e,258).ngClassDirty,o["\u0275nov"](e,258).ngClassValid,o["\u0275nov"](e,258).ngClassInvalid,o["\u0275nov"](e,258).ngClassPending,o["\u0275nov"](e,259)._isServer,o["\u0275nov"](e,259).id,o["\u0275nov"](e,259).placeholder,o["\u0275nov"](e,259).disabled,o["\u0275nov"](e,259).required,o["\u0275nov"](e,259).readonly&&!o["\u0275nov"](e,259)._isNativeSelect||null,o["\u0275nov"](e,259)._ariaDescribedby||null,o["\u0275nov"](e,259).errorState,o["\u0275nov"](e,259).required.toString()]),n(e,261,1,["standard"==o["\u0275nov"](e,262).appearance,"fill"==o["\u0275nov"](e,262).appearance,"outline"==o["\u0275nov"](e,262).appearance,"legacy"==o["\u0275nov"](e,262).appearance,o["\u0275nov"](e,262)._control.errorState,o["\u0275nov"](e,262)._canLabelFloat,o["\u0275nov"](e,262)._shouldLabelFloat(),o["\u0275nov"](e,262)._hasFloatingLabel(),o["\u0275nov"](e,262)._hideControlPlaceholder(),o["\u0275nov"](e,262)._control.disabled,o["\u0275nov"](e,262)._control.autofilled,o["\u0275nov"](e,262)._control.focused,"accent"==o["\u0275nov"](e,262).color,"warn"==o["\u0275nov"](e,262).color,o["\u0275nov"](e,262)._shouldForward("untouched"),o["\u0275nov"](e,262)._shouldForward("touched"),o["\u0275nov"](e,262)._shouldForward("pristine"),o["\u0275nov"](e,262)._shouldForward("dirty"),o["\u0275nov"](e,262)._shouldForward("valid"),o["\u0275nov"](e,262)._shouldForward("invalid"),o["\u0275nov"](e,262)._shouldForward("pending"),!o["\u0275nov"](e,262)._animationsEnabled]),n(e,272,1,[o["\u0275nov"](e,278).ngClassUntouched,o["\u0275nov"](e,278).ngClassTouched,o["\u0275nov"](e,278).ngClassPristine,o["\u0275nov"](e,278).ngClassDirty,o["\u0275nov"](e,278).ngClassValid,o["\u0275nov"](e,278).ngClassInvalid,o["\u0275nov"](e,278).ngClassPending,o["\u0275nov"](e,279)._isServer,o["\u0275nov"](e,279).id,o["\u0275nov"](e,279).placeholder,o["\u0275nov"](e,279).disabled,o["\u0275nov"](e,279).required,o["\u0275nov"](e,279).readonly&&!o["\u0275nov"](e,279)._isNativeSelect||null,o["\u0275nov"](e,279)._ariaDescribedby||null,o["\u0275nov"](e,279).errorState,o["\u0275nov"](e,279).required.toString()]),n(e,281,1,["standard"==o["\u0275nov"](e,282).appearance,"fill"==o["\u0275nov"](e,282).appearance,"outline"==o["\u0275nov"](e,282).appearance,"legacy"==o["\u0275nov"](e,282).appearance,o["\u0275nov"](e,282)._control.errorState,o["\u0275nov"](e,282)._canLabelFloat,o["\u0275nov"](e,282)._shouldLabelFloat(),o["\u0275nov"](e,282)._hasFloatingLabel(),o["\u0275nov"](e,282)._hideControlPlaceholder(),o["\u0275nov"](e,282)._control.disabled,o["\u0275nov"](e,282)._control.autofilled,o["\u0275nov"](e,282)._control.focused,"accent"==o["\u0275nov"](e,282).color,"warn"==o["\u0275nov"](e,282).color,o["\u0275nov"](e,282)._shouldForward("untouched"),o["\u0275nov"](e,282)._shouldForward("touched"),o["\u0275nov"](e,282)._shouldForward("pristine"),o["\u0275nov"](e,282)._shouldForward("dirty"),o["\u0275nov"](e,282)._shouldForward("valid"),o["\u0275nov"](e,282)._shouldForward("invalid"),o["\u0275nov"](e,282)._shouldForward("pending"),!o["\u0275nov"](e,282)._animationsEnabled]),n(e,292,1,[o["\u0275nov"](e,298).ngClassUntouched,o["\u0275nov"](e,298).ngClassTouched,o["\u0275nov"](e,298).ngClassPristine,o["\u0275nov"](e,298).ngClassDirty,o["\u0275nov"](e,298).ngClassValid,o["\u0275nov"](e,298).ngClassInvalid,o["\u0275nov"](e,298).ngClassPending,o["\u0275nov"](e,299)._isServer,o["\u0275nov"](e,299).id,o["\u0275nov"](e,299).placeholder,o["\u0275nov"](e,299).disabled,o["\u0275nov"](e,299).required,o["\u0275nov"](e,299).readonly&&!o["\u0275nov"](e,299)._isNativeSelect||null,o["\u0275nov"](e,299)._ariaDescribedby||null,o["\u0275nov"](e,299).errorState,o["\u0275nov"](e,299).required.toString()]),n(e,301,1,["standard"==o["\u0275nov"](e,302).appearance,"fill"==o["\u0275nov"](e,302).appearance,"outline"==o["\u0275nov"](e,302).appearance,"legacy"==o["\u0275nov"](e,302).appearance,o["\u0275nov"](e,302)._control.errorState,o["\u0275nov"](e,302)._canLabelFloat,o["\u0275nov"](e,302)._shouldLabelFloat(),o["\u0275nov"](e,302)._hasFloatingLabel(),o["\u0275nov"](e,302)._hideControlPlaceholder(),o["\u0275nov"](e,302)._control.disabled,o["\u0275nov"](e,302)._control.autofilled,o["\u0275nov"](e,302)._control.focused,"accent"==o["\u0275nov"](e,302).color,"warn"==o["\u0275nov"](e,302).color,o["\u0275nov"](e,302)._shouldForward("untouched"),o["\u0275nov"](e,302)._shouldForward("touched"),o["\u0275nov"](e,302)._shouldForward("pristine"),o["\u0275nov"](e,302)._shouldForward("dirty"),o["\u0275nov"](e,302)._shouldForward("valid"),o["\u0275nov"](e,302)._shouldForward("invalid"),o["\u0275nov"](e,302)._shouldForward("pending"),!o["\u0275nov"](e,302)._animationsEnabled]),n(e,312,1,[o["\u0275nov"](e,318).ngClassUntouched,o["\u0275nov"](e,318).ngClassTouched,o["\u0275nov"](e,318).ngClassPristine,o["\u0275nov"](e,318).ngClassDirty,o["\u0275nov"](e,318).ngClassValid,o["\u0275nov"](e,318).ngClassInvalid,o["\u0275nov"](e,318).ngClassPending,o["\u0275nov"](e,319)._isServer,o["\u0275nov"](e,319).id,o["\u0275nov"](e,319).placeholder,o["\u0275nov"](e,319).disabled,o["\u0275nov"](e,319).required,o["\u0275nov"](e,319).readonly&&!o["\u0275nov"](e,319)._isNativeSelect||null,o["\u0275nov"](e,319)._ariaDescribedby||null,o["\u0275nov"](e,319).errorState,o["\u0275nov"](e,319).required.toString()]),n(e,321,1,[o["\u0275nov"](e,322).id,null,o["\u0275nov"](e,322).indeterminate,o["\u0275nov"](e,322).checked,o["\u0275nov"](e,322).disabled,"before"==o["\u0275nov"](e,322).labelPosition,"NoopAnimations"===o["\u0275nov"](e,322)._animationMode,o["\u0275nov"](e,326).ngClassUntouched,o["\u0275nov"](e,326).ngClassTouched,o["\u0275nov"](e,326).ngClassPristine,o["\u0275nov"](e,326).ngClassDirty,o["\u0275nov"](e,326).ngClassValid,o["\u0275nov"](e,326).ngClassInvalid,o["\u0275nov"](e,326).ngClassPending]),n(e,328,0,o["\u0275nov"](e,329).expanded,"NoopAnimations"===o["\u0275nov"](e,329)._animationMode,o["\u0275nov"](e,329)._hasSpacing());var S=o["\u0275nov"](e,333).panel._headerId,k=o["\u0275nov"](e,333).disabled?-1:0,E=o["\u0275nov"](e,333)._getPanelId(),T=o["\u0275nov"](e,333)._isExpanded(),R=o["\u0275nov"](e,333).panel.disabled,I=o["\u0275nov"](e,333)._isExpanded(),D="after"===o["\u0275nov"](e,333)._getTogglePosition(),O="before"===o["\u0275nov"](e,333)._getTogglePosition(),F=o["\u0275nov"](e,333)._animationsDisabled,N=n(e,335,0,o["\u0275nov"](e,333)._getExpandedState(),n(e,334,0,o["\u0275nov"](e,333).collapsedHeight,o["\u0275nov"](e,333).expandedHeight));n(e,332,0,S,k,E,T,R,I,D,O,F,N),n(e,355,0,o["\u0275nov"](e,356).expanded,"NoopAnimations"===o["\u0275nov"](e,356)._animationMode,o["\u0275nov"](e,356)._hasSpacing());var M=o["\u0275nov"](e,360).panel._headerId,A=o["\u0275nov"](e,360).disabled?-1:0,q=o["\u0275nov"](e,360)._getPanelId(),P=o["\u0275nov"](e,360)._isExpanded(),j=o["\u0275nov"](e,360).panel.disabled,L=o["\u0275nov"](e,360)._isExpanded(),V="after"===o["\u0275nov"](e,360)._getTogglePosition(),B="before"===o["\u0275nov"](e,360)._getTogglePosition(),z=o["\u0275nov"](e,360)._animationsDisabled,U=n(e,362,0,o["\u0275nov"](e,360)._getExpandedState(),n(e,361,0,o["\u0275nov"](e,360).collapsedHeight,o["\u0275nov"](e,360).expandedHeight));n(e,359,0,M,A,q,P,j,L,V,B,z,U),n(e,366,0,o["\u0275nov"](e,370).ngClassUntouched,o["\u0275nov"](e,370).ngClassTouched,o["\u0275nov"](e,370).ngClassPristine,o["\u0275nov"](e,370).ngClassDirty,o["\u0275nov"](e,370).ngClassValid,o["\u0275nov"](e,370).ngClassInvalid,o["\u0275nov"](e,370).ngClassPending),n(e,371,1,["standard"==o["\u0275nov"](e,372).appearance,"fill"==o["\u0275nov"](e,372).appearance,"outline"==o["\u0275nov"](e,372).appearance,"legacy"==o["\u0275nov"](e,372).appearance,o["\u0275nov"](e,372)._control.errorState,o["\u0275nov"](e,372)._canLabelFloat,o["\u0275nov"](e,372)._shouldLabelFloat(),o["\u0275nov"](e,372)._hasFloatingLabel(),o["\u0275nov"](e,372)._hideControlPlaceholder(),o["\u0275nov"](e,372)._control.disabled,o["\u0275nov"](e,372)._control.autofilled,o["\u0275nov"](e,372)._control.focused,"accent"==o["\u0275nov"](e,372).color,"warn"==o["\u0275nov"](e,372).color,o["\u0275nov"](e,372)._shouldForward("untouched"),o["\u0275nov"](e,372)._shouldForward("touched"),o["\u0275nov"](e,372)._shouldForward("pristine"),o["\u0275nov"](e,372)._shouldForward("dirty"),o["\u0275nov"](e,372)._shouldForward("valid"),o["\u0275nov"](e,372)._shouldForward("invalid"),o["\u0275nov"](e,372)._shouldForward("pending"),!o["\u0275nov"](e,372)._animationsEnabled]),n(e,382,1,[o["\u0275nov"](e,387).ngClassUntouched,o["\u0275nov"](e,387).ngClassTouched,o["\u0275nov"](e,387).ngClassPristine,o["\u0275nov"](e,387).ngClassDirty,o["\u0275nov"](e,387).ngClassValid,o["\u0275nov"](e,387).ngClassInvalid,o["\u0275nov"](e,387).ngClassPending,o["\u0275nov"](e,388)._isServer,o["\u0275nov"](e,388).id,o["\u0275nov"](e,388).placeholder,o["\u0275nov"](e,388).disabled,o["\u0275nov"](e,388).required,o["\u0275nov"](e,388).readonly&&!o["\u0275nov"](e,388)._isNativeSelect||null,o["\u0275nov"](e,388)._ariaDescribedby||null,o["\u0275nov"](e,388).errorState,o["\u0275nov"](e,388).required.toString()]),n(e,390,1,["standard"==o["\u0275nov"](e,391).appearance,"fill"==o["\u0275nov"](e,391).appearance,"outline"==o["\u0275nov"](e,391).appearance,"legacy"==o["\u0275nov"](e,391).appearance,o["\u0275nov"](e,391)._control.errorState,o["\u0275nov"](e,391)._canLabelFloat,o["\u0275nov"](e,391)._shouldLabelFloat(),o["\u0275nov"](e,391)._hasFloatingLabel(),o["\u0275nov"](e,391)._hideControlPlaceholder(),o["\u0275nov"](e,391)._control.disabled,o["\u0275nov"](e,391)._control.autofilled,o["\u0275nov"](e,391)._control.focused,"accent"==o["\u0275nov"](e,391).color,"warn"==o["\u0275nov"](e,391).color,o["\u0275nov"](e,391)._shouldForward("untouched"),o["\u0275nov"](e,391)._shouldForward("touched"),o["\u0275nov"](e,391)._shouldForward("pristine"),o["\u0275nov"](e,391)._shouldForward("dirty"),o["\u0275nov"](e,391)._shouldForward("valid"),o["\u0275nov"](e,391)._shouldForward("invalid"),o["\u0275nov"](e,391)._shouldForward("pending"),!o["\u0275nov"](e,391)._animationsEnabled]),n(e,401,1,[o["\u0275nov"](e,407).ngClassUntouched,o["\u0275nov"](e,407).ngClassTouched,o["\u0275nov"](e,407).ngClassPristine,o["\u0275nov"](e,407).ngClassDirty,o["\u0275nov"](e,407).ngClassValid,o["\u0275nov"](e,407).ngClassInvalid,o["\u0275nov"](e,407).ngClassPending,o["\u0275nov"](e,408)._isServer,o["\u0275nov"](e,408).id,o["\u0275nov"](e,408).placeholder,o["\u0275nov"](e,408).disabled,o["\u0275nov"](e,408).required,o["\u0275nov"](e,408).readonly&&!o["\u0275nov"](e,408)._isNativeSelect||null,o["\u0275nov"](e,408)._ariaDescribedby||null,o["\u0275nov"](e,408).errorState,o["\u0275nov"](e,408).required.toString()]),n(e,410,1,["standard"==o["\u0275nov"](e,411).appearance,"fill"==o["\u0275nov"](e,411).appearance,"outline"==o["\u0275nov"](e,411).appearance,"legacy"==o["\u0275nov"](e,411).appearance,o["\u0275nov"](e,411)._control.errorState,o["\u0275nov"](e,411)._canLabelFloat,o["\u0275nov"](e,411)._shouldLabelFloat(),o["\u0275nov"](e,411)._hasFloatingLabel(),o["\u0275nov"](e,411)._hideControlPlaceholder(),o["\u0275nov"](e,411)._control.disabled,o["\u0275nov"](e,411)._control.autofilled,o["\u0275nov"](e,411)._control.focused,"accent"==o["\u0275nov"](e,411).color,"warn"==o["\u0275nov"](e,411).color,o["\u0275nov"](e,411)._shouldForward("untouched"),o["\u0275nov"](e,411)._shouldForward("touched"),o["\u0275nov"](e,411)._shouldForward("pristine"),o["\u0275nov"](e,411)._shouldForward("dirty"),o["\u0275nov"](e,411)._shouldForward("valid"),o["\u0275nov"](e,411)._shouldForward("invalid"),o["\u0275nov"](e,411)._shouldForward("pending"),!o["\u0275nov"](e,411)._animationsEnabled]),n(e,421,1,[o["\u0275nov"](e,427).ngClassUntouched,o["\u0275nov"](e,427).ngClassTouched,o["\u0275nov"](e,427).ngClassPristine,o["\u0275nov"](e,427).ngClassDirty,o["\u0275nov"](e,427).ngClassValid,o["\u0275nov"](e,427).ngClassInvalid,o["\u0275nov"](e,427).ngClassPending,o["\u0275nov"](e,428)._isServer,o["\u0275nov"](e,428).id,o["\u0275nov"](e,428).placeholder,o["\u0275nov"](e,428).disabled,o["\u0275nov"](e,428).required,o["\u0275nov"](e,428).readonly&&!o["\u0275nov"](e,428)._isNativeSelect||null,o["\u0275nov"](e,428)._ariaDescribedby||null,o["\u0275nov"](e,428).errorState,o["\u0275nov"](e,428).required.toString()]),n(e,430,1,["standard"==o["\u0275nov"](e,431).appearance,"fill"==o["\u0275nov"](e,431).appearance,"outline"==o["\u0275nov"](e,431).appearance,"legacy"==o["\u0275nov"](e,431).appearance,o["\u0275nov"](e,431)._control.errorState,o["\u0275nov"](e,431)._canLabelFloat,o["\u0275nov"](e,431)._shouldLabelFloat(),o["\u0275nov"](e,431)._hasFloatingLabel(),o["\u0275nov"](e,431)._hideControlPlaceholder(),o["\u0275nov"](e,431)._control.disabled,o["\u0275nov"](e,431)._control.autofilled,o["\u0275nov"](e,431)._control.focused,"accent"==o["\u0275nov"](e,431).color,"warn"==o["\u0275nov"](e,431).color,o["\u0275nov"](e,431)._shouldForward("untouched"),o["\u0275nov"](e,431)._shouldForward("touched"),o["\u0275nov"](e,431)._shouldForward("pristine"),o["\u0275nov"](e,431)._shouldForward("dirty"),o["\u0275nov"](e,431)._shouldForward("valid"),o["\u0275nov"](e,431)._shouldForward("invalid"),o["\u0275nov"](e,431)._shouldForward("pending"),!o["\u0275nov"](e,431)._animationsEnabled]),n(e,441,1,[o["\u0275nov"](e,447).ngClassUntouched,o["\u0275nov"](e,447).ngClassTouched,o["\u0275nov"](e,447).ngClassPristine,o["\u0275nov"](e,447).ngClassDirty,o["\u0275nov"](e,447).ngClassValid,o["\u0275nov"](e,447).ngClassInvalid,o["\u0275nov"](e,447).ngClassPending,o["\u0275nov"](e,448)._isServer,o["\u0275nov"](e,448).id,o["\u0275nov"](e,448).placeholder,o["\u0275nov"](e,448).disabled,o["\u0275nov"](e,448).required,o["\u0275nov"](e,448).readonly&&!o["\u0275nov"](e,448)._isNativeSelect||null,o["\u0275nov"](e,448)._ariaDescribedby||null,o["\u0275nov"](e,448).errorState,o["\u0275nov"](e,448).required.toString()]),n(e,450,1,["standard"==o["\u0275nov"](e,451).appearance,"fill"==o["\u0275nov"](e,451).appearance,"outline"==o["\u0275nov"](e,451).appearance,"legacy"==o["\u0275nov"](e,451).appearance,o["\u0275nov"](e,451)._control.errorState,o["\u0275nov"](e,451)._canLabelFloat,o["\u0275nov"](e,451)._shouldLabelFloat(),o["\u0275nov"](e,451)._hasFloatingLabel(),o["\u0275nov"](e,451)._hideControlPlaceholder(),o["\u0275nov"](e,451)._control.disabled,o["\u0275nov"](e,451)._control.autofilled,o["\u0275nov"](e,451)._control.focused,"accent"==o["\u0275nov"](e,451).color,"warn"==o["\u0275nov"](e,451).color,o["\u0275nov"](e,451)._shouldForward("untouched"),o["\u0275nov"](e,451)._shouldForward("touched"),o["\u0275nov"](e,451)._shouldForward("pristine"),o["\u0275nov"](e,451)._shouldForward("dirty"),o["\u0275nov"](e,451)._shouldForward("valid"),o["\u0275nov"](e,451)._shouldForward("invalid"),o["\u0275nov"](e,451)._shouldForward("pending"),!o["\u0275nov"](e,451)._animationsEnabled]),n(e,461,1,[o["\u0275nov"](e,467).ngClassUntouched,o["\u0275nov"](e,467).ngClassTouched,o["\u0275nov"](e,467).ngClassPristine,o["\u0275nov"](e,467).ngClassDirty,o["\u0275nov"](e,467).ngClassValid,o["\u0275nov"](e,467).ngClassInvalid,o["\u0275nov"](e,467).ngClassPending,o["\u0275nov"](e,468)._isServer,o["\u0275nov"](e,468).id,o["\u0275nov"](e,468).placeholder,o["\u0275nov"](e,468).disabled,o["\u0275nov"](e,468).required,o["\u0275nov"](e,468).readonly&&!o["\u0275nov"](e,468)._isNativeSelect||null,o["\u0275nov"](e,468)._ariaDescribedby||null,o["\u0275nov"](e,468).errorState,o["\u0275nov"](e,468).required.toString()]),n(e,470,1,["standard"==o["\u0275nov"](e,471).appearance,"fill"==o["\u0275nov"](e,471).appearance,"outline"==o["\u0275nov"](e,471).appearance,"legacy"==o["\u0275nov"](e,471).appearance,o["\u0275nov"](e,471)._control.errorState,o["\u0275nov"](e,471)._canLabelFloat,o["\u0275nov"](e,471)._shouldLabelFloat(),o["\u0275nov"](e,471)._hasFloatingLabel(),o["\u0275nov"](e,471)._hideControlPlaceholder(),o["\u0275nov"](e,471)._control.disabled,o["\u0275nov"](e,471)._control.autofilled,o["\u0275nov"](e,471)._control.focused,"accent"==o["\u0275nov"](e,471).color,"warn"==o["\u0275nov"](e,471).color,o["\u0275nov"](e,471)._shouldForward("untouched"),o["\u0275nov"](e,471)._shouldForward("touched"),o["\u0275nov"](e,471)._shouldForward("pristine"),o["\u0275nov"](e,471)._shouldForward("dirty"),o["\u0275nov"](e,471)._shouldForward("valid"),o["\u0275nov"](e,471)._shouldForward("invalid"),o["\u0275nov"](e,471)._shouldForward("pending"),!o["\u0275nov"](e,471)._animationsEnabled]),n(e,481,1,[o["\u0275nov"](e,487).ngClassUntouched,o["\u0275nov"](e,487).ngClassTouched,o["\u0275nov"](e,487).ngClassPristine,o["\u0275nov"](e,487).ngClassDirty,o["\u0275nov"](e,487).ngClassValid,o["\u0275nov"](e,487).ngClassInvalid,o["\u0275nov"](e,487).ngClassPending,o["\u0275nov"](e,488)._isServer,o["\u0275nov"](e,488).id,o["\u0275nov"](e,488).placeholder,o["\u0275nov"](e,488).disabled,o["\u0275nov"](e,488).required,o["\u0275nov"](e,488).readonly&&!o["\u0275nov"](e,488)._isNativeSelect||null,o["\u0275nov"](e,488)._ariaDescribedby||null,o["\u0275nov"](e,488).errorState,o["\u0275nov"](e,488).required.toString()]),n(e,490,1,[o["\u0275nov"](e,491).id,null,o["\u0275nov"](e,491).indeterminate,o["\u0275nov"](e,491).checked,o["\u0275nov"](e,491).disabled,"before"==o["\u0275nov"](e,491).labelPosition,"NoopAnimations"===o["\u0275nov"](e,491)._animationMode,o["\u0275nov"](e,495).ngClassUntouched,o["\u0275nov"](e,495).ngClassTouched,o["\u0275nov"](e,495).ngClassPristine,o["\u0275nov"](e,495).ngClassDirty,o["\u0275nov"](e,495).ngClassValid,o["\u0275nov"](e,495).ngClassInvalid,o["\u0275nov"](e,495).ngClassPending]),n(e,499,1,[o["\u0275nov"](e,500).id,null,o["\u0275nov"](e,500).indeterminate,o["\u0275nov"](e,500).checked,o["\u0275nov"](e,500).disabled,"before"==o["\u0275nov"](e,500).labelPosition,"NoopAnimations"===o["\u0275nov"](e,500)._animationMode,o["\u0275nov"](e,504).ngClassUntouched,o["\u0275nov"](e,504).ngClassTouched,o["\u0275nov"](e,504).ngClassPristine,o["\u0275nov"](e,504).ngClassDirty,o["\u0275nov"](e,504).ngClassValid,o["\u0275nov"](e,504).ngClassInvalid,o["\u0275nov"](e,504).ngClassPending]),n(e,506,0,o["\u0275nov"](e,507).expanded,"NoopAnimations"===o["\u0275nov"](e,507)._animationMode,o["\u0275nov"](e,507)._hasSpacing());var H=o["\u0275nov"](e,511).panel._headerId,Z=o["\u0275nov"](e,511).disabled?-1:0,W=o["\u0275nov"](e,511)._getPanelId(),G=o["\u0275nov"](e,511)._isExpanded(),K=o["\u0275nov"](e,511).panel.disabled,Y=o["\u0275nov"](e,511)._isExpanded(),$="after"===o["\u0275nov"](e,511)._getTogglePosition(),X="before"===o["\u0275nov"](e,511)._getTogglePosition(),Q=o["\u0275nov"](e,511)._animationsDisabled,J=n(e,513,0,o["\u0275nov"](e,511)._getExpandedState(),n(e,512,0,o["\u0275nov"](e,511).collapsedHeight,o["\u0275nov"](e,511).expandedHeight));n(e,510,0,H,Z,W,G,K,Y,$,X,Q,J),n(e,517,1,["standard"==o["\u0275nov"](e,518).appearance,"fill"==o["\u0275nov"](e,518).appearance,"outline"==o["\u0275nov"](e,518).appearance,"legacy"==o["\u0275nov"](e,518).appearance,o["\u0275nov"](e,518)._control.errorState,o["\u0275nov"](e,518)._canLabelFloat,o["\u0275nov"](e,518)._shouldLabelFloat(),o["\u0275nov"](e,518)._hasFloatingLabel(),o["\u0275nov"](e,518)._hideControlPlaceholder(),o["\u0275nov"](e,518)._control.disabled,o["\u0275nov"](e,518)._control.autofilled,o["\u0275nov"](e,518)._control.focused,"accent"==o["\u0275nov"](e,518).color,"warn"==o["\u0275nov"](e,518).color,o["\u0275nov"](e,518)._shouldForward("untouched"),o["\u0275nov"](e,518)._shouldForward("touched"),o["\u0275nov"](e,518)._shouldForward("pristine"),o["\u0275nov"](e,518)._shouldForward("dirty"),o["\u0275nov"](e,518)._shouldForward("valid"),o["\u0275nov"](e,518)._shouldForward("invalid"),o["\u0275nov"](e,518)._shouldForward("pending"),!o["\u0275nov"](e,518)._animationsEnabled]),n(e,528,1,[o["\u0275nov"](e,533).ngClassUntouched,o["\u0275nov"](e,533).ngClassTouched,o["\u0275nov"](e,533).ngClassPristine,o["\u0275nov"](e,533).ngClassDirty,o["\u0275nov"](e,533).ngClassValid,o["\u0275nov"](e,533).ngClassInvalid,o["\u0275nov"](e,533).ngClassPending,o["\u0275nov"](e,534)._isServer,o["\u0275nov"](e,534).id,o["\u0275nov"](e,534).placeholder,o["\u0275nov"](e,534).disabled,o["\u0275nov"](e,534).required,o["\u0275nov"](e,534).readonly&&!o["\u0275nov"](e,534)._isNativeSelect||null,o["\u0275nov"](e,534)._ariaDescribedby||null,o["\u0275nov"](e,534).errorState,o["\u0275nov"](e,534).required.toString()]),n(e,537,0,o["\u0275nov"](e,538).disabled||null,"NoopAnimations"===o["\u0275nov"](e,538)._animationMode),n(e,540,0,o["\u0275nov"](e,541).disabled||null,"NoopAnimations"===o["\u0275nov"](e,541)._animationMode)})}function FS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.iosTemplate.symbol)},null)}function NS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Dynamips IOS Router configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,OS)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,FS)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.iosTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.iosTemplate)},null)}function MS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-ios-template-details",[],null,null,null,NS,hS)),o["\u0275did"](1,114688,null,0,fS,[bt,Uh,nx,vc,rv,Hx,Rl],null,null)],function(n,e){n(e,1,0)},null)}var AS=o["\u0275ccf"]("app-ios-template-details",fS,MS,{},{},[]),qS=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.iosService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.formGroup=this.formBuilder.group({templateName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.iosService.getTemplate(n.server,t).subscribe(function(e){n.iosTemplate=e,n.templateName="Copy of "+n.iosTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","dynamips","templates"])},n.prototype.addTemplate=function(){var n=this;this.formGroup.invalid?this.toasterService.error("Fill all required fields"):(this.iosTemplate.template_id=Object(dg.v4)(),this.iosTemplate.name=this.templateName,this.iosService.addTemplate(this.server,this.iosTemplate).subscribe(function(e){n.goBack()}))},n}(),PS=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function jS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy IOS router template"])),(n()(),o["\u0275eld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.formGroup),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function LS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-ios-template",[],null,null,null,jS,PS)),o["\u0275did"](1,114688,null,0,qS,[bt,Uh,nx,vc,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var VS=o["\u0275ccf"]("app-copy-ios-template",qS,LS,{},{},[]),BS=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getBinaries=function(n){return this.httpServer.get(n,"/computes/local/qemu/binaries")},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/qemu/images")},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),zS=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.qemuService=t,this.router=l,this.qemuTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.qemuService.getTemplates(this.server).subscribe(function(e){n.qemuTemplates=e.filter(function(n){return"qemu"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates",n.template_id,"copy"])},n}(),US=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function HS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function ZS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add QEMU VM template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/qemu/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function WS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function GS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,20,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](29,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](31,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color),n(e,28,0,o["\u0275nov"](e,29).role,o["\u0275nov"](e,29)._highlighted,o["\u0275nov"](e,29)._triggersSubmenu,o["\u0275nov"](e,29)._getTabIndex(),o["\u0275nov"](e,29).disabled.toString(),o["\u0275nov"](e,29).disabled||null),n(e,30,0,o["\u0275nov"](e,31).inline,"primary"!==o["\u0275nov"](e,31).color&&"accent"!==o["\u0275nov"](e,31).color&&"warn"!==o["\u0275nov"](e,31).color)})}function KS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,GS)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.qemuTemplates)},null)}function YS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,KS)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function $S(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["QEMU VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,HS)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,ZS)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,WS)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,YS)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.qemuTemplates.length),n(e,13,0,t.qemuTemplates.length),n(e,15,0,t.server)},null)}function XS(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-qemu-virtual-machines-templates",[],null,null,null,$S,US)),o["\u0275did"](1,114688,null,0,zS,[bt,Uh,BS,Rl],null,null)],function(n,e){n(e,1,0)},null)}var QS=o["\u0275ccf"]("app-qemu-virtual-machines-templates",zS,XS,{},{},[]),JS=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.qemuBinaries=[],this.templateName="",this.nameForm=this.formBuilder.group({templateName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.qemuService.getTemplate(n.server,t).subscribe(function(e){n.qemuTemplate=e,n.templateName="Copy of "+n.qemuTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var n=this;this.nameForm.invalid?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.template_id=Object(dg.v4)(),this.qemuTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(e){n.goBack()}))},n}(),nk=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function ek(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy QEMU VM template"])),(n()(),o["\u0275eld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.nameForm),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function tk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-qemu-virtual-machine-template",[],null,null,null,ek,nk)),o["\u0275did"](1,114688,null,0,JS,[bt,Uh,BS,vc,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var lk=o["\u0275ccf"]("app-copy-qemu-virtual-machine-template",JS,tk,{},{},[]),ok=function(){function n(){this.networkTypes=[],this.displayedColumns=[],this.closeConfiguratorEmitter=new o.EventEmitter,this.saveConfigurationEmitter=new o.EventEmitter}return n.prototype.cancelConfigureCustomAdapters=function(){this.closeConfiguratorEmitter.emit(!1)},n.prototype.configureCustomAdapters=function(){this.saveConfigurationEmitter.emit(this.adapters)},n}(),rk=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function ik(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Adapter number "]))],null,null)}function ak(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" Adapter "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.adapter_number)})}function uk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Port name "]))],null,null)}function sk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](2,null,[" Ethernet "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.adapter_number)})}function dk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Adapter type "]))],null,null)}function ck(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[14,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," (",") "]))],function(n,e){n(e,1,0,e.context.$implicit[0])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[1],e.context.$implicit[0])})}function pk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,13,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,0,null,null,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,8)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,8)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.adapters[n.context.index].adapter_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](5,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](7,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](8,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,14,{options:1}),o["\u0275qud"](603979776,15,{optionGroups:1}),o["\u0275qud"](603979776,16,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,ck)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,5,0,t.adapters[e.context.index].adapter_type),n(e,8,0,"Type"),n(e,13,0,t.networkTypes)},function(n,e){n(e,2,1,[o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending,o["\u0275nov"](e,8).id,o["\u0275nov"](e,8).tabIndex,o["\u0275nov"](e,8)._getAriaLabel(),o["\u0275nov"](e,8)._getAriaLabelledby(),o["\u0275nov"](e,8).required.toString(),o["\u0275nov"](e,8).disabled.toString(),o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).panelOpen?o["\u0275nov"](e,8)._optionIds:null,o["\u0275nov"](e,8).multiple,o["\u0275nov"](e,8)._ariaDescribedby||null,o["\u0275nov"](e,8)._getAriaActiveDescendant(),o["\u0275nov"](e,8).disabled,o["\u0275nov"](e,8).errorState,o["\u0275nov"](e,8).required,o["\u0275nov"](e,8).empty])})}function fk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function hk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function mk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,66,"div",[["class","configurator"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Custom adapters configuration"])),(n()(),o["\u0275eld"](5,0,null,null,61,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,52,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,51,"table",[["class","table mat-table"],["mat-table",""]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](9,2342912,null,4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,1,{_contentColumnDefs:1}),o["\u0275qud"](603979776,2,{_contentRowDefs:1}),o["\u0275qud"](603979776,3,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,4,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](14,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](16,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,5,{cell:0}),o["\u0275qud"](603979776,6,{headerCell:0}),o["\u0275qud"](603979776,7,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,ik)),o["\u0275did"](22,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[6,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,ak)),o["\u0275did"](25,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[5,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](27,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](29,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,8,{cell:0}),o["\u0275qud"](603979776,9,{headerCell:0}),o["\u0275qud"](603979776,10,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,uk)),o["\u0275did"](35,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[9,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,sk)),o["\u0275did"](38,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[8,4]],Tc,null,[$c]),(n()(),o["\u0275eld"](40,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](42,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,11,{cell:0}),o["\u0275qud"](603979776,12,{headerCell:0}),o["\u0275qud"](603979776,13,{footerCell:0}),o["\u0275prd"](2048,[[1,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,dk)),o["\u0275did"](48,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[12,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,pk)),o["\u0275did"](51,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[11,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,fk)),o["\u0275did"](54,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[3,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,hk)),o["\u0275did"](57,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[2,4]],qc,null,[tp]),(n()(),o["\u0275eld"](59,0,null,null,7,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](60,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.cancelConfigureCustomAdapters()&&l),l},pu,cu)),o["\u0275did"](61,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](63,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.configureCustomAdapters()&&l),l},pu,cu)),o["\u0275did"](64,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"])),(n()(),o["\u0275eld"](66,0,null,null,0,"br",[],null,null,null,null,null))],function(n,e){var t=e.component;n(e,9,0,t.adapters),n(e,16,0,"adapter_number"),n(e,29,0,"port_name"),n(e,42,0,"adapter_type"),n(e,54,0,t.displayedColumns),n(e,57,0,t.displayedColumns),n(e,64,0,"primary")},function(n,e){n(e,60,0,o["\u0275nov"](e,61).disabled||null,"NoopAnimations"===o["\u0275nov"](e,61)._animationMode),n(e,63,0,o["\u0275nov"](e,64).disabled||null,"NoopAnimations"===o["\u0275nov"](e,64)._animationMode)})}var vk=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","spice","spice+agent","none"]},n.prototype.getDiskInterfaces=function(){return["ide","sata","scsi","sd","mtd","floppy","pflash","virtio","none"]},n.prototype.getNetworkTypes=function(){return[["e1000","Intel Gigabit Ethernet"],["i82550","Intel i82550 Ethernet"],["i82551","Intel i82551 Ethernet"],["i82557a","Intel i82557A Ethernet"],["i82557b","Intel i82557B Ethernet"],["i82557c","Intel i82557C Ethernet"],["i82558a","Intel i82558A Ethernet"],["i82558b","Intel i82558B Ethernet"],["i82559a","Intel i82559A Ethernet"],["i82559b","Intel i82559B Ethernet"],["i82559c","Intel i82559C Ethernet"],["i82559er","Intel i82559ER Ethernet"],["i82562","Intel i82562 Ethernet"],["i82801","Intel i82801 Ethernet"],["ne2k_pci","NE2000 Ethernet"],["pcnet","AMD PCNet Ethernet"],["rtl8139","Realtek 8139 Ethernet"],["virtio","Legacy paravirtualized Network I/O"],["virtio-net-pci","Paravirtualized Network I/O"],["vmxnet3","VMWare Paravirtualized Ethernet v3"]]},n.prototype.getBootPriorities=function(){return[["HDD","c"],["CD/DVD-ROM","d"],["Network","n"],["HDD or Network","cn"],["HDD or CD/DVD-ROM","cd"]]},n.prototype.getOnCloseOptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getPriorities=function(){return["realtime","very high","high","normal","low","very low"]},n}(),gk=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.diskInterfaces=[],this.networkTypes=[],this.bootPriorities=[],this.onCloseOptions=[],this.categories=[],this.priorities=[],this.binaries=[],this.activateCpuThrottling=!0,this.isConfiguratorOpened=!1,this.displayedColumns=["adapter_number","port_name","adapter_type"],this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.qemuService.getTemplate(n.server,t).subscribe(function(t){n.qemuTemplate=t,n.fillCustomAdapters(),n.qemuService.getBinaries(e).subscribe(function(e){n.binaries=e})})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.diskInterfaces=this.configurationService.getDiskInterfaces(),this.networkTypes=this.configurationService.getNetworkTypes(),this.bootPriorities=this.configurationService.getBootPriorities(),this.onCloseOptions=this.configurationService.getOnCloseOptions(),this.categories=this.configurationService.getCategories(),this.priorities=this.configurationService.getPriorities()},n.prototype.uploadCdromImageFile=function(n){this.qemuTemplate.cdrom_image=n.target.files[0].name},n.prototype.uploadInitrdFile=function(n){this.qemuTemplate.initrd=n.target.files[0].name},n.prototype.uploadKernelImageFile=function(n){this.qemuTemplate.kernel_image=n.target.files[0].name},n.prototype.uploadBiosFile=function(n){this.qemuTemplate.bios_image=n.target.files[0].name},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.qemuTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.qemuTemplate.custom_adapters.forEach(function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})}))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.qemuTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.qemuTemplate.custom_adapters?this.qemuTemplate.custom_adapters:[];this.qemuTemplate.custom_adapters=[];for(var e=0;e<this.qemuTemplate.adapters;e++)this.qemuTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.activateCpuThrottling||(this.qemuTemplate.cpu_throttling=0),this.fillCustomAdapters(),this.qemuService.saveTemplate(this.server,this.qemuTemplate).subscribe(function(e){n.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.qemuTemplate.symbol=n},n}(),bk=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function _k(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[40,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function yk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[70,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.path)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)})}function wk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[82,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function Ck(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[94,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function xk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[106,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Sk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[128,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function kk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[149,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Ek(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[170,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Tk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[191,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Rk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[259,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," (",") "]))],function(n,e){n(e,1,0,e.context.$implicit[0])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[1],e.context.$implicit[0])})}function Ik(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,299,{_controlNonStatic:0}),o["\u0275qud"](335544320,300,{_controlStatic:0}),o["\u0275qud"](603979776,301,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,302,{_labelChildStatic:0}),o["\u0275qud"](603979776,303,{_placeholderChild:0}),o["\u0275qud"](603979776,304,{_errorChildren:1}),o["\u0275qud"](603979776,305,{_hintChildren:1}),o["\u0275qud"](603979776,306,{_prefixChildren:1}),o["\u0275qud"](603979776,307,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Perecentage of CPU allowed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cpu_throttling=t)&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](13,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](15,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](17,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](18,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[299,4],[300,4]],Pb,null,[d_])],function(n,e){n(e,15,0,e.component.qemuTemplate.cpu_throttling),n(e,18,0,"Perecentage of CPU allowed","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,17).ngClassUntouched,o["\u0275nov"](e,17).ngClassTouched,o["\u0275nov"](e,17).ngClassPristine,o["\u0275nov"](e,17).ngClassDirty,o["\u0275nov"](e,17).ngClassValid,o["\u0275nov"](e,17).ngClassInvalid,o["\u0275nov"](e,17).ngClassPending,o["\u0275nov"](e,18)._isServer,o["\u0275nov"](e,18).id,o["\u0275nov"](e,18).placeholder,o["\u0275nov"](e,18).disabled,o["\u0275nov"](e,18).required,o["\u0275nov"](e,18).readonly&&!o["\u0275nov"](e,18)._isNativeSelect||null,o["\u0275nov"](e,18)._ariaDescribedby||null,o["\u0275nov"](e,18).errorState,o["\u0275nov"](e,18).required.toString()])})}function Dk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[317,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Ok(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,869,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,861,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,239,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,3,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,61,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,13,{_controlNonStatic:0}),o["\u0275qud"](335544320,14,{_controlStatic:0}),o["\u0275qud"](603979776,15,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,16,{_labelChildStatic:0}),o["\u0275qud"](603979776,17,{_placeholderChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[13,4],[14,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,22,{_controlNonStatic:0}),o["\u0275qud"](335544320,23,{_controlStatic:0}),o["\u0275qud"](603979776,24,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,25,{_labelChildStatic:0}),o["\u0275qud"](603979776,26,{_placeholderChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4],[23,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,1,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](79,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](81,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](82,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](83,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,31,{_controlNonStatic:0}),o["\u0275qud"](335544320,32,{_controlStatic:0}),o["\u0275qud"](603979776,33,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,34,{_labelChildStatic:0}),o["\u0275qud"](603979776,35,{_placeholderChild:0}),o["\u0275qud"](603979776,36,{_errorChildren:1}),o["\u0275qud"](603979776,37,{_hintChildren:1}),o["\u0275qud"](603979776,38,{_prefixChildren:1}),o["\u0275qud"](603979776,39,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,99)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,99)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,99)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](96,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](98,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](99,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,40,{options:1}),o["\u0275qud"](603979776,41,{optionGroups:1}),o["\u0275qud"](603979776,42,{customTrigger:0}),o["\u0275prd"](2048,[[31,4],[32,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,_k)),o["\u0275did"](105,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](106,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](107,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,43,{_controlNonStatic:0}),o["\u0275qud"](335544320,44,{_controlStatic:0}),o["\u0275qud"](603979776,45,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,46,{_labelChildStatic:0}),o["\u0275qud"](603979776,47,{_placeholderChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](117,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","RAM"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,118)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,118).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,118)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,118)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,119).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,119).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,119).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,124)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,124)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](118,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](119,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](121,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](123,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](124,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[43,4],[44,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](126,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](127,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,52,{_controlNonStatic:0}),o["\u0275qud"](335544320,53,{_controlStatic:0}),o["\u0275qud"](603979776,54,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,55,{_labelChildStatic:0}),o["\u0275qud"](603979776,56,{_placeholderChild:0}),o["\u0275qud"](603979776,57,{_errorChildren:1}),o["\u0275qud"](603979776,58,{_hintChildren:1}),o["\u0275qud"](603979776,59,{_prefixChildren:1}),o["\u0275qud"](603979776,60,{_suffixChildren:1}),(n()(),o["\u0275eld"](137,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","vCPUs"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,138)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,138).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,138)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,138)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,139).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,139).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,139).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,144)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,144)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,144)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cpus=t)&&l),l},null,null)),o["\u0275did"](138,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](139,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](141,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](143,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](144,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[52,4],[53,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](146,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](147,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,61,{_controlNonStatic:0}),o["\u0275qud"](335544320,62,{_controlStatic:0}),o["\u0275qud"](603979776,63,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,64,{_labelChildStatic:0}),o["\u0275qud"](603979776,65,{_placeholderChild:0}),o["\u0275qud"](603979776,66,{_errorChildren:1}),o["\u0275qud"](603979776,67,{_hintChildren:1}),o["\u0275qud"](603979776,68,{_prefixChildren:1}),o["\u0275qud"](603979776,69,{_suffixChildren:1}),(n()(),o["\u0275eld"](157,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Qemu binary"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,162)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,162)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,162)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.qemu_path=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](159,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](161,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](162,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,70,{options:1}),o["\u0275qud"](603979776,71,{optionGroups:1}),o["\u0275qud"](603979776,72,{customTrigger:0}),o["\u0275prd"](2048,[[61,4],[62,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,yk)),o["\u0275did"](168,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](169,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](170,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,73,{_controlNonStatic:0}),o["\u0275qud"](335544320,74,{_controlStatic:0}),o["\u0275qud"](603979776,75,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,76,{_labelChildStatic:0}),o["\u0275qud"](603979776,77,{_placeholderChild:0}),o["\u0275qud"](603979776,78,{_errorChildren:1}),o["\u0275qud"](603979776,79,{_hintChildren:1}),o["\u0275qud"](603979776,80,{_prefixChildren:1}),o["\u0275qud"](603979776,81,{_suffixChildren:1}),(n()(),o["\u0275eld"](180,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Boot priority"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,185)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,185)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,185)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.boot_priority=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](182,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](184,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](185,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,82,{options:1}),o["\u0275qud"](603979776,83,{optionGroups:1}),o["\u0275qud"](603979776,84,{customTrigger:0}),o["\u0275prd"](2048,[[73,4],[74,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,wk)),o["\u0275did"](191,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](192,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](193,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,85,{_controlNonStatic:0}),o["\u0275qud"](335544320,86,{_controlStatic:0}),o["\u0275qud"](603979776,87,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,88,{_labelChildStatic:0}),o["\u0275qud"](603979776,89,{_placeholderChild:0}),o["\u0275qud"](603979776,90,{_errorChildren:1}),o["\u0275qud"](603979776,91,{_hintChildren:1}),o["\u0275qud"](603979776,92,{_prefixChildren:1}),o["\u0275qud"](603979776,93,{_suffixChildren:1}),(n()(),o["\u0275eld"](203,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,208)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,208)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,208)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.on_close=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](205,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](207,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](208,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,94,{options:1}),o["\u0275qud"](603979776,95,{optionGroups:1}),o["\u0275qud"](603979776,96,{customTrigger:0}),o["\u0275prd"](2048,[[85,4],[86,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Ck)),o["\u0275did"](214,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](215,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](216,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,97,{_controlNonStatic:0}),o["\u0275qud"](335544320,98,{_controlStatic:0}),o["\u0275qud"](603979776,99,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,100,{_labelChildStatic:0}),o["\u0275qud"](603979776,101,{_placeholderChild:0}),o["\u0275qud"](603979776,102,{_errorChildren:1}),o["\u0275qud"](603979776,103,{_hintChildren:1}),o["\u0275qud"](603979776,104,{_prefixChildren:1}),o["\u0275qud"](603979776,105,{_suffixChildren:1}),(n()(),o["\u0275eld"](226,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,231)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,231)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,231)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](228,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](230,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](231,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,106,{options:1}),o["\u0275qud"](603979776,107,{optionGroups:1}),o["\u0275qud"](603979776,108,{customTrigger:0}),o["\u0275prd"](2048,[[97,4],[98,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,xk)),o["\u0275did"](237,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](238,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](239,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](241,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](243,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](245,16777216,null,null,214,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](246,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,109,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](249,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,250)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,250)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,250)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](250,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](251,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](252,{value:0,params:1}),(n()(),o["\u0275eld"](253,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](254,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDD "])),(n()(),o["\u0275eld"](256,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](257,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](258,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](259,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](260,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](261,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDA (Primary Master) "])),(n()(),o["\u0275eld"](263,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](264,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](265,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](266,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,110,{_controlNonStatic:0}),o["\u0275qud"](335544320,111,{_controlStatic:0}),o["\u0275qud"](603979776,112,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,113,{_labelChildStatic:0}),o["\u0275qud"](603979776,114,{_placeholderChild:0}),o["\u0275qud"](603979776,115,{_errorChildren:1}),o["\u0275qud"](603979776,116,{_hintChildren:1}),o["\u0275qud"](603979776,117,{_prefixChildren:1}),o["\u0275qud"](603979776,118,{_suffixChildren:1}),(n()(),o["\u0275eld"](276,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,277)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,277).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,277)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,277)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,282)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,282)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,282)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hda_disk_image=t)&&l),l},null,null)),o["\u0275did"](277,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](279,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](281,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](282,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[110,4],[111,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](284,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](285,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,119,{_controlNonStatic:0}),o["\u0275qud"](335544320,120,{_controlStatic:0}),o["\u0275qud"](603979776,121,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,122,{_labelChildStatic:0}),o["\u0275qud"](603979776,123,{_placeholderChild:0}),o["\u0275qud"](603979776,124,{_errorChildren:1}),o["\u0275qud"](603979776,125,{_hintChildren:1}),o["\u0275qud"](603979776,126,{_prefixChildren:1}),o["\u0275qud"](603979776,127,{_suffixChildren:1}),(n()(),o["\u0275eld"](295,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,300)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,300)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,300)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hda_disk_interface=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](297,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](299,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](300,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,128,{options:1}),o["\u0275qud"](603979776,129,{optionGroups:1}),o["\u0275qud"](603979776,130,{customTrigger:0}),o["\u0275prd"](2048,[[119,4],[120,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Sk)),o["\u0275did"](306,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](307,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](308,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](309,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](310,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](311,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](312,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDB (Primary Slave) "])),(n()(),o["\u0275eld"](314,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](315,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](316,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](317,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,131,{_controlNonStatic:0}),o["\u0275qud"](335544320,132,{_controlStatic:0}),o["\u0275qud"](603979776,133,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,134,{_labelChildStatic:0}),o["\u0275qud"](603979776,135,{_placeholderChild:0}),o["\u0275qud"](603979776,136,{_errorChildren:1}),o["\u0275qud"](603979776,137,{_hintChildren:1}),o["\u0275qud"](603979776,138,{_prefixChildren:1}),o["\u0275qud"](603979776,139,{_suffixChildren:1}),(n()(),o["\u0275eld"](327,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,328)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,328).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,328)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,328)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,333)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,333)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,333)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdb_disk_image=t)&&l),l},null,null)),o["\u0275did"](328,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](330,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](332,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](333,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[131,4],[132,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](335,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](336,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,140,{_controlNonStatic:0}),o["\u0275qud"](335544320,141,{_controlStatic:0}),o["\u0275qud"](603979776,142,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,143,{_labelChildStatic:0}),o["\u0275qud"](603979776,144,{_placeholderChild:0}),o["\u0275qud"](603979776,145,{_errorChildren:1}),o["\u0275qud"](603979776,146,{_hintChildren:1}),o["\u0275qud"](603979776,147,{_prefixChildren:1}),o["\u0275qud"](603979776,148,{_suffixChildren:1}),(n()(),o["\u0275eld"](346,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,351)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,351)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,351)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdb_disk_interface=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](348,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](350,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](351,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,149,{options:1}),o["\u0275qud"](603979776,150,{optionGroups:1}),o["\u0275qud"](603979776,151,{customTrigger:0}),o["\u0275prd"](2048,[[140,4],[141,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,kk)),o["\u0275did"](357,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](358,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](359,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](360,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](361,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](362,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](363,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDC (Secondary Master) "])),(n()(),o["\u0275eld"](365,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](366,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](367,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](368,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,152,{_controlNonStatic:0}),o["\u0275qud"](335544320,153,{_controlStatic:0}),o["\u0275qud"](603979776,154,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,155,{_labelChildStatic:0}),o["\u0275qud"](603979776,156,{_placeholderChild:0}),o["\u0275qud"](603979776,157,{_errorChildren:1}),o["\u0275qud"](603979776,158,{_hintChildren:1}),o["\u0275qud"](603979776,159,{_prefixChildren:1}),o["\u0275qud"](603979776,160,{_suffixChildren:1}),(n()(),o["\u0275eld"](378,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,379)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,379).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,379)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,379)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,384)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,384)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,384)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdc_disk_image=t)&&l),l},null,null)),o["\u0275did"](379,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](381,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](383,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](384,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[152,4],[153,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](386,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](387,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,161,{_controlNonStatic:0}),o["\u0275qud"](335544320,162,{_controlStatic:0}),o["\u0275qud"](603979776,163,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,164,{_labelChildStatic:0}),o["\u0275qud"](603979776,165,{_placeholderChild:0}),o["\u0275qud"](603979776,166,{_errorChildren:1}),o["\u0275qud"](603979776,167,{_hintChildren:1}),o["\u0275qud"](603979776,168,{_prefixChildren:1}),o["\u0275qud"](603979776,169,{_suffixChildren:1}),(n()(),o["\u0275eld"](397,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,402)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,402)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,402)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdc_disk_interface=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](399,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](401,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](402,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,170,{options:1}),o["\u0275qud"](603979776,171,{optionGroups:1}),o["\u0275qud"](603979776,172,{customTrigger:0}),o["\u0275prd"](2048,[[161,4],[162,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Ek)),o["\u0275did"](408,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](409,0,null,1,50,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](410,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](411,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](412,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](413,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](414,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" HDD (Secondary Slave) "])),(n()(),o["\u0275eld"](416,0,null,0,43,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](417,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](418,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](419,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,173,{_controlNonStatic:0}),o["\u0275qud"](335544320,174,{_controlStatic:0}),o["\u0275qud"](603979776,175,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,176,{_labelChildStatic:0}),o["\u0275qud"](603979776,177,{_placeholderChild:0}),o["\u0275qud"](603979776,178,{_errorChildren:1}),o["\u0275qud"](603979776,179,{_hintChildren:1}),o["\u0275qud"](603979776,180,{_prefixChildren:1}),o["\u0275qud"](603979776,181,{_suffixChildren:1}),(n()(),o["\u0275eld"](429,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Disk image"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,430)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,430).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,430)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,430)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,435)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,435)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,435)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdd_disk_image=t)&&l),l},null,null)),o["\u0275did"](430,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](432,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](434,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](435,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[173,4],[174,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](437,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](438,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,182,{_controlNonStatic:0}),o["\u0275qud"](335544320,183,{_controlStatic:0}),o["\u0275qud"](603979776,184,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,185,{_labelChildStatic:0}),o["\u0275qud"](603979776,186,{_placeholderChild:0}),o["\u0275qud"](603979776,187,{_errorChildren:1}),o["\u0275qud"](603979776,188,{_hintChildren:1}),o["\u0275qud"](603979776,189,{_prefixChildren:1}),o["\u0275qud"](603979776,190,{_suffixChildren:1}),(n()(),o["\u0275eld"](448,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Disk interface"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,453)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,453)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,453)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.hdd_disk_interface=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](450,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](452,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](453,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,191,{options:1}),o["\u0275qud"](603979776,192,{optionGroups:1}),o["\u0275qud"](603979776,193,{customTrigger:0}),o["\u0275prd"](2048,[[182,4],[183,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Tk)),o["\u0275did"](459,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](460,16777216,null,null,34,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](461,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,194,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](464,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,465)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,465)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,465)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](465,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](466,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](467,{value:0,params:1}),(n()(),o["\u0275eld"](468,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](469,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" CD/DVD "])),(n()(),o["\u0275eld"](471,0,null,1,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](472,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,475).click()&&l),l},pu,cu)),o["\u0275did"](473,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](475,0,[["filecdrom",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadCdromImageFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](476,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](477,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,195,{_controlNonStatic:0}),o["\u0275qud"](335544320,196,{_controlStatic:0}),o["\u0275qud"](603979776,197,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,198,{_labelChildStatic:0}),o["\u0275qud"](603979776,199,{_placeholderChild:0}),o["\u0275qud"](603979776,200,{_errorChildren:1}),o["\u0275qud"](603979776,201,{_hintChildren:1}),o["\u0275qud"](603979776,202,{_prefixChildren:1}),o["\u0275qud"](603979776,203,{_suffixChildren:1}),(n()(),o["\u0275eld"](487,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Image"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,488)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,488).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,488)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,488)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,493)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,493)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,493)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.cdrom_image=t)&&l),l},null,null)),o["\u0275did"](488,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](490,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](492,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](493,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[195,4],[196,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](495,16777216,null,null,141,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](496,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,204,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](499,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,500)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,500)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,500)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](500,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](501,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](502,{value:0,params:1}),(n()(),o["\u0275eld"](503,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](504,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](506,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](507,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,205,{_controlNonStatic:0}),o["\u0275qud"](335544320,206,{_controlStatic:0}),o["\u0275qud"](603979776,207,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,208,{_labelChildStatic:0}),o["\u0275qud"](603979776,209,{_placeholderChild:0}),o["\u0275qud"](603979776,210,{_errorChildren:1}),o["\u0275qud"](603979776,211,{_hintChildren:1}),o["\u0275qud"](603979776,212,{_prefixChildren:1}),o["\u0275qud"](603979776,213,{_suffixChildren:1}),(n()(),o["\u0275eld"](517,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,518)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,518).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,518)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,518)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,519).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,519).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,519).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,524)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,524)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,524)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](518,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](519,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](521,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](523,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](524,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[205,4],[206,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](526,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](527,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,214,{_controlNonStatic:0}),o["\u0275qud"](335544320,215,{_controlStatic:0}),o["\u0275qud"](603979776,216,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,217,{_labelChildStatic:0}),o["\u0275qud"](603979776,218,{_placeholderChild:0}),o["\u0275qud"](603979776,219,{_errorChildren:1}),o["\u0275qud"](603979776,220,{_hintChildren:1}),o["\u0275qud"](603979776,221,{_prefixChildren:1}),o["\u0275qud"](603979776,222,{_suffixChildren:1}),(n()(),o["\u0275eld"](537,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,538)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,538).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,538)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,538)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,543)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,543)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,543)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](538,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](540,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](542,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](543,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[214,4],[215,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](545,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](546,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,223,{_controlNonStatic:0}),o["\u0275qud"](335544320,224,{_controlStatic:0}),o["\u0275qud"](603979776,225,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,226,{_labelChildStatic:0}),o["\u0275qud"](603979776,227,{_placeholderChild:0}),o["\u0275qud"](603979776,228,{_errorChildren:1}),o["\u0275qud"](603979776,229,{_hintChildren:1}),o["\u0275qud"](603979776,230,{_prefixChildren:1}),o["\u0275qud"](603979776,231,{_suffixChildren:1}),(n()(),o["\u0275eld"](556,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,557)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,557).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,557)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,557)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,562)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,562)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,562)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](557,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](559,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](561,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](562,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[223,4],[224,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](564,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](565,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,232,{_controlNonStatic:0}),o["\u0275qud"](335544320,233,{_controlStatic:0}),o["\u0275qud"](603979776,234,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,235,{_labelChildStatic:0}),o["\u0275qud"](603979776,236,{_placeholderChild:0}),o["\u0275qud"](603979776,237,{_errorChildren:1}),o["\u0275qud"](603979776,238,{_hintChildren:1}),o["\u0275qud"](603979776,239,{_prefixChildren:1}),o["\u0275qud"](603979776,240,{_suffixChildren:1}),(n()(),o["\u0275eld"](575,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Segment size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,576)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,576).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,576)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,576)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,577).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,577).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,577).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,582)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,582)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,582)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](576,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](577,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](579,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](581,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](582,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[232,4],[233,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](584,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](585,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,241,{_controlNonStatic:0}),o["\u0275qud"](335544320,242,{_controlStatic:0}),o["\u0275qud"](603979776,243,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,244,{_labelChildStatic:0}),o["\u0275qud"](603979776,245,{_placeholderChild:0}),o["\u0275qud"](603979776,246,{_errorChildren:1}),o["\u0275qud"](603979776,247,{_hintChildren:1}),o["\u0275qud"](603979776,248,{_prefixChildren:1}),o["\u0275qud"](603979776,249,{_suffixChildren:1}),(n()(),o["\u0275eld"](595,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Base MAC"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,596)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,596).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,596)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,596)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,601)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,601)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,601)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.mac_address=t)&&l),l},null,null)),o["\u0275did"](596,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](598,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](600,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](601,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[241,4],[242,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](603,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](604,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,250,{_controlNonStatic:0}),o["\u0275qud"](335544320,251,{_controlStatic:0}),o["\u0275qud"](603979776,252,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,253,{_labelChildStatic:0}),o["\u0275qud"](603979776,254,{_placeholderChild:0}),o["\u0275qud"](603979776,255,{_errorChildren:1}),o["\u0275qud"](603979776,256,{_hintChildren:1}),o["\u0275qud"](603979776,257,{_prefixChildren:1}),o["\u0275qud"](603979776,258,{_suffixChildren:1}),(n()(),o["\u0275eld"](614,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,619)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,619)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,619)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.adapter_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](616,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](618,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](619,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,259,{options:1}),o["\u0275qud"](603979776,260,{optionGroups:1}),o["\u0275qud"](603979776,261,{customTrigger:0}),o["\u0275prd"](2048,[[250,4],[251,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Rk)),o["\u0275did"](625,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](626,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l},pu,cu)),o["\u0275did"](627,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](629,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](630,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.legacy_networking=t)&&l),l},Mb,Nb)),o["\u0275did"](631,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](633,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](635,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use the legacy networking mode "])),(n()(),o["\u0275eld"](637,16777216,null,null,195,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](638,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,262,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](641,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,642)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,642)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,642)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](642,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](643,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](644,{value:0,params:1}),(n()(),o["\u0275eld"](645,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](646,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](648,0,null,1,75,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](649,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](650,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](651,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](652,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](653,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Linux boot specific settings "])),(n()(),o["\u0275eld"](655,0,null,0,68,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](656,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](657,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](658,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,661).click()&&l),l},pu,cu)),o["\u0275did"](659,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](661,0,[["fileinitrd",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadInitrdFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](662,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](663,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,263,{_controlNonStatic:0}),o["\u0275qud"](335544320,264,{_controlStatic:0}),o["\u0275qud"](603979776,265,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,266,{_labelChildStatic:0}),o["\u0275qud"](603979776,267,{_placeholderChild:0}),o["\u0275qud"](603979776,268,{_errorChildren:1}),o["\u0275qud"](603979776,269,{_hintChildren:1}),o["\u0275qud"](603979776,270,{_prefixChildren:1}),o["\u0275qud"](603979776,271,{_suffixChildren:1}),(n()(),o["\u0275eld"](673,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Initial RAM disk (initrd)"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,674)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,674).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,674)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,674)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,679)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,679)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,679)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.initrd=t)&&l),l},null,null)),o["\u0275did"](674,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](676,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](678,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](679,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[263,4],[264,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](681,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](682,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.filekerenelimage.click()&&l),l},pu,cu)),o["\u0275did"](683,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](685,0,[["filekernelimage",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadKernelImageFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](686,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](687,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,272,{_controlNonStatic:0}),o["\u0275qud"](335544320,273,{_controlStatic:0}),o["\u0275qud"](603979776,274,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,275,{_labelChildStatic:0}),o["\u0275qud"](603979776,276,{_placeholderChild:0}),o["\u0275qud"](603979776,277,{_errorChildren:1}),o["\u0275qud"](603979776,278,{_hintChildren:1}),o["\u0275qud"](603979776,279,{_prefixChildren:1}),o["\u0275qud"](603979776,280,{_suffixChildren:1}),(n()(),o["\u0275eld"](697,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel image"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,698)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,698).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,698)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,698)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,703)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,703)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,703)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.kernel_image=t)&&l),l},null,null)),o["\u0275did"](698,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](700,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](702,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](703,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[272,4],[273,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](705,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](706,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,281,{_controlNonStatic:0}),o["\u0275qud"](335544320,282,{_controlStatic:0}),o["\u0275qud"](603979776,283,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,284,{_labelChildStatic:0}),o["\u0275qud"](603979776,285,{_placeholderChild:0}),o["\u0275qud"](603979776,286,{_errorChildren:1}),o["\u0275qud"](603979776,287,{_hintChildren:1}),o["\u0275qud"](603979776,288,{_prefixChildren:1}),o["\u0275qud"](603979776,289,{_suffixChildren:1}),(n()(),o["\u0275eld"](716,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Kernel command line"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,717)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,717).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,717)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,717)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,722)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,722)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,722)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.kernel_command_line=t)&&l),l},null,null)),o["\u0275did"](717,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](719,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](721,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](722,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[281,4],[282,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](724,0,null,1,32,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](725,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](726,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](727,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](728,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](729,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Bios "])),(n()(),o["\u0275eld"](731,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](732,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](733,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](734,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,737).click()&&l),l},pu,cu)),o["\u0275did"](735,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](737,0,[["filebios",1]],null,0,"input",[["class","nonvisible"],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadBiosFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](738,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](739,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,290,{_controlNonStatic:0}),o["\u0275qud"](335544320,291,{_controlStatic:0}),o["\u0275qud"](603979776,292,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,293,{_labelChildStatic:0}),o["\u0275qud"](603979776,294,{_placeholderChild:0}),o["\u0275qud"](603979776,295,{_errorChildren:1}),o["\u0275qud"](603979776,296,{_hintChildren:1}),o["\u0275qud"](603979776,297,{_prefixChildren:1}),o["\u0275qud"](603979776,298,{_suffixChildren:1}),(n()(),o["\u0275eld"](749,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bios image"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,750)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,750).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,750)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,750)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,755)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,755)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,755)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.bios_image=t)&&l),l},null,null)),o["\u0275did"](750,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](752,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](754,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](755,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[290,4],[291,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](757,0,null,1,40,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](758,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](759,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](760,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](761,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](762,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Optimization "])),(n()(),o["\u0275eld"](764,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](765,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](766,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.activateCpuThrottling=t)&&l),l},Mb,Nb)),o["\u0275did"](767,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](769,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](771,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Activate CPU throttling "])),(n()(),o["\u0275and"](16777216,null,null,1,null,Ik)),o["\u0275did"](774,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](775,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](776,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,308,{_controlNonStatic:0}),o["\u0275qud"](335544320,309,{_controlStatic:0}),o["\u0275qud"](603979776,310,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,311,{_labelChildStatic:0}),o["\u0275qud"](603979776,312,{_placeholderChild:0}),o["\u0275qud"](603979776,313,{_errorChildren:1}),o["\u0275qud"](603979776,314,{_hintChildren:1}),o["\u0275qud"](603979776,315,{_prefixChildren:1}),o["\u0275qud"](603979776,316,{_suffixChildren:1}),(n()(),o["\u0275eld"](786,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Process priority"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,791)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,791)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,791)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.process_priority=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](788,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](790,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](791,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,317,{options:1}),o["\u0275qud"](603979776,318,{optionGroups:1}),o["\u0275qud"](603979776,319,{customTrigger:0}),o["\u0275prd"](2048,[[308,4],[309,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Dk)),o["\u0275did"](797,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](798,0,null,1,34,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](799,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](800,0,null,0,1,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),o["\u0275did"](801,16384,null,0,fp,[],null,null),(n()(),o["\u0275eld"](802,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),o["\u0275did"](803,16384,null,0,hp,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Additional settings "])),(n()(),o["\u0275eld"](805,0,null,0,27,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),o["\u0275did"](806,16384,null,0,pp,[],null,null),(n()(),o["\u0275eld"](807,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](808,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,320,{_controlNonStatic:0}),o["\u0275qud"](335544320,321,{_controlStatic:0}),o["\u0275qud"](603979776,322,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,323,{_labelChildStatic:0}),o["\u0275qud"](603979776,324,{_placeholderChild:0}),o["\u0275qud"](603979776,325,{_errorChildren:1}),o["\u0275qud"](603979776,326,{_hintChildren:1}),o["\u0275qud"](603979776,327,{_prefixChildren:1}),o["\u0275qud"](603979776,328,{_suffixChildren:1}),(n()(),o["\u0275eld"](818,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Options"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,819)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,819).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,819)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,819)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,824)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,824)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,824)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.options=t)&&l),l},null,null)),o["\u0275did"](819,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](821,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](823,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](824,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[320,4],[321,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](826,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.qemuTemplate.linked_clone=t)&&l),l},Mb,Nb)),o["\u0275did"](827,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](829,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](831,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM "])),(n()(),o["\u0275eld"](833,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](834,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,329,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](837,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,838)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,838)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,838)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](838,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](839,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](840,{value:0,params:1}),(n()(),o["\u0275eld"](841,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](842,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](844,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](845,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,330,{_controlNonStatic:0}),o["\u0275qud"](335544320,331,{_controlStatic:0}),o["\u0275qud"](603979776,332,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,333,{_labelChildStatic:0}),o["\u0275qud"](603979776,334,{_placeholderChild:0}),o["\u0275qud"](603979776,335,{_errorChildren:1}),o["\u0275qud"](603979776,336,{_hintChildren:1}),o["\u0275qud"](603979776,337,{_prefixChildren:1}),o["\u0275qud"](603979776,338,{_suffixChildren:1}),(n()(),o["\u0275eld"](855,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,856)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,856).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,856)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,856)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,861)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,861)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,861)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](856,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](858,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](860,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](861,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[330,4],[331,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](863,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](864,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](865,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](867,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](868,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.qemuTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.qemuTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.qemuTemplate.symbol),n(e,76,0,"Symbol","text"),n(e,96,0,t.qemuTemplate.category),n(e,99,0,"Category"),n(e,105,0,t.categories),n(e,121,0,t.qemuTemplate.ram),n(e,124,0,"RAM","number"),n(e,141,0,t.qemuTemplate.cpus),n(e,144,0,"vCPUs","number"),n(e,159,0,t.qemuTemplate.qemu_path),n(e,162,0,"Qemu binary"),n(e,168,0,t.binaries),n(e,182,0,t.qemuTemplate.boot_priority),n(e,185,0,"Boot priority"),n(e,191,0,t.bootPriorities),n(e,205,0,t.qemuTemplate.on_close),n(e,208,0,"On close"),n(e,214,0,t.onCloseOptions),n(e,228,0,t.qemuTemplate.console_type),n(e,231,0,"Console type"),n(e,237,0,t.consoleTypes),n(e,241,0,t.qemuTemplate.console_auto_start),n(e,279,0,t.qemuTemplate.hda_disk_image),n(e,282,0,"Disk image"),n(e,297,0,t.qemuTemplate.hda_disk_interface),n(e,300,0,"Disk interface"),n(e,306,0,t.diskInterfaces),n(e,330,0,t.qemuTemplate.hdb_disk_image),n(e,333,0,"Disk image"),n(e,348,0,t.qemuTemplate.hdb_disk_interface),n(e,351,0,"Disk interface"),n(e,357,0,t.diskInterfaces),n(e,381,0,t.qemuTemplate.hdc_disk_image),n(e,384,0,"Disk image"),n(e,399,0,t.qemuTemplate.hdc_disk_interface),n(e,402,0,"Disk interface"),n(e,408,0,t.diskInterfaces),n(e,432,0,t.qemuTemplate.hdd_disk_image),n(e,435,0,"Disk image"),n(e,450,0,t.qemuTemplate.hdd_disk_interface),n(e,453,0,"Disk interface"),n(e,459,0,t.diskInterfaces),n(e,473,0,"primary"),n(e,490,0,t.qemuTemplate.cdrom_image),n(e,493,0,"Image","text"),n(e,521,0,t.qemuTemplate.adapters),n(e,524,0,"Adapters","number"),n(e,540,0,t.qemuTemplate.first_port_name),n(e,543,0,"First port name","text"),n(e,559,0,t.qemuTemplate.port_name_format),n(e,562,0,"Name format","text"),n(e,579,0,t.qemuTemplate.port_segment_size),n(e,582,0,"Segment size","number"),n(e,598,0,t.qemuTemplate.mac_address),n(e,601,0,"Base MAC","text"),n(e,616,0,t.qemuTemplate.adapter_type),n(e,619,0,"Type"),n(e,625,0,t.networkTypes),n(e,633,0,t.qemuTemplate.legacy_networking),n(e,659,0,"primary"),n(e,676,0,t.qemuTemplate.initrd),n(e,679,0,"Initial RAM disk (initrd)","text"),n(e,683,0,"primary"),n(e,700,0,t.qemuTemplate.kernel_image),n(e,703,0,"Kernel image","text"),n(e,719,0,t.qemuTemplate.kernel_command_line),n(e,722,0,"Kernel command line","text"),n(e,735,0,"primary"),n(e,752,0,t.qemuTemplate.bios_image),n(e,755,0,"Bios image","text"),n(e,769,0,t.activateCpuThrottling),n(e,774,0,t.activateCpuThrottling),n(e,788,0,t.qemuTemplate.process_priority),n(e,791,0,"Process priority"),n(e,797,0,t.priorities),n(e,821,0,t.qemuTemplate.options),n(e,824,0,"Options","text"),n(e,829,0,t.qemuTemplate.linked_clone),n(e,858,0,t.qemuTemplate.usage),n(e,861,0,"text"),n(e,868,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,78,0,o["\u0275nov"](e,79).disabled||null,"NoopAnimations"===o["\u0275nov"](e,79)._animationMode),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,98).ngClassUntouched,o["\u0275nov"](e,98).ngClassTouched,o["\u0275nov"](e,98).ngClassPristine,o["\u0275nov"](e,98).ngClassDirty,o["\u0275nov"](e,98).ngClassValid,o["\u0275nov"](e,98).ngClassInvalid,o["\u0275nov"](e,98).ngClassPending,o["\u0275nov"](e,99).id,o["\u0275nov"](e,99).tabIndex,o["\u0275nov"](e,99)._getAriaLabel(),o["\u0275nov"](e,99)._getAriaLabelledby(),o["\u0275nov"](e,99).required.toString(),o["\u0275nov"](e,99).disabled.toString(),o["\u0275nov"](e,99).errorState,o["\u0275nov"](e,99).panelOpen?o["\u0275nov"](e,99)._optionIds:null,o["\u0275nov"](e,99).multiple,o["\u0275nov"](e,99)._ariaDescribedby||null,o["\u0275nov"](e,99)._getAriaActiveDescendant(),o["\u0275nov"](e,99).disabled,o["\u0275nov"](e,99).errorState,o["\u0275nov"](e,99).required,o["\u0275nov"](e,99).empty]),n(e,106,1,["standard"==o["\u0275nov"](e,107).appearance,"fill"==o["\u0275nov"](e,107).appearance,"outline"==o["\u0275nov"](e,107).appearance,"legacy"==o["\u0275nov"](e,107).appearance,o["\u0275nov"](e,107)._control.errorState,o["\u0275nov"](e,107)._canLabelFloat,o["\u0275nov"](e,107)._shouldLabelFloat(),o["\u0275nov"](e,107)._hasFloatingLabel(),o["\u0275nov"](e,107)._hideControlPlaceholder(),o["\u0275nov"](e,107)._control.disabled,o["\u0275nov"](e,107)._control.autofilled,o["\u0275nov"](e,107)._control.focused,"accent"==o["\u0275nov"](e,107).color,"warn"==o["\u0275nov"](e,107).color,o["\u0275nov"](e,107)._shouldForward("untouched"),o["\u0275nov"](e,107)._shouldForward("touched"),o["\u0275nov"](e,107)._shouldForward("pristine"),o["\u0275nov"](e,107)._shouldForward("dirty"),o["\u0275nov"](e,107)._shouldForward("valid"),o["\u0275nov"](e,107)._shouldForward("invalid"),o["\u0275nov"](e,107)._shouldForward("pending"),!o["\u0275nov"](e,107)._animationsEnabled]),n(e,117,1,[o["\u0275nov"](e,123).ngClassUntouched,o["\u0275nov"](e,123).ngClassTouched,o["\u0275nov"](e,123).ngClassPristine,o["\u0275nov"](e,123).ngClassDirty,o["\u0275nov"](e,123).ngClassValid,o["\u0275nov"](e,123).ngClassInvalid,o["\u0275nov"](e,123).ngClassPending,o["\u0275nov"](e,124)._isServer,o["\u0275nov"](e,124).id,o["\u0275nov"](e,124).placeholder,o["\u0275nov"](e,124).disabled,o["\u0275nov"](e,124).required,o["\u0275nov"](e,124).readonly&&!o["\u0275nov"](e,124)._isNativeSelect||null,o["\u0275nov"](e,124)._ariaDescribedby||null,o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).required.toString()]),n(e,126,1,["standard"==o["\u0275nov"](e,127).appearance,"fill"==o["\u0275nov"](e,127).appearance,"outline"==o["\u0275nov"](e,127).appearance,"legacy"==o["\u0275nov"](e,127).appearance,o["\u0275nov"](e,127)._control.errorState,o["\u0275nov"](e,127)._canLabelFloat,o["\u0275nov"](e,127)._shouldLabelFloat(),o["\u0275nov"](e,127)._hasFloatingLabel(),o["\u0275nov"](e,127)._hideControlPlaceholder(),o["\u0275nov"](e,127)._control.disabled,o["\u0275nov"](e,127)._control.autofilled,o["\u0275nov"](e,127)._control.focused,"accent"==o["\u0275nov"](e,127).color,"warn"==o["\u0275nov"](e,127).color,o["\u0275nov"](e,127)._shouldForward("untouched"),o["\u0275nov"](e,127)._shouldForward("touched"),o["\u0275nov"](e,127)._shouldForward("pristine"),o["\u0275nov"](e,127)._shouldForward("dirty"),o["\u0275nov"](e,127)._shouldForward("valid"),o["\u0275nov"](e,127)._shouldForward("invalid"),o["\u0275nov"](e,127)._shouldForward("pending"),!o["\u0275nov"](e,127)._animationsEnabled]),n(e,137,1,[o["\u0275nov"](e,143).ngClassUntouched,o["\u0275nov"](e,143).ngClassTouched,o["\u0275nov"](e,143).ngClassPristine,o["\u0275nov"](e,143).ngClassDirty,o["\u0275nov"](e,143).ngClassValid,o["\u0275nov"](e,143).ngClassInvalid,o["\u0275nov"](e,143).ngClassPending,o["\u0275nov"](e,144)._isServer,o["\u0275nov"](e,144).id,o["\u0275nov"](e,144).placeholder,o["\u0275nov"](e,144).disabled,o["\u0275nov"](e,144).required,o["\u0275nov"](e,144).readonly&&!o["\u0275nov"](e,144)._isNativeSelect||null,o["\u0275nov"](e,144)._ariaDescribedby||null,o["\u0275nov"](e,144).errorState,o["\u0275nov"](e,144).required.toString()]),n(e,146,1,["standard"==o["\u0275nov"](e,147).appearance,"fill"==o["\u0275nov"](e,147).appearance,"outline"==o["\u0275nov"](e,147).appearance,"legacy"==o["\u0275nov"](e,147).appearance,o["\u0275nov"](e,147)._control.errorState,o["\u0275nov"](e,147)._canLabelFloat,o["\u0275nov"](e,147)._shouldLabelFloat(),o["\u0275nov"](e,147)._hasFloatingLabel(),o["\u0275nov"](e,147)._hideControlPlaceholder(),o["\u0275nov"](e,147)._control.disabled,o["\u0275nov"](e,147)._control.autofilled,o["\u0275nov"](e,147)._control.focused,"accent"==o["\u0275nov"](e,147).color,"warn"==o["\u0275nov"](e,147).color,o["\u0275nov"](e,147)._shouldForward("untouched"),o["\u0275nov"](e,147)._shouldForward("touched"),o["\u0275nov"](e,147)._shouldForward("pristine"),o["\u0275nov"](e,147)._shouldForward("dirty"),o["\u0275nov"](e,147)._shouldForward("valid"),o["\u0275nov"](e,147)._shouldForward("invalid"),o["\u0275nov"](e,147)._shouldForward("pending"),!o["\u0275nov"](e,147)._animationsEnabled]),n(e,157,1,[o["\u0275nov"](e,161).ngClassUntouched,o["\u0275nov"](e,161).ngClassTouched,o["\u0275nov"](e,161).ngClassPristine,o["\u0275nov"](e,161).ngClassDirty,o["\u0275nov"](e,161).ngClassValid,o["\u0275nov"](e,161).ngClassInvalid,o["\u0275nov"](e,161).ngClassPending,o["\u0275nov"](e,162).id,o["\u0275nov"](e,162).tabIndex,o["\u0275nov"](e,162)._getAriaLabel(),o["\u0275nov"](e,162)._getAriaLabelledby(),o["\u0275nov"](e,162).required.toString(),o["\u0275nov"](e,162).disabled.toString(),o["\u0275nov"](e,162).errorState,o["\u0275nov"](e,162).panelOpen?o["\u0275nov"](e,162)._optionIds:null,o["\u0275nov"](e,162).multiple,o["\u0275nov"](e,162)._ariaDescribedby||null,o["\u0275nov"](e,162)._getAriaActiveDescendant(),o["\u0275nov"](e,162).disabled,o["\u0275nov"](e,162).errorState,o["\u0275nov"](e,162).required,o["\u0275nov"](e,162).empty]),n(e,169,1,["standard"==o["\u0275nov"](e,170).appearance,"fill"==o["\u0275nov"](e,170).appearance,"outline"==o["\u0275nov"](e,170).appearance,"legacy"==o["\u0275nov"](e,170).appearance,o["\u0275nov"](e,170)._control.errorState,o["\u0275nov"](e,170)._canLabelFloat,o["\u0275nov"](e,170)._shouldLabelFloat(),o["\u0275nov"](e,170)._hasFloatingLabel(),o["\u0275nov"](e,170)._hideControlPlaceholder(),o["\u0275nov"](e,170)._control.disabled,o["\u0275nov"](e,170)._control.autofilled,o["\u0275nov"](e,170)._control.focused,"accent"==o["\u0275nov"](e,170).color,"warn"==o["\u0275nov"](e,170).color,o["\u0275nov"](e,170)._shouldForward("untouched"),o["\u0275nov"](e,170)._shouldForward("touched"),o["\u0275nov"](e,170)._shouldForward("pristine"),o["\u0275nov"](e,170)._shouldForward("dirty"),o["\u0275nov"](e,170)._shouldForward("valid"),o["\u0275nov"](e,170)._shouldForward("invalid"),o["\u0275nov"](e,170)._shouldForward("pending"),!o["\u0275nov"](e,170)._animationsEnabled]),n(e,180,1,[o["\u0275nov"](e,184).ngClassUntouched,o["\u0275nov"](e,184).ngClassTouched,o["\u0275nov"](e,184).ngClassPristine,o["\u0275nov"](e,184).ngClassDirty,o["\u0275nov"](e,184).ngClassValid,o["\u0275nov"](e,184).ngClassInvalid,o["\u0275nov"](e,184).ngClassPending,o["\u0275nov"](e,185).id,o["\u0275nov"](e,185).tabIndex,o["\u0275nov"](e,185)._getAriaLabel(),o["\u0275nov"](e,185)._getAriaLabelledby(),o["\u0275nov"](e,185).required.toString(),o["\u0275nov"](e,185).disabled.toString(),o["\u0275nov"](e,185).errorState,o["\u0275nov"](e,185).panelOpen?o["\u0275nov"](e,185)._optionIds:null,o["\u0275nov"](e,185).multiple,o["\u0275nov"](e,185)._ariaDescribedby||null,o["\u0275nov"](e,185)._getAriaActiveDescendant(),o["\u0275nov"](e,185).disabled,o["\u0275nov"](e,185).errorState,o["\u0275nov"](e,185).required,o["\u0275nov"](e,185).empty]),n(e,192,1,["standard"==o["\u0275nov"](e,193).appearance,"fill"==o["\u0275nov"](e,193).appearance,"outline"==o["\u0275nov"](e,193).appearance,"legacy"==o["\u0275nov"](e,193).appearance,o["\u0275nov"](e,193)._control.errorState,o["\u0275nov"](e,193)._canLabelFloat,o["\u0275nov"](e,193)._shouldLabelFloat(),o["\u0275nov"](e,193)._hasFloatingLabel(),o["\u0275nov"](e,193)._hideControlPlaceholder(),o["\u0275nov"](e,193)._control.disabled,o["\u0275nov"](e,193)._control.autofilled,o["\u0275nov"](e,193)._control.focused,"accent"==o["\u0275nov"](e,193).color,"warn"==o["\u0275nov"](e,193).color,o["\u0275nov"](e,193)._shouldForward("untouched"),o["\u0275nov"](e,193)._shouldForward("touched"),o["\u0275nov"](e,193)._shouldForward("pristine"),o["\u0275nov"](e,193)._shouldForward("dirty"),o["\u0275nov"](e,193)._shouldForward("valid"),o["\u0275nov"](e,193)._shouldForward("invalid"),o["\u0275nov"](e,193)._shouldForward("pending"),!o["\u0275nov"](e,193)._animationsEnabled]),n(e,203,1,[o["\u0275nov"](e,207).ngClassUntouched,o["\u0275nov"](e,207).ngClassTouched,o["\u0275nov"](e,207).ngClassPristine,o["\u0275nov"](e,207).ngClassDirty,o["\u0275nov"](e,207).ngClassValid,o["\u0275nov"](e,207).ngClassInvalid,o["\u0275nov"](e,207).ngClassPending,o["\u0275nov"](e,208).id,o["\u0275nov"](e,208).tabIndex,o["\u0275nov"](e,208)._getAriaLabel(),o["\u0275nov"](e,208)._getAriaLabelledby(),o["\u0275nov"](e,208).required.toString(),o["\u0275nov"](e,208).disabled.toString(),o["\u0275nov"](e,208).errorState,o["\u0275nov"](e,208).panelOpen?o["\u0275nov"](e,208)._optionIds:null,o["\u0275nov"](e,208).multiple,o["\u0275nov"](e,208)._ariaDescribedby||null,o["\u0275nov"](e,208)._getAriaActiveDescendant(),o["\u0275nov"](e,208).disabled,o["\u0275nov"](e,208).errorState,o["\u0275nov"](e,208).required,o["\u0275nov"](e,208).empty]),n(e,215,1,["standard"==o["\u0275nov"](e,216).appearance,"fill"==o["\u0275nov"](e,216).appearance,"outline"==o["\u0275nov"](e,216).appearance,"legacy"==o["\u0275nov"](e,216).appearance,o["\u0275nov"](e,216)._control.errorState,o["\u0275nov"](e,216)._canLabelFloat,o["\u0275nov"](e,216)._shouldLabelFloat(),o["\u0275nov"](e,216)._hasFloatingLabel(),o["\u0275nov"](e,216)._hideControlPlaceholder(),o["\u0275nov"](e,216)._control.disabled,o["\u0275nov"](e,216)._control.autofilled,o["\u0275nov"](e,216)._control.focused,"accent"==o["\u0275nov"](e,216).color,"warn"==o["\u0275nov"](e,216).color,o["\u0275nov"](e,216)._shouldForward("untouched"),o["\u0275nov"](e,216)._shouldForward("touched"),o["\u0275nov"](e,216)._shouldForward("pristine"),o["\u0275nov"](e,216)._shouldForward("dirty"),o["\u0275nov"](e,216)._shouldForward("valid"),o["\u0275nov"](e,216)._shouldForward("invalid"),o["\u0275nov"](e,216)._shouldForward("pending"),!o["\u0275nov"](e,216)._animationsEnabled]),n(e,226,1,[o["\u0275nov"](e,230).ngClassUntouched,o["\u0275nov"](e,230).ngClassTouched,o["\u0275nov"](e,230).ngClassPristine,o["\u0275nov"](e,230).ngClassDirty,o["\u0275nov"](e,230).ngClassValid,o["\u0275nov"](e,230).ngClassInvalid,o["\u0275nov"](e,230).ngClassPending,o["\u0275nov"](e,231).id,o["\u0275nov"](e,231).tabIndex,o["\u0275nov"](e,231)._getAriaLabel(),o["\u0275nov"](e,231)._getAriaLabelledby(),o["\u0275nov"](e,231).required.toString(),o["\u0275nov"](e,231).disabled.toString(),o["\u0275nov"](e,231).errorState,o["\u0275nov"](e,231).panelOpen?o["\u0275nov"](e,231)._optionIds:null,o["\u0275nov"](e,231).multiple,o["\u0275nov"](e,231)._ariaDescribedby||null,o["\u0275nov"](e,231)._getAriaActiveDescendant(),o["\u0275nov"](e,231).disabled,o["\u0275nov"](e,231).errorState,o["\u0275nov"](e,231).required,o["\u0275nov"](e,231).empty]),n(e,238,1,[o["\u0275nov"](e,239).id,null,o["\u0275nov"](e,239).indeterminate,o["\u0275nov"](e,239).checked,o["\u0275nov"](e,239).disabled,"before"==o["\u0275nov"](e,239).labelPosition,"NoopAnimations"===o["\u0275nov"](e,239)._animationMode,o["\u0275nov"](e,243).ngClassUntouched,o["\u0275nov"](e,243).ngClassTouched,o["\u0275nov"](e,243).ngClassPristine,o["\u0275nov"](e,243).ngClassDirty,o["\u0275nov"](e,243).ngClassValid,o["\u0275nov"](e,243).ngClassInvalid,o["\u0275nov"](e,243).ngClassPending]),n(e,245,0,o["\u0275nov"](e,246).expanded,"NoopAnimations"===o["\u0275nov"](e,246)._animationMode,o["\u0275nov"](e,246)._hasSpacing());var f=o["\u0275nov"](e,250).panel._headerId,h=o["\u0275nov"](e,250).disabled?-1:0,m=o["\u0275nov"](e,250)._getPanelId(),v=o["\u0275nov"](e,250)._isExpanded(),g=o["\u0275nov"](e,250).panel.disabled,b=o["\u0275nov"](e,250)._isExpanded(),_="after"===o["\u0275nov"](e,250)._getTogglePosition(),y="before"===o["\u0275nov"](e,250)._getTogglePosition(),w=o["\u0275nov"](e,250)._animationsDisabled,C=n(e,252,0,o["\u0275nov"](e,250)._getExpandedState(),n(e,251,0,o["\u0275nov"](e,250).collapsedHeight,o["\u0275nov"](e,250).expandedHeight));n(e,249,0,f,h,m,v,g,b,_,y,w,C),n(e,256,0,"NoopAnimations"===o["\u0275nov"](e,257)._animationMode),n(e,265,1,["standard"==o["\u0275nov"](e,266).appearance,"fill"==o["\u0275nov"](e,266).appearance,"outline"==o["\u0275nov"](e,266).appearance,"legacy"==o["\u0275nov"](e,266).appearance,o["\u0275nov"](e,266)._control.errorState,o["\u0275nov"](e,266)._canLabelFloat,o["\u0275nov"](e,266)._shouldLabelFloat(),o["\u0275nov"](e,266)._hasFloatingLabel(),o["\u0275nov"](e,266)._hideControlPlaceholder(),o["\u0275nov"](e,266)._control.disabled,o["\u0275nov"](e,266)._control.autofilled,o["\u0275nov"](e,266)._control.focused,"accent"==o["\u0275nov"](e,266).color,"warn"==o["\u0275nov"](e,266).color,o["\u0275nov"](e,266)._shouldForward("untouched"),o["\u0275nov"](e,266)._shouldForward("touched"),o["\u0275nov"](e,266)._shouldForward("pristine"),o["\u0275nov"](e,266)._shouldForward("dirty"),o["\u0275nov"](e,266)._shouldForward("valid"),o["\u0275nov"](e,266)._shouldForward("invalid"),o["\u0275nov"](e,266)._shouldForward("pending"),!o["\u0275nov"](e,266)._animationsEnabled]),n(e,276,1,[o["\u0275nov"](e,281).ngClassUntouched,o["\u0275nov"](e,281).ngClassTouched,o["\u0275nov"](e,281).ngClassPristine,o["\u0275nov"](e,281).ngClassDirty,o["\u0275nov"](e,281).ngClassValid,o["\u0275nov"](e,281).ngClassInvalid,o["\u0275nov"](e,281).ngClassPending,o["\u0275nov"](e,282)._isServer,o["\u0275nov"](e,282).id,o["\u0275nov"](e,282).placeholder,o["\u0275nov"](e,282).disabled,o["\u0275nov"](e,282).required,o["\u0275nov"](e,282).readonly&&!o["\u0275nov"](e,282)._isNativeSelect||null,o["\u0275nov"](e,282)._ariaDescribedby||null,o["\u0275nov"](e,282).errorState,o["\u0275nov"](e,282).required.toString()]),n(e,284,1,["standard"==o["\u0275nov"](e,285).appearance,"fill"==o["\u0275nov"](e,285).appearance,"outline"==o["\u0275nov"](e,285).appearance,"legacy"==o["\u0275nov"](e,285).appearance,o["\u0275nov"](e,285)._control.errorState,o["\u0275nov"](e,285)._canLabelFloat,o["\u0275nov"](e,285)._shouldLabelFloat(),o["\u0275nov"](e,285)._hasFloatingLabel(),o["\u0275nov"](e,285)._hideControlPlaceholder(),o["\u0275nov"](e,285)._control.disabled,o["\u0275nov"](e,285)._control.autofilled,o["\u0275nov"](e,285)._control.focused,"accent"==o["\u0275nov"](e,285).color,"warn"==o["\u0275nov"](e,285).color,o["\u0275nov"](e,285)._shouldForward("untouched"),o["\u0275nov"](e,285)._shouldForward("touched"),o["\u0275nov"](e,285)._shouldForward("pristine"),o["\u0275nov"](e,285)._shouldForward("dirty"),o["\u0275nov"](e,285)._shouldForward("valid"),o["\u0275nov"](e,285)._shouldForward("invalid"),o["\u0275nov"](e,285)._shouldForward("pending"),!o["\u0275nov"](e,285)._animationsEnabled]),n(e,295,1,[o["\u0275nov"](e,299).ngClassUntouched,o["\u0275nov"](e,299).ngClassTouched,o["\u0275nov"](e,299).ngClassPristine,o["\u0275nov"](e,299).ngClassDirty,o["\u0275nov"](e,299).ngClassValid,o["\u0275nov"](e,299).ngClassInvalid,o["\u0275nov"](e,299).ngClassPending,o["\u0275nov"](e,300).id,o["\u0275nov"](e,300).tabIndex,o["\u0275nov"](e,300)._getAriaLabel(),o["\u0275nov"](e,300)._getAriaLabelledby(),o["\u0275nov"](e,300).required.toString(),o["\u0275nov"](e,300).disabled.toString(),o["\u0275nov"](e,300).errorState,o["\u0275nov"](e,300).panelOpen?o["\u0275nov"](e,300)._optionIds:null,o["\u0275nov"](e,300).multiple,o["\u0275nov"](e,300)._ariaDescribedby||null,o["\u0275nov"](e,300)._getAriaActiveDescendant(),o["\u0275nov"](e,300).disabled,o["\u0275nov"](e,300).errorState,o["\u0275nov"](e,300).required,o["\u0275nov"](e,300).empty]),n(e,307,0,"NoopAnimations"===o["\u0275nov"](e,308)._animationMode),n(e,316,1,["standard"==o["\u0275nov"](e,317).appearance,"fill"==o["\u0275nov"](e,317).appearance,"outline"==o["\u0275nov"](e,317).appearance,"legacy"==o["\u0275nov"](e,317).appearance,o["\u0275nov"](e,317)._control.errorState,o["\u0275nov"](e,317)._canLabelFloat,o["\u0275nov"](e,317)._shouldLabelFloat(),o["\u0275nov"](e,317)._hasFloatingLabel(),o["\u0275nov"](e,317)._hideControlPlaceholder(),o["\u0275nov"](e,317)._control.disabled,o["\u0275nov"](e,317)._control.autofilled,o["\u0275nov"](e,317)._control.focused,"accent"==o["\u0275nov"](e,317).color,"warn"==o["\u0275nov"](e,317).color,o["\u0275nov"](e,317)._shouldForward("untouched"),o["\u0275nov"](e,317)._shouldForward("touched"),o["\u0275nov"](e,317)._shouldForward("pristine"),o["\u0275nov"](e,317)._shouldForward("dirty"),o["\u0275nov"](e,317)._shouldForward("valid"),o["\u0275nov"](e,317)._shouldForward("invalid"),o["\u0275nov"](e,317)._shouldForward("pending"),!o["\u0275nov"](e,317)._animationsEnabled]),n(e,327,1,[o["\u0275nov"](e,332).ngClassUntouched,o["\u0275nov"](e,332).ngClassTouched,o["\u0275nov"](e,332).ngClassPristine,o["\u0275nov"](e,332).ngClassDirty,o["\u0275nov"](e,332).ngClassValid,o["\u0275nov"](e,332).ngClassInvalid,o["\u0275nov"](e,332).ngClassPending,o["\u0275nov"](e,333)._isServer,o["\u0275nov"](e,333).id,o["\u0275nov"](e,333).placeholder,o["\u0275nov"](e,333).disabled,o["\u0275nov"](e,333).required,o["\u0275nov"](e,333).readonly&&!o["\u0275nov"](e,333)._isNativeSelect||null,o["\u0275nov"](e,333)._ariaDescribedby||null,o["\u0275nov"](e,333).errorState,o["\u0275nov"](e,333).required.toString()]),n(e,335,1,["standard"==o["\u0275nov"](e,336).appearance,"fill"==o["\u0275nov"](e,336).appearance,"outline"==o["\u0275nov"](e,336).appearance,"legacy"==o["\u0275nov"](e,336).appearance,o["\u0275nov"](e,336)._control.errorState,o["\u0275nov"](e,336)._canLabelFloat,o["\u0275nov"](e,336)._shouldLabelFloat(),o["\u0275nov"](e,336)._hasFloatingLabel(),o["\u0275nov"](e,336)._hideControlPlaceholder(),o["\u0275nov"](e,336)._control.disabled,o["\u0275nov"](e,336)._control.autofilled,o["\u0275nov"](e,336)._control.focused,"accent"==o["\u0275nov"](e,336).color,"warn"==o["\u0275nov"](e,336).color,o["\u0275nov"](e,336)._shouldForward("untouched"),o["\u0275nov"](e,336)._shouldForward("touched"),o["\u0275nov"](e,336)._shouldForward("pristine"),o["\u0275nov"](e,336)._shouldForward("dirty"),o["\u0275nov"](e,336)._shouldForward("valid"),o["\u0275nov"](e,336)._shouldForward("invalid"),o["\u0275nov"](e,336)._shouldForward("pending"),!o["\u0275nov"](e,336)._animationsEnabled]),n(e,346,1,[o["\u0275nov"](e,350).ngClassUntouched,o["\u0275nov"](e,350).ngClassTouched,o["\u0275nov"](e,350).ngClassPristine,o["\u0275nov"](e,350).ngClassDirty,o["\u0275nov"](e,350).ngClassValid,o["\u0275nov"](e,350).ngClassInvalid,o["\u0275nov"](e,350).ngClassPending,o["\u0275nov"](e,351).id,o["\u0275nov"](e,351).tabIndex,o["\u0275nov"](e,351)._getAriaLabel(),o["\u0275nov"](e,351)._getAriaLabelledby(),o["\u0275nov"](e,351).required.toString(),o["\u0275nov"](e,351).disabled.toString(),o["\u0275nov"](e,351).errorState,o["\u0275nov"](e,351).panelOpen?o["\u0275nov"](e,351)._optionIds:null,o["\u0275nov"](e,351).multiple,o["\u0275nov"](e,351)._ariaDescribedby||null,o["\u0275nov"](e,351)._getAriaActiveDescendant(),o["\u0275nov"](e,351).disabled,o["\u0275nov"](e,351).errorState,o["\u0275nov"](e,351).required,o["\u0275nov"](e,351).empty]),n(e,358,0,"NoopAnimations"===o["\u0275nov"](e,359)._animationMode),n(e,367,1,["standard"==o["\u0275nov"](e,368).appearance,"fill"==o["\u0275nov"](e,368).appearance,"outline"==o["\u0275nov"](e,368).appearance,"legacy"==o["\u0275nov"](e,368).appearance,o["\u0275nov"](e,368)._control.errorState,o["\u0275nov"](e,368)._canLabelFloat,o["\u0275nov"](e,368)._shouldLabelFloat(),o["\u0275nov"](e,368)._hasFloatingLabel(),o["\u0275nov"](e,368)._hideControlPlaceholder(),o["\u0275nov"](e,368)._control.disabled,o["\u0275nov"](e,368)._control.autofilled,o["\u0275nov"](e,368)._control.focused,"accent"==o["\u0275nov"](e,368).color,"warn"==o["\u0275nov"](e,368).color,o["\u0275nov"](e,368)._shouldForward("untouched"),o["\u0275nov"](e,368)._shouldForward("touched"),o["\u0275nov"](e,368)._shouldForward("pristine"),o["\u0275nov"](e,368)._shouldForward("dirty"),o["\u0275nov"](e,368)._shouldForward("valid"),o["\u0275nov"](e,368)._shouldForward("invalid"),o["\u0275nov"](e,368)._shouldForward("pending"),!o["\u0275nov"](e,368)._animationsEnabled]),n(e,378,1,[o["\u0275nov"](e,383).ngClassUntouched,o["\u0275nov"](e,383).ngClassTouched,o["\u0275nov"](e,383).ngClassPristine,o["\u0275nov"](e,383).ngClassDirty,o["\u0275nov"](e,383).ngClassValid,o["\u0275nov"](e,383).ngClassInvalid,o["\u0275nov"](e,383).ngClassPending,o["\u0275nov"](e,384)._isServer,o["\u0275nov"](e,384).id,o["\u0275nov"](e,384).placeholder,o["\u0275nov"](e,384).disabled,o["\u0275nov"](e,384).required,o["\u0275nov"](e,384).readonly&&!o["\u0275nov"](e,384)._isNativeSelect||null,o["\u0275nov"](e,384)._ariaDescribedby||null,o["\u0275nov"](e,384).errorState,o["\u0275nov"](e,384).required.toString()]),n(e,386,1,["standard"==o["\u0275nov"](e,387).appearance,"fill"==o["\u0275nov"](e,387).appearance,"outline"==o["\u0275nov"](e,387).appearance,"legacy"==o["\u0275nov"](e,387).appearance,o["\u0275nov"](e,387)._control.errorState,o["\u0275nov"](e,387)._canLabelFloat,o["\u0275nov"](e,387)._shouldLabelFloat(),o["\u0275nov"](e,387)._hasFloatingLabel(),o["\u0275nov"](e,387)._hideControlPlaceholder(),o["\u0275nov"](e,387)._control.disabled,o["\u0275nov"](e,387)._control.autofilled,o["\u0275nov"](e,387)._control.focused,"accent"==o["\u0275nov"](e,387).color,"warn"==o["\u0275nov"](e,387).color,o["\u0275nov"](e,387)._shouldForward("untouched"),o["\u0275nov"](e,387)._shouldForward("touched"),o["\u0275nov"](e,387)._shouldForward("pristine"),o["\u0275nov"](e,387)._shouldForward("dirty"),o["\u0275nov"](e,387)._shouldForward("valid"),o["\u0275nov"](e,387)._shouldForward("invalid"),o["\u0275nov"](e,387)._shouldForward("pending"),!o["\u0275nov"](e,387)._animationsEnabled]),n(e,397,1,[o["\u0275nov"](e,401).ngClassUntouched,o["\u0275nov"](e,401).ngClassTouched,o["\u0275nov"](e,401).ngClassPristine,o["\u0275nov"](e,401).ngClassDirty,o["\u0275nov"](e,401).ngClassValid,o["\u0275nov"](e,401).ngClassInvalid,o["\u0275nov"](e,401).ngClassPending,o["\u0275nov"](e,402).id,o["\u0275nov"](e,402).tabIndex,o["\u0275nov"](e,402)._getAriaLabel(),o["\u0275nov"](e,402)._getAriaLabelledby(),o["\u0275nov"](e,402).required.toString(),o["\u0275nov"](e,402).disabled.toString(),o["\u0275nov"](e,402).errorState,o["\u0275nov"](e,402).panelOpen?o["\u0275nov"](e,402)._optionIds:null,o["\u0275nov"](e,402).multiple,o["\u0275nov"](e,402)._ariaDescribedby||null,o["\u0275nov"](e,402)._getAriaActiveDescendant(),o["\u0275nov"](e,402).disabled,o["\u0275nov"](e,402).errorState,o["\u0275nov"](e,402).required,o["\u0275nov"](e,402).empty]),n(e,409,0,"NoopAnimations"===o["\u0275nov"](e,410)._animationMode),n(e,418,1,["standard"==o["\u0275nov"](e,419).appearance,"fill"==o["\u0275nov"](e,419).appearance,"outline"==o["\u0275nov"](e,419).appearance,"legacy"==o["\u0275nov"](e,419).appearance,o["\u0275nov"](e,419)._control.errorState,o["\u0275nov"](e,419)._canLabelFloat,o["\u0275nov"](e,419)._shouldLabelFloat(),o["\u0275nov"](e,419)._hasFloatingLabel(),o["\u0275nov"](e,419)._hideControlPlaceholder(),o["\u0275nov"](e,419)._control.disabled,o["\u0275nov"](e,419)._control.autofilled,o["\u0275nov"](e,419)._control.focused,"accent"==o["\u0275nov"](e,419).color,"warn"==o["\u0275nov"](e,419).color,o["\u0275nov"](e,419)._shouldForward("untouched"),o["\u0275nov"](e,419)._shouldForward("touched"),o["\u0275nov"](e,419)._shouldForward("pristine"),o["\u0275nov"](e,419)._shouldForward("dirty"),o["\u0275nov"](e,419)._shouldForward("valid"),o["\u0275nov"](e,419)._shouldForward("invalid"),o["\u0275nov"](e,419)._shouldForward("pending"),!o["\u0275nov"](e,419)._animationsEnabled]),n(e,429,1,[o["\u0275nov"](e,434).ngClassUntouched,o["\u0275nov"](e,434).ngClassTouched,o["\u0275nov"](e,434).ngClassPristine,o["\u0275nov"](e,434).ngClassDirty,o["\u0275nov"](e,434).ngClassValid,o["\u0275nov"](e,434).ngClassInvalid,o["\u0275nov"](e,434).ngClassPending,o["\u0275nov"](e,435)._isServer,o["\u0275nov"](e,435).id,o["\u0275nov"](e,435).placeholder,o["\u0275nov"](e,435).disabled,o["\u0275nov"](e,435).required,o["\u0275nov"](e,435).readonly&&!o["\u0275nov"](e,435)._isNativeSelect||null,o["\u0275nov"](e,435)._ariaDescribedby||null,o["\u0275nov"](e,435).errorState,o["\u0275nov"](e,435).required.toString()]),n(e,437,1,["standard"==o["\u0275nov"](e,438).appearance,"fill"==o["\u0275nov"](e,438).appearance,"outline"==o["\u0275nov"](e,438).appearance,"legacy"==o["\u0275nov"](e,438).appearance,o["\u0275nov"](e,438)._control.errorState,o["\u0275nov"](e,438)._canLabelFloat,o["\u0275nov"](e,438)._shouldLabelFloat(),o["\u0275nov"](e,438)._hasFloatingLabel(),o["\u0275nov"](e,438)._hideControlPlaceholder(),o["\u0275nov"](e,438)._control.disabled,o["\u0275nov"](e,438)._control.autofilled,o["\u0275nov"](e,438)._control.focused,"accent"==o["\u0275nov"](e,438).color,"warn"==o["\u0275nov"](e,438).color,o["\u0275nov"](e,438)._shouldForward("untouched"),o["\u0275nov"](e,438)._shouldForward("touched"),o["\u0275nov"](e,438)._shouldForward("pristine"),o["\u0275nov"](e,438)._shouldForward("dirty"),o["\u0275nov"](e,438)._shouldForward("valid"),o["\u0275nov"](e,438)._shouldForward("invalid"),o["\u0275nov"](e,438)._shouldForward("pending"),!o["\u0275nov"](e,438)._animationsEnabled]),n(e,448,1,[o["\u0275nov"](e,452).ngClassUntouched,o["\u0275nov"](e,452).ngClassTouched,o["\u0275nov"](e,452).ngClassPristine,o["\u0275nov"](e,452).ngClassDirty,o["\u0275nov"](e,452).ngClassValid,o["\u0275nov"](e,452).ngClassInvalid,o["\u0275nov"](e,452).ngClassPending,o["\u0275nov"](e,453).id,o["\u0275nov"](e,453).tabIndex,o["\u0275nov"](e,453)._getAriaLabel(),o["\u0275nov"](e,453)._getAriaLabelledby(),o["\u0275nov"](e,453).required.toString(),o["\u0275nov"](e,453).disabled.toString(),o["\u0275nov"](e,453).errorState,o["\u0275nov"](e,453).panelOpen?o["\u0275nov"](e,453)._optionIds:null,o["\u0275nov"](e,453).multiple,o["\u0275nov"](e,453)._ariaDescribedby||null,o["\u0275nov"](e,453)._getAriaActiveDescendant(),o["\u0275nov"](e,453).disabled,o["\u0275nov"](e,453).errorState,o["\u0275nov"](e,453).required,o["\u0275nov"](e,453).empty]),n(e,460,0,o["\u0275nov"](e,461).expanded,"NoopAnimations"===o["\u0275nov"](e,461)._animationMode,o["\u0275nov"](e,461)._hasSpacing());var x=o["\u0275nov"](e,465).panel._headerId,S=o["\u0275nov"](e,465).disabled?-1:0,k=o["\u0275nov"](e,465)._getPanelId(),E=o["\u0275nov"](e,465)._isExpanded(),T=o["\u0275nov"](e,465).panel.disabled,R=o["\u0275nov"](e,465)._isExpanded(),I="after"===o["\u0275nov"](e,465)._getTogglePosition(),D="before"===o["\u0275nov"](e,465)._getTogglePosition(),O=o["\u0275nov"](e,465)._animationsDisabled,F=n(e,467,0,o["\u0275nov"](e,465)._getExpandedState(),n(e,466,0,o["\u0275nov"](e,465).collapsedHeight,o["\u0275nov"](e,465).expandedHeight));n(e,464,0,x,S,k,E,T,R,I,D,O,F),n(e,472,0,o["\u0275nov"](e,473).disabled||null,"NoopAnimations"===o["\u0275nov"](e,473)._animationMode),n(e,476,1,["standard"==o["\u0275nov"](e,477).appearance,"fill"==o["\u0275nov"](e,477).appearance,"outline"==o["\u0275nov"](e,477).appearance,"legacy"==o["\u0275nov"](e,477).appearance,o["\u0275nov"](e,477)._control.errorState,o["\u0275nov"](e,477)._canLabelFloat,o["\u0275nov"](e,477)._shouldLabelFloat(),o["\u0275nov"](e,477)._hasFloatingLabel(),o["\u0275nov"](e,477)._hideControlPlaceholder(),o["\u0275nov"](e,477)._control.disabled,o["\u0275nov"](e,477)._control.autofilled,o["\u0275nov"](e,477)._control.focused,"accent"==o["\u0275nov"](e,477).color,"warn"==o["\u0275nov"](e,477).color,o["\u0275nov"](e,477)._shouldForward("untouched"),o["\u0275nov"](e,477)._shouldForward("touched"),o["\u0275nov"](e,477)._shouldForward("pristine"),o["\u0275nov"](e,477)._shouldForward("dirty"),o["\u0275nov"](e,477)._shouldForward("valid"),o["\u0275nov"](e,477)._shouldForward("invalid"),o["\u0275nov"](e,477)._shouldForward("pending"),!o["\u0275nov"](e,477)._animationsEnabled]),n(e,487,1,[o["\u0275nov"](e,492).ngClassUntouched,o["\u0275nov"](e,492).ngClassTouched,o["\u0275nov"](e,492).ngClassPristine,o["\u0275nov"](e,492).ngClassDirty,o["\u0275nov"](e,492).ngClassValid,o["\u0275nov"](e,492).ngClassInvalid,o["\u0275nov"](e,492).ngClassPending,o["\u0275nov"](e,493)._isServer,o["\u0275nov"](e,493).id,o["\u0275nov"](e,493).placeholder,o["\u0275nov"](e,493).disabled,o["\u0275nov"](e,493).required,o["\u0275nov"](e,493).readonly&&!o["\u0275nov"](e,493)._isNativeSelect||null,o["\u0275nov"](e,493)._ariaDescribedby||null,o["\u0275nov"](e,493).errorState,o["\u0275nov"](e,493).required.toString()]),n(e,495,0,o["\u0275nov"](e,496).expanded,"NoopAnimations"===o["\u0275nov"](e,496)._animationMode,o["\u0275nov"](e,496)._hasSpacing());var N=o["\u0275nov"](e,500).panel._headerId,M=o["\u0275nov"](e,500).disabled?-1:0,A=o["\u0275nov"](e,500)._getPanelId(),q=o["\u0275nov"](e,500)._isExpanded(),P=o["\u0275nov"](e,500).panel.disabled,j=o["\u0275nov"](e,500)._isExpanded(),L="after"===o["\u0275nov"](e,500)._getTogglePosition(),V="before"===o["\u0275nov"](e,500)._getTogglePosition(),B=o["\u0275nov"](e,500)._animationsDisabled,z=n(e,502,0,o["\u0275nov"](e,500)._getExpandedState(),n(e,501,0,o["\u0275nov"](e,500).collapsedHeight,o["\u0275nov"](e,500).expandedHeight));n(e,499,0,N,M,A,q,P,j,L,V,B,z),n(e,506,1,["standard"==o["\u0275nov"](e,507).appearance,"fill"==o["\u0275nov"](e,507).appearance,"outline"==o["\u0275nov"](e,507).appearance,"legacy"==o["\u0275nov"](e,507).appearance,o["\u0275nov"](e,507)._control.errorState,o["\u0275nov"](e,507)._canLabelFloat,o["\u0275nov"](e,507)._shouldLabelFloat(),o["\u0275nov"](e,507)._hasFloatingLabel(),o["\u0275nov"](e,507)._hideControlPlaceholder(),o["\u0275nov"](e,507)._control.disabled,o["\u0275nov"](e,507)._control.autofilled,o["\u0275nov"](e,507)._control.focused,"accent"==o["\u0275nov"](e,507).color,"warn"==o["\u0275nov"](e,507).color,o["\u0275nov"](e,507)._shouldForward("untouched"),o["\u0275nov"](e,507)._shouldForward("touched"),o["\u0275nov"](e,507)._shouldForward("pristine"),o["\u0275nov"](e,507)._shouldForward("dirty"),o["\u0275nov"](e,507)._shouldForward("valid"),o["\u0275nov"](e,507)._shouldForward("invalid"),o["\u0275nov"](e,507)._shouldForward("pending"),!o["\u0275nov"](e,507)._animationsEnabled]),n(e,517,1,[o["\u0275nov"](e,523).ngClassUntouched,o["\u0275nov"](e,523).ngClassTouched,o["\u0275nov"](e,523).ngClassPristine,o["\u0275nov"](e,523).ngClassDirty,o["\u0275nov"](e,523).ngClassValid,o["\u0275nov"](e,523).ngClassInvalid,o["\u0275nov"](e,523).ngClassPending,o["\u0275nov"](e,524)._isServer,o["\u0275nov"](e,524).id,o["\u0275nov"](e,524).placeholder,o["\u0275nov"](e,524).disabled,o["\u0275nov"](e,524).required,o["\u0275nov"](e,524).readonly&&!o["\u0275nov"](e,524)._isNativeSelect||null,o["\u0275nov"](e,524)._ariaDescribedby||null,o["\u0275nov"](e,524).errorState,o["\u0275nov"](e,524).required.toString()]),n(e,526,1,["standard"==o["\u0275nov"](e,527).appearance,"fill"==o["\u0275nov"](e,527).appearance,"outline"==o["\u0275nov"](e,527).appearance,"legacy"==o["\u0275nov"](e,527).appearance,o["\u0275nov"](e,527)._control.errorState,o["\u0275nov"](e,527)._canLabelFloat,o["\u0275nov"](e,527)._shouldLabelFloat(),o["\u0275nov"](e,527)._hasFloatingLabel(),o["\u0275nov"](e,527)._hideControlPlaceholder(),o["\u0275nov"](e,527)._control.disabled,o["\u0275nov"](e,527)._control.autofilled,o["\u0275nov"](e,527)._control.focused,"accent"==o["\u0275nov"](e,527).color,"warn"==o["\u0275nov"](e,527).color,o["\u0275nov"](e,527)._shouldForward("untouched"),o["\u0275nov"](e,527)._shouldForward("touched"),o["\u0275nov"](e,527)._shouldForward("pristine"),o["\u0275nov"](e,527)._shouldForward("dirty"),o["\u0275nov"](e,527)._shouldForward("valid"),o["\u0275nov"](e,527)._shouldForward("invalid"),o["\u0275nov"](e,527)._shouldForward("pending"),!o["\u0275nov"](e,527)._animationsEnabled]),n(e,537,1,[o["\u0275nov"](e,542).ngClassUntouched,o["\u0275nov"](e,542).ngClassTouched,o["\u0275nov"](e,542).ngClassPristine,o["\u0275nov"](e,542).ngClassDirty,o["\u0275nov"](e,542).ngClassValid,o["\u0275nov"](e,542).ngClassInvalid,o["\u0275nov"](e,542).ngClassPending,o["\u0275nov"](e,543)._isServer,o["\u0275nov"](e,543).id,o["\u0275nov"](e,543).placeholder,o["\u0275nov"](e,543).disabled,o["\u0275nov"](e,543).required,o["\u0275nov"](e,543).readonly&&!o["\u0275nov"](e,543)._isNativeSelect||null,o["\u0275nov"](e,543)._ariaDescribedby||null,o["\u0275nov"](e,543).errorState,o["\u0275nov"](e,543).required.toString()]),n(e,545,1,["standard"==o["\u0275nov"](e,546).appearance,"fill"==o["\u0275nov"](e,546).appearance,"outline"==o["\u0275nov"](e,546).appearance,"legacy"==o["\u0275nov"](e,546).appearance,o["\u0275nov"](e,546)._control.errorState,o["\u0275nov"](e,546)._canLabelFloat,o["\u0275nov"](e,546)._shouldLabelFloat(),o["\u0275nov"](e,546)._hasFloatingLabel(),o["\u0275nov"](e,546)._hideControlPlaceholder(),o["\u0275nov"](e,546)._control.disabled,o["\u0275nov"](e,546)._control.autofilled,o["\u0275nov"](e,546)._control.focused,"accent"==o["\u0275nov"](e,546).color,"warn"==o["\u0275nov"](e,546).color,o["\u0275nov"](e,546)._shouldForward("untouched"),o["\u0275nov"](e,546)._shouldForward("touched"),o["\u0275nov"](e,546)._shouldForward("pristine"),o["\u0275nov"](e,546)._shouldForward("dirty"),o["\u0275nov"](e,546)._shouldForward("valid"),o["\u0275nov"](e,546)._shouldForward("invalid"),o["\u0275nov"](e,546)._shouldForward("pending"),!o["\u0275nov"](e,546)._animationsEnabled]),n(e,556,1,[o["\u0275nov"](e,561).ngClassUntouched,o["\u0275nov"](e,561).ngClassTouched,o["\u0275nov"](e,561).ngClassPristine,o["\u0275nov"](e,561).ngClassDirty,o["\u0275nov"](e,561).ngClassValid,o["\u0275nov"](e,561).ngClassInvalid,o["\u0275nov"](e,561).ngClassPending,o["\u0275nov"](e,562)._isServer,o["\u0275nov"](e,562).id,o["\u0275nov"](e,562).placeholder,o["\u0275nov"](e,562).disabled,o["\u0275nov"](e,562).required,o["\u0275nov"](e,562).readonly&&!o["\u0275nov"](e,562)._isNativeSelect||null,o["\u0275nov"](e,562)._ariaDescribedby||null,o["\u0275nov"](e,562).errorState,o["\u0275nov"](e,562).required.toString()]),n(e,564,1,["standard"==o["\u0275nov"](e,565).appearance,"fill"==o["\u0275nov"](e,565).appearance,"outline"==o["\u0275nov"](e,565).appearance,"legacy"==o["\u0275nov"](e,565).appearance,o["\u0275nov"](e,565)._control.errorState,o["\u0275nov"](e,565)._canLabelFloat,o["\u0275nov"](e,565)._shouldLabelFloat(),o["\u0275nov"](e,565)._hasFloatingLabel(),o["\u0275nov"](e,565)._hideControlPlaceholder(),o["\u0275nov"](e,565)._control.disabled,o["\u0275nov"](e,565)._control.autofilled,o["\u0275nov"](e,565)._control.focused,"accent"==o["\u0275nov"](e,565).color,"warn"==o["\u0275nov"](e,565).color,o["\u0275nov"](e,565)._shouldForward("untouched"),o["\u0275nov"](e,565)._shouldForward("touched"),o["\u0275nov"](e,565)._shouldForward("pristine"),o["\u0275nov"](e,565)._shouldForward("dirty"),o["\u0275nov"](e,565)._shouldForward("valid"),o["\u0275nov"](e,565)._shouldForward("invalid"),o["\u0275nov"](e,565)._shouldForward("pending"),!o["\u0275nov"](e,565)._animationsEnabled]),n(e,575,1,[o["\u0275nov"](e,581).ngClassUntouched,o["\u0275nov"](e,581).ngClassTouched,o["\u0275nov"](e,581).ngClassPristine,o["\u0275nov"](e,581).ngClassDirty,o["\u0275nov"](e,581).ngClassValid,o["\u0275nov"](e,581).ngClassInvalid,o["\u0275nov"](e,581).ngClassPending,o["\u0275nov"](e,582)._isServer,o["\u0275nov"](e,582).id,o["\u0275nov"](e,582).placeholder,o["\u0275nov"](e,582).disabled,o["\u0275nov"](e,582).required,o["\u0275nov"](e,582).readonly&&!o["\u0275nov"](e,582)._isNativeSelect||null,o["\u0275nov"](e,582)._ariaDescribedby||null,o["\u0275nov"](e,582).errorState,o["\u0275nov"](e,582).required.toString()]),n(e,584,1,["standard"==o["\u0275nov"](e,585).appearance,"fill"==o["\u0275nov"](e,585).appearance,"outline"==o["\u0275nov"](e,585).appearance,"legacy"==o["\u0275nov"](e,585).appearance,o["\u0275nov"](e,585)._control.errorState,o["\u0275nov"](e,585)._canLabelFloat,o["\u0275nov"](e,585)._shouldLabelFloat(),o["\u0275nov"](e,585)._hasFloatingLabel(),o["\u0275nov"](e,585)._hideControlPlaceholder(),o["\u0275nov"](e,585)._control.disabled,o["\u0275nov"](e,585)._control.autofilled,o["\u0275nov"](e,585)._control.focused,"accent"==o["\u0275nov"](e,585).color,"warn"==o["\u0275nov"](e,585).color,o["\u0275nov"](e,585)._shouldForward("untouched"),o["\u0275nov"](e,585)._shouldForward("touched"),o["\u0275nov"](e,585)._shouldForward("pristine"),o["\u0275nov"](e,585)._shouldForward("dirty"),o["\u0275nov"](e,585)._shouldForward("valid"),o["\u0275nov"](e,585)._shouldForward("invalid"),o["\u0275nov"](e,585)._shouldForward("pending"),!o["\u0275nov"](e,585)._animationsEnabled]),n(e,595,1,[o["\u0275nov"](e,600).ngClassUntouched,o["\u0275nov"](e,600).ngClassTouched,o["\u0275nov"](e,600).ngClassPristine,o["\u0275nov"](e,600).ngClassDirty,o["\u0275nov"](e,600).ngClassValid,o["\u0275nov"](e,600).ngClassInvalid,o["\u0275nov"](e,600).ngClassPending,o["\u0275nov"](e,601)._isServer,o["\u0275nov"](e,601).id,o["\u0275nov"](e,601).placeholder,o["\u0275nov"](e,601).disabled,o["\u0275nov"](e,601).required,o["\u0275nov"](e,601).readonly&&!o["\u0275nov"](e,601)._isNativeSelect||null,o["\u0275nov"](e,601)._ariaDescribedby||null,o["\u0275nov"](e,601).errorState,o["\u0275nov"](e,601).required.toString()]),n(e,603,1,["standard"==o["\u0275nov"](e,604).appearance,"fill"==o["\u0275nov"](e,604).appearance,"outline"==o["\u0275nov"](e,604).appearance,"legacy"==o["\u0275nov"](e,604).appearance,o["\u0275nov"](e,604)._control.errorState,o["\u0275nov"](e,604)._canLabelFloat,o["\u0275nov"](e,604)._shouldLabelFloat(),o["\u0275nov"](e,604)._hasFloatingLabel(),o["\u0275nov"](e,604)._hideControlPlaceholder(),o["\u0275nov"](e,604)._control.disabled,o["\u0275nov"](e,604)._control.autofilled,o["\u0275nov"](e,604)._control.focused,"accent"==o["\u0275nov"](e,604).color,"warn"==o["\u0275nov"](e,604).color,o["\u0275nov"](e,604)._shouldForward("untouched"),o["\u0275nov"](e,604)._shouldForward("touched"),o["\u0275nov"](e,604)._shouldForward("pristine"),o["\u0275nov"](e,604)._shouldForward("dirty"),o["\u0275nov"](e,604)._shouldForward("valid"),o["\u0275nov"](e,604)._shouldForward("invalid"),o["\u0275nov"](e,604)._shouldForward("pending"),!o["\u0275nov"](e,604)._animationsEnabled]),n(e,614,1,[o["\u0275nov"](e,618).ngClassUntouched,o["\u0275nov"](e,618).ngClassTouched,o["\u0275nov"](e,618).ngClassPristine,o["\u0275nov"](e,618).ngClassDirty,o["\u0275nov"](e,618).ngClassValid,o["\u0275nov"](e,618).ngClassInvalid,o["\u0275nov"](e,618).ngClassPending,o["\u0275nov"](e,619).id,o["\u0275nov"](e,619).tabIndex,o["\u0275nov"](e,619)._getAriaLabel(),o["\u0275nov"](e,619)._getAriaLabelledby(),o["\u0275nov"](e,619).required.toString(),o["\u0275nov"](e,619).disabled.toString(),o["\u0275nov"](e,619).errorState,o["\u0275nov"](e,619).panelOpen?o["\u0275nov"](e,619)._optionIds:null,o["\u0275nov"](e,619).multiple,o["\u0275nov"](e,619)._ariaDescribedby||null,o["\u0275nov"](e,619)._getAriaActiveDescendant(),o["\u0275nov"](e,619).disabled,o["\u0275nov"](e,619).errorState,o["\u0275nov"](e,619).required,o["\u0275nov"](e,619).empty]),n(e,626,0,o["\u0275nov"](e,627).disabled||null,"NoopAnimations"===o["\u0275nov"](e,627)._animationMode),n(e,630,1,[o["\u0275nov"](e,631).id,null,o["\u0275nov"](e,631).indeterminate,o["\u0275nov"](e,631).checked,o["\u0275nov"](e,631).disabled,"before"==o["\u0275nov"](e,631).labelPosition,"NoopAnimations"===o["\u0275nov"](e,631)._animationMode,o["\u0275nov"](e,635).ngClassUntouched,o["\u0275nov"](e,635).ngClassTouched,o["\u0275nov"](e,635).ngClassPristine,o["\u0275nov"](e,635).ngClassDirty,o["\u0275nov"](e,635).ngClassValid,o["\u0275nov"](e,635).ngClassInvalid,o["\u0275nov"](e,635).ngClassPending]),n(e,637,0,o["\u0275nov"](e,638).expanded,"NoopAnimations"===o["\u0275nov"](e,638)._animationMode,o["\u0275nov"](e,638)._hasSpacing());var U=o["\u0275nov"](e,642).panel._headerId,H=o["\u0275nov"](e,642).disabled?-1:0,Z=o["\u0275nov"](e,642)._getPanelId(),W=o["\u0275nov"](e,642)._isExpanded(),G=o["\u0275nov"](e,642).panel.disabled,K=o["\u0275nov"](e,642)._isExpanded(),Y="after"===o["\u0275nov"](e,642)._getTogglePosition(),$="before"===o["\u0275nov"](e,642)._getTogglePosition(),X=o["\u0275nov"](e,642)._animationsDisabled,Q=n(e,644,0,o["\u0275nov"](e,642)._getExpandedState(),n(e,643,0,o["\u0275nov"](e,642).collapsedHeight,o["\u0275nov"](e,642).expandedHeight));n(e,641,0,U,H,Z,W,G,K,Y,$,X,Q),n(e,648,0,"NoopAnimations"===o["\u0275nov"](e,649)._animationMode),n(e,658,0,o["\u0275nov"](e,659).disabled||null,"NoopAnimations"===o["\u0275nov"](e,659)._animationMode),n(e,662,1,["standard"==o["\u0275nov"](e,663).appearance,"fill"==o["\u0275nov"](e,663).appearance,"outline"==o["\u0275nov"](e,663).appearance,"legacy"==o["\u0275nov"](e,663).appearance,o["\u0275nov"](e,663)._control.errorState,o["\u0275nov"](e,663)._canLabelFloat,o["\u0275nov"](e,663)._shouldLabelFloat(),o["\u0275nov"](e,663)._hasFloatingLabel(),o["\u0275nov"](e,663)._hideControlPlaceholder(),o["\u0275nov"](e,663)._control.disabled,o["\u0275nov"](e,663)._control.autofilled,o["\u0275nov"](e,663)._control.focused,"accent"==o["\u0275nov"](e,663).color,"warn"==o["\u0275nov"](e,663).color,o["\u0275nov"](e,663)._shouldForward("untouched"),o["\u0275nov"](e,663)._shouldForward("touched"),o["\u0275nov"](e,663)._shouldForward("pristine"),o["\u0275nov"](e,663)._shouldForward("dirty"),o["\u0275nov"](e,663)._shouldForward("valid"),o["\u0275nov"](e,663)._shouldForward("invalid"),o["\u0275nov"](e,663)._shouldForward("pending"),!o["\u0275nov"](e,663)._animationsEnabled]),n(e,673,1,[o["\u0275nov"](e,678).ngClassUntouched,o["\u0275nov"](e,678).ngClassTouched,o["\u0275nov"](e,678).ngClassPristine,o["\u0275nov"](e,678).ngClassDirty,o["\u0275nov"](e,678).ngClassValid,o["\u0275nov"](e,678).ngClassInvalid,o["\u0275nov"](e,678).ngClassPending,o["\u0275nov"](e,679)._isServer,o["\u0275nov"](e,679).id,o["\u0275nov"](e,679).placeholder,o["\u0275nov"](e,679).disabled,o["\u0275nov"](e,679).required,o["\u0275nov"](e,679).readonly&&!o["\u0275nov"](e,679)._isNativeSelect||null,o["\u0275nov"](e,679)._ariaDescribedby||null,o["\u0275nov"](e,679).errorState,o["\u0275nov"](e,679).required.toString()]),n(e,682,0,o["\u0275nov"](e,683).disabled||null,"NoopAnimations"===o["\u0275nov"](e,683)._animationMode),n(e,686,1,["standard"==o["\u0275nov"](e,687).appearance,"fill"==o["\u0275nov"](e,687).appearance,"outline"==o["\u0275nov"](e,687).appearance,"legacy"==o["\u0275nov"](e,687).appearance,o["\u0275nov"](e,687)._control.errorState,o["\u0275nov"](e,687)._canLabelFloat,o["\u0275nov"](e,687)._shouldLabelFloat(),o["\u0275nov"](e,687)._hasFloatingLabel(),o["\u0275nov"](e,687)._hideControlPlaceholder(),o["\u0275nov"](e,687)._control.disabled,o["\u0275nov"](e,687)._control.autofilled,o["\u0275nov"](e,687)._control.focused,"accent"==o["\u0275nov"](e,687).color,"warn"==o["\u0275nov"](e,687).color,o["\u0275nov"](e,687)._shouldForward("untouched"),o["\u0275nov"](e,687)._shouldForward("touched"),o["\u0275nov"](e,687)._shouldForward("pristine"),o["\u0275nov"](e,687)._shouldForward("dirty"),o["\u0275nov"](e,687)._shouldForward("valid"),o["\u0275nov"](e,687)._shouldForward("invalid"),o["\u0275nov"](e,687)._shouldForward("pending"),!o["\u0275nov"](e,687)._animationsEnabled]),n(e,697,1,[o["\u0275nov"](e,702).ngClassUntouched,o["\u0275nov"](e,702).ngClassTouched,o["\u0275nov"](e,702).ngClassPristine,o["\u0275nov"](e,702).ngClassDirty,o["\u0275nov"](e,702).ngClassValid,o["\u0275nov"](e,702).ngClassInvalid,o["\u0275nov"](e,702).ngClassPending,o["\u0275nov"](e,703)._isServer,o["\u0275nov"](e,703).id,o["\u0275nov"](e,703).placeholder,o["\u0275nov"](e,703).disabled,o["\u0275nov"](e,703).required,o["\u0275nov"](e,703).readonly&&!o["\u0275nov"](e,703)._isNativeSelect||null,o["\u0275nov"](e,703)._ariaDescribedby||null,o["\u0275nov"](e,703).errorState,o["\u0275nov"](e,703).required.toString()]),n(e,705,1,["standard"==o["\u0275nov"](e,706).appearance,"fill"==o["\u0275nov"](e,706).appearance,"outline"==o["\u0275nov"](e,706).appearance,"legacy"==o["\u0275nov"](e,706).appearance,o["\u0275nov"](e,706)._control.errorState,o["\u0275nov"](e,706)._canLabelFloat,o["\u0275nov"](e,706)._shouldLabelFloat(),o["\u0275nov"](e,706)._hasFloatingLabel(),o["\u0275nov"](e,706)._hideControlPlaceholder(),o["\u0275nov"](e,706)._control.disabled,o["\u0275nov"](e,706)._control.autofilled,o["\u0275nov"](e,706)._control.focused,"accent"==o["\u0275nov"](e,706).color,"warn"==o["\u0275nov"](e,706).color,o["\u0275nov"](e,706)._shouldForward("untouched"),o["\u0275nov"](e,706)._shouldForward("touched"),o["\u0275nov"](e,706)._shouldForward("pristine"),o["\u0275nov"](e,706)._shouldForward("dirty"),o["\u0275nov"](e,706)._shouldForward("valid"),o["\u0275nov"](e,706)._shouldForward("invalid"),o["\u0275nov"](e,706)._shouldForward("pending"),!o["\u0275nov"](e,706)._animationsEnabled]),n(e,716,1,[o["\u0275nov"](e,721).ngClassUntouched,o["\u0275nov"](e,721).ngClassTouched,o["\u0275nov"](e,721).ngClassPristine,o["\u0275nov"](e,721).ngClassDirty,o["\u0275nov"](e,721).ngClassValid,o["\u0275nov"](e,721).ngClassInvalid,o["\u0275nov"](e,721).ngClassPending,o["\u0275nov"](e,722)._isServer,o["\u0275nov"](e,722).id,o["\u0275nov"](e,722).placeholder,o["\u0275nov"](e,722).disabled,o["\u0275nov"](e,722).required,o["\u0275nov"](e,722).readonly&&!o["\u0275nov"](e,722)._isNativeSelect||null,o["\u0275nov"](e,722)._ariaDescribedby||null,o["\u0275nov"](e,722).errorState,o["\u0275nov"](e,722).required.toString()]),n(e,724,0,"NoopAnimations"===o["\u0275nov"](e,725)._animationMode),n(e,734,0,o["\u0275nov"](e,735).disabled||null,"NoopAnimations"===o["\u0275nov"](e,735)._animationMode),n(e,738,1,["standard"==o["\u0275nov"](e,739).appearance,"fill"==o["\u0275nov"](e,739).appearance,"outline"==o["\u0275nov"](e,739).appearance,"legacy"==o["\u0275nov"](e,739).appearance,o["\u0275nov"](e,739)._control.errorState,o["\u0275nov"](e,739)._canLabelFloat,o["\u0275nov"](e,739)._shouldLabelFloat(),o["\u0275nov"](e,739)._hasFloatingLabel(),o["\u0275nov"](e,739)._hideControlPlaceholder(),o["\u0275nov"](e,739)._control.disabled,o["\u0275nov"](e,739)._control.autofilled,o["\u0275nov"](e,739)._control.focused,"accent"==o["\u0275nov"](e,739).color,"warn"==o["\u0275nov"](e,739).color,o["\u0275nov"](e,739)._shouldForward("untouched"),o["\u0275nov"](e,739)._shouldForward("touched"),o["\u0275nov"](e,739)._shouldForward("pristine"),o["\u0275nov"](e,739)._shouldForward("dirty"),o["\u0275nov"](e,739)._shouldForward("valid"),o["\u0275nov"](e,739)._shouldForward("invalid"),o["\u0275nov"](e,739)._shouldForward("pending"),!o["\u0275nov"](e,739)._animationsEnabled]),n(e,749,1,[o["\u0275nov"](e,754).ngClassUntouched,o["\u0275nov"](e,754).ngClassTouched,o["\u0275nov"](e,754).ngClassPristine,o["\u0275nov"](e,754).ngClassDirty,o["\u0275nov"](e,754).ngClassValid,o["\u0275nov"](e,754).ngClassInvalid,o["\u0275nov"](e,754).ngClassPending,o["\u0275nov"](e,755)._isServer,o["\u0275nov"](e,755).id,o["\u0275nov"](e,755).placeholder,o["\u0275nov"](e,755).disabled,o["\u0275nov"](e,755).required,o["\u0275nov"](e,755).readonly&&!o["\u0275nov"](e,755)._isNativeSelect||null,o["\u0275nov"](e,755)._ariaDescribedby||null,o["\u0275nov"](e,755).errorState,o["\u0275nov"](e,755).required.toString()]),n(e,757,0,"NoopAnimations"===o["\u0275nov"](e,758)._animationMode),n(e,766,1,[o["\u0275nov"](e,767).id,null,o["\u0275nov"](e,767).indeterminate,o["\u0275nov"](e,767).checked,o["\u0275nov"](e,767).disabled,"before"==o["\u0275nov"](e,767).labelPosition,"NoopAnimations"===o["\u0275nov"](e,767)._animationMode,o["\u0275nov"](e,771).ngClassUntouched,o["\u0275nov"](e,771).ngClassTouched,o["\u0275nov"](e,771).ngClassPristine,o["\u0275nov"](e,771).ngClassDirty,o["\u0275nov"](e,771).ngClassValid,o["\u0275nov"](e,771).ngClassInvalid,o["\u0275nov"](e,771).ngClassPending]),n(e,775,1,["standard"==o["\u0275nov"](e,776).appearance,"fill"==o["\u0275nov"](e,776).appearance,"outline"==o["\u0275nov"](e,776).appearance,"legacy"==o["\u0275nov"](e,776).appearance,o["\u0275nov"](e,776)._control.errorState,o["\u0275nov"](e,776)._canLabelFloat,o["\u0275nov"](e,776)._shouldLabelFloat(),o["\u0275nov"](e,776)._hasFloatingLabel(),o["\u0275nov"](e,776)._hideControlPlaceholder(),o["\u0275nov"](e,776)._control.disabled,o["\u0275nov"](e,776)._control.autofilled,o["\u0275nov"](e,776)._control.focused,"accent"==o["\u0275nov"](e,776).color,"warn"==o["\u0275nov"](e,776).color,o["\u0275nov"](e,776)._shouldForward("untouched"),o["\u0275nov"](e,776)._shouldForward("touched"),o["\u0275nov"](e,776)._shouldForward("pristine"),o["\u0275nov"](e,776)._shouldForward("dirty"),o["\u0275nov"](e,776)._shouldForward("valid"),o["\u0275nov"](e,776)._shouldForward("invalid"),o["\u0275nov"](e,776)._shouldForward("pending"),!o["\u0275nov"](e,776)._animationsEnabled]),n(e,786,1,[o["\u0275nov"](e,790).ngClassUntouched,o["\u0275nov"](e,790).ngClassTouched,o["\u0275nov"](e,790).ngClassPristine,o["\u0275nov"](e,790).ngClassDirty,o["\u0275nov"](e,790).ngClassValid,o["\u0275nov"](e,790).ngClassInvalid,o["\u0275nov"](e,790).ngClassPending,o["\u0275nov"](e,791).id,o["\u0275nov"](e,791).tabIndex,o["\u0275nov"](e,791)._getAriaLabel(),o["\u0275nov"](e,791)._getAriaLabelledby(),o["\u0275nov"](e,791).required.toString(),o["\u0275nov"](e,791).disabled.toString(),o["\u0275nov"](e,791).errorState,o["\u0275nov"](e,791).panelOpen?o["\u0275nov"](e,791)._optionIds:null,o["\u0275nov"](e,791).multiple,o["\u0275nov"](e,791)._ariaDescribedby||null,o["\u0275nov"](e,791)._getAriaActiveDescendant(),o["\u0275nov"](e,791).disabled,o["\u0275nov"](e,791).errorState,o["\u0275nov"](e,791).required,o["\u0275nov"](e,791).empty]),n(e,798,0,"NoopAnimations"===o["\u0275nov"](e,799)._animationMode),n(e,807,1,["standard"==o["\u0275nov"](e,808).appearance,"fill"==o["\u0275nov"](e,808).appearance,"outline"==o["\u0275nov"](e,808).appearance,"legacy"==o["\u0275nov"](e,808).appearance,o["\u0275nov"](e,808)._control.errorState,o["\u0275nov"](e,808)._canLabelFloat,o["\u0275nov"](e,808)._shouldLabelFloat(),o["\u0275nov"](e,808)._hasFloatingLabel(),o["\u0275nov"](e,808)._hideControlPlaceholder(),o["\u0275nov"](e,808)._control.disabled,o["\u0275nov"](e,808)._control.autofilled,o["\u0275nov"](e,808)._control.focused,"accent"==o["\u0275nov"](e,808).color,"warn"==o["\u0275nov"](e,808).color,o["\u0275nov"](e,808)._shouldForward("untouched"),o["\u0275nov"](e,808)._shouldForward("touched"),o["\u0275nov"](e,808)._shouldForward("pristine"),o["\u0275nov"](e,808)._shouldForward("dirty"),o["\u0275nov"](e,808)._shouldForward("valid"),o["\u0275nov"](e,808)._shouldForward("invalid"),o["\u0275nov"](e,808)._shouldForward("pending"),!o["\u0275nov"](e,808)._animationsEnabled]),n(e,818,1,[o["\u0275nov"](e,823).ngClassUntouched,o["\u0275nov"](e,823).ngClassTouched,o["\u0275nov"](e,823).ngClassPristine,o["\u0275nov"](e,823).ngClassDirty,o["\u0275nov"](e,823).ngClassValid,o["\u0275nov"](e,823).ngClassInvalid,o["\u0275nov"](e,823).ngClassPending,o["\u0275nov"](e,824)._isServer,o["\u0275nov"](e,824).id,o["\u0275nov"](e,824).placeholder,o["\u0275nov"](e,824).disabled,o["\u0275nov"](e,824).required,o["\u0275nov"](e,824).readonly&&!o["\u0275nov"](e,824)._isNativeSelect||null,o["\u0275nov"](e,824)._ariaDescribedby||null,o["\u0275nov"](e,824).errorState,o["\u0275nov"](e,824).required.toString()]),n(e,826,1,[o["\u0275nov"](e,827).id,null,o["\u0275nov"](e,827).indeterminate,o["\u0275nov"](e,827).checked,o["\u0275nov"](e,827).disabled,"before"==o["\u0275nov"](e,827).labelPosition,"NoopAnimations"===o["\u0275nov"](e,827)._animationMode,o["\u0275nov"](e,831).ngClassUntouched,o["\u0275nov"](e,831).ngClassTouched,o["\u0275nov"](e,831).ngClassPristine,o["\u0275nov"](e,831).ngClassDirty,o["\u0275nov"](e,831).ngClassValid,o["\u0275nov"](e,831).ngClassInvalid,o["\u0275nov"](e,831).ngClassPending]),n(e,833,0,o["\u0275nov"](e,834).expanded,"NoopAnimations"===o["\u0275nov"](e,834)._animationMode,o["\u0275nov"](e,834)._hasSpacing());var J=o["\u0275nov"](e,838).panel._headerId,nn=o["\u0275nov"](e,838).disabled?-1:0,en=o["\u0275nov"](e,838)._getPanelId(),tn=o["\u0275nov"](e,838)._isExpanded(),ln=o["\u0275nov"](e,838).panel.disabled,on=o["\u0275nov"](e,838)._isExpanded(),rn="after"===o["\u0275nov"](e,838)._getTogglePosition(),an="before"===o["\u0275nov"](e,838)._getTogglePosition(),un=o["\u0275nov"](e,838)._animationsDisabled,sn=n(e,840,0,o["\u0275nov"](e,838)._getExpandedState(),n(e,839,0,o["\u0275nov"](e,838).collapsedHeight,o["\u0275nov"](e,838).expandedHeight));n(e,837,0,J,nn,en,tn,ln,on,rn,an,un,sn),n(e,844,1,["standard"==o["\u0275nov"](e,845).appearance,"fill"==o["\u0275nov"](e,845).appearance,"outline"==o["\u0275nov"](e,845).appearance,"legacy"==o["\u0275nov"](e,845).appearance,o["\u0275nov"](e,845)._control.errorState,o["\u0275nov"](e,845)._canLabelFloat,o["\u0275nov"](e,845)._shouldLabelFloat(),o["\u0275nov"](e,845)._hasFloatingLabel(),o["\u0275nov"](e,845)._hideControlPlaceholder(),o["\u0275nov"](e,845)._control.disabled,o["\u0275nov"](e,845)._control.autofilled,o["\u0275nov"](e,845)._control.focused,"accent"==o["\u0275nov"](e,845).color,"warn"==o["\u0275nov"](e,845).color,o["\u0275nov"](e,845)._shouldForward("untouched"),o["\u0275nov"](e,845)._shouldForward("touched"),o["\u0275nov"](e,845)._shouldForward("pristine"),o["\u0275nov"](e,845)._shouldForward("dirty"),o["\u0275nov"](e,845)._shouldForward("valid"),o["\u0275nov"](e,845)._shouldForward("invalid"),o["\u0275nov"](e,845)._shouldForward("pending"),!o["\u0275nov"](e,845)._animationsEnabled]),n(e,855,1,[o["\u0275nov"](e,860).ngClassUntouched,o["\u0275nov"](e,860).ngClassTouched,o["\u0275nov"](e,860).ngClassPristine,o["\u0275nov"](e,860).ngClassDirty,o["\u0275nov"](e,860).ngClassValid,o["\u0275nov"](e,860).ngClassInvalid,o["\u0275nov"](e,860).ngClassPending,o["\u0275nov"](e,861)._isServer,o["\u0275nov"](e,861).id,o["\u0275nov"](e,861).placeholder,o["\u0275nov"](e,861).disabled,o["\u0275nov"](e,861).required,o["\u0275nov"](e,861).readonly&&!o["\u0275nov"](e,861)._isNativeSelect||null,o["\u0275nov"](e,861)._ariaDescribedby||null,o["\u0275nov"](e,861).errorState,o["\u0275nov"](e,861).required.toString()]),n(e,864,0,o["\u0275nov"](e,865).disabled||null,"NoopAnimations"===o["\u0275nov"](e,865)._animationMode),n(e,867,0,o["\u0275nov"](e,868).disabled||null,"NoopAnimations"===o["\u0275nov"](e,868)._animationMode)})}function Fk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.qemuTemplate.symbol)},null)}function Nk(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](3,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](4,{shadowed:0}),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["QEMU VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,Ok)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l},mk,rk)),o["\u0275did"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,ok,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,Fk)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,4,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,3,0,"content",l),n(e,10,0,t.qemuTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.qemuTemplate)},function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.qemuTemplate))})}function Mk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-qemu-virtual-machine-template-details",[],null,null,null,Nk,bk)),o["\u0275did"](1,114688,null,0,gk,[bt,Uh,BS,vc,vk,rv,Rl],null,null)],function(n,e){n(e,1,0)},null)}var Ak=o["\u0275ccf"]("app-qemu-virtual-machine-template-details",gk,Mk,{},{},[]),qk=new o.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),Pk=0,jk=function(){return function(n,e){this.source=n,this.value=e}}(),Lk=function(){function n(n){this._changeDetector=n,this._value=null,this._name="mat-radio-group-"+Pk++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new o.EventEmitter}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(n){this._name=n,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(n){this._labelPosition="before"===n?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),n.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=n,this.value=n?n.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=uo(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=uo(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._isInitialized=!0},n.prototype._touch=function(){this.onTouched&&this.onTouched()},n.prototype._updateRadioButtonNames=function(){var n=this;this._radios&&this._radios.forEach(function(e){e.name=n.name,e._markForCheck()})},n.prototype._updateSelectedRadioFromValue=function(){var n=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(e){e.checked=n.value===e.value,e.checked&&(n._selected=e)}))},n.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new jk(this._selected,this._value))},n.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(n){return n._markForCheck()})},n.prototype.writeValue=function(n){this.value=n,this._changeDetector.markForCheck()},n.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetector.markForCheck()},n}(),Vk=function(n){function e(e,t,l,r,i,a,u){var s=n.call(this,t)||this;return s._changeDetector=l,s._focusMonitor=r,s._radioDispatcher=i,s._animationMode=a,s._providerOverride=u,s._uniqueId="mat-radio-"+ ++Pk,s.id=s._uniqueId,s.change=new o.EventEmitter,s._checked=!1,s._value=null,s._removeUniqueSelectionListener=function(){},s.radioGroup=e,s._removeUniqueSelectionListener=i.listen(function(n,e){n!==s.id&&e===s.name&&(s.checked=!1)}),s}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(n){var e=uo(n);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===n),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(n){this._labelPosition=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(n){var e=uo(n);this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(n){this._required=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(n){this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},e.prototype._markForCheck=function(){this._changeDetector.markForCheck()},e.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},e.prototype.ngAfterViewInit=function(){var n=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){!e&&n.radioGroup&&n.radioGroup._touch()})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()},e.prototype._emitChangeEvent=function(){this.change.emit(new jk(this,this._value))},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onInputClick=function(n){n.stopPropagation()},e.prototype._onInputChange=function(n){n.stopPropagation();var e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())},e}(Qo(Jo(function(){return function(n){this._elementRef=n}}()))),Bk=function(){return function(){}}(),zk=o["\u0275crt"]({encapsulation:2,styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media (-ms-high-contrast:active){.mat-radio-disabled{opacity:.5}}"],data:{}});function Uk(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_inputElement:0}),(n()(),o["\u0275eld"](1,0,[["label",1]],null,12,"label",[["class","mat-radio-label"]],[[1,"for",0]],null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","mat-radio-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,0,"div",[["class","mat-radio-outer-circle"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","mat-radio-inner-circle"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","mat-radio-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),o["\u0275did"](6,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),o["\u0275pod"](7,{enterDuration:0}),(n()(),o["\u0275eld"](8,0,null,null,0,"div",[["class","mat-ripple-element mat-radio-persistent-ripple"]],null,null,null,null,null)),(n()(),o["\u0275eld"](9,0,[[1,0],["input",1]],null,0,"input",[["class","mat-radio-input cdk-visually-hidden"],["type","radio"]],[[8,"id",0],[8,"checked",0],[8,"disabled",0],[8,"tabIndex",0],[1,"name",0],[8,"required",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"change"],[null,"click"]],function(n,e,t){var l=!0,o=n.component;return"change"===e&&(l=!1!==o._onInputChange(t)&&l),"click"===e&&(l=!1!==o._onInputClick(t)&&l),l},null,null)),(n()(),o["\u0275eld"](10,0,null,null,3,"div",[["class","mat-radio-label-content"]],[[2,"mat-radio-label-before",null]],null,null,null,null)),(n()(),o["\u0275eld"](11,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["\xa0"])),o["\u0275ncd"](null,0)],function(n,e){var t=e.component,l=n(e,7,0,150);n(e,6,0,!0,20,l,t._isRippleDisabled(),o["\u0275nov"](e,1))},function(n,e){var t=e.component;n(e,1,0,t.inputId),n(e,5,0,o["\u0275nov"](e,6).unbounded),n(e,9,0,t.inputId,t.checked,t.disabled,t.tabIndex,t.name,t.required,t.ariaLabel,t.ariaLabelledby,t.ariaDescribedby),n(e,10,0,"before"==t.labelPosition)})}var Hk=function(){return function(){}}(),Zk=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.configurationService=a,this.qemuBinaries=[],this.consoleTypes=[],this.newImageSelected=!1,this.qemuImages=[],this.chosenImage="",this.qemuTemplate=new Hk,this.nameForm=this.formBuilder.group({templateName:new Vm("",sm.required)}),this.memoryForm=this.formBuilder.group({ramMemory:new Vm("",sm.required)}),this.diskForm=this.formBuilder.group({fileName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.templateMocksService.getQemuTemplate().subscribe(function(e){n.qemuTemplate=e}),n.qemuService.getBinaries(e).subscribe(function(e){n.qemuBinaries=e}),n.qemuService.getImages(e).subscribe(function(e){n.qemuImages=e}),n.consoleTypes=n.configurationService.getConsoleTypes()})},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){this.chosenImage=n.target.files[0].name},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","qemu","templates"])},n.prototype.addTemplate=function(){var n=this;this.nameForm.invalid||this.memoryForm.invalid||!this.selectedImage&&!this.chosenImage?this.toasterService.error("Fill all required fields"):(this.qemuTemplate.ram=this.memoryForm.get("ramMemory").value,this.qemuTemplate.qemu_path=this.selectedBinary.path,this.qemuTemplate.hda_disk_image=this.newImageSelected?this.chosenImage:this.selectedImage.path,this.qemuTemplate.template_id=Object(dg.v4)(),this.qemuTemplate.name=this.nameForm.get("templateName").value,this.qemuService.addTemplate(this.server,this.qemuTemplate).subscribe(function(e){n.goBack()}))},n}(),Wk=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function Gk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[23,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.path)})}function Kk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[45,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function Yk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[50,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)})}function $k(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","Disk image (hda)"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedImage=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,50,{options:1}),o["\u0275qud"](603979776,51,{optionGroups:1}),o["\u0275qud"](603979776,52,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,Yk)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.selectedImage,o=n(e,4,0,!0);n(e,3,0,l,o),n(e,7,0,"Disk image (hda)"),n(e,12,0,t.qemuImages)},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function Xk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,23,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,[["file",1]],null,0,"input",[["accept",".qcow2"],["class","nonvisible"],["ngDefaultContro",""],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadImageFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).click()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](5,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](6,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,53,{_controlNonStatic:0}),o["\u0275qud"](335544320,54,{_controlStatic:0}),o["\u0275qud"](603979776,55,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,56,{_labelChildStatic:0}),o["\u0275qud"](603979776,57,{_placeholderChild:0}),o["\u0275qud"](603979776,58,{_errorChildren:1}),o["\u0275qud"](603979776,59,{_hintChildren:1}),o["\u0275qud"](603979776,60,{_prefixChildren:1}),o["\u0275qud"](603979776,61,{_suffixChildren:1}),(n()(),o["\u0275eld"](16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fileName"],["matInput",""],["placeholder","Please enter name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,17)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,22)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.chosenImage=t)&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](19,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](21,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](22,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[53,4],[54,4]],Pb,null,[d_])],function(n,e){var t=e.component;n(e,3,0,"primary"),n(e,19,0,"fileName",t.chosenImage),n(e,22,0,"Please enter name","text")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,1,["standard"==o["\u0275nov"](e,6).appearance,"fill"==o["\u0275nov"](e,6).appearance,"outline"==o["\u0275nov"](e,6).appearance,"legacy"==o["\u0275nov"](e,6).appearance,o["\u0275nov"](e,6)._control.errorState,o["\u0275nov"](e,6)._canLabelFloat,o["\u0275nov"](e,6)._shouldLabelFloat(),o["\u0275nov"](e,6)._hasFloatingLabel(),o["\u0275nov"](e,6)._hideControlPlaceholder(),o["\u0275nov"](e,6)._control.disabled,o["\u0275nov"](e,6)._control.autofilled,o["\u0275nov"](e,6)._control.focused,"accent"==o["\u0275nov"](e,6).color,"warn"==o["\u0275nov"](e,6).color,o["\u0275nov"](e,6)._shouldForward("untouched"),o["\u0275nov"](e,6)._shouldForward("touched"),o["\u0275nov"](e,6)._shouldForward("pristine"),o["\u0275nov"](e,6)._shouldForward("dirty"),o["\u0275nov"](e,6)._shouldForward("valid"),o["\u0275nov"](e,6)._shouldForward("invalid"),o["\u0275nov"](e,6)._shouldForward("pending"),!o["\u0275nov"](e,6)._animationsEnabled]),n(e,16,1,[o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending,o["\u0275nov"](e,22)._isServer,o["\u0275nov"](e,22).id,o["\u0275nov"](e,22).placeholder,o["\u0275nov"](e,22).disabled,o["\u0275nov"](e,22).required,o["\u0275nov"](e,22).readonly&&!o["\u0275nov"](e,22)._isNativeSelect||null,o["\u0275nov"](e,22)._ariaDescribedby||null,o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).required.toString()])})}function Qk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,159,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New QEMU VM template"])),(n()(),o["\u0275eld"](5,0,null,null,154,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,146,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,145,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,Fx,Dx)),o["\u0275prd"](6144,null,gx,null,[kx]),o["\u0275did"](9,5423104,null,2,kx,[[2,Ar],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,Sx,null,[kx]),(n()(),o["\u0275eld"](13,0,null,null,32,"mat-step",[["label","QEMU VM Name"]],null,null,null,Ix,Tx)),o["\u0275did"](14,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,3,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](17,0,null,0,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,19).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,19).onReset()&&l),l},null,null)),o["\u0275did"](18,16384,null,0,Xm,[],null,null),o["\u0275did"](19,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](21,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](22,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](23,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](33,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["ngDefaultContro",""],["placeholder","Please choose a descriptive name for your new QEMU virtual machine"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,34)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,34).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,34)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,34)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,39)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,39)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,39)._onInput()&&l),l},null,null)),o["\u0275did"](34,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](36,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](38,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](39,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](41,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](42,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],null,null,Mb,Nb)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](44,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,[" This is a legacy ASA VM "])),(n()(),o["\u0275eld"](46,0,null,null,53,"mat-step",[["label","QEMU binary and memory"]],null,null,null,Ix,Tx)),o["\u0275did"](47,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,13,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](50,0,null,0,49,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,52).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,52).onReset()&&l),l},null,null)),o["\u0275did"](51,16384,null,0,Xm,[],null,null),o["\u0275did"](52,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](54,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](55,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](56,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,14,{_controlNonStatic:0}),o["\u0275qud"](335544320,15,{_controlStatic:0}),o["\u0275qud"](603979776,16,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,17,{_labelChildStatic:0}),o["\u0275qud"](603979776,18,{_placeholderChild:0}),o["\u0275qud"](603979776,19,{_errorChildren:1}),o["\u0275qud"](603979776,20,{_hintChildren:1}),o["\u0275qud"](603979776,21,{_prefixChildren:1}),o["\u0275qud"](603979776,22,{_suffixChildren:1}),(n()(),o["\u0275eld"](66,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Qemu binary"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,72)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,72)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,72)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedBinary=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](68,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](69,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](71,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](72,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,23,{options:1}),o["\u0275qud"](603979776,24,{optionGroups:1}),o["\u0275qud"](603979776,25,{customTrigger:0}),o["\u0275prd"](2048,[[14,4],[15,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Gk)),o["\u0275did"](78,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](79,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](80,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](81,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,26,{_controlNonStatic:0}),o["\u0275qud"](335544320,27,{_controlStatic:0}),o["\u0275qud"](603979776,28,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,29,{_labelChildStatic:0}),o["\u0275qud"](603979776,30,{_placeholderChild:0}),o["\u0275qud"](603979776,31,{_errorChildren:1}),o["\u0275qud"](603979776,32,{_hintChildren:1}),o["\u0275qud"](603979776,33,{_prefixChildren:1}),o["\u0275qud"](603979776,34,{_suffixChildren:1}),(n()(),o["\u0275eld"](91,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ramMemory"],["matInput",""],["ngDefaultContro",""],["placeholder","RAM"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,92)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,92)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,92)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,93).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,93).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,93).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,98)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,98)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,98)._onInput()&&l),l},null,null)),o["\u0275did"](92,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](93,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](95,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](97,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](98,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[26,4],[27,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](100,0,null,null,27,"mat-step",[["label","Console type"]],null,null,null,Ix,Tx)),o["\u0275did"](101,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,35,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](104,0,null,0,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](105,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,36,{_controlNonStatic:0}),o["\u0275qud"](335544320,37,{_controlStatic:0}),o["\u0275qud"](603979776,38,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,39,{_labelChildStatic:0}),o["\u0275qud"](603979776,40,{_placeholderChild:0}),o["\u0275qud"](603979776,41,{_errorChildren:1}),o["\u0275qud"](603979776,42,{_hintChildren:1}),o["\u0275qud"](603979776,43,{_prefixChildren:1}),o["\u0275qud"](603979776,44,{_suffixChildren:1}),(n()(),o["\u0275eld"](115,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,121)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,121)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,121)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.qemuTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](117,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](118,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](120,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](121,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,45,{options:1}),o["\u0275qud"](603979776,46,{optionGroups:1}),o["\u0275qud"](603979776,47,{customTrigger:0}),o["\u0275prd"](2048,[[36,4],[37,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,Kk)),o["\u0275did"](127,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](128,0,null,null,24,"mat-step",[["label","Disk image"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](130,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,48,{stepLabel:0}),(n()(),o["\u0275eld"](132,0,null,0,20,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,134).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,134).onReset()&&l),l},null,null)),o["\u0275did"](133,16384,null,0,Xm,[],null,null),o["\u0275did"](134,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](136,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](137,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](139,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,49,{_radios:1}),(n()(),o["\u0275eld"](141,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,142)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Uk,zk)),o["\u0275did"](142,4440064,[[49,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](144,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,145)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Uk,zk)),o["\u0275did"](145,4440064,[[49,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275eld"](147,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](148,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,$k)),o["\u0275did"](150,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Xk)),o["\u0275did"](152,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](153,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](154,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](155,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](157,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](158,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,9,0,!0),n(e,14,0,"QEMU VM Name"),n(e,19,0,t.nameForm),n(e,36,0,"templateName"),n(e,39,0,"Please choose a descriptive name for your new QEMU virtual machine","text"),n(e,47,0,"QEMU binary and memory"),n(e,52,0,t.memoryForm);var l=t.selectedBinary,o=n(e,69,0,!0);n(e,68,0,l,o),n(e,72,0,"Qemu binary"),n(e,78,0,t.qemuBinaries),n(e,95,0,"ramMemory"),n(e,98,0,"RAM","number"),n(e,101,0,"Console type");var r=t.qemuTemplate.console_type,i=n(e,118,0,!0);n(e,117,0,r,i),n(e,121,0,"Console type"),n(e,127,0,t.consoleTypes),n(e,130,0,"Disk image"),n(e,134,0,t.diskForm),n(e,142,0,"","1"),n(e,145,0,"2"),n(e,150,0,!t.newImageSelected),n(e,152,0,t.newImageSelected),n(e,158,0,"primary")},function(n,e){n(e,17,0,o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending),n(e,22,1,["standard"==o["\u0275nov"](e,23).appearance,"fill"==o["\u0275nov"](e,23).appearance,"outline"==o["\u0275nov"](e,23).appearance,"legacy"==o["\u0275nov"](e,23).appearance,o["\u0275nov"](e,23)._control.errorState,o["\u0275nov"](e,23)._canLabelFloat,o["\u0275nov"](e,23)._shouldLabelFloat(),o["\u0275nov"](e,23)._hasFloatingLabel(),o["\u0275nov"](e,23)._hideControlPlaceholder(),o["\u0275nov"](e,23)._control.disabled,o["\u0275nov"](e,23)._control.autofilled,o["\u0275nov"](e,23)._control.focused,"accent"==o["\u0275nov"](e,23).color,"warn"==o["\u0275nov"](e,23).color,o["\u0275nov"](e,23)._shouldForward("untouched"),o["\u0275nov"](e,23)._shouldForward("touched"),o["\u0275nov"](e,23)._shouldForward("pristine"),o["\u0275nov"](e,23)._shouldForward("dirty"),o["\u0275nov"](e,23)._shouldForward("valid"),o["\u0275nov"](e,23)._shouldForward("invalid"),o["\u0275nov"](e,23)._shouldForward("pending"),!o["\u0275nov"](e,23)._animationsEnabled]),n(e,33,1,[o["\u0275nov"](e,38).ngClassUntouched,o["\u0275nov"](e,38).ngClassTouched,o["\u0275nov"](e,38).ngClassPristine,o["\u0275nov"](e,38).ngClassDirty,o["\u0275nov"](e,38).ngClassValid,o["\u0275nov"](e,38).ngClassInvalid,o["\u0275nov"](e,38).ngClassPending,o["\u0275nov"](e,39)._isServer,o["\u0275nov"](e,39).id,o["\u0275nov"](e,39).placeholder,o["\u0275nov"](e,39).disabled,o["\u0275nov"](e,39).required,o["\u0275nov"](e,39).readonly&&!o["\u0275nov"](e,39)._isNativeSelect||null,o["\u0275nov"](e,39)._ariaDescribedby||null,o["\u0275nov"](e,39).errorState,o["\u0275nov"](e,39).required.toString()]),n(e,42,0,o["\u0275nov"](e,44).id,null,o["\u0275nov"](e,44).indeterminate,o["\u0275nov"](e,44).checked,o["\u0275nov"](e,44).disabled,"before"==o["\u0275nov"](e,44).labelPosition,"NoopAnimations"===o["\u0275nov"](e,44)._animationMode),n(e,50,0,o["\u0275nov"](e,54).ngClassUntouched,o["\u0275nov"](e,54).ngClassTouched,o["\u0275nov"](e,54).ngClassPristine,o["\u0275nov"](e,54).ngClassDirty,o["\u0275nov"](e,54).ngClassValid,o["\u0275nov"](e,54).ngClassInvalid,o["\u0275nov"](e,54).ngClassPending),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,66,1,[o["\u0275nov"](e,71).ngClassUntouched,o["\u0275nov"](e,71).ngClassTouched,o["\u0275nov"](e,71).ngClassPristine,o["\u0275nov"](e,71).ngClassDirty,o["\u0275nov"](e,71).ngClassValid,o["\u0275nov"](e,71).ngClassInvalid,o["\u0275nov"](e,71).ngClassPending,o["\u0275nov"](e,72).id,o["\u0275nov"](e,72).tabIndex,o["\u0275nov"](e,72)._getAriaLabel(),o["\u0275nov"](e,72)._getAriaLabelledby(),o["\u0275nov"](e,72).required.toString(),o["\u0275nov"](e,72).disabled.toString(),o["\u0275nov"](e,72).errorState,o["\u0275nov"](e,72).panelOpen?o["\u0275nov"](e,72)._optionIds:null,o["\u0275nov"](e,72).multiple,o["\u0275nov"](e,72)._ariaDescribedby||null,o["\u0275nov"](e,72)._getAriaActiveDescendant(),o["\u0275nov"](e,72).disabled,o["\u0275nov"](e,72).errorState,o["\u0275nov"](e,72).required,o["\u0275nov"](e,72).empty]),n(e,80,1,["standard"==o["\u0275nov"](e,81).appearance,"fill"==o["\u0275nov"](e,81).appearance,"outline"==o["\u0275nov"](e,81).appearance,"legacy"==o["\u0275nov"](e,81).appearance,o["\u0275nov"](e,81)._control.errorState,o["\u0275nov"](e,81)._canLabelFloat,o["\u0275nov"](e,81)._shouldLabelFloat(),o["\u0275nov"](e,81)._hasFloatingLabel(),o["\u0275nov"](e,81)._hideControlPlaceholder(),o["\u0275nov"](e,81)._control.disabled,o["\u0275nov"](e,81)._control.autofilled,o["\u0275nov"](e,81)._control.focused,"accent"==o["\u0275nov"](e,81).color,"warn"==o["\u0275nov"](e,81).color,o["\u0275nov"](e,81)._shouldForward("untouched"),o["\u0275nov"](e,81)._shouldForward("touched"),o["\u0275nov"](e,81)._shouldForward("pristine"),o["\u0275nov"](e,81)._shouldForward("dirty"),o["\u0275nov"](e,81)._shouldForward("valid"),o["\u0275nov"](e,81)._shouldForward("invalid"),o["\u0275nov"](e,81)._shouldForward("pending"),!o["\u0275nov"](e,81)._animationsEnabled]),n(e,91,1,[o["\u0275nov"](e,97).ngClassUntouched,o["\u0275nov"](e,97).ngClassTouched,o["\u0275nov"](e,97).ngClassPristine,o["\u0275nov"](e,97).ngClassDirty,o["\u0275nov"](e,97).ngClassValid,o["\u0275nov"](e,97).ngClassInvalid,o["\u0275nov"](e,97).ngClassPending,o["\u0275nov"](e,98)._isServer,o["\u0275nov"](e,98).id,o["\u0275nov"](e,98).placeholder,o["\u0275nov"](e,98).disabled,o["\u0275nov"](e,98).required,o["\u0275nov"](e,98).readonly&&!o["\u0275nov"](e,98)._isNativeSelect||null,o["\u0275nov"](e,98)._ariaDescribedby||null,o["\u0275nov"](e,98).errorState,o["\u0275nov"](e,98).required.toString()]),n(e,104,1,["standard"==o["\u0275nov"](e,105).appearance,"fill"==o["\u0275nov"](e,105).appearance,"outline"==o["\u0275nov"](e,105).appearance,"legacy"==o["\u0275nov"](e,105).appearance,o["\u0275nov"](e,105)._control.errorState,o["\u0275nov"](e,105)._canLabelFloat,o["\u0275nov"](e,105)._shouldLabelFloat(),o["\u0275nov"](e,105)._hasFloatingLabel(),o["\u0275nov"](e,105)._hideControlPlaceholder(),o["\u0275nov"](e,105)._control.disabled,o["\u0275nov"](e,105)._control.autofilled,o["\u0275nov"](e,105)._control.focused,"accent"==o["\u0275nov"](e,105).color,"warn"==o["\u0275nov"](e,105).color,o["\u0275nov"](e,105)._shouldForward("untouched"),o["\u0275nov"](e,105)._shouldForward("touched"),o["\u0275nov"](e,105)._shouldForward("pristine"),o["\u0275nov"](e,105)._shouldForward("dirty"),o["\u0275nov"](e,105)._shouldForward("valid"),o["\u0275nov"](e,105)._shouldForward("invalid"),o["\u0275nov"](e,105)._shouldForward("pending"),!o["\u0275nov"](e,105)._animationsEnabled]),n(e,115,1,[o["\u0275nov"](e,120).ngClassUntouched,o["\u0275nov"](e,120).ngClassTouched,o["\u0275nov"](e,120).ngClassPristine,o["\u0275nov"](e,120).ngClassDirty,o["\u0275nov"](e,120).ngClassValid,o["\u0275nov"](e,120).ngClassInvalid,o["\u0275nov"](e,120).ngClassPending,o["\u0275nov"](e,121).id,o["\u0275nov"](e,121).tabIndex,o["\u0275nov"](e,121)._getAriaLabel(),o["\u0275nov"](e,121)._getAriaLabelledby(),o["\u0275nov"](e,121).required.toString(),o["\u0275nov"](e,121).disabled.toString(),o["\u0275nov"](e,121).errorState,o["\u0275nov"](e,121).panelOpen?o["\u0275nov"](e,121)._optionIds:null,o["\u0275nov"](e,121).multiple,o["\u0275nov"](e,121)._ariaDescribedby||null,o["\u0275nov"](e,121)._getAriaActiveDescendant(),o["\u0275nov"](e,121).disabled,o["\u0275nov"](e,121).errorState,o["\u0275nov"](e,121).required,o["\u0275nov"](e,121).empty]),n(e,132,0,o["\u0275nov"](e,136).ngClassUntouched,o["\u0275nov"](e,136).ngClassTouched,o["\u0275nov"](e,136).ngClassPristine,o["\u0275nov"](e,136).ngClassDirty,o["\u0275nov"](e,136).ngClassValid,o["\u0275nov"](e,136).ngClassInvalid,o["\u0275nov"](e,136).ngClassPending),n(e,141,0,o["\u0275nov"](e,142).checked,o["\u0275nov"](e,142).disabled,"NoopAnimations"===o["\u0275nov"](e,142)._animationMode,"primary"===o["\u0275nov"](e,142).color,"accent"===o["\u0275nov"](e,142).color,"warn"===o["\u0275nov"](e,142).color,-1,o["\u0275nov"](e,142).id),n(e,144,0,o["\u0275nov"](e,145).checked,o["\u0275nov"](e,145).disabled,"NoopAnimations"===o["\u0275nov"](e,145)._animationMode,"primary"===o["\u0275nov"](e,145).color,"accent"===o["\u0275nov"](e,145).color,"warn"===o["\u0275nov"](e,145).color,-1,o["\u0275nov"](e,145).id),n(e,154,0,o["\u0275nov"](e,155).disabled||null,"NoopAnimations"===o["\u0275nov"](e,155)._animationMode),n(e,157,0,o["\u0275nov"](e,158).disabled||null,"NoopAnimations"===o["\u0275nov"](e,158)._animationMode)})}function Jk(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-qemu-virtual-machine-template",[],null,null,null,Qk,Wk)),o["\u0275did"](1,114688,null,0,Zk,[bt,Uh,BS,vc,Rl,rv,Hy,vk],null,null)],function(n,e){n(e,1,0)},null)}var nE=o["\u0275ccf"]("app-add-qemu-virtual-machine-template",Zk,Jk,{},{},[]),eE=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),tE=function(){function n(n,e,t){this.route=n,this.serverService=e,this.vpcsService=t,this.vpcsTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.vpcsService.getTemplates(this.server).subscribe(function(e){n.vpcsTemplates=e.filter(function(n){return"vpcs"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),lE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function oE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function rE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add VPCS template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vpcs/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function iE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function aE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function uE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,aE)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.vpcsTemplates)},null)}function sE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,uE)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function dE(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VPCS node templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,oE)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,rE)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,iE)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,sE)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.vpcsTemplates.length),n(e,13,0,t.vpcsTemplates.length),n(e,15,0,t.server)},null)}function cE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vpcs-templates",[],null,null,null,dE,lE)),o["\u0275did"](1,114688,null,0,tE,[bt,Uh,eE],null,null)],function(n,e){n(e,1,0)},null)}var pE=o["\u0275ccf"]("app-vpcs-templates",tE,cE,{},{},[]),fE=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n}(),hE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vpcsService=t,this.toasterService=l,this.formBuilder=o,this.vpcsConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.inputForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),scriptFile:new Vm("",sm.required),symbol:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.vpcsService.getTemplate(n.server,t).subscribe(function(e){n.vpcsTemplate=e})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vpcsConfigurationService.getConsoleTypes(),this.categories=this.vpcsConfigurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.onSave=function(){var n=this;this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.vpcsService.saveTemplate(this.server,this.vpcsTemplate).subscribe(function(e){n.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.vpcsTemplate.symbol=n},n}(),mE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function vE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[46,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function gE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[58,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function bE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,151,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,143,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,141,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,20)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,20)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.name=t)&&l),l},null,null)),o["\u0275did"](20,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](22,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](24,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](25,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](27,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](28,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](38,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,39)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,39).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,39)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,44)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,44)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,44)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](39,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](41,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](43,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](44,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](46,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](47,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,19,{_controlNonStatic:0}),o["\u0275qud"](335544320,20,{_controlStatic:0}),o["\u0275qud"](603979776,21,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,22,{_labelChildStatic:0}),o["\u0275qud"](603979776,23,{_placeholderChild:0}),o["\u0275qud"](603979776,24,{_errorChildren:1}),o["\u0275qud"](603979776,25,{_hintChildren:1}),o["\u0275qud"](603979776,26,{_prefixChildren:1}),o["\u0275qud"](603979776,27,{_suffixChildren:1}),(n()(),o["\u0275eld"](57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","scriptFile"],["matInput",""],["placeholder","Base script file"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,58)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,58).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,58)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,58)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,63)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,63)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,63)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.base_script_file=t)&&l),l},null,null)),o["\u0275did"](58,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](60,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](62,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](63,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[19,4],[20,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](65,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](66,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,28,{_controlNonStatic:0}),o["\u0275qud"](335544320,29,{_controlStatic:0}),o["\u0275qud"](603979776,30,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,31,{_labelChildStatic:0}),o["\u0275qud"](603979776,32,{_placeholderChild:0}),o["\u0275qud"](603979776,33,{_errorChildren:1}),o["\u0275qud"](603979776,34,{_hintChildren:1}),o["\u0275qud"](603979776,35,{_prefixChildren:1}),o["\u0275qud"](603979776,36,{_suffixChildren:1}),(n()(),o["\u0275eld"](76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,77)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,77).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,77)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,77)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,82)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,82)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,82)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](77,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](79,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](81,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](82,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[28,4],[29,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](84,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](85,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](87,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](88,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](89,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](90,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,37,{_controlNonStatic:0}),o["\u0275qud"](335544320,38,{_controlStatic:0}),o["\u0275qud"](603979776,39,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,40,{_labelChildStatic:0}),o["\u0275qud"](603979776,41,{_placeholderChild:0}),o["\u0275qud"](603979776,42,{_errorChildren:1}),o["\u0275qud"](603979776,43,{_hintChildren:1}),o["\u0275qud"](603979776,44,{_prefixChildren:1}),o["\u0275qud"](603979776,45,{_suffixChildren:1}),(n()(),o["\u0275eld"](100,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,106)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,106)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,106)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](102,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](103,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](105,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](106,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,46,{options:1}),o["\u0275qud"](603979776,47,{optionGroups:1}),o["\u0275qud"](603979776,48,{customTrigger:0}),o["\u0275prd"](2048,[[37,4],[38,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,vE)),o["\u0275did"](112,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](113,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](114,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,49,{_controlNonStatic:0}),o["\u0275qud"](335544320,50,{_controlStatic:0}),o["\u0275qud"](603979776,51,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,52,{_labelChildStatic:0}),o["\u0275qud"](603979776,53,{_placeholderChild:0}),o["\u0275qud"](603979776,54,{_errorChildren:1}),o["\u0275qud"](603979776,55,{_hintChildren:1}),o["\u0275qud"](603979776,56,{_prefixChildren:1}),o["\u0275qud"](603979776,57,{_suffixChildren:1}),(n()(),o["\u0275eld"](124,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,130)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,130)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,130)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vpcsTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](126,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](127,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](129,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](130,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,58,{options:1}),o["\u0275qud"](603979776,59,{optionGroups:1}),o["\u0275qud"](603979776,60,{customTrigger:0}),o["\u0275prd"](2048,[[49,4],[50,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,gE)),o["\u0275did"](136,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](137,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vpcsTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](138,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](140,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](141,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](143,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](145,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](146,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](147,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](149,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](150,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,5,0,t.inputForm),n(e,22,0,"templateName",t.vpcsTemplate.name),n(e,25,0,"Template name","text"),n(e,41,0,"defaultName",t.vpcsTemplate.default_name_format),n(e,44,0,"Default name format","text"),n(e,60,0,"scriptFile",t.vpcsTemplate.base_script_file),n(e,63,0,"Base script file","text"),n(e,79,0,"symbol",t.vpcsTemplate.symbol),n(e,82,0,"Symbol","text");var l=t.vpcsTemplate.category,o=n(e,103,0,!0);n(e,102,0,l,o),n(e,106,0,"Category"),n(e,112,0,t.categories);var r=t.vpcsTemplate.console_type,i=n(e,127,0,!0);n(e,126,0,r,i),n(e,130,0,"Console type"),n(e,136,0,t.consoleTypes);var a=t.vpcsTemplate.console_auto_start,u=n(e,141,0,!0);n(e,140,0,a,u),n(e,150,0,"primary")},function(n,e){n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()]),n(e,27,1,["standard"==o["\u0275nov"](e,28).appearance,"fill"==o["\u0275nov"](e,28).appearance,"outline"==o["\u0275nov"](e,28).appearance,"legacy"==o["\u0275nov"](e,28).appearance,o["\u0275nov"](e,28)._control.errorState,o["\u0275nov"](e,28)._canLabelFloat,o["\u0275nov"](e,28)._shouldLabelFloat(),o["\u0275nov"](e,28)._hasFloatingLabel(),o["\u0275nov"](e,28)._hideControlPlaceholder(),o["\u0275nov"](e,28)._control.disabled,o["\u0275nov"](e,28)._control.autofilled,o["\u0275nov"](e,28)._control.focused,"accent"==o["\u0275nov"](e,28).color,"warn"==o["\u0275nov"](e,28).color,o["\u0275nov"](e,28)._shouldForward("untouched"),o["\u0275nov"](e,28)._shouldForward("touched"),o["\u0275nov"](e,28)._shouldForward("pristine"),o["\u0275nov"](e,28)._shouldForward("dirty"),o["\u0275nov"](e,28)._shouldForward("valid"),o["\u0275nov"](e,28)._shouldForward("invalid"),o["\u0275nov"](e,28)._shouldForward("pending"),!o["\u0275nov"](e,28)._animationsEnabled]),n(e,38,1,[o["\u0275nov"](e,43).ngClassUntouched,o["\u0275nov"](e,43).ngClassTouched,o["\u0275nov"](e,43).ngClassPristine,o["\u0275nov"](e,43).ngClassDirty,o["\u0275nov"](e,43).ngClassValid,o["\u0275nov"](e,43).ngClassInvalid,o["\u0275nov"](e,43).ngClassPending,o["\u0275nov"](e,44)._isServer,o["\u0275nov"](e,44).id,o["\u0275nov"](e,44).placeholder,o["\u0275nov"](e,44).disabled,o["\u0275nov"](e,44).required,o["\u0275nov"](e,44).readonly&&!o["\u0275nov"](e,44)._isNativeSelect||null,o["\u0275nov"](e,44)._ariaDescribedby||null,o["\u0275nov"](e,44).errorState,o["\u0275nov"](e,44).required.toString()]),n(e,46,1,["standard"==o["\u0275nov"](e,47).appearance,"fill"==o["\u0275nov"](e,47).appearance,"outline"==o["\u0275nov"](e,47).appearance,"legacy"==o["\u0275nov"](e,47).appearance,o["\u0275nov"](e,47)._control.errorState,o["\u0275nov"](e,47)._canLabelFloat,o["\u0275nov"](e,47)._shouldLabelFloat(),o["\u0275nov"](e,47)._hasFloatingLabel(),o["\u0275nov"](e,47)._hideControlPlaceholder(),o["\u0275nov"](e,47)._control.disabled,o["\u0275nov"](e,47)._control.autofilled,o["\u0275nov"](e,47)._control.focused,"accent"==o["\u0275nov"](e,47).color,"warn"==o["\u0275nov"](e,47).color,o["\u0275nov"](e,47)._shouldForward("untouched"),o["\u0275nov"](e,47)._shouldForward("touched"),o["\u0275nov"](e,47)._shouldForward("pristine"),o["\u0275nov"](e,47)._shouldForward("dirty"),o["\u0275nov"](e,47)._shouldForward("valid"),o["\u0275nov"](e,47)._shouldForward("invalid"),o["\u0275nov"](e,47)._shouldForward("pending"),!o["\u0275nov"](e,47)._animationsEnabled]),n(e,57,1,[o["\u0275nov"](e,62).ngClassUntouched,o["\u0275nov"](e,62).ngClassTouched,o["\u0275nov"](e,62).ngClassPristine,o["\u0275nov"](e,62).ngClassDirty,o["\u0275nov"](e,62).ngClassValid,o["\u0275nov"](e,62).ngClassInvalid,o["\u0275nov"](e,62).ngClassPending,o["\u0275nov"](e,63)._isServer,o["\u0275nov"](e,63).id,o["\u0275nov"](e,63).placeholder,o["\u0275nov"](e,63).disabled,o["\u0275nov"](e,63).required,o["\u0275nov"](e,63).readonly&&!o["\u0275nov"](e,63)._isNativeSelect||null,o["\u0275nov"](e,63)._ariaDescribedby||null,o["\u0275nov"](e,63).errorState,o["\u0275nov"](e,63).required.toString()]),n(e,65,1,["standard"==o["\u0275nov"](e,66).appearance,"fill"==o["\u0275nov"](e,66).appearance,"outline"==o["\u0275nov"](e,66).appearance,"legacy"==o["\u0275nov"](e,66).appearance,o["\u0275nov"](e,66)._control.errorState,o["\u0275nov"](e,66)._canLabelFloat,o["\u0275nov"](e,66)._shouldLabelFloat(),o["\u0275nov"](e,66)._hasFloatingLabel(),o["\u0275nov"](e,66)._hideControlPlaceholder(),o["\u0275nov"](e,66)._control.disabled,o["\u0275nov"](e,66)._control.autofilled,o["\u0275nov"](e,66)._control.focused,"accent"==o["\u0275nov"](e,66).color,"warn"==o["\u0275nov"](e,66).color,o["\u0275nov"](e,66)._shouldForward("untouched"),o["\u0275nov"](e,66)._shouldForward("touched"),o["\u0275nov"](e,66)._shouldForward("pristine"),o["\u0275nov"](e,66)._shouldForward("dirty"),o["\u0275nov"](e,66)._shouldForward("valid"),o["\u0275nov"](e,66)._shouldForward("invalid"),o["\u0275nov"](e,66)._shouldForward("pending"),!o["\u0275nov"](e,66)._animationsEnabled]),n(e,76,1,[o["\u0275nov"](e,81).ngClassUntouched,o["\u0275nov"](e,81).ngClassTouched,o["\u0275nov"](e,81).ngClassPristine,o["\u0275nov"](e,81).ngClassDirty,o["\u0275nov"](e,81).ngClassValid,o["\u0275nov"](e,81).ngClassInvalid,o["\u0275nov"](e,81).ngClassPending,o["\u0275nov"](e,82)._isServer,o["\u0275nov"](e,82).id,o["\u0275nov"](e,82).placeholder,o["\u0275nov"](e,82).disabled,o["\u0275nov"](e,82).required,o["\u0275nov"](e,82).readonly&&!o["\u0275nov"](e,82)._isNativeSelect||null,o["\u0275nov"](e,82)._ariaDescribedby||null,o["\u0275nov"](e,82).errorState,o["\u0275nov"](e,82).required.toString()]),n(e,84,0,o["\u0275nov"](e,85).disabled||null,"NoopAnimations"===o["\u0275nov"](e,85)._animationMode),n(e,89,1,["standard"==o["\u0275nov"](e,90).appearance,"fill"==o["\u0275nov"](e,90).appearance,"outline"==o["\u0275nov"](e,90).appearance,"legacy"==o["\u0275nov"](e,90).appearance,o["\u0275nov"](e,90)._control.errorState,o["\u0275nov"](e,90)._canLabelFloat,o["\u0275nov"](e,90)._shouldLabelFloat(),o["\u0275nov"](e,90)._hasFloatingLabel(),o["\u0275nov"](e,90)._hideControlPlaceholder(),o["\u0275nov"](e,90)._control.disabled,o["\u0275nov"](e,90)._control.autofilled,o["\u0275nov"](e,90)._control.focused,"accent"==o["\u0275nov"](e,90).color,"warn"==o["\u0275nov"](e,90).color,o["\u0275nov"](e,90)._shouldForward("untouched"),o["\u0275nov"](e,90)._shouldForward("touched"),o["\u0275nov"](e,90)._shouldForward("pristine"),o["\u0275nov"](e,90)._shouldForward("dirty"),o["\u0275nov"](e,90)._shouldForward("valid"),o["\u0275nov"](e,90)._shouldForward("invalid"),o["\u0275nov"](e,90)._shouldForward("pending"),!o["\u0275nov"](e,90)._animationsEnabled]),n(e,100,1,[o["\u0275nov"](e,105).ngClassUntouched,o["\u0275nov"](e,105).ngClassTouched,o["\u0275nov"](e,105).ngClassPristine,o["\u0275nov"](e,105).ngClassDirty,o["\u0275nov"](e,105).ngClassValid,o["\u0275nov"](e,105).ngClassInvalid,o["\u0275nov"](e,105).ngClassPending,o["\u0275nov"](e,106).id,o["\u0275nov"](e,106).tabIndex,o["\u0275nov"](e,106)._getAriaLabel(),o["\u0275nov"](e,106)._getAriaLabelledby(),o["\u0275nov"](e,106).required.toString(),o["\u0275nov"](e,106).disabled.toString(),o["\u0275nov"](e,106).errorState,o["\u0275nov"](e,106).panelOpen?o["\u0275nov"](e,106)._optionIds:null,o["\u0275nov"](e,106).multiple,o["\u0275nov"](e,106)._ariaDescribedby||null,o["\u0275nov"](e,106)._getAriaActiveDescendant(),o["\u0275nov"](e,106).disabled,o["\u0275nov"](e,106).errorState,o["\u0275nov"](e,106).required,o["\u0275nov"](e,106).empty]),n(e,113,1,["standard"==o["\u0275nov"](e,114).appearance,"fill"==o["\u0275nov"](e,114).appearance,"outline"==o["\u0275nov"](e,114).appearance,"legacy"==o["\u0275nov"](e,114).appearance,o["\u0275nov"](e,114)._control.errorState,o["\u0275nov"](e,114)._canLabelFloat,o["\u0275nov"](e,114)._shouldLabelFloat(),o["\u0275nov"](e,114)._hasFloatingLabel(),o["\u0275nov"](e,114)._hideControlPlaceholder(),o["\u0275nov"](e,114)._control.disabled,o["\u0275nov"](e,114)._control.autofilled,o["\u0275nov"](e,114)._control.focused,"accent"==o["\u0275nov"](e,114).color,"warn"==o["\u0275nov"](e,114).color,o["\u0275nov"](e,114)._shouldForward("untouched"),o["\u0275nov"](e,114)._shouldForward("touched"),o["\u0275nov"](e,114)._shouldForward("pristine"),o["\u0275nov"](e,114)._shouldForward("dirty"),o["\u0275nov"](e,114)._shouldForward("valid"),o["\u0275nov"](e,114)._shouldForward("invalid"),o["\u0275nov"](e,114)._shouldForward("pending"),!o["\u0275nov"](e,114)._animationsEnabled]),n(e,124,1,[o["\u0275nov"](e,129).ngClassUntouched,o["\u0275nov"](e,129).ngClassTouched,o["\u0275nov"](e,129).ngClassPristine,o["\u0275nov"](e,129).ngClassDirty,o["\u0275nov"](e,129).ngClassValid,o["\u0275nov"](e,129).ngClassInvalid,o["\u0275nov"](e,129).ngClassPending,o["\u0275nov"](e,130).id,o["\u0275nov"](e,130).tabIndex,o["\u0275nov"](e,130)._getAriaLabel(),o["\u0275nov"](e,130)._getAriaLabelledby(),o["\u0275nov"](e,130).required.toString(),o["\u0275nov"](e,130).disabled.toString(),o["\u0275nov"](e,130).errorState,o["\u0275nov"](e,130).panelOpen?o["\u0275nov"](e,130)._optionIds:null,o["\u0275nov"](e,130).multiple,o["\u0275nov"](e,130)._ariaDescribedby||null,o["\u0275nov"](e,130)._getAriaActiveDescendant(),o["\u0275nov"](e,130).disabled,o["\u0275nov"](e,130).errorState,o["\u0275nov"](e,130).required,o["\u0275nov"](e,130).empty]),n(e,137,1,[o["\u0275nov"](e,138).id,null,o["\u0275nov"](e,138).indeterminate,o["\u0275nov"](e,138).checked,o["\u0275nov"](e,138).disabled,"before"==o["\u0275nov"](e,138).labelPosition,"NoopAnimations"===o["\u0275nov"](e,138)._animationMode,o["\u0275nov"](e,143).ngClassUntouched,o["\u0275nov"](e,143).ngClassTouched,o["\u0275nov"](e,143).ngClassPristine,o["\u0275nov"](e,143).ngClassDirty,o["\u0275nov"](e,143).ngClassValid,o["\u0275nov"](e,143).ngClassInvalid,o["\u0275nov"](e,143).ngClassPending]),n(e,146,0,o["\u0275nov"](e,147).disabled||null,"NoopAnimations"===o["\u0275nov"](e,147)._animationMode),n(e,149,0,o["\u0275nov"](e,150).disabled||null,"NoopAnimations"===o["\u0275nov"](e,150)._animationMode)})}function _E(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.vpcsTemplate.symbol)},null)}function yE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VPCS device configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,bE)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,_E)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.vpcsTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.vpcsTemplate)},null)}function wE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vpcs-template-details",[],null,null,null,yE,mE)),o["\u0275did"](1,114688,null,0,hE,[bt,Uh,eE,vc,rv,fE,Rl],null,null)],function(n,e){n(e,1,0)},null)}var CE=o["\u0275ccf"]("app-vpcs-template-details",hE,wE,{},{},[]),xE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vpcsService=t,this.router=l,this.toasterService=o,this.templateMocksService=r,this.formBuilder=i,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Vm(null,[sm.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vpcs","templates"])},n.prototype.addTemplate=function(){var n,e=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.templateName=this.templateNameForm.get("templateName").value,this.templateMocksService.getVpcsTemplate().subscribe(function(e){n=e}),n.template_id=Object(dg.v4)(),n.name=this.templateName,this.vpcsService.addTemplate(this.server,n).subscribe(function(){e.goBack()}))},n}(),SE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function kE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VPCS node template"])),(n()(),o["\u0275eld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){n(e,10,0,e.component.templateNameForm),n(e,27,0,"templateName"),n(e,30,0,"Template name","text"),n(e,37,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function EE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-vpcs-template",[],null,null,null,kE,SE)),o["\u0275did"](1,114688,null,0,xE,[bt,Uh,eE,Rl,vc,Hy,rv],null,null)],function(n,e){n(e,1,0)},null)}var TE=o["\u0275ccf"]("app-add-vpcs-template",xE,EE,{},{},[]),RE=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n.prototype.getVirtualMachines=function(n){return this.httpServer.get(n,"/compute/virtualbox/vms")},n}(),IE=function(){function n(n,e,t){this.route=n,this.serverService=e,this.virtualBoxService=t,this.virtualBoxTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.virtualBoxService.getTemplates(this.server).subscribe(function(e){n.virtualBoxTemplates=e.filter(function(n){return"virtualbox"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),DE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function OE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function FE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Virtual Box VM template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/virtualbox/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function NE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function ME(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function AE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,ME)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.virtualBoxTemplates)},null)}function qE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,AE)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function PE(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VirtualBox VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,OE)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,FE)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,NE)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qE)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.virtualBoxTemplates.length),n(e,13,0,t.virtualBoxTemplates.length),n(e,15,0,t.server)},null)}function jE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-virtual-box-templates",[],null,null,null,PE,DE)),o["\u0275did"](1,114688,null,0,IE,[bt,Uh,RE],null,null)],function(n,e){n(e,1,0)},null)}var LE=o["\u0275ccf"]("app-virtual-box-templates",IE,jE,{},{},[]),VE=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getNetworkTypes=function(){return["PCnet-PCI II (Am79C970A)","PCNet-FAST III (Am79C973)","Intel PRO/1000 MT Desktop (82540EM)","Intel PRO/1000 T Server (82543GC)","Intel PRO/1000 MT Server (82545EM)","Paravirtualized Network (virtio-net)"]},n}(),BE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.formBuilder=o,this.virtualBoxConfigurationService=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.onCloseOptions=[],this.categories=[],this.networkTypes=[],this.displayedColumns=["adapter_number","port_name","adapter_type"],this.isConfiguratorOpened=!1,this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required),ram:new Vm("",sm.required)}),this.networkForm=this.formBuilder.group({adapters:new Vm("",sm.required),nameFormat:new Vm("",sm.required),size:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.virtualBoxService.getTemplate(n.server,t).subscribe(function(e){n.virtualBoxTemplate=e,n.fillCustomAdapters()})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.virtualBoxConfigurationService.getConsoleTypes(),this.onCloseOptions=this.virtualBoxConfigurationService.getOnCloseoptions(),this.categories=this.virtualBoxConfigurationService.getCategories(),this.networkTypes=this.virtualBoxConfigurationService.getNetworkTypes()},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.virtualBoxTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.virtualBoxTemplate.custom_adapters.forEach(function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})}))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.virtualBoxTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.virtualBoxTemplate.custom_adapters?this.virtualBoxTemplate.custom_adapters:[];this.virtualBoxTemplate.custom_adapters=[];for(var e=0;e<this.virtualBoxTemplate.adapters;e++)this.virtualBoxTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.virtualBoxService.saveTemplate(this.server,this.virtualBoxTemplate).subscribe(function(e){n.toasterService.success("Changes saved")}))},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.virtualBoxTemplate.symbol=n},n}(),zE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function UE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[40,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function HE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[52,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function ZE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[73,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function WE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[122,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function GE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,364,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,356,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,192,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,3,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,166,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,13,{_controlNonStatic:0}),o["\u0275qud"](335544320,14,{_controlStatic:0}),o["\u0275qud"](603979776,15,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,16,{_labelChildStatic:0}),o["\u0275qud"](603979776,17,{_placeholderChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[13,4],[14,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,22,{_controlNonStatic:0}),o["\u0275qud"](335544320,23,{_controlStatic:0}),o["\u0275qud"](603979776,24,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,25,{_labelChildStatic:0}),o["\u0275qud"](603979776,26,{_placeholderChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4],[23,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](79,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,31,{_controlNonStatic:0}),o["\u0275qud"](335544320,32,{_controlStatic:0}),o["\u0275qud"](603979776,33,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,34,{_labelChildStatic:0}),o["\u0275qud"](603979776,35,{_placeholderChild:0}),o["\u0275qud"](603979776,36,{_errorChildren:1}),o["\u0275qud"](603979776,37,{_hintChildren:1}),o["\u0275qud"](603979776,38,{_prefixChildren:1}),o["\u0275qud"](603979776,39,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](96,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](97,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](100,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,40,{options:1}),o["\u0275qud"](603979776,41,{optionGroups:1}),o["\u0275qud"](603979776,42,{customTrigger:0}),o["\u0275prd"](2048,[[31,4],[32,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,UE)),o["\u0275did"](106,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](108,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,43,{_controlNonStatic:0}),o["\u0275qud"](335544320,44,{_controlStatic:0}),o["\u0275qud"](603979776,45,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,46,{_labelChildStatic:0}),o["\u0275qud"](603979776,47,{_placeholderChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](120,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](121,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](123,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](124,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,52,{options:1}),o["\u0275qud"](603979776,53,{optionGroups:1}),o["\u0275qud"](603979776,54,{customTrigger:0}),o["\u0275prd"](2048,[[43,4],[44,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,HE)),o["\u0275did"](130,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](131,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](132,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](134,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](135,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](137,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](139,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](140,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,55,{_controlNonStatic:0}),o["\u0275qud"](335544320,56,{_controlStatic:0}),o["\u0275qud"](603979776,57,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,58,{_labelChildStatic:0}),o["\u0275qud"](603979776,59,{_placeholderChild:0}),o["\u0275qud"](603979776,60,{_errorChildren:1}),o["\u0275qud"](603979776,61,{_hintChildren:1}),o["\u0275qud"](603979776,62,{_prefixChildren:1}),o["\u0275qud"](603979776,63,{_suffixChildren:1}),(n()(),o["\u0275eld"](150,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ram"],["matInput",""],["placeholder","RAM"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,151)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,151).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,151)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,151)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,152).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,152).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,152).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,157)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,157)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,157)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](151,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](152,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](154,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](156,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](157,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[55,4],[56,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](159,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](160,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,64,{_controlNonStatic:0}),o["\u0275qud"](335544320,65,{_controlStatic:0}),o["\u0275qud"](603979776,66,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,67,{_labelChildStatic:0}),o["\u0275qud"](603979776,68,{_placeholderChild:0}),o["\u0275qud"](603979776,69,{_errorChildren:1}),o["\u0275qud"](603979776,70,{_hintChildren:1}),o["\u0275qud"](603979776,71,{_prefixChildren:1}),o["\u0275qud"](603979776,72,{_suffixChildren:1}),(n()(),o["\u0275eld"](170,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,176)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,176)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,176)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.on_close=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](172,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](173,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](175,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](176,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,73,{options:1}),o["\u0275qud"](603979776,74,{optionGroups:1}),o["\u0275qud"](603979776,75,{customTrigger:0}),o["\u0275prd"](2048,[[64,4],[65,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,ZE)),o["\u0275did"](182,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](183,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.headless=t)&&l),l},Mb,Nb)),o["\u0275did"](184,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](186,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](188,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Start VM in headless mode "])),(n()(),o["\u0275eld"](190,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](191,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.linked_clone=t)&&l),l},Mb,Nb)),o["\u0275did"](192,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](194,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](196,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](198,16777216,null,null,129,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](199,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,76,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](202,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,203)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,203)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,203)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](203,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](204,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](205,{value:0,params:1}),(n()(),o["\u0275eld"](206,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](207,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](209,0,null,1,107,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,211).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,211).onReset()&&l),l},null,null)),o["\u0275did"](210,16384,null,0,Xm,[],null,null),o["\u0275did"](211,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](213,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](214,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](215,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,77,{_controlNonStatic:0}),o["\u0275qud"](335544320,78,{_controlStatic:0}),o["\u0275qud"](603979776,79,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,80,{_labelChildStatic:0}),o["\u0275qud"](603979776,81,{_placeholderChild:0}),o["\u0275qud"](603979776,82,{_errorChildren:1}),o["\u0275qud"](603979776,83,{_hintChildren:1}),o["\u0275qud"](603979776,84,{_prefixChildren:1}),o["\u0275qud"](603979776,85,{_suffixChildren:1}),(n()(),o["\u0275eld"](225,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","adapters"],["matInput",""],["placeholder","Adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,226)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,226).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,226)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,226)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,227).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,227).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,227).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,232)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,232)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,232)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](226,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](227,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](229,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](231,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](232,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[77,4],[78,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](234,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](235,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,86,{_controlNonStatic:0}),o["\u0275qud"](335544320,87,{_controlStatic:0}),o["\u0275qud"](603979776,88,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,89,{_labelChildStatic:0}),o["\u0275qud"](603979776,90,{_placeholderChild:0}),o["\u0275qud"](603979776,91,{_errorChildren:1}),o["\u0275qud"](603979776,92,{_hintChildren:1}),o["\u0275qud"](603979776,93,{_prefixChildren:1}),o["\u0275qud"](603979776,94,{_suffixChildren:1}),(n()(),o["\u0275eld"](245,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,246)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,246).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,246)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,252)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,252)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,252)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](246,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](248,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](249,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](251,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](252,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[86,4],[87,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](254,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](255,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,95,{_controlNonStatic:0}),o["\u0275qud"](335544320,96,{_controlStatic:0}),o["\u0275qud"](603979776,97,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,98,{_labelChildStatic:0}),o["\u0275qud"](603979776,99,{_placeholderChild:0}),o["\u0275qud"](603979776,100,{_errorChildren:1}),o["\u0275qud"](603979776,101,{_hintChildren:1}),o["\u0275qud"](603979776,102,{_prefixChildren:1}),o["\u0275qud"](603979776,103,{_suffixChildren:1}),(n()(),o["\u0275eld"](265,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nameFormat"],["matInput",""],["placeholder","Name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,266)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,266).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,266)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,266)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,271)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,271)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,271)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](266,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](268,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](270,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](271,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[95,4],[96,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](273,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](274,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,104,{_controlNonStatic:0}),o["\u0275qud"](335544320,105,{_controlStatic:0}),o["\u0275qud"](603979776,106,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,107,{_labelChildStatic:0}),o["\u0275qud"](603979776,108,{_placeholderChild:0}),o["\u0275qud"](603979776,109,{_errorChildren:1}),o["\u0275qud"](603979776,110,{_hintChildren:1}),o["\u0275qud"](603979776,111,{_prefixChildren:1}),o["\u0275qud"](603979776,112,{_suffixChildren:1}),(n()(),o["\u0275eld"](284,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","size"],["matInput",""],["placeholder","Segment size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,285)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,285).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,285)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,285)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,286).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,286).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,286).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,291)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,291)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,291)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](285,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](286,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](288,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](290,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](291,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[104,4],[105,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](293,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](294,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,113,{_controlNonStatic:0}),o["\u0275qud"](335544320,114,{_controlStatic:0}),o["\u0275qud"](603979776,115,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,116,{_labelChildStatic:0}),o["\u0275qud"](603979776,117,{_placeholderChild:0}),o["\u0275qud"](603979776,118,{_errorChildren:1}),o["\u0275qud"](603979776,119,{_hintChildren:1}),o["\u0275qud"](603979776,120,{_prefixChildren:1}),o["\u0275qud"](603979776,121,{_suffixChildren:1}),(n()(),o["\u0275eld"](304,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,310)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,310)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,310)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.adapter_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](306,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](307,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](309,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](310,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,122,{options:1}),o["\u0275qud"](603979776,123,{optionGroups:1}),o["\u0275qud"](603979776,124,{customTrigger:0}),o["\u0275prd"](2048,[[113,4],[114,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,WE)),o["\u0275did"](316,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](317,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l},pu,cu)),o["\u0275did"](318,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](320,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](321,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.use_any_adapter=t)&&l),l},Mb,Nb)),o["\u0275did"](322,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](324,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](326,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Allow GNS3 to use any configured VirtualBox adapter "])),(n()(),o["\u0275eld"](328,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](329,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,125,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](332,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,333)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,333)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,333)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](333,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](334,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](335,{value:0,params:1}),(n()(),o["\u0275eld"](336,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](337,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](339,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](340,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,126,{_controlNonStatic:0}),o["\u0275qud"](335544320,127,{_controlStatic:0}),o["\u0275qud"](603979776,128,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,129,{_labelChildStatic:0}),o["\u0275qud"](603979776,130,{_placeholderChild:0}),o["\u0275qud"](603979776,131,{_errorChildren:1}),o["\u0275qud"](603979776,132,{_hintChildren:1}),o["\u0275qud"](603979776,133,{_prefixChildren:1}),o["\u0275qud"](603979776,134,{_suffixChildren:1}),(n()(),o["\u0275eld"](350,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,351)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,351).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,351)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,351)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,356)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,356)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,356)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.virtualBoxTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](351,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](353,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](355,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](356,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[126,4],[127,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](358,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](359,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](360,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](362,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](363,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.virtualBoxTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.virtualBoxTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.virtualBoxTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.virtualBoxTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var r=t.virtualBoxTemplate.console_type,i=n(e,121,0,!0);n(e,120,0,r,i),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes);var a=t.virtualBoxTemplate.console_auto_start,u=n(e,135,0,!0);n(e,134,0,a,u),n(e,154,0,"ram",t.virtualBoxTemplate.ram),n(e,157,0,"RAM","number");var s=t.virtualBoxTemplate.on_close,d=n(e,173,0,!0);n(e,172,0,s,d),n(e,176,0,"On close"),n(e,182,0,t.onCloseOptions),n(e,186,0,t.virtualBoxTemplate.headless),n(e,194,0,t.virtualBoxTemplate.linked_clone),n(e,211,0,t.networkForm),n(e,229,0,"adapters",t.virtualBoxTemplate.adapters),n(e,232,0,"Adapters","number");var c=t.virtualBoxTemplate.first_port_name,p=n(e,249,0,!0);n(e,248,0,c,p),n(e,252,0,"First port name","text"),n(e,268,0,"nameFormat",t.virtualBoxTemplate.port_name_format),n(e,271,0,"Name format","text"),n(e,288,0,"size",t.virtualBoxTemplate.port_segment_size),n(e,291,0,"Segment size","number");var f=t.virtualBoxTemplate.adapter_type,h=n(e,307,0,!0);n(e,306,0,f,h),n(e,310,0,"Type"),n(e,316,0,t.networkTypes),n(e,324,0,t.virtualBoxTemplate.use_any_adapter),n(e,353,0,t.virtualBoxTemplate.usage),n(e,356,0,"text"),n(e,363,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,78,0,o["\u0275nov"](e,79).disabled||null,"NoopAnimations"===o["\u0275nov"](e,79)._animationMode),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).tabIndex,o["\u0275nov"](e,100)._getAriaLabel(),o["\u0275nov"](e,100)._getAriaLabelledby(),o["\u0275nov"](e,100).required.toString(),o["\u0275nov"](e,100).disabled.toString(),o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).panelOpen?o["\u0275nov"](e,100)._optionIds:null,o["\u0275nov"](e,100).multiple,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100)._getAriaActiveDescendant(),o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).empty]),n(e,107,1,["standard"==o["\u0275nov"](e,108).appearance,"fill"==o["\u0275nov"](e,108).appearance,"outline"==o["\u0275nov"](e,108).appearance,"legacy"==o["\u0275nov"](e,108).appearance,o["\u0275nov"](e,108)._control.errorState,o["\u0275nov"](e,108)._canLabelFloat,o["\u0275nov"](e,108)._shouldLabelFloat(),o["\u0275nov"](e,108)._hasFloatingLabel(),o["\u0275nov"](e,108)._hideControlPlaceholder(),o["\u0275nov"](e,108)._control.disabled,o["\u0275nov"](e,108)._control.autofilled,o["\u0275nov"](e,108)._control.focused,"accent"==o["\u0275nov"](e,108).color,"warn"==o["\u0275nov"](e,108).color,o["\u0275nov"](e,108)._shouldForward("untouched"),o["\u0275nov"](e,108)._shouldForward("touched"),o["\u0275nov"](e,108)._shouldForward("pristine"),o["\u0275nov"](e,108)._shouldForward("dirty"),o["\u0275nov"](e,108)._shouldForward("valid"),o["\u0275nov"](e,108)._shouldForward("invalid"),o["\u0275nov"](e,108)._shouldForward("pending"),!o["\u0275nov"](e,108)._animationsEnabled]),n(e,118,1,[o["\u0275nov"](e,123).ngClassUntouched,o["\u0275nov"](e,123).ngClassTouched,o["\u0275nov"](e,123).ngClassPristine,o["\u0275nov"](e,123).ngClassDirty,o["\u0275nov"](e,123).ngClassValid,o["\u0275nov"](e,123).ngClassInvalid,o["\u0275nov"](e,123).ngClassPending,o["\u0275nov"](e,124).id,o["\u0275nov"](e,124).tabIndex,o["\u0275nov"](e,124)._getAriaLabel(),o["\u0275nov"](e,124)._getAriaLabelledby(),o["\u0275nov"](e,124).required.toString(),o["\u0275nov"](e,124).disabled.toString(),o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).panelOpen?o["\u0275nov"](e,124)._optionIds:null,o["\u0275nov"](e,124).multiple,o["\u0275nov"](e,124)._ariaDescribedby||null,o["\u0275nov"](e,124)._getAriaActiveDescendant(),o["\u0275nov"](e,124).disabled,o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).required,o["\u0275nov"](e,124).empty]),n(e,131,1,[o["\u0275nov"](e,132).id,null,o["\u0275nov"](e,132).indeterminate,o["\u0275nov"](e,132).checked,o["\u0275nov"](e,132).disabled,"before"==o["\u0275nov"](e,132).labelPosition,"NoopAnimations"===o["\u0275nov"](e,132)._animationMode,o["\u0275nov"](e,137).ngClassUntouched,o["\u0275nov"](e,137).ngClassTouched,o["\u0275nov"](e,137).ngClassPristine,o["\u0275nov"](e,137).ngClassDirty,o["\u0275nov"](e,137).ngClassValid,o["\u0275nov"](e,137).ngClassInvalid,o["\u0275nov"](e,137).ngClassPending]),n(e,139,1,["standard"==o["\u0275nov"](e,140).appearance,"fill"==o["\u0275nov"](e,140).appearance,"outline"==o["\u0275nov"](e,140).appearance,"legacy"==o["\u0275nov"](e,140).appearance,o["\u0275nov"](e,140)._control.errorState,o["\u0275nov"](e,140)._canLabelFloat,o["\u0275nov"](e,140)._shouldLabelFloat(),o["\u0275nov"](e,140)._hasFloatingLabel(),o["\u0275nov"](e,140)._hideControlPlaceholder(),o["\u0275nov"](e,140)._control.disabled,o["\u0275nov"](e,140)._control.autofilled,o["\u0275nov"](e,140)._control.focused,"accent"==o["\u0275nov"](e,140).color,"warn"==o["\u0275nov"](e,140).color,o["\u0275nov"](e,140)._shouldForward("untouched"),o["\u0275nov"](e,140)._shouldForward("touched"),o["\u0275nov"](e,140)._shouldForward("pristine"),o["\u0275nov"](e,140)._shouldForward("dirty"),o["\u0275nov"](e,140)._shouldForward("valid"),o["\u0275nov"](e,140)._shouldForward("invalid"),o["\u0275nov"](e,140)._shouldForward("pending"),!o["\u0275nov"](e,140)._animationsEnabled]),n(e,150,1,[o["\u0275nov"](e,156).ngClassUntouched,o["\u0275nov"](e,156).ngClassTouched,o["\u0275nov"](e,156).ngClassPristine,o["\u0275nov"](e,156).ngClassDirty,o["\u0275nov"](e,156).ngClassValid,o["\u0275nov"](e,156).ngClassInvalid,o["\u0275nov"](e,156).ngClassPending,o["\u0275nov"](e,157)._isServer,o["\u0275nov"](e,157).id,o["\u0275nov"](e,157).placeholder,o["\u0275nov"](e,157).disabled,o["\u0275nov"](e,157).required,o["\u0275nov"](e,157).readonly&&!o["\u0275nov"](e,157)._isNativeSelect||null,o["\u0275nov"](e,157)._ariaDescribedby||null,o["\u0275nov"](e,157).errorState,o["\u0275nov"](e,157).required.toString()]),n(e,159,1,["standard"==o["\u0275nov"](e,160).appearance,"fill"==o["\u0275nov"](e,160).appearance,"outline"==o["\u0275nov"](e,160).appearance,"legacy"==o["\u0275nov"](e,160).appearance,o["\u0275nov"](e,160)._control.errorState,o["\u0275nov"](e,160)._canLabelFloat,o["\u0275nov"](e,160)._shouldLabelFloat(),o["\u0275nov"](e,160)._hasFloatingLabel(),o["\u0275nov"](e,160)._hideControlPlaceholder(),o["\u0275nov"](e,160)._control.disabled,o["\u0275nov"](e,160)._control.autofilled,o["\u0275nov"](e,160)._control.focused,"accent"==o["\u0275nov"](e,160).color,"warn"==o["\u0275nov"](e,160).color,o["\u0275nov"](e,160)._shouldForward("untouched"),o["\u0275nov"](e,160)._shouldForward("touched"),o["\u0275nov"](e,160)._shouldForward("pristine"),o["\u0275nov"](e,160)._shouldForward("dirty"),o["\u0275nov"](e,160)._shouldForward("valid"),o["\u0275nov"](e,160)._shouldForward("invalid"),o["\u0275nov"](e,160)._shouldForward("pending"),!o["\u0275nov"](e,160)._animationsEnabled]),n(e,170,1,[o["\u0275nov"](e,175).ngClassUntouched,o["\u0275nov"](e,175).ngClassTouched,o["\u0275nov"](e,175).ngClassPristine,o["\u0275nov"](e,175).ngClassDirty,o["\u0275nov"](e,175).ngClassValid,o["\u0275nov"](e,175).ngClassInvalid,o["\u0275nov"](e,175).ngClassPending,o["\u0275nov"](e,176).id,o["\u0275nov"](e,176).tabIndex,o["\u0275nov"](e,176)._getAriaLabel(),o["\u0275nov"](e,176)._getAriaLabelledby(),o["\u0275nov"](e,176).required.toString(),o["\u0275nov"](e,176).disabled.toString(),o["\u0275nov"](e,176).errorState,o["\u0275nov"](e,176).panelOpen?o["\u0275nov"](e,176)._optionIds:null,o["\u0275nov"](e,176).multiple,o["\u0275nov"](e,176)._ariaDescribedby||null,o["\u0275nov"](e,176)._getAriaActiveDescendant(),o["\u0275nov"](e,176).disabled,o["\u0275nov"](e,176).errorState,o["\u0275nov"](e,176).required,o["\u0275nov"](e,176).empty]),n(e,183,1,[o["\u0275nov"](e,184).id,null,o["\u0275nov"](e,184).indeterminate,o["\u0275nov"](e,184).checked,o["\u0275nov"](e,184).disabled,"before"==o["\u0275nov"](e,184).labelPosition,"NoopAnimations"===o["\u0275nov"](e,184)._animationMode,o["\u0275nov"](e,188).ngClassUntouched,o["\u0275nov"](e,188).ngClassTouched,o["\u0275nov"](e,188).ngClassPristine,o["\u0275nov"](e,188).ngClassDirty,o["\u0275nov"](e,188).ngClassValid,o["\u0275nov"](e,188).ngClassInvalid,o["\u0275nov"](e,188).ngClassPending]),n(e,191,1,[o["\u0275nov"](e,192).id,null,o["\u0275nov"](e,192).indeterminate,o["\u0275nov"](e,192).checked,o["\u0275nov"](e,192).disabled,"before"==o["\u0275nov"](e,192).labelPosition,"NoopAnimations"===o["\u0275nov"](e,192)._animationMode,o["\u0275nov"](e,196).ngClassUntouched,o["\u0275nov"](e,196).ngClassTouched,o["\u0275nov"](e,196).ngClassPristine,o["\u0275nov"](e,196).ngClassDirty,o["\u0275nov"](e,196).ngClassValid,o["\u0275nov"](e,196).ngClassInvalid,o["\u0275nov"](e,196).ngClassPending]),n(e,198,0,o["\u0275nov"](e,199).expanded,"NoopAnimations"===o["\u0275nov"](e,199)._animationMode,o["\u0275nov"](e,199)._hasSpacing());var f=o["\u0275nov"](e,203).panel._headerId,h=o["\u0275nov"](e,203).disabled?-1:0,m=o["\u0275nov"](e,203)._getPanelId(),v=o["\u0275nov"](e,203)._isExpanded(),g=o["\u0275nov"](e,203).panel.disabled,b=o["\u0275nov"](e,203)._isExpanded(),_="after"===o["\u0275nov"](e,203)._getTogglePosition(),y="before"===o["\u0275nov"](e,203)._getTogglePosition(),w=o["\u0275nov"](e,203)._animationsDisabled,C=n(e,205,0,o["\u0275nov"](e,203)._getExpandedState(),n(e,204,0,o["\u0275nov"](e,203).collapsedHeight,o["\u0275nov"](e,203).expandedHeight));n(e,202,0,f,h,m,v,g,b,_,y,w,C),n(e,209,0,o["\u0275nov"](e,213).ngClassUntouched,o["\u0275nov"](e,213).ngClassTouched,o["\u0275nov"](e,213).ngClassPristine,o["\u0275nov"](e,213).ngClassDirty,o["\u0275nov"](e,213).ngClassValid,o["\u0275nov"](e,213).ngClassInvalid,o["\u0275nov"](e,213).ngClassPending),n(e,214,1,["standard"==o["\u0275nov"](e,215).appearance,"fill"==o["\u0275nov"](e,215).appearance,"outline"==o["\u0275nov"](e,215).appearance,"legacy"==o["\u0275nov"](e,215).appearance,o["\u0275nov"](e,215)._control.errorState,o["\u0275nov"](e,215)._canLabelFloat,o["\u0275nov"](e,215)._shouldLabelFloat(),o["\u0275nov"](e,215)._hasFloatingLabel(),o["\u0275nov"](e,215)._hideControlPlaceholder(),o["\u0275nov"](e,215)._control.disabled,o["\u0275nov"](e,215)._control.autofilled,o["\u0275nov"](e,215)._control.focused,"accent"==o["\u0275nov"](e,215).color,"warn"==o["\u0275nov"](e,215).color,o["\u0275nov"](e,215)._shouldForward("untouched"),o["\u0275nov"](e,215)._shouldForward("touched"),o["\u0275nov"](e,215)._shouldForward("pristine"),o["\u0275nov"](e,215)._shouldForward("dirty"),o["\u0275nov"](e,215)._shouldForward("valid"),o["\u0275nov"](e,215)._shouldForward("invalid"),o["\u0275nov"](e,215)._shouldForward("pending"),!o["\u0275nov"](e,215)._animationsEnabled]),n(e,225,1,[o["\u0275nov"](e,231).ngClassUntouched,o["\u0275nov"](e,231).ngClassTouched,o["\u0275nov"](e,231).ngClassPristine,o["\u0275nov"](e,231).ngClassDirty,o["\u0275nov"](e,231).ngClassValid,o["\u0275nov"](e,231).ngClassInvalid,o["\u0275nov"](e,231).ngClassPending,o["\u0275nov"](e,232)._isServer,o["\u0275nov"](e,232).id,o["\u0275nov"](e,232).placeholder,o["\u0275nov"](e,232).disabled,o["\u0275nov"](e,232).required,o["\u0275nov"](e,232).readonly&&!o["\u0275nov"](e,232)._isNativeSelect||null,o["\u0275nov"](e,232)._ariaDescribedby||null,o["\u0275nov"](e,232).errorState,o["\u0275nov"](e,232).required.toString()]),n(e,234,1,["standard"==o["\u0275nov"](e,235).appearance,"fill"==o["\u0275nov"](e,235).appearance,"outline"==o["\u0275nov"](e,235).appearance,"legacy"==o["\u0275nov"](e,235).appearance,o["\u0275nov"](e,235)._control.errorState,o["\u0275nov"](e,235)._canLabelFloat,o["\u0275nov"](e,235)._shouldLabelFloat(),o["\u0275nov"](e,235)._hasFloatingLabel(),o["\u0275nov"](e,235)._hideControlPlaceholder(),o["\u0275nov"](e,235)._control.disabled,o["\u0275nov"](e,235)._control.autofilled,o["\u0275nov"](e,235)._control.focused,"accent"==o["\u0275nov"](e,235).color,"warn"==o["\u0275nov"](e,235).color,o["\u0275nov"](e,235)._shouldForward("untouched"),o["\u0275nov"](e,235)._shouldForward("touched"),o["\u0275nov"](e,235)._shouldForward("pristine"),o["\u0275nov"](e,235)._shouldForward("dirty"),o["\u0275nov"](e,235)._shouldForward("valid"),o["\u0275nov"](e,235)._shouldForward("invalid"),o["\u0275nov"](e,235)._shouldForward("pending"),!o["\u0275nov"](e,235)._animationsEnabled]),n(e,245,1,[o["\u0275nov"](e,251).ngClassUntouched,o["\u0275nov"](e,251).ngClassTouched,o["\u0275nov"](e,251).ngClassPristine,o["\u0275nov"](e,251).ngClassDirty,o["\u0275nov"](e,251).ngClassValid,o["\u0275nov"](e,251).ngClassInvalid,o["\u0275nov"](e,251).ngClassPending,o["\u0275nov"](e,252)._isServer,o["\u0275nov"](e,252).id,o["\u0275nov"](e,252).placeholder,o["\u0275nov"](e,252).disabled,o["\u0275nov"](e,252).required,o["\u0275nov"](e,252).readonly&&!o["\u0275nov"](e,252)._isNativeSelect||null,o["\u0275nov"](e,252)._ariaDescribedby||null,o["\u0275nov"](e,252).errorState,o["\u0275nov"](e,252).required.toString()]),n(e,254,1,["standard"==o["\u0275nov"](e,255).appearance,"fill"==o["\u0275nov"](e,255).appearance,"outline"==o["\u0275nov"](e,255).appearance,"legacy"==o["\u0275nov"](e,255).appearance,o["\u0275nov"](e,255)._control.errorState,o["\u0275nov"](e,255)._canLabelFloat,o["\u0275nov"](e,255)._shouldLabelFloat(),o["\u0275nov"](e,255)._hasFloatingLabel(),o["\u0275nov"](e,255)._hideControlPlaceholder(),o["\u0275nov"](e,255)._control.disabled,o["\u0275nov"](e,255)._control.autofilled,o["\u0275nov"](e,255)._control.focused,"accent"==o["\u0275nov"](e,255).color,"warn"==o["\u0275nov"](e,255).color,o["\u0275nov"](e,255)._shouldForward("untouched"),o["\u0275nov"](e,255)._shouldForward("touched"),o["\u0275nov"](e,255)._shouldForward("pristine"),o["\u0275nov"](e,255)._shouldForward("dirty"),o["\u0275nov"](e,255)._shouldForward("valid"),o["\u0275nov"](e,255)._shouldForward("invalid"),o["\u0275nov"](e,255)._shouldForward("pending"),!o["\u0275nov"](e,255)._animationsEnabled]),n(e,265,1,[o["\u0275nov"](e,270).ngClassUntouched,o["\u0275nov"](e,270).ngClassTouched,o["\u0275nov"](e,270).ngClassPristine,o["\u0275nov"](e,270).ngClassDirty,o["\u0275nov"](e,270).ngClassValid,o["\u0275nov"](e,270).ngClassInvalid,o["\u0275nov"](e,270).ngClassPending,o["\u0275nov"](e,271)._isServer,o["\u0275nov"](e,271).id,o["\u0275nov"](e,271).placeholder,o["\u0275nov"](e,271).disabled,o["\u0275nov"](e,271).required,o["\u0275nov"](e,271).readonly&&!o["\u0275nov"](e,271)._isNativeSelect||null,o["\u0275nov"](e,271)._ariaDescribedby||null,o["\u0275nov"](e,271).errorState,o["\u0275nov"](e,271).required.toString()]),n(e,273,1,["standard"==o["\u0275nov"](e,274).appearance,"fill"==o["\u0275nov"](e,274).appearance,"outline"==o["\u0275nov"](e,274).appearance,"legacy"==o["\u0275nov"](e,274).appearance,o["\u0275nov"](e,274)._control.errorState,o["\u0275nov"](e,274)._canLabelFloat,o["\u0275nov"](e,274)._shouldLabelFloat(),o["\u0275nov"](e,274)._hasFloatingLabel(),o["\u0275nov"](e,274)._hideControlPlaceholder(),o["\u0275nov"](e,274)._control.disabled,o["\u0275nov"](e,274)._control.autofilled,o["\u0275nov"](e,274)._control.focused,"accent"==o["\u0275nov"](e,274).color,"warn"==o["\u0275nov"](e,274).color,o["\u0275nov"](e,274)._shouldForward("untouched"),o["\u0275nov"](e,274)._shouldForward("touched"),o["\u0275nov"](e,274)._shouldForward("pristine"),o["\u0275nov"](e,274)._shouldForward("dirty"),o["\u0275nov"](e,274)._shouldForward("valid"),o["\u0275nov"](e,274)._shouldForward("invalid"),o["\u0275nov"](e,274)._shouldForward("pending"),!o["\u0275nov"](e,274)._animationsEnabled]),n(e,284,1,[o["\u0275nov"](e,290).ngClassUntouched,o["\u0275nov"](e,290).ngClassTouched,o["\u0275nov"](e,290).ngClassPristine,o["\u0275nov"](e,290).ngClassDirty,o["\u0275nov"](e,290).ngClassValid,o["\u0275nov"](e,290).ngClassInvalid,o["\u0275nov"](e,290).ngClassPending,o["\u0275nov"](e,291)._isServer,o["\u0275nov"](e,291).id,o["\u0275nov"](e,291).placeholder,o["\u0275nov"](e,291).disabled,o["\u0275nov"](e,291).required,o["\u0275nov"](e,291).readonly&&!o["\u0275nov"](e,291)._isNativeSelect||null,o["\u0275nov"](e,291)._ariaDescribedby||null,o["\u0275nov"](e,291).errorState,o["\u0275nov"](e,291).required.toString()]),n(e,293,1,["standard"==o["\u0275nov"](e,294).appearance,"fill"==o["\u0275nov"](e,294).appearance,"outline"==o["\u0275nov"](e,294).appearance,"legacy"==o["\u0275nov"](e,294).appearance,o["\u0275nov"](e,294)._control.errorState,o["\u0275nov"](e,294)._canLabelFloat,o["\u0275nov"](e,294)._shouldLabelFloat(),o["\u0275nov"](e,294)._hasFloatingLabel(),o["\u0275nov"](e,294)._hideControlPlaceholder(),o["\u0275nov"](e,294)._control.disabled,o["\u0275nov"](e,294)._control.autofilled,o["\u0275nov"](e,294)._control.focused,"accent"==o["\u0275nov"](e,294).color,"warn"==o["\u0275nov"](e,294).color,o["\u0275nov"](e,294)._shouldForward("untouched"),o["\u0275nov"](e,294)._shouldForward("touched"),o["\u0275nov"](e,294)._shouldForward("pristine"),o["\u0275nov"](e,294)._shouldForward("dirty"),o["\u0275nov"](e,294)._shouldForward("valid"),o["\u0275nov"](e,294)._shouldForward("invalid"),o["\u0275nov"](e,294)._shouldForward("pending"),!o["\u0275nov"](e,294)._animationsEnabled]),n(e,304,1,[o["\u0275nov"](e,309).ngClassUntouched,o["\u0275nov"](e,309).ngClassTouched,o["\u0275nov"](e,309).ngClassPristine,o["\u0275nov"](e,309).ngClassDirty,o["\u0275nov"](e,309).ngClassValid,o["\u0275nov"](e,309).ngClassInvalid,o["\u0275nov"](e,309).ngClassPending,o["\u0275nov"](e,310).id,o["\u0275nov"](e,310).tabIndex,o["\u0275nov"](e,310)._getAriaLabel(),o["\u0275nov"](e,310)._getAriaLabelledby(),o["\u0275nov"](e,310).required.toString(),o["\u0275nov"](e,310).disabled.toString(),o["\u0275nov"](e,310).errorState,o["\u0275nov"](e,310).panelOpen?o["\u0275nov"](e,310)._optionIds:null,o["\u0275nov"](e,310).multiple,o["\u0275nov"](e,310)._ariaDescribedby||null,o["\u0275nov"](e,310)._getAriaActiveDescendant(),o["\u0275nov"](e,310).disabled,o["\u0275nov"](e,310).errorState,o["\u0275nov"](e,310).required,o["\u0275nov"](e,310).empty]),n(e,317,0,o["\u0275nov"](e,318).disabled||null,"NoopAnimations"===o["\u0275nov"](e,318)._animationMode),n(e,321,1,[o["\u0275nov"](e,322).id,null,o["\u0275nov"](e,322).indeterminate,o["\u0275nov"](e,322).checked,o["\u0275nov"](e,322).disabled,"before"==o["\u0275nov"](e,322).labelPosition,"NoopAnimations"===o["\u0275nov"](e,322)._animationMode,o["\u0275nov"](e,326).ngClassUntouched,o["\u0275nov"](e,326).ngClassTouched,o["\u0275nov"](e,326).ngClassPristine,o["\u0275nov"](e,326).ngClassDirty,o["\u0275nov"](e,326).ngClassValid,o["\u0275nov"](e,326).ngClassInvalid,o["\u0275nov"](e,326).ngClassPending]),n(e,328,0,o["\u0275nov"](e,329).expanded,"NoopAnimations"===o["\u0275nov"](e,329)._animationMode,o["\u0275nov"](e,329)._hasSpacing());var x=o["\u0275nov"](e,333).panel._headerId,S=o["\u0275nov"](e,333).disabled?-1:0,k=o["\u0275nov"](e,333)._getPanelId(),E=o["\u0275nov"](e,333)._isExpanded(),T=o["\u0275nov"](e,333).panel.disabled,R=o["\u0275nov"](e,333)._isExpanded(),I="after"===o["\u0275nov"](e,333)._getTogglePosition(),D="before"===o["\u0275nov"](e,333)._getTogglePosition(),O=o["\u0275nov"](e,333)._animationsDisabled,F=n(e,335,0,o["\u0275nov"](e,333)._getExpandedState(),n(e,334,0,o["\u0275nov"](e,333).collapsedHeight,o["\u0275nov"](e,333).expandedHeight));n(e,332,0,x,S,k,E,T,R,I,D,O,F),n(e,339,1,["standard"==o["\u0275nov"](e,340).appearance,"fill"==o["\u0275nov"](e,340).appearance,"outline"==o["\u0275nov"](e,340).appearance,"legacy"==o["\u0275nov"](e,340).appearance,o["\u0275nov"](e,340)._control.errorState,o["\u0275nov"](e,340)._canLabelFloat,o["\u0275nov"](e,340)._shouldLabelFloat(),o["\u0275nov"](e,340)._hasFloatingLabel(),o["\u0275nov"](e,340)._hideControlPlaceholder(),o["\u0275nov"](e,340)._control.disabled,o["\u0275nov"](e,340)._control.autofilled,o["\u0275nov"](e,340)._control.focused,"accent"==o["\u0275nov"](e,340).color,"warn"==o["\u0275nov"](e,340).color,o["\u0275nov"](e,340)._shouldForward("untouched"),o["\u0275nov"](e,340)._shouldForward("touched"),o["\u0275nov"](e,340)._shouldForward("pristine"),o["\u0275nov"](e,340)._shouldForward("dirty"),o["\u0275nov"](e,340)._shouldForward("valid"),o["\u0275nov"](e,340)._shouldForward("invalid"),o["\u0275nov"](e,340)._shouldForward("pending"),!o["\u0275nov"](e,340)._animationsEnabled]),n(e,350,1,[o["\u0275nov"](e,355).ngClassUntouched,o["\u0275nov"](e,355).ngClassTouched,o["\u0275nov"](e,355).ngClassPristine,o["\u0275nov"](e,355).ngClassDirty,o["\u0275nov"](e,355).ngClassValid,o["\u0275nov"](e,355).ngClassInvalid,o["\u0275nov"](e,355).ngClassPending,o["\u0275nov"](e,356)._isServer,o["\u0275nov"](e,356).id,o["\u0275nov"](e,356).placeholder,o["\u0275nov"](e,356).disabled,o["\u0275nov"](e,356).required,o["\u0275nov"](e,356).readonly&&!o["\u0275nov"](e,356)._isNativeSelect||null,o["\u0275nov"](e,356)._ariaDescribedby||null,o["\u0275nov"](e,356).errorState,o["\u0275nov"](e,356).required.toString()]),n(e,359,0,o["\u0275nov"](e,360).disabled||null,"NoopAnimations"===o["\u0275nov"](e,360)._animationMode),n(e,362,0,o["\u0275nov"](e,363).disabled||null,"NoopAnimations"===o["\u0275nov"](e,363)._animationMode)})}function KE(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.virtualBoxTemplate.symbol)},null)}function YE(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](3,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](4,{shadowed:0}),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VirtualBox VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,GE)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l},mk,rk)),o["\u0275did"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,ok,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,KE)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,4,0,t.isConfiguratorOpened||t.isSymbolSelectionOpened);n(e,3,0,"content",l),n(e,10,0,t.virtualBoxTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.virtualBoxTemplate)},function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.virtualBoxTemplate))})}function $E(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-virtual-box-template-details",[],null,null,null,YE,zE)),o["\u0275did"](1,114688,null,0,BE,[bt,Uh,RE,vc,rv,VE,Rl],null,null)],function(n,e){n(e,1,0)},null)}var XE=o["\u0275ccf"]("app-virtual-box-template-details",BE,$E,{},{},[]),QE=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.virtualBoxService=t,this.toasterService=l,this.templateMocksService=o,this.router=r,this.formBuilder=i,this.vmForm=this.formBuilder.group({vm:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.virtualBoxService.getVirtualMachines(n.server).subscribe(function(e){n.virtualMachines=e,n.templateMocksService.getVirtualBoxTemplate().subscribe(function(e){n.virtualBoxTemplate=e})})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","virtualbox","templates"])},n.prototype.addTemplate=function(){var n=this;this.vmForm.invalid?this.toasterService.error("Fill all required fields"):(this.virtualBoxTemplate.name=this.selectedVM.vmname,this.virtualBoxTemplate.vmname=this.selectedVM.vmname,this.virtualBoxTemplate.ram=this.selectedVM.ram,this.virtualBoxTemplate.template_id=Object(dg.v4)(),this.virtualBoxService.addTemplate(this.server,this.virtualBoxTemplate).subscribe(function(){n.goBack()}))},n}(),JE=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function nT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[10,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)})}function eT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,44,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,36,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,27,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","vm"],["placeholder","VM list"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,24)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,24)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,24)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedVM=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](21,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](23,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](24,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,10,{options:1}),o["\u0275qud"](603979776,11,{optionGroups:1}),o["\u0275qud"](603979776,12,{customTrigger:0}),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,nT)),o["\u0275did"](30,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](31,0,null,0,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.virtualBoxTemplate.linked_clone=t)&&l),l},Mb,Nb)),o["\u0275did"](32,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](34,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](36,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](38,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](39,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](40,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](42,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](43,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,5,0,t.vmForm),n(e,21,0,"vm",t.selectedVM),n(e,24,0,"VM list"),n(e,30,0,t.virtualMachines),n(e,34,0,t.virtualBoxTemplate.linked_clone),n(e,43,0,"primary")},function(n,e){n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,23).ngClassUntouched,o["\u0275nov"](e,23).ngClassTouched,o["\u0275nov"](e,23).ngClassPristine,o["\u0275nov"](e,23).ngClassDirty,o["\u0275nov"](e,23).ngClassValid,o["\u0275nov"](e,23).ngClassInvalid,o["\u0275nov"](e,23).ngClassPending,o["\u0275nov"](e,24).id,o["\u0275nov"](e,24).tabIndex,o["\u0275nov"](e,24)._getAriaLabel(),o["\u0275nov"](e,24)._getAriaLabelledby(),o["\u0275nov"](e,24).required.toString(),o["\u0275nov"](e,24).disabled.toString(),o["\u0275nov"](e,24).errorState,o["\u0275nov"](e,24).panelOpen?o["\u0275nov"](e,24)._optionIds:null,o["\u0275nov"](e,24).multiple,o["\u0275nov"](e,24)._ariaDescribedby||null,o["\u0275nov"](e,24)._getAriaActiveDescendant(),o["\u0275nov"](e,24).disabled,o["\u0275nov"](e,24).errorState,o["\u0275nov"](e,24).required,o["\u0275nov"](e,24).empty]),n(e,31,1,[o["\u0275nov"](e,32).id,null,o["\u0275nov"](e,32).indeterminate,o["\u0275nov"](e,32).checked,o["\u0275nov"](e,32).disabled,"before"==o["\u0275nov"](e,32).labelPosition,"NoopAnimations"===o["\u0275nov"](e,32)._animationMode,o["\u0275nov"](e,36).ngClassUntouched,o["\u0275nov"](e,36).ngClassTouched,o["\u0275nov"](e,36).ngClassPristine,o["\u0275nov"](e,36).ngClassDirty,o["\u0275nov"](e,36).ngClassValid,o["\u0275nov"](e,36).ngClassInvalid,o["\u0275nov"](e,36).ngClassPending]),n(e,39,0,o["\u0275nov"](e,40).disabled||null,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode),n(e,42,0,o["\u0275nov"](e,43).disabled||null,"NoopAnimations"===o["\u0275nov"](e,43)._animationMode)})}function tT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VirtualBox VM template"])),(n()(),o["\u0275and"](16777216,null,null,1,null,eT)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.virtualBoxTemplate)},null)}function lT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-virtual-box-template",[],null,null,null,tT,JE)),o["\u0275did"](1,114688,null,0,QE,[bt,Uh,RE,vc,Hy,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var oT=o["\u0275ccf"]("app-add-virtual-box-template",QE,lT,{},{},[]),rT=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n.prototype.getVirtualMachines=function(n){return this.httpServer.get(n,"/compute/vmware/vms")},n}(),iT=function(){function n(n,e,t){this.route=n,this.serverService=e,this.vmwareService=t,this.vmwareTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.vmwareService.getTemplates(this.server).subscribe(function(e){n.vmwareTemplates=e.filter(function(n){return"vmware"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n}(),aT=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function uT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function sT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add VMware template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/vmware/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function dT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function cT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,27,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,13,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color)})}function pT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,cT)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.vmwareTemplates)},null)}function fT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,pT)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function hT(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VMware VM templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,uT)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,sT)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,dT)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,fT)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.vmwareTemplates.length),n(e,13,0,t.vmwareTemplates.length),n(e,15,0,t.server)},null)}function mT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vmware-templates",[],null,null,null,hT,aT)),o["\u0275did"](1,114688,null,0,iT,[bt,Uh,rT],null,null)],function(n,e){n(e,1,0)},null)}var vT=o["\u0275ccf"]("app-vmware-templates",iT,mT,{},{},[]),gT=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getOnCloseoptions=function(){return[["Power off the VM","power_off"],["Send the shutdown signal (ACPI)","shutdown_signal"],["Save the VM state","save_vm_state"]]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getNetworkTypes=function(){return["default","e1000","e1000e","flexible","vlance","vmxnet","vmxnet2","vmxnet3"]},n}(),bT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.formBuilder=o,this.vmwareConfigurationService=r,this.router=i,this.displayedColumns=["adapter_number","port_name","adapter_type"],this.isConfiguratorOpened=!1,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.categories=[],this.onCloseOptions=[],this.networkTypes=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.vmwareService.getTemplate(n.server,t).subscribe(function(e){n.vmwareTemplate=e,n.fillCustomAdapters()})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.vmwareConfigurationService.getConsoleTypes(),this.categories=this.vmwareConfigurationService.getCategories(),this.onCloseOptions=this.vmwareConfigurationService.getOnCloseoptions(),this.networkTypes=this.vmwareConfigurationService.getNetworkTypes()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):(this.fillCustomAdapters(),this.vmwareService.saveTemplate(this.server,this.vmwareTemplate).subscribe(function(e){n.toasterService.success("Changes saved")}))},n.prototype.setCustomAdaptersConfiguratorState=function(n){var e=this;this.isConfiguratorOpened=n,n&&(this.fillCustomAdapters(),this.customAdaptersConfigurator.numberOfAdapters=this.vmwareTemplate.adapters,this.customAdaptersConfigurator.adapters=[],this.vmwareTemplate.custom_adapters.forEach(function(n){e.customAdaptersConfigurator.adapters.push({adapter_number:n.adapter_number,adapter_type:n.adapter_type})}))},n.prototype.saveCustomAdapters=function(n){this.setCustomAdaptersConfiguratorState(!1),this.vmwareTemplate.custom_adapters=n},n.prototype.fillCustomAdapters=function(){var n=this.vmwareTemplate.custom_adapters?this.vmwareTemplate.custom_adapters:[];this.vmwareTemplate.custom_adapters=[];for(var e=0;e<this.vmwareTemplate.adapters;e++)this.vmwareTemplate.custom_adapters.push(n[e]?n[e]:{adapter_number:e,adapter_type:"e1000"})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.vmwareTemplate.symbol=n},n}(),_T=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function yT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[40,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function wT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[52,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function CT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[64,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function xT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[113,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function ST(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,340,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,332,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,2,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,175,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,3,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,164,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,13,{_controlNonStatic:0}),o["\u0275qud"](335544320,14,{_controlStatic:0}),o["\u0275qud"](603979776,15,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,16,{_labelChildStatic:0}),o["\u0275qud"](603979776,17,{_placeholderChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[13,4],[14,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,22,{_controlNonStatic:0}),o["\u0275qud"](335544320,23,{_controlStatic:0}),o["\u0275qud"](603979776,24,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,25,{_labelChildStatic:0}),o["\u0275qud"](603979776,26,{_placeholderChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[22,4],[23,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](79,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,31,{_controlNonStatic:0}),o["\u0275qud"](335544320,32,{_controlStatic:0}),o["\u0275qud"](603979776,33,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,34,{_labelChildStatic:0}),o["\u0275qud"](603979776,35,{_placeholderChild:0}),o["\u0275qud"](603979776,36,{_errorChildren:1}),o["\u0275qud"](603979776,37,{_hintChildren:1}),o["\u0275qud"](603979776,38,{_prefixChildren:1}),o["\u0275qud"](603979776,39,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](96,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](97,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](100,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,40,{options:1}),o["\u0275qud"](603979776,41,{optionGroups:1}),o["\u0275qud"](603979776,42,{customTrigger:0}),o["\u0275prd"](2048,[[31,4],[32,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,yT)),o["\u0275did"](106,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](107,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](108,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,43,{_controlNonStatic:0}),o["\u0275qud"](335544320,44,{_controlStatic:0}),o["\u0275qud"](603979776,45,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,46,{_labelChildStatic:0}),o["\u0275qud"](603979776,47,{_placeholderChild:0}),o["\u0275qud"](603979776,48,{_errorChildren:1}),o["\u0275qud"](603979776,49,{_hintChildren:1}),o["\u0275qud"](603979776,50,{_prefixChildren:1}),o["\u0275qud"](603979776,51,{_suffixChildren:1}),(n()(),o["\u0275eld"](118,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,124)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,124)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,124)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](120,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](121,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](123,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](124,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,52,{options:1}),o["\u0275qud"](603979776,53,{optionGroups:1}),o["\u0275qud"](603979776,54,{customTrigger:0}),o["\u0275prd"](2048,[[43,4],[44,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,wT)),o["\u0275did"](130,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](131,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](132,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](134,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](135,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](137,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](139,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](140,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,55,{_controlNonStatic:0}),o["\u0275qud"](335544320,56,{_controlStatic:0}),o["\u0275qud"](603979776,57,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,58,{_labelChildStatic:0}),o["\u0275qud"](603979776,59,{_placeholderChild:0}),o["\u0275qud"](603979776,60,{_errorChildren:1}),o["\u0275qud"](603979776,61,{_hintChildren:1}),o["\u0275qud"](603979776,62,{_prefixChildren:1}),o["\u0275qud"](603979776,63,{_suffixChildren:1}),(n()(),o["\u0275eld"](150,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","On close"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,156)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,156)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,156)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.on_close=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](152,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](153,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](155,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](156,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,64,{options:1}),o["\u0275qud"](603979776,65,{optionGroups:1}),o["\u0275qud"](603979776,66,{customTrigger:0}),o["\u0275prd"](2048,[[55,4],[56,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,CT)),o["\u0275did"](162,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](163,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.headless=t)&&l),l},Mb,Nb)),o["\u0275did"](164,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](166,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](167,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](169,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Start VM in headless mode "])),(n()(),o["\u0275eld"](171,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](172,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](173,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.linked_clone=t)&&l),l},Mb,Nb)),o["\u0275did"](174,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](176,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](177,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](179,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](181,16777216,null,null,122,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](182,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,67,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](185,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,186)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,186)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,186)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](186,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](187,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](188,{value:0,params:1}),(n()(),o["\u0275eld"](189,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](190,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](192,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](193,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,68,{_controlNonStatic:0}),o["\u0275qud"](335544320,69,{_controlStatic:0}),o["\u0275qud"](603979776,70,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,71,{_labelChildStatic:0}),o["\u0275qud"](603979776,72,{_placeholderChild:0}),o["\u0275qud"](603979776,73,{_errorChildren:1}),o["\u0275qud"](603979776,74,{_hintChildren:1}),o["\u0275qud"](603979776,75,{_prefixChildren:1}),o["\u0275qud"](603979776,76,{_suffixChildren:1}),(n()(),o["\u0275eld"](203,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,204)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,204).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,204)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,204)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,205).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,205).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,205).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,210)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,210)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,210)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](204,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](205,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](207,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](209,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](210,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[68,4],[69,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](212,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](213,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,77,{_controlNonStatic:0}),o["\u0275qud"](335544320,78,{_controlStatic:0}),o["\u0275qud"](603979776,79,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,80,{_labelChildStatic:0}),o["\u0275qud"](603979776,81,{_placeholderChild:0}),o["\u0275qud"](603979776,82,{_errorChildren:1}),o["\u0275qud"](603979776,83,{_hintChildren:1}),o["\u0275qud"](603979776,84,{_prefixChildren:1}),o["\u0275qud"](603979776,85,{_suffixChildren:1}),(n()(),o["\u0275eld"](223,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","First port name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,224)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,224).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,224)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,224)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,229)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,229)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,229)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.first_port_name=t)&&l),l},null,null)),o["\u0275did"](224,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](226,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](228,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](229,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[77,4],[78,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](231,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](232,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,86,{_controlNonStatic:0}),o["\u0275qud"](335544320,87,{_controlStatic:0}),o["\u0275qud"](603979776,88,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,89,{_labelChildStatic:0}),o["\u0275qud"](603979776,90,{_placeholderChild:0}),o["\u0275qud"](603979776,91,{_errorChildren:1}),o["\u0275qud"](603979776,92,{_hintChildren:1}),o["\u0275qud"](603979776,93,{_prefixChildren:1}),o["\u0275qud"](603979776,94,{_suffixChildren:1}),(n()(),o["\u0275eld"](242,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,243)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,243).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,243)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,243)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,248)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,248)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,248)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.port_name_format=t)&&l),l},null,null)),o["\u0275did"](243,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](245,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](247,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](248,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[86,4],[87,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](250,0,null,1,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](251,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,95,{_controlNonStatic:0}),o["\u0275qud"](335544320,96,{_controlStatic:0}),o["\u0275qud"](603979776,97,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,98,{_labelChildStatic:0}),o["\u0275qud"](603979776,99,{_placeholderChild:0}),o["\u0275qud"](603979776,100,{_errorChildren:1}),o["\u0275qud"](603979776,101,{_hintChildren:1}),o["\u0275qud"](603979776,102,{_prefixChildren:1}),o["\u0275qud"](603979776,103,{_suffixChildren:1}),(n()(),o["\u0275eld"](261,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Segment size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,262)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,262).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,262)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,262)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,263).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,263).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,263).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,268)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,268)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,268)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.port_segment_size=t)&&l),l},null,null)),o["\u0275did"](262,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](263,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](265,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](267,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](268,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[95,4],[96,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](270,0,null,1,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](271,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,104,{_controlNonStatic:0}),o["\u0275qud"](335544320,105,{_controlStatic:0}),o["\u0275qud"](603979776,106,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,107,{_labelChildStatic:0}),o["\u0275qud"](603979776,108,{_placeholderChild:0}),o["\u0275qud"](603979776,109,{_errorChildren:1}),o["\u0275qud"](603979776,110,{_hintChildren:1}),o["\u0275qud"](603979776,111,{_prefixChildren:1}),o["\u0275qud"](603979776,112,{_suffixChildren:1}),(n()(),o["\u0275eld"](281,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,286)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,286)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,286)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.adapter_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](283,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](285,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](286,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,113,{options:1}),o["\u0275qud"](603979776,114,{optionGroups:1}),o["\u0275qud"](603979776,115,{customTrigger:0}),o["\u0275prd"](2048,[[104,4],[105,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,xT)),o["\u0275did"](292,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](293,0,null,1,2,"button",[["class","configButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.setCustomAdaptersConfiguratorState(!0)&&l),l},pu,cu)),o["\u0275did"](294,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Configure custom adapters"])),(n()(),o["\u0275eld"](296,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](297,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.use_any_adapter=t)&&l),l},Mb,Nb)),o["\u0275did"](298,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](300,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](302,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Allow GNS3 to override non custom VMware adapter "])),(n()(),o["\u0275eld"](304,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](305,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,116,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](308,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,309)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,309)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,309)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](309,180224,[[2,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](310,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](311,{value:0,params:1}),(n()(),o["\u0275eld"](312,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](313,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](315,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](316,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,117,{_controlNonStatic:0}),o["\u0275qud"](335544320,118,{_controlStatic:0}),o["\u0275qud"](603979776,119,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,120,{_labelChildStatic:0}),o["\u0275qud"](603979776,121,{_placeholderChild:0}),o["\u0275qud"](603979776,122,{_errorChildren:1}),o["\u0275qud"](603979776,123,{_hintChildren:1}),o["\u0275qud"](603979776,124,{_prefixChildren:1}),o["\u0275qud"](603979776,125,{_suffixChildren:1}),(n()(),o["\u0275eld"](326,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,327)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,327).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,327)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,327)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,332)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,332)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,332)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.vmwareTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](327,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](329,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](331,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](332,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[117,4],[118,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](334,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](335,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](336,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](338,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](339,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.vmwareTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.vmwareTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.vmwareTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.vmwareTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories);var r=t.vmwareTemplate.console_type,i=n(e,121,0,!0);n(e,120,0,r,i),n(e,124,0,"Console type"),n(e,130,0,t.consoleTypes);var a=t.vmwareTemplate.console_auto_start,u=n(e,135,0,!0);n(e,134,0,a,u);var s=t.vmwareTemplate.on_close,d=n(e,153,0,!0);n(e,152,0,s,d),n(e,156,0,"On close"),n(e,162,0,t.onCloseOptions);var c=t.vmwareTemplate.headless,p=n(e,167,0,!0);n(e,166,0,c,p);var f=t.vmwareTemplate.linked_clone,h=n(e,177,0,!0);n(e,176,0,f,h),n(e,207,0,t.vmwareTemplate.adapters),n(e,210,0,"Adapters","number"),n(e,226,0,t.vmwareTemplate.first_port_name),n(e,229,0,"First port name","text"),n(e,245,0,t.vmwareTemplate.port_name_format),n(e,248,0,"Name format","text"),n(e,265,0,t.vmwareTemplate.port_segment_size),n(e,268,0,"Segment size","number"),n(e,283,0,t.vmwareTemplate.adapter_type),n(e,286,0,"Type"),n(e,292,0,t.networkTypes),n(e,300,0,t.vmwareTemplate.use_any_adapter),n(e,329,0,t.vmwareTemplate.usage),n(e,332,0,"text"),n(e,339,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,78,0,o["\u0275nov"](e,79).disabled||null,"NoopAnimations"===o["\u0275nov"](e,79)._animationMode),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).tabIndex,o["\u0275nov"](e,100)._getAriaLabel(),o["\u0275nov"](e,100)._getAriaLabelledby(),o["\u0275nov"](e,100).required.toString(),o["\u0275nov"](e,100).disabled.toString(),o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).panelOpen?o["\u0275nov"](e,100)._optionIds:null,o["\u0275nov"](e,100).multiple,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100)._getAriaActiveDescendant(),o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).empty]),n(e,107,1,["standard"==o["\u0275nov"](e,108).appearance,"fill"==o["\u0275nov"](e,108).appearance,"outline"==o["\u0275nov"](e,108).appearance,"legacy"==o["\u0275nov"](e,108).appearance,o["\u0275nov"](e,108)._control.errorState,o["\u0275nov"](e,108)._canLabelFloat,o["\u0275nov"](e,108)._shouldLabelFloat(),o["\u0275nov"](e,108)._hasFloatingLabel(),o["\u0275nov"](e,108)._hideControlPlaceholder(),o["\u0275nov"](e,108)._control.disabled,o["\u0275nov"](e,108)._control.autofilled,o["\u0275nov"](e,108)._control.focused,"accent"==o["\u0275nov"](e,108).color,"warn"==o["\u0275nov"](e,108).color,o["\u0275nov"](e,108)._shouldForward("untouched"),o["\u0275nov"](e,108)._shouldForward("touched"),o["\u0275nov"](e,108)._shouldForward("pristine"),o["\u0275nov"](e,108)._shouldForward("dirty"),o["\u0275nov"](e,108)._shouldForward("valid"),o["\u0275nov"](e,108)._shouldForward("invalid"),o["\u0275nov"](e,108)._shouldForward("pending"),!o["\u0275nov"](e,108)._animationsEnabled]),n(e,118,1,[o["\u0275nov"](e,123).ngClassUntouched,o["\u0275nov"](e,123).ngClassTouched,o["\u0275nov"](e,123).ngClassPristine,o["\u0275nov"](e,123).ngClassDirty,o["\u0275nov"](e,123).ngClassValid,o["\u0275nov"](e,123).ngClassInvalid,o["\u0275nov"](e,123).ngClassPending,o["\u0275nov"](e,124).id,o["\u0275nov"](e,124).tabIndex,o["\u0275nov"](e,124)._getAriaLabel(),o["\u0275nov"](e,124)._getAriaLabelledby(),o["\u0275nov"](e,124).required.toString(),o["\u0275nov"](e,124).disabled.toString(),o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).panelOpen?o["\u0275nov"](e,124)._optionIds:null,o["\u0275nov"](e,124).multiple,o["\u0275nov"](e,124)._ariaDescribedby||null,o["\u0275nov"](e,124)._getAriaActiveDescendant(),o["\u0275nov"](e,124).disabled,o["\u0275nov"](e,124).errorState,o["\u0275nov"](e,124).required,o["\u0275nov"](e,124).empty]),n(e,131,1,[o["\u0275nov"](e,132).id,null,o["\u0275nov"](e,132).indeterminate,o["\u0275nov"](e,132).checked,o["\u0275nov"](e,132).disabled,"before"==o["\u0275nov"](e,132).labelPosition,"NoopAnimations"===o["\u0275nov"](e,132)._animationMode,o["\u0275nov"](e,137).ngClassUntouched,o["\u0275nov"](e,137).ngClassTouched,o["\u0275nov"](e,137).ngClassPristine,o["\u0275nov"](e,137).ngClassDirty,o["\u0275nov"](e,137).ngClassValid,o["\u0275nov"](e,137).ngClassInvalid,o["\u0275nov"](e,137).ngClassPending]),n(e,139,1,["standard"==o["\u0275nov"](e,140).appearance,"fill"==o["\u0275nov"](e,140).appearance,"outline"==o["\u0275nov"](e,140).appearance,"legacy"==o["\u0275nov"](e,140).appearance,o["\u0275nov"](e,140)._control.errorState,o["\u0275nov"](e,140)._canLabelFloat,o["\u0275nov"](e,140)._shouldLabelFloat(),o["\u0275nov"](e,140)._hasFloatingLabel(),o["\u0275nov"](e,140)._hideControlPlaceholder(),o["\u0275nov"](e,140)._control.disabled,o["\u0275nov"](e,140)._control.autofilled,o["\u0275nov"](e,140)._control.focused,"accent"==o["\u0275nov"](e,140).color,"warn"==o["\u0275nov"](e,140).color,o["\u0275nov"](e,140)._shouldForward("untouched"),o["\u0275nov"](e,140)._shouldForward("touched"),o["\u0275nov"](e,140)._shouldForward("pristine"),o["\u0275nov"](e,140)._shouldForward("dirty"),o["\u0275nov"](e,140)._shouldForward("valid"),o["\u0275nov"](e,140)._shouldForward("invalid"),o["\u0275nov"](e,140)._shouldForward("pending"),!o["\u0275nov"](e,140)._animationsEnabled]),n(e,150,1,[o["\u0275nov"](e,155).ngClassUntouched,o["\u0275nov"](e,155).ngClassTouched,o["\u0275nov"](e,155).ngClassPristine,o["\u0275nov"](e,155).ngClassDirty,o["\u0275nov"](e,155).ngClassValid,o["\u0275nov"](e,155).ngClassInvalid,o["\u0275nov"](e,155).ngClassPending,o["\u0275nov"](e,156).id,o["\u0275nov"](e,156).tabIndex,o["\u0275nov"](e,156)._getAriaLabel(),o["\u0275nov"](e,156)._getAriaLabelledby(),o["\u0275nov"](e,156).required.toString(),o["\u0275nov"](e,156).disabled.toString(),o["\u0275nov"](e,156).errorState,o["\u0275nov"](e,156).panelOpen?o["\u0275nov"](e,156)._optionIds:null,o["\u0275nov"](e,156).multiple,o["\u0275nov"](e,156)._ariaDescribedby||null,o["\u0275nov"](e,156)._getAriaActiveDescendant(),o["\u0275nov"](e,156).disabled,o["\u0275nov"](e,156).errorState,o["\u0275nov"](e,156).required,o["\u0275nov"](e,156).empty]),n(e,163,1,[o["\u0275nov"](e,164).id,null,o["\u0275nov"](e,164).indeterminate,o["\u0275nov"](e,164).checked,o["\u0275nov"](e,164).disabled,"before"==o["\u0275nov"](e,164).labelPosition,"NoopAnimations"===o["\u0275nov"](e,164)._animationMode,o["\u0275nov"](e,169).ngClassUntouched,o["\u0275nov"](e,169).ngClassTouched,o["\u0275nov"](e,169).ngClassPristine,o["\u0275nov"](e,169).ngClassDirty,o["\u0275nov"](e,169).ngClassValid,o["\u0275nov"](e,169).ngClassInvalid,o["\u0275nov"](e,169).ngClassPending]),n(e,173,1,[o["\u0275nov"](e,174).id,null,o["\u0275nov"](e,174).indeterminate,o["\u0275nov"](e,174).checked,o["\u0275nov"](e,174).disabled,"before"==o["\u0275nov"](e,174).labelPosition,"NoopAnimations"===o["\u0275nov"](e,174)._animationMode,o["\u0275nov"](e,179).ngClassUntouched,o["\u0275nov"](e,179).ngClassTouched,o["\u0275nov"](e,179).ngClassPristine,o["\u0275nov"](e,179).ngClassDirty,o["\u0275nov"](e,179).ngClassValid,o["\u0275nov"](e,179).ngClassInvalid,o["\u0275nov"](e,179).ngClassPending]),n(e,181,0,o["\u0275nov"](e,182).expanded,"NoopAnimations"===o["\u0275nov"](e,182)._animationMode,o["\u0275nov"](e,182)._hasSpacing());var f=o["\u0275nov"](e,186).panel._headerId,h=o["\u0275nov"](e,186).disabled?-1:0,m=o["\u0275nov"](e,186)._getPanelId(),v=o["\u0275nov"](e,186)._isExpanded(),g=o["\u0275nov"](e,186).panel.disabled,b=o["\u0275nov"](e,186)._isExpanded(),_="after"===o["\u0275nov"](e,186)._getTogglePosition(),y="before"===o["\u0275nov"](e,186)._getTogglePosition(),w=o["\u0275nov"](e,186)._animationsDisabled,C=n(e,188,0,o["\u0275nov"](e,186)._getExpandedState(),n(e,187,0,o["\u0275nov"](e,186).collapsedHeight,o["\u0275nov"](e,186).expandedHeight));n(e,185,0,f,h,m,v,g,b,_,y,w,C),n(e,192,1,["standard"==o["\u0275nov"](e,193).appearance,"fill"==o["\u0275nov"](e,193).appearance,"outline"==o["\u0275nov"](e,193).appearance,"legacy"==o["\u0275nov"](e,193).appearance,o["\u0275nov"](e,193)._control.errorState,o["\u0275nov"](e,193)._canLabelFloat,o["\u0275nov"](e,193)._shouldLabelFloat(),o["\u0275nov"](e,193)._hasFloatingLabel(),o["\u0275nov"](e,193)._hideControlPlaceholder(),o["\u0275nov"](e,193)._control.disabled,o["\u0275nov"](e,193)._control.autofilled,o["\u0275nov"](e,193)._control.focused,"accent"==o["\u0275nov"](e,193).color,"warn"==o["\u0275nov"](e,193).color,o["\u0275nov"](e,193)._shouldForward("untouched"),o["\u0275nov"](e,193)._shouldForward("touched"),o["\u0275nov"](e,193)._shouldForward("pristine"),o["\u0275nov"](e,193)._shouldForward("dirty"),o["\u0275nov"](e,193)._shouldForward("valid"),o["\u0275nov"](e,193)._shouldForward("invalid"),o["\u0275nov"](e,193)._shouldForward("pending"),!o["\u0275nov"](e,193)._animationsEnabled]),n(e,203,1,[o["\u0275nov"](e,209).ngClassUntouched,o["\u0275nov"](e,209).ngClassTouched,o["\u0275nov"](e,209).ngClassPristine,o["\u0275nov"](e,209).ngClassDirty,o["\u0275nov"](e,209).ngClassValid,o["\u0275nov"](e,209).ngClassInvalid,o["\u0275nov"](e,209).ngClassPending,o["\u0275nov"](e,210)._isServer,o["\u0275nov"](e,210).id,o["\u0275nov"](e,210).placeholder,o["\u0275nov"](e,210).disabled,o["\u0275nov"](e,210).required,o["\u0275nov"](e,210).readonly&&!o["\u0275nov"](e,210)._isNativeSelect||null,o["\u0275nov"](e,210)._ariaDescribedby||null,o["\u0275nov"](e,210).errorState,o["\u0275nov"](e,210).required.toString()]),n(e,212,1,["standard"==o["\u0275nov"](e,213).appearance,"fill"==o["\u0275nov"](e,213).appearance,"outline"==o["\u0275nov"](e,213).appearance,"legacy"==o["\u0275nov"](e,213).appearance,o["\u0275nov"](e,213)._control.errorState,o["\u0275nov"](e,213)._canLabelFloat,o["\u0275nov"](e,213)._shouldLabelFloat(),o["\u0275nov"](e,213)._hasFloatingLabel(),o["\u0275nov"](e,213)._hideControlPlaceholder(),o["\u0275nov"](e,213)._control.disabled,o["\u0275nov"](e,213)._control.autofilled,o["\u0275nov"](e,213)._control.focused,"accent"==o["\u0275nov"](e,213).color,"warn"==o["\u0275nov"](e,213).color,o["\u0275nov"](e,213)._shouldForward("untouched"),o["\u0275nov"](e,213)._shouldForward("touched"),o["\u0275nov"](e,213)._shouldForward("pristine"),o["\u0275nov"](e,213)._shouldForward("dirty"),o["\u0275nov"](e,213)._shouldForward("valid"),o["\u0275nov"](e,213)._shouldForward("invalid"),o["\u0275nov"](e,213)._shouldForward("pending"),!o["\u0275nov"](e,213)._animationsEnabled]),n(e,223,1,[o["\u0275nov"](e,228).ngClassUntouched,o["\u0275nov"](e,228).ngClassTouched,o["\u0275nov"](e,228).ngClassPristine,o["\u0275nov"](e,228).ngClassDirty,o["\u0275nov"](e,228).ngClassValid,o["\u0275nov"](e,228).ngClassInvalid,o["\u0275nov"](e,228).ngClassPending,o["\u0275nov"](e,229)._isServer,o["\u0275nov"](e,229).id,o["\u0275nov"](e,229).placeholder,o["\u0275nov"](e,229).disabled,o["\u0275nov"](e,229).required,o["\u0275nov"](e,229).readonly&&!o["\u0275nov"](e,229)._isNativeSelect||null,o["\u0275nov"](e,229)._ariaDescribedby||null,o["\u0275nov"](e,229).errorState,o["\u0275nov"](e,229).required.toString()]),n(e,231,1,["standard"==o["\u0275nov"](e,232).appearance,"fill"==o["\u0275nov"](e,232).appearance,"outline"==o["\u0275nov"](e,232).appearance,"legacy"==o["\u0275nov"](e,232).appearance,o["\u0275nov"](e,232)._control.errorState,o["\u0275nov"](e,232)._canLabelFloat,o["\u0275nov"](e,232)._shouldLabelFloat(),o["\u0275nov"](e,232)._hasFloatingLabel(),o["\u0275nov"](e,232)._hideControlPlaceholder(),o["\u0275nov"](e,232)._control.disabled,o["\u0275nov"](e,232)._control.autofilled,o["\u0275nov"](e,232)._control.focused,"accent"==o["\u0275nov"](e,232).color,"warn"==o["\u0275nov"](e,232).color,o["\u0275nov"](e,232)._shouldForward("untouched"),o["\u0275nov"](e,232)._shouldForward("touched"),o["\u0275nov"](e,232)._shouldForward("pristine"),o["\u0275nov"](e,232)._shouldForward("dirty"),o["\u0275nov"](e,232)._shouldForward("valid"),o["\u0275nov"](e,232)._shouldForward("invalid"),o["\u0275nov"](e,232)._shouldForward("pending"),!o["\u0275nov"](e,232)._animationsEnabled]),n(e,242,1,[o["\u0275nov"](e,247).ngClassUntouched,o["\u0275nov"](e,247).ngClassTouched,o["\u0275nov"](e,247).ngClassPristine,o["\u0275nov"](e,247).ngClassDirty,o["\u0275nov"](e,247).ngClassValid,o["\u0275nov"](e,247).ngClassInvalid,o["\u0275nov"](e,247).ngClassPending,o["\u0275nov"](e,248)._isServer,o["\u0275nov"](e,248).id,o["\u0275nov"](e,248).placeholder,o["\u0275nov"](e,248).disabled,o["\u0275nov"](e,248).required,o["\u0275nov"](e,248).readonly&&!o["\u0275nov"](e,248)._isNativeSelect||null,o["\u0275nov"](e,248)._ariaDescribedby||null,o["\u0275nov"](e,248).errorState,o["\u0275nov"](e,248).required.toString()]),n(e,250,1,["standard"==o["\u0275nov"](e,251).appearance,"fill"==o["\u0275nov"](e,251).appearance,"outline"==o["\u0275nov"](e,251).appearance,"legacy"==o["\u0275nov"](e,251).appearance,o["\u0275nov"](e,251)._control.errorState,o["\u0275nov"](e,251)._canLabelFloat,o["\u0275nov"](e,251)._shouldLabelFloat(),o["\u0275nov"](e,251)._hasFloatingLabel(),o["\u0275nov"](e,251)._hideControlPlaceholder(),o["\u0275nov"](e,251)._control.disabled,o["\u0275nov"](e,251)._control.autofilled,o["\u0275nov"](e,251)._control.focused,"accent"==o["\u0275nov"](e,251).color,"warn"==o["\u0275nov"](e,251).color,o["\u0275nov"](e,251)._shouldForward("untouched"),o["\u0275nov"](e,251)._shouldForward("touched"),o["\u0275nov"](e,251)._shouldForward("pristine"),o["\u0275nov"](e,251)._shouldForward("dirty"),o["\u0275nov"](e,251)._shouldForward("valid"),o["\u0275nov"](e,251)._shouldForward("invalid"),o["\u0275nov"](e,251)._shouldForward("pending"),!o["\u0275nov"](e,251)._animationsEnabled]),n(e,261,1,[o["\u0275nov"](e,267).ngClassUntouched,o["\u0275nov"](e,267).ngClassTouched,o["\u0275nov"](e,267).ngClassPristine,o["\u0275nov"](e,267).ngClassDirty,o["\u0275nov"](e,267).ngClassValid,o["\u0275nov"](e,267).ngClassInvalid,o["\u0275nov"](e,267).ngClassPending,o["\u0275nov"](e,268)._isServer,o["\u0275nov"](e,268).id,o["\u0275nov"](e,268).placeholder,o["\u0275nov"](e,268).disabled,o["\u0275nov"](e,268).required,o["\u0275nov"](e,268).readonly&&!o["\u0275nov"](e,268)._isNativeSelect||null,o["\u0275nov"](e,268)._ariaDescribedby||null,o["\u0275nov"](e,268).errorState,o["\u0275nov"](e,268).required.toString()]),n(e,270,1,["standard"==o["\u0275nov"](e,271).appearance,"fill"==o["\u0275nov"](e,271).appearance,"outline"==o["\u0275nov"](e,271).appearance,"legacy"==o["\u0275nov"](e,271).appearance,o["\u0275nov"](e,271)._control.errorState,o["\u0275nov"](e,271)._canLabelFloat,o["\u0275nov"](e,271)._shouldLabelFloat(),o["\u0275nov"](e,271)._hasFloatingLabel(),o["\u0275nov"](e,271)._hideControlPlaceholder(),o["\u0275nov"](e,271)._control.disabled,o["\u0275nov"](e,271)._control.autofilled,o["\u0275nov"](e,271)._control.focused,"accent"==o["\u0275nov"](e,271).color,"warn"==o["\u0275nov"](e,271).color,o["\u0275nov"](e,271)._shouldForward("untouched"),o["\u0275nov"](e,271)._shouldForward("touched"),o["\u0275nov"](e,271)._shouldForward("pristine"),o["\u0275nov"](e,271)._shouldForward("dirty"),o["\u0275nov"](e,271)._shouldForward("valid"),o["\u0275nov"](e,271)._shouldForward("invalid"),o["\u0275nov"](e,271)._shouldForward("pending"),!o["\u0275nov"](e,271)._animationsEnabled]),n(e,281,1,[o["\u0275nov"](e,285).ngClassUntouched,o["\u0275nov"](e,285).ngClassTouched,o["\u0275nov"](e,285).ngClassPristine,o["\u0275nov"](e,285).ngClassDirty,o["\u0275nov"](e,285).ngClassValid,o["\u0275nov"](e,285).ngClassInvalid,o["\u0275nov"](e,285).ngClassPending,o["\u0275nov"](e,286).id,o["\u0275nov"](e,286).tabIndex,o["\u0275nov"](e,286)._getAriaLabel(),o["\u0275nov"](e,286)._getAriaLabelledby(),o["\u0275nov"](e,286).required.toString(),o["\u0275nov"](e,286).disabled.toString(),o["\u0275nov"](e,286).errorState,o["\u0275nov"](e,286).panelOpen?o["\u0275nov"](e,286)._optionIds:null,o["\u0275nov"](e,286).multiple,o["\u0275nov"](e,286)._ariaDescribedby||null,o["\u0275nov"](e,286)._getAriaActiveDescendant(),o["\u0275nov"](e,286).disabled,o["\u0275nov"](e,286).errorState,o["\u0275nov"](e,286).required,o["\u0275nov"](e,286).empty]),n(e,293,0,o["\u0275nov"](e,294).disabled||null,"NoopAnimations"===o["\u0275nov"](e,294)._animationMode),n(e,297,1,[o["\u0275nov"](e,298).id,null,o["\u0275nov"](e,298).indeterminate,o["\u0275nov"](e,298).checked,o["\u0275nov"](e,298).disabled,"before"==o["\u0275nov"](e,298).labelPosition,"NoopAnimations"===o["\u0275nov"](e,298)._animationMode,o["\u0275nov"](e,302).ngClassUntouched,o["\u0275nov"](e,302).ngClassTouched,o["\u0275nov"](e,302).ngClassPristine,o["\u0275nov"](e,302).ngClassDirty,o["\u0275nov"](e,302).ngClassValid,o["\u0275nov"](e,302).ngClassInvalid,o["\u0275nov"](e,302).ngClassPending]),n(e,304,0,o["\u0275nov"](e,305).expanded,"NoopAnimations"===o["\u0275nov"](e,305)._animationMode,o["\u0275nov"](e,305)._hasSpacing());var x=o["\u0275nov"](e,309).panel._headerId,S=o["\u0275nov"](e,309).disabled?-1:0,k=o["\u0275nov"](e,309)._getPanelId(),E=o["\u0275nov"](e,309)._isExpanded(),T=o["\u0275nov"](e,309).panel.disabled,R=o["\u0275nov"](e,309)._isExpanded(),I="after"===o["\u0275nov"](e,309)._getTogglePosition(),D="before"===o["\u0275nov"](e,309)._getTogglePosition(),O=o["\u0275nov"](e,309)._animationsDisabled,F=n(e,311,0,o["\u0275nov"](e,309)._getExpandedState(),n(e,310,0,o["\u0275nov"](e,309).collapsedHeight,o["\u0275nov"](e,309).expandedHeight));n(e,308,0,x,S,k,E,T,R,I,D,O,F),n(e,315,1,["standard"==o["\u0275nov"](e,316).appearance,"fill"==o["\u0275nov"](e,316).appearance,"outline"==o["\u0275nov"](e,316).appearance,"legacy"==o["\u0275nov"](e,316).appearance,o["\u0275nov"](e,316)._control.errorState,o["\u0275nov"](e,316)._canLabelFloat,o["\u0275nov"](e,316)._shouldLabelFloat(),o["\u0275nov"](e,316)._hasFloatingLabel(),o["\u0275nov"](e,316)._hideControlPlaceholder(),o["\u0275nov"](e,316)._control.disabled,o["\u0275nov"](e,316)._control.autofilled,o["\u0275nov"](e,316)._control.focused,"accent"==o["\u0275nov"](e,316).color,"warn"==o["\u0275nov"](e,316).color,o["\u0275nov"](e,316)._shouldForward("untouched"),o["\u0275nov"](e,316)._shouldForward("touched"),o["\u0275nov"](e,316)._shouldForward("pristine"),o["\u0275nov"](e,316)._shouldForward("dirty"),o["\u0275nov"](e,316)._shouldForward("valid"),o["\u0275nov"](e,316)._shouldForward("invalid"),o["\u0275nov"](e,316)._shouldForward("pending"),!o["\u0275nov"](e,316)._animationsEnabled]),n(e,326,1,[o["\u0275nov"](e,331).ngClassUntouched,o["\u0275nov"](e,331).ngClassTouched,o["\u0275nov"](e,331).ngClassPristine,o["\u0275nov"](e,331).ngClassDirty,o["\u0275nov"](e,331).ngClassValid,o["\u0275nov"](e,331).ngClassInvalid,o["\u0275nov"](e,331).ngClassPending,o["\u0275nov"](e,332)._isServer,o["\u0275nov"](e,332).id,o["\u0275nov"](e,332).placeholder,o["\u0275nov"](e,332).disabled,o["\u0275nov"](e,332).required,o["\u0275nov"](e,332).readonly&&!o["\u0275nov"](e,332)._isNativeSelect||null,o["\u0275nov"](e,332)._ariaDescribedby||null,o["\u0275nov"](e,332).errorState,o["\u0275nov"](e,332).required.toString()]),n(e,335,0,o["\u0275nov"](e,336).disabled||null,"NoopAnimations"===o["\u0275nov"](e,336)._animationMode),n(e,338,0,o["\u0275nov"](e,339).disabled||null,"NoopAnimations"===o["\u0275nov"](e,339)._animationMode)})}function kT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.vmwareTemplate.symbol)},null)}function ET(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{customAdaptersConfigurator:0}),(n()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](3,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](4,{shadowed:0}),(n()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["VMware VM configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,ST)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](11,0,null,null,1,"app-custom-adapters",[],[[8,"hidden",0]],[[null,"closeConfiguratorEmitter"],[null,"saveConfigurationEmitter"]],function(n,e,t){var l=!0,o=n.component;return"closeConfiguratorEmitter"===e&&(l=!1!==o.setCustomAdaptersConfiguratorState(t)&&l),"saveConfigurationEmitter"===e&&(l=!1!==o.saveCustomAdapters(t)&&l),l},mk,rk)),o["\u0275did"](12,49152,[[1,4],["customAdaptersConfigurator",4]],0,ok,[],{networkTypes:[0,"networkTypes"],displayedColumns:[1,"displayedColumns"]},{closeConfiguratorEmitter:"closeConfiguratorEmitter",saveConfigurationEmitter:"saveConfigurationEmitter"}),(n()(),o["\u0275and"](16777216,null,null,1,null,kT)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,4,0,t.isSymbolSelectionOpened||t.isConfiguratorOpened);n(e,3,0,"content",l),n(e,10,0,t.vmwareTemplate),n(e,12,0,t.networkTypes,t.displayedColumns),n(e,14,0,t.isSymbolSelectionOpened&&t.vmwareTemplate)},function(n,e){var t=e.component;n(e,11,0,!(t.isConfiguratorOpened&&t.vmwareTemplate))})}function TT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-vmware-template-details",[],null,null,null,ET,_T)),o["\u0275did"](1,114688,null,0,bT,[bt,Uh,rT,vc,rv,gT,Rl],null,null)],function(n,e){n(e,1,0)},null)}var RT=o["\u0275ccf"]("app-vmware-template-details",bT,TT,{},{},[]),IT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.vmwareService=t,this.toasterService=l,this.templateMocksService=o,this.router=r,this.formBuilder=i,this.templateNameForm=this.formBuilder.group({templateName:new Vm(null,[sm.required])})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.vmwareService.getVirtualMachines(n.server).subscribe(function(e){n.virtualMachines=e,n.templateMocksService.getVmwareTemplate().subscribe(function(e){n.vmwareTemplate=e})})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","vmware","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.vmwareTemplate.name=this.selectedVM.vmname,this.vmwareTemplate.vmx_path=this.selectedVM.vmx_path,this.vmwareTemplate.template_id=Object(dg.v4)(),this.vmwareService.addTemplate(this.server,this.vmwareTemplate).subscribe(function(){n.goBack()}))},n}(),DT=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function OT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[10,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.vmname)})}function FT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,46,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,38,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](2,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](3,0,null,0,36,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","templateName"],["placeholder","VM list"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,24)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,24)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,24)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedVM=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](21,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](23,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](24,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,10,{options:1}),o["\u0275qud"](603979776,11,{optionGroups:1}),o["\u0275qud"](603979776,12,{customTrigger:0}),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,OT)),o["\u0275did"](30,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](31,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](32,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.vmwareTemplate.linked_clone=t)&&l),l},Mb,Nb)),o["\u0275did"](33,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](35,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](36,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](38,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use as a linked base VM (experimental) "])),(n()(),o["\u0275eld"](40,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](41,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](42,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](44,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](45,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,5,0,t.templateNameForm),n(e,21,0,"templateName",t.selectedVM),n(e,24,0,"VM list"),n(e,30,0,t.virtualMachines);var l=t.vmwareTemplate.linked_clone,o=n(e,36,0,!0);n(e,35,0,l,o),n(e,45,0,"primary")},function(n,e){n(e,1,0,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,23).ngClassUntouched,o["\u0275nov"](e,23).ngClassTouched,o["\u0275nov"](e,23).ngClassPristine,o["\u0275nov"](e,23).ngClassDirty,o["\u0275nov"](e,23).ngClassValid,o["\u0275nov"](e,23).ngClassInvalid,o["\u0275nov"](e,23).ngClassPending,o["\u0275nov"](e,24).id,o["\u0275nov"](e,24).tabIndex,o["\u0275nov"](e,24)._getAriaLabel(),o["\u0275nov"](e,24)._getAriaLabelledby(),o["\u0275nov"](e,24).required.toString(),o["\u0275nov"](e,24).disabled.toString(),o["\u0275nov"](e,24).errorState,o["\u0275nov"](e,24).panelOpen?o["\u0275nov"](e,24)._optionIds:null,o["\u0275nov"](e,24).multiple,o["\u0275nov"](e,24)._ariaDescribedby||null,o["\u0275nov"](e,24)._getAriaActiveDescendant(),o["\u0275nov"](e,24).disabled,o["\u0275nov"](e,24).errorState,o["\u0275nov"](e,24).required,o["\u0275nov"](e,24).empty]),n(e,32,1,[o["\u0275nov"](e,33).id,null,o["\u0275nov"](e,33).indeterminate,o["\u0275nov"](e,33).checked,o["\u0275nov"](e,33).disabled,"before"==o["\u0275nov"](e,33).labelPosition,"NoopAnimations"===o["\u0275nov"](e,33)._animationMode,o["\u0275nov"](e,38).ngClassUntouched,o["\u0275nov"](e,38).ngClassTouched,o["\u0275nov"](e,38).ngClassPristine,o["\u0275nov"](e,38).ngClassDirty,o["\u0275nov"](e,38).ngClassValid,o["\u0275nov"](e,38).ngClassInvalid,o["\u0275nov"](e,38).ngClassPending]),n(e,41,0,o["\u0275nov"](e,42).disabled||null,"NoopAnimations"===o["\u0275nov"](e,42)._animationMode),n(e,44,0,o["\u0275nov"](e,45).disabled||null,"NoopAnimations"===o["\u0275nov"](e,45)._animationMode)})}function NT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New VMware VM template"])),(n()(),o["\u0275and"](16777216,null,null,1,null,FT)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,6,0,e.component.vmwareTemplate)},null)}function MT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-vmware-template",[],null,null,null,NT,DT)),o["\u0275did"](1,114688,null,0,IT,[bt,Uh,rT,vc,Hy,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var AT=o["\u0275ccf"]("app-add-vmware-template",IT,MT,{},{},[]),qT=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/docker/images")},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),PT=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.dockerService=t,this.router=l,this.dockerTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.dockerService.getTemplates(this.server).subscribe(function(e){n.dockerTemplates=e.filter(function(n){return"docker"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","docker","templates",n.template_id,"copy"])},n}(),jT=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function LT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function VT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add Docker container template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/docker/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function BT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function zT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,20,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](29,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](31,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color),n(e,28,0,o["\u0275nov"](e,29).role,o["\u0275nov"](e,29)._highlighted,o["\u0275nov"](e,29)._triggersSubmenu,o["\u0275nov"](e,29)._getTabIndex(),o["\u0275nov"](e,29).disabled.toString(),o["\u0275nov"](e,29).disabled||null),n(e,30,0,o["\u0275nov"](e,31).inline,"primary"!==o["\u0275nov"](e,31).color&&"accent"!==o["\u0275nov"](e,31).color&&"warn"!==o["\u0275nov"](e,31).color)})}function UT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,zT)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.dockerTemplates)},null)}function HT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,UT)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function ZT(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Docker container templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,LT)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,VT)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,BT)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,HT)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.dockerTemplates.length),n(e,13,0,t.dockerTemplates.length),n(e,15,0,t.server)},null)}function WT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-docker-templates",[],null,null,null,ZT,jT)),o["\u0275did"](1,114688,null,0,PT,[bt,Uh,qT,Rl],null,null)],function(n,e){n(e,1,0)},null)}var GT=o["\u0275ccf"]("app-docker-templates",PT,WT,{},{},[]),KT=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","vnc","http","https","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","routers"],["Switches","switches"],["End devices","end_devices"],["Security devices","security_devices"]]},n.prototype.getConsoleResolutions=function(){return["1920x1080","1366x768","1280x1024","1280x800","1024x768","800x600","640x480"]},n}(),YT=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.configurationService=o,this.formBuilder=r,this.router=i,this.isSymbolSelectionOpened=!1,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.adapters=[],this.displayedColumns=["adapter_number","port_name"],this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),adapter:new Vm("",sm.required),symbol:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.dockerService.getTemplate(n.server,t).subscribe(function(e){n.dockerTemplate=e})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories(),this.consoleResolutions=this.configurationService.getConsoleResolutions()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid?this.toasterService.error("Fill all required fields"):this.dockerService.saveTemplate(this.server,this.dockerTemplate).subscribe(function(e){n.toasterService.success("Changes saved")})},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.dockerTemplate.symbol=n},n}(),$T=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function XT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[30,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function QT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[69,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function JT(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[81,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function nR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,333,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,325,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,259,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,227,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,3,{_controlNonStatic:0}),o["\u0275qud"](335544320,4,{_controlStatic:0}),o["\u0275qud"](603979776,5,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,6,{_labelChildStatic:0}),o["\u0275qud"](603979776,7,{_placeholderChild:0}),o["\u0275qud"](603979776,8,{_errorChildren:1}),o["\u0275qud"](603979776,9,{_hintChildren:1}),o["\u0275qud"](603979776,10,{_prefixChildren:1}),o["\u0275qud"](603979776,11,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4],[4,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,12,{_controlNonStatic:0}),o["\u0275qud"](335544320,13,{_controlStatic:0}),o["\u0275qud"](603979776,14,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,15,{_labelChildStatic:0}),o["\u0275qud"](603979776,16,{_placeholderChild:0}),o["\u0275qud"](603979776,17,{_errorChildren:1}),o["\u0275qud"](603979776,18,{_hintChildren:1}),o["\u0275qud"](603979776,19,{_prefixChildren:1}),o["\u0275qud"](603979776,20,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4],[13,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,21,{_controlNonStatic:0}),o["\u0275qud"](335544320,22,{_controlStatic:0}),o["\u0275qud"](603979776,23,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,24,{_labelChildStatic:0}),o["\u0275qud"](603979776,25,{_placeholderChild:0}),o["\u0275qud"](603979776,26,{_errorChildren:1}),o["\u0275qud"](603979776,27,{_hintChildren:1}),o["\u0275qud"](603979776,28,{_prefixChildren:1}),o["\u0275qud"](603979776,29,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,76)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](72,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](73,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,30,{options:1}),o["\u0275qud"](603979776,31,{optionGroups:1}),o["\u0275qud"](603979776,32,{customTrigger:0}),o["\u0275prd"](2048,[[21,4],[22,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,XT)),o["\u0275did"](82,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](83,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,33,{_controlNonStatic:0}),o["\u0275qud"](335544320,34,{_controlStatic:0}),o["\u0275qud"](603979776,35,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,36,{_labelChildStatic:0}),o["\u0275qud"](603979776,37,{_placeholderChild:0}),o["\u0275qud"](603979776,38,{_errorChildren:1}),o["\u0275qud"](603979776,39,{_hintChildren:1}),o["\u0275qud"](603979776,40,{_prefixChildren:1}),o["\u0275qud"](603979776,41,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,95)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,95).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,95)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,95)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,100)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](95,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](97,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](100,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[33,4],[34,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](102,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](103,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](105,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](106,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](107,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](108,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,42,{_controlNonStatic:0}),o["\u0275qud"](335544320,43,{_controlStatic:0}),o["\u0275qud"](603979776,44,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,45,{_labelChildStatic:0}),o["\u0275qud"](603979776,46,{_placeholderChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](118,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Start command"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,119)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,119).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,119)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,119)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,125)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,125)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,125)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.start_command=t)&&l),l},null,null)),o["\u0275did"](119,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](121,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](122,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](124,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](125,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[42,4],[43,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](127,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](128,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,51,{_controlNonStatic:0}),o["\u0275qud"](335544320,52,{_controlStatic:0}),o["\u0275qud"](603979776,53,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,54,{_labelChildStatic:0}),o["\u0275qud"](603979776,55,{_placeholderChild:0}),o["\u0275qud"](603979776,56,{_errorChildren:1}),o["\u0275qud"](603979776,57,{_hintChildren:1}),o["\u0275qud"](603979776,58,{_prefixChildren:1}),o["\u0275qud"](603979776,59,{_suffixChildren:1}),(n()(),o["\u0275eld"](138,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","adapter"],["matInput",""],["placeholder","Adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,139)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,139).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,139)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,139)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,140).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,140).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,140).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,145)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,145)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,145)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.adapters=t)&&l),l},null,null)),o["\u0275did"](139,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](140,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](142,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](144,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](145,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[51,4],[52,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](147,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](148,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,60,{_controlNonStatic:0}),o["\u0275qud"](335544320,61,{_controlStatic:0}),o["\u0275qud"](603979776,62,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,63,{_labelChildStatic:0}),o["\u0275qud"](603979776,64,{_placeholderChild:0}),o["\u0275qud"](603979776,65,{_errorChildren:1}),o["\u0275qud"](603979776,66,{_hintChildren:1}),o["\u0275qud"](603979776,67,{_prefixChildren:1}),o["\u0275qud"](603979776,68,{_suffixChildren:1}),(n()(),o["\u0275eld"](158,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,164)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,164)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,164)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](160,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](161,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](163,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](164,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,69,{options:1}),o["\u0275qud"](603979776,70,{optionGroups:1}),o["\u0275qud"](603979776,71,{customTrigger:0}),o["\u0275prd"](2048,[[60,4],[61,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,QT)),o["\u0275did"](170,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](171,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.dockerTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](172,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](174,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](175,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](177,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](179,0,null,null,23,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](180,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,72,{_controlNonStatic:0}),o["\u0275qud"](335544320,73,{_controlStatic:0}),o["\u0275qud"](603979776,74,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,75,{_labelChildStatic:0}),o["\u0275qud"](603979776,76,{_placeholderChild:0}),o["\u0275qud"](603979776,77,{_errorChildren:1}),o["\u0275qud"](603979776,78,{_hintChildren:1}),o["\u0275qud"](603979776,79,{_prefixChildren:1}),o["\u0275qud"](603979776,80,{_suffixChildren:1}),(n()(),o["\u0275eld"](190,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","VNC console resolution"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,196)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,196)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,196)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_resolution=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](192,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](193,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](195,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](196,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,81,{options:1}),o["\u0275qud"](603979776,82,{optionGroups:1}),o["\u0275qud"](603979776,83,{customTrigger:0}),o["\u0275prd"](2048,[[72,4],[73,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,JT)),o["\u0275did"](202,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](203,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](204,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,84,{_controlNonStatic:0}),o["\u0275qud"](335544320,85,{_controlStatic:0}),o["\u0275qud"](603979776,86,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,87,{_labelChildStatic:0}),o["\u0275qud"](603979776,88,{_placeholderChild:0}),o["\u0275qud"](603979776,89,{_errorChildren:1}),o["\u0275qud"](603979776,90,{_hintChildren:1}),o["\u0275qud"](603979776,91,{_prefixChildren:1}),o["\u0275qud"](603979776,92,{_suffixChildren:1}),(n()(),o["\u0275eld"](214,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","HTTP port in the container"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,215)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,215).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,215)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,215)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,216).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,216).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,216).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,222)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,222)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,222)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_http_port=t)&&l),l},null,null)),o["\u0275did"](215,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](216,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](218,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](219,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](221,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](222,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[84,4],[85,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](224,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](225,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,93,{_controlNonStatic:0}),o["\u0275qud"](335544320,94,{_controlStatic:0}),o["\u0275qud"](603979776,95,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,96,{_labelChildStatic:0}),o["\u0275qud"](603979776,97,{_placeholderChild:0}),o["\u0275qud"](603979776,98,{_errorChildren:1}),o["\u0275qud"](603979776,99,{_hintChildren:1}),o["\u0275qud"](603979776,100,{_prefixChildren:1}),o["\u0275qud"](603979776,101,{_suffixChildren:1}),(n()(),o["\u0275eld"](235,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","HTTP path"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,236)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,236).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,236)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,236)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,242)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,242)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,242)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_http_path=t)&&l),l},null,null)),o["\u0275did"](236,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](238,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](239,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](241,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](242,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[93,4],[94,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](244,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Environment"])),(n()(),o["\u0275eld"](246,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](247,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,102,{_controlNonStatic:0}),o["\u0275qud"](335544320,103,{_controlStatic:0}),o["\u0275qud"](603979776,104,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,105,{_labelChildStatic:0}),o["\u0275qud"](603979776,106,{_placeholderChild:0}),o["\u0275qud"](603979776,107,{_errorChildren:1}),o["\u0275qud"](603979776,108,{_hintChildren:1}),o["\u0275qud"](603979776,109,{_prefixChildren:1}),o["\u0275qud"](603979776,110,{_suffixChildren:1}),(n()(),o["\u0275eld"](257,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,258)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,258).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,258)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,258)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,263)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,263)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,263)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.environment=t)&&l),l},null,null)),o["\u0275did"](258,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](260,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](262,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](263,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[102,4],[103,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](265,16777216,null,null,31,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](266,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,111,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](269,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,270)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,270)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,270)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](270,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](271,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](272,{value:0,params:1}),(n()(),o["\u0275eld"](273,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](274,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Advanced "])),(n()(),o["\u0275eld"](276,0,null,1,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Extra hosts"])),(n()(),o["\u0275eld"](278,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](279,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,112,{_controlNonStatic:0}),o["\u0275qud"](335544320,113,{_controlStatic:0}),o["\u0275qud"](603979776,114,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,115,{_labelChildStatic:0}),o["\u0275qud"](603979776,116,{_placeholderChild:0}),o["\u0275qud"](603979776,117,{_errorChildren:1}),o["\u0275qud"](603979776,118,{_hintChildren:1}),o["\u0275qud"](603979776,119,{_prefixChildren:1}),o["\u0275qud"](603979776,120,{_suffixChildren:1}),(n()(),o["\u0275eld"](289,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,290)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,290).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,290)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,290)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,295)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,295)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,295)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.extra_hosts=t)&&l),l},null,null)),o["\u0275did"](290,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](292,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](294,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](295,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[112,4],[113,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](297,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](298,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,121,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](301,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,302)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,302)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,302)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](302,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](303,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](304,{value:0,params:1}),(n()(),o["\u0275eld"](305,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](306,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](308,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](309,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,122,{_controlNonStatic:0}),o["\u0275qud"](335544320,123,{_controlStatic:0}),o["\u0275qud"](603979776,124,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,125,{_labelChildStatic:0}),o["\u0275qud"](603979776,126,{_placeholderChild:0}),o["\u0275qud"](603979776,127,{_errorChildren:1}),o["\u0275qud"](603979776,128,{_hintChildren:1}),o["\u0275qud"](603979776,129,{_prefixChildren:1}),o["\u0275qud"](603979776,130,{_suffixChildren:1}),(n()(),o["\u0275eld"](319,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,320)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,320).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,320)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,320)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,325)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,325)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,325)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](320,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](322,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](324,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](325,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[122,4],[123,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](327,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](328,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](329,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](331,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](332,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.dockerTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.dockerTemplate.default_name_format),n(e,57,0,"Default name format","text");var l=t.dockerTemplate.category,o=n(e,73,0,!0);n(e,72,0,l,o),n(e,76,0,"Category"),n(e,82,0,t.categories),n(e,97,0,"symbol",t.dockerTemplate.symbol),n(e,100,0,"Symbol","text");var r=t.dockerTemplate.start_command,i=n(e,122,0,!0);n(e,121,0,r,i),n(e,125,0,"Start command","text"),n(e,142,0,"adapter",t.dockerTemplate.adapters),n(e,145,0,"Adapters","number");var a=t.dockerTemplate.console_type,u=n(e,161,0,!0);n(e,160,0,a,u),n(e,164,0,"Console type"),n(e,170,0,t.consoleTypes);var s=t.dockerTemplate.console_auto_start,d=n(e,175,0,!0);n(e,174,0,s,d);var c=t.dockerTemplate.console_resolution,p=n(e,193,0,!0);n(e,192,0,c,p),n(e,196,0,"VNC console resolution"),n(e,202,0,t.consoleResolutions);var f=t.dockerTemplate.console_http_port,h=n(e,219,0,!0);n(e,218,0,f,h),n(e,222,0,"HTTP port in the container","number");var m=t.dockerTemplate.console_http_path,v=n(e,239,0,!0);n(e,238,0,m,v),n(e,242,0,"HTTP path","text"),n(e,260,0,t.dockerTemplate.environment),n(e,263,0,"text"),n(e,292,0,t.dockerTemplate.extra_hosts),n(e,295,0,"text"),n(e,322,0,t.dockerTemplate.usage),n(e,325,0,"text"),n(e,332,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).tabIndex,o["\u0275nov"](e,76)._getAriaLabel(),o["\u0275nov"](e,76)._getAriaLabelledby(),o["\u0275nov"](e,76).required.toString(),o["\u0275nov"](e,76).disabled.toString(),o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).panelOpen?o["\u0275nov"](e,76)._optionIds:null,o["\u0275nov"](e,76).multiple,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76)._getAriaActiveDescendant(),o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).empty]),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100)._isServer,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).placeholder,o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).readonly&&!o["\u0275nov"](e,100)._isNativeSelect||null,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required.toString()]),n(e,102,0,o["\u0275nov"](e,103).disabled||null,"NoopAnimations"===o["\u0275nov"](e,103)._animationMode),n(e,107,1,["standard"==o["\u0275nov"](e,108).appearance,"fill"==o["\u0275nov"](e,108).appearance,"outline"==o["\u0275nov"](e,108).appearance,"legacy"==o["\u0275nov"](e,108).appearance,o["\u0275nov"](e,108)._control.errorState,o["\u0275nov"](e,108)._canLabelFloat,o["\u0275nov"](e,108)._shouldLabelFloat(),o["\u0275nov"](e,108)._hasFloatingLabel(),o["\u0275nov"](e,108)._hideControlPlaceholder(),o["\u0275nov"](e,108)._control.disabled,o["\u0275nov"](e,108)._control.autofilled,o["\u0275nov"](e,108)._control.focused,"accent"==o["\u0275nov"](e,108).color,"warn"==o["\u0275nov"](e,108).color,o["\u0275nov"](e,108)._shouldForward("untouched"),o["\u0275nov"](e,108)._shouldForward("touched"),o["\u0275nov"](e,108)._shouldForward("pristine"),o["\u0275nov"](e,108)._shouldForward("dirty"),o["\u0275nov"](e,108)._shouldForward("valid"),o["\u0275nov"](e,108)._shouldForward("invalid"),o["\u0275nov"](e,108)._shouldForward("pending"),!o["\u0275nov"](e,108)._animationsEnabled]),n(e,118,1,[o["\u0275nov"](e,124).ngClassUntouched,o["\u0275nov"](e,124).ngClassTouched,o["\u0275nov"](e,124).ngClassPristine,o["\u0275nov"](e,124).ngClassDirty,o["\u0275nov"](e,124).ngClassValid,o["\u0275nov"](e,124).ngClassInvalid,o["\u0275nov"](e,124).ngClassPending,o["\u0275nov"](e,125)._isServer,o["\u0275nov"](e,125).id,o["\u0275nov"](e,125).placeholder,o["\u0275nov"](e,125).disabled,o["\u0275nov"](e,125).required,o["\u0275nov"](e,125).readonly&&!o["\u0275nov"](e,125)._isNativeSelect||null,o["\u0275nov"](e,125)._ariaDescribedby||null,o["\u0275nov"](e,125).errorState,o["\u0275nov"](e,125).required.toString()]),n(e,127,1,["standard"==o["\u0275nov"](e,128).appearance,"fill"==o["\u0275nov"](e,128).appearance,"outline"==o["\u0275nov"](e,128).appearance,"legacy"==o["\u0275nov"](e,128).appearance,o["\u0275nov"](e,128)._control.errorState,o["\u0275nov"](e,128)._canLabelFloat,o["\u0275nov"](e,128)._shouldLabelFloat(),o["\u0275nov"](e,128)._hasFloatingLabel(),o["\u0275nov"](e,128)._hideControlPlaceholder(),o["\u0275nov"](e,128)._control.disabled,o["\u0275nov"](e,128)._control.autofilled,o["\u0275nov"](e,128)._control.focused,"accent"==o["\u0275nov"](e,128).color,"warn"==o["\u0275nov"](e,128).color,o["\u0275nov"](e,128)._shouldForward("untouched"),o["\u0275nov"](e,128)._shouldForward("touched"),o["\u0275nov"](e,128)._shouldForward("pristine"),o["\u0275nov"](e,128)._shouldForward("dirty"),o["\u0275nov"](e,128)._shouldForward("valid"),o["\u0275nov"](e,128)._shouldForward("invalid"),o["\u0275nov"](e,128)._shouldForward("pending"),!o["\u0275nov"](e,128)._animationsEnabled]),n(e,138,1,[o["\u0275nov"](e,144).ngClassUntouched,o["\u0275nov"](e,144).ngClassTouched,o["\u0275nov"](e,144).ngClassPristine,o["\u0275nov"](e,144).ngClassDirty,o["\u0275nov"](e,144).ngClassValid,o["\u0275nov"](e,144).ngClassInvalid,o["\u0275nov"](e,144).ngClassPending,o["\u0275nov"](e,145)._isServer,o["\u0275nov"](e,145).id,o["\u0275nov"](e,145).placeholder,o["\u0275nov"](e,145).disabled,o["\u0275nov"](e,145).required,o["\u0275nov"](e,145).readonly&&!o["\u0275nov"](e,145)._isNativeSelect||null,o["\u0275nov"](e,145)._ariaDescribedby||null,o["\u0275nov"](e,145).errorState,o["\u0275nov"](e,145).required.toString()]),n(e,147,1,["standard"==o["\u0275nov"](e,148).appearance,"fill"==o["\u0275nov"](e,148).appearance,"outline"==o["\u0275nov"](e,148).appearance,"legacy"==o["\u0275nov"](e,148).appearance,o["\u0275nov"](e,148)._control.errorState,o["\u0275nov"](e,148)._canLabelFloat,o["\u0275nov"](e,148)._shouldLabelFloat(),o["\u0275nov"](e,148)._hasFloatingLabel(),o["\u0275nov"](e,148)._hideControlPlaceholder(),o["\u0275nov"](e,148)._control.disabled,o["\u0275nov"](e,148)._control.autofilled,o["\u0275nov"](e,148)._control.focused,"accent"==o["\u0275nov"](e,148).color,"warn"==o["\u0275nov"](e,148).color,o["\u0275nov"](e,148)._shouldForward("untouched"),o["\u0275nov"](e,148)._shouldForward("touched"),o["\u0275nov"](e,148)._shouldForward("pristine"),o["\u0275nov"](e,148)._shouldForward("dirty"),o["\u0275nov"](e,148)._shouldForward("valid"),o["\u0275nov"](e,148)._shouldForward("invalid"),o["\u0275nov"](e,148)._shouldForward("pending"),!o["\u0275nov"](e,148)._animationsEnabled]),n(e,158,1,[o["\u0275nov"](e,163).ngClassUntouched,o["\u0275nov"](e,163).ngClassTouched,o["\u0275nov"](e,163).ngClassPristine,o["\u0275nov"](e,163).ngClassDirty,o["\u0275nov"](e,163).ngClassValid,o["\u0275nov"](e,163).ngClassInvalid,o["\u0275nov"](e,163).ngClassPending,o["\u0275nov"](e,164).id,o["\u0275nov"](e,164).tabIndex,o["\u0275nov"](e,164)._getAriaLabel(),o["\u0275nov"](e,164)._getAriaLabelledby(),o["\u0275nov"](e,164).required.toString(),o["\u0275nov"](e,164).disabled.toString(),o["\u0275nov"](e,164).errorState,o["\u0275nov"](e,164).panelOpen?o["\u0275nov"](e,164)._optionIds:null,o["\u0275nov"](e,164).multiple,o["\u0275nov"](e,164)._ariaDescribedby||null,o["\u0275nov"](e,164)._getAriaActiveDescendant(),o["\u0275nov"](e,164).disabled,o["\u0275nov"](e,164).errorState,o["\u0275nov"](e,164).required,o["\u0275nov"](e,164).empty]),n(e,171,1,[o["\u0275nov"](e,172).id,null,o["\u0275nov"](e,172).indeterminate,o["\u0275nov"](e,172).checked,o["\u0275nov"](e,172).disabled,"before"==o["\u0275nov"](e,172).labelPosition,"NoopAnimations"===o["\u0275nov"](e,172)._animationMode,o["\u0275nov"](e,177).ngClassUntouched,o["\u0275nov"](e,177).ngClassTouched,o["\u0275nov"](e,177).ngClassPristine,o["\u0275nov"](e,177).ngClassDirty,o["\u0275nov"](e,177).ngClassValid,o["\u0275nov"](e,177).ngClassInvalid,o["\u0275nov"](e,177).ngClassPending]),n(e,179,1,["standard"==o["\u0275nov"](e,180).appearance,"fill"==o["\u0275nov"](e,180).appearance,"outline"==o["\u0275nov"](e,180).appearance,"legacy"==o["\u0275nov"](e,180).appearance,o["\u0275nov"](e,180)._control.errorState,o["\u0275nov"](e,180)._canLabelFloat,o["\u0275nov"](e,180)._shouldLabelFloat(),o["\u0275nov"](e,180)._hasFloatingLabel(),o["\u0275nov"](e,180)._hideControlPlaceholder(),o["\u0275nov"](e,180)._control.disabled,o["\u0275nov"](e,180)._control.autofilled,o["\u0275nov"](e,180)._control.focused,"accent"==o["\u0275nov"](e,180).color,"warn"==o["\u0275nov"](e,180).color,o["\u0275nov"](e,180)._shouldForward("untouched"),o["\u0275nov"](e,180)._shouldForward("touched"),o["\u0275nov"](e,180)._shouldForward("pristine"),o["\u0275nov"](e,180)._shouldForward("dirty"),o["\u0275nov"](e,180)._shouldForward("valid"),o["\u0275nov"](e,180)._shouldForward("invalid"),o["\u0275nov"](e,180)._shouldForward("pending"),!o["\u0275nov"](e,180)._animationsEnabled]),n(e,190,1,[o["\u0275nov"](e,195).ngClassUntouched,o["\u0275nov"](e,195).ngClassTouched,o["\u0275nov"](e,195).ngClassPristine,o["\u0275nov"](e,195).ngClassDirty,o["\u0275nov"](e,195).ngClassValid,o["\u0275nov"](e,195).ngClassInvalid,o["\u0275nov"](e,195).ngClassPending,o["\u0275nov"](e,196).id,o["\u0275nov"](e,196).tabIndex,o["\u0275nov"](e,196)._getAriaLabel(),o["\u0275nov"](e,196)._getAriaLabelledby(),o["\u0275nov"](e,196).required.toString(),o["\u0275nov"](e,196).disabled.toString(),o["\u0275nov"](e,196).errorState,o["\u0275nov"](e,196).panelOpen?o["\u0275nov"](e,196)._optionIds:null,o["\u0275nov"](e,196).multiple,o["\u0275nov"](e,196)._ariaDescribedby||null,o["\u0275nov"](e,196)._getAriaActiveDescendant(),o["\u0275nov"](e,196).disabled,o["\u0275nov"](e,196).errorState,o["\u0275nov"](e,196).required,o["\u0275nov"](e,196).empty]),n(e,203,1,["standard"==o["\u0275nov"](e,204).appearance,"fill"==o["\u0275nov"](e,204).appearance,"outline"==o["\u0275nov"](e,204).appearance,"legacy"==o["\u0275nov"](e,204).appearance,o["\u0275nov"](e,204)._control.errorState,o["\u0275nov"](e,204)._canLabelFloat,o["\u0275nov"](e,204)._shouldLabelFloat(),o["\u0275nov"](e,204)._hasFloatingLabel(),o["\u0275nov"](e,204)._hideControlPlaceholder(),o["\u0275nov"](e,204)._control.disabled,o["\u0275nov"](e,204)._control.autofilled,o["\u0275nov"](e,204)._control.focused,"accent"==o["\u0275nov"](e,204).color,"warn"==o["\u0275nov"](e,204).color,o["\u0275nov"](e,204)._shouldForward("untouched"),o["\u0275nov"](e,204)._shouldForward("touched"),o["\u0275nov"](e,204)._shouldForward("pristine"),o["\u0275nov"](e,204)._shouldForward("dirty"),o["\u0275nov"](e,204)._shouldForward("valid"),o["\u0275nov"](e,204)._shouldForward("invalid"),o["\u0275nov"](e,204)._shouldForward("pending"),!o["\u0275nov"](e,204)._animationsEnabled]),n(e,214,1,[o["\u0275nov"](e,221).ngClassUntouched,o["\u0275nov"](e,221).ngClassTouched,o["\u0275nov"](e,221).ngClassPristine,o["\u0275nov"](e,221).ngClassDirty,o["\u0275nov"](e,221).ngClassValid,o["\u0275nov"](e,221).ngClassInvalid,o["\u0275nov"](e,221).ngClassPending,o["\u0275nov"](e,222)._isServer,o["\u0275nov"](e,222).id,o["\u0275nov"](e,222).placeholder,o["\u0275nov"](e,222).disabled,o["\u0275nov"](e,222).required,o["\u0275nov"](e,222).readonly&&!o["\u0275nov"](e,222)._isNativeSelect||null,o["\u0275nov"](e,222)._ariaDescribedby||null,o["\u0275nov"](e,222).errorState,o["\u0275nov"](e,222).required.toString()]),n(e,224,1,["standard"==o["\u0275nov"](e,225).appearance,"fill"==o["\u0275nov"](e,225).appearance,"outline"==o["\u0275nov"](e,225).appearance,"legacy"==o["\u0275nov"](e,225).appearance,o["\u0275nov"](e,225)._control.errorState,o["\u0275nov"](e,225)._canLabelFloat,o["\u0275nov"](e,225)._shouldLabelFloat(),o["\u0275nov"](e,225)._hasFloatingLabel(),o["\u0275nov"](e,225)._hideControlPlaceholder(),o["\u0275nov"](e,225)._control.disabled,o["\u0275nov"](e,225)._control.autofilled,o["\u0275nov"](e,225)._control.focused,"accent"==o["\u0275nov"](e,225).color,"warn"==o["\u0275nov"](e,225).color,o["\u0275nov"](e,225)._shouldForward("untouched"),o["\u0275nov"](e,225)._shouldForward("touched"),o["\u0275nov"](e,225)._shouldForward("pristine"),o["\u0275nov"](e,225)._shouldForward("dirty"),o["\u0275nov"](e,225)._shouldForward("valid"),o["\u0275nov"](e,225)._shouldForward("invalid"),o["\u0275nov"](e,225)._shouldForward("pending"),!o["\u0275nov"](e,225)._animationsEnabled]),n(e,235,1,[o["\u0275nov"](e,241).ngClassUntouched,o["\u0275nov"](e,241).ngClassTouched,o["\u0275nov"](e,241).ngClassPristine,o["\u0275nov"](e,241).ngClassDirty,o["\u0275nov"](e,241).ngClassValid,o["\u0275nov"](e,241).ngClassInvalid,o["\u0275nov"](e,241).ngClassPending,o["\u0275nov"](e,242)._isServer,o["\u0275nov"](e,242).id,o["\u0275nov"](e,242).placeholder,o["\u0275nov"](e,242).disabled,o["\u0275nov"](e,242).required,o["\u0275nov"](e,242).readonly&&!o["\u0275nov"](e,242)._isNativeSelect||null,o["\u0275nov"](e,242)._ariaDescribedby||null,o["\u0275nov"](e,242).errorState,o["\u0275nov"](e,242).required.toString()]),n(e,246,1,["standard"==o["\u0275nov"](e,247).appearance,"fill"==o["\u0275nov"](e,247).appearance,"outline"==o["\u0275nov"](e,247).appearance,"legacy"==o["\u0275nov"](e,247).appearance,o["\u0275nov"](e,247)._control.errorState,o["\u0275nov"](e,247)._canLabelFloat,o["\u0275nov"](e,247)._shouldLabelFloat(),o["\u0275nov"](e,247)._hasFloatingLabel(),o["\u0275nov"](e,247)._hideControlPlaceholder(),o["\u0275nov"](e,247)._control.disabled,o["\u0275nov"](e,247)._control.autofilled,o["\u0275nov"](e,247)._control.focused,"accent"==o["\u0275nov"](e,247).color,"warn"==o["\u0275nov"](e,247).color,o["\u0275nov"](e,247)._shouldForward("untouched"),o["\u0275nov"](e,247)._shouldForward("touched"),o["\u0275nov"](e,247)._shouldForward("pristine"),o["\u0275nov"](e,247)._shouldForward("dirty"),o["\u0275nov"](e,247)._shouldForward("valid"),o["\u0275nov"](e,247)._shouldForward("invalid"),o["\u0275nov"](e,247)._shouldForward("pending"),!o["\u0275nov"](e,247)._animationsEnabled]),n(e,257,1,[o["\u0275nov"](e,262).ngClassUntouched,o["\u0275nov"](e,262).ngClassTouched,o["\u0275nov"](e,262).ngClassPristine,o["\u0275nov"](e,262).ngClassDirty,o["\u0275nov"](e,262).ngClassValid,o["\u0275nov"](e,262).ngClassInvalid,o["\u0275nov"](e,262).ngClassPending,o["\u0275nov"](e,263)._isServer,o["\u0275nov"](e,263).id,o["\u0275nov"](e,263).placeholder,o["\u0275nov"](e,263).disabled,o["\u0275nov"](e,263).required,o["\u0275nov"](e,263).readonly&&!o["\u0275nov"](e,263)._isNativeSelect||null,o["\u0275nov"](e,263)._ariaDescribedby||null,o["\u0275nov"](e,263).errorState,o["\u0275nov"](e,263).required.toString()]),n(e,265,0,o["\u0275nov"](e,266).expanded,"NoopAnimations"===o["\u0275nov"](e,266)._animationMode,o["\u0275nov"](e,266)._hasSpacing());var f=o["\u0275nov"](e,270).panel._headerId,h=o["\u0275nov"](e,270).disabled?-1:0,m=o["\u0275nov"](e,270)._getPanelId(),v=o["\u0275nov"](e,270)._isExpanded(),g=o["\u0275nov"](e,270).panel.disabled,b=o["\u0275nov"](e,270)._isExpanded(),_="after"===o["\u0275nov"](e,270)._getTogglePosition(),y="before"===o["\u0275nov"](e,270)._getTogglePosition(),w=o["\u0275nov"](e,270)._animationsDisabled,C=n(e,272,0,o["\u0275nov"](e,270)._getExpandedState(),n(e,271,0,o["\u0275nov"](e,270).collapsedHeight,o["\u0275nov"](e,270).expandedHeight));n(e,269,0,f,h,m,v,g,b,_,y,w,C),n(e,278,1,["standard"==o["\u0275nov"](e,279).appearance,"fill"==o["\u0275nov"](e,279).appearance,"outline"==o["\u0275nov"](e,279).appearance,"legacy"==o["\u0275nov"](e,279).appearance,o["\u0275nov"](e,279)._control.errorState,o["\u0275nov"](e,279)._canLabelFloat,o["\u0275nov"](e,279)._shouldLabelFloat(),o["\u0275nov"](e,279)._hasFloatingLabel(),o["\u0275nov"](e,279)._hideControlPlaceholder(),o["\u0275nov"](e,279)._control.disabled,o["\u0275nov"](e,279)._control.autofilled,o["\u0275nov"](e,279)._control.focused,"accent"==o["\u0275nov"](e,279).color,"warn"==o["\u0275nov"](e,279).color,o["\u0275nov"](e,279)._shouldForward("untouched"),o["\u0275nov"](e,279)._shouldForward("touched"),o["\u0275nov"](e,279)._shouldForward("pristine"),o["\u0275nov"](e,279)._shouldForward("dirty"),o["\u0275nov"](e,279)._shouldForward("valid"),o["\u0275nov"](e,279)._shouldForward("invalid"),o["\u0275nov"](e,279)._shouldForward("pending"),!o["\u0275nov"](e,279)._animationsEnabled]),n(e,289,1,[o["\u0275nov"](e,294).ngClassUntouched,o["\u0275nov"](e,294).ngClassTouched,o["\u0275nov"](e,294).ngClassPristine,o["\u0275nov"](e,294).ngClassDirty,o["\u0275nov"](e,294).ngClassValid,o["\u0275nov"](e,294).ngClassInvalid,o["\u0275nov"](e,294).ngClassPending,o["\u0275nov"](e,295)._isServer,o["\u0275nov"](e,295).id,o["\u0275nov"](e,295).placeholder,o["\u0275nov"](e,295).disabled,o["\u0275nov"](e,295).required,o["\u0275nov"](e,295).readonly&&!o["\u0275nov"](e,295)._isNativeSelect||null,o["\u0275nov"](e,295)._ariaDescribedby||null,o["\u0275nov"](e,295).errorState,o["\u0275nov"](e,295).required.toString()]),n(e,297,0,o["\u0275nov"](e,298).expanded,"NoopAnimations"===o["\u0275nov"](e,298)._animationMode,o["\u0275nov"](e,298)._hasSpacing());var x=o["\u0275nov"](e,302).panel._headerId,S=o["\u0275nov"](e,302).disabled?-1:0,k=o["\u0275nov"](e,302)._getPanelId(),E=o["\u0275nov"](e,302)._isExpanded(),T=o["\u0275nov"](e,302).panel.disabled,R=o["\u0275nov"](e,302)._isExpanded(),I="after"===o["\u0275nov"](e,302)._getTogglePosition(),D="before"===o["\u0275nov"](e,302)._getTogglePosition(),O=o["\u0275nov"](e,302)._animationsDisabled,F=n(e,304,0,o["\u0275nov"](e,302)._getExpandedState(),n(e,303,0,o["\u0275nov"](e,302).collapsedHeight,o["\u0275nov"](e,302).expandedHeight));n(e,301,0,x,S,k,E,T,R,I,D,O,F),n(e,308,1,["standard"==o["\u0275nov"](e,309).appearance,"fill"==o["\u0275nov"](e,309).appearance,"outline"==o["\u0275nov"](e,309).appearance,"legacy"==o["\u0275nov"](e,309).appearance,o["\u0275nov"](e,309)._control.errorState,o["\u0275nov"](e,309)._canLabelFloat,o["\u0275nov"](e,309)._shouldLabelFloat(),o["\u0275nov"](e,309)._hasFloatingLabel(),o["\u0275nov"](e,309)._hideControlPlaceholder(),o["\u0275nov"](e,309)._control.disabled,o["\u0275nov"](e,309)._control.autofilled,o["\u0275nov"](e,309)._control.focused,"accent"==o["\u0275nov"](e,309).color,"warn"==o["\u0275nov"](e,309).color,o["\u0275nov"](e,309)._shouldForward("untouched"),o["\u0275nov"](e,309)._shouldForward("touched"),o["\u0275nov"](e,309)._shouldForward("pristine"),o["\u0275nov"](e,309)._shouldForward("dirty"),o["\u0275nov"](e,309)._shouldForward("valid"),o["\u0275nov"](e,309)._shouldForward("invalid"),o["\u0275nov"](e,309)._shouldForward("pending"),!o["\u0275nov"](e,309)._animationsEnabled]),n(e,319,1,[o["\u0275nov"](e,324).ngClassUntouched,o["\u0275nov"](e,324).ngClassTouched,o["\u0275nov"](e,324).ngClassPristine,o["\u0275nov"](e,324).ngClassDirty,o["\u0275nov"](e,324).ngClassValid,o["\u0275nov"](e,324).ngClassInvalid,o["\u0275nov"](e,324).ngClassPending,o["\u0275nov"](e,325)._isServer,o["\u0275nov"](e,325).id,o["\u0275nov"](e,325).placeholder,o["\u0275nov"](e,325).disabled,o["\u0275nov"](e,325).required,o["\u0275nov"](e,325).readonly&&!o["\u0275nov"](e,325)._isNativeSelect||null,o["\u0275nov"](e,325)._ariaDescribedby||null,o["\u0275nov"](e,325).errorState,o["\u0275nov"](e,325).required.toString()]),n(e,328,0,o["\u0275nov"](e,329).disabled||null,"NoopAnimations"===o["\u0275nov"](e,329)._animationMode),n(e,331,0,o["\u0275nov"](e,332).disabled||null,"NoopAnimations"===o["\u0275nov"](e,332)._animationMode)})}function eR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.dockerTemplate.symbol)},null)}function tR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Docker image configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,nR)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,eR)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.dockerTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.dockerTemplate)},null)}function lR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-docker-template-details",[],null,null,null,tR,$T)),o["\u0275did"](1,114688,null,0,YT,[bt,Uh,qT,vc,KT,rv,Rl],null,null)],function(n,e){n(e,1,0)},null)}var oR=o["\u0275ccf"]("app-docker-template-details",YT,lR,{},{},[]),rR=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.dockerService.getTemplate(n.server,t).subscribe(function(e){n.dockerTemplate=e,n.templateName="Copy of "+n.dockerTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=Object(dg.v4)(),this.dockerTemplate.name=this.templateName,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(e){n.goBack()}))},n}(),iR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function aR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,37,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy Docker container template"])),(n()(),o["\u0275eld"](5,0,null,null,32,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,24,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,9).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,9).onReset()&&l),l},null,null)),o["\u0275did"](8,16384,null,0,Xm,[],null,null),o["\u0275did"](9,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](11,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](12,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](13,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](23,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,24)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,24).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,24)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,24)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,29)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,29)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,29)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](24,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](26,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](28,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](29,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](31,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](32,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](33,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](35,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](36,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,9,0,t.templateNameForm),n(e,26,0,"templateName",t.templateName),n(e,29,0,"Name","text"),n(e,36,0,"primary")},function(n,e){n(e,7,0,o["\u0275nov"](e,11).ngClassUntouched,o["\u0275nov"](e,11).ngClassTouched,o["\u0275nov"](e,11).ngClassPristine,o["\u0275nov"](e,11).ngClassDirty,o["\u0275nov"](e,11).ngClassValid,o["\u0275nov"](e,11).ngClassInvalid,o["\u0275nov"](e,11).ngClassPending),n(e,12,1,["standard"==o["\u0275nov"](e,13).appearance,"fill"==o["\u0275nov"](e,13).appearance,"outline"==o["\u0275nov"](e,13).appearance,"legacy"==o["\u0275nov"](e,13).appearance,o["\u0275nov"](e,13)._control.errorState,o["\u0275nov"](e,13)._canLabelFloat,o["\u0275nov"](e,13)._shouldLabelFloat(),o["\u0275nov"](e,13)._hasFloatingLabel(),o["\u0275nov"](e,13)._hideControlPlaceholder(),o["\u0275nov"](e,13)._control.disabled,o["\u0275nov"](e,13)._control.autofilled,o["\u0275nov"](e,13)._control.focused,"accent"==o["\u0275nov"](e,13).color,"warn"==o["\u0275nov"](e,13).color,o["\u0275nov"](e,13)._shouldForward("untouched"),o["\u0275nov"](e,13)._shouldForward("touched"),o["\u0275nov"](e,13)._shouldForward("pristine"),o["\u0275nov"](e,13)._shouldForward("dirty"),o["\u0275nov"](e,13)._shouldForward("valid"),o["\u0275nov"](e,13)._shouldForward("invalid"),o["\u0275nov"](e,13)._shouldForward("pending"),!o["\u0275nov"](e,13)._animationsEnabled]),n(e,23,1,[o["\u0275nov"](e,28).ngClassUntouched,o["\u0275nov"](e,28).ngClassTouched,o["\u0275nov"](e,28).ngClassPristine,o["\u0275nov"](e,28).ngClassDirty,o["\u0275nov"](e,28).ngClassValid,o["\u0275nov"](e,28).ngClassInvalid,o["\u0275nov"](e,28).ngClassPending,o["\u0275nov"](e,29)._isServer,o["\u0275nov"](e,29).id,o["\u0275nov"](e,29).placeholder,o["\u0275nov"](e,29).disabled,o["\u0275nov"](e,29).required,o["\u0275nov"](e,29).readonly&&!o["\u0275nov"](e,29)._isNativeSelect||null,o["\u0275nov"](e,29)._ariaDescribedby||null,o["\u0275nov"](e,29).errorState,o["\u0275nov"](e,29).required.toString()]),n(e,32,0,o["\u0275nov"](e,33).disabled||null,"NoopAnimations"===o["\u0275nov"](e,33)._animationMode),n(e,35,0,o["\u0275nov"](e,36).disabled||null,"NoopAnimations"===o["\u0275nov"](e,36)._animationMode)})}function uR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-docker-template",[],null,null,null,aR,iR)),o["\u0275did"](1,114688,null,0,rR,[bt,Uh,qT,vc,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var sR=o["\u0275ccf"]("app-copy-docker-template",rR,uR,{},{},[]),dR=function(){return function(){}}(),cR=function(){function n(n,e,t,l,o,r,i,a){this.route=n,this.serverService=e,this.dockerService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.configurationService=a,this.consoleTypes=[],this.isGns3VmChosen=!1,this.isRemoteComputerChosen=!1,this.dockerImages=[],this.newImageSelected=!1,this.dockerTemplate=new dR,this.virtualMachineForm=this.formBuilder.group({filename:new Vm("",sm.required)}),this.containerNameForm=this.formBuilder.group({templateName:new Vm("",sm.required)}),this.networkAdaptersForm=this.formBuilder.group({adapters:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.consoleTypes=n.configurationService.getConsoleTypes(),n.templateMocksService.getDockerTemplate().subscribe(function(e){n.dockerTemplate=e})})},n.prototype.setServerType=function(n){"gns3 vm"===n?this.isGns3VmChosen=!0:this.isRemoteComputerChosen=!0},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","docker","templates"])},n.prototype.addTemplate=function(){var n=this;this.virtualMachineForm.invalid&&this.newImageSelected||this.containerNameForm.invalid||this.networkAdaptersForm.invalid?this.toasterService.error("Fill all required fields"):(this.dockerTemplate.template_id=Object(dg.v4)(),this.dockerTemplate.image=this.virtualMachineForm.get("filename").value,this.dockerTemplate.name=this.containerNameForm.get("templateName").value,this.dockerTemplate.adapters=this.networkAdaptersForm.get("adapters").value,this.dockerService.addTemplate(this.server,this.dockerTemplate).subscribe(function(e){n.goBack()}))},n}(),pR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function fR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[7,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.filename)})}function hR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,12,"mat-select",[["class","mat-select"],["placeholder","Image list"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,7)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,7)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,7)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedImage=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](3,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](4,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](6,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](7,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,7,{options:1}),o["\u0275qud"](603979776,8,{optionGroups:1}),o["\u0275qud"](603979776,9,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,fR)),o["\u0275did"](12,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.selectedImage,o=n(e,4,0,!0);n(e,3,0,l,o),n(e,7,0,"Image list"),n(e,12,0,t.dockerImages)},function(n,e){n(e,0,1,[o["\u0275nov"](e,6).ngClassUntouched,o["\u0275nov"](e,6).ngClassTouched,o["\u0275nov"](e,6).ngClassPristine,o["\u0275nov"](e,6).ngClassDirty,o["\u0275nov"](e,6).ngClassValid,o["\u0275nov"](e,6).ngClassInvalid,o["\u0275nov"](e,6).ngClassPending,o["\u0275nov"](e,7).id,o["\u0275nov"](e,7).tabIndex,o["\u0275nov"](e,7)._getAriaLabel(),o["\u0275nov"](e,7)._getAriaLabelledby(),o["\u0275nov"](e,7).required.toString(),o["\u0275nov"](e,7).disabled.toString(),o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).panelOpen?o["\u0275nov"](e,7)._optionIds:null,o["\u0275nov"](e,7).multiple,o["\u0275nov"](e,7)._ariaDescribedby||null,o["\u0275nov"](e,7)._getAriaActiveDescendant(),o["\u0275nov"](e,7).disabled,o["\u0275nov"](e,7).errorState,o["\u0275nov"](e,7).required,o["\u0275nov"](e,7).empty])})}function mR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,19,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](2,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](12,0,null,1,7,"input",[["class","filename mat-input-element mat-form-field-autofill-control"],["formControlName","filename"],["matInput",""],["placeholder","Image name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,13)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,13).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,13)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,13)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18)._onInput()&&l),l},null,null)),o["\u0275did"](13,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](15,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](17,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](18,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_])],function(n,e){n(e,15,0,"filename"),n(e,18,0,"Image name","text")},function(n,e){n(e,1,1,["standard"==o["\u0275nov"](e,2).appearance,"fill"==o["\u0275nov"](e,2).appearance,"outline"==o["\u0275nov"](e,2).appearance,"legacy"==o["\u0275nov"](e,2).appearance,o["\u0275nov"](e,2)._control.errorState,o["\u0275nov"](e,2)._canLabelFloat,o["\u0275nov"](e,2)._shouldLabelFloat(),o["\u0275nov"](e,2)._hasFloatingLabel(),o["\u0275nov"](e,2)._hideControlPlaceholder(),o["\u0275nov"](e,2)._control.disabled,o["\u0275nov"](e,2)._control.autofilled,o["\u0275nov"](e,2)._control.focused,"accent"==o["\u0275nov"](e,2).color,"warn"==o["\u0275nov"](e,2).color,o["\u0275nov"](e,2)._shouldForward("untouched"),o["\u0275nov"](e,2)._shouldForward("touched"),o["\u0275nov"](e,2)._shouldForward("pristine"),o["\u0275nov"](e,2)._shouldForward("dirty"),o["\u0275nov"](e,2)._shouldForward("valid"),o["\u0275nov"](e,2)._shouldForward("invalid"),o["\u0275nov"](e,2)._shouldForward("pending"),!o["\u0275nov"](e,2)._animationsEnabled]),n(e,12,1,[o["\u0275nov"](e,17).ngClassUntouched,o["\u0275nov"](e,17).ngClassTouched,o["\u0275nov"](e,17).ngClassPristine,o["\u0275nov"](e,17).ngClassDirty,o["\u0275nov"](e,17).ngClassValid,o["\u0275nov"](e,17).ngClassInvalid,o["\u0275nov"](e,17).ngClassPending,o["\u0275nov"](e,18)._isServer,o["\u0275nov"](e,18).id,o["\u0275nov"](e,18).placeholder,o["\u0275nov"](e,18).disabled,o["\u0275nov"](e,18).required,o["\u0275nov"](e,18).readonly&&!o["\u0275nov"](e,18)._isNativeSelect||null,o["\u0275nov"](e,18)._ariaDescribedby||null,o["\u0275nov"](e,18).errorState,o["\u0275nov"](e,18).required.toString()])})}function vR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[50,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function gR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,176,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New Docker container template"])),(n()(),o["\u0275eld"](5,0,null,null,171,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,163,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,162,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,Fx,Dx)),o["\u0275prd"](6144,null,gx,null,[kx]),o["\u0275did"](9,5423104,null,2,kx,[[2,Ar],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,Sx,null,[kx]),(n()(),o["\u0275eld"](13,0,null,null,13,"mat-step",[["label","Server type"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](15,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,3,{stepLabel:0}),(n()(),o["\u0275eld"](17,0,null,0,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](19,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_radios:1}),(n()(),o["\u0275eld"](21,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("remote computer")&&l),l},Uk,zk)),o["\u0275did"](22,4440064,[[4,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this Docker container on a remote computer"])),(n()(),o["\u0275eld"](24,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("gns3 vm")&&l),l},Uk,zk)),o["\u0275did"](25,4440064,[[4,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this Docker container on the GNS3 VM"])),(n()(),o["\u0275eld"](27,0,null,null,22,"mat-step",[["label","Docker Virtual Machine"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](29,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,5,{stepLabel:0}),(n()(),o["\u0275eld"](31,0,null,0,18,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,33).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,33).onReset()&&l),l},null,null)),o["\u0275did"](32,16384,null,0,Xm,[],null,null),o["\u0275did"](33,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](35,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](36,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](38,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,6,{_radios:1}),(n()(),o["\u0275eld"](40,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,41)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Uk,zk)),o["\u0275did"](41,4440064,[[6,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](43,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,44)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Uk,zk)),o["\u0275did"](44,4440064,[[6,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275and"](16777216,null,null,1,null,hR)),o["\u0275did"](47,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,mR)),o["\u0275did"](49,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](50,0,null,null,27,"mat-step",[["label","Container name"]],null,null,null,Ix,Tx)),o["\u0275did"](51,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,19,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](54,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,56).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,56).onReset()&&l),l},null,null)),o["\u0275did"](55,16384,null,0,Xm,[],null,null),o["\u0275did"](56,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](58,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,20,{_controlNonStatic:0}),o["\u0275qud"](335544320,21,{_controlStatic:0}),o["\u0275qud"](603979776,22,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,23,{_labelChildStatic:0}),o["\u0275qud"](603979776,24,{_placeholderChild:0}),o["\u0275qud"](603979776,25,{_errorChildren:1}),o["\u0275qud"](603979776,26,{_hintChildren:1}),o["\u0275qud"](603979776,27,{_prefixChildren:1}),o["\u0275qud"](603979776,28,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","templatename mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Container name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[20,4],[21,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,null,28,"mat-step",[["label","Network adapters"]],null,null,null,Ix,Tx)),o["\u0275did"](79,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,29,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](82,0,null,0,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,84).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,84).onReset()&&l),l},null,null)),o["\u0275did"](83,16384,null,0,Xm,[],null,null),o["\u0275did"](84,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](86,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](87,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](88,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,30,{_controlNonStatic:0}),o["\u0275qud"](335544320,31,{_controlStatic:0}),o["\u0275qud"](603979776,32,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,33,{_labelChildStatic:0}),o["\u0275qud"](603979776,34,{_placeholderChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](98,0,null,1,8,"input",[["class","networkadapter mat-input-element mat-form-field-autofill-control"],["formControlName","adapters"],["matInput",""],["placeholder","Adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,99)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,99).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,99)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,99)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,100).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,100).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,105)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,105)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,105)._onInput()&&l),l},null,null)),o["\u0275did"](99,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](100,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](102,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](104,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](105,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[30,4],[31,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](107,0,null,null,22,"mat-step",[["label","Start command"]],null,null,null,Ix,Tx)),o["\u0275did"](108,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,39,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](111,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](112,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,40,{_controlNonStatic:0}),o["\u0275qud"](335544320,41,{_controlStatic:0}),o["\u0275qud"](603979776,42,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,43,{_labelChildStatic:0}),o["\u0275qud"](603979776,44,{_placeholderChild:0}),o["\u0275qud"](603979776,45,{_errorChildren:1}),o["\u0275qud"](603979776,46,{_hintChildren:1}),o["\u0275qud"](603979776,47,{_prefixChildren:1}),o["\u0275qud"](603979776,48,{_suffixChildren:1}),(n()(),o["\u0275eld"](122,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Start command"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,123)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,123).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,123)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,123)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,128)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,128)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,128)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.start_command=t)&&l),l},null,null)),o["\u0275did"](123,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](125,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](127,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](128,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[40,4],[41,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](130,0,null,null,16,"mat-step",[["label","Console type"]],null,null,null,Ix,Tx)),o["\u0275did"](131,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,49,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](134,0,null,0,12,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,141)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,141)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,141)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275prd"](6144,null,Pb,null,[ew]),o["\u0275did"](137,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](138,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](140,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](141,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,50,{options:1}),o["\u0275qud"](603979776,51,{optionGroups:1}),o["\u0275qud"](603979776,52,{customTrigger:0}),(n()(),o["\u0275and"](16777216,null,1,1,null,vR)),o["\u0275did"](146,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](147,0,null,null,22,"mat-step",[["label","Environment"]],null,null,null,Ix,Tx)),o["\u0275did"](148,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,53,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](151,0,null,0,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](152,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,54,{_controlNonStatic:0}),o["\u0275qud"](335544320,55,{_controlStatic:0}),o["\u0275qud"](603979776,56,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,57,{_labelChildStatic:0}),o["\u0275qud"](603979776,58,{_placeholderChild:0}),o["\u0275qud"](603979776,59,{_errorChildren:1}),o["\u0275qud"](603979776,60,{_hintChildren:1}),o["\u0275qud"](603979776,61,{_prefixChildren:1}),o["\u0275qud"](603979776,62,{_suffixChildren:1}),(n()(),o["\u0275eld"](162,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,163)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,163).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,163)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,163)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,168)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,168)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,168)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.dockerTemplate.environment=t)&&l),l},null,null)),o["\u0275did"](163,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](165,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](167,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](168,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[54,4],[55,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](170,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](171,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](172,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](174,0,null,null,2,"button",[["class","add-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](175,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,9,0,!0),n(e,15,0,"Server type"),n(e,22,0,"1"),n(e,25,0,"","2"),n(e,29,0,"Docker Virtual Machine"),n(e,33,0,t.virtualMachineForm),n(e,41,0,"","1"),n(e,44,0,"2"),n(e,47,0,!t.newImageSelected),n(e,49,0,t.newImageSelected),n(e,51,0,"Container name"),n(e,56,0,t.containerNameForm),n(e,73,0,"templateName"),n(e,76,0,"Container name","text"),n(e,79,0,"Network adapters"),n(e,84,0,t.networkAdaptersForm),n(e,102,0,"adapters"),n(e,105,0,"Adapters","number"),n(e,108,0,"Start command"),n(e,125,0,t.dockerTemplate.start_command),n(e,128,0,"Start command","text"),n(e,131,0,"Console type");var l=t.dockerTemplate.console_type,o=n(e,138,0,!0);n(e,137,0,l,o),n(e,141,0,"Console type"),n(e,146,0,t.consoleTypes),n(e,148,0,"Environment"),n(e,165,0,t.dockerTemplate.environment),n(e,168,0,"text"),n(e,175,0,"primary")},function(n,e){n(e,21,0,o["\u0275nov"](e,22).checked,o["\u0275nov"](e,22).disabled,"NoopAnimations"===o["\u0275nov"](e,22)._animationMode,"primary"===o["\u0275nov"](e,22).color,"accent"===o["\u0275nov"](e,22).color,"warn"===o["\u0275nov"](e,22).color,-1,o["\u0275nov"](e,22).id),n(e,24,0,o["\u0275nov"](e,25).checked,o["\u0275nov"](e,25).disabled,"NoopAnimations"===o["\u0275nov"](e,25)._animationMode,"primary"===o["\u0275nov"](e,25).color,"accent"===o["\u0275nov"](e,25).color,"warn"===o["\u0275nov"](e,25).color,-1,o["\u0275nov"](e,25).id),n(e,31,0,o["\u0275nov"](e,35).ngClassUntouched,o["\u0275nov"](e,35).ngClassTouched,o["\u0275nov"](e,35).ngClassPristine,o["\u0275nov"](e,35).ngClassDirty,o["\u0275nov"](e,35).ngClassValid,o["\u0275nov"](e,35).ngClassInvalid,o["\u0275nov"](e,35).ngClassPending),n(e,40,0,o["\u0275nov"](e,41).checked,o["\u0275nov"](e,41).disabled,"NoopAnimations"===o["\u0275nov"](e,41)._animationMode,"primary"===o["\u0275nov"](e,41).color,"accent"===o["\u0275nov"](e,41).color,"warn"===o["\u0275nov"](e,41).color,-1,o["\u0275nov"](e,41).id),n(e,43,0,o["\u0275nov"](e,44).checked,o["\u0275nov"](e,44).disabled,"NoopAnimations"===o["\u0275nov"](e,44)._animationMode,"primary"===o["\u0275nov"](e,44).color,"accent"===o["\u0275nov"](e,44).color,"warn"===o["\u0275nov"](e,44).color,-1,o["\u0275nov"](e,44).id),n(e,54,0,o["\u0275nov"](e,58).ngClassUntouched,o["\u0275nov"](e,58).ngClassTouched,o["\u0275nov"](e,58).ngClassPristine,o["\u0275nov"](e,58).ngClassDirty,o["\u0275nov"](e,58).ngClassValid,o["\u0275nov"](e,58).ngClassInvalid,o["\u0275nov"](e,58).ngClassPending),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,82,0,o["\u0275nov"](e,86).ngClassUntouched,o["\u0275nov"](e,86).ngClassTouched,o["\u0275nov"](e,86).ngClassPristine,o["\u0275nov"](e,86).ngClassDirty,o["\u0275nov"](e,86).ngClassValid,o["\u0275nov"](e,86).ngClassInvalid,o["\u0275nov"](e,86).ngClassPending),n(e,87,1,["standard"==o["\u0275nov"](e,88).appearance,"fill"==o["\u0275nov"](e,88).appearance,"outline"==o["\u0275nov"](e,88).appearance,"legacy"==o["\u0275nov"](e,88).appearance,o["\u0275nov"](e,88)._control.errorState,o["\u0275nov"](e,88)._canLabelFloat,o["\u0275nov"](e,88)._shouldLabelFloat(),o["\u0275nov"](e,88)._hasFloatingLabel(),o["\u0275nov"](e,88)._hideControlPlaceholder(),o["\u0275nov"](e,88)._control.disabled,o["\u0275nov"](e,88)._control.autofilled,o["\u0275nov"](e,88)._control.focused,"accent"==o["\u0275nov"](e,88).color,"warn"==o["\u0275nov"](e,88).color,o["\u0275nov"](e,88)._shouldForward("untouched"),o["\u0275nov"](e,88)._shouldForward("touched"),o["\u0275nov"](e,88)._shouldForward("pristine"),o["\u0275nov"](e,88)._shouldForward("dirty"),o["\u0275nov"](e,88)._shouldForward("valid"),o["\u0275nov"](e,88)._shouldForward("invalid"),o["\u0275nov"](e,88)._shouldForward("pending"),!o["\u0275nov"](e,88)._animationsEnabled]),n(e,98,1,[o["\u0275nov"](e,104).ngClassUntouched,o["\u0275nov"](e,104).ngClassTouched,o["\u0275nov"](e,104).ngClassPristine,o["\u0275nov"](e,104).ngClassDirty,o["\u0275nov"](e,104).ngClassValid,o["\u0275nov"](e,104).ngClassInvalid,o["\u0275nov"](e,104).ngClassPending,o["\u0275nov"](e,105)._isServer,o["\u0275nov"](e,105).id,o["\u0275nov"](e,105).placeholder,o["\u0275nov"](e,105).disabled,o["\u0275nov"](e,105).required,o["\u0275nov"](e,105).readonly&&!o["\u0275nov"](e,105)._isNativeSelect||null,o["\u0275nov"](e,105)._ariaDescribedby||null,o["\u0275nov"](e,105).errorState,o["\u0275nov"](e,105).required.toString()]),n(e,111,1,["standard"==o["\u0275nov"](e,112).appearance,"fill"==o["\u0275nov"](e,112).appearance,"outline"==o["\u0275nov"](e,112).appearance,"legacy"==o["\u0275nov"](e,112).appearance,o["\u0275nov"](e,112)._control.errorState,o["\u0275nov"](e,112)._canLabelFloat,o["\u0275nov"](e,112)._shouldLabelFloat(),o["\u0275nov"](e,112)._hasFloatingLabel(),o["\u0275nov"](e,112)._hideControlPlaceholder(),o["\u0275nov"](e,112)._control.disabled,o["\u0275nov"](e,112)._control.autofilled,o["\u0275nov"](e,112)._control.focused,"accent"==o["\u0275nov"](e,112).color,"warn"==o["\u0275nov"](e,112).color,o["\u0275nov"](e,112)._shouldForward("untouched"),o["\u0275nov"](e,112)._shouldForward("touched"),o["\u0275nov"](e,112)._shouldForward("pristine"),o["\u0275nov"](e,112)._shouldForward("dirty"),o["\u0275nov"](e,112)._shouldForward("valid"),o["\u0275nov"](e,112)._shouldForward("invalid"),o["\u0275nov"](e,112)._shouldForward("pending"),!o["\u0275nov"](e,112)._animationsEnabled]),n(e,122,1,[o["\u0275nov"](e,127).ngClassUntouched,o["\u0275nov"](e,127).ngClassTouched,o["\u0275nov"](e,127).ngClassPristine,o["\u0275nov"](e,127).ngClassDirty,o["\u0275nov"](e,127).ngClassValid,o["\u0275nov"](e,127).ngClassInvalid,o["\u0275nov"](e,127).ngClassPending,o["\u0275nov"](e,128)._isServer,o["\u0275nov"](e,128).id,o["\u0275nov"](e,128).placeholder,o["\u0275nov"](e,128).disabled,o["\u0275nov"](e,128).required,o["\u0275nov"](e,128).readonly&&!o["\u0275nov"](e,128)._isNativeSelect||null,o["\u0275nov"](e,128)._ariaDescribedby||null,o["\u0275nov"](e,128).errorState,o["\u0275nov"](e,128).required.toString()]),n(e,134,1,[o["\u0275nov"](e,140).ngClassUntouched,o["\u0275nov"](e,140).ngClassTouched,o["\u0275nov"](e,140).ngClassPristine,o["\u0275nov"](e,140).ngClassDirty,o["\u0275nov"](e,140).ngClassValid,o["\u0275nov"](e,140).ngClassInvalid,o["\u0275nov"](e,140).ngClassPending,o["\u0275nov"](e,141).id,o["\u0275nov"](e,141).tabIndex,o["\u0275nov"](e,141)._getAriaLabel(),o["\u0275nov"](e,141)._getAriaLabelledby(),o["\u0275nov"](e,141).required.toString(),o["\u0275nov"](e,141).disabled.toString(),o["\u0275nov"](e,141).errorState,o["\u0275nov"](e,141).panelOpen?o["\u0275nov"](e,141)._optionIds:null,o["\u0275nov"](e,141).multiple,o["\u0275nov"](e,141)._ariaDescribedby||null,o["\u0275nov"](e,141)._getAriaActiveDescendant(),o["\u0275nov"](e,141).disabled,o["\u0275nov"](e,141).errorState,o["\u0275nov"](e,141).required,o["\u0275nov"](e,141).empty]),n(e,151,1,["standard"==o["\u0275nov"](e,152).appearance,"fill"==o["\u0275nov"](e,152).appearance,"outline"==o["\u0275nov"](e,152).appearance,"legacy"==o["\u0275nov"](e,152).appearance,o["\u0275nov"](e,152)._control.errorState,o["\u0275nov"](e,152)._canLabelFloat,o["\u0275nov"](e,152)._shouldLabelFloat(),o["\u0275nov"](e,152)._hasFloatingLabel(),o["\u0275nov"](e,152)._hideControlPlaceholder(),o["\u0275nov"](e,152)._control.disabled,o["\u0275nov"](e,152)._control.autofilled,o["\u0275nov"](e,152)._control.focused,"accent"==o["\u0275nov"](e,152).color,"warn"==o["\u0275nov"](e,152).color,o["\u0275nov"](e,152)._shouldForward("untouched"),o["\u0275nov"](e,152)._shouldForward("touched"),o["\u0275nov"](e,152)._shouldForward("pristine"),o["\u0275nov"](e,152)._shouldForward("dirty"),o["\u0275nov"](e,152)._shouldForward("valid"),o["\u0275nov"](e,152)._shouldForward("invalid"),o["\u0275nov"](e,152)._shouldForward("pending"),!o["\u0275nov"](e,152)._animationsEnabled]),n(e,162,1,[o["\u0275nov"](e,167).ngClassUntouched,o["\u0275nov"](e,167).ngClassTouched,o["\u0275nov"](e,167).ngClassPristine,o["\u0275nov"](e,167).ngClassDirty,o["\u0275nov"](e,167).ngClassValid,o["\u0275nov"](e,167).ngClassInvalid,o["\u0275nov"](e,167).ngClassPending,o["\u0275nov"](e,168)._isServer,o["\u0275nov"](e,168).id,o["\u0275nov"](e,168).placeholder,o["\u0275nov"](e,168).disabled,o["\u0275nov"](e,168).required,o["\u0275nov"](e,168).readonly&&!o["\u0275nov"](e,168)._isNativeSelect||null,o["\u0275nov"](e,168)._ariaDescribedby||null,o["\u0275nov"](e,168).errorState,o["\u0275nov"](e,168).required.toString()]),n(e,171,0,o["\u0275nov"](e,172).disabled||null,"NoopAnimations"===o["\u0275nov"](e,172)._animationMode),n(e,174,0,o["\u0275nov"](e,175).disabled||null,"NoopAnimations"===o["\u0275nov"](e,175)._animationMode)})}function bR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-docker-template",[],null,null,null,gR,pR)),o["\u0275did"](1,114688,null,0,cR,[bt,Uh,qT,vc,Rl,rv,Hy,KT],null,null)],function(n,e){n(e,1,0)},null)}var _R=o["\u0275ccf"]("app-add-docker-template",cR,bR,{},{},[]),yR=function(){function n(n){this.httpServer=n}return n.prototype.getTemplates=function(n){return this.httpServer.get(n,"/templates")},n.prototype.getTemplate=function(n,e){return this.httpServer.get(n,"/templates/"+e)},n.prototype.getImages=function(n){return this.httpServer.get(n,"/compute/iou/images")},n.prototype.addTemplate=function(n,e){return this.httpServer.post(n,"/templates",e)},n.prototype.saveTemplate=function(n,e){return this.httpServer.put(n,"/templates/"+e.template_id,e)},n}(),wR=function(){function n(n,e,t,l){this.route=n,this.serverService=e,this.iouService=t,this.router=l,this.iouTemplates=[]}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getTemplates()})},n.prototype.getTemplates=function(){var n=this;this.iouService.getTemplates(this.server).subscribe(function(e){n.iouTemplates=e.filter(function(n){return"iou"===n.template_type&&!n.builtin})})},n.prototype.deleteTemplate=function(n){this.deleteComponent.deleteItem(n.name,n.template_id)},n.prototype.onDeleteEvent=function(){this.getTemplates()},n.prototype.copyTemplate=function(n){this.router.navigate(["/server",this.server.id,"preferences","iou","templates",n.template_id,"copy"])},n}(),CR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function xR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Back"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences"))},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function SR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"button",[["class","top-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).onClick()&&l),l},pu,cu)),o["\u0275did"](1,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add IOU device template"]))],function(n,e){n(e,1,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences/iou/addtemplate")),n(e,2,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode)})}function kR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-empty-templates-list",[],null,null,null,Ey,ky)),o["\u0275did"](1,49152,null,0,Sy,[],null,null)],null,null)}function ER(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,34,"div",[["class","list-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,6,"mat-list-item",[["class","template-name mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,2).onClick()&&l),l},vb,mb)),o["\u0275did"](2,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](3,1228800,null,3,ob,[o.ElementRef,o.ChangeDetectorRef,[2,tb],[2,lb]],null,null),o["\u0275qud"](603979776,2,{_lines:1}),o["\u0275qud"](603979776,3,{_avatar:0}),o["\u0275qud"](603979776,4,{_icon:0}),(n()(),o["\u0275ted"](7,2,["",""])),(n()(),o["\u0275eld"](8,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","menu-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,10)._handleClick(t)&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](10,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](11,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](12,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["more_vert"])),(n()(),o["\u0275eld"](14,0,null,null,20,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](15,1294336,[["menu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],null,null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](21,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,22)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,22)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](22,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](24,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](26,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"])),(n()(),o["\u0275eld"](28,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,29)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,29)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.copyTemplate(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](29,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](30,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](31,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["content_copy"])),(n()(),o["\u0275eld"](33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy"]))],function(n,e){n(e,2,0,o["\u0275inlineInterpolate"](1,"",e.context.$implicit.template_id,"")),n(e,10,0,o["\u0275nov"](e,15)),n(e,12,0),n(e,15,0),n(e,24,0),n(e,31,0)},function(n,e){n(e,1,0,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon,o["\u0275nov"](e,3)._avatar||o["\u0275nov"](e,3)._icon),n(e,7,0,e.context.$implicit.name),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode,o["\u0275nov"](e,10).menuOpen||null),n(e,11,0,o["\u0275nov"](e,12).inline,"primary"!==o["\u0275nov"](e,12).color&&"accent"!==o["\u0275nov"](e,12).color&&"warn"!==o["\u0275nov"](e,12).color),n(e,21,0,o["\u0275nov"](e,22).role,o["\u0275nov"](e,22)._highlighted,o["\u0275nov"](e,22)._triggersSubmenu,o["\u0275nov"](e,22)._getTabIndex(),o["\u0275nov"](e,22).disabled.toString(),o["\u0275nov"](e,22).disabled||null),n(e,23,0,o["\u0275nov"](e,24).inline,"primary"!==o["\u0275nov"](e,24).color&&"accent"!==o["\u0275nov"](e,24).color&&"warn"!==o["\u0275nov"](e,24).color),n(e,28,0,o["\u0275nov"](e,29).role,o["\u0275nov"](e,29)._highlighted,o["\u0275nov"](e,29)._triggersSubmenu,o["\u0275nov"](e,29)._getTabIndex(),o["\u0275nov"](e,29).disabled.toString(),o["\u0275nov"](e,29).disabled||null),n(e,30,0,o["\u0275nov"](e,31).inline,"primary"!==o["\u0275nov"](e,31).color&&"accent"!==o["\u0275nov"](e,31).color&&"warn"!==o["\u0275nov"](e,31).color)})}function TR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,pb,cb)),o["\u0275did"](1,704512,null,0,tb,[],null,null),(n()(),o["\u0275and"](16777216,null,0,1,null,ER)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.iouTemplates)},null)}function RR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","listcontainer mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,TR)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.server)},null)}function IR(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{deleteComponent:0}),(n()(),o["\u0275eld"](1,0,null,null,12,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,7,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,6,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOU devices templates"])),(n()(),o["\u0275and"](16777216,null,null,1,null,xR)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,SR)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,kR)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,RR)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](14,0,null,null,1,"app-delete-template",[],null,[[null,"deleteEvent"]],function(n,e,t){var l=!0;return"deleteEvent"===e&&(l=!1!==n.component.onDeleteEvent()&&l),l},Oy,Dy)),o["\u0275did"](15,49152,[[1,4],["deleteComponent",4]],0,Iy,[Ty,yv,vc],{server:[0,"server"]},{deleteEvent:"deleteEvent"})],function(n,e){var t=e.component;n(e,7,0,t.server),n(e,9,0,t.server),n(e,11,0,!t.iouTemplates.length),n(e,13,0,t.iouTemplates.length),n(e,15,0,t.server)},null)}function DR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-iou-templates",[],null,null,null,IR,CR)),o["\u0275did"](1,114688,null,0,wR,[bt,Uh,yR,Rl],null,null)],function(n,e){n(e,1,0)},null)}var OR=o["\u0275ccf"]("app-iou-templates",wR,DR,{},{},[]),FR=function(){function n(){}return n.prototype.getConsoleTypes=function(){return["telnet","none"]},n.prototype.getCategories=function(){return[["Default","guest"],["Routers","router"],["Switches","switch"],["End devices","end_device"],["Security devices","security_device"]]},n}(),NR=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.configurationService=o,this.router=r,this.formBuilder=i,this.isSymbolSelectionOpened=!1,this.defaultSettings=!0,this.consoleTypes=[],this.consoleResolutions=[],this.categories=[],this.generalSettingsForm=this.formBuilder.group({templateName:new Vm("",sm.required),defaultName:new Vm("",sm.required),symbol:new Vm("",sm.required),path:new Vm("",sm.required),initialConfig:new Vm("",sm.required)}),this.networkForm=this.formBuilder.group({ethernetAdapters:new Vm("",sm.required),serialAdapters:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.getConfiguration(),n.iouService.getTemplate(n.server,t).subscribe(function(e){n.iouTemplate=e})})},n.prototype.getConfiguration=function(){this.consoleTypes=this.configurationService.getConsoleTypes(),this.categories=this.configurationService.getCategories()},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.onSave=function(){var n=this;this.generalSettingsForm.invalid||this.networkForm.invalid?this.toasterService.error("Fill all required fields"):this.iouService.saveTemplate(this.server,this.iouTemplate).subscribe(function(){n.toasterService.success("Changes saved")})},n.prototype.uploadImageFile=function(n){this.iouTemplate.path=n.target.files[0].name},n.prototype.chooseSymbol=function(){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened},n.prototype.symbolChanged=function(n){this.isSymbolSelectionOpened=!this.isSymbolSelectionOpened,this.iouTemplate.symbol=n},n}(),MR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function AR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[39,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function qR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[78,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function PR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,81,{_controlNonStatic:0}),o["\u0275qud"](335544320,82,{_controlStatic:0}),o["\u0275qud"](603979776,83,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,84,{_labelChildStatic:0}),o["\u0275qud"](603979776,85,{_placeholderChild:0}),o["\u0275qud"](603979776,86,{_errorChildren:1}),o["\u0275qud"](603979776,87,{_hintChildren:1}),o["\u0275qud"](603979776,88,{_prefixChildren:1}),o["\u0275qud"](603979776,89,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","RAM size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.ram=t)&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](13,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](15,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](17,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](18,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[81,4],[82,4]],Pb,null,[d_])],function(n,e){n(e,15,0,e.component.iouTemplate.ram),n(e,18,0,"RAM size","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,17).ngClassUntouched,o["\u0275nov"](e,17).ngClassTouched,o["\u0275nov"](e,17).ngClassPristine,o["\u0275nov"](e,17).ngClassDirty,o["\u0275nov"](e,17).ngClassValid,o["\u0275nov"](e,17).ngClassInvalid,o["\u0275nov"](e,17).ngClassPending,o["\u0275nov"](e,18)._isServer,o["\u0275nov"](e,18).id,o["\u0275nov"](e,18).placeholder,o["\u0275nov"](e,18).disabled,o["\u0275nov"](e,18).required,o["\u0275nov"](e,18).readonly&&!o["\u0275nov"](e,18)._isNativeSelect||null,o["\u0275nov"](e,18)._ariaDescribedby||null,o["\u0275nov"](e,18).errorState,o["\u0275nov"](e,18).required.toString()])})}function jR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,90,{_controlNonStatic:0}),o["\u0275qud"](335544320,91,{_controlStatic:0}),o["\u0275qud"](603979776,92,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,93,{_labelChildStatic:0}),o["\u0275qud"](603979776,94,{_placeholderChild:0}),o["\u0275qud"](603979776,95,{_errorChildren:1}),o["\u0275qud"](603979776,96,{_hintChildren:1}),o["\u0275qud"](603979776,97,{_prefixChildren:1}),o["\u0275qud"](603979776,98,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","NVRAM size"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,13).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,13).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.nvram=t)&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](13,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](15,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](17,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](18,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[90,4],[91,4]],Pb,null,[d_])],function(n,e){n(e,15,0,e.component.iouTemplate.nvram),n(e,18,0,"NVRAM size","number")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,17).ngClassUntouched,o["\u0275nov"](e,17).ngClassTouched,o["\u0275nov"](e,17).ngClassPristine,o["\u0275nov"](e,17).ngClassDirty,o["\u0275nov"](e,17).ngClassValid,o["\u0275nov"](e,17).ngClassInvalid,o["\u0275nov"](e,17).ngClassPending,o["\u0275nov"](e,18)._isServer,o["\u0275nov"](e,18).id,o["\u0275nov"](e,18).placeholder,o["\u0275nov"](e,18).disabled,o["\u0275nov"](e,18).required,o["\u0275nov"](e,18).readonly&&!o["\u0275nov"](e,18)._isNativeSelect||null,o["\u0275nov"](e,18)._ariaDescribedby||null,o["\u0275nov"](e,18).errorState,o["\u0275nov"](e,18).required.toString()])})}function LR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,313,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,305,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),o["\u0275did"](2,1720320,null,1,Wg,[],null,null),o["\u0275qud"](603979776,1,{_headers:1}),o["\u0275prd"](2048,null,Lg,null,[Wg]),(n()(),o["\u0275eld"](5,16777216,null,null,215,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](6,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,2,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,10)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,10)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,10)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](10,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](11,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](12,{value:0,params:1}),(n()(),o["\u0275eld"](13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](14,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" General settings "])),(n()(),o["\u0275eld"](16,0,null,1,154,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,18).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,18).onReset()&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Xm,[],null,null),o["\u0275did"](18,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](20,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](21,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](22,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,3,{_controlNonStatic:0}),o["\u0275qud"](335544320,4,{_controlStatic:0}),o["\u0275qud"](603979776,5,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,6,{_labelChildStatic:0}),o["\u0275qud"](603979776,7,{_placeholderChild:0}),o["\u0275qud"](603979776,8,{_errorChildren:1}),o["\u0275qud"](603979776,9,{_hintChildren:1}),o["\u0275qud"](603979776,10,{_prefixChildren:1}),o["\u0275qud"](603979776,11,{_suffixChildren:1}),(n()(),o["\u0275eld"](32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Template name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,33)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,33).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,33)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,38)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,38)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.name=t)&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](35,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](37,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](38,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[3,4],[4,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](41,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,12,{_controlNonStatic:0}),o["\u0275qud"](335544320,13,{_controlStatic:0}),o["\u0275qud"](603979776,14,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,15,{_labelChildStatic:0}),o["\u0275qud"](603979776,16,{_placeholderChild:0}),o["\u0275qud"](603979776,17,{_errorChildren:1}),o["\u0275qud"](603979776,18,{_hintChildren:1}),o["\u0275qud"](603979776,19,{_prefixChildren:1}),o["\u0275qud"](603979776,20,{_suffixChildren:1}),(n()(),o["\u0275eld"](51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","defaultName"],["matInput",""],["placeholder","Default name format"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,52)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,52).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,52)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,57)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,57)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.default_name_format=t)&&l),l},null,null)),o["\u0275did"](52,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](54,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](56,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](57,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[12,4],[13,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](59,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](60,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,21,{_controlNonStatic:0}),o["\u0275qud"](335544320,22,{_controlStatic:0}),o["\u0275qud"](603979776,23,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,24,{_labelChildStatic:0}),o["\u0275qud"](603979776,25,{_placeholderChild:0}),o["\u0275qud"](603979776,26,{_errorChildren:1}),o["\u0275qud"](603979776,27,{_hintChildren:1}),o["\u0275qud"](603979776,28,{_prefixChildren:1}),o["\u0275qud"](603979776,29,{_suffixChildren:1}),(n()(),o["\u0275eld"](70,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","symbol"],["matInput",""],["placeholder","Symbol"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,71)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,71).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,71)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,76)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,76)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.symbol=t)&&l),l},null,null)),o["\u0275did"](71,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](73,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](75,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](76,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[21,4],[22,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](78,0,null,null,2,"button",[["class","symbolSelectionButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.chooseSymbol()&&l),l},pu,cu)),o["\u0275did"](79,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Choose symbol"])),(n()(),o["\u0275eld"](81,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](82,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](83,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](84,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,30,{_controlNonStatic:0}),o["\u0275qud"](335544320,31,{_controlStatic:0}),o["\u0275qud"](603979776,32,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,33,{_labelChildStatic:0}),o["\u0275qud"](603979776,34,{_placeholderChild:0}),o["\u0275qud"](603979776,35,{_errorChildren:1}),o["\u0275qud"](603979776,36,{_hintChildren:1}),o["\u0275qud"](603979776,37,{_prefixChildren:1}),o["\u0275qud"](603979776,38,{_suffixChildren:1}),(n()(),o["\u0275eld"](94,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Category"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,100)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,100)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,100)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.category=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](96,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](97,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](100,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,39,{options:1}),o["\u0275qud"](603979776,40,{optionGroups:1}),o["\u0275qud"](603979776,41,{customTrigger:0}),o["\u0275prd"](2048,[[30,4],[31,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,AR)),o["\u0275did"](106,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](107,0,[["file",1]],null,2,"input",[["accept",".bin"],["class","nonvisible"],["ngDefaultControl",""],["type","file"]],null,[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,109)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,109).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,109)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==r.uploadImageFile(t)&&l),l},null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](109,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),(n()(),o["\u0275eld"](110,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,107).click()&&l),l},pu,cu)),o["\u0275did"](111,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](113,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](114,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,42,{_controlNonStatic:0}),o["\u0275qud"](335544320,43,{_controlStatic:0}),o["\u0275qud"](603979776,44,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,45,{_labelChildStatic:0}),o["\u0275qud"](603979776,46,{_placeholderChild:0}),o["\u0275qud"](603979776,47,{_errorChildren:1}),o["\u0275qud"](603979776,48,{_hintChildren:1}),o["\u0275qud"](603979776,49,{_prefixChildren:1}),o["\u0275qud"](603979776,50,{_suffixChildren:1}),(n()(),o["\u0275eld"](124,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","IOU image path"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,125)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,125).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,125)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,125)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,130)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,130)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,130)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.path=t)&&l),l},null,null)),o["\u0275did"](125,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](127,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](129,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](130,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[42,4],[43,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](132,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](133,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,51,{_controlNonStatic:0}),o["\u0275qud"](335544320,52,{_controlStatic:0}),o["\u0275qud"](603979776,53,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,54,{_labelChildStatic:0}),o["\u0275qud"](603979776,55,{_placeholderChild:0}),o["\u0275qud"](603979776,56,{_errorChildren:1}),o["\u0275qud"](603979776,57,{_hintChildren:1}),o["\u0275qud"](603979776,58,{_prefixChildren:1}),o["\u0275qud"](603979776,59,{_suffixChildren:1}),(n()(),o["\u0275eld"](143,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","initialConfig"],["matInput",""],["placeholder","Startup config"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,144)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,144).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,144)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,144)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,149)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,149)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,149)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.startup_config=t)&&l),l},null,null)),o["\u0275did"](144,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](146,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](148,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](149,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[51,4],[52,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](151,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](152,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,60,{_controlNonStatic:0}),o["\u0275qud"](335544320,61,{_controlStatic:0}),o["\u0275qud"](603979776,62,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,63,{_labelChildStatic:0}),o["\u0275qud"](603979776,64,{_placeholderChild:0}),o["\u0275qud"](603979776,65,{_errorChildren:1}),o["\u0275qud"](603979776,66,{_hintChildren:1}),o["\u0275qud"](603979776,67,{_prefixChildren:1}),o["\u0275qud"](603979776,68,{_suffixChildren:1}),(n()(),o["\u0275eld"](162,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Private config"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,163)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,163).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,163)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,163)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,169)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,169)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,169)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.private_config=t)&&l),l},null,null)),o["\u0275did"](163,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](165,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](166,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](168,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](169,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[60,4],[61,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](171,0,null,1,22,"mat-form-field",[["class","select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](172,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,69,{_controlNonStatic:0}),o["\u0275qud"](335544320,70,{_controlStatic:0}),o["\u0275qud"](603979776,71,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,72,{_labelChildStatic:0}),o["\u0275qud"](603979776,73,{_placeholderChild:0}),o["\u0275qud"](603979776,74,{_errorChildren:1}),o["\u0275qud"](603979776,75,{_hintChildren:1}),o["\u0275qud"](603979776,76,{_prefixChildren:1}),o["\u0275qud"](603979776,77,{_suffixChildren:1}),(n()(),o["\u0275eld"](182,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Console type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,187)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,187)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,187)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.console_type=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](184,671744,null,0,$m,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](186,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](187,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,78,{options:1}),o["\u0275qud"](603979776,79,{optionGroups:1}),o["\u0275qud"](603979776,80,{customTrigger:0}),o["\u0275prd"](2048,[[69,4],[70,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,qR)),o["\u0275did"](193,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](194,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iouTemplate.console_auto_start=t)&&l),l},Mb,Nb)),o["\u0275did"](195,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](197,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](199,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Auto start console "])),(n()(),o["\u0275eld"](201,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](202,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.iouTemplate.l1_keepalives=t)&&l),l},Mb,Nb)),o["\u0275did"](203,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](205,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](207,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Enable layer 1 keepalive messages (non-functional) "])),(n()(),o["\u0275eld"](209,0,null,1,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](210,0,null,1,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(n,e,t){var l=!0;return"ngModelChange"===e&&(l=!1!==(n.component.defaultSettings=t)&&l),l},Mb,Nb)),o["\u0275did"](211,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](213,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](215,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Use default IOU values for memories "])),(n()(),o["\u0275and"](16777216,null,1,1,null,PR)),o["\u0275did"](218,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,jR)),o["\u0275did"](220,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](221,16777216,null,null,55,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](222,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,99,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](225,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,226)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,226)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,226)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](226,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](227,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](228,{value:0,params:1}),(n()(),o["\u0275eld"](229,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](230,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Network "])),(n()(),o["\u0275eld"](232,0,null,1,44,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,234).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,234).onReset()&&l),l},null,null)),o["\u0275did"](233,16384,null,0,Xm,[],null,null),o["\u0275did"](234,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](236,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](237,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](238,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,100,{_controlNonStatic:0}),o["\u0275qud"](335544320,101,{_controlStatic:0}),o["\u0275qud"](603979776,102,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,103,{_labelChildStatic:0}),o["\u0275qud"](603979776,104,{_placeholderChild:0}),o["\u0275qud"](603979776,105,{_errorChildren:1}),o["\u0275qud"](603979776,106,{_hintChildren:1}),o["\u0275qud"](603979776,107,{_prefixChildren:1}),o["\u0275qud"](603979776,108,{_suffixChildren:1}),(n()(),o["\u0275eld"](248,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ethernetAdapters"],["matInput",""],["placeholder","Ethernet adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,249)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,249).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,249)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,249)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,250).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,250).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,250).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,255)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,255)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,255)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.ethernet_adapters=t)&&l),l},null,null)),o["\u0275did"](249,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](250,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](252,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](254,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](255,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[100,4],[101,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](257,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](258,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,109,{_controlNonStatic:0}),o["\u0275qud"](335544320,110,{_controlStatic:0}),o["\u0275qud"](603979776,111,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,112,{_labelChildStatic:0}),o["\u0275qud"](603979776,113,{_placeholderChild:0}),o["\u0275qud"](603979776,114,{_errorChildren:1}),o["\u0275qud"](603979776,115,{_hintChildren:1}),o["\u0275qud"](603979776,116,{_prefixChildren:1}),o["\u0275qud"](603979776,117,{_suffixChildren:1}),(n()(),o["\u0275eld"](268,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","serialAdapters"],["matInput",""],["placeholder","Serial adapters"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,269)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,269).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,269)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,269)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,270).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,270).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,270).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,275)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,275)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,275)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.serial_adapters=t)&&l),l},null,null)),o["\u0275did"](269,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](270,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](272,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](274,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](275,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[109,4],[110,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](277,16777216,null,null,29,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,$g,Kg)),o["\u0275did"](278,1753088,null,1,zg,[[3,Lg],o.ChangeDetectorRef,Ls,o.ViewContainerRef,I.DOCUMENT,[2,su],[2,Bg]],null,null),o["\u0275qud"](603979776,118,{_lazyContent:0}),o["\u0275prd"](256,null,Lg,void 0,[]),(n()(),o["\u0275eld"](281,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,282)._toggle()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,282)._keydown(t)&&l),"component:@expansionHeight.start"===e&&(l=!1!==o["\u0275nov"](n,282)._animationStarted()&&l),l},Jg,Xg)),o["\u0275did"](282,180224,[[1,4]],0,Ug,[zg,o.ElementRef,Uo,o.ChangeDetectorRef,[2,Bg]],null,null),o["\u0275pod"](283,{collapsedHeight:0,expandedHeight:1}),o["\u0275pod"](284,{value:0,params:1}),(n()(),o["\u0275eld"](285,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),o["\u0275did"](286,16384,null,0,Zg,[],null,null),(n()(),o["\u0275ted"](-1,null,[" Usage "])),(n()(),o["\u0275eld"](288,0,null,1,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](289,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,119,{_controlNonStatic:0}),o["\u0275qud"](335544320,120,{_controlStatic:0}),o["\u0275qud"](603979776,121,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,122,{_labelChildStatic:0}),o["\u0275qud"](603979776,123,{_placeholderChild:0}),o["\u0275qud"](603979776,124,{_errorChildren:1}),o["\u0275qud"](603979776,125,{_hintChildren:1}),o["\u0275qud"](603979776,126,{_prefixChildren:1}),o["\u0275qud"](603979776,127,{_suffixChildren:1}),(n()(),o["\u0275eld"](299,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,300)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,300).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,300)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,300)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,305)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,305)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,305)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.usage=t)&&l),l},null,null)),o["\u0275did"](300,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](302,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](304,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](305,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[119,4],[120,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](307,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](308,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](309,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](311,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onSave()&&l),l},pu,cu)),o["\u0275did"](312,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save"]))],function(n,e){var t=e.component;n(e,18,0,t.generalSettingsForm),n(e,35,0,"templateName",t.iouTemplate.name),n(e,38,0,"Template name","text"),n(e,54,0,"defaultName",t.iouTemplate.default_name_format),n(e,57,0,"Default name format","text"),n(e,73,0,"symbol",t.iouTemplate.symbol),n(e,76,0,"Symbol","text");var l=t.iouTemplate.category,o=n(e,97,0,!0);n(e,96,0,l,o),n(e,100,0,"Category"),n(e,106,0,t.categories),n(e,111,0,"primary"),n(e,127,0,"path",t.iouTemplate.path),n(e,130,0,"IOU image path","text"),n(e,146,0,"initialConfig",t.iouTemplate.startup_config),n(e,149,0,"Startup config","text");var r=t.iouTemplate.private_config,i=n(e,166,0,!0);n(e,165,0,r,i),n(e,169,0,"Private config","text"),n(e,184,0,t.iouTemplate.console_type),n(e,187,0,"Console type"),n(e,193,0,t.consoleTypes),n(e,197,0,t.iouTemplate.console_auto_start),n(e,205,0,t.iouTemplate.l1_keepalives),n(e,213,0,t.defaultSettings),n(e,218,0,!t.defaultSettings),n(e,220,0,!t.defaultSettings),n(e,234,0,t.networkForm),n(e,252,0,"ethernetAdapters",t.iouTemplate.ethernet_adapters),n(e,255,0,"Ethernet adapters","number"),n(e,272,0,"serialAdapters",t.iouTemplate.serial_adapters),n(e,275,0,"Serial adapters","number"),n(e,302,0,t.iouTemplate.usage),n(e,305,0,"text"),n(e,312,0,"primary")},function(n,e){n(e,5,0,o["\u0275nov"](e,6).expanded,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode,o["\u0275nov"](e,6)._hasSpacing());var t=o["\u0275nov"](e,10).panel._headerId,l=o["\u0275nov"](e,10).disabled?-1:0,r=o["\u0275nov"](e,10)._getPanelId(),i=o["\u0275nov"](e,10)._isExpanded(),a=o["\u0275nov"](e,10).panel.disabled,u=o["\u0275nov"](e,10)._isExpanded(),s="after"===o["\u0275nov"](e,10)._getTogglePosition(),d="before"===o["\u0275nov"](e,10)._getTogglePosition(),c=o["\u0275nov"](e,10)._animationsDisabled,p=n(e,12,0,o["\u0275nov"](e,10)._getExpandedState(),n(e,11,0,o["\u0275nov"](e,10).collapsedHeight,o["\u0275nov"](e,10).expandedHeight));n(e,9,0,t,l,r,i,a,u,s,d,c,p),n(e,16,0,o["\u0275nov"](e,20).ngClassUntouched,o["\u0275nov"](e,20).ngClassTouched,o["\u0275nov"](e,20).ngClassPristine,o["\u0275nov"](e,20).ngClassDirty,o["\u0275nov"](e,20).ngClassValid,o["\u0275nov"](e,20).ngClassInvalid,o["\u0275nov"](e,20).ngClassPending),n(e,21,1,["standard"==o["\u0275nov"](e,22).appearance,"fill"==o["\u0275nov"](e,22).appearance,"outline"==o["\u0275nov"](e,22).appearance,"legacy"==o["\u0275nov"](e,22).appearance,o["\u0275nov"](e,22)._control.errorState,o["\u0275nov"](e,22)._canLabelFloat,o["\u0275nov"](e,22)._shouldLabelFloat(),o["\u0275nov"](e,22)._hasFloatingLabel(),o["\u0275nov"](e,22)._hideControlPlaceholder(),o["\u0275nov"](e,22)._control.disabled,o["\u0275nov"](e,22)._control.autofilled,o["\u0275nov"](e,22)._control.focused,"accent"==o["\u0275nov"](e,22).color,"warn"==o["\u0275nov"](e,22).color,o["\u0275nov"](e,22)._shouldForward("untouched"),o["\u0275nov"](e,22)._shouldForward("touched"),o["\u0275nov"](e,22)._shouldForward("pristine"),o["\u0275nov"](e,22)._shouldForward("dirty"),o["\u0275nov"](e,22)._shouldForward("valid"),o["\u0275nov"](e,22)._shouldForward("invalid"),o["\u0275nov"](e,22)._shouldForward("pending"),!o["\u0275nov"](e,22)._animationsEnabled]),n(e,32,1,[o["\u0275nov"](e,37).ngClassUntouched,o["\u0275nov"](e,37).ngClassTouched,o["\u0275nov"](e,37).ngClassPristine,o["\u0275nov"](e,37).ngClassDirty,o["\u0275nov"](e,37).ngClassValid,o["\u0275nov"](e,37).ngClassInvalid,o["\u0275nov"](e,37).ngClassPending,o["\u0275nov"](e,38)._isServer,o["\u0275nov"](e,38).id,o["\u0275nov"](e,38).placeholder,o["\u0275nov"](e,38).disabled,o["\u0275nov"](e,38).required,o["\u0275nov"](e,38).readonly&&!o["\u0275nov"](e,38)._isNativeSelect||null,o["\u0275nov"](e,38)._ariaDescribedby||null,o["\u0275nov"](e,38).errorState,o["\u0275nov"](e,38).required.toString()]),n(e,40,1,["standard"==o["\u0275nov"](e,41).appearance,"fill"==o["\u0275nov"](e,41).appearance,"outline"==o["\u0275nov"](e,41).appearance,"legacy"==o["\u0275nov"](e,41).appearance,o["\u0275nov"](e,41)._control.errorState,o["\u0275nov"](e,41)._canLabelFloat,o["\u0275nov"](e,41)._shouldLabelFloat(),o["\u0275nov"](e,41)._hasFloatingLabel(),o["\u0275nov"](e,41)._hideControlPlaceholder(),o["\u0275nov"](e,41)._control.disabled,o["\u0275nov"](e,41)._control.autofilled,o["\u0275nov"](e,41)._control.focused,"accent"==o["\u0275nov"](e,41).color,"warn"==o["\u0275nov"](e,41).color,o["\u0275nov"](e,41)._shouldForward("untouched"),o["\u0275nov"](e,41)._shouldForward("touched"),o["\u0275nov"](e,41)._shouldForward("pristine"),o["\u0275nov"](e,41)._shouldForward("dirty"),o["\u0275nov"](e,41)._shouldForward("valid"),o["\u0275nov"](e,41)._shouldForward("invalid"),o["\u0275nov"](e,41)._shouldForward("pending"),!o["\u0275nov"](e,41)._animationsEnabled]),n(e,51,1,[o["\u0275nov"](e,56).ngClassUntouched,o["\u0275nov"](e,56).ngClassTouched,o["\u0275nov"](e,56).ngClassPristine,o["\u0275nov"](e,56).ngClassDirty,o["\u0275nov"](e,56).ngClassValid,o["\u0275nov"](e,56).ngClassInvalid,o["\u0275nov"](e,56).ngClassPending,o["\u0275nov"](e,57)._isServer,o["\u0275nov"](e,57).id,o["\u0275nov"](e,57).placeholder,o["\u0275nov"](e,57).disabled,o["\u0275nov"](e,57).required,o["\u0275nov"](e,57).readonly&&!o["\u0275nov"](e,57)._isNativeSelect||null,o["\u0275nov"](e,57)._ariaDescribedby||null,o["\u0275nov"](e,57).errorState,o["\u0275nov"](e,57).required.toString()]),n(e,59,1,["standard"==o["\u0275nov"](e,60).appearance,"fill"==o["\u0275nov"](e,60).appearance,"outline"==o["\u0275nov"](e,60).appearance,"legacy"==o["\u0275nov"](e,60).appearance,o["\u0275nov"](e,60)._control.errorState,o["\u0275nov"](e,60)._canLabelFloat,o["\u0275nov"](e,60)._shouldLabelFloat(),o["\u0275nov"](e,60)._hasFloatingLabel(),o["\u0275nov"](e,60)._hideControlPlaceholder(),o["\u0275nov"](e,60)._control.disabled,o["\u0275nov"](e,60)._control.autofilled,o["\u0275nov"](e,60)._control.focused,"accent"==o["\u0275nov"](e,60).color,"warn"==o["\u0275nov"](e,60).color,o["\u0275nov"](e,60)._shouldForward("untouched"),o["\u0275nov"](e,60)._shouldForward("touched"),o["\u0275nov"](e,60)._shouldForward("pristine"),o["\u0275nov"](e,60)._shouldForward("dirty"),o["\u0275nov"](e,60)._shouldForward("valid"),o["\u0275nov"](e,60)._shouldForward("invalid"),o["\u0275nov"](e,60)._shouldForward("pending"),!o["\u0275nov"](e,60)._animationsEnabled]),n(e,70,1,[o["\u0275nov"](e,75).ngClassUntouched,o["\u0275nov"](e,75).ngClassTouched,o["\u0275nov"](e,75).ngClassPristine,o["\u0275nov"](e,75).ngClassDirty,o["\u0275nov"](e,75).ngClassValid,o["\u0275nov"](e,75).ngClassInvalid,o["\u0275nov"](e,75).ngClassPending,o["\u0275nov"](e,76)._isServer,o["\u0275nov"](e,76).id,o["\u0275nov"](e,76).placeholder,o["\u0275nov"](e,76).disabled,o["\u0275nov"](e,76).required,o["\u0275nov"](e,76).readonly&&!o["\u0275nov"](e,76)._isNativeSelect||null,o["\u0275nov"](e,76)._ariaDescribedby||null,o["\u0275nov"](e,76).errorState,o["\u0275nov"](e,76).required.toString()]),n(e,78,0,o["\u0275nov"](e,79).disabled||null,"NoopAnimations"===o["\u0275nov"](e,79)._animationMode),n(e,83,1,["standard"==o["\u0275nov"](e,84).appearance,"fill"==o["\u0275nov"](e,84).appearance,"outline"==o["\u0275nov"](e,84).appearance,"legacy"==o["\u0275nov"](e,84).appearance,o["\u0275nov"](e,84)._control.errorState,o["\u0275nov"](e,84)._canLabelFloat,o["\u0275nov"](e,84)._shouldLabelFloat(),o["\u0275nov"](e,84)._hasFloatingLabel(),o["\u0275nov"](e,84)._hideControlPlaceholder(),o["\u0275nov"](e,84)._control.disabled,o["\u0275nov"](e,84)._control.autofilled,o["\u0275nov"](e,84)._control.focused,"accent"==o["\u0275nov"](e,84).color,"warn"==o["\u0275nov"](e,84).color,o["\u0275nov"](e,84)._shouldForward("untouched"),o["\u0275nov"](e,84)._shouldForward("touched"),o["\u0275nov"](e,84)._shouldForward("pristine"),o["\u0275nov"](e,84)._shouldForward("dirty"),o["\u0275nov"](e,84)._shouldForward("valid"),o["\u0275nov"](e,84)._shouldForward("invalid"),o["\u0275nov"](e,84)._shouldForward("pending"),!o["\u0275nov"](e,84)._animationsEnabled]),n(e,94,1,[o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending,o["\u0275nov"](e,100).id,o["\u0275nov"](e,100).tabIndex,o["\u0275nov"](e,100)._getAriaLabel(),o["\u0275nov"](e,100)._getAriaLabelledby(),o["\u0275nov"](e,100).required.toString(),o["\u0275nov"](e,100).disabled.toString(),o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).panelOpen?o["\u0275nov"](e,100)._optionIds:null,o["\u0275nov"](e,100).multiple,o["\u0275nov"](e,100)._ariaDescribedby||null,o["\u0275nov"](e,100)._getAriaActiveDescendant(),o["\u0275nov"](e,100).disabled,o["\u0275nov"](e,100).errorState,o["\u0275nov"](e,100).required,o["\u0275nov"](e,100).empty]),n(e,110,0,o["\u0275nov"](e,111).disabled||null,"NoopAnimations"===o["\u0275nov"](e,111)._animationMode),n(e,113,1,["standard"==o["\u0275nov"](e,114).appearance,"fill"==o["\u0275nov"](e,114).appearance,"outline"==o["\u0275nov"](e,114).appearance,"legacy"==o["\u0275nov"](e,114).appearance,o["\u0275nov"](e,114)._control.errorState,o["\u0275nov"](e,114)._canLabelFloat,o["\u0275nov"](e,114)._shouldLabelFloat(),o["\u0275nov"](e,114)._hasFloatingLabel(),o["\u0275nov"](e,114)._hideControlPlaceholder(),o["\u0275nov"](e,114)._control.disabled,o["\u0275nov"](e,114)._control.autofilled,o["\u0275nov"](e,114)._control.focused,"accent"==o["\u0275nov"](e,114).color,"warn"==o["\u0275nov"](e,114).color,o["\u0275nov"](e,114)._shouldForward("untouched"),o["\u0275nov"](e,114)._shouldForward("touched"),o["\u0275nov"](e,114)._shouldForward("pristine"),o["\u0275nov"](e,114)._shouldForward("dirty"),o["\u0275nov"](e,114)._shouldForward("valid"),o["\u0275nov"](e,114)._shouldForward("invalid"),o["\u0275nov"](e,114)._shouldForward("pending"),!o["\u0275nov"](e,114)._animationsEnabled]),n(e,124,1,[o["\u0275nov"](e,129).ngClassUntouched,o["\u0275nov"](e,129).ngClassTouched,o["\u0275nov"](e,129).ngClassPristine,o["\u0275nov"](e,129).ngClassDirty,o["\u0275nov"](e,129).ngClassValid,o["\u0275nov"](e,129).ngClassInvalid,o["\u0275nov"](e,129).ngClassPending,o["\u0275nov"](e,130)._isServer,o["\u0275nov"](e,130).id,o["\u0275nov"](e,130).placeholder,o["\u0275nov"](e,130).disabled,o["\u0275nov"](e,130).required,o["\u0275nov"](e,130).readonly&&!o["\u0275nov"](e,130)._isNativeSelect||null,o["\u0275nov"](e,130)._ariaDescribedby||null,o["\u0275nov"](e,130).errorState,o["\u0275nov"](e,130).required.toString()]),n(e,132,1,["standard"==o["\u0275nov"](e,133).appearance,"fill"==o["\u0275nov"](e,133).appearance,"outline"==o["\u0275nov"](e,133).appearance,"legacy"==o["\u0275nov"](e,133).appearance,o["\u0275nov"](e,133)._control.errorState,o["\u0275nov"](e,133)._canLabelFloat,o["\u0275nov"](e,133)._shouldLabelFloat(),o["\u0275nov"](e,133)._hasFloatingLabel(),o["\u0275nov"](e,133)._hideControlPlaceholder(),o["\u0275nov"](e,133)._control.disabled,o["\u0275nov"](e,133)._control.autofilled,o["\u0275nov"](e,133)._control.focused,"accent"==o["\u0275nov"](e,133).color,"warn"==o["\u0275nov"](e,133).color,o["\u0275nov"](e,133)._shouldForward("untouched"),o["\u0275nov"](e,133)._shouldForward("touched"),o["\u0275nov"](e,133)._shouldForward("pristine"),o["\u0275nov"](e,133)._shouldForward("dirty"),o["\u0275nov"](e,133)._shouldForward("valid"),o["\u0275nov"](e,133)._shouldForward("invalid"),o["\u0275nov"](e,133)._shouldForward("pending"),!o["\u0275nov"](e,133)._animationsEnabled]),n(e,143,1,[o["\u0275nov"](e,148).ngClassUntouched,o["\u0275nov"](e,148).ngClassTouched,o["\u0275nov"](e,148).ngClassPristine,o["\u0275nov"](e,148).ngClassDirty,o["\u0275nov"](e,148).ngClassValid,o["\u0275nov"](e,148).ngClassInvalid,o["\u0275nov"](e,148).ngClassPending,o["\u0275nov"](e,149)._isServer,o["\u0275nov"](e,149).id,o["\u0275nov"](e,149).placeholder,o["\u0275nov"](e,149).disabled,o["\u0275nov"](e,149).required,o["\u0275nov"](e,149).readonly&&!o["\u0275nov"](e,149)._isNativeSelect||null,o["\u0275nov"](e,149)._ariaDescribedby||null,o["\u0275nov"](e,149).errorState,o["\u0275nov"](e,149).required.toString()]),n(e,151,1,["standard"==o["\u0275nov"](e,152).appearance,"fill"==o["\u0275nov"](e,152).appearance,"outline"==o["\u0275nov"](e,152).appearance,"legacy"==o["\u0275nov"](e,152).appearance,o["\u0275nov"](e,152)._control.errorState,o["\u0275nov"](e,152)._canLabelFloat,o["\u0275nov"](e,152)._shouldLabelFloat(),o["\u0275nov"](e,152)._hasFloatingLabel(),o["\u0275nov"](e,152)._hideControlPlaceholder(),o["\u0275nov"](e,152)._control.disabled,o["\u0275nov"](e,152)._control.autofilled,o["\u0275nov"](e,152)._control.focused,"accent"==o["\u0275nov"](e,152).color,"warn"==o["\u0275nov"](e,152).color,o["\u0275nov"](e,152)._shouldForward("untouched"),o["\u0275nov"](e,152)._shouldForward("touched"),o["\u0275nov"](e,152)._shouldForward("pristine"),o["\u0275nov"](e,152)._shouldForward("dirty"),o["\u0275nov"](e,152)._shouldForward("valid"),o["\u0275nov"](e,152)._shouldForward("invalid"),o["\u0275nov"](e,152)._shouldForward("pending"),!o["\u0275nov"](e,152)._animationsEnabled]),n(e,162,1,[o["\u0275nov"](e,168).ngClassUntouched,o["\u0275nov"](e,168).ngClassTouched,o["\u0275nov"](e,168).ngClassPristine,o["\u0275nov"](e,168).ngClassDirty,o["\u0275nov"](e,168).ngClassValid,o["\u0275nov"](e,168).ngClassInvalid,o["\u0275nov"](e,168).ngClassPending,o["\u0275nov"](e,169)._isServer,o["\u0275nov"](e,169).id,o["\u0275nov"](e,169).placeholder,o["\u0275nov"](e,169).disabled,o["\u0275nov"](e,169).required,o["\u0275nov"](e,169).readonly&&!o["\u0275nov"](e,169)._isNativeSelect||null,o["\u0275nov"](e,169)._ariaDescribedby||null,o["\u0275nov"](e,169).errorState,o["\u0275nov"](e,169).required.toString()]),n(e,171,1,["standard"==o["\u0275nov"](e,172).appearance,"fill"==o["\u0275nov"](e,172).appearance,"outline"==o["\u0275nov"](e,172).appearance,"legacy"==o["\u0275nov"](e,172).appearance,o["\u0275nov"](e,172)._control.errorState,o["\u0275nov"](e,172)._canLabelFloat,o["\u0275nov"](e,172)._shouldLabelFloat(),o["\u0275nov"](e,172)._hasFloatingLabel(),o["\u0275nov"](e,172)._hideControlPlaceholder(),o["\u0275nov"](e,172)._control.disabled,o["\u0275nov"](e,172)._control.autofilled,o["\u0275nov"](e,172)._control.focused,"accent"==o["\u0275nov"](e,172).color,"warn"==o["\u0275nov"](e,172).color,o["\u0275nov"](e,172)._shouldForward("untouched"),o["\u0275nov"](e,172)._shouldForward("touched"),o["\u0275nov"](e,172)._shouldForward("pristine"),o["\u0275nov"](e,172)._shouldForward("dirty"),o["\u0275nov"](e,172)._shouldForward("valid"),o["\u0275nov"](e,172)._shouldForward("invalid"),o["\u0275nov"](e,172)._shouldForward("pending"),!o["\u0275nov"](e,172)._animationsEnabled]),n(e,182,1,[o["\u0275nov"](e,186).ngClassUntouched,o["\u0275nov"](e,186).ngClassTouched,o["\u0275nov"](e,186).ngClassPristine,o["\u0275nov"](e,186).ngClassDirty,o["\u0275nov"](e,186).ngClassValid,o["\u0275nov"](e,186).ngClassInvalid,o["\u0275nov"](e,186).ngClassPending,o["\u0275nov"](e,187).id,o["\u0275nov"](e,187).tabIndex,o["\u0275nov"](e,187)._getAriaLabel(),o["\u0275nov"](e,187)._getAriaLabelledby(),o["\u0275nov"](e,187).required.toString(),o["\u0275nov"](e,187).disabled.toString(),o["\u0275nov"](e,187).errorState,o["\u0275nov"](e,187).panelOpen?o["\u0275nov"](e,187)._optionIds:null,o["\u0275nov"](e,187).multiple,o["\u0275nov"](e,187)._ariaDescribedby||null,o["\u0275nov"](e,187)._getAriaActiveDescendant(),o["\u0275nov"](e,187).disabled,o["\u0275nov"](e,187).errorState,o["\u0275nov"](e,187).required,o["\u0275nov"](e,187).empty]),n(e,194,1,[o["\u0275nov"](e,195).id,null,o["\u0275nov"](e,195).indeterminate,o["\u0275nov"](e,195).checked,o["\u0275nov"](e,195).disabled,"before"==o["\u0275nov"](e,195).labelPosition,"NoopAnimations"===o["\u0275nov"](e,195)._animationMode,o["\u0275nov"](e,199).ngClassUntouched,o["\u0275nov"](e,199).ngClassTouched,o["\u0275nov"](e,199).ngClassPristine,o["\u0275nov"](e,199).ngClassDirty,o["\u0275nov"](e,199).ngClassValid,o["\u0275nov"](e,199).ngClassInvalid,o["\u0275nov"](e,199).ngClassPending]),n(e,202,1,[o["\u0275nov"](e,203).id,null,o["\u0275nov"](e,203).indeterminate,o["\u0275nov"](e,203).checked,o["\u0275nov"](e,203).disabled,"before"==o["\u0275nov"](e,203).labelPosition,"NoopAnimations"===o["\u0275nov"](e,203)._animationMode,o["\u0275nov"](e,207).ngClassUntouched,o["\u0275nov"](e,207).ngClassTouched,o["\u0275nov"](e,207).ngClassPristine,o["\u0275nov"](e,207).ngClassDirty,o["\u0275nov"](e,207).ngClassValid,o["\u0275nov"](e,207).ngClassInvalid,o["\u0275nov"](e,207).ngClassPending]),n(e,210,1,[o["\u0275nov"](e,211).id,null,o["\u0275nov"](e,211).indeterminate,o["\u0275nov"](e,211).checked,o["\u0275nov"](e,211).disabled,"before"==o["\u0275nov"](e,211).labelPosition,"NoopAnimations"===o["\u0275nov"](e,211)._animationMode,o["\u0275nov"](e,215).ngClassUntouched,o["\u0275nov"](e,215).ngClassTouched,o["\u0275nov"](e,215).ngClassPristine,o["\u0275nov"](e,215).ngClassDirty,o["\u0275nov"](e,215).ngClassValid,o["\u0275nov"](e,215).ngClassInvalid,o["\u0275nov"](e,215).ngClassPending]),n(e,221,0,o["\u0275nov"](e,222).expanded,"NoopAnimations"===o["\u0275nov"](e,222)._animationMode,o["\u0275nov"](e,222)._hasSpacing());var f=o["\u0275nov"](e,226).panel._headerId,h=o["\u0275nov"](e,226).disabled?-1:0,m=o["\u0275nov"](e,226)._getPanelId(),v=o["\u0275nov"](e,226)._isExpanded(),g=o["\u0275nov"](e,226).panel.disabled,b=o["\u0275nov"](e,226)._isExpanded(),_="after"===o["\u0275nov"](e,226)._getTogglePosition(),y="before"===o["\u0275nov"](e,226)._getTogglePosition(),w=o["\u0275nov"](e,226)._animationsDisabled,C=n(e,228,0,o["\u0275nov"](e,226)._getExpandedState(),n(e,227,0,o["\u0275nov"](e,226).collapsedHeight,o["\u0275nov"](e,226).expandedHeight));n(e,225,0,f,h,m,v,g,b,_,y,w,C),n(e,232,0,o["\u0275nov"](e,236).ngClassUntouched,o["\u0275nov"](e,236).ngClassTouched,o["\u0275nov"](e,236).ngClassPristine,o["\u0275nov"](e,236).ngClassDirty,o["\u0275nov"](e,236).ngClassValid,o["\u0275nov"](e,236).ngClassInvalid,o["\u0275nov"](e,236).ngClassPending),n(e,237,1,["standard"==o["\u0275nov"](e,238).appearance,"fill"==o["\u0275nov"](e,238).appearance,"outline"==o["\u0275nov"](e,238).appearance,"legacy"==o["\u0275nov"](e,238).appearance,o["\u0275nov"](e,238)._control.errorState,o["\u0275nov"](e,238)._canLabelFloat,o["\u0275nov"](e,238)._shouldLabelFloat(),o["\u0275nov"](e,238)._hasFloatingLabel(),o["\u0275nov"](e,238)._hideControlPlaceholder(),o["\u0275nov"](e,238)._control.disabled,o["\u0275nov"](e,238)._control.autofilled,o["\u0275nov"](e,238)._control.focused,"accent"==o["\u0275nov"](e,238).color,"warn"==o["\u0275nov"](e,238).color,o["\u0275nov"](e,238)._shouldForward("untouched"),o["\u0275nov"](e,238)._shouldForward("touched"),o["\u0275nov"](e,238)._shouldForward("pristine"),o["\u0275nov"](e,238)._shouldForward("dirty"),o["\u0275nov"](e,238)._shouldForward("valid"),o["\u0275nov"](e,238)._shouldForward("invalid"),o["\u0275nov"](e,238)._shouldForward("pending"),!o["\u0275nov"](e,238)._animationsEnabled]),n(e,248,1,[o["\u0275nov"](e,254).ngClassUntouched,o["\u0275nov"](e,254).ngClassTouched,o["\u0275nov"](e,254).ngClassPristine,o["\u0275nov"](e,254).ngClassDirty,o["\u0275nov"](e,254).ngClassValid,o["\u0275nov"](e,254).ngClassInvalid,o["\u0275nov"](e,254).ngClassPending,o["\u0275nov"](e,255)._isServer,o["\u0275nov"](e,255).id,o["\u0275nov"](e,255).placeholder,o["\u0275nov"](e,255).disabled,o["\u0275nov"](e,255).required,o["\u0275nov"](e,255).readonly&&!o["\u0275nov"](e,255)._isNativeSelect||null,o["\u0275nov"](e,255)._ariaDescribedby||null,o["\u0275nov"](e,255).errorState,o["\u0275nov"](e,255).required.toString()]),n(e,257,1,["standard"==o["\u0275nov"](e,258).appearance,"fill"==o["\u0275nov"](e,258).appearance,"outline"==o["\u0275nov"](e,258).appearance,"legacy"==o["\u0275nov"](e,258).appearance,o["\u0275nov"](e,258)._control.errorState,o["\u0275nov"](e,258)._canLabelFloat,o["\u0275nov"](e,258)._shouldLabelFloat(),o["\u0275nov"](e,258)._hasFloatingLabel(),o["\u0275nov"](e,258)._hideControlPlaceholder(),o["\u0275nov"](e,258)._control.disabled,o["\u0275nov"](e,258)._control.autofilled,o["\u0275nov"](e,258)._control.focused,"accent"==o["\u0275nov"](e,258).color,"warn"==o["\u0275nov"](e,258).color,o["\u0275nov"](e,258)._shouldForward("untouched"),o["\u0275nov"](e,258)._shouldForward("touched"),o["\u0275nov"](e,258)._shouldForward("pristine"),o["\u0275nov"](e,258)._shouldForward("dirty"),o["\u0275nov"](e,258)._shouldForward("valid"),o["\u0275nov"](e,258)._shouldForward("invalid"),o["\u0275nov"](e,258)._shouldForward("pending"),!o["\u0275nov"](e,258)._animationsEnabled]),n(e,268,1,[o["\u0275nov"](e,274).ngClassUntouched,o["\u0275nov"](e,274).ngClassTouched,o["\u0275nov"](e,274).ngClassPristine,o["\u0275nov"](e,274).ngClassDirty,o["\u0275nov"](e,274).ngClassValid,o["\u0275nov"](e,274).ngClassInvalid,o["\u0275nov"](e,274).ngClassPending,o["\u0275nov"](e,275)._isServer,o["\u0275nov"](e,275).id,o["\u0275nov"](e,275).placeholder,o["\u0275nov"](e,275).disabled,o["\u0275nov"](e,275).required,o["\u0275nov"](e,275).readonly&&!o["\u0275nov"](e,275)._isNativeSelect||null,o["\u0275nov"](e,275)._ariaDescribedby||null,o["\u0275nov"](e,275).errorState,o["\u0275nov"](e,275).required.toString()]),n(e,277,0,o["\u0275nov"](e,278).expanded,"NoopAnimations"===o["\u0275nov"](e,278)._animationMode,o["\u0275nov"](e,278)._hasSpacing());var x=o["\u0275nov"](e,282).panel._headerId,S=o["\u0275nov"](e,282).disabled?-1:0,k=o["\u0275nov"](e,282)._getPanelId(),E=o["\u0275nov"](e,282)._isExpanded(),T=o["\u0275nov"](e,282).panel.disabled,R=o["\u0275nov"](e,282)._isExpanded(),I="after"===o["\u0275nov"](e,282)._getTogglePosition(),D="before"===o["\u0275nov"](e,282)._getTogglePosition(),O=o["\u0275nov"](e,282)._animationsDisabled,F=n(e,284,0,o["\u0275nov"](e,282)._getExpandedState(),n(e,283,0,o["\u0275nov"](e,282).collapsedHeight,o["\u0275nov"](e,282).expandedHeight));n(e,281,0,x,S,k,E,T,R,I,D,O,F),n(e,288,1,["standard"==o["\u0275nov"](e,289).appearance,"fill"==o["\u0275nov"](e,289).appearance,"outline"==o["\u0275nov"](e,289).appearance,"legacy"==o["\u0275nov"](e,289).appearance,o["\u0275nov"](e,289)._control.errorState,o["\u0275nov"](e,289)._canLabelFloat,o["\u0275nov"](e,289)._shouldLabelFloat(),o["\u0275nov"](e,289)._hasFloatingLabel(),o["\u0275nov"](e,289)._hideControlPlaceholder(),o["\u0275nov"](e,289)._control.disabled,o["\u0275nov"](e,289)._control.autofilled,o["\u0275nov"](e,289)._control.focused,"accent"==o["\u0275nov"](e,289).color,"warn"==o["\u0275nov"](e,289).color,o["\u0275nov"](e,289)._shouldForward("untouched"),o["\u0275nov"](e,289)._shouldForward("touched"),o["\u0275nov"](e,289)._shouldForward("pristine"),o["\u0275nov"](e,289)._shouldForward("dirty"),o["\u0275nov"](e,289)._shouldForward("valid"),o["\u0275nov"](e,289)._shouldForward("invalid"),o["\u0275nov"](e,289)._shouldForward("pending"),!o["\u0275nov"](e,289)._animationsEnabled]),n(e,299,1,[o["\u0275nov"](e,304).ngClassUntouched,o["\u0275nov"](e,304).ngClassTouched,o["\u0275nov"](e,304).ngClassPristine,o["\u0275nov"](e,304).ngClassDirty,o["\u0275nov"](e,304).ngClassValid,o["\u0275nov"](e,304).ngClassInvalid,o["\u0275nov"](e,304).ngClassPending,o["\u0275nov"](e,305)._isServer,o["\u0275nov"](e,305).id,o["\u0275nov"](e,305).placeholder,o["\u0275nov"](e,305).disabled,o["\u0275nov"](e,305).required,o["\u0275nov"](e,305).readonly&&!o["\u0275nov"](e,305)._isNativeSelect||null,o["\u0275nov"](e,305)._ariaDescribedby||null,o["\u0275nov"](e,305).errorState,o["\u0275nov"](e,305).required.toString()]),n(e,308,0,o["\u0275nov"](e,309).disabled||null,"NoopAnimations"===o["\u0275nov"](e,309)._animationMode),n(e,311,0,o["\u0275nov"](e,312).disabled||null,"NoopAnimations"===o["\u0275nov"](e,312)._animationMode)})}function VR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-symbols-menu",[],null,[[null,"symbolChangedEmitter"]],function(n,e,t){var l=!0;return"symbolChangedEmitter"===e&&(l=!1!==n.component.symbolChanged(t)&&l),l},yw,_w)),o["\u0275did"](1,49152,null,0,bw,[],{server:[0,"server"],symbol:[1,"symbol"]},{symbolChangedEmitter:"symbolChangedEmitter"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.iouTemplate.symbol)},null)}function BR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,2,"div",[["class","form-field"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["IOU device configuration"])),(n()(),o["\u0275and"](16777216,null,null,1,null,LR)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,VR)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component,l=n(e,3,0,t.isSymbolSelectionOpened);n(e,2,0,"content",l),n(e,9,0,t.iouTemplate),n(e,11,0,t.isSymbolSelectionOpened&&t.iouTemplate)},null)}function zR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-iou-template-details",[],null,null,null,BR,MR)),o["\u0275did"](1,114688,null,0,NR,[bt,Uh,yR,vc,FR,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var UR=o["\u0275ccf"]("app-iou-template-details",NR,zR,{},{},[]),HR=function(){function n(n,e,t,l,o,r){this.route=n,this.serverService=e,this.qemuService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateName="",this.templateNameForm=this.formBuilder.group({templateName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id"),t=this.route.snapshot.paramMap.get("template_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.qemuService.getTemplate(n.server,t).subscribe(function(e){n.iouTemplate=e,n.templateName="Copy of "+n.iouTemplate.name})})},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var n=this;this.templateNameForm.invalid?this.toasterService.error("Fill all required fields"):(this.iouTemplate.template_id=Object(dg.v4)(),this.iouTemplate.name=this.templateName,this.qemuService.addTemplate(this.server,this.iouTemplate).subscribe(function(e){n.goBack()}))},n}(),ZR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function WR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,38,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Copy IOU device template"])),(n()(),o["\u0275eld"](5,0,null,null,33,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,25,"mat-card",[["class","matCard mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,_p,bp)),o["\u0275did"](7,49152,null,0,vp,[[2,su]],null,null),(n()(),o["\u0275eld"](8,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,10).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,10).onReset()&&l),l},null,null)),o["\u0275did"](9,16384,null,0,Xm,[],null,null),o["\u0275did"](10,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](12,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](13,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](14,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,25)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,25)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,30)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,30)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.templateName=t)&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](27,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](29,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](30,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](32,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](33,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Copy template"]))],function(n,e){var t=e.component;n(e,10,0,t.templateNameForm),n(e,27,0,"templateName",t.templateName),n(e,30,0,"Name","text"),n(e,37,0,"primary")},function(n,e){n(e,6,0,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,8,0,o["\u0275nov"](e,12).ngClassUntouched,o["\u0275nov"](e,12).ngClassTouched,o["\u0275nov"](e,12).ngClassPristine,o["\u0275nov"](e,12).ngClassDirty,o["\u0275nov"](e,12).ngClassValid,o["\u0275nov"](e,12).ngClassInvalid,o["\u0275nov"](e,12).ngClassPending),n(e,13,1,["standard"==o["\u0275nov"](e,14).appearance,"fill"==o["\u0275nov"](e,14).appearance,"outline"==o["\u0275nov"](e,14).appearance,"legacy"==o["\u0275nov"](e,14).appearance,o["\u0275nov"](e,14)._control.errorState,o["\u0275nov"](e,14)._canLabelFloat,o["\u0275nov"](e,14)._shouldLabelFloat(),o["\u0275nov"](e,14)._hasFloatingLabel(),o["\u0275nov"](e,14)._hideControlPlaceholder(),o["\u0275nov"](e,14)._control.disabled,o["\u0275nov"](e,14)._control.autofilled,o["\u0275nov"](e,14)._control.focused,"accent"==o["\u0275nov"](e,14).color,"warn"==o["\u0275nov"](e,14).color,o["\u0275nov"](e,14)._shouldForward("untouched"),o["\u0275nov"](e,14)._shouldForward("touched"),o["\u0275nov"](e,14)._shouldForward("pristine"),o["\u0275nov"](e,14)._shouldForward("dirty"),o["\u0275nov"](e,14)._shouldForward("valid"),o["\u0275nov"](e,14)._shouldForward("invalid"),o["\u0275nov"](e,14)._shouldForward("pending"),!o["\u0275nov"](e,14)._animationsEnabled]),n(e,24,1,[o["\u0275nov"](e,29).ngClassUntouched,o["\u0275nov"](e,29).ngClassTouched,o["\u0275nov"](e,29).ngClassPristine,o["\u0275nov"](e,29).ngClassDirty,o["\u0275nov"](e,29).ngClassValid,o["\u0275nov"](e,29).ngClassInvalid,o["\u0275nov"](e,29).ngClassPending,o["\u0275nov"](e,30)._isServer,o["\u0275nov"](e,30).id,o["\u0275nov"](e,30).placeholder,o["\u0275nov"](e,30).disabled,o["\u0275nov"](e,30).required,o["\u0275nov"](e,30).readonly&&!o["\u0275nov"](e,30)._isNativeSelect||null,o["\u0275nov"](e,30)._ariaDescribedby||null,o["\u0275nov"](e,30).errorState,o["\u0275nov"](e,30).required.toString()]),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode)})}function GR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-copy-iou-template",[],null,null,null,WR,ZR)),o["\u0275did"](1,114688,null,0,HR,[bt,Uh,yR,vc,Rl,rv],null,null)],function(n,e){n(e,1,0)},null)}var KR=o["\u0275ccf"]("app-copy-iou-template",HR,GR,{},{},[]),YR=function(){return function(){}}(),$R=function(){function n(n,e,t,l,o,r,i){this.route=n,this.serverService=e,this.iouService=t,this.toasterService=l,this.router=o,this.formBuilder=r,this.templateMocksService=i,this.isGns3VmChosen=!1,this.isRemoteComputerChosen=!1,this.newImageSelected=!1,this.types=["L2 image","L3 image"],this.iouImages=[],this.iouTemplate=new YR,this.templateNameForm=this.formBuilder.group({templateName:new Vm("",sm.required)}),this.imageForm=this.formBuilder.group({imageName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){var n=this,e=this.route.snapshot.paramMap.get("server_id");this.serverService.get(parseInt(e,10)).then(function(e){n.server=e,n.templateMocksService.getIouTemplate().subscribe(function(e){n.iouTemplate=e})})},n.prototype.setServerType=function(n){"gns3 vm"===n?this.isGns3VmChosen=!0:this.isRemoteComputerChosen=!0},n.prototype.setDiskImage=function(n){this.newImageSelected="newImage"===n},n.prototype.uploadImageFile=function(n){this.iouTemplate.path=n.target.files[0].name},n.prototype.goBack=function(){this.router.navigate(["/server",this.server.id,"preferences","iou","templates"])},n.prototype.addTemplate=function(){var n=this;!this.templateNameForm.invalid&&(this.newImageSelected&&!this.imageForm.invalid||!this.newImageSelected&&this.iouTemplate.path)?(this.iouTemplate.template_id=Object(dg.v4)(),this.iouTemplate.name=this.templateNameForm.get("templateName").value,this.iouTemplate.path=this.imageForm.get("imageName").value,this.iouService.addTemplate(this.server,this.iouTemplate).subscribe(function(e){n.goBack()})):this.toasterService.error("Fill all required fields")},n}(),XR=o["\u0275crt"]({encapsulation:0,styles:[[""],fy],data:{}});function QR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[26,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function JR(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[38,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit)})}function nI(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,29,{_controlNonStatic:0}),o["\u0275qud"](335544320,30,{_controlStatic:0}),o["\u0275qud"](603979776,31,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,32,{_labelChildStatic:0}),o["\u0275qud"](603979776,33,{_placeholderChild:0}),o["\u0275qud"](603979776,34,{_errorChildren:1}),o["\u0275qud"](603979776,35,{_hintChildren:1}),o["\u0275qud"](603979776,36,{_prefixChildren:1}),o["\u0275qud"](603979776,37,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","IOU image"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,17)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,17)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.iouTemplate.path=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](13,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](14,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](16,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](17,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,38,{options:1}),o["\u0275qud"](603979776,39,{optionGroups:1}),o["\u0275qud"](603979776,40,{customTrigger:0}),o["\u0275prd"](2048,[[29,4],[30,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,JR)),o["\u0275did"](23,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component,l=t.iouTemplate.path,o=n(e,14,0,!0);n(e,13,0,l,o),n(e,17,0,"IOU image"),n(e,23,0,t.iouImages)},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending,o["\u0275nov"](e,17).id,o["\u0275nov"](e,17).tabIndex,o["\u0275nov"](e,17)._getAriaLabel(),o["\u0275nov"](e,17)._getAriaLabelledby(),o["\u0275nov"](e,17).required.toString(),o["\u0275nov"](e,17).disabled.toString(),o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).panelOpen?o["\u0275nov"](e,17)._optionIds:null,o["\u0275nov"](e,17).multiple,o["\u0275nov"](e,17)._ariaDescribedby||null,o["\u0275nov"](e,17)._getAriaActiveDescendant(),o["\u0275nov"](e,17).disabled,o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).required,o["\u0275nov"](e,17).empty])})}function eI(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,25,"div",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,[["file",1]],null,2,"input",[["accept",".bin"],["class","nonvisible"],["ngDefaultControl",""],["type","file"]],null,[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,3)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,3).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,3)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,3)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==r.uploadImageFile(t)&&l),l},null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](3,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),(n()(),o["\u0275eld"](4,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1).click()&&l),l},pu,cu)),o["\u0275did"](5,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Browse"])),(n()(),o["\u0275eld"](7,0,null,null,18,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](8,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,41,{_controlNonStatic:0}),o["\u0275qud"](335544320,42,{_controlStatic:0}),o["\u0275qud"](603979776,43,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,44,{_labelChildStatic:0}),o["\u0275qud"](603979776,45,{_placeholderChild:0}),o["\u0275qud"](603979776,46,{_errorChildren:1}),o["\u0275qud"](603979776,47,{_hintChildren:1}),o["\u0275qud"](603979776,48,{_prefixChildren:1}),o["\u0275qud"](603979776,49,{_suffixChildren:1}),(n()(),o["\u0275eld"](18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","imageName"],["matInput",""],["placeholder","IOU image"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,19)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,19).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,19)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,19)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,24)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,24)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,24)._onInput()&&l),l},null,null)),o["\u0275did"](19,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](21,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](23,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](24,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[41,4],[42,4]],Pb,null,[d_])],function(n,e){n(e,5,0,"primary"),n(e,21,0,"imageName"),n(e,24,0,"IOU image","text")},function(n,e){n(e,4,0,o["\u0275nov"](e,5).disabled||null,"NoopAnimations"===o["\u0275nov"](e,5)._animationMode),n(e,7,1,["standard"==o["\u0275nov"](e,8).appearance,"fill"==o["\u0275nov"](e,8).appearance,"outline"==o["\u0275nov"](e,8).appearance,"legacy"==o["\u0275nov"](e,8).appearance,o["\u0275nov"](e,8)._control.errorState,o["\u0275nov"](e,8)._canLabelFloat,o["\u0275nov"](e,8)._shouldLabelFloat(),o["\u0275nov"](e,8)._hasFloatingLabel(),o["\u0275nov"](e,8)._hideControlPlaceholder(),o["\u0275nov"](e,8)._control.disabled,o["\u0275nov"](e,8)._control.autofilled,o["\u0275nov"](e,8)._control.focused,"accent"==o["\u0275nov"](e,8).color,"warn"==o["\u0275nov"](e,8).color,o["\u0275nov"](e,8)._shouldForward("untouched"),o["\u0275nov"](e,8)._shouldForward("touched"),o["\u0275nov"](e,8)._shouldForward("pristine"),o["\u0275nov"](e,8)._shouldForward("dirty"),o["\u0275nov"](e,8)._shouldForward("valid"),o["\u0275nov"](e,8)._shouldForward("invalid"),o["\u0275nov"](e,8)._shouldForward("pending"),!o["\u0275nov"](e,8)._animationsEnabled]),n(e,18,1,[o["\u0275nov"](e,23).ngClassUntouched,o["\u0275nov"](e,23).ngClassTouched,o["\u0275nov"](e,23).ngClassPristine,o["\u0275nov"](e,23).ngClassDirty,o["\u0275nov"](e,23).ngClassValid,o["\u0275nov"](e,23).ngClassInvalid,o["\u0275nov"](e,23).ngClassPending,o["\u0275nov"](e,24)._isServer,o["\u0275nov"](e,24).id,o["\u0275nov"](e,24).placeholder,o["\u0275nov"](e,24).disabled,o["\u0275nov"](e,24).required,o["\u0275nov"](e,24).readonly&&!o["\u0275nov"](e,24)._isNativeSelect||null,o["\u0275nov"](e,24)._ariaDescribedby||null,o["\u0275nov"](e,24).errorState,o["\u0275nov"](e,24).required.toString()])})}function tI(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,109,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","default-header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,"h1",[["class","col"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["New IOU device template"])),(n()(),o["\u0275eld"](5,0,null,null,104,"div",[["class","default-content"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,96,"div",[["class","container mat-elevation-z8"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,95,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,Fx,Dx)),o["\u0275prd"](6144,null,gx,null,[kx]),o["\u0275did"](9,5423104,null,2,kx,[[2,Ar],o.ChangeDetectorRef,o.ElementRef,I.DOCUMENT],{linear:[0,"linear"]},null),o["\u0275qud"](603979776,1,{_steps:1}),o["\u0275qud"](603979776,2,{_icons:1}),o["\u0275prd"](2048,null,Sx,null,[kx]),(n()(),o["\u0275eld"](13,0,null,null,14,"mat-step",[["label","Server type"]],null,null,null,Ix,Tx)),o["\u0275prd"](6144,null,tr,null,[xx]),o["\u0275did"](15,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,3,{stepLabel:0}),(n()(),o["\u0275eld"](17,0,null,0,10,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](19,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,4,{_radios:1}),(n()(),o["\u0275eld"](21,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("remote computer")&&l),l},Uk,zk)),o["\u0275did"](22,4440064,[[4,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this IOU device on a remote computer"])),(n()(),o["\u0275eld"](24,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](25,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,26)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setServerType("gns3 vm")&&l),l},Uk,zk)),o["\u0275did"](26,4440064,[[4,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Run this IOU device on the GNS3 VM"])),(n()(),o["\u0275eld"](28,0,null,null,27,"mat-step",[["label","Name"]],null,null,null,Ix,Tx)),o["\u0275did"](29,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,5,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](32,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,34).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,34).onReset()&&l),l},null,null)),o["\u0275did"](33,16384,null,0,Xm,[],null,null),o["\u0275did"](34,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](36,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](37,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](38,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,6,{_controlNonStatic:0}),o["\u0275qud"](335544320,7,{_controlStatic:0}),o["\u0275qud"](603979776,8,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,9,{_labelChildStatic:0}),o["\u0275qud"](603979776,10,{_placeholderChild:0}),o["\u0275qud"](603979776,11,{_errorChildren:1}),o["\u0275qud"](603979776,12,{_hintChildren:1}),o["\u0275qud"](603979776,13,{_prefixChildren:1}),o["\u0275qud"](603979776,14,{_suffixChildren:1}),(n()(),o["\u0275eld"](48,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","templateName"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,49)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,49).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,49)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,49)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,54)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,54)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,54)._onInput()&&l),l},null,null)),o["\u0275did"](49,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](51,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](53,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](54,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[6,4],[7,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](56,0,null,null,46,"mat-step",[["label","Image"]],null,null,null,Ix,Tx)),o["\u0275did"](57,573440,[[1,4]],1,xx,[Sx,[1,tr],[2,mx]],{label:[0,"label"]},null),o["\u0275qud"](603979776,15,{stepLabel:0}),o["\u0275prd"](2048,null,tr,null,[xx]),(n()(),o["\u0275eld"](60,0,null,0,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,62).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,62).onReset()&&l),l},null,null)),o["\u0275did"](61,16384,null,0,Xm,[],null,null),o["\u0275did"](62,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](64,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](65,0,null,null,9,"mat-radio-group",[["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](67,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,16,{_radios:1}),(n()(),o["\u0275eld"](69,0,null,null,2,"mat-radio-button",[["checked",""],["class","radio-button mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,70)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("existingImage")&&l),l},Uk,zk)),o["\u0275did"](70,4440064,[[16,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["Existing image"])),(n()(),o["\u0275eld"](72,0,null,null,2,"mat-radio-button",[["class","radio-button mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,73)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setDiskImage("newImage")&&l),l},Uk,zk)),o["\u0275did"](73,4440064,[[16,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["New image"])),(n()(),o["\u0275eld"](75,0,null,null,23,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](76,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,17,{_controlNonStatic:0}),o["\u0275qud"](335544320,18,{_controlStatic:0}),o["\u0275qud"](603979776,19,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,20,{_labelChildStatic:0}),o["\u0275qud"](603979776,21,{_placeholderChild:0}),o["\u0275qud"](603979776,22,{_errorChildren:1}),o["\u0275qud"](603979776,23,{_hintChildren:1}),o["\u0275qud"](603979776,24,{_prefixChildren:1}),o["\u0275qud"](603979776,25,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0,r=n.component;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,92)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,92)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,92)._onBlur()&&l),"ngModelChange"===e&&(l=!1!==(r.selectedType=t)&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](88,671744,null,0,$m,[[2,em],[8,null],[8,null],[8,null]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](89,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](91,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](92,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,26,{options:1}),o["\u0275qud"](603979776,27,{optionGroups:1}),o["\u0275qud"](603979776,28,{customTrigger:0}),o["\u0275prd"](2048,[[17,4],[18,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,QR)),o["\u0275did"](98,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,nI)),o["\u0275did"](100,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,eI)),o["\u0275did"](102,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](103,0,null,null,6,"div",[["class","buttons-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](104,0,null,null,2,"button",[["class","cancel-button"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.goBack()&&l),l},pu,cu)),o["\u0275did"](105,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](107,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addTemplate()&&l),l},pu,cu)),o["\u0275did"](108,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add template"]))],function(n,e){var t=e.component;n(e,9,0,!0),n(e,15,0,"Server type"),n(e,22,0,"1"),n(e,26,0,"","2"),n(e,29,0,"Name"),n(e,34,0,t.templateNameForm),n(e,51,0,"templateName"),n(e,54,0,"Name","text"),n(e,57,0,"Image"),n(e,62,0,t.imageForm),n(e,70,0,"","1"),n(e,73,0,"2");var l=t.selectedType,o=n(e,89,0,!0);n(e,88,0,l,o),n(e,92,0,"Type"),n(e,98,0,t.types),n(e,100,0,!t.newImageSelected),n(e,102,0,t.newImageSelected),n(e,108,0,"primary")},function(n,e){n(e,21,0,o["\u0275nov"](e,22).checked,o["\u0275nov"](e,22).disabled,"NoopAnimations"===o["\u0275nov"](e,22)._animationMode,"primary"===o["\u0275nov"](e,22).color,"accent"===o["\u0275nov"](e,22).color,"warn"===o["\u0275nov"](e,22).color,-1,o["\u0275nov"](e,22).id),n(e,25,0,o["\u0275nov"](e,26).checked,o["\u0275nov"](e,26).disabled,"NoopAnimations"===o["\u0275nov"](e,26)._animationMode,"primary"===o["\u0275nov"](e,26).color,"accent"===o["\u0275nov"](e,26).color,"warn"===o["\u0275nov"](e,26).color,-1,o["\u0275nov"](e,26).id),n(e,32,0,o["\u0275nov"](e,36).ngClassUntouched,o["\u0275nov"](e,36).ngClassTouched,o["\u0275nov"](e,36).ngClassPristine,o["\u0275nov"](e,36).ngClassDirty,o["\u0275nov"](e,36).ngClassValid,o["\u0275nov"](e,36).ngClassInvalid,o["\u0275nov"](e,36).ngClassPending),n(e,37,1,["standard"==o["\u0275nov"](e,38).appearance,"fill"==o["\u0275nov"](e,38).appearance,"outline"==o["\u0275nov"](e,38).appearance,"legacy"==o["\u0275nov"](e,38).appearance,o["\u0275nov"](e,38)._control.errorState,o["\u0275nov"](e,38)._canLabelFloat,o["\u0275nov"](e,38)._shouldLabelFloat(),o["\u0275nov"](e,38)._hasFloatingLabel(),o["\u0275nov"](e,38)._hideControlPlaceholder(),o["\u0275nov"](e,38)._control.disabled,o["\u0275nov"](e,38)._control.autofilled,o["\u0275nov"](e,38)._control.focused,"accent"==o["\u0275nov"](e,38).color,"warn"==o["\u0275nov"](e,38).color,o["\u0275nov"](e,38)._shouldForward("untouched"),o["\u0275nov"](e,38)._shouldForward("touched"),o["\u0275nov"](e,38)._shouldForward("pristine"),o["\u0275nov"](e,38)._shouldForward("dirty"),o["\u0275nov"](e,38)._shouldForward("valid"),o["\u0275nov"](e,38)._shouldForward("invalid"),o["\u0275nov"](e,38)._shouldForward("pending"),!o["\u0275nov"](e,38)._animationsEnabled]),n(e,48,1,[o["\u0275nov"](e,53).ngClassUntouched,o["\u0275nov"](e,53).ngClassTouched,o["\u0275nov"](e,53).ngClassPristine,o["\u0275nov"](e,53).ngClassDirty,o["\u0275nov"](e,53).ngClassValid,o["\u0275nov"](e,53).ngClassInvalid,o["\u0275nov"](e,53).ngClassPending,o["\u0275nov"](e,54)._isServer,o["\u0275nov"](e,54).id,o["\u0275nov"](e,54).placeholder,o["\u0275nov"](e,54).disabled,o["\u0275nov"](e,54).required,o["\u0275nov"](e,54).readonly&&!o["\u0275nov"](e,54)._isNativeSelect||null,o["\u0275nov"](e,54)._ariaDescribedby||null,o["\u0275nov"](e,54).errorState,o["\u0275nov"](e,54).required.toString()]),n(e,60,0,o["\u0275nov"](e,64).ngClassUntouched,o["\u0275nov"](e,64).ngClassTouched,o["\u0275nov"](e,64).ngClassPristine,o["\u0275nov"](e,64).ngClassDirty,o["\u0275nov"](e,64).ngClassValid,o["\u0275nov"](e,64).ngClassInvalid,o["\u0275nov"](e,64).ngClassPending),n(e,69,0,o["\u0275nov"](e,70).checked,o["\u0275nov"](e,70).disabled,"NoopAnimations"===o["\u0275nov"](e,70)._animationMode,"primary"===o["\u0275nov"](e,70).color,"accent"===o["\u0275nov"](e,70).color,"warn"===o["\u0275nov"](e,70).color,-1,o["\u0275nov"](e,70).id),n(e,72,0,o["\u0275nov"](e,73).checked,o["\u0275nov"](e,73).disabled,"NoopAnimations"===o["\u0275nov"](e,73)._animationMode,"primary"===o["\u0275nov"](e,73).color,"accent"===o["\u0275nov"](e,73).color,"warn"===o["\u0275nov"](e,73).color,-1,o["\u0275nov"](e,73).id),n(e,75,1,["standard"==o["\u0275nov"](e,76).appearance,"fill"==o["\u0275nov"](e,76).appearance,"outline"==o["\u0275nov"](e,76).appearance,"legacy"==o["\u0275nov"](e,76).appearance,o["\u0275nov"](e,76)._control.errorState,o["\u0275nov"](e,76)._canLabelFloat,o["\u0275nov"](e,76)._shouldLabelFloat(),o["\u0275nov"](e,76)._hasFloatingLabel(),o["\u0275nov"](e,76)._hideControlPlaceholder(),o["\u0275nov"](e,76)._control.disabled,o["\u0275nov"](e,76)._control.autofilled,o["\u0275nov"](e,76)._control.focused,"accent"==o["\u0275nov"](e,76).color,"warn"==o["\u0275nov"](e,76).color,o["\u0275nov"](e,76)._shouldForward("untouched"),o["\u0275nov"](e,76)._shouldForward("touched"),o["\u0275nov"](e,76)._shouldForward("pristine"),o["\u0275nov"](e,76)._shouldForward("dirty"),o["\u0275nov"](e,76)._shouldForward("valid"),o["\u0275nov"](e,76)._shouldForward("invalid"),o["\u0275nov"](e,76)._shouldForward("pending"),!o["\u0275nov"](e,76)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,91).ngClassUntouched,o["\u0275nov"](e,91).ngClassTouched,o["\u0275nov"](e,91).ngClassPristine,o["\u0275nov"](e,91).ngClassDirty,o["\u0275nov"](e,91).ngClassValid,o["\u0275nov"](e,91).ngClassInvalid,o["\u0275nov"](e,91).ngClassPending,o["\u0275nov"](e,92).id,o["\u0275nov"](e,92).tabIndex,o["\u0275nov"](e,92)._getAriaLabel(),o["\u0275nov"](e,92)._getAriaLabelledby(),o["\u0275nov"](e,92).required.toString(),o["\u0275nov"](e,92).disabled.toString(),o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).panelOpen?o["\u0275nov"](e,92)._optionIds:null,o["\u0275nov"](e,92).multiple,o["\u0275nov"](e,92)._ariaDescribedby||null,o["\u0275nov"](e,92)._getAriaActiveDescendant(),o["\u0275nov"](e,92).disabled,o["\u0275nov"](e,92).errorState,o["\u0275nov"](e,92).required,o["\u0275nov"](e,92).empty]),n(e,104,0,o["\u0275nov"](e,105).disabled||null,"NoopAnimations"===o["\u0275nov"](e,105)._animationMode),n(e,107,0,o["\u0275nov"](e,108).disabled||null,"NoopAnimations"===o["\u0275nov"](e,108)._animationMode)})}function lI(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-iou-template",[],null,null,null,tI,XR)),o["\u0275did"](1,114688,null,0,$R,[bt,Uh,yR,vc,Rl,rv,Hy],null,null)],function(n,e){n(e,1,0)},null)}var oI=o["\u0275ccf"]("app-add-iou-template",$R,lI,{},{},[]),rI=function(){return function(){this.movingModeState=new o.EventEmitter}}(),iI=function(){return function(n,e){this.width=n,this.height=e}}(),aI=function(){return function(n,e){this.x=n,this.y=e}}(),uI=function(){return function(n,e,t){this.x=n,this.y=e,this.k=t}}(),sI=function(){function n(){this.centerZeroZeroPoint=!0,this.size=new iI(0,0),this.transformation=new uI(0,0,1)}return n.prototype.getZeroZeroTransformationPoint=function(){return this.centerZeroZeroPoint?new aI(this.size.width/2,this.size.height/2):new aI(0,0)},n}(),dI="http://www.w3.org/1999/xhtml",cI={svg:"http://www.w3.org/2000/svg",xhtml:dI,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},pI=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),cI.hasOwnProperty(e)?{space:cI[e],local:n}:n},fI=function(n){var e=pI(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===dI&&e.documentElement.namespaceURI===dI?e.createElement(n):e.createElementNS(t,n)}})(e)};function hI(){}var mI=function(n){return null==n?hI:function(){return this.querySelector(n)}};function vI(){return[]}var gI=function(n){return null==n?vI:function(){return this.querySelectorAll(n)}},bI=function(n){return function(){return this.matches(n)}},_I=function(n){return new Array(n.length)};function yI(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}yI.prototype={constructor:yI,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,e){return this._parent.insertBefore(n,e)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var wI="$";function CI(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new yI(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function xI(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=wI+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=wI+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new yI(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function SI(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}function kI(n){return function(){this.removeAttribute(n)}}function EI(n){return function(){this.removeAttributeNS(n.space,n.local)}}function TI(n,e){return function(){this.setAttribute(n,e)}}function RI(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}function II(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}function DI(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,t)}}var OI=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function FI(n){return function(){this.style.removeProperty(n)}}function NI(n,e,t){return function(){this.style.setProperty(n,e,t)}}function MI(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}function AI(n,e){return n.style.getPropertyValue(e)||OI(n).getComputedStyle(n,null).getPropertyValue(e)}function qI(n){return function(){delete this[n]}}function PI(n,e){return function(){this[n]=e}}function jI(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}function LI(n){return n.trim().split(/^|\s+/)}function VI(n){return n.classList||new BI(n)}function BI(n){this._node=n,this._names=LI(n.getAttribute("class")||"")}function zI(n,e){for(var t=VI(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function UI(n,e){for(var t=VI(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function HI(n){return function(){zI(this,n)}}function ZI(n){return function(){UI(this,n)}}function WI(n,e){return function(){(e.apply(this,arguments)?zI:UI)(this,n)}}function GI(){this.textContent=""}function KI(n){return function(){this.textContent=n}}function YI(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}function $I(){this.innerHTML=""}function XI(n){return function(){this.innerHTML=n}}function QI(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}function JI(){this.nextSibling&&this.parentNode.appendChild(this)}function nD(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function eD(){return null}function tD(){var n=this.parentNode;n&&n.removeChild(this)}function lD(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function oD(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}BI.prototype={add:function(n){this._names.indexOf(n)<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var e=this._names.indexOf(n);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var rD={},iD=null;function aD(n,e,t){return n=uD(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function uD(n,e,t){return function(l){var o=iD;iD=l;try{n.call(this,this.__data__,e,t)}finally{iD=o}}}function sD(n){return n.trim().split(/^|\s+/).map(function(n){var e="",t=n.indexOf(".");return t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),{type:n,name:e}})}function dD(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++l)t=e[l],n.type&&t.type!==n.type||t.name!==n.name?e[++o]=t:this.removeEventListener(t.type,t.listener,t.capture);++o?e.length=o:delete this.__on}}}function cD(n,e,t){var l=rD.hasOwnProperty(n.type)?aD:uD;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);if(u)for(var d=0,c=u.length;d<c;++d)if((a=u[d]).type===n.type&&a.name===n.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=t),void(a.value=e);this.addEventListener(n.type,s,t),a={type:n.type,name:n.name,value:e,listener:s,capture:t},u?u.push(a):this.__on=[a]}}function pD(n,e,t,l){var o=iD;n.sourceEvent=iD,iD=n;try{return e.apply(t,l)}finally{iD=o}}function fD(n,e,t){var l=OI(n),o=l.CustomEvent;"function"==typeof o?o=new o(e,t):(o=l.document.createEvent("Event"),t?(o.initEvent(e,t.bubbles,t.cancelable),o.detail=t.detail):o.initEvent(e,!1,!1)),n.dispatchEvent(o)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(rD={mouseenter:"mouseover",mouseleave:"mouseout"}));var hD=[null];function mD(n,e){this._groups=n,this._parents=e}function vD(){return new mD([[document.documentElement]],hD)}mD.prototype=vD.prototype={constructor:mD,select:function(n){"function"!=typeof n&&(n=mI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new mD(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=gI(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new mD(l,o)},filter:function(n){"function"!=typeof n&&(n=bI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new mD(l,this._parents)},data:function(n,e){if(!n)return h=new Array(this.size()),d=-1,this.each(function(n){h[++d]=n}),h;var t,l=e?xI:CI,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[d],f=p.length,h=n.call(c,c&&c.__data__,d,o),m=h.length,v=u[d]=new Array(m),g=a[d]=new Array(m);l(c,p,v,g,s[d]=new Array(f),h,e);for(var b,_,y=0,w=0;y<m;++y)if(b=v[y]){for(y>=w&&(w=y+1);!(_=g[w])&&++w<m;);b._next=_||null}}return(a=new mD(a,o))._enter=u,a._exit=s,a},enter:function(){return new mD(this._enter||this._groups.map(_I),this._parents)},exit:function(){return new mD(this._exit||this._groups.map(_I),this._parents)},join:function(n,e,t){var l=this.enter(),o=this,r=this.exit();return l="function"==typeof n?n(l):l.append(n+""),null!=e&&(o=e(o)),null==t?r.remove():t(r),l&&o?l.merge(o).order():o},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new mD(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&4^l.compareDocumentPosition(i)&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=SI);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new mD(o,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),e=-1;return this.each(function(){n[++e]=this}),n},node:function(){for(var n=this._groups,e=0,t=n.length;e<t;++e)for(var l=n[e],o=0,r=l.length;o<r;++o){var i=l[o];if(i)return i}return null},size:function(){var n=0;return this.each(function(){++n}),n},empty:function(){return!this.node()},each:function(n){for(var e=this._groups,t=0,l=e.length;t<l;++t)for(var o,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=pI(n);if(arguments.length<2){var l=this.node();return t.local?l.getAttributeNS(t.space,t.local):l.getAttribute(t)}return this.each((null==e?t.local?EI:kI:"function"==typeof e?t.local?DI:II:t.local?RI:TI)(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?FI:"function"==typeof e?MI:NI)(n,e,null==t?"":t)):AI(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?qI:"function"==typeof e?jI:PI)(n,e)):this.node()[n]},classed:function(n,e){var t=LI(n+"");if(arguments.length<2){for(var l=VI(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?WI:e?HI:ZI)(t,e))},text:function(n){return arguments.length?this.each(null==n?GI:("function"==typeof n?YI:KI)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?$I:("function"==typeof n?QI:XI)(n)):this.node().innerHTML},raise:function(){return this.each(JI)},lower:function(){return this.each(nD)},append:function(n){var e="function"==typeof n?n:fI(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:fI(n),l=null==e?eD:"function"==typeof e?e:mI(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(tD)},clone:function(n){return this.select(n?oD:lD)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=sD(n+""),i=r.length;if(!(arguments.length<2)){for(a=e?cD:dD,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[l],e,t));return this}var a=this.node().__on;if(a)for(var u,s=0,d=a.length;s<d;++s)for(l=0,u=a[s];l<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return fD(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return fD(this,n,e)}})(n,e))}};var gD=vD,bD=function(n){return"string"==typeof n?new mD([[document.querySelector(n)]],[document.documentElement]):new mD([[n]],hD)},_D=0;function yD(){this._="@"+(++_D).toString(36)}yD.prototype=(function(){return new yD}).prototype={constructor:yD,get:function(n){for(var e=this._;!(e in n);)if(!(n=n.parentNode))return;return n[e]},set:function(n,e){return n[this._]=e},remove:function(n){return this._ in n&&delete n[this._]},toString:function(){return this._}};var wD=function(){for(var n,e=iD;n=e.sourceEvent;)e=n;return e},CD=function(n,e){var t=n.ownerSVGElement||n;if(t.createSVGPoint){var l=t.createSVGPoint();return l.x=e.clientX,l.y=e.clientY,[(l=l.matrixTransform(n.getScreenCTM().inverse())).x,l.y]}var o=n.getBoundingClientRect();return[e.clientX-o.left-n.clientLeft,e.clientY-o.top-n.clientTop]},xD=function(n){var e=wD();return e.changedTouches&&(e=e.changedTouches[0]),CD(n,e)},SD=function(n,e,t){arguments.length<3&&(t=e,e=wD().changedTouches);for(var l,o=0,r=e?e.length:0;o<r;++o)if((l=e[o]).identifier===t)return CD(n,l);return null},kD=function(){function n(n,e,t){this.element=n,this.movingEventSource=e,this.context=t,this.activated=!1}return n.prototype.ngOnInit=function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(e){n.activated=e,e||n.removelisteners()})},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.onMouseDown=function(n){var e=this;this.activated&&(this.mousemoveListener=function(n){bD(e.element.nativeElement).selectAll("g.canvas").data([e.context]).attr("transform",function(){return e.context.transformation.x=e.context.transformation.x+n.movementX,e.context.transformation.y=e.context.transformation.y+n.movementY,"translate("+(e.context.getZeroZeroTransformationPoint().x+e.context.transformation.x)+", "+(e.context.getZeroZeroTransformationPoint().y+e.context.transformation.y)+") scale("+e.context.transformation.k+")"})},this.mouseupListener=function(n){e.removelisteners()},this.element.nativeElement.addEventListener("mouseup",this.mouseupListener),this.element.nativeElement.addEventListener("mousemove",this.mousemoveListener))},n.prototype.removelisteners=function(){this.element.nativeElement.removeEventListener("mouseup",this.mouseupListener),this.element.nativeElement.removeEventListener("mousemove",this.mousemoveListener)},n}(),ED=function(){function n(n){this.context=n,this.scaleChangeEmitter=new o.EventEmitter,this.currentScale=1}return n.prototype.getScale=function(){return this.currentScale},n.prototype.setScale=function(n){this.currentScale=n,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n.prototype.resetToDefault=function(){this.currentScale=1,this.context.transformation.k=this.currentScale,this.scaleChangeEmitter.emit(this.currentScale)},n}(),TD=function(){function n(n,e,t,l){this.element=n,this.movingEventSource=e,this.context=t,this.mapsScaleService=l}return n.prototype.ngOnInit=function(){var n=this;this.movingModeState=this.movingEventSource.movingModeState.subscribe(function(e){e?n.addListener():n.removeListener()})},n.prototype.ngOnDestroy=function(){this.movingModeState.unsubscribe()},n.prototype.addListener=function(){var n=this;this.wheelListener=function(e){e.stopPropagation(),e.preventDefault();var t=e.deltaY;t=0===e.deltaMode?t/100:t/3,bD(n.element.nativeElement).selectAll("g.canvas").data([n.context]).attr("transform",function(){n.context.transformation.k=n.context.transformation.k-t/10;var e=n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,l=n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y,o=n.context.transformation.k;return n.mapsScaleService.setScale(o),"translate("+e+", "+l+") scale("+o+")"})},this.element.nativeElement.addEventListener("wheel",this.wheelListener,{passive:!1})},n.prototype.removeListener=function(){this.element.nativeElement.removeEventListener("wheel",this.wheelListener)},n}(),RD=function(){return function(){this.dragged=new o.EventEmitter,this.resized=new o.EventEmitter,this.selected=new o.EventEmitter,this.pointToAddSelected=new o.EventEmitter,this.saved=new o.EventEmitter,this.textAdded=new o.EventEmitter,this.textEdited=new o.EventEmitter,this.textSaved=new o.EventEmitter}}(),ID=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(function(){return function(n,e,t){this.datum=n,this.dx=e,this.dy=t}}()),DD=function(){return function(n,e,t,l,o){this.datum=n,this.x=e,this.y=t,this.width=l,this.height=o}}(),OD=function(){return function(n,e){this.x=n,this.y=e}}(),FD=function(){return function(n,e,t){this.datum=n,this.x=e,this.y=t}}(),ND=function(){return function(n,e,t){this.savedText=n,this.x=e,this.y=t}}(),MD=function(){return function(n,e,t){this.textDrawingId=n,this.editedText=e,this.textElement=t}}(),AD=function(){return function(n,e){this.event=n,this.drawing=e}}(),qD=function(){return function(n,e){this.event=n,this.link=e}}(),PD=function(){return function(n,e){this.event=n,this.interfaceLabel=e}}(),jD=function(){return function(n,e){this.event=n,this.label=e}}(),LD=function(){function n(n,e){this.drawingsEventSource=n,this.context=e}return n.prototype.ngOnInit=function(){var n=this;this.drawingSelected=this.drawingsEventSource.selected.subscribe(function(e){""===e?n.deactivate():n.activate()})},n.prototype.activate=function(){var n=this;this.deactivate(),this.mapListener=function(e){var t=(e.pageX-(n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x))/n.context.transformation.k,l=(e.pageY-(n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y))/n.context.transformation.k;n.drawingsEventSource.pointToAddSelected.emit(new OD(t,l)),n.deactivate()},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivate=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.ngOnDestroy=function(){this.drawingSelected.unsubscribe()},n}(),VD=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function BD(n){return o["\u0275vid"](0,[],null,null)}var zD=function(){return function(){}}(),UD=function(){function n(){}return n.prototype.convert=function(n){var e=new zD;e.text=n.textContent;var t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");l&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("font-family");o&&(e.font_family=o.value);var r=n.attributes.getNamedItem("font-size");r&&(e.font_size=+r.value);var i=n.attributes.getNamedItem("font-weight");i&&(e.font_weight=i.value);var a=n.attributes.getNamedItem("text-decoration");return a&&(e.text_decoration=a.value),e},n}(),HD=function(){return function(){}}(),ZD=function(){function n(){}return n.prototype.convert=function(n){var e=new HD,t=n.attributes.getNamedItem("xlink:href");t&&(e.data=t.value);var l=n.attributes.getNamedItem("width");l&&(e.width=parseInt(l.value,10));var o=n.attributes.getNamedItem("height");return o&&(e.height=parseInt(o.value,10)),e},n}(),WD=function(){return function(){}}(),GD=function(){function n(){}return n.prototype.convert=function(n){var e=new WD,t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");t&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("stroke");o&&(e.stroke=o.value);var r=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(r.value,10));var i=n.attributes.getNamedItem("stroke-dasharray");i&&(e.stroke_dasharray=i.value);var a=n.attributes.getNamedItem("width");a&&(e.width=parseInt(a.value,10));var u=n.attributes.getNamedItem("height");return u&&(e.height=parseInt(u.value,10)),e},n}(),KD=function(){return function(){}}(),YD=function(){function n(){}return n.prototype.convert=function(n){var e=new KD,t=n.attributes.getNamedItem("stroke");t&&(e.stroke=t.value);var l=n.attributes.getNamedItem("stroke-width");t&&(e.stroke_width=parseInt(l.value,10));var o=n.attributes.getNamedItem("stroke-dasharray");o&&(e.stroke_dasharray=o.value);var r=n.attributes.getNamedItem("x1");r&&(e.x1=parseInt(r.value,10));var i=n.attributes.getNamedItem("x2");i&&(e.x2=parseInt(i.value,10));var a=n.attributes.getNamedItem("y1");a&&(e.y1=parseInt(a.value,10));var u=n.attributes.getNamedItem("y2");return u&&(e.y2=parseInt(u.value,10)),e},n}(),$D=function(){return function(){}}(),XD=function(){function n(){}return n.prototype.convert=function(n){var e=new $D,t=n.attributes.getNamedItem("fill");t&&(e.fill=t.value);var l=n.attributes.getNamedItem("fill-opacity");t&&(e.fill_opacity=parseFloat(l.value));var o=n.attributes.getNamedItem("stroke");o&&(e.stroke=o.value);var r=n.attributes.getNamedItem("stroke-width");o&&(e.stroke_width=parseInt(r.value,10));var i=n.attributes.getNamedItem("stroke-dasharray");i&&(e.stroke_dasharray=i.value);var a=n.attributes.getNamedItem("cx");a&&(e.cx=parseInt(a.value,10));var u=n.attributes.getNamedItem("cy");u&&(e.cy=parseInt(u.value,10));var s=n.attributes.getNamedItem("rx");s&&(e.rx=parseInt(s.value,10));var d=n.attributes.getNamedItem("ry");return d&&(e.ry=parseInt(d.value,10)),e},n}(),QD=function(){function n(){this.parser=new DOMParser,this.elementParsers={text:new UD,image:new ZD,rect:new GD,line:new YD,ellipse:new XD}}return n.prototype.supportedTags=function(){return Object.keys(this.elementParsers)},n.prototype.convert=function(n){var e=this.parser.parseFromString(n,"text/xml").getElementsByTagName("svg");if(1!==e.length)throw new Error("Cannot locate svg element root in '"+n+"'");var t=e[0],l=null,o=null;for(var r in t.children){var i=(o=t.children[r]).nodeName;if(i in this.elementParsers){l=this.elementParsers[i];break}}if(null===l)throw new Error("Cannot find parser for '"+n+"'");var a=l.convert(o);return a.width=+t.getAttribute("width"),a.height=+t.getAttribute("height"),a},n}(),JD={value:function(){}};function nO(){for(var n,e=0,t=arguments.length,l={};e<t;++e){if(!(n=arguments[e]+"")||n in l)throw new Error("illegal type: "+n);l[n]=[]}return new eO(l)}function eO(n){this._=n}function tO(n,e){return n.trim().split(/^|\s+/).map(function(n){var t="",l=n.indexOf(".");if(l>=0&&(t=n.slice(l+1),n=n.slice(0,l)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:t}})}function lO(n,e){for(var t,l=0,o=n.length;l<o;++l)if((t=n[l]).name===e)return t.value}function oO(n,e,t){for(var l=0,o=n.length;l<o;++l)if(n[l].name===e){n[l]=JD,n=n.slice(0,l).concat(n.slice(l+1));break}return null!=t&&n.push({name:e,value:t}),n}eO.prototype=nO.prototype={constructor:eO,on:function(n,e){var t,l=this._,o=tO(n+"",l),r=-1,i=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++r<i;)if(t=(n=o[r]).type)l[t]=oO(l[t],n.name,e);else if(null==e)for(t in l)l[t]=oO(l[t],n.name,null);return this}for(;++r<i;)if((t=(n=o[r]).type)&&(t=lO(l[t],n.name)))return t},copy:function(){var n={},e=this._;for(var t in e)n[t]=e[t].slice();return new eO(n)},call:function(n,e){if((t=arguments.length-2)>0)for(var t,l,o=new Array(t),r=0;r<t;++r)o[r]=arguments[r+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(r=0,t=(l=this._[n]).length;r<t;++r)l[r].value.apply(e,o)},apply:function(n,e,t){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var l=this._[n],o=0,r=l.length;o<r;++o)l[o].value.apply(e,t)}};var rO=nO;function iO(){iD.stopImmediatePropagation()}var aO=function(){iD.preventDefault(),iD.stopImmediatePropagation()},uO=function(n){var e=n.document.documentElement,t=bD(n).on("dragstart.drag",aO,!0);"onselectstart"in e?t.on("selectstart.drag",aO,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function sO(n,e){var t=n.document.documentElement,l=bD(n).on("dragstart.drag",null);e&&(l.on("click.drag",aO,!0),setTimeout(function(){l.on("click.drag",null)},0)),"onselectstart"in t?l.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}var dO=function(n){return function(){return n}};function cO(n,e,t,l,o,r,i,a,u,s){this.target=n,this.type=e,this.subject=t,this.identifier=l,this.active=o,this.x=r,this.y=i,this.dx=a,this.dy=u,this._=s}function pO(){return!iD.button}function fO(){return this.parentNode}function hO(n){return null==n?{x:iD.x,y:iD.y}:n}function mO(){return"ontouchstart"in this}cO.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};var vO=function(){var n,e,t,l,o=pO,r=fO,i=hO,a=mO,u={},s=rO("start","drag","end"),d=0,c=0;function p(n){n.on("mousedown.drag",f).filter(a).on("touchstart.drag",v).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){if(!l&&o.apply(this,arguments)){var i=_("mouse",r.apply(this,arguments),xD,this,arguments);i&&(bD(iD.view).on("mousemove.drag",h,!0).on("mouseup.drag",m,!0),uO(iD.view),iO(),t=!1,n=iD.clientX,e=iD.clientY,i("start"))}}function h(){if(aO(),!t){var l=iD.clientX-n,o=iD.clientY-e;t=l*l+o*o>c}u.mouse("drag")}function m(){bD(iD.view).on("mousemove.drag mouseup.drag",null),sO(iD.view,t),aO(),u.mouse("end")}function v(){if(o.apply(this,arguments)){var n,e,t=iD.changedTouches,l=r.apply(this,arguments),i=t.length;for(n=0;n<i;++n)(e=_(t[n].identifier,l,SD,this,arguments))&&(iO(),e("start"))}}function g(){var n,e,t=iD.changedTouches,l=t.length;for(n=0;n<l;++n)(e=u[t[n].identifier])&&(aO(),e("drag"))}function b(){var n,e,t=iD.changedTouches,o=t.length;for(l&&clearTimeout(l),l=setTimeout(function(){l=null},500),n=0;n<o;++n)(e=u[t[n].identifier])&&(iO(),e("end"))}function _(n,e,t,l,o){var r,a,c,f=t(e,n),h=s.copy();if(pD(new cO(p,"beforestart",r,n,d,f[0],f[1],0,0,h),function(){return null!=(iD.subject=r=i.apply(l,o))&&(a=r.x-f[0]||0,c=r.y-f[1]||0,!0)}))return function i(s){var m,v=f;switch(s){case"start":u[n]=i,m=d++;break;case"end":delete u[n],--d;case"drag":f=t(e,n),m=d}pD(new cO(p,s,r,n,m,f[0]+a,f[1]+c,f[0]-v[0],f[1]-v[1],h),h.apply,h,[s,l,o])}}return p.filter=function(n){return arguments.length?(o="function"==typeof n?n:dO(!!n),p):o},p.container=function(n){return arguments.length?(r="function"==typeof n?n:dO(n),p):r},p.subject=function(n){return arguments.length?(i="function"==typeof n?n:dO(n),p):i},p.touchable=function(n){return arguments.length?(a="function"==typeof n?n:dO(!!n),p):a},p.on=function(){var n=s.on.apply(s,arguments);return n===s?p:n},p.clickDistance=function(n){return arguments.length?(c=(n=+n)*n,p):Math.sqrt(c)},p},gO=function(){return function(){}}(),bO=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(gO),_O=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(gO),yO=function(n){function e(e){var t=n.call(this)||this;return t.datum=e,t}return s.__extends(e,n),e}(gO),wO=function(){function n(){this.start=new o.EventEmitter,this.drag=new o.EventEmitter,this.end=new o.EventEmitter}return n.prototype.call=function(n){n.call(this.behaviour())},n.prototype.behaviour=function(){var n,e,t,l=this;return vO().on("start",function(o){e=iD.sourceEvent.clientX,t=iD.sourceEvent.clientY,(n=new bO(o)).dx=iD.dx,n.dy=iD.dy,n.x=iD.x,n.y=iD.y,l.start.emit(n)}).on("drag",function(n){var o=new _O(n);o.dx=iD.sourceEvent.clientX-e,o.dy=iD.sourceEvent.clientY-t,e=iD.sourceEvent.clientX,t=iD.sourceEvent.clientY,l.drag.emit(o)}).on("end",function(e){var t=new yO(e);t.dx=iD.x-n.x,t.dy=iD.y-n.y,l.end.emit(t)})},n}(),CO=t("zahk"),xO=function(){function n(){}return n.prototype.fix=function(e){return e.font_family===n.DEFAULT_FONT&&e.font_size===n.DEFAULT_SIZE&&(e.font_family=n.REPLACE_BY_FONT,e.font_size=n.REPLACE_BY_SIZE),e},n.prototype.fixStyles=function(n){var e=CO.parse(n,{context:"declarationList"}),t=null,l=null,o=!0;if(e.children.forEach(function(n){"font-family"===n.property&&n.value.children.forEach(function(n){"Identifier"===n.type&&(t=n),"String"===n.type&&(t=n,o=!1)}),"font-size"===n.property&&n.value.children.forEach(function(n){"Dimension"===n.type&&(l=n)})}),l&&t){var r=l.value,i=this.fix({font_family:(o?t.name:t.value).split('"').join(""),font_size:parseInt(r,10)});o?t.name=i.font_family:t.value=i.font_family,l.value=i.font_size}return CO.generate(e)},n.DEFAULT_FONT="TypeWriter",n.DEFAULT_SIZE=10,n.REPLACE_BY_FONT="Noto Sans",n.REPLACE_BY_SIZE=11,n}(),SO=function(){function n(n){this.fontFixer=n}return n.prototype.draw=function(e){var t=this,l=e.selectAll("text.text_element").data(function(n){return n.element&&n.element instanceof zD?[n.element]:[]}),o=l.enter().append("text").attr("class","text_element noselect"),r=l.merge(o);r.attr("style",function(n){var e=t.fontFixer.fix(n),l=[];return e.font_family&&l.push('font-family: "'+n.font_family+'"'),e.font_size&&l.push("font-size: "+n.font_size+"pt"),e.font_weight&&l.push("font-weight: "+n.font_weight),l.join("; ")}).attr("fill",function(n){return n.fill}).attr("text-decoration",function(n){return n.text_decoration});var i=r.selectAll("tspan").data(function(n){return n.text.split(/\r?\n/)}),a=i.enter().append("tspan");i.merge(a).text(function(n){return n}).attr("xml:space","preserve").attr("x",0).attr("dy",function(n,e){return 0===e?"0em":"1.4em"}),i.exit().remove(),r.attr("transform",function(){var e=bD(this).selectAll("tspan"),t=this.getBBox().height/e.size();return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"}),l.exit().remove()},n.MARGIN=4,n}(),kO=function(){function n(){}return n.prototype.draw=function(n){var e=n.selectAll("image.image_element").data(function(n){return n.element&&n.element instanceof HD?[n.element]:[]}),t=e.enter().append("image").attr("class","image_element noselect");e.merge(t).attr("xlink:href",function(n){return n.data}).attr("width",function(n){return n.width}).attr("height",function(n){return n.height}),e.exit().remove()},n}(),EO=function(){function n(){}return n.prototype.fix=function(e){return e in n.MAPPING?n.MAPPING[e]:e},n.MAPPING={"25, 25":"10, 2","5, 25":"4, 2","5, 25, 25":"5, 5, 1, 5","25, 25, 5, 25, 5":"5, 2, 5, 2, 5"},n}(),TO=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("rect.rect_element").data(function(n){return n.element&&n.element instanceof WD?[n.element]:[]});t.enter().append("line").attr("class","top"),t.enter().append("line").attr("class","bottom"),t.enter().append("line").attr("class","right"),t.enter().append("line").attr("class","left");var l=t.enter().append("rect").attr("class","rect_element noselect");t.merge(l).attr("fill",function(n){return n.fill}).attr("fill-opacity",function(n){return n.fill_opacity}).attr("stroke",function(n){return n.stroke}).attr("stroke-width",function(n){return n.stroke_width}).attr("stroke-dasharray",function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)}).attr("width",function(n){return n.width}).attr("height",function(n){return n.height}),t.exit().remove()},n}(),RO=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("line.line_element").data(function(n){return n.element&&n.element instanceof KD?[n.element]:[]});t.enter().append("circle").attr("class","right"),t.enter().append("circle").attr("class","left");var l=t.enter().append("line").attr("class","line_element noselect");t.merge(l).attr("stroke",function(n){return n.stroke}).attr("stroke-width",function(n){return n.stroke_width}).attr("stroke-dasharray",function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)}).attr("x1",function(n){return n.x1}).attr("x2",function(n){return n.x2}).attr("y1",function(n){return n.y1}).attr("y2",function(n){return n.y2}),t.exit().remove()},n}(),IO=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.draw=function(n){var e=this,t=n.selectAll("ellipse.ellipse_element").data(function(n){return n.element&&n.element instanceof $D?[n.element]:[]});t.enter().append("line").attr("class","top"),t.enter().append("line").attr("class","bottom"),t.enter().append("line").attr("class","right"),t.enter().append("line").attr("class","left");var l=t.enter().append("ellipse").attr("class","ellipse_element noselect");t.merge(l).attr("fill",function(n){return n.fill}).attr("fill-opacity",function(n){return n.fill_opacity}).attr("stroke",function(n){return n.stroke}).attr("stroke-width",function(n){return n.stroke_width}).attr("stroke-dasharray",function(n){return e.qtDasharrayFixer.fix(n.stroke_dasharray)}).attr("cx",function(n){return n.cx}).attr("cy",function(n){return n.cy}).attr("rx",function(n){return n.rx}).attr("ry",function(n){return n.ry}),t.exit().remove()},n}(),DO=function(){function n(){this.selection={},this.selected=new o.EventEmitter,this.unselected=new o.EventEmitter}return n.prototype.setSelected=function(n){var e=this,t=this.convertToKeyDict(n),l=Object.keys(t).filter(function(n){return!e.isSelectedByKey(n)}).map(function(n){return t[n]}),o=Object.keys(this.selection).filter(function(n){return!(n in t)}).map(function(n){return e.selection[n]});this.selection=t,l.length>0&&this.selected.emit(l),o.length>0&&this.unselected.emit(o)},n.prototype.getSelected=function(){var n=this;return Object.keys(this.selection).map(function(e){return n.selection[e]})},n.prototype.isSelected=function(n){var e=this.getKey(n);return this.isSelectedByKey(e)},n.prototype.isSelectedByKey=function(n){return n in this.selection},n.prototype.getKey=function(n){return n.constructor.name+"-"+n.id},n.prototype.convertToKeyDict=function(n){var e=this,t={};return n.forEach(function(n){t[e.getKey(n)]=n}),t},n}(),OO=function(){function n(n,e,t,l,o,r){this.textDrawingWidget=n,this.imageDrawingWidget=e,this.rectDrawingWidget=t,this.lineDrawingWidget=l,this.ellipseDrawingWidget=o,this.selectionManager=r,this.drawingWidgets=[],this.drawingWidgets=[this.textDrawingWidget,this.imageDrawingWidget,this.rectDrawingWidget,this.lineDrawingWidget,this.ellipseDrawingWidget]}return n.prototype.draw=function(n){var e=this,t=n.selectAll("g.drawing_body").data(function(n){return[n]}),l=t.enter().append("g").attr("class","drawing_body"),o=t.merge(l).attr("transform",function(n){return"translate("+n.x+","+n.y+") rotate("+n.rotation+")"});this.drawingWidgets.forEach(function(n){n.draw(o)}),o.select("line.top").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(n){return n.element instanceof $D?n.element.cx-n.element.width/10:"0"}).attr("x2",function(n){return n.element instanceof $D?n.element.cx+n.element.width/10:n.element.width}).attr("y1","0").attr("y2","0").attr("draggable","true").attr("cursor","ns-resize"),o.select("line.bottom").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(n){return n.element instanceof $D?n.element.cx-n.element.width/10:"0"}).attr("x2",function(n){return n.element instanceof $D?n.element.cx+n.element.width/10:n.element.width}).attr("y1",function(n){return n.element.height}).attr("y2",function(n){return n.element.height}).attr("draggable","true").attr("cursor","ns-resize"),o.select("line.right").attr("stroke","transparent").attr("stroke-width","8px").attr("x1","0").attr("x2","0").attr("y1",function(n){return n.element instanceof $D?n.element.cy-n.element.height/10:"0"}).attr("y2",function(n){return n.element instanceof $D?n.element.cy+n.element.height/10:n.element.height}).attr("draggable","true").attr("cursor","ew-resize"),o.select("line.left").attr("stroke","transparent").attr("stroke-width","8px").attr("x1",function(n){return n.element.width}).attr("x2",function(n){return n.element.width}).attr("y1",function(n){return n.element instanceof $D?n.element.cy-n.element.height/10:"0"}).attr("y2",function(n){return n.element instanceof $D?n.element.cy+n.element.height/10:n.element.height}).attr("draggable","true").attr("cursor","ew-resize"),o.select("circle.left").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(n){return n.element.x1}).attr("cy",function(n){return n.element.y1}).attr("r",10).attr("cursor","move"),o.select("circle.right").attr("draggable","true").attr("fill","transparent").attr("stroke","transparent").attr("cx",function(n){return n.element.x2}).attr("cy",function(n){return n.element.y2}).attr("r",10).attr("cursor","move"),o.classed("drawing_selected",function(n){return e.selectionManager.isSelected(n)})},n}(),FO=function(){return function(){}}(),NO=function(){return function(){this.isReadOnly=!1}}(),MO=function(){function n(n,e,t,l){this.drawingWidget=n,this.svgToDrawingConverter=e,this.context=t,this.mapSettings=l,this.draggable=new wO,this.draggingEnabled=!1,this.resizingFinished=new o.EventEmitter,this.onContextMenu=new o.EventEmitter,this.svgToDrawingConverter=new QD}return n.prototype.redrawDrawing=function(n,e){this.drawingWidget.draw(this.selectDrawing(n,e))},n.prototype.draw=function(n){var e,t,l,o,r=this,i=n.selectAll("g.drawing").data(function(n){return n.drawings.forEach(function(n){try{n.element=r.svgToDrawingConverter.convert(n.svg)}catch(e){console.log("Cannot convert due to Error: '"+e+"'")}}),n.drawings},function(n){return n.id}),a=i.enter().append("g").attr("class","drawing").attr("drawing_id",function(n){return n.id}).on("contextmenu",function(n){iD.preventDefault(),r.onContextMenu.emit(new AD(iD,n))}),u=i.merge(a);this.drawingWidget.draw(u),i.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(u);var s,d,c,p,f=!1,h=vO().on("start",function(n){document.body.style.cursor="ns-resize",l=n.y}).on("drag",function(o){var i=iD;f?(t=e-(i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y)),e=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o.element.height+t<0?(f=!1,e=l,o.element.height=Math.abs(o.element.height+i.dy)):(o.y=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o.element.height+=t,o.element instanceof $D&&(o.element.cy=o.element.cy+t/2<0?1:o.element.cy+=t/2,o.element.ry=o.element.ry+t/2<0?1:o.element.ry+=t/2))):o.element.height+i.dy<0?(f=!0,e=l,o.element.height=Math.abs(o.element.height+i.dy)):(o.element.height+=i.dy,o.element instanceof $D&&(o.element.cy=o.element.cy+i.dy/2<0?1:o.element.cy+=i.dy/2,o.element.ry=o.element.ry+i.dy/2<0?1:o.element.ry+=i.dy/2)),r.redrawDrawing(n,o)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),m=vO().on("start",function(n){e=iD.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),o=e+n.element.height,document.body.style.cursor="ns-resize"}).on("drag",function(l){var i=iD;f?l.element.height+i.dy<0?(f=!1,e=o,l.element.height=Math.abs(l.element.height+i.dy)):(l.element.height+=i.dy,l.element instanceof $D&&(l.element.cy=l.element.cy+i.dy/2<0?1:l.element.cy+=i.dy/2,l.element.ry=l.element.ry+i.dy/2<0?1:l.element.ry+=i.dy/2)):(t=e-(i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y)),e=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),l.element.height+t<0?(e=o,f=!0,l.element.height=Math.abs(l.element.height+i.dy)):(l.y=i.sourceEvent.pageY-(r.context.getZeroZeroTransformationPoint().y+r.context.transformation.y),l.element.height+=t,l.element instanceof $D&&(l.element.cy=l.element.cy+t/2<0?1:l.element.cy+=t/2,l.element.ry=l.element.ry+t/2<0?1:l.element.ry+=t/2))),r.redrawDrawing(n,l)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),v=!1,g=vO().on("start",function(n){s=iD.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),p=s+n.element.width,document.body.style.cursor="ew-resize"}).on("drag",function(e){var t=iD;v?e.element.width+t.dx<0?(s=p,v=!1,e.element.width=Math.abs(e.element.width+t.dx)):(e.element instanceof $D&&(e.element.cx=e.element.cx+t.dx/2<0?1:e.element.cx+=t.dx/2,e.element.rx=e.element.rx+t.dx/2<0?1:e.element.rx+=t.dx/2),e.element.width=e.element.width+t.dx<0?1:e.element.width+=t.dx):(d=s-(t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x)),s=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+d<0?(s=p,v=!0,e.element.width=Math.abs(e.element.width+t.dx)):(e.x=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+=d,e.element instanceof $D&&(e.element.cx=e.element.cx+d/2<0?1:e.element.cx+=d/2,e.element.rx=e.element.rx+d/2<0?1:e.element.rx+=d/2))),r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),b=vO().on("start",function(n){document.body.style.cursor="ew-resize",c=n.x}).on("drag",function(e){var t=iD;v?(d=s-(t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x)),s=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+d<0?(s=c,v=!1,e.element.width=Math.abs(e.element.width+t.dx)):(e.x=t.sourceEvent.pageX-(r.context.getZeroZeroTransformationPoint().x+r.context.transformation.x),e.element.width+=d,e.element instanceof $D&&(e.element.cx=e.element.cx+d/2<0?1:e.element.cx+=d/2,e.element.rx=e.element.rx+d/2<0?1:e.element.rx+=d/2))):e.element.width+t.dx<0?(s=c,v=!0,e.element.width=Math.abs(e.element.width+t.dx)):(e.element instanceof $D&&(e.element.cx=e.element.cx+t.dx/2<0?1:e.element.cx+=t.dx/2,e.element.rx=e.element.rx+t.dx/2<0?1:e.element.rx+=t.dx/2),e.element.width=e.element.width+t.dx<0?1:e.element.width+=t.dx),r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),_=vO().on("start",function(){document.body.style.cursor="move"}).on("drag",function(e){var t=iD;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x2+=t.dx,e.element.y2+=t.dy,r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))}),y=vO().on("start",function(){document.body.style.cursor="move"}).on("drag",function(e){var t=iD;e.element.width+=t.dx,e.element.height+=t.dy,e.element.x1+=t.dx,e.element.y1+=t.dy,r.redrawDrawing(n,e)}).on("end",function(n){document.body.style.cursor="initial",r.resizingFinished.emit(r.createResizingEvent(n))});u.select("line.bottom").call(h),u.select("line.top").call(m),u.select("line.right").call(g),u.select("line.left").call(b),u.select("circle.right").call(_),u.select("circle.left").call(y)},n.prototype.createResizingEvent=function(n){var e=new FO;return e.x=n.x,e.y=n.y,e.width=n.element.width,e.height=n.element.height,e.datum=n,e},n.prototype.selectDrawing=function(n,e){return n.selectAll('g.drawing[drawing_id="'+e.id+'"]')},n}(),AO=function(){function n(n,e){this.drawingsWidget=n,this.drawingsEventSource=e}return n.prototype.ngOnInit=function(){var n=this;this.resizingFinished=this.drawingsWidget.resizingFinished.subscribe(function(e){n.drawingsEventSource.resized.emit(new DD(e.datum,e.x,e.y,e.width,e.height))})},n.prototype.ngOnDestroy=function(){this.resizingFinished.unsubscribe()},n}(),qO=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function PO(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var jO=function(){return function(){this.selected=new A.b}}(),LO=function(){return function(){}}(),VO=function(){return function(){}}(),BO=function(){function n(){}return n.prototype.calculate=function(n,e){var t=document.createElement("text");t.innerText=n,t.setAttribute("fill","#00000"),t.setAttribute("fill-opacity","0"),t.setAttribute("style",e),document.documentElement.appendChild(t);var l=t.getBoundingClientRect();return document.documentElement.removeChild(t),{width:l.width,height:l.height}},n}(),zO=function(){function n(){}return n.prototype.fix=function(n){var e=CO.parse(n,{context:"declarationList"});return e.children.forEach(function(n){"font-size"===n.property&&n.value.children.forEach(function(n){if("Number"===n.type){var e=n.value.toString();e.indexOf("pt")>=0||e.indexOf("px")>=0||(n.value=e+"pt")}})}),CO.generate(e)},n}(),UO=function(){function n(n,e,t){this.fontBBoxCalculator=n,this.cssFixer=e,this.fontFixer=t}return n.prototype.convert=function(n,e){var t=new VO;t.rotation=n.rotation,t.style=n.style,t.text=n.text,t.x=n.x,t.y=n.y,t.originalX=n.x,t.originalY=n.y,void 0!==e&&(t.id=e.node_id,t.nodeId=e.node_id);var l=this.cssFixer.fix(t.style),o=this.fontFixer.fixStyles(l),r=this.fontBBoxCalculator.calculate(t.text,o);return null!==t.x&&(t.x+=3),null!==t.y&&(t.y+=r.height),t},n}(),HO=function(){return function(){}}(),ZO=function(){function n(){}return n.prototype.convert=function(n){var e=new HO;return e.adapterNumber=n.adapter_number,e.linkType=n.link_type,e.name=n.name,e.portNumber=n.port_number,e.shortName=n.short_name,e},n}(),WO=function(){function n(n,e,t,l,o){this.labelToMapLabel=n,this.portToMapPort=e,this.fontBBoxCalculator=t,this.cssFixer=l,this.fontFixer=o}return n.prototype.convert=function(n){var e=this,t=new LO;if(t.id=n.node_id,t.commandLine=n.command_line,t.computeId=n.compute_id,t.console=n.console,t.consoleHost=n.console_host,t.firstPortName=n.first_port_name,t.height=n.height,t.label=this.labelToMapLabel.convert(n.label,{node_id:n.node_id}),t.name=n.name,t.nodeDirectory=n.node_directory,t.nodeType=n.node_type,t.portNameFormat=n.port_name_format,t.portSegmentSize=n.port_segment_size,t.ports=n.ports.map(function(n){return e.portToMapPort.convert(n)}),t.projectId=n.project_id,t.status=n.status,t.symbol=n.symbol,t.symbolUrl=n.symbol_url,t.width=n.width,t.x=n.x,t.y=n.y,t.z=n.z,void 0!==t.label){var l=this.cssFixer.fix(t.label.style),o=this.fontFixer.fixStyles(l),r=this.fontBBoxCalculator.calculate(t.label.text,o);null!==n.label.x&&null!==n.label.y||(t.label.x=n.width/2-r.width/2+3,t.label.y=-8)}return t},n}(),GO=function(){return function(){}}(),KO=function(){function n(n){this.labelToMapLabel=n}return n.prototype.convert=function(n,e){var t=new GO;return t.nodeId=n.node_id,t.adapterNumber=n.adapter_number,t.portNumber=n.port_number,t.label=this.labelToMapLabel.convert(n.label),void 0!==e&&(t.linkId=e.link_id,t.id=t.nodeId+"-"+t.linkId),t},n}(),YO=function(){return function(){this.isSelected=!1}}(),$O=function(){function n(n){this.linkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new YO;return t.id=n.link_id,t.captureFileName=n.capture_file_name,t.captureFilePath=n.capture_file_path,t.capturing=n.capturing,t.filters=n.filters,t.linkType=n.link_type,t.nodes=n.nodes.map(function(t){return e.linkNodeToMapLinkNode.convert(t,{link_id:n.link_id})}),t.projectId=n.project_id,t.suspend=n.suspend,t},n}(),XO=function(){return function(){}}(),QO=function(){function n(){}return n.prototype.convert=function(n){var e=new XO;return e.id=n.drawing_id,e.projectId=n.project_id,e.rotation=n.rotation,e.svg=n.svg,e.x=n.x,e.y=n.y,e.z=n.z,e},n}(),JO=function(){return function(){}}(),nF=function(){function n(){}return n.prototype.convert=function(n){var e=new JO;return e.id=n.symbol_id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),eF=function(){return function(n,e,t,l){void 0===e&&(e=[]),void 0===t&&(t=[]),void 0===l&&(l=[]),this.index=n,this.nodes=e,this.drawings=t,this.links=l}}(),tF=function(){function n(){this.layers={}}return n.prototype.getLayersList=function(){var n=this;return Object.keys(this.layers).sort(function(n,e){return Number(n)-Number(e)}).map(function(e){return n.layers[e]})},n.prototype.setNodes=function(n){var e=this;n.forEach(function(n){e.getLayerForKey(n.z.toString()).nodes.push(n)})},n.prototype.setDrawings=function(n){var e=this;n.forEach(function(n){e.getLayerForKey(n.z.toString()).drawings.push(n)})},n.prototype.setLinks=function(n){var e=this;n.filter(function(n){return n.source&&n.target}).forEach(function(n){var t=Math.min(n.source.z,n.target.z).toString();e.getLayerForKey(t).links.push(n)})},n.prototype.clear=function(){this.layers={}},n.prototype.getLayerForKey=function(n){return n in this.layers||(this.layers[n]=new eF,this.layers[n].index=Number(n)),this.layers[n]},n}(),lF=function(){function n(){this.data=[],this.dataChange=new E.a([]),this.itemUpdated=new A.b}return n.prototype.getItems=function(){return this.data},n.prototype.add=function(n){this.findIndex(n)>=0?this.update(n):(this.data.push(n),this.dataChange.next(this.data))},n.prototype.set=function(n){var e=this;n.forEach(function(n){var t=e.findIndex(n);if(t>=0){var l=Object.assign(e.data[t],n);e.data[t]=l}else e.data.push(n)}),this.data.filter(function(t){return 0===n.filter(function(n){return e.getItemKey(n)===e.getItemKey(t)}).length}).forEach(function(n){return e.remove(n)}),this.dataChange.next(this.data)},n.prototype.get=function(n){var e=this,t=this.data.findIndex(function(t){return e.getItemKey(t)===n});if(t>=0)return this.data[t]},n.prototype.update=function(n){var e=this.findIndex(n);if(e>=0){var t=Object.assign(this.data[e],n);this.data[e]=t,this.dataChange.next(this.data),this.itemUpdated.next(t)}},n.prototype.remove=function(n){var e=this.findIndex(n);e>=0&&(this.data.splice(e,1),this.dataChange.next(this.data))},Object.defineProperty(n.prototype,"changes",{get:function(){return this.dataChange},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"itemChanged",{get:function(){return this.itemUpdated},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.data=[],this.dataChange.next(this.data)},n.prototype.findIndex=function(n){var e=this;return this.data.findIndex(function(t){return e.getItemKey(t)===e.getItemKey(n)})},n}(),oF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.id},e}(lF),rF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(oF),iF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(oF),aF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(oF),uF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(oF),sF=function(){function n(){this.LINK_WIDTH=2}return n.prototype.linkTranslation=function(n,e,t){var l,o,r=t.y-e.y;if(0===r)l=0,o=n;else{var i=Math.atan((t.x-e.x)/r);l=-n*Math.cos(i),o=n*Math.sin(i)}return{dx:l,dy:o}},n.prototype.assignDataToLinks=function(n){var e=this,t={};n.forEach(function(n,l){var o=n.source.id,r=n.target.id,i=o<r?o+","+r:r+","+o,a=1;i in t?a=t[i].push(l):t[i]=[l],n.distance=a%2==0?a*e.LINK_WIDTH:(1-a)*e.LINK_WIDTH})},n}(),dF=function(){function n(n,e,t,l,o,r,i,a,u,s){this.mapNodesDataSource=n,this.mapLinksDataSource=e,this.mapDrawingsDataSource=t,this.mapSymbolsDataSource=l,this.nodeToMapNode=o,this.linkToMapLink=r,this.drawingToMapDrawing=i,this.symbolToMapSymbol=a,this.layersManager=u,this.multiLinkCalculator=s}return n.prototype.setNodes=function(n){var e=this,t=n.map(function(n){return e.nodeToMapNode.convert(n)});this.mapNodesDataSource.set(t),this.assignDataToLinks(),this.onDataUpdate()},n.prototype.setLinks=function(n){var e=this,t=n.map(function(n){return e.linkToMapLink.convert(n)});this.mapLinksDataSource.set(t),this.assignDataToLinks(),this.onDataUpdate()},n.prototype.setDrawings=function(n){var e=this,t=n.map(function(n){return e.drawingToMapDrawing.convert(n)});this.mapDrawingsDataSource.set(t),this.onDataUpdate()},n.prototype.setSymbols=function(n){var e=this,t=n.map(function(n){return e.symbolToMapSymbol.convert(n)});this.mapSymbolsDataSource.set(t)},n.prototype.getNodes=function(){return this.mapNodesDataSource.getItems()},n.prototype.getLinks=function(){return this.mapLinksDataSource.getItems()},n.prototype.getDrawings=function(){return this.mapDrawingsDataSource.getItems()},n.prototype.getSymbols=function(){return this.mapSymbolsDataSource.getItems()},n.prototype.onDataUpdate=function(){this.layersManager.clear(),this.layersManager.setNodes(this.getNodes()),this.layersManager.setLinks(this.getLinks()),this.layersManager.setDrawings(this.getDrawings())},n.prototype.assignDataToLinks=function(){var n={};this.getNodes().forEach(function(e){n[e.id]=e}),this.getLinks().forEach(function(e){var t=e.nodes[0].nodeId,l=e.nodes[1].nodeId;t in n&&(e.source=n[t]),l in n&&(e.target=n[l]),e.source&&e.target&&(e.x=e.source.x+.5*(e.target.x-e.source.x),e.y=e.source.y+.5*(e.target.y-e.source.y))}),this.multiLinkCalculator.assignDataToLinks(this.getLinks())},n}(),cF=function(){function n(){}return n.prototype.inRectangle=function(n,e,t){return n.x<=e&&e<n.x+n.width&&n.y<=t&&t<n.y+n.height},n}(),pF=function(){function n(n,e,t,l){this.selectionEventSource=n,this.graphDataManager=e,this.inRectangleHelper=t,this.selectionManager=l}return n.prototype.ngOnInit=function(){var n=this;this.onSelection=this.selectionEventSource.selected.subscribe(function(e){var t=n.graphDataManager.getNodes().filter(function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)}),l=n.graphDataManager.getLinks().filter(function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)}),o=n.graphDataManager.getDrawings().filter(function(t){return n.inRectangleHelper.inRectangle(e,t.x,t.y)}),r=n.graphDataManager.getNodes().filter(function(t){return void 0!==t.label&&n.inRectangleHelper.inRectangle(e,t.x+t.label.x,t.y+t.label.y)}).map(function(n){return n.label}),i=n.graphDataManager.getLinks().filter(function(t){return void 0!==t.source&&2==t.nodes.length&&void 0!==t.nodes[0].label&&n.inRectangleHelper.inRectangle(e,t.source.x+t.nodes[0].label.x,t.source.y+t.nodes[0].label.y)}).map(function(n){return n.nodes[0]}),a=n.graphDataManager.getLinks().filter(function(t){return void 0!==t.target&&2==t.nodes.length&&void 0!==t.nodes[1].label&&n.inRectangleHelper.inRectangle(e,t.target.x+t.nodes[1].label.x,t.target.y+t.nodes[1].label.y)}).map(function(n){return n.nodes[1]}),u=i.concat(a),s=t.concat(l,o,r,u);n.selectionManager.setSelected(s)})},n.prototype.ngOnDestroy=function(){this.onSelection.unsubscribe()},n}(),fF=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function hF(n){return o["\u0275vid"](0,[],null,null)}var mF=function(){function n(){this.changesDetected=new o.EventEmitter,this.hasBeenDrawn=!1}return n.prototype.detectChanges=function(){this.changesDetected.emit(!0)},n}(),vF=function(){function n(n,e){this.selectionManager=n,this.mapChangeDetectorRef=e}return n.prototype.ngOnInit=function(){var n=this;this.onSelected=this.selectionManager.selected.subscribe(function(){n.mapChangeDetectorRef.detectChanges()}),this.onUnselected=this.selectionManager.unselected.subscribe(function(){n.mapChangeDetectorRef.detectChanges()})},n.prototype.ngOnDestroy=function(){this.onSelected.unsubscribe(),this.onUnselected.unsubscribe()},n}(),gF=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function bF(n){return o["\u0275vid"](0,[],null,null)}var _F=function(){function n(){this.isSelectionToolActivated=new A.b,this.isMovingToolActivated=new A.b,this.isTextEditingToolActivated=new A.b,this.isTextAddingToolActivated=new A.b,this.isDrawLinkToolActivated=new A.b}return n.prototype.selectionToolActivation=function(n){this.isSelectionToolActivated.next(n)},n.prototype.movingToolActivation=function(n){this.isMovingToolActivated.next(n)},n.prototype.textEditingToolActivation=function(n){this.isTextEditingToolActivated.next(n)},n.prototype.textAddingToolActivation=function(n){this.isTextAddingToolActivated.next(n)},n.prototype.drawLinkToolActivation=function(n){this.isDrawLinkToolActivated.next(n)},n}(),yF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.node_id},e}(lF),wF=function(){function n(n){this.httpServer=n}return n.prototype.createLink=function(n,e,t,l,o,r,i,a,u){return this.httpServer.post(n,"/projects/"+e.project_id+"/links",{nodes:[{node_id:e.node_id,port_number:t.port_number,adapter_number:t.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:t.short_name,x:r,y:i}},{node_id:l.node_id,port_number:o.port_number,adapter_number:o.adapter_number,label:{rotation:0,style:"font-size: 10; font-style: Verdana",text:o.short_name,x:a,y:u}}]})},n.prototype.getLink=function(n,e,t){return this.httpServer.get(n,"/projects/"+e+"/links/"+t)},n.prototype.deleteLink=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/links/"+e.link_id)},n.prototype.updateLink=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/links/"+e.link_id,e)},n.prototype.getAvailableFilters=function(n,e){return this.httpServer.get(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/available_filters")},n.prototype.updateNodes=function(n,e,t){var l=t.map(function(n){return{node_id:n.node_id,port_number:n.port_number,adapter_number:n.adapter_number,label:{rotation:n.label.rotation,style:n.label.style,text:n.label.text,x:n.label.x,y:n.label.y}}});return this.httpServer.put(n,"/projects/"+e.project_id+"/links/"+e.link_id,{nodes:l})},n.prototype.startCaptureOnLink=function(n,e,t){return this.httpServer.post(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/start_capture",t)},n.prototype.stopCaptureOnLink=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/stop_capture",{})},n.prototype.streamPcap=function(n,e){return this.httpServer.get(n,"/projects/"+e.project_id+"/links/"+e.link_id+"/pcap")},n}(),CF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.link_id},e}(lF),xF=function(){function n(n,e,t,l,r,i,a,u,s,d){this.drawingsEventSource=n,this.toolsService=e,this.context=t,this.renderer=l,this.mapScaleService=r,this.linkService=i,this.linksDataSource=a,this.nodesDataSource=u,this.selectionManager=s,this.fontFixer=d,this.leftPosition="0px",this.topPosition="0px",this.innerText="",this.addingFinished=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.textAddingSubscription=this.toolsService.isTextAddingToolActivated.subscribe(function(e){e?n.activateTextAdding():n.deactivateTextAdding()}),this.activateTextEditingForDrawings(),this.activateTextEditingForNodeLabels()},n.prototype.activateTextAdding=function(){var n=this;this.deactivateTextAdding(),this.mapListener=function(e){n.leftPosition=e.pageX.toString()+"px",n.topPosition=e.pageY.toString()+"px",n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.temporaryTextElement.nativeElement.focus(),n.textListener=function(){n.drawingsEventSource.textAdded.emit(new ND(n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),e.pageX,e.pageY)),n.deactivateTextAdding(),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener)},this.svg.addEventListener("click",this.mapListener)},n.prototype.deactivateTextAdding=function(){this.svg.removeEventListener("click",this.mapListener)},n.prototype.activateTextEditingForNodeLabels=function(){var n=this,e=bD(this.svg);e.selectAll("g.interface_label_container").select("text.interface_label").on("dblclick",function(t,l,o){n.selectionManager.setSelected([]),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.editedLink=t,bD(o[l]).attr("visibility","hidden"),bD(o[l]).classed("editingMode",!0),n.editedNode=n.nodesDataSource.get(t.nodeId),n.editedLink=t;var r=(t.label.originalX+n.editedNode.x-1)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,i=(t.label.originalY+n.editedNode.y+4)*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=r.toString()+"px",n.topPosition=i.toString()+"px",n.temporaryTextElement.nativeElement.innerText=t.label.text;for(var a=[],u=0,s=t.label.style.split(";");u<s.length;u++){var d=s[u];a.push({property:d.split(": ")[0],value:d.split(": ")[1]})}var c={font_family:a.find(function(n){return"font-family"===n.property})?a.find(function(n){return"font-family"===n.property}).value:"TypeWriter",font_size:a.find(function(n){return"font-size"===n.property})?Number(a.find(function(n){return"font-size"===n.property}).value):10,font_weight:a.find(function(n){return"font-weight"===n.property})?a.find(function(n){return"font-weight"===n.property}).value:"normal"};c=n.fontFixer.fix(c),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",a.find(function(n){return"fill"===n.property})?a.find(function(n){return"fill"===n.property}).value:"#000000"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",c.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size",c.font_size+"pt"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",c.font_weight),n.textListener=function(){var t=n.temporaryTextElement.nativeElement.innerText,l=n.linksDataSource.get(n.editedLink.linkId);l.nodes.find(function(e){return e.node_id===n.editedNode.node_id}).label.text=t,n.linkService.updateLink(n.server,l).subscribe(function(t){e.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")})},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()})},n.prototype.activateTextEditingForDrawings=function(){var n=this,e=bD(this.svg);e.selectAll("text.text_element").on("dblclick",function(t,l,o){n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","initial"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"transform","scale("+n.mapScaleService.getScale()+")"),n.editedElement=t,bD(o[l]).attr("visibility","hidden"),bD(o[l]).classed("editingMode",!0),n.editingDrawingId=o[l].parentElement.parentElement.getAttribute("drawing_id");var r=o[l].parentElement.getAttribute("transform").split(/\(|\)/),i=Number(r[1].split(/,/)[0])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().x+n.context.transformation.x,a=Number(r[1].split(/,/)[1])*n.context.transformation.k+n.context.getZeroZeroTransformationPoint().y+n.context.transformation.y;n.leftPosition=i.toString()+"px",n.topPosition=a.toString()+"px",n.temporaryTextElement.nativeElement.innerText=t.text,n.renderer.setStyle(n.temporaryTextElement.nativeElement,"color",t.fill),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-family",t.font_family),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-size",t.font_size+"pt"),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"font-weight",t.font_weight),n.textListener=function(){n.drawingsEventSource.textEdited.emit(new MD(n.editingDrawingId,n.temporaryTextElement.nativeElement.innerText.replace(/\n$/,""),n.editedElement)),e.selectAll("text.editingMode").attr("visibility","visible").classed("editingMode",!1),n.innerText="",n.temporaryTextElement.nativeElement.innerText="",n.temporaryTextElement.nativeElement.removeEventListener("focusout",n.textListener),n.clearStyle(),n.renderer.setStyle(n.temporaryTextElement.nativeElement,"display","none")},n.temporaryTextElement.nativeElement.addEventListener("focusout",n.textListener),n.temporaryTextElement.nativeElement.focus()})},n.prototype.ngOnDestroy=function(){this.textAddingSubscription.unsubscribe()},n.prototype.clearStyle=function(){this.renderer.setStyle(this.temporaryTextElement.nativeElement,"color","#000000"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-family","Noto Sans"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-size","11pt"),this.renderer.setStyle(this.temporaryTextElement.nativeElement,"font-weight","bold")},n}(),SF=o["\u0275crt"]({encapsulation:0,styles:[[".temporaryElement[_ngcontent-%COMP%]{padding-left:4px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute;z-index:99;font-family:'Noto Sans';font-size:11pt;font-weight:700;color:#000}"]],data:{}});function kF(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{temporaryTextElement:0}),(n()(),o["\u0275eld"](1,0,[[1,0],["temporaryTextElement",1]],null,1,"div",[["class","temporaryElement"],["contenteditable","true"],["id","temporaryElement"]],[[4,"top",null],[4,"left",null]],null,null,null,null)),(n()(),o["\u0275ted"](2,null,[" ","\n"]))],null,function(n,e){var t=e.component;n(e,1,0,t.topPosition,t.leftPosition),n(e,2,0,t.innerText)})}var EF=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e}(function(){return function(n,e){this.event=n,this.node=e}}()),TF=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.onContextMenu=new o.EventEmitter,this.draggable=new wO}return n.prototype.redrawLabel=function(n,e){this.drawLabel(this.selectLabel(n,e))},n.prototype.draw=function(n){var e=this,t=n.selectAll("g.label_container").data(function(n){return[n.label]}),l=t.enter().append("g").attr("class","label_container").attr("label_id",function(n){return n.id}),o=t.merge(l).on("contextmenu",function(n,t){event.preventDefault(),e.onContextMenu.emit(new jD(event,n))});this.drawLabel(o),t.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(t)},n.prototype.drawLabel=function(n){var e=this,t=n.selectAll("g.label_body").data(function(n){return[n]}),l=t.enter().append("g").attr("class","label_body");l.append("text").attr("class","label"),l.append("rect").attr("class","label_selection");var o=t.merge(l);o.select("text.label").attr("label_id",function(n){return n.id}).attr("style",function(n){var t=e.cssFixer.fix(n.style);return e.fontFixer.fixStyles(t)}).text(function(n){return n.text}).attr("x",function(n){return n.x}).attr("y",function(n){return n.y}).attr("transform",function(n){return"rotate("+n.rotation+", "+n.x+", "+n.y+")"}),o.select("rect.label_selection").attr("visibility",function(n){return e.selectionManager.isSelected(n)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(n){var e=bD(this),t=o.select('text[label_id="'+n.id+'"]').node().getBBox();e.attr("width",t.width+4),e.attr("height",t.height+4),e.attr("x",t.x-2),e.attr("y",t.y-2),e.attr("transform","rotate("+n.rotation+", "+n.x+", "+n.y+")")})},n.prototype.selectLabel=function(n,e){return n.selectAll('g.label_container[label_id="'+e.id+'"]')},n.NODE_LABEL_MARGIN=3,n}(),RF=function(){return function(){this.dragged=new o.EventEmitter,this.labelDragged=new o.EventEmitter,this.clicked=new o.EventEmitter}}(),IF=function(){function n(n,e,t,l){this.graphDataManager=n,this.selectionManager=e,this.labelWidget=t,this.nodesEventSource=l,this.onContextMenu=new o.EventEmitter,this.onNodeClicked=new o.EventEmitter}return n.prototype.draw=function(n){var e=this,t=this,l=n.selectAll("g.node_body").data(function(n){return[n]}),o=l.enter().append("g").attr("class","node_body");o.append("image");var r=l.merge(o).classed("selected",function(n){return e.selectionManager.isSelected(n)}).on("click",function(n){e.nodesEventSource.clicked.emit(new FD(n,iD.pageX,iD.pageY))});r.select("image").on("contextmenu",function(n,e){iD.preventDefault(),t.onContextMenu.emit(new EF(iD,n))}).attr("xnode:href",function(n){return n.symbolUrl}).attr("width",function(n){return n.width}).attr("height",function(n){return n.height}).attr("x",function(n){return 0}).attr("y",function(n){return 0}).on("mouseover",function(n){bD(this).attr("class","over")}).on("mouseout",function(n){bD(this).attr("class","")}),r.attr("transform",function(n){return"translate("+n.x+","+n.y+")"}),this.labelWidget.draw(r)},n}(),DF=function(){function n(n,e){this.nodeWidget=n,this.mapSettings=e,this.draggable=new wO}return n.prototype.redrawNode=function(n,e){this.nodeWidget.draw(this.selectNode(n,e))},n.prototype.draw=function(n){var e=n.selectAll("g.node").data(function(n){return n.nodes?n.nodes:[]},function(n){return n.id}),t=e.enter().append("g").attr("class","node").attr("node_id",function(n){return n.id}),l=e.merge(t);this.nodeWidget.draw(l),e.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(l)},n.prototype.selectNode=function(n,e){return n.selectAll('g.node[node_id="'+e.id+'"]')},n.NODE_LABEL_MARGIN=3,n}(),OF=Math.PI,FF=2*OF,NF=FF-1e-6;function MF(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function AF(){return new MF}MF.prototype=AF.prototype={constructor:MF,moveTo:function(n,e){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,e){this._+="L"+(this._x1=+n)+","+(this._y1=+e)},quadraticCurveTo:function(n,e,t,l){this._+="Q"+ +n+","+ +e+","+(this._x1=+t)+","+(this._y1=+l)},bezierCurveTo:function(n,e,t,l,o,r){this._+="C"+ +n+","+ +e+","+ +t+","+ +l+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(n,e,t,l,o){var r=this._x1,i=this._y1,a=(t=+t)-(n=+n),u=(l=+l)-(e=+e),s=r-n,d=i-e,c=s*s+d*d;if((o=+o)<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=n)+","+(this._y1=e);else if(c>1e-6)if(Math.abs(d*a-u*s)>1e-6&&o){var p=t-r,f=l-i,h=a*a+u*u,m=p*p+f*f,v=Math.sqrt(h),g=Math.sqrt(c),b=o*Math.tan((OF-Math.acos((h+c-m)/(2*v*g)))/2),_=b/g,y=b/v;Math.abs(_-1)>1e-6&&(this._+="L"+(n+_*s)+","+(e+_*d)),this._+="A"+o+","+o+",0,0,"+ +(d*p>s*f)+","+(this._x1=n+y*a)+","+(this._y1=e+y*u)}else this._+="L"+(this._x1=n)+","+(this._y1=e)},arc:function(n,e,t,l,o,r){n=+n,e=+e;var i=(t=+t)*Math.cos(l),a=t*Math.sin(l),u=n+i,s=e+a,d=1^r,c=r?l-o:o-l;if(t<0)throw new Error("negative radius: "+t);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-s)>1e-6)&&(this._+="L"+u+","+s),t&&(c<0&&(c=c%FF+FF),c>NF?this._+="A"+t+","+t+",0,1,"+d+","+(n-i)+","+(e-a)+"A"+t+","+t+",0,1,"+d+","+(this._x1=u)+","+(this._y1=s):c>1e-6&&(this._+="A"+t+","+t+",0,"+ +(c>=OF)+","+d+","+(this._x1=n+t*Math.cos(o))+","+(this._y1=e+t*Math.sin(o))))},rect:function(n,e,t,l){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+e)+"h"+ +t+"v"+ +l+"h"+-t+"Z"},toString:function(){return this._}};var qF=AF,PF=function(){return function(n,e,t,l){this.source=n,this.source_angle=e,this.target_angle=t,this.target=l}}(),jF=function(){function n(){}return n.prototype.linkToSerialLink=function(n){var e={x:n.source.x+n.source.width/2,y:n.source.y+n.source.height/2},t={x:n.target.x+n.target.width/2,y:n.target.y+n.target.height/2},l=t.x-e.x,o=t.y-e.y,r=Math.atan2(o,l),i=-Math.PI/4,a=[Math.cos(r+i),Math.sin(r+i)];return new PF([e.x,e.y],[e.x+l/2+15*a[0],e.y+o/2+15*a[1]],[t.x-l/2-15*a[0],t.y-o/2-15*a[1]],[t.x,t.y])},n.prototype.draw=function(n){var e=this,t=n.selectAll("path.serial_link").data(function(n){return"serial"===n.linkType?[e.linkToSerialLink(n)]:[]}),l=t.enter().append("path").attr("class","serial_link");l.attr("stroke","#B22222").attr("fill","none").attr("stroke-width","2"),t.merge(l).attr("d",function(n){var e=qF();return e.moveTo(n.source[0],n.source[1]),e.lineTo(n.source_angle[0],n.source_angle[1]),e.lineTo(n.target_angle[0],n.target_angle[1]),e.lineTo(n.target[0],n.target[1]),e.toString()})},n}(),LF=function(){return function(n,e){this.source=n,this.target=e}}(),VF=function(){function n(){}return n.prototype.linktoEthernetLink=function(n){return new LF([n.source.x+n.source.width/2,n.source.y+n.source.height/2],[n.target.x+n.target.width/2,n.target.y+n.target.height/2])},n.prototype.draw=function(n){var e=this,t=n.selectAll("path.ethernet_link").data(function(n){return"ethernet"===n.linkType?[e.linktoEthernetLink(n)]:[]}),l=t.enter().append("path").attr("class","ethernet_link");l.attr("stroke","#000").attr("stroke-width","2"),t.merge(l).attr("d",function(n){var e=qF();return e.moveTo(n.source[0],n.source[1]),e.lineTo(n.target[0],n.target[1]),e.toString()})},n}(),BF=function(){function n(n,e,t,l){this.cssFixer=n,this.fontFixer=e,this.selectionManager=t,this.mapSettings=l,this.onContextMenu=new o.EventEmitter,this.draggable=new wO,this.enabled=!0}return n.prototype.setEnabled=function(n){this.enabled=n},n.prototype.draw=function(n){var e=this,t=this,l=n.selectAll("g.link_node_position").data(function(n){return[[n.source,n.nodes[0]],[n.target,n.nodes[1]]]}),o=l.enter().append("g").classed("link_node_position",!0),r=l.merge(o);r.attr("transform",function(n){return"translate("+n[0].x+", "+n[0].y+")"});var i=r.selectAll("g.interface_label_container").data(function(n){return e.enabled?[n[1]]:[]}),a=i.enter().append("g").classed("interface_label_container",!0);a.append("rect").attr("class","interface_label_selection"),a.append("text").attr("class","interface_label noselect").attr("interface_label_id",function(n){return""+n.id});var u=i.merge(a).on("contextmenu",function(n,e){event.preventDefault(),t.onContextMenu.emit(new PD(event,n))});u.select("text.interface_label").text(function(n){return n.label.text}).attr("style",function(n){var t=e.cssFixer.fix(n.label.style);return e.fontFixer.fixStyles(t)}).attr("x",function(n){return n.label.x}).attr("y",function(n){return n.label.y}).attr("transform",function(n){return"rotate("+n.label.rotation+", "+n.label.x+", "+n.label.y+")"}),u.select("rect.interface_label_selection").attr("visibility",function(n){return e.selectionManager.isSelected(n)?"visible":"hidden"}).attr("stroke","black").attr("stroke-dasharray","3,3").attr("stroke-width","0.5").attr("fill","none").each(function(n){var e=bD(this),t=u.select('text[interface_label_id="'+n.id+'"]').node().getBBox();e.attr("width",t.width+4),e.attr("height",t.height+4),e.attr("x",t.x-2),e.attr("y",t.y-2),e.attr("transform","rotate("+n.label.rotation+", "+(t.x-2)+", "+(t.y-2)+")")}),i.exit().remove(),this.mapSettings.isReadOnly||this.draggable.call(u)},n.SURROUNDING_TEXT_BORDER=5,n}(),zF=function(){return function(n,e,t){this.x=n,this.y=e,this.status=t}}(),UF=function(){function n(){}return n.prototype.draw=function(n){n.each(function(n){var e=bD(this),t=e.select("path"),l=t.node().getPointAtLength(45),o=t.node().getPointAtLength(t.node().getTotalLength()-45),r=[];t.node().getTotalLength()>100&&(r=[new zF(l.x,l.y,n.source.status),new zF(o.x,o.y,n.target.status)]);var i=e.selectAll("circle.status_started").data(r.filter(function(n){return"started"===n.status})),a=i.enter().append("circle");i.merge(a).attr("class","status_started").attr("cx",function(n){return n.x}).attr("cy",function(n){return n.y}).attr("r",6).attr("fill","#2ecc71"),i.exit().remove();var u=e.selectAll("rect.status_stopped").data(r.filter(function(n){return"stopped"===n.status})),s=u.enter().append("rect");u.merge(s).attr("class","status_stopped").attr("x",function(n){return n.x-5}).attr("y",function(n){return n.y-5}).attr("width",10).attr("height",10).attr("fill","red"),u.exit().remove()})},n}(),HF=function(){function n(n,e,t,l){this.multiLinkCalculatorHelper=n,this.interfaceLabelWidget=e,this.interfaceStatusWidget=t,this.selectionManager=l,this.onContextMenu=new o.EventEmitter}return n.prototype.draw=function(n){var e=this,t=n.selectAll("g.link_body").data(function(n){return[n]}),l=t.enter().append("g").attr("class","link_body"),o=t.merge(l).attr("transform",function(n){var t=e.multiLinkCalculatorHelper.linkTranslation(n.distance,n.source,n.target);return"translate ("+t.dx+", "+t.dy+")"});t.select(".capture-icon").remove(),t.filter(function(n){return n.capturing&&!(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)}).append("g").on("contextmenu",function(n){e.onContextMenu.emit(new qD(iD,n))}).attr("class","capture-icon").attr("transform",function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/inspect.svg"),t.select(".filter-capture-icon").remove(),t.filter(function(n){return n.capturing&&(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)}).append("g").on("contextmenu",function(n){e.onContextMenu.emit(new qD(iD,n))}).attr("class","filter-capture-icon").attr("transform",function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("xlink:href","assets/resources/images/filter-capture.svg"),t.select(".filter-icon").remove(),t.filter(function(n){return!n.capturing&&(n.filters.bpf||n.filters.corrupt||n.filters.delay||n.filters.frequency_drop||n.filters.packet_loss)}).append("g").on("contextmenu",function(n){e.onContextMenu.emit(new qD(iD,n))}).attr("class","filter-icon").attr("width","48px").attr("height","48px").attr("transform",function(n){return"translate ("+((n.source.x+n.target.x)/2+24)+", "+((n.source.y+n.target.y)/2+24)+") scale(0.5)"}).attr("viewBox","0 0 20 20").append("image").attr("width","48px").attr("height","48px").attr("xlink:href","assets/resources/images/filter.svg"),(new jF).draw(o),(new VF).draw(o),o.select("path").classed("selected",function(n){return e.selectionManager.isSelected(n)}),this.interfaceLabelWidget.draw(o),this.interfaceStatusWidget.draw(o)},n}(),ZF=function(){function n(n,e){this.multiLinkCalculatorHelper=n,this.linkWidget=e}return n.prototype.redrawLink=function(n,e){this.linkWidget.draw(this.selectLink(n,e))},n.prototype.draw=function(n){var e=this,t=n.selectAll("g.link").data(function(n){if(n.links){var t=n.links.filter(function(n){return n.target&&n.source});return e.multiLinkCalculatorHelper.assignDataToLinks(t),t}return[]},function(n){return n.id}),l=t.enter().append("g").attr("class","link").attr("link_id",function(n){return n.id}).attr("map-source",function(n){return n.source.id}).attr("map-target",function(n){return n.target.id}),o=t.merge(l);this.linkWidget.draw(o),t.exit().remove()},n.prototype.selectLink=function(n,e){return n.selectAll('g.link[link_id="'+e.id+'"]')},n}(),WF=function(){return function(){this.created=new o.EventEmitter,this.interfaceDragged=new o.EventEmitter}}(),GF=function(){function n(){this.isMapLocked=new A.b,this.isTopologySummaryVisible=!1}return n.prototype.changeMapLockValue=function(n){this.isMapLocked.next(n)},n.prototype.toggleTopologySummary=function(n){this.isTopologySummaryVisible=n},n}(),KF=function(){function n(n,e,t,l,o,r,i,a,u,s,d){this.nodesWidget=n,this.drawingsWidget=e,this.linksWidget=t,this.labelWidget=l,this.interfaceWidget=o,this.selectionManager=r,this.nodesEventSource=i,this.drawingsEventSource=a,this.graphDataManager=u,this.linksEventSource=s,this.mapSettingsService=d,this.isMapLocked=!1}return n.prototype.ngOnInit=function(){var n=this,e=bD(this.svg);this.mapSettingsSubscription=this.mapSettingsService.isMapLocked.subscribe(function(e){n.isMapLocked=e}),this.start=Object(Ts.a)(this.nodesWidget.draggable.start,this.drawingsWidget.draggable.start,this.labelWidget.draggable.start,this.interfaceWidget.draggable.start).subscribe(function(e){var t=n.selectionManager.getSelected();e.datum instanceof LO&&0===t.filter(function(n){return n instanceof LO&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof XO&&0===t.filter(function(n){return n instanceof XO&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof VO&&0===t.filter(function(n){return n instanceof VO&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum]),e.datum instanceof GO&&0===t.filter(function(n){return n instanceof GO&&n.id===e.datum.id}).length&&n.selectionManager.setSelected([e.datum])}),this.drag=Object(Ts.a)(this.nodesWidget.draggable.drag,this.drawingsWidget.draggable.drag,this.labelWidget.draggable.drag,this.interfaceWidget.draggable.drag).subscribe(function(t){if(!n.isMapLocked){var l=n.selectionManager.getSelected(),o=l.filter(function(n){return n instanceof LO});o.forEach(function(l){l.x+=t.dx,l.y+=t.dy,n.nodesWidget.redrawNode(e,l),n.graphDataManager.getLinks().filter(function(n){return void 0!==n.target&&n.target.id===l.id||void 0!==n.source&&n.source.id===l.id}).forEach(function(t){n.linksWidget.redrawLink(e,t)})}),l.filter(function(n){return n instanceof XO}).forEach(function(l){l.x+=t.dx,l.y+=t.dy,n.drawingsWidget.redrawDrawing(e,l)}),l.filter(function(n){return n instanceof VO}).forEach(function(l){if(!(o.filter(function(n){return n.id===l.nodeId}).length>0)){var r=n.graphDataManager.getNodes().filter(function(n){return n.id===l.nodeId})[0];r.label.x+=t.dx,r.label.y+=t.dy,n.labelWidget.redrawLabel(e,l)}}),l.filter(function(n){return n instanceof GO}).forEach(function(l){if(!(o.filter(function(n){return n.id===l.nodeId}).length>0)){var r=n.graphDataManager.getLinks().filter(function(n){return n.nodes[0].id===l.id||n.nodes[1].id===l.id})[0];r.nodes[0].id===l.id&&(r.nodes[0].label.x+=t.dx,r.nodes[0].label.y+=t.dy),r.nodes[1].id===l.id&&(r.nodes[1].label.x+=t.dx,r.nodes[1].label.y+=t.dy),n.linksWidget.redrawLink(e,r)}})}}),this.end=Object(Ts.a)(this.nodesWidget.draggable.end,this.drawingsWidget.draggable.end,this.labelWidget.draggable.end,this.interfaceWidget.draggable.end).subscribe(function(e){if(!n.isMapLocked){var t=n.selectionManager.getSelected(),l=t.filter(function(n){return n instanceof LO});l.forEach(function(t){n.nodesEventSource.dragged.emit(new ID(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof XO}).forEach(function(t){n.drawingsEventSource.dragged.emit(new ID(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof VO}).forEach(function(t){l.filter(function(n){return n.id===t.nodeId}).length>0||n.nodesEventSource.labelDragged.emit(new ID(t,e.dx,e.dy))}),t.filter(function(n){return n instanceof GO}).forEach(function(t){l.filter(function(n){return n.id===t.nodeId}).length>0||n.linksEventSource.interfaceDragged.emit(new ID(t,e.dx,e.dy))})}})},n.prototype.ngOnDestroy=function(){this.start.unsubscribe(),this.drag.unsubscribe(),this.end.unsubscribe(),this.mapSettingsSubscription.unsubscribe()},n}(),YF=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function $F(n){return o["\u0275vid"](0,[],null,null)}var XF=function(n){return function(){return n}},QF=Math.abs,JF=Math.atan2,nN=Math.cos,eN=Math.max,tN=Math.min,lN=Math.sin,oN=Math.sqrt,rN=1e-12,iN=Math.PI,aN=iN/2,uN=2*iN;function sN(n){return n>=1?aN:n<=-1?-aN:Math.asin(n)}function dN(n){return n.innerRadius}function cN(n){return n.outerRadius}function pN(n){return n.startAngle}function fN(n){return n.endAngle}function hN(n){return n&&n.padAngle}function mN(n,e,t,l,o,r,i){var a=n-t,u=e-l,s=(i?r:-r)/oN(a*a+u*u),d=s*u,c=-s*a,p=n+d,f=e+c,h=t+d,m=l+c,v=(p+h)/2,g=(f+m)/2,b=h-p,_=m-f,y=b*b+_*_,w=o-r,C=p*m-h*f,x=(_<0?-1:1)*oN(eN(0,w*w*y-C*C)),S=(C*_-b*x)/y,k=(-C*b-_*x)/y,E=(C*_+b*x)/y,T=(-C*b+_*x)/y,R=S-v,I=k-g,D=E-v,O=T-g;return R*R+I*I>D*D+O*O&&(S=E,k=T),{cx:S,cy:k,x01:-d,y01:-c,x11:S*(o/w-1),y11:k*(o/w-1)}}var vN=function(){var n=dN,e=cN,t=XF(0),l=null,o=pN,r=fN,i=hN,a=null;function u(){var u,s,d,c=+n.apply(this,arguments),p=+e.apply(this,arguments),f=o.apply(this,arguments)-aN,h=r.apply(this,arguments)-aN,m=QF(h-f),v=h>f;if(a||(a=u=qF()),p<c&&(s=p,p=c,c=s),p>rN)if(m>uN-rN)a.moveTo(p*nN(f),p*lN(f)),a.arc(0,0,p,f,h,!v),c>rN&&(a.moveTo(c*nN(h),c*lN(h)),a.arc(0,0,c,h,f,v));else{var g,b,_=f,y=h,w=f,C=h,x=m,S=m,k=i.apply(this,arguments)/2,E=k>rN&&(l?+l.apply(this,arguments):oN(c*c+p*p)),T=tN(QF(p-c)/2,+t.apply(this,arguments)),R=T,I=T;if(E>rN){var D=sN(E/c*lN(k)),O=sN(E/p*lN(k));(x-=2*D)>rN?(w+=D*=v?1:-1,C-=D):(x=0,w=C=(f+h)/2),(S-=2*O)>rN?(_+=O*=v?1:-1,y-=O):(S=0,_=y=(f+h)/2)}var F=p*nN(_),N=p*lN(_),M=c*nN(C),A=c*lN(C);if(T>rN){var q,P=p*nN(y),j=p*lN(y),L=c*nN(w),V=c*lN(w);if(m<=uN-rN&&(q=function(n,e,t,l,o,r,i,a){var u=L-F,s=V-N,d=i-P,c=a-j,p=c*u-d*s;if(!(p*p<rN))return[F+(p=(d*(N-j)-c*(F-P))/p)*u,N+p*s]}(0,0,0,0,0,0,M,A))){var B=F-q[0],z=N-q[1],U=P-q[0],H=j-q[1],Z=1/lN(((d=(B*U+z*H)/(oN(B*B+z*z)*oN(U*U+H*H)))>1?0:d<-1?iN:Math.acos(d))/2),W=oN(q[0]*q[0]+q[1]*q[1]);R=tN(T,(c-W)/(Z-1)),I=tN(T,(p-W)/(Z+1))}}S>rN?I>rN?(g=mN(L,V,F,N,p,I,v),b=mN(P,j,M,A,p,I,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),I<T?a.arc(g.cx,g.cy,I,JF(g.y01,g.x01),JF(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,I,JF(g.y01,g.x01),JF(g.y11,g.x11),!v),a.arc(0,0,p,JF(g.cy+g.y11,g.cx+g.x11),JF(b.cy+b.y11,b.cx+b.x11),!v),a.arc(b.cx,b.cy,I,JF(b.y11,b.x11),JF(b.y01,b.x01),!v))):(a.moveTo(F,N),a.arc(0,0,p,_,y,!v)):a.moveTo(F,N),c>rN&&x>rN?R>rN?(g=mN(M,A,P,j,c,-R,v),b=mN(F,N,L,V,c,-R,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),R<T?a.arc(g.cx,g.cy,R,JF(g.y01,g.x01),JF(b.y01,b.x01),!v):(a.arc(g.cx,g.cy,R,JF(g.y01,g.x01),JF(g.y11,g.x11),!v),a.arc(0,0,c,JF(g.cy+g.y11,g.cx+g.x11),JF(b.cy+b.y11,b.cx+b.x11),v),a.arc(b.cx,b.cy,R,JF(b.y11,b.x11),JF(b.y01,b.x01),!v))):a.arc(0,0,c,C,w,v):a.lineTo(M,A)}else a.moveTo(0,0);if(a.closePath(),u)return a=null,u+""||null}return u.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,l=(+o.apply(this,arguments)+ +r.apply(this,arguments))/2-iN/2;return[nN(l)*t,lN(l)*t]},u.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:XF(+e),u):n},u.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:XF(+n),u):e},u.cornerRadius=function(n){return arguments.length?(t="function"==typeof n?n:XF(+n),u):t},u.padRadius=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:XF(+n),u):l},u.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:XF(+n),u):o},u.endAngle=function(n){return arguments.length?(r="function"==typeof n?n:XF(+n),u):r},u.padAngle=function(n){return arguments.length?(i="function"==typeof n?n:XF(+n),u):i},u.context=function(n){return arguments.length?(a=null==n?null:n,u):a},u};function gN(n){this._context=n}gN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:this._context.lineTo(n,e)}}};var bN=function(n){return new gN(n)};function _N(n){return n[0]}function yN(n){return n[1]}var wN=function(){var n=_N,e=yN,t=XF(!0),l=null,o=bN,r=null;function i(i){var a,u,s,d=i.length,c=!1;for(null==l&&(r=o(s=qF())),a=0;a<=d;++a)!(a<d&&t(u=i[a],a,i))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+n(u,a,i),+e(u,a,i));if(s)return r=null,s+""||null}return i.x=function(e){return arguments.length?(n="function"==typeof e?e:XF(+e),i):n},i.y=function(n){return arguments.length?(e="function"==typeof n?n:XF(+n),i):e},i.defined=function(n){return arguments.length?(t="function"==typeof n?n:XF(!!n),i):t},i.curve=function(n){return arguments.length?(o=n,null!=l&&(r=o(l)),i):o},i.context=function(n){return arguments.length?(null==n?l=r=null:r=o(l=n),i):l},i},CN=function(){var n=_N,e=null,t=XF(0),l=yN,o=XF(!0),r=null,i=bN,a=null;function u(u){var s,d,c,p,f,h=u.length,m=!1,v=new Array(h),g=new Array(h);for(null==r&&(a=i(f=qF())),s=0;s<=h;++s){if(!(s<h&&o(p=u[s],s,u))===m)if(m=!m)d=s,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),c=s-1;c>=d;--c)a.point(v[c],g[c]);a.lineEnd(),a.areaEnd()}m&&(v[s]=+n(p,s,u),g[s]=+t(p,s,u),a.point(e?+e(p,s,u):v[s],l?+l(p,s,u):g[s]))}if(f)return a=null,f+""||null}function s(){return wN().defined(o).curve(i).context(r)}return u.x=function(t){return arguments.length?(n="function"==typeof t?t:XF(+t),e=null,u):n},u.x0=function(e){return arguments.length?(n="function"==typeof e?e:XF(+e),u):n},u.x1=function(n){return arguments.length?(e=null==n?null:"function"==typeof n?n:XF(+n),u):e},u.y=function(n){return arguments.length?(t="function"==typeof n?n:XF(+n),l=null,u):t},u.y0=function(n){return arguments.length?(t="function"==typeof n?n:XF(+n),u):t},u.y1=function(n){return arguments.length?(l=null==n?null:"function"==typeof n?n:XF(+n),u):l},u.lineX0=u.lineY0=function(){return s().x(n).y(t)},u.lineY1=function(){return s().x(n).y(l)},u.lineX1=function(){return s().x(e).y(t)},u.defined=function(n){return arguments.length?(o="function"==typeof n?n:XF(!!n),u):o},u.curve=function(n){return arguments.length?(i=n,null!=r&&(a=i(r)),u):i},u.context=function(n){return arguments.length?(null==n?r=a=null:a=i(r=n),u):r},u},xN=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},SN=function(n){return n},kN=function(){var n=SN,e=xN,t=null,l=XF(0),o=XF(uN),r=XF(0);function i(i){var a,u,s,d,c,p=i.length,f=0,h=new Array(p),m=new Array(p),v=+l.apply(this,arguments),g=Math.min(uN,Math.max(-uN,o.apply(this,arguments)-v)),b=Math.min(Math.abs(g)/p,r.apply(this,arguments)),_=b*(g<0?-1:1);for(a=0;a<p;++a)(c=m[h[a]=a]=+n(i[a],a,i))>0&&(f+=c);for(null!=e?h.sort(function(n,t){return e(m[n],m[t])}):null!=t&&h.sort(function(n,e){return t(i[n],i[e])}),a=0,s=f?(g-p*_)/f:0;a<p;++a,v=d)m[u=h[a]]={data:i[u],index:a,value:c=m[u],startAngle:v,endAngle:d=v+(c>0?c*s:0)+_,padAngle:b};return m}return i.value=function(e){return arguments.length?(n="function"==typeof e?e:XF(+e),i):n},i.sortValues=function(n){return arguments.length?(e=n,t=null,i):e},i.sort=function(n){return arguments.length?(t=n,e=null,i):t},i.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:XF(+n),i):l},i.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:XF(+n),i):o},i.padAngle=function(n){return arguments.length?(r="function"==typeof n?n:XF(+n),i):r},i},EN=RN(bN);function TN(n){this._curve=n}function RN(n){function e(e){return new TN(n(e))}return e._curve=n,e}function IN(n){var e=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(n){return arguments.length?e(RN(n)):e()._curve},n}TN.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,e){this._curve.point(e*Math.sin(n),e*-Math.cos(n))}};var DN=function(){return IN(wN().curve(EN))},ON=function(){var n=CN().curve(EN),e=n.curve,t=n.lineX0,l=n.lineX1,o=n.lineY0,r=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return IN(t())},delete n.lineX0,n.lineEndAngle=function(){return IN(l())},delete n.lineX1,n.lineInnerRadius=function(){return IN(o())},delete n.lineY0,n.lineOuterRadius=function(){return IN(r())},delete n.lineY1,n.curve=function(n){return arguments.length?e(RN(n)):e()._curve},n},FN=function(n,e){return[(e=+e)*Math.cos(n-=Math.PI/2),e*Math.sin(n)]},NN=Array.prototype.slice;function MN(n){return n.source}function AN(n){return n.target}function qN(n){var e=MN,t=AN,l=_N,o=yN,r=null;function i(){var i,a=NN.call(arguments),u=e.apply(this,a),s=t.apply(this,a);if(r||(r=i=qF()),n(r,+l.apply(this,(a[0]=u,a)),+o.apply(this,a),+l.apply(this,(a[0]=s,a)),+o.apply(this,a)),i)return r=null,i+""||null}return i.source=function(n){return arguments.length?(e=n,i):e},i.target=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(l="function"==typeof n?n:XF(+n),i):l},i.y=function(n){return arguments.length?(o="function"==typeof n?n:XF(+n),i):o},i.context=function(n){return arguments.length?(r=null==n?null:n,i):r},i}function PN(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e=(e+l)/2,t,e,o,l,o)}function jN(n,e,t,l,o){n.moveTo(e,t),n.bezierCurveTo(e,t=(t+o)/2,l,t,l,o)}function LN(n,e,t,l,o){var r=FN(e,t),i=FN(e,t=(t+o)/2),a=FN(l,t),u=FN(l,o);n.moveTo(r[0],r[1]),n.bezierCurveTo(i[0],i[1],a[0],a[1],u[0],u[1])}function VN(){return qN(PN)}function BN(){return qN(jN)}function zN(){var n=qN(LN);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}var UN={draw:function(n,e){var t=Math.sqrt(e/iN);n.moveTo(t,0),n.arc(0,0,t,0,uN)}},HN={draw:function(n,e){var t=Math.sqrt(e/5)/2;n.moveTo(-3*t,-t),n.lineTo(-t,-t),n.lineTo(-t,-3*t),n.lineTo(t,-3*t),n.lineTo(t,-t),n.lineTo(3*t,-t),n.lineTo(3*t,t),n.lineTo(t,t),n.lineTo(t,3*t),n.lineTo(-t,3*t),n.lineTo(-t,t),n.lineTo(-3*t,t),n.closePath()}},ZN=Math.sqrt(1/3),WN=2*ZN,GN={draw:function(n,e){var t=Math.sqrt(e/WN),l=t*ZN;n.moveTo(0,-t),n.lineTo(l,0),n.lineTo(0,t),n.lineTo(-l,0),n.closePath()}},KN=Math.sin(iN/10)/Math.sin(7*iN/10),YN=Math.sin(uN/10)*KN,$N=-Math.cos(uN/10)*KN,XN={draw:function(n,e){var t=Math.sqrt(.8908130915292852*e),l=YN*t,o=$N*t;n.moveTo(0,-t),n.lineTo(l,o);for(var r=1;r<5;++r){var i=uN*r/5,a=Math.cos(i),u=Math.sin(i);n.lineTo(u*t,-a*t),n.lineTo(a*l-u*o,u*l+a*o)}n.closePath()}},QN={draw:function(n,e){var t=Math.sqrt(e),l=-t/2;n.rect(l,l,t,t)}},JN=Math.sqrt(3),nM={draw:function(n,e){var t=-Math.sqrt(e/(3*JN));n.moveTo(0,2*t),n.lineTo(-JN*t,-t),n.lineTo(JN*t,-t),n.closePath()}},eM=Math.sqrt(3)/2,tM=1/Math.sqrt(12),lM=3*(tM/2+1),oM={draw:function(n,e){var t=Math.sqrt(e/lM),l=t/2,o=t*tM,r=l,i=t*tM+t,a=-r,u=i;n.moveTo(l,o),n.lineTo(r,i),n.lineTo(a,u),n.lineTo(-.5*l-eM*o,eM*l+-.5*o),n.lineTo(-.5*r-eM*i,eM*r+-.5*i),n.lineTo(-.5*a-eM*u,eM*a+-.5*u),n.lineTo(-.5*l+eM*o,-.5*o-eM*l),n.lineTo(-.5*r+eM*i,-.5*i-eM*r),n.lineTo(-.5*a+eM*u,-.5*u-eM*a),n.closePath()}},rM=[UN,HN,GN,QN,XN,nM,oM],iM=function(){var n=XF(UN),e=XF(64),t=null;function l(){var l;if(t||(t=l=qF()),n.apply(this,arguments).draw(t,+e.apply(this,arguments)),l)return t=null,l+""||null}return l.type=function(e){return arguments.length?(n="function"==typeof e?e:XF(e),l):n},l.size=function(n){return arguments.length?(e="function"==typeof n?n:XF(+n),l):e},l.context=function(n){return arguments.length?(t=null==n?null:n,l):t},l},aM=function(){};function uM(n,e,t){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+e)/6,(n._y0+4*n._y1+t)/6)}function sM(n){this._context=n}sM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:uM(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:uM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var dM=function(n){return new sM(n)};function cM(n){this._context=n}cM.prototype={areaStart:aM,areaEnd:aM,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._x2=n,this._y2=e;break;case 1:this._point=2,this._x3=n,this._y3=e;break;case 2:this._point=3,this._x4=n,this._y4=e,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+e)/6);break;default:uM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var pM=function(n){return new cM(n)};function fM(n){this._context=n}fM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+n)/6,l=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(t,l):this._context.moveTo(t,l);break;case 3:this._point=4;default:uM(this,n,e)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e}};var hM=function(n){return new fM(n)};function mM(n,e){this._basis=new sM(n),this._beta=e}mM.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,e=this._y,t=n.length-1;if(t>0)for(var l,o=n[0],r=e[0],i=n[t]-o,a=e[t]-r,u=-1;++u<=t;)this._basis.point(this._beta*n[u]+(1-this._beta)*(o+(l=u/t)*i),this._beta*e[u]+(1-this._beta)*(r+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(n,e){this._x.push(+n),this._y.push(+e)}};var vM=function n(e){function t(n){return 1===e?new sM(n):new mM(n,e)}return t.beta=function(e){return n(+e)},t}(.85);function gM(n,e,t){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-e),n._y2+n._k*(n._y1-t),n._x2,n._y2)}function bM(n,e){this._context=n,this._k=(1-e)/6}bM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gM(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2,this._x1=n,this._y1=e;break;case 2:this._point=3;default:gM(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var _M=function n(e){function t(n){return new bM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function yM(n,e){this._context=n,this._k=(1-e)/6}yM.prototype={areaStart:aM,areaEnd:aM,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._x3=n,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=e);break;case 2:this._point=3,this._x5=n,this._y5=e;break;default:gM(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var wM=function n(e){function t(n){return new yM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function CM(n,e){this._context=n,this._k=(1-e)/6}CM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gM(this,n,e)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xM=function n(e){function t(n){return new CM(n,e)}return t.tension=function(e){return n(+e)},t}(0);function SM(n,e,t){var l=n._x1,o=n._y1,r=n._x2,i=n._y2;if(n._l01_a>rN){var a=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,u=3*n._l01_a*(n._l01_a+n._l12_a);l=(l*a-n._x0*n._l12_2a+n._x2*n._l01_2a)/u,o=(o*a-n._y0*n._l12_2a+n._y2*n._l01_2a)/u}if(n._l23_a>rN){var s=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,d=3*n._l23_a*(n._l23_a+n._l12_a);r=(r*s+n._x1*n._l23_2a-e*n._l12_2a)/d,i=(i*s+n._y1*n._l23_2a-t*n._l12_2a)/d}n._context.bezierCurveTo(l,o,r,i,n._x2,n._y2)}function kM(n,e){this._context=n,this._alpha=e}kM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3;default:SM(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var EM=function n(e){function t(n){return e?new kM(n,e):new bM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function TM(n,e){this._context=n,this._alpha=e}TM.prototype={areaStart:aM,areaEnd:aM,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=e);break;case 2:this._point=3,this._x5=n,this._y5=e;break;default:SM(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var RM=function n(e){function t(n){return e?new TM(n,e):new yM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function IM(n,e){this._context=n,this._alpha=e}IM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){if(n=+n,e=+e,this._point){var t=this._x2-n,l=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+l*l,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:SM(this,n,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var DM=function n(e){function t(n){return e?new IM(n,e):new CM(n,0)}return t.alpha=function(e){return n(+e)},t}(.5);function OM(n){this._context=n}OM.prototype={areaStart:aM,areaEnd:aM,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(n,e){n=+n,e=+e,this._point?this._context.lineTo(n,e):(this._point=1,this._context.moveTo(n,e))}};var FM=function(n){return new OM(n)};function NM(n){return n<0?-1:1}function MM(n,e,t){var l=n._x1-n._x0,o=e-n._x1,r=(n._y1-n._y0)/(l||o<0&&-0),i=(t-n._y1)/(o||l<0&&-0),a=(r*o+i*l)/(l+o);return(NM(r)+NM(i))*Math.min(Math.abs(r),Math.abs(i),.5*Math.abs(a))||0}function AM(n,e){var t=n._x1-n._x0;return t?(3*(n._y1-n._y0)/t-e)/2:e}function qM(n,e,t){var l=n._x0,o=n._x1,r=n._y1,i=(o-l)/3;n._context.bezierCurveTo(l+i,n._y0+i*e,o-i,r-i*t,o,r)}function PM(n){this._context=n}function jM(n){this._context=new LM(n)}function LM(n){this._context=n}function VM(n){return new PM(n)}function BM(n){return new jM(n)}function zM(n){this._context=n}function UM(n){var e,t,l=n.length-1,o=new Array(l),r=new Array(l),i=new Array(l);for(o[0]=0,r[0]=2,i[0]=n[0]+2*n[1],e=1;e<l-1;++e)o[e]=1,r[e]=4,i[e]=4*n[e]+2*n[e+1];for(o[l-1]=2,r[l-1]=7,i[l-1]=8*n[l-1]+n[l],e=1;e<l;++e)r[e]-=t=o[e]/r[e-1],i[e]-=t*i[e-1];for(o[l-1]=i[l-1]/r[l-1],e=l-2;e>=0;--e)o[e]=(i[e]-o[e+1])/r[e];for(r[l-1]=(n[l]+o[l-1])/2,e=0;e<l-1;++e)r[e]=2*n[e+1]-o[e+1];return[o,r]}PM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:qM(this,this._t0,AM(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,e){var t=NaN;if(e=+e,(n=+n)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;break;case 2:this._point=3,qM(this,AM(this,t=MM(this,n,e)),t);break;default:qM(this,this._t0,t=MM(this,n,e))}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=e,this._t0=t}}},(jM.prototype=Object.create(PM.prototype)).point=function(n,e){PM.prototype.point.call(this,e,n)},LM.prototype={moveTo:function(n,e){this._context.moveTo(e,n)},closePath:function(){this._context.closePath()},lineTo:function(n,e){this._context.lineTo(e,n)},bezierCurveTo:function(n,e,t,l,o,r){this._context.bezierCurveTo(e,n,l,t,r,o)}},zM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var n=this._x,e=this._y,t=n.length;if(t)if(this._line?this._context.lineTo(n[0],e[0]):this._context.moveTo(n[0],e[0]),2===t)this._context.lineTo(n[1],e[1]);else for(var l=UM(n),o=UM(e),r=0,i=1;i<t;++r,++i)this._context.bezierCurveTo(l[0][r],o[0][r],l[1][r],o[1][r],n[i],e[i]);(this._line||0!==this._line&&1===t)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(n,e){this._x.push(+n),this._y.push(+e)}};var HM=function(n){return new zM(n)};function ZM(n,e){this._context=n,this._t=e}ZM.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,e){switch(n=+n,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(n,e);else{var t=this._x*(1-this._t)+n*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,e)}}this._x=n,this._y=e}};var WM=function(n){return new ZM(n,.5)};function GM(n){return new ZM(n,0)}function KM(n){return new ZM(n,1)}var YM=function(n,e){if((o=n.length)>1)for(var t,l,o,r=1,i=n[e[0]],a=i.length;r<o;++r)for(l=i,i=n[e[r]],t=0;t<a;++t)i[t][1]+=i[t][0]=isNaN(l[t][1])?l[t][0]:l[t][1]},$M=function(n){for(var e=n.length,t=new Array(e);--e>=0;)t[e]=e;return t};function XM(n,e){return n[e]}var QM=function(){var n=XF([]),e=$M,t=YM,l=XM;function o(o){var r,i,a=n.apply(this,arguments),u=o.length,s=a.length,d=new Array(s);for(r=0;r<s;++r){for(var c,p=a[r],f=d[r]=new Array(u),h=0;h<u;++h)f[h]=c=[0,+l(o[h],p,h,o)],c.data=o[h];f.key=p}for(r=0,i=e(d);r<s;++r)d[i[r]].index=r;return t(d,i),d}return o.keys=function(e){return arguments.length?(n="function"==typeof e?e:XF(NN.call(e)),o):n},o.value=function(n){return arguments.length?(l="function"==typeof n?n:XF(+n),o):l},o.order=function(n){return arguments.length?(e=null==n?$M:"function"==typeof n?n:XF(NN.call(n)),o):e},o.offset=function(n){return arguments.length?(t=null==n?YM:n,o):t},o},JM=function(n,e){if((l=n.length)>0){for(var t,l,o,r=0,i=n[0].length;r<i;++r){for(o=t=0;t<l;++t)o+=n[t][r][1]||0;if(o)for(t=0;t<l;++t)n[t][r][1]/=o}YM(n,e)}},nA=function(n,e){if((a=n.length)>1)for(var t,l,o,r,i,a,u=0,s=n[e[0]].length;u<s;++u)for(r=i=0,t=0;t<a;++t)(o=(l=n[e[t]][u])[1]-l[0])>=0?(l[0]=r,l[1]=r+=o):o<0?(l[1]=i,l[0]=i+=o):l[0]=r},eA=function(n,e){if((t=n.length)>0){for(var t,l=0,o=n[e[0]],r=o.length;l<r;++l){for(var i=0,a=0;i<t;++i)a+=n[i][l][1]||0;o[l][1]+=o[l][0]=-a/2}YM(n,e)}},tA=function(n,e){if((o=n.length)>0&&(l=(t=n[e[0]]).length)>0){for(var t,l,o,r=0,i=1;i<l;++i){for(var a=0,u=0,s=0;a<o;++a){for(var d=n[e[a]],c=d[i][1]||0,p=(c-(d[i-1][1]||0))/2,f=0;f<a;++f){var h=n[e[f]];p+=(h[i][1]||0)-(h[i-1][1]||0)}u+=c,s+=p*c}t[i-1][1]+=t[i-1][0]=r,u&&(r-=s/u)}t[i-1][1]+=t[i-1][0]=r,YM(n,e)}},lA=function(n){var e=n.map(oA);return $M(n).sort(function(n,t){return e[n]-e[t]})};function oA(n){for(var e,t=0,l=-1,o=n.length;++l<o;)(e=+n[l][1])&&(t+=e);return t}var rA=function(n){return lA(n).reverse()},iA=function(n){var e,t,l=n.length,o=n.map(oA),r=$M(n).sort(function(n,e){return o[e]-o[n]}),i=0,a=0,u=[],s=[];for(e=0;e<l;++e)t=r[e],i<a?(i+=o[t],u.push(t)):(a+=o[t],s.push(t));return s.reverse().concat(u)},aA=function(n){return $M(n).reverse()},uA=function(){return function(){}}(),sA=function(){function n(){this.drawingLine=new uA,this.drawing=!1,this.data={}}return n.prototype.start=function(n,e,t){var l=this;this.drawing=!0,this.data=t,this.drawingLine.start=new aI(n,e),this.drawingLine.end=new aI(n,e),this.selection.on("mousemove",function(n,e){var t=l.selection.select("g.canvas").node(),o=xD(t);l.drawingLine.end.x=o[0],l.drawingLine.end.y=o[1],l.draw(null,null)}),this.draw(null,null)},n.prototype.isDrawing=function(){return this.drawing},n.prototype.stop=function(){return this.drawing=!1,this.selection.on("mousemove",null),this.draw(null,null),this.data},n.prototype.connect=function(n,e){this.selection=n},n.prototype.draw=function(n,e){var t=this.selection.select("g.canvas");t.select("g.drawing-line-tool").node()||t.append("g").attr("class","drawing-line-tool");var l=[];this.drawing&&(l=[[[this.drawingLine.start.x,this.drawingLine.start.y],[this.drawingLine.end.x,this.drawingLine.end.y]]]);var o=wN(),r=this.selection.select("g.drawing-line-tool").selectAll("path").data(l),i=r.enter().append("path");r.merge(i).attr("d",o).attr("stroke","#000").attr("stroke-width","2"),r.exit().remove()},n}(),dA=function(){return function(n,e,t,l){this.x=n,this.y=e,this.width=t,this.height=l}}(),cA=function(){function n(n,e){this.context=n,this.selectionEventSource=e,this.rectangleSelected=new A.b,this.contextMenuOpened=new o.EventEmitter,this.enabled=!1}return n.prototype.disableContextMenu=function(){},n.prototype.setEnabled=function(n){this.enabled=n,this.contextMenuOpened.emit(!0)},n.prototype.activate=function(e){var t=this;e.on("mousedown",function(){if(2==iD.button)return e.on("contextmenu",function(){iD.preventDefault()}),void t.contextMenuOpened.emit(iD);var l=bD(window),o=this.parentElement,r=t.transformation(xD(o));t.startSelection(r),e.selectAll(n.SELECTABLE_CLASS).classed("selected",!1),l.on("mousemove.selection",function(){var n=t.transformation(xD(o));t.moveSelection(r,n)}).on("mouseup.selection",function(){var n=t.transformation(xD(o));t.endSelection(r,n),l.on("mousemove.selection",null).on("mouseup.selection",null)})})},n.prototype.deactivate=function(n){n.on("mousedown",null)},n.prototype.draw=function(n,e){var t=n.select("g.canvas");if(!t.select("g.selection-line-tool").node()){var l=t.append("g");l.attr("class","selection-line-tool"),this.path=l.append("path"),this.path.attr("class","selection").attr("visibility","hidden")}var o=t.select("g.selection-line-tool"),r=o.attr("status");"activated"!==r&&this.enabled&&(this.activate(n),o.attr("activated")),"deactivated"===r||this.enabled||(this.deactivate(n),o.attr("deactivated"))},n.prototype.startSelection=function(n){this.path.attr("d",this.rect(n[0],n[1],0,0)).attr("visibility","visible")},n.prototype.moveSelection=function(n,e){var t=n[0]/this.context.transformation.k,l=n[1]/this.context.transformation.k;this.path.attr("d",this.rect(t,l,e[0]/this.context.transformation.k-t,e[1]/this.context.transformation.k-l)),this.selectedEvent(n,e)},n.prototype.endSelection=function(n,e){this.path.attr("visibility","hidden"),this.selectedEvent(n,e)},n.prototype.selectedEvent=function(n,e){var t=Math.min(n[0],e[0]),l=Math.min(n[1],e[1]),o=Math.abs(n[0]-e[0]),r=Math.abs(n[1]-e[1]);this.selectionEventSource.selected.next(new dA(t,l,o,r))},n.prototype.rect=function(n,e,t,l){return"M"+[n,e]+" l"+[t,0]+" l"+[0,l]+" l"+[-t,0]+"z"},n.prototype.transformation=function(n){var e=this.context.getZeroZeroTransformationPoint();return[n[0]-e.x-this.context.transformation.x,n[1]-e.y-this.context.transformation.y]},n.SELECTABLE_CLASS=".selectable",n}(),pA=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function fA(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function hA(){}var mA="\\s*([+-]?\\d+)\\s*",vA="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",gA="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",bA=/^#([0-9a-f]{3})$/,_A=/^#([0-9a-f]{6})$/,yA=new RegExp("^rgb\\("+[mA,mA,mA]+"\\)$"),wA=new RegExp("^rgb\\("+[gA,gA,gA]+"\\)$"),CA=new RegExp("^rgba\\("+[mA,mA,mA,vA]+"\\)$"),xA=new RegExp("^rgba\\("+[gA,gA,gA,vA]+"\\)$"),SA=new RegExp("^hsl\\("+[vA,gA,gA]+"\\)$"),kA=new RegExp("^hsla\\("+[vA,gA,gA,vA]+"\\)$"),EA={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function TA(n){var e;return n=(n+"").trim().toLowerCase(),(e=bA.exec(n))?new FA((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=_A.exec(n))?RA(parseInt(e[1],16)):(e=yA.exec(n))?new FA(e[1],e[2],e[3],1):(e=wA.exec(n))?new FA(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=CA.exec(n))?IA(e[1],e[2],e[3],e[4]):(e=xA.exec(n))?IA(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=SA.exec(n))?MA(e[1],e[2]/100,e[3]/100,1):(e=kA.exec(n))?MA(e[1],e[2]/100,e[3]/100,e[4]):EA.hasOwnProperty(n)?RA(EA[n]):"transparent"===n?new FA(NaN,NaN,NaN,0):null}function RA(n){return new FA(n>>16&255,n>>8&255,255&n,1)}function IA(n,e,t,l){return l<=0&&(n=e=t=NaN),new FA(n,e,t,l)}function DA(n){return n instanceof hA||(n=TA(n)),n?new FA((n=n.rgb()).r,n.g,n.b,n.opacity):new FA}function OA(n,e,t,l){return 1===arguments.length?DA(n):new FA(n,e,t,null==l?1:l)}function FA(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function NA(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function MA(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new qA(n,e,t,l)}function AA(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof qA)return new qA(n.h,n.s,n.l,n.opacity);if(n instanceof hA||(n=TA(n)),!n)return new qA;if(n instanceof qA)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new qA(i,a,u,n.opacity)}(n):new qA(n,e,t,null==l?1:l)}function qA(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function PA(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}pA(hA,TA,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),pA(FA,OA,fA(hA,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new FA(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new FA(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+NA(this.r)+NA(this.g)+NA(this.b)},toString:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}})),pA(qA,AA,fA(hA,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new qA(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new qA(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),e=isNaN(n)||isNaN(this.s)?0:this.s,t=this.l,l=t+(t<.5?t:1-t)*e,o=2*t-l;return new FA(PA(n>=240?n-240:n+120,o,l),PA(n,o,l),PA(n<120?n+240:n-120,o,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var jA=Math.PI/180,LA=180/Math.PI,VA=.96422,BA=1,zA=.82521,UA=4/29,HA=6/29,ZA=3*HA*HA,WA=HA*HA*HA;function GA(n){if(n instanceof KA)return new KA(n.l,n.a,n.b,n.opacity);if(n instanceof nq)return eq(n);n instanceof FA||(n=DA(n));var e,t,l=QA(n.r),o=QA(n.g),r=QA(n.b),i=YA((.2225045*l+.7168786*o+.0606169*r)/BA);return l===o&&o===r?e=t=i:(e=YA((.4360747*l+.3850649*o+.1430804*r)/VA),t=YA((.0139322*l+.0971045*o+.7141733*r)/zA)),new KA(116*i-16,500*(e-i),200*(i-t),n.opacity)}function KA(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function YA(n){return n>WA?Math.pow(n,1/3):n/ZA+UA}function $A(n){return n>HA?n*n*n:ZA*(n-UA)}function XA(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function QA(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function JA(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof nq)return new nq(n.h,n.c,n.l,n.opacity);if(n instanceof KA||(n=GA(n)),0===n.a&&0===n.b)return new nq(NaN,0<n.l&&n.l<100?0:NaN,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*LA;return new nq(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new nq(n,e,t,null==l?1:l)}function nq(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}function eq(n){if(isNaN(n.h))return new KA(n.l,0,0,n.opacity);var e=n.h*jA;return new KA(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}pA(KA,function(n,e,t,l){return 1===arguments.length?GA(n):new KA(n,e,t,null==l?1:l)},fA(hA,{brighter:function(n){return new KA(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new KA(this.l-18*(null==n?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,t=isNaN(this.b)?n:n-this.b/200;return new FA(XA(3.1338561*(e=VA*$A(e))-1.6168667*(n=BA*$A(n))-.4906146*(t=zA*$A(t))),XA(-.9787684*e+1.9161415*n+.033454*t),XA(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),pA(nq,JA,fA(hA,{brighter:function(n){return new nq(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new nq(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return eq(this).rgb()}}));var tq=-.29227,lq=-.90649,oq=1.97294,rq=oq*lq,iq=1.78277*oq,aq=1.78277*tq- -.14861*lq;function uq(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof sq)return new sq(n.h,n.s,n.l,n.opacity);n instanceof FA||(n=DA(n));var e=n.g/255,t=n.b/255,l=(aq*t+rq*(n.r/255)-iq*e)/(aq+rq-iq),o=t-l,r=(oq*(e-l)-tq*o)/lq,i=Math.sqrt(r*r+o*o)/(oq*l*(1-l)),a=i?Math.atan2(r,o)*LA-120:NaN;return new sq(a<0?a+360:a,i,l,n.opacity)}(n):new sq(n,e,t,null==l?1:l)}function sq(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function dq(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}pA(sq,uq,fA(hA,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new sq(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new sq(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*jA,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new FA(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(tq*l+lq*o)),255*(e+t*(oq*l)),this.opacity)}}));var cq=function(n){return function(){return n}};function pq(n,e){return function(t){return n+t*e}}function fq(n,e){var t=e-n;return t?pq(n,t>180||t<-180?t-360*Math.round(t/360):t):cq(isNaN(n)?e:n)}function hq(n,e){var t=e-n;return t?pq(n,t):cq(isNaN(n)?e:n)}var mq=function n(e){var t=function(n){return 1==(n=+n)?hq:function(e,t){return t-e?function(n,e,t){return n=Math.pow(n,t),e=Math.pow(e,t)-n,t=1/t,function(l){return Math.pow(n+l*e,t)}}(e,t,n):cq(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=OA(n)).r,(e=OA(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=hq(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function vq(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=OA(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}var gq,bq,_q,yq,wq=vq(function(n){var e=n.length-1;return function(t){var l=t<=0?t=0:t>=1?(t=1,e-1):Math.floor(t*e),o=n[l],r=n[l+1];return dq((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}}),Cq=(vq(function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return dq((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}}),function(n,e){return e-=n=+n,function(t){return n+e*t}}),xq=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Sq=new RegExp(xq.source,"g"),kq=function(n,e){var t,l,o,r=xq.lastIndex=Sq.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=xq.exec(n))&&(l=Sq.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:Cq(t,l)})),r=Sq.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=o),a.length<2?u[0]?function(n){return function(e){return n(e)+""}}(u[0].x):function(n){return function(){return n}}(e):(e=u.length,function(n){for(var t,l=0;l<e;++l)a[(t=u[l]).i]=t.x(n);return a.join("")})},Eq=function(n,e){var t,l=typeof e;return null==e||"boolean"===l?cq(e):("number"===l?Cq:"string"===l?(t=TA(e))?(e=t,mq):kq:e instanceof TA?mq:e instanceof Date?function(n,e){var t=new Date;return e-=n=+n,function(l){return t.setTime(n+e*l),t}}:Array.isArray(e)?function(n,e){var t,l=e?e.length:0,o=n?Math.min(l,n.length):0,r=new Array(o),i=new Array(l);for(t=0;t<o;++t)r[t]=Eq(n[t],e[t]);for(;t<l;++t)i[t]=e[t];return function(n){for(t=0;t<o;++t)i[t]=r[t](n);return i}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(n,e){var t,l={},o={};for(t in null!==n&&"object"==typeof n||(n={}),null!==e&&"object"==typeof e||(e={}),e)t in n?l[t]=Eq(n[t],e[t]):o[t]=e[t];return function(n){for(t in l)o[t]=l[t](n);return o}}:Cq)(n,e)},Tq=function(n,e){return e-=n=+n,function(t){return Math.round(n+e*t)}},Rq=180/Math.PI,Iq={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Dq=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(u=n*t+e*l)&&(t-=n*u,l-=e*u),(a=Math.sqrt(t*t+l*l))&&(t/=a,l/=a,u/=a),n*l<e*t&&(n=-n,e=-e,u=-u,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*Rq,skewX:Math.atan(u)*Rq,scaleX:i,scaleY:a}};function Oq(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:Cq(n,o)},{i:u-2,x:Cq(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:Cq(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:Cq(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:Cq(n,t)},{i:a-2,x:Cq(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=null,function(n){for(var e,t=-1,l=u.length;++t<l;)a[(e=u[t]).i]=e.x(n);return a.join("")}}}var Fq=Oq(function(n){return"none"===n?Iq:(gq||(gq=document.createElement("DIV"),bq=document.documentElement,_q=document.defaultView),gq.style.transform=n,n=_q.getComputedStyle(bq.appendChild(gq),null).getPropertyValue("transform"),bq.removeChild(gq),n=n.slice(7,-1).split(","),Dq(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),Nq=Oq(function(n){return null==n?Iq:(yq||(yq=document.createElementNS("http://www.w3.org/2000/svg","g")),yq.setAttribute("transform",n),(n=yq.transform.baseVal.consolidate())?Dq((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):Iq)},", ",")",")"),Mq=Math.SQRT2;function Aq(n){return((n=Math.exp(n))+1/n)/2}var qq=function(n,e){var t,l,o=n[0],r=n[1],i=n[2],a=e[2],u=e[0]-o,s=e[1]-r,d=u*u+s*s;if(d<1e-12)l=Math.log(a/i)/Mq,t=function(n){return[o+n*u,r+n*s,i*Math.exp(Mq*n*l)]};else{var c=Math.sqrt(d),p=(a*a-i*i+4*d)/(2*i*2*c),f=(a*a-i*i-4*d)/(2*a*2*c),h=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(f*f+1)-f);l=(m-h)/Mq,t=function(n){var e,t=n*l,a=Aq(h),d=i/(2*c)*(a*(e=Mq*t+h,((e=Math.exp(2*e))-1)/(e+1))-function(n){return((n=Math.exp(n))-1/n)/2}(h));return[o+d*u,r+d*s,i*a/Aq(Mq*t+h)]}}return t.duration=1e3*l,t};function Pq(n){return function(e,t){var l=n((e=AA(e)).h,(t=AA(t)).h),o=hq(e.s,t.s),r=hq(e.l,t.l),i=hq(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function jq(n){return function(e,t){var l=n((e=JA(e)).h,(t=JA(t)).h),o=hq(e.c,t.c),r=hq(e.l,t.l),i=hq(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function Lq(n){return function e(t){function l(e,l){var o=n((e=uq(e)).h,(l=uq(l)).h),r=hq(e.s,l.s),i=hq(e.l,l.l),a=hq(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}Pq(fq),Pq(hq),jq(fq),jq(hq),Lq(fq);var Vq,Bq,zq=Lq(hq),Uq=0,Hq=0,Zq=0,Wq=1e3,Gq=0,Kq=0,Yq=0,$q="object"==typeof performance&&performance.now?performance:Date,Xq="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function Qq(){return Kq||(Xq(Jq),Kq=$q.now()+Yq)}function Jq(){Kq=0}function nP(){this._call=this._time=this._next=null}function eP(n,e,t){var l=new nP;return l.restart(n,e,t),l}function tP(){Qq(),++Uq;for(var n,e=Vq;e;)(n=Kq-e._time)>=0&&e._call.call(null,n),e=e._next;--Uq}function lP(){Kq=(Gq=$q.now())+Yq,Uq=Hq=0;try{tP()}finally{Uq=0,function(){for(var n,e,t=Vq,l=1/0;t;)t._call?(l>t._time&&(l=t._time),n=t,t=t._next):(e=t._next,t._next=null,t=n?n._next=e:Vq=e);Bq=n,rP(l)}(),Kq=0}}function oP(){var n=$q.now(),e=n-Gq;e>Wq&&(Yq-=e,Gq=n)}function rP(n){Uq||(Hq&&(Hq=clearTimeout(Hq)),n-Kq>24?(n<1/0&&(Hq=setTimeout(lP,n-$q.now()-Yq)),Zq&&(Zq=clearInterval(Zq))):(Zq||(Gq=$q.now(),Zq=setInterval(oP,Wq)),Uq=1,Xq(lP)))}nP.prototype=eP.prototype={constructor:nP,restart:function(n,e,t){if("function"!=typeof n)throw new TypeError("callback is not a function");t=(null==t?Qq():+t)+(null==e?0:+e),this._next||Bq===this||(Bq?Bq._next=this:Vq=this,Bq=this),this._call=n,this._time=t,rP()},stop:function(){this._call&&(this._call=null,this._time=1/0,rP())}};var iP=function(n,e,t){var l=new nP;return l.restart(function(t){l.stop(),n(t+e)},e=null==e?0:+e,t),l},aP=function(n,e,t){var l=new nP,o=e;return null==e?(l.restart(n,e,t),l):(e=+e,t=null==t?Qq():+t,l.restart(function r(i){i+=o,l.restart(r,o+=e,t),n(i)},e,t),l)},uP=rO("start","end","cancel","interrupt"),sP=[],dP=0,cP=1,pP=2,fP=3,hP=4,mP=5,vP=6,gP=function(n,e,t,l,o,r){var i=n.__transition;if(i){if(t in i)return}else n.__transition={};!function(n,e,t){var l,o=n.__transition;function r(u){var s,d,c,p;if(t.state!==cP)return a();for(s in o)if((p=o[s]).name===t.name){if(p.state===fP)return iP(r);p.state===hP?(p.state=vP,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete o[s]):+s<e&&(p.state=vP,p.timer.stop(),p.on.call("cancel",n,n.__data__,p.index,p.group),delete o[s])}if(iP(function(){t.state===fP&&(t.state=hP,t.timer.restart(i,t.delay,t.time),i(u))}),t.state=pP,t.on.call("start",n,n.__data__,t.index,t.group),t.state===pP){for(t.state=fP,l=new Array(c=t.tween.length),s=0,d=-1;s<c;++s)(p=t.tween[s].value.call(n,n.__data__,t.index,t.group))&&(l[++d]=p);l.length=d+1}}function i(e){for(var o=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(a),t.state=mP,1),r=-1,i=l.length;++r<i;)l[r].call(n,o);t.state===mP&&(t.on.call("end",n,n.__data__,t.index,t.group),a())}function a(){for(var l in t.state=vP,t.timer.stop(),delete o[e],o)return;delete n.__transition}o[e]=t,t.timer=eP(function(n){t.state=cP,t.timer.restart(r,t.delay,t.time),t.delay<=n&&r(n-t.delay)},0,t.time)}(n,t,{name:e,index:l,group:o,on:uP,tween:sP,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:dP})};function bP(n,e){var t=yP(n,e);if(t.state>dP)throw new Error("too late; already scheduled");return t}function _P(n,e){var t=yP(n,e);if(t.state>fP)throw new Error("too late; already running");return t}function yP(n,e){var t=n.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var wP=function(n,e){var t,l,o,r=n.__transition,i=!0;if(r){for(o in e=null==e?null:e+"",r)(t=r[o]).name===e?(l=t.state>pP&&t.state<mP,t.state=vP,t.timer.stop(),t.on.call(l?"interrupt":"cancel",n,n.__data__,t.index,t.group),delete r[o]):i=!1;i&&delete n.__transition}};function CP(n,e){var t,l;return function(){var o=_P(this,n),r=o.tween;if(r!==t)for(var i=0,a=(l=t=r).length;i<a;++i)if(l[i].name===e){(l=l.slice()).splice(i,1);break}o.tween=l}}function xP(n,e,t){var l,o;if("function"!=typeof t)throw new Error;return function(){var r=_P(this,n),i=r.tween;if(i!==l){o=(l=i).slice();for(var a={name:e,value:t},u=0,s=o.length;u<s;++u)if(o[u].name===e){o[u]=a;break}u===s&&o.push(a)}r.tween=o}}function SP(n,e,t){var l=n._id;return n.each(function(){var n=_P(this,l);(n.value||(n.value={}))[e]=t.apply(this,arguments)}),function(n){return yP(n,l).value[e]}}var kP=function(n,e){var t;return("number"==typeof e?Cq:e instanceof TA?mq:(t=TA(e))?(e=t,mq):kq)(n,e)};function EP(n,e){var t,l;function o(){var o=e.apply(this,arguments);return o!==l&&(t=(l=o)&&function(n,e){return function(t){this.setAttributeNS(n.space,n.local,e(t))}}(n,o)),t}return o._value=e,o}function TP(n,e){var t,l;function o(){var o=e.apply(this,arguments);return o!==l&&(t=(l=o)&&function(n,e){return function(t){this.setAttribute(n,e(t))}}(n,o)),t}return o._value=e,o}function RP(n,e){return function(){bP(this,n).delay=+e.apply(this,arguments)}}function IP(n,e){return e=+e,function(){bP(this,n).delay=e}}function DP(n,e){return function(){_P(this,n).duration=+e.apply(this,arguments)}}function OP(n,e){return e=+e,function(){_P(this,n).duration=e}}function FP(n,e){if("function"!=typeof e)throw new Error;return function(){_P(this,n).ease=e}}function NP(n,e,t){var l,o,r=function(n){return(n+"").trim().split(/^|\s+/).every(function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||"start"===n})}(e)?bP:_P;return function(){var i=r(this,n),a=i.on;a!==l&&(o=(l=a).copy()).on(e,t),i.on=o}}var MP=gD.prototype.constructor;function AP(n){return function(){this.style.removeProperty(n)}}function qP(n,e,t){var l,o;function r(){var r=e.apply(this,arguments);return r!==o&&(l=(o=r)&&function(n,e,t){return function(l){this.style.setProperty(n,e(l),t)}}(n,r,t)),l}return r._value=e,r}var PP=0;function jP(n,e,t,l){this._groups=n,this._parents=e,this._name=t,this._id=l}function LP(n){return gD().transition(n)}function VP(){return++PP}var BP=gD.prototype;function zP(n){return+n}function UP(n){return n*n}function HP(n){return n*(2-n)}function ZP(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}function WP(n){return n*n*n}function GP(n){return--n*n*n+1}function KP(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}jP.prototype=LP.prototype={constructor:jP,select:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=mI(n));for(var l=this._groups,o=l.length,r=new Array(o),i=0;i<o;++i)for(var a,u,s=l[i],d=s.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=s[p])&&(u=n.call(a,a.__data__,p,s))&&("__data__"in a&&(u.__data__=a.__data__),c[p]=u,gP(c[p],e,t,p,c,yP(a,t)));return new jP(r,this._parents,e,t)},selectAll:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=gI(n));for(var l=this._groups,o=l.length,r=[],i=[],a=0;a<o;++a)for(var u,s=l[a],d=s.length,c=0;c<d;++c)if(u=s[c]){for(var p,f=n.call(u,u.__data__,c,s),h=yP(u,t),m=0,v=f.length;m<v;++m)(p=f[m])&&gP(p,e,t,m,f,h);r.push(f),i.push(u)}return new jP(r,i,e,t)},filter:function(n){"function"!=typeof n&&(n=bI(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new jP(l,this._parents,this._name,this._id)},merge:function(n){if(n._id!==this._id)throw new Error;for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new jP(r,this._parents,this._name,this._id)},selection:function(){return new MP(this._groups,this._parents)},transition:function(){for(var n=this._name,e=this._id,t=VP(),l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)if(i=a[s]){var d=yP(i,e);gP(i,n,t,s,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new jP(l,this._parents,n,t)},call:BP.call,nodes:BP.nodes,node:BP.node,size:BP.size,empty:BP.empty,each:BP.each,on:function(n,e){var t=this._id;return arguments.length<2?yP(this.node(),t).on.on(n):this.each(NP(t,n,e))},attr:function(n,e){var t=pI(n),l="transform"===t?Nq:kP;return this.attrTween(n,"function"==typeof e?(t.local?function(n,e,t){var l,o,r;return function(){var i,a,u=t(this);if(null!=u)return(i=this.getAttributeNS(n.space,n.local))===(a=u+"")?null:i===l&&a===o?r:(o=a,r=e(l=i,u));this.removeAttributeNS(n.space,n.local)}}:function(n,e,t){var l,o,r;return function(){var i,a,u=t(this);if(null!=u)return(i=this.getAttribute(n))===(a=u+"")?null:i===l&&a===o?r:(o=a,r=e(l=i,u));this.removeAttribute(n)}})(t,l,SP(this,"attr."+n,e)):null==e?(t.local?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}})(t):(t.local?function(n,e,t){var l,o,r=t+"";return function(){var i=this.getAttributeNS(n.space,n.local);return i===r?null:i===l?o:o=e(l=i,t)}}:function(n,e,t){var l,o,r=t+"";return function(){var i=this.getAttribute(n);return i===r?null:i===l?o:o=e(l=i,t)}})(t,l,e))},attrTween:function(n,e){var t="attr."+n;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;var l=pI(n);return this.tween(t,(l.local?EP:TP)(l,e))},style:function(n,e,t){var l="transform"==(n+="")?Fq:kP;return null==e?this.styleTween(n,function(n,e){var t,l,o;return function(){var r=AI(this,n),i=(this.style.removeProperty(n),AI(this,n));return r===i?null:r===t&&i===l?o:o=e(t=r,l=i)}}(n,l)).on("end.style."+n,AP(n)):"function"==typeof e?this.styleTween(n,function(n,e,t){var l,o,r;return function(){var i=AI(this,n),a=t(this),u=a+"";return null==a&&(this.style.removeProperty(n),u=a=AI(this,n)),i===u?null:i===l&&u===o?r:(o=u,r=e(l=i,a))}}(n,l,SP(this,"style."+n,e))).each(function(n,e){var t,l,o,r,i="style."+e,a="end."+i;return function(){var u=_P(this,n),s=u.on,d=null==u.value[i]?r||(r=AP(e)):void 0;s===t&&o===d||(l=(t=s).copy()).on(a,o=d),u.on=l}}(this._id,n)):this.styleTween(n,function(n,e,t){var l,o,r=t+"";return function(){var i=AI(this,n);return i===r?null:i===l?o:o=e(l=i,t)}}(n,l,e),t).on("end.style."+n,null)},styleTween:function(n,e,t){var l="style."+(n+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==e)return this.tween(l,null);if("function"!=typeof e)throw new Error;return this.tween(l,qP(n,e,null==t?"":t))},text:function(n){return this.tween("text","function"==typeof n?function(n){return function(){var e=n(this);this.textContent=null==e?"":e}}(SP(this,"text",n)):function(n){return function(){this.textContent=n}}(null==n?"":n+""))},remove:function(){return this.on("end.remove",(n=this._id,function(){var e=this.parentNode;for(var t in this.__transition)if(+t!==n)return;e&&e.removeChild(this)}));var n},tween:function(n,e){var t=this._id;if(n+="",arguments.length<2){for(var l,o=yP(this.node(),t).tween,r=0,i=o.length;r<i;++r)if((l=o[r]).name===n)return l.value;return null}return this.each((null==e?CP:xP)(t,n,e))},delay:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?RP:IP)(e,n)):yP(this.node(),e).delay},duration:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?DP:OP)(e,n)):yP(this.node(),e).duration},ease:function(n){var e=this._id;return arguments.length?this.each(FP(e,n)):yP(this.node(),e).ease},end:function(){var n,e,t=this,l=t._id,o=t.size();return new Promise(function(r,i){var a={value:i},u={value:function(){0==--o&&r()}};t.each(function(){var t=_P(this,l),o=t.on;o!==n&&((e=(n=o).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(u)),t.on=e})})}};var YP=function n(e){function t(n){return Math.pow(n,e)}return e=+e,t.exponent=n,t}(3),$P=function n(e){function t(n){return 1-Math.pow(1-n,e)}return e=+e,t.exponent=n,t}(3),XP=function n(e){function t(n){return((n*=2)<=1?Math.pow(n,e):2-Math.pow(2-n,e))/2}return e=+e,t.exponent=n,t}(3),QP=Math.PI,JP=QP/2;function nj(n){return 1-Math.cos(n*JP)}function ej(n){return Math.sin(n*JP)}function tj(n){return(1-Math.cos(QP*n))/2}function lj(n){return Math.pow(2,10*n-10)}function oj(n){return 1-Math.pow(2,-10*n)}function rj(n){return((n*=2)<=1?Math.pow(2,10*n-10):2-Math.pow(2,10-10*n))/2}function ij(n){return 1-Math.sqrt(1-n*n)}function aj(n){return Math.sqrt(1- --n*n)}function uj(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var sj=4/11,dj=6/11,cj=8/11,pj=.75,fj=9/11,hj=10/11,mj=.9375,vj=21/22,gj=63/64,bj=1/sj/sj;function _j(n){return 1-yj(1-n)}function yj(n){return(n=+n)<sj?bj*n*n:n<cj?bj*(n-=dj)*n+pj:n<hj?bj*(n-=fj)*n+mj:bj*(n-=vj)*n+gj}function wj(n){return((n*=2)<=1?1-yj(1-n):yj(n-1)+1)/2}var Cj=function n(e){function t(n){return n*n*((e+1)*n-e)}return e=+e,t.overshoot=n,t}(1.70158),xj=function n(e){function t(n){return--n*n*((e+1)*n+e)+1}return e=+e,t.overshoot=n,t}(1.70158),Sj=function n(e){function t(n){return((n*=2)<1?n*n*((e+1)*n-e):(n-=2)*n*((e+1)*n+e)+2)/2}return e=+e,t.overshoot=n,t}(1.70158),kj=2*Math.PI,Ej=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=kj);function o(n){return e*Math.pow(2,10*--n)*Math.sin((l-n)/t)}return o.amplitude=function(e){return n(e,t*kj)},o.period=function(t){return n(e,t)},o}(1,.3),Tj=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=kj);function o(n){return 1-e*Math.pow(2,-10*(n=+n))*Math.sin((n+l)/t)}return o.amplitude=function(e){return n(e,t*kj)},o.period=function(t){return n(e,t)},o}(1,.3),Rj=function n(e,t){var l=Math.asin(1/(e=Math.max(1,e)))*(t/=kj);function o(n){return((n=2*n-1)<0?e*Math.pow(2,10*n)*Math.sin((l-n)/t):2-e*Math.pow(2,-10*n)*Math.sin((l+n)/t))/2}return o.amplitude=function(e){return n(e,t*kj)},o.period=function(t){return n(e,t)},o}(1,.3),Ij={time:null,delay:0,duration:250,ease:KP};function Dj(n,e){for(var t;!(t=n.__transition)||!(t=t[e]);)if(!(n=n.parentNode))return Ij.time=Qq(),Ij;return t}gD.prototype.interrupt=function(n){return this.each(function(){wP(this,n)})},gD.prototype.transition=function(n){var e,t;n instanceof jP?(e=n._id,n=n._name):(e=VP(),(t=Ij).time=Qq(),n=null==n?null:n+"");for(var l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)(i=a[s])&&gP(i,n,e,s,a,t||Dj(i,e));return new jP(l,this._parents,n,e)};var Oj=function(n){return function(){return n}};function Fj(n,e,t){this.target=n,this.type=e,this.transform=t}function Nj(n,e,t){this.k=n,this.x=e,this.y=t}Nj.prototype={constructor:Nj,scale:function(n){return 1===n?this:new Nj(this.k*n,this.x,this.y)},translate:function(n,e){return 0===n&0===e?this:new Nj(this.k,this.x+this.k*n,this.y+this.k*e)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mj=new Nj(1,0,0);function Aj(n){return n.__zoom||Mj}function qj(){iD.stopImmediatePropagation()}Aj.prototype=Nj.prototype;var Pj=function(){iD.preventDefault(),iD.stopImmediatePropagation()};function jj(){return!iD.button}function Lj(){var n,e,t=this;return t instanceof SVGElement?(n=(t=t.ownerSVGElement||t).width.baseVal.value,e=t.height.baseVal.value):(n=t.clientWidth,e=t.clientHeight),[[0,0],[n,e]]}function Vj(){return this.__zoom||Mj}function Bj(){return-iD.deltaY*(iD.deltaMode?120:1)/500}function zj(){return"ontouchstart"in this}function Uj(n,e,t){var l=n.invertX(e[0][0])-t[0][0],o=n.invertX(e[1][0])-t[1][0],r=n.invertY(e[0][1])-t[0][1],i=n.invertY(e[1][1])-t[1][1];return n.translate(o>l?(l+o)/2:Math.min(0,l)||Math.max(0,o),i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i))}var Hj=function(){var n,e,t=jj,l=Lj,o=Uj,r=Bj,i=zj,a=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],s=250,d=qq,c=[],p=rO("start","zoom","end"),f=500,h=150,m=0;function v(n){n.property("__zoom",Vj).on("wheel.zoom",x).on("mousedown.zoom",S).on("dblclick.zoom",k).filter(i).on("touchstart.zoom",E).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",R).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(n,e){return(e=Math.max(a[0],Math.min(a[1],e)))===n.k?n:new Nj(e,n.x,n.y)}function b(n,e,t){var l=e[0]-t[0]*n.k,o=e[1]-t[1]*n.k;return l===n.x&&o===n.y?n:new Nj(n.k,l,o)}function _(n){return[(+n[0][0]+ +n[1][0])/2,(+n[0][1]+ +n[1][1])/2]}function y(n,e,t){n.on("start.zoom",function(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var n=this,o=arguments,r=w(n,o),i=l.apply(n,o),a=t||_(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),s=n.__zoom,c="function"==typeof e?e.apply(n,o):e,p=d(s.invert(a).concat(u/s.k),c.invert(a).concat(u/c.k));return function(n){if(1===n)n=c;else{var e=p(n),t=u/e[2];n=new Nj(t,a[0]-e[0]*t,a[1]-e[1]*t)}r.zoom(null,n)}})}function w(n,e){for(var t,l=0,o=c.length;l<o;++l)if((t=c[l]).that===n)return t;return new C(n,e)}function C(n,e){this.that=n,this.args=e,this.index=-1,this.active=0,this.extent=l.apply(n,e)}function x(){if(t.apply(this,arguments)){var n=w(this,arguments),e=this.__zoom,l=Math.max(a[0],Math.min(a[1],e.k*Math.pow(2,r.apply(this,arguments)))),i=xD(this);if(n.wheel)n.mouse[0][0]===i[0]&&n.mouse[0][1]===i[1]||(n.mouse[1]=e.invert(n.mouse[0]=i)),clearTimeout(n.wheel);else{if(e.k===l)return;n.mouse=[i,e.invert(i)],wP(this),n.start()}Pj(),n.wheel=setTimeout(function(){n.wheel=null,n.end()},h),n.zoom("mouse",o(b(g(e,l),n.mouse[0],n.mouse[1]),n.extent,u))}}function S(){if(!e&&t.apply(this,arguments)){var n=w(this,arguments),l=bD(iD.view).on("mousemove.zoom",function(){if(Pj(),!n.moved){var e=iD.clientX-i,t=iD.clientY-a;n.moved=e*e+t*t>m}n.zoom("mouse",o(b(n.that.__zoom,n.mouse[0]=xD(n.that),n.mouse[1]),n.extent,u))},!0).on("mouseup.zoom",function(){l.on("mousemove.zoom mouseup.zoom",null),sO(iD.view,n.moved),Pj(),n.end()},!0),r=xD(this),i=iD.clientX,a=iD.clientY;uO(iD.view),qj(),n.mouse=[r,this.__zoom.invert(r)],wP(this),n.start()}}function k(){if(t.apply(this,arguments)){var n=this.__zoom,e=xD(this),r=n.invert(e),i=o(b(g(n,n.k*(iD.shiftKey?.5:2)),e,r),l.apply(this,arguments),u);Pj(),s>0?bD(this).transition().duration(s).call(y,i,e):bD(this).call(v.transform,i)}}function E(){if(t.apply(this,arguments)){var e,l,o,r,i=w(this,arguments),a=iD.changedTouches,u=a.length;for(qj(),l=0;l<u;++l)r=[r=SD(this,a,(o=a[l]).identifier),this.__zoom.invert(r),o.identifier],i.touch0?i.touch1||(i.touch1=r):(i.touch0=r,e=!0);if(n&&(n=clearTimeout(n),!i.touch1))return i.end(),void((r=bD(this).on("dblclick.zoom"))&&r.apply(this,arguments));e&&(n=setTimeout(function(){n=null},f),wP(this),i.start())}}function T(){var e,t,l,r,i=w(this,arguments),a=iD.changedTouches,s=a.length;for(Pj(),n&&(n=clearTimeout(n)),e=0;e<s;++e)l=SD(this,a,(t=a[e]).identifier),i.touch0&&i.touch0[2]===t.identifier?i.touch0[0]=l:i.touch1&&i.touch1[2]===t.identifier&&(i.touch1[0]=l);if(t=i.that.__zoom,i.touch1){var d=i.touch0[0],c=i.touch0[1],p=i.touch1[0],f=i.touch1[1],h=(h=p[0]-d[0])*h+(h=p[1]-d[1])*h,m=(m=f[0]-c[0])*m+(m=f[1]-c[1])*m;t=g(t,Math.sqrt(h/m)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],r=[(c[0]+f[0])/2,(c[1]+f[1])/2]}else{if(!i.touch0)return;l=i.touch0[0],r=i.touch0[1]}i.zoom("touch",o(b(t,l,r),i.extent,u))}function R(){var n,t,l=w(this,arguments),o=iD.changedTouches,r=o.length;for(qj(),e&&clearTimeout(e),e=setTimeout(function(){e=null},f),n=0;n<r;++n)t=o[n],l.touch0&&l.touch0[2]===t.identifier?delete l.touch0:l.touch1&&l.touch1[2]===t.identifier&&delete l.touch1;l.touch1&&!l.touch0&&(l.touch0=l.touch1,delete l.touch1),l.touch0?l.touch0[1]=this.__zoom.invert(l.touch0[0]):l.end()}return v.transform=function(n,e){var t=n.selection?n.selection():n;t.property("__zoom",Vj),n!==t?y(n,e):t.interrupt().each(function(){w(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},v.scaleBy=function(n,e){v.scaleTo(n,function(){var n=this.__zoom.k,t="function"==typeof e?e.apply(this,arguments):e;return n*t})},v.scaleTo=function(n,e){v.transform(n,function(){var n=l.apply(this,arguments),t=this.__zoom,r=_(n),i=t.invert(r),a="function"==typeof e?e.apply(this,arguments):e;return o(b(g(t,a),r,i),n,u)})},v.translateBy=function(n,e,t){v.transform(n,function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof t?t.apply(this,arguments):t),l.apply(this,arguments),u)})},v.translateTo=function(n,e,t){v.transform(n,function(){var n=l.apply(this,arguments),r=this.__zoom,i=_(n);return o(Mj.translate(i[0],i[1]).scale(r.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof t?-t.apply(this,arguments):-t),n,u)})},C.prototype={start:function(){return 1==++this.active&&(this.index=c.push(this)-1,this.emit("start")),this},zoom:function(n,e){return this.mouse&&"mouse"!==n&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==n&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==n&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(c.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(n){pD(new Fj(v,n,this.that.__zoom),p.apply,p,[n,this.that,this.args])}},v.wheelDelta=function(n){return arguments.length?(r="function"==typeof n?n:Oj(+n),v):r},v.filter=function(n){return arguments.length?(t="function"==typeof n?n:Oj(!!n),v):t},v.touchable=function(n){return arguments.length?(i="function"==typeof n?n:Oj(!!n),v):i},v.extent=function(n){return arguments.length?(l="function"==typeof n?n:Oj([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),v):l},v.scaleExtent=function(n){return arguments.length?(a[0]=+n[0],a[1]=+n[1],v):[a[0],a[1]]},v.translateExtent=function(n){return arguments.length?(u[0][0]=+n[0][0],u[1][0]=+n[1][0],u[0][1]=+n[0][1],u[1][1]=+n[1][1],v):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},v.constrain=function(n){return arguments.length?(o=n,v):o},v.duration=function(n){return arguments.length?(s=+n,v):s},v.interpolate=function(n){return arguments.length?(d=n,v):d},v.on=function(){var n=p.on.apply(p,arguments);return n===p?v:n},v.clickDistance=function(n){return arguments.length?(m=(n=+n)*n,v):Math.sqrt(m)},v},Zj=function(){function n(n){this.context=n,this.enabled=!1,this.needsDeactivate=!1,this.needsActivate=!1,this.zoom=Hj().scaleExtent([.5,8])}return n.prototype.setEnabled=function(n){this.enabled!=n&&(n?this.needsActivate=!0:this.needsDeactivate=!0),this.enabled=n},n.prototype.draw=function(n,e){this.needsActivate&&(this.activate(n),this.needsActivate=!1),this.needsDeactivate&&(this.deactivate(n),this.needsDeactivate=!1)},n.prototype.activate=function(n){var e=this;this.zoom.filter(function(){return"mousedown"===iD.type}),this.zoom.on("zoom",function(){var t=n.select("g.canvas"),l=iD;t.attr("transform",function(){return e.context.transformation.x=l.transform.x,e.context.transformation.y=l.transform.y,e.context.transformation.k=l.transform.k,"translate("+(e.context.getZeroZeroTransformationPoint().x+e.context.transformation.x)+", "+(e.context.getZeroZeroTransformationPoint().y+e.context.transformation.y)+") scale("+e.context.transformation.k+")"})}),n.call(this.zoom)},n.prototype.deactivate=function(n){n.on("mousedown.zoom",null),this.zoom.on("zoom",null)},n}(),Wj=function(){function n(n,e,t){this.linksWidget=n,this.nodesWidget=e,this.drawingsWidget=t}return n.prototype.draw=function(n,e){var t=n.selectAll("g.layer").data(e,function(n){return n.index.toString()}),l=t.enter().append("g").attr("class","layer");l.append("g").attr("class","links"),l.append("g").attr("class","nodes"),l.append("g").attr("class","drawings");var o=t.merge(l);o.attr("data-index",function(n){return n.index});var r=o.select("g.links"),i=o.select("g.nodes"),a=o.select("g.drawings");t.exit().remove(),this.linksWidget.draw(r),this.nodesWidget.draw(i),this.drawingsWidget.draw(a)},n}(),Gj=function(){function n(n,e,t,l,o,r){this.nodesWidget=n,this.drawingLineTool=e,this.selectionTool=t,this.movingTool=l,this.layersWidget=o,this.layersManager=r}return n.prototype.getNodesWidget=function(){return this.nodesWidget},n.prototype.getDrawingLineTool=function(){return this.drawingLineTool},n.prototype.getSelectionTool=function(){return this.selectionTool},n.prototype.connect=function(n,e){this.drawingLineTool.connect(n,e)},n.prototype.draw=function(n,e){n.attr("width",e.size.width).attr("height",e.size.height);var t=n.selectAll("g.canvas").data([e]),l=t.enter().append("g").attr("class","canvas");t.merge(l).attr("transform",function(n){return"translate("+(n.getZeroZeroTransformationPoint().x+n.transformation.x)+", "+(n.getZeroZeroTransformationPoint().y+n.transformation.y)+") scale("+n.transformation.k+")"}),this.layersWidget.draw(t,this.layersManager.getLayersList()),this.drawingLineTool.draw(n,e),this.selectionTool.draw(n,e),this.movingTool.draw(n,e)},n.prototype.disconnect=function(n){n.empty&&!n.empty()&&n.selectAll("*").remove()},n}(),Kj=function(){function n(){}return n.prototype.getOptimalSize=function(n,e){var t=document.documentElement.clientWidth,l=document.documentElement.clientHeight;return n>t&&(t=n),e>l&&(l=e),new iI(t,l)},n}(),Yj=function(){function n(n,e,t,l,o,r,i,a,u,s,d,c){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.mapSettings=o,this.element=r,this.interfaceLabelWidget=i,this.selectionToolWidget=a,this.movingToolWidget=u,this.graphLayout=s,this.toolsService=d,this.mapScaleService=c,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.subscriptions=[],this.settings={show_interface_labels:!0},this.parentNativeElement=r.nativeElement}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(n){this.settings.show_interface_labels=n,this.interfaceLabelWidget.setEnabled(n),this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(n){this.mapSettings.isReadOnly=n},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){(n.width&&!n.width.isFirstChange()||n.height&&!n.height.isFirstChange()||n.drawings&&!n.drawings.isFirstChange()||n.nodes&&!n.nodes.isFirstChange()||n.links&&!n.links.isFirstChange()||n.symbols&&!n.symbols.isFirstChange())&&this.svg.empty&&!this.svg.empty()&&(n.symbols&&this.onSymbolsChange(n.symbols),this.changeLayout())},n.prototype.ngOnInit=function(){var n=this;null!==this.parentNativeElement&&this.createGraph(this.parentNativeElement),this.context.size=this.getSize(),this.onChangesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){n.mapChangeDetectorRef.hasBeenDrawn&&n.redraw()}),this.subscriptions.push(this.mapScaleService.scaleChangeEmitter.subscribe(function(e){return n.redraw()})),this.subscriptions.push(this.toolsService.isMovingToolActivated.subscribe(function(e){n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isSelectionToolActivated.subscribe(function(e){n.selectionToolWidget.setEnabled(e),n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.toolsService.isDrawLinkToolActivated.subscribe(function(e){n.drawLinkTool=e}))},n.prototype.ngOnDestroy=function(){this.graphLayout.disconnect(this.svg),this.onChangesDetected.unsubscribe(),this.subscriptions.forEach(function(n){n.unsubscribe()})},n.prototype.createGraph=function(n){var e=bD(n);this.svg=e.select("svg"),this.graphLayout.connect(this.svg,this.context),this.graphLayout.draw(this.svg,this.context),this.mapChangeDetectorRef.hasBeenDrawn=!0},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},n.prototype.changeLayout=function(){null!=this.parentNativeElement&&(this.context.size=this.getSize()),this.redraw()},n.prototype.onSymbolsChange=function(n){this.graphDataManager.setSymbols(this.symbols)},n.prototype.redraw=function(){this.graphDataManager.setNodes(this.nodes),this.graphDataManager.setLinks(this.links),this.graphDataManager.setDrawings(this.drawings),this.graphLayout.draw(this.svg,this.context),this.textEditor.activateTextEditingForDrawings(),this.textEditor.activateTextEditingForNodeLabels()},n.prototype.onResize=function(n){this.changeLayout()},n}(),$j=o["\u0275crt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function Xj(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{svgRef:0}),o["\u0275qud"](671088640,2,{textEditor:0}),(n()(),o["\u0275eld"](2,0,[[1,0],["svg",1]],null,4,":svg:svg",[["class","map"],["movingCanvas",""],["preserveAspectRatio","none"],["zoomingCanvas",""]],null,[[null,"mousedown"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,3).onMouseDown(t)&&l),l},null,null)),o["\u0275did"](3,212992,null,0,kD,[o.ElementRef,rI,sI],null,null),o["\u0275did"](4,212992,null,0,TD,[o.ElementRef,rI,sI,ED],null,null),(n()(),o["\u0275eld"](5,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,0,":svg:feColorMatrix",[["id","feGrayscale"],["type","saturate"],["values","0"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,1,"app-drawing-adding",[],null,null,null,BD,VD)),o["\u0275did"](8,245760,null,0,LD,[RD,sI],{svg:[0,"svg"]},null),(n()(),o["\u0275eld"](9,0,null,null,1,"app-drawing-resizing",[],null,null,null,PO,qO)),o["\u0275did"](10,245760,null,0,AO,[MO,RD],null,null),(n()(),o["\u0275eld"](11,0,null,null,1,"app-selection-control",[],null,null,null,hF,fF)),o["\u0275did"](12,245760,null,0,pF,[jO,dF,cF,DO],null,null),(n()(),o["\u0275eld"](13,0,null,null,1,"app-selection-select",[],null,null,null,bF,gF)),o["\u0275did"](14,245760,null,0,vF,[DO,mF],null,null),(n()(),o["\u0275eld"](15,0,null,null,1,"app-text-editor",[],null,null,null,kF,SF)),o["\u0275did"](16,245760,[[2,4],["textEditor",4]],0,xF,[RD,_F,sI,o.Renderer2,ED,wF,CF,yF,DO,xO],{svg:[0,"svg"],server:[1,"server"]},null),(n()(),o["\u0275eld"](17,0,null,null,1,"app-draggable-selection",[],null,null,null,$F,YF)),o["\u0275did"](18,245760,null,0,KF,[DF,MO,ZF,TF,BF,DO,RF,RD,dF,WF,GF],{svg:[0,"svg"]},null)],function(n,e){var t=e.component;n(e,3,0),n(e,4,0),n(e,8,0,o["\u0275nov"](e,2)),n(e,10,0),n(e,12,0),n(e,14,0),n(e,16,0,o["\u0275nov"](e,2),t.server),n(e,18,0,o["\u0275nov"](e,2))},null)}var Qj=function(){function n(n,e,t,l){this.elementRef=n,this.ref=e,this.sanitizer=t,this.cssFixer=l,this.label={x:0,y:0,text:"",style:"",rotation:0},this.borderSize=5,this.textWidth=0,this.textHeight=0}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"x",{set:function(n){this.label.x=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"y",{set:function(n){this.label.y=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.label.text},set:function(n){this.label.text=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"style",{set:function(n){this.label.style=this.cssFixer.fix(n),this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rotation",{set:function(n){this.label.rotation=n,this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sanitizedStyle",{get:function(){return this.sanitizer.bypassSecurityTrustStyle(this.label.style)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectX",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectY",{get:function(){return-this.textRef.nativeElement.getBBox().height-this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectWidth",{get:function(){return this.textRef.nativeElement.getBBox().width+2*this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rectHeight",{get:function(){return this.textRef.nativeElement.getBBox().height+this.borderSize},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=this.elementRef.nativeElement.getBBox(),e=this.label.x,t=this.label.y+n.height;return"translate("+e+", "+t+") rotate("+this.label.rotation+", "+e+", "+t+")"},enumerable:!0,configurable:!0}),n}(),Jj=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function nL(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{textRef:0}),(n()(),o["\u0275eld"](1,0,null,null,3,":svg:g",[["class","text_container"],["height","100"],["width","100"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,0,":svg:rect",[["fill","none"],["stroke","black"],["stroke-dasharray","3,3"],["stroke-width","0.5"]],[[1,"x",0],[1,"y",0],[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,[[1,0],["textSvg",1]],null,1,":svg:text",[["class","interface_label"]],[[1,"style",2],[1,"x",0],[1,"y",0]],null,null,null,null)),(n()(),o["\u0275ted"](4,null,[" "," "]))],null,function(n,e){var t=e.component;n(e,1,0,t.transform),n(e,2,0,t.rectX,t.rectY,t.rectWidth,t.rectHeight),n(e,3,0,t.sanitizedStyle,t.borderSize,0-t.borderSize),n(e,4,0,t.text)})}var eL=function(){function n(n,e){this.element=n,this.ref=e,this.data={status:"",path:null,direction:null,d:null}}return Object.defineProperty(n.prototype,"status",{get:function(){return this.data.status},set:function(n){this.data.status=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return this.data.path},set:function(n){this.data.path=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"direction",{get:function(){return this.data.direction},set:function(n){this.data.direction=n,this.ref.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"d",{set:function(n){this.data.d!==n&&(this.data.d=n,this.ref.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sourceStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(45):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"targetStatusPoint",{get:function(){return this.path?this.path.nativeElement.getPointAtLength(this.path.nativeElement.getTotalLength()-45):null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"point",{get:function(){return"source"===this.direction?this.sourceStatusPoint:this.targetStatusPoint},enumerable:!0,configurable:!0}),n.STOPPED_STATUS_RECT_WIDTH=10,n}(),tL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function lL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:circle",[["class","status_started"],["fill","#2ecc71"],["r","6"]],[[1,"cx",0],[1,"cy",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.point.x,t.point.y)})}function oL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:rect",[["class","status_stopped"],["fill","red"],["height","10"],["r","6"],["width","10"]],[[1,"x",0],[1,"y",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.point.x-5,t.point.y-5)})}function rL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,":svg:g",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,lL)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,oL)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,2,0,"started"==t.status),n(e,4,0,"stopped"==t.status)},null)}function iL(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,rL)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.status&&t.point&&t.direction)},null)}var aL=function(){function n(){}return n.prototype.d=function(n){var e=[[n.source.x+n.source.width/2,n.source.y+n.source.height/2],[n.target.x+n.target.width/2,n.target.y+n.target.height/2]],t=qF();return t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.toString()},n}(),uL=function(){function n(){}return n.prototype.linkToPoints=function(n){var e={x:n.source.x+n.source.width/2,y:n.source.y+n.source.height/2},t={x:n.target.x+n.target.width/2,y:n.target.y+n.target.height/2},l=t.x-e.x,o=t.y-e.y,r=Math.atan2(o,l),i=-Math.PI/4,a=[Math.cos(r+i),Math.sin(r+i)];return[[e.x,e.y],[e.x+l/2+15*a[0],e.y+o/2+15*a[1]],[t.x-l/2-15*a[0],t.y-o/2-15*a[1]],[t.x,t.y]]},n.prototype.d=function(n){var e=this.linkToPoints(n),t=qF();return t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.lineTo(e[2][0],e[2][1]),t.lineTo(e[3][0],e[3][1]),t.toString()},n}(),sL=function(){function n(n,e){this.multiLinkCalculatorHelper=n,this.ref=e,this.ethernetLinkStrategy=new aL,this.serialLinkStrategy=new uL}return n.prototype.ngOnInit=function(){this.ref.detectChanges()},n.prototype.ngOnDestroy=function(){},Object.defineProperty(n.prototype,"strategy",{get:function(){return"serial"===this.link.linkType?this.serialLinkStrategy:this.ethernetLinkStrategy},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=this.multiLinkCalculatorHelper.linkTranslation(this.link.distance,this.link.source,this.link.target);return"translate ("+n.dx+", "+n.dy+")"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.strategy.d(this.link)},enumerable:!0,configurable:!0}),n}(),dL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function cL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,[[1,0],["path",1]],null,0,":svg:path",[["class","ethernet_link"],["stroke","#000"],["stroke-width","2"]],[[1,"d",0]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.d)})}function pL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,[[1,0],["path",1]],null,0,":svg:path",[["class","serial_link"],["fill","none"],["stroke","#B22222"],["stroke-width","2"]],[[1,"d",0]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.d)})}function fL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,nL,Jj)),o["\u0275did"](1,114688,null,0,Qj,[o.ElementRef,o.ChangeDetectorRef,Jn,zO],{x:[0,"x"],y:[1,"y"],text:[2,"text"],style:[3,"style"],rotation:[4,"rotation"]},null)],function(n,e){var t=e.component;n(e,1,0,t.link.source.x+t.link.nodes[0].label.x,t.link.source.y+t.link.nodes[0].label.y,t.link.nodes[0].label.text,t.link.nodes[0].label.style,t.link.nodes[0].label.rotation)},null)}function hL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,nL,Jj)),o["\u0275did"](1,114688,null,0,Qj,[o.ElementRef,o.ChangeDetectorRef,Jn,zO],{x:[0,"x"],y:[1,"y"],text:[2,"text"],style:[3,"style"],rotation:[4,"rotation"]},null)],function(n,e){var t=e.component;n(e,1,0,t.link.target.x+t.link.nodes[1].label.x,t.link.target.y+t.link.nodes[1].label.y,t.link.nodes[1].label.text,t.link.nodes[1].label.style,t.link.nodes[1].label.rotation)},null)}function mL(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{path:0}),(n()(),o["\u0275eld"](1,0,null,null,12,":svg:g",[["class","link"]],[[1,"link_id",0],[1,"map-source",0],[1,"map-target",0],[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,cL)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,pL)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](6,0,null,null,1,":svg:g",[],null,null,null,iL,tL)),o["\u0275did"](7,49152,null,0,eL,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["\u0275eld"](8,0,null,null,1,":svg:g",[],null,null,null,iL,tL)),o["\u0275did"](9,49152,null,0,eL,[o.ElementRef,o.ChangeDetectorRef],{status:[0,"status"],path:[1,"path"],direction:[2,"direction"],d:[3,"d"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,fL)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,hL)),o["\u0275did"](13,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,3,0,"ethernet"==t.link.linkType),n(e,5,0,"serial"==t.link.linkType),n(e,7,0,t.link.source.status,t.path,"source",t.d),n(e,9,0,t.link.target.status,t.path,"target",t.d),n(e,11,0,t.showInterfaceLabels),n(e,13,0,t.showInterfaceLabels)},function(n,e){var t=e.component;n(e,1,0,t.link.id,t.link.source.id,t.link.target.id,t.transform)})}var vL=function(){return function(n,e,t,l){this.x=n,this.y=e,this.dx=t,this.dy=l}}(),gL=function(){function n(n){this.elementRef=n,this.dragging=new o.EventEmitter,this.dragged=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var n=this,e=d.a.fromEvent(this.elementRef.nativeElement,"mousedown").do(function(n){return n.preventDefault()});e.subscribe(function(e){n.posX=n.item.x,n.posY=n.item.y,n.startX=e.clientX,n.startY=e.clientY});var t=d.a.fromEvent(document,"mouseup").do(function(n){n.preventDefault()}),l=d.a.fromEvent(document,"mousemove").do(function(n){return n.stopPropagation()}),o=d.a.fromEvent(document,"scroll").startWith({}),r=d.a.combineLatest(l,o),i=e.mergeMap(function(e){return r.map(function(n){return n[0]}).do(function(e){var t=n.startX-e.clientX,l=n.startY-e.clientY;n.item.x=Math.round(n.posX-t),n.item.y=Math.round(n.posY-l),n.dragging.emit(new vL(n.item.x,n.item.y,-t,-l))}).skipUntil(t.take(1).do(function(e){var t=n.startX-e.clientX,l=n.startY-e.clientY;n.item.x=Math.round(n.posX-t),n.item.y=Math.round(n.posY-l),n.dragged.emit(new vL(n.item.x,n.item.y,-t,-l))})).take(1)});this.draggable=i.subscribe(function(n){})},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},n}(),bL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function _L(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var yL=function(){function n(n,e,t,l,o,r){this.cssFixer=n,this.fontFixer=e,this.sanitizer=t,this.element=l,this.cd=o,this.nodesEventSource=r,this.labelHeight=0}return n.prototype.ngOnInit=function(){},n.prototype.ngOnDestroy=function(){},n.prototype.ngOnChanges=function(n){this.cd.detectChanges()},n.prototype.ngAfterViewInit=function(){this.labelHeight=this.getLabelHeight(),this.cd.detectChanges()},n.prototype.OnDragging=function(n){this.node.x=n.x,this.node.y=n.y,this.cd.detectChanges()},n.prototype.OnDragged=function(n){this.cd.detectChanges(),this.nodesEventSource.dragged.emit(new ID(this.node,n.dx,n.dy))},Object.defineProperty(n.prototype,"symbol",{get:function(){var n=this,e=this.symbols.find(function(e){return e.symbol_id===n.node.symbol});return e?"data:image/svg+xml;base64,"+btoa(e.raw):"data:image/svg+xml;base64,none"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_style",{get:function(){var n=this.cssFixer.fix(this.node.label.style);return n=this.fontFixer.fixStyles(n),this.sanitizer.bypassSecurityTrustStyle(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_x",{get:function(){return null===this.node.label.x?-this.label.nativeElement.getBBox().width/2:this.node.label.x+n.NODE_LABEL_MARGIN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"label_y",{get:function(){return this.labelHeight=this.getLabelHeight(),null===this.node.label.x?-this.node.height/2-this.labelHeight:this.node.label.y+this.labelHeight-n.NODE_LABEL_MARGIN},enumerable:!0,configurable:!0}),n.prototype.getLabelHeight=function(){return this.label.nativeElement.getBBox().height},n.NODE_LABEL_MARGIN=3,n}(),wL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function CL(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{label:0}),o["\u0275qud"](671088640,2,{imageRef:0}),(n()(),o["\u0275eld"](2,0,null,null,4,":svg:g",[["class","node"]],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,":svg:image",[],[[1,"width",0],[1,"height",0],[1,"x",0],[1,"y",0],[1,":xlink:href",0]],[[null,"dragging"],[null,"dragged"]],function(n,e,t){var l=!0,o=n.component;return"dragging"===e&&(l=!1!==o.OnDragging(t)&&l),"dragged"===e&&(l=!1!==o.OnDragged(t)&&l),l},_L,bL)),o["\u0275did"](4,4440064,[[2,4],["image",4]],0,gL,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["\u0275eld"](5,0,[[1,0],["label",1]],null,1,":svg:text",[["class","label"]],[[1,"style",2],[1,"x",0],[1,"y",0]],null,null,null,null)),(n()(),o["\u0275ted"](6,null,[" "," "]))],function(n,e){n(e,4,0,e.component.node)},function(n,e){var t=e.component;n(e,2,0,"translate("+t.node.x+","+t.node.y+")"),n(e,3,0,t.node.width,t.node.height,0,0,t.symbol),n(e,5,0,t.label_style,t.label_x,t.label_y),n(e,6,0,t.node.label.text)})}var xL=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.ellipse.fill_opacity)?this.ellipse.fill_opacity:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.ellipse.stroke_width)?this.ellipse.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.ellipse.stroke_dasharray?this.qtDasharrayFixer.fix(this.ellipse.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),SL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function kL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:ellipse",[["class","ellipse_element noselect"]],[[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"cx",0],[1,"cy",0],[1,"rx",0],[1,"ry",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.ellipse.fill,t.fill_opacity,t.ellipse.stroke,t.stroke_width,t.stroke_dasharray,t.ellipse.cx,t.ellipse.cy,t.ellipse.rx,t.ellipse.ry)})}var EL=function(){function n(){}return n.prototype.ngOnInit=function(){},n}(),TL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function RL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:image",[["class","image_element noselect"]],[[1,":xlink:href",0],[1,"width",0],[1,"height",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.image.data,t.image.width,t.image.height)})}var IL=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.line.stroke_width)?this.line.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.line.stroke_dasharray?this.qtDasharrayFixer.fix(this.line.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),DL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function OL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:line",[["class","line_element noselect"]],[[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"x1",0],[1,"x2",0],[1,"y1",0],[1,"y2",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.line.stroke,t.stroke_width,t.stroke_dasharray,t.line.x1,t.line.x2,t.line.y1,t.line.y2)})}var FL=function(){function n(n){this.qtDasharrayFixer=n}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"fill_opacity",{get:function(){return isFinite(this.rect.fill_opacity)?this.rect.fill_opacity:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_width",{get:function(){return isFinite(this.rect.stroke_width)?this.rect.stroke_width:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stroke_dasharray",{get:function(){return this.rect.stroke_dasharray?this.qtDasharrayFixer.fix(this.rect.stroke_dasharray):null},enumerable:!0,configurable:!0}),n}(),NL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function ML(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:rect",[["class","rect_element noselect"]],[[1,"fill",0],[1,"fill-opacity",0],[1,"stroke",0],[1,"stroke-width",0],[1,"stroke-dasharray",0],[1,"width",0],[1,"height",0]],null,null,null,null))],null,function(n,e){var t=e.component;n(e,0,0,t.rect.fill,t.fill_opacity,t.rect.stroke,t.stroke_width,t.stroke_dasharray,t.rect.width,t.rect.height)})}var AL=function(){function n(n,e){this.fontFixer=n,this.sanitizer=e,this.lines=[],this.transformation=""}return n.prototype.ngOnInit=function(){this.lines=this.getLines(this.text.text)},n.prototype.ngDoCheck=function(){this.transformation=this.calculateTransformation()},Object.defineProperty(n.prototype,"style",{get:function(){var n=this.fontFixer.fix(this.text),e=[];return n.font_family&&e.push('font-family: "'+this.text.font_family+'"'),n.font_size&&e.push("font-size: "+this.text.font_size+"pt"),n.font_weight&&e.push("font-weight: "+this.text.font_weight),this.sanitizer.bypassSecurityTrustStyle(e.join("; "))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"textDecoration",{get:function(){return this.text.text_decoration},enumerable:!0,configurable:!0}),n.prototype.calculateTransformation=function(){var e=this.textRef.nativeElement.getElementsByTagName("tspan");if(e.length>0){var t=this.textRef.nativeElement.getBBox().height/e.length;return"translate("+n.MARGIN+", "+(t-n.MARGIN)+")"}return""},n.prototype.getLines=function(n){return n.split(/\r?\n/)},n.MARGIN=4,n}(),qL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function PL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:tspan",[[":xml:space","preserve"],["x","0"]],[[1,"dy",0]],null,null,null,null)),(n()(),o["\u0275ted"](1,null,[" "," "]))],null,function(n,e){n(e,0,0,0==e.context.index?"0em":"1.4em"),n(e,1,0,e.context.$implicit)})}function jL(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{textRef:0}),(n()(),o["\u0275eld"](1,0,[[1,0],["text",1]],null,2,":svg:text",[["class","text_element noselect"]],[[1,"style",2],[1,"text-decoration",0],[1,"fill",0],[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,PL)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.component.lines)},function(n,e){var t=e.component;n(e,1,0,t.style,t.textDecoration,o["\u0275nov"](e,1).fill,t.transformation)})}var LL=function(){function n(n,e,t){this.svgToDrawingConverter=n,this.drawingsEventSource=e,this.cd=t}return n.prototype.ngOnInit=function(){try{this.drawing.element=this.svgToDrawingConverter.convert(this.drawing.svg)}catch(n){console.log("Cannot convert due to Error: '"+n+"'")}},n.prototype.OnDragging=function(n){this.drawing.x=n.x,this.drawing.y=n.y,this.cd.detectChanges()},n.prototype.OnDragged=function(n){this.cd.detectChanges(),this.drawingsEventSource.dragged.emit(new ID(this.drawing,n.dx,n.dy))},n.prototype.is=function(n,e){return!!n&&("ellipse"===e?n instanceof $D:"image"===e?n instanceof HD:"line"===e?n instanceof KD:"rect"===e?n instanceof WD:"text"===e&&n instanceof zD)},Object.defineProperty(n.prototype,"transformation",{get:function(){return"translate("+this.drawing.x+","+this.drawing.y+") rotate("+this.drawing.rotation+")"},enumerable:!0,configurable:!0}),n}(),VL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function BL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,kL,SL)),o["\u0275did"](1,114688,null,0,xL,[EO],{ellipse:[0,"ellipse"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function zL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,RL,TL)),o["\u0275did"](1,114688,null,0,EL,[],{image:[0,"image"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function UL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,OL,DL)),o["\u0275did"](1,114688,null,0,IL,[EO],{line:[0,"line"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function HL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,ML,NL)),o["\u0275did"](1,114688,null,0,FL,[EO],{rect:[0,"rect"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function ZL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,jL,qL)),o["\u0275did"](1,376832,null,0,AL,[xO,Jn],{text:[0,"text"]},null)],function(n,e){n(e,1,0,e.component.drawing.element)},null)}function WL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,11,":svg:g",[["class","drawing"]],[[1,"transform",0]],[[null,"dragging"],[null,"dragged"]],function(n,e,t){var l=!0,o=n.component;return"dragging"===e&&(l=!1!==o.OnDragging(t)&&l),"dragged"===e&&(l=!1!==o.OnDragged(t)&&l),l},_L,bL)),o["\u0275did"](1,4440064,null,0,gL,[o.ElementRef],{item:[0,"item"]},{dragging:"dragging",dragged:"dragged"}),(n()(),o["\u0275and"](16777216,null,0,1,null,BL)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,zL)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,UL)),o["\u0275did"](7,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,HL)),o["\u0275did"](9,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,ZL)),o["\u0275did"](11,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,1,0,t.drawing),n(e,3,0,t.is(t.drawing.element,"ellipse")),n(e,5,0,t.is(t.drawing.element,"image")),n(e,7,0,t.is(t.drawing.element,"line")),n(e,9,0,t.is(t.drawing.element,"rect")),n(e,11,0,t.is(t.drawing.element,"text"))},function(n,e){n(e,0,0,e.component.transformation)})}var GL=function(){function n(n){this.ref=n,this.started=!1,this.visible=!1,this.rectangleSelected=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.ngAfterViewInit=function(){var n=this,e=d.a.fromEvent(this.svg,"mousedown").do(function(n){return n.preventDefault()});e.subscribe(function(e){e.target===n.svg&&(n.started=!0,n.startX=e.clientX+window.scrollX,n.startY=e.clientY+window.scrollY,n.width=0,n.height=0,n.visible=!0,n.ref.detectChanges())});var t=d.a.fromEvent(document,"mouseup").do(function(n){n.preventDefault()}),l=d.a.fromEvent(document,"mousemove").do(function(n){return n.stopPropagation()}),o=d.a.fromEvent(document,"scroll").startWith({}),r=d.a.combineLatest(l,o),i=e.mergeMap(function(e){return r.map(function(n){return n[0]}).do(function(e){n.started&&(n.visible=!0,n.width=e.clientX-n.startX+window.scrollX,n.height=e.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))}).skipUntil(t.take(1).do(function(e){n.started&&(n.visible=!1,n.started=!1,n.width=e.clientX-n.startX+window.scrollX,n.height=e.clientY-n.startY+window.scrollY,n.ref.detectChanges(),n.selectedEvent([n.startX,n.startY],[n.width,n.height]))})).take(1)});this.draggable=i.subscribe(function(n){})},n.prototype.ngOnDestroy=function(){this.draggable.unsubscribe()},Object.defineProperty(n.prototype,"d",{get:function(){return this.rect(this.startX,this.startY,this.width,this.height)},enumerable:!0,configurable:!0}),n.prototype.rect=function(n,e,t,l){return"M"+[n,e]+" l"+[t,0]+" l"+[0,l]+" l"+[-t,0]+"z"},n.prototype.selectedEvent=function(n,e){var t=Math.min(n[0],e[0]),l=Math.min(n[1],e[1]),o=Math.abs(n[0]-e[0]),r=Math.abs(n[1]-e[1]);this.rectangleSelected.emit(new dA(t,l,o,r))},n}(),KL=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function YL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,0,":svg:path",[["class","selection"]],[[1,"d",0]],null,null,null,null))],null,function(n,e){n(e,0,0,e.component.d)})}function $L(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,":svg:g",[["class","selection-line-tool"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,YL)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,2,0,e.component.visible)},null)}var XL=function(){function n(n,e,t,l,o,r,i){this.graphDataManager=n,this.context=e,this.mapChangeDetectorRef=t,this.canvasSizeDetector=l,this.changeDetectorRef=o,this.layersManger=r,this.graphLayout=i,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.width=1500,this.height=600,this.settings={show_interface_labels:!0}}return Object.defineProperty(n.prototype,"showInterfaceLabels",{set:function(n){this.settings.show_interface_labels=n,this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"movingTool",{set:function(n){this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selectionTool",{set:function(n){this.mapChangeDetectorRef.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readonly",{set:function(n){},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){},n.prototype.ngOnInit=function(){var n=this;this.changesDetected=this.mapChangeDetectorRef.changesDetected.subscribe(function(){n.graphDataManager.setNodes(n.nodes),n.graphDataManager.setLinks(n.links),n.graphDataManager.setDrawings(n.drawings),n.graphDataManager.setSymbols(n.symbols),n.changeDetectorRef.detectChanges()})},n.prototype.ngOnDestroy=function(){this.changesDetected.unsubscribe()},n.prototype.getSize=function(){return this.canvasSizeDetector.getOptimalSize(this.width,this.height)},Object.defineProperty(n.prototype,"layers",{get:function(){return this.layersManger.getLayersList()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"transform",{get:function(){var n=new sI;return n.size=this.getSize(),"translate("+(n.getZeroZeroTransformationPoint().x+n.transformation.x)+", "+(n.getZeroZeroTransformationPoint().y+n.transformation.y)+") scale("+n.transformation.k+")"},enumerable:!0,configurable:!0}),n.prototype.onResize=function(n){},n}(),QL=o["\u0275crt"]({encapsulation:0,styles:[["svg[_ngcontent-%COMP%]{display:block}"]],data:{}});function JL(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,mL,dL)),o["\u0275did"](1,245760,null,0,sL,[sF,o.ChangeDetectorRef],{link:[0,"link"],showInterfaceLabels:[1,"showInterfaceLabels"]},null)],function(n,e){n(e,1,0,e.context.$implicit,e.component.settings.show_interface_labels)},null)}function nV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,CL,wL)),o["\u0275did"](1,4964352,null,0,yL,[zO,xO,Jn,o.ElementRef,o.ChangeDetectorRef,RF],{node:[0,"node"],symbols:[1,"symbols"]},null)],function(n,e){n(e,1,0,e.context.$implicit,e.component.symbols)},null)}function eV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:g",[],null,null,null,WL,VL)),o["\u0275did"](1,114688,null,0,LL,[QD,RD,o.ChangeDetectorRef],{drawing:[0,"drawing"]},null)],function(n,e){n(e,1,0,e.context.$implicit)},null)}function tV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,9,":svg:g",[],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,":svg:g",[["class","links"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,JL)),o["\u0275did"](3,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](4,0,null,null,2,":svg:g",[["class","nodes"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,nV)),o["\u0275did"](6,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](7,0,null,null,2,":svg:g",[["class","drawings"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,eV)),o["\u0275did"](9,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){n(e,3,0,e.context.$implicit.links),n(e,6,0,e.context.$implicit.nodes),n(e,9,0,e.context.$implicit.drawings)},null)}function lV(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{svg:0}),(n()(),o["\u0275eld"](1,0,[[1,0],["svg",1]],null,7,":svg:svg",[["class","map"],["preserveAspectRatio","none"]],[[1,"width",0],[1,"height",0]],null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,":svg:g",[],[[1,"transform",0]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,tV)),o["\u0275did"](4,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](5,0,null,null,1,":svg:g",[],null,null,null,$L,KL)),o["\u0275did"](6,4440064,null,0,GL,[o.ChangeDetectorRef],{svg:[0,"svg"]},null),(n()(),o["\u0275eld"](7,0,null,null,1,":svg:filter",[["id","grayscale"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,0,":svg:feColorMatrix",[["id","feGrayscale"],["type","saturate"],["values","0"]],null,null,null,null,null))],function(n,e){n(e,4,0,e.component.layers),n(e,6,0,o["\u0275nov"](e,1))},function(n,e){var t=e.component;n(e,1,0,t.width,t.height),n(e,2,0,t.transform)})}var oV=function(){return function(){}}(),rV=function(){function n(n,e,t,l,o,r){var i=this;this.dialogRef=n,this.formBuilder=e,this.toasterService=t,this.snapshotService=l,this.nodesDataSource=o,this.data=r,this.snapshot=new oV,this.snapshots=[],this.server=r.server,this.project=r.project,this.inputForm=this.formBuilder.group({snapshotName:new Vm("",sm.required)}),this.snapshotService.list(this.server,this.project.project_id).subscribe(function(n){n.forEach(function(n){i.snapshots.push(n.name)})}),this.nodesDataSource.getItems().forEach(function(n){"stopped"===n.status||i.isAlwaysRunningNode(n.node_type)||(i.isInRunningState=!0)})}return n.prototype.isAlwaysRunningNode=function(n){return!["qemu","docker","dynamips","vpcs","vmware","virtualbox","iou","traceng"].includes(n)},n.prototype.onAddClick=function(){this.inputForm.invalid?this.toasterService.error("Fill all required fields"):this.snapshots.includes(this.inputForm.get("snapshotName").value)?this.toasterService.error("Snapshot with this name already exists"):this.isInRunningState?this.toasterService.error("Project must be stopped in order to export it"):(this.snapshot.name=this.inputForm.get("snapshotName").value,this.dialogRef.close(this.snapshot))},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),iV=function(){function n(n,e,t,l){this.dialog=n,this.snapshotService=e,this.progressDialogService=t,this.toaster=l}return n.prototype.ngOnInit=function(){},n.prototype.createSnapshotModal=function(){var n=this;this.dialog.open(rV,{width:"450px",data:{server:this.server,project:this.project},autoFocus:!1}).afterClosed().subscribe(function(e){if(e){var t=n.snapshotService.create(n.server,n.project.project_id,e),l=n.progressDialogService.open(),o=t.subscribe(function(t){n.toaster.success("Snapshot '"+e.name+"' has been created."),l.close()});l.afterClosed().subscribe(function(n){n===Q_.CANCELLED&&o.unsubscribe()})}})},n}(),aV=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function uV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Manage snapshots"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.createSnapshotModal()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["snooze"]))],function(n,e){n(e,2,0,"Manage snapshots"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}var sV=function(){function n(n,e,t){this.dialogRef=n,this.templateService=e,this.data=t,this.displayedColumns=["name"],this.server=t.server}return n.prototype.ngOnInit=function(){var n=this;this.templateDatabase=new dV(this.server,this.templateService),this.dataSource=new cV(this.templateDatabase),Object(Os.a)(this.filter.nativeElement,"keyup").pipe(Object(So.a)(150),Object(Fs.a)()).subscribe(function(){n.dataSource&&(n.dataSource.filter=n.filter.nativeElement.value)})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addNode=function(n){this.dialogRef.close(n)},n}(),dV=function(){function n(n,e){var t=this;this.server=n,this.templateService=e,this.dataChange=new E.a([]),this.templateService.list(this.server).subscribe(function(n){t.dataChange.next(n)})}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n}(),cV=function(n){function e(e){var t=n.call(this)||this;return t.templateDatabase=e,t.filterChange=new E.a(""),t}return s.__extends(e,n),Object.defineProperty(e.prototype,"filter",{get:function(){return this.filterChange.value},set:function(n){this.filterChange.next(n)},enumerable:!0,configurable:!0}),e.prototype.connect=function(){var n=this;return Ts.a.apply(void 0,[this.templateDatabase.dataChange,this.filterChange]).pipe(Object(P.a)(function(){return n.templateDatabase.data.slice().filter(function(e){return-1!==e.name.toLowerCase().indexOf(n.filter.toLowerCase())})}))},e.prototype.disconnect=function(){},e}(qs),pV=function(){function n(n){this.dialog=n,this.onNodeCreation=new o.EventEmitter}return n.prototype.ngOnInit=function(){},n.prototype.listTemplatesModal=function(){var n=this;this.dialog.open(sV,{width:"600px",height:"560px",data:{server:this.server},autoFocus:!1}).afterClosed().subscribe(function(e){null!==e&&n.onNodeCreation.emit(e)})},n}(),fV=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function hV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Browse all devices"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.listTemplatesModal()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["add_to_queue"]))],function(n,e){n(e,2,0,"Browse all devices"),n(e,4,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color)})}var mV=function(){function n(n){this.httpServer=n}return n.prototype.start=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/start",{})},n.prototype.startAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/start",{})},n.prototype.stop=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/stop",{})},n.prototype.stopAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/stop",{})},n.prototype.suspendAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/suspend",{})},n.prototype.reloadAll=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/reload",{})},n.prototype.createFromTemplate=function(n,e,t,l,o,r){return this.httpServer.post(n,"/projects/"+e.project_id+"/templates/"+t.template_id,{x:Math.round(l),y:Math.round(o),compute_id:r})},n.prototype.updatePosition=function(n,e,t,l){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{x:Math.round(t),y:Math.round(l)})},n.prototype.updateLabel=function(n,e,t){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{label:{rotation:t.rotation,style:t.style,text:t.text,x:Math.round(t.x),y:Math.round(t.y)}})},n.prototype.update=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/nodes/"+e.node_id,{x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/nodes/"+e.node_id)},n.prototype.duplicate=function(n,e){return this.httpServer.post(n,"/projects/"+e.project_id+"/nodes/"+e.node_id+"/duplicate",{x:e.x+10,y:e.y+10,z:e.z})},n}(),vV=function(){function n(n,e){this.nodeService=n,this.toasterService=e}return n.prototype.startNodes=function(){var n=this;this.nodeService.startAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully started")})},n.prototype.stopNodes=function(){var n=this;this.nodeService.stopAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully stopped")})},n.prototype.suspendNodes=function(){var n=this;this.nodeService.suspendAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully suspended")})},n.prototype.reloadNodes=function(){var n=this;this.nodeService.reloadAll(this.server,this.project).subscribe(function(){n.toasterService.success("All nodes successfully reloaded")})},n}(),gV=o["\u0275crt"]({encapsulation:0,styles:[[".menu-button[_ngcontent-%COMP%]{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}"]],data:{}});function bV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Start/Resume all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.startNodes()&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](6,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Suspend all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,8).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,8)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,8)._handleTouchend()&&l),"click"===e&&(l=!1!==r.suspendNodes()&&l),l},pu,cu)),o["\u0275did"](7,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](8,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](9,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](10,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275eld"](12,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Stop all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,14).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,14)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,14)._handleTouchend()&&l),"click"===e&&(l=!1!==r.stopNodes()&&l),l},pu,cu)),o["\u0275did"](13,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](14,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](16,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"])),(n()(),o["\u0275eld"](18,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Reload all nodes"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,20).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,20)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,20)._handleTouchend()&&l),"click"===e&&(l=!1!==r.reloadNodes()&&l),l},pu,cu)),o["\u0275did"](19,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](20,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](21,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](22,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["replay"]))],function(n,e){n(e,2,0,"Start/Resume all nodes"),n(e,4,0),n(e,8,0,"Suspend all nodes"),n(e,10,0),n(e,14,0,"Stop all nodes"),n(e,16,0),n(e,20,0,"Reload all nodes"),n(e,22,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color),n(e,6,0,o["\u0275nov"](e,7).disabled||null,"NoopAnimations"===o["\u0275nov"](e,7)._animationMode),n(e,9,0,o["\u0275nov"](e,10).inline,"primary"!==o["\u0275nov"](e,10).color&&"accent"!==o["\u0275nov"](e,10).color&&"warn"!==o["\u0275nov"](e,10).color),n(e,12,0,o["\u0275nov"](e,13).disabled||null,"NoopAnimations"===o["\u0275nov"](e,13)._animationMode),n(e,15,0,o["\u0275nov"](e,16).inline,"primary"!==o["\u0275nov"](e,16).color&&"accent"!==o["\u0275nov"](e,16).color&&"warn"!==o["\u0275nov"](e,16).color),n(e,18,0,o["\u0275nov"](e,19).disabled||null,"NoopAnimations"===o["\u0275nov"](e,19)._animationMode),n(e,21,0,o["\u0275nov"](e,22).inline,"primary"!==o["\u0275nov"](e,22).color&&"accent"!==o["\u0275nov"](e,22).color&&"warn"!==o["\u0275nov"](e,22).color)})}var _V=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.drawing_id},e}(lF),yV=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new zD;return n.height=100,n.width=100,n.fill="#000000",n.fill_opacity=0,n.font_family="Noto Sans",n.font_size=11,n.font_weight="bold",n},n}(),wV=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new $D;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.cx=100,n.cy=100,n.rx=100,n.ry=100,n.width=200,n.height=200,n},n}(),CV=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new WD;return n.fill="#ffffff",n.fill_opacity=1,n.stroke="#000000",n.stroke_width=2,n.width=200,n.height=100,n},n}(),xV=function(){function n(){}return n.prototype.getDrawingElement=function(){var n=new KD;return n.stroke="#000000",n.stroke_width=2,n.x1=0,n.x2=200,n.y1=0,n.y2=0,n.width=100,n.height=0,n},n}(),SV=function(){function n(n,e,t,l){this.textElementFactory=n,this.ellipseElementFactory=e,this.rectangleElementFactory=t,this.lineElementFactory=l,this.availableFactories={text:this.textElementFactory,ellipse:this.ellipseElementFactory,rectangle:this.rectangleElementFactory,line:this.lineElementFactory}}return n.prototype.getDrawingMock=function(n){this.factory=this.availableFactories[n];var e=new XO;return e.element=this.factory.getDrawingElement(),e},n}(),kV=function(){function n(n){this.httpServer=n}return n.prototype.add=function(n,e,t,l,o){return this.httpServer.post(n,"/projects/"+e+"/drawings",{svg:o,x:Math.round(t),y:Math.round(l),z:1})},n.prototype.duplicate=function(n,e,t){return this.httpServer.post(n,"/projects/"+e+"/drawings",{svg:t.svg,rotation:t.rotation,x:t.x+10,y:t.y+10,z:t.z})},n.prototype.updatePosition=function(n,e,t,l){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{x:Math.round(t),y:Math.round(l)})},n.prototype.updateSizeAndPosition=function(n,e,t,l,o){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{svg:o,x:Math.round(t),y:Math.round(l)})},n.prototype.updateText=function(n,e,t){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{svg:t,x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.update=function(n,e){return this.httpServer.put(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id,{svg:e.svg,rotation:e.rotation,x:Math.round(e.x),y:Math.round(e.y),z:e.z})},n.prototype.delete=function(n,e){return this.httpServer.delete(n,"/projects/"+e.project_id+"/drawings/"+e.drawing_id)},n}(),EV=function(){function n(){}return n.prototype.convert=function(n){var e="";if(n.element instanceof WD)e='<rect fill="'+n.element.fill+'" fill-opacity="'+n.element.fill_opacity+'" height="'+n.element.height+'" width="'+n.element.width+'" stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" />';else if(n.element instanceof $D)e='<ellipse fill="'+n.element.fill+'" fill-opacity="'+n.element.fill_opacity+'" cx="'+n.element.cx+'" cy="'+n.element.cy+'" rx="'+n.element.rx+'" ry="'+n.element.ry+'" stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" />';else if(n.element instanceof KD)e='<line stroke="'+n.element.stroke+'" stroke-width="'+n.element.stroke_width+'" x1="'+n.element.x1+'" x2="'+n.element.x2+'" y1="'+n.element.y1+'" y2="'+n.element.y2+'" />';else{if(!(n.element instanceof zD))return"";e='<text fill="'+n.element.fill+'" fill-opacity="1.0" font-family="'+n.element.font_family+'" font-size="'+n.element.font_size+'" font-weight="'+n.element.font_weight+'">'+n.element.text+"</text>"}return'<svg height="'+n.element.height+'" width="'+n.element.width+'">'+e+"</svg>"},n}(),TV=function(){function n(n,e,t,l,r){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=r,this.drawingSaved=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.pointToAddSelected=this.drawingsEventSource.pointToAddSelected.subscribe(function(e){return n.onDrawingSaved(e)})},n.prototype.ngOnChanges=function(n){n.selectedDrawing&&!n.selectedDrawing.isFirstChange()&&(this.selectedDrawing=n.selectedDrawing.currentValue,"text"!==this.selectedDrawing&&this.drawingsEventSource.selected.emit(this.selectedDrawing))},n.prototype.onDrawingSaved=function(n){var e=this,t=this.drawingsFactory.getDrawingMock(this.selectedDrawing),l=this.mapDrawingToSvgConverter.convert(t);this.drawingService.add(this.server,this.project.project_id,n.x,n.y,l).subscribe(function(n){e.drawingsDataSource.add(n),e.drawingSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.pointToAddSelected.unsubscribe()},n}(),RV=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function IV(n){return o["\u0275vid"](0,[],null,null)}var DV=function(){function n(n,e,t){this.toolsService=n,this.mapSettingsService=e,this.drawingService=t,this.drawTools={isRectangleChosen:!1,isEllipseChosen:!1,isLineChosen:!1,isTextChosen:!1},this.isLocked=!1}return n.prototype.ngOnInit=function(){},n.prototype.addDrawing=function(n){switch(n){case"rectangle":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!this.drawTools.isRectangleChosen,this.drawTools.isLineChosen=!1;break;case"ellipse":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!this.drawTools.isEllipseChosen,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1;break;case"line":this.drawTools.isTextChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!this.drawTools.isLineChosen;break;case"text":this.drawTools.isTextChosen=!this.drawTools.isTextChosen,this.drawTools.isEllipseChosen=!1,this.drawTools.isRectangleChosen=!1,this.drawTools.isLineChosen=!1,this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)}this.selectedDrawing=this.selectedDrawing===n?"":n},n.prototype.onDrawingSaved=function(){this.resetDrawToolChoice()},n.prototype.resetDrawToolChoice=function(){this.drawTools.isRectangleChosen=!1,this.drawTools.isEllipseChosen=!1,this.drawTools.isLineChosen=!1,this.drawTools.isTextChosen=!1,this.selectedDrawing="",this.toolsService.textAddingToolActivation(this.drawTools.isTextChosen)},n.prototype.changeLockValue=function(){this.isLocked=!this.isLocked,this.mapSettingsService.changeMapLockValue(this.isLocked)},n.prototype.uploadImageFile=function(n){this.readImageFile(n.target)},n.prototype.readImageFile=function(n){var e=this,t=n.files[0],l=new FileReader,o=new Image;l.onloadend=function(){var n=e.createSvgFileForImage(l.result,o);e.drawingService.add(e.server,e.project.project_id,-o.width/2,-o.height/2,n).subscribe(function(){})},o.onload=function(){l.readAsDataURL(t)},o.src=window.URL.createObjectURL(t)},n.prototype.createSvgFileForImage=function(n,e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="'+e.height+'" \n width="'+e.width+'">\n<image height="'+e.height+'" width="'+e.width+'" xlink:href="'+n+'"/>\n</svg>'},n.prototype.ngOnDestroy=function(){},n}(),OV=o["\u0275crt"]({encapsulation:0,styles:[[".menu-button[_ngcontent-%COMP%]{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}mat-divider.divider[_ngcontent-%COMP%]{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}.non-visible[_ngcontent-%COMP%]{display:none}"]],data:{}});function FV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Add a note"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,2).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,2)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("text")&&l),l},pu,cu)),o["\u0275did"](1,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](2,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](4,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["create"])),(n()(),o["\u0275eld"](6,0,[["file",1]],null,0,"input",[["accept",".svg, .bmp, .jpeg, .jpg, .gif, .png"],["class","non-visible"],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.uploadImageFile(t)&&l),l},null,null)),(n()(),o["\u0275eld"](7,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Insert a picture"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,9).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,9)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,9)._handleTouchend()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,6).click()&&l),l},pu,cu)),o["\u0275did"](8,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](9,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](10,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](11,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["image"])),(n()(),o["\u0275eld"](13,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a rectangle"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,15).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,15)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,15)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("rectangle")&&l),l},pu,cu)),o["\u0275did"](14,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](15,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](16,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](17,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["crop_3_2"])),(n()(),o["\u0275eld"](19,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw an ellipse"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,21).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,21)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,21)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("ellipse")&&l),l},pu,cu)),o["\u0275did"](20,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](21,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](23,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["panorama_fish_eye"])),(n()(),o["\u0275eld"](25,16777216,null,null,7,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Draw a line"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,27).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,27)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,27)._handleTouchend()&&l),"click"===e&&(l=!1!==r.addDrawing("line")&&l),l},pu,cu)),o["\u0275did"](26,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](27,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](28,0,null,0,4,":svg:svg",[["height","40"],["width","40"]],null,null,null,null,null)),(n()(),o["\u0275eld"](29,0,null,null,3,":svg:line",[["style","stroke:white;stroke-width:2"],["x1","30"],["x2","10"],["y1","10"],["y2","30"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](31,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](32,{selected:0}),(n()(),o["\u0275eld"](33,16777216,null,null,5,"button",[["class","menu-button"],["mat-icon-button",""],["matTooltip","Lock or unlock all items"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,35).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,35)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,35)._handleTouchend()&&l),"click"===e&&(l=!1!==r.changeLockValue()&&l),l},pu,cu)),o["\u0275did"](34,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](35,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](36,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](37,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["lock"])),(n()(),o["\u0275eld"](39,0,null,null,1,"app-drawing-added",[],null,[[null,"drawingSaved"]],function(n,e,t){var l=!0;return"drawingSaved"===e&&(l=!1!==n.component.onDrawingSaved()&&l),l},IV,RV)),o["\u0275did"](40,770048,null,0,TV,[kV,_V,RD,SV,EV],{server:[0,"server"],project:[1,"project"],selectedDrawing:[2,"selectedDrawing"]},{drawingSaved:"drawingSaved"})],function(n,e){var t=e.component;n(e,1,0,t.drawTools.isTextChosen?"primary":"basic"),n(e,2,0,"Add a note"),n(e,4,0),n(e,9,0,"Insert a picture"),n(e,11,0),n(e,14,0,t.drawTools.isRectangleChosen?"primary":"basic"),n(e,15,0,"Draw a rectangle"),n(e,17,0),n(e,20,0,t.drawTools.isEllipseChosen?"primary":"basic"),n(e,21,0,"Draw an ellipse"),n(e,23,0),n(e,27,0,"Draw a line");var l=n(e,32,0,t.drawTools.isLineChosen);n(e,31,0,l),n(e,34,0,t.isLocked?"primary":"basic"),n(e,35,0,"Lock or unlock all items"),n(e,37,0),n(e,40,0,t.server,t.project,t.selectedDrawing)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).disabled||null,"NoopAnimations"===o["\u0275nov"](e,1)._animationMode),n(e,3,0,o["\u0275nov"](e,4).inline,"primary"!==o["\u0275nov"](e,4).color&&"accent"!==o["\u0275nov"](e,4).color&&"warn"!==o["\u0275nov"](e,4).color),n(e,7,0,o["\u0275nov"](e,8).disabled||null,"NoopAnimations"===o["\u0275nov"](e,8)._animationMode),n(e,10,0,o["\u0275nov"](e,11).inline,"primary"!==o["\u0275nov"](e,11).color&&"accent"!==o["\u0275nov"](e,11).color&&"warn"!==o["\u0275nov"](e,11).color),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode),n(e,16,0,o["\u0275nov"](e,17).inline,"primary"!==o["\u0275nov"](e,17).color&&"accent"!==o["\u0275nov"](e,17).color&&"warn"!==o["\u0275nov"](e,17).color),n(e,19,0,o["\u0275nov"](e,20).disabled||null,"NoopAnimations"===o["\u0275nov"](e,20)._animationMode),n(e,22,0,o["\u0275nov"](e,23).inline,"primary"!==o["\u0275nov"](e,23).color&&"accent"!==o["\u0275nov"](e,23).color&&"warn"!==o["\u0275nov"](e,23).color),n(e,25,0,o["\u0275nov"](e,26).disabled||null,"NoopAnimations"===o["\u0275nov"](e,26)._animationMode),n(e,33,0,o["\u0275nov"](e,34).disabled||null,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode),n(e,36,0,o["\u0275nov"](e,37).inline,"primary"!==o["\u0275nov"](e,37).color&&"accent"!==o["\u0275nov"](e,37).color&&"warn"!==o["\u0275nov"](e,37).color)})}var NV=function(){return function(){}}(),MV=function(){function n(){}return n.prototype.getInfoAboutNode=function(n,e){var t=[];return"cloud"===n.node_type?t.push("Cloud "+n.name+" is always on."):"nat"===n.node_type?t.push("NAT "+n.name+" is always on."):"ethernet-hub"===n.node_type?t.push("Ethernet hub "+n.name+" is always on."):"ethernet_switch"===n.node_type?t.push("Ethernet switch "+n.name+" is always on."):"frame_relay_switch"===n.node_type?t.push("Frame relay switch "+n.name+" is always on."):"atm_switch"===n.node_type?t.push("ATM switch "+n.name+" is always on."):"docker"===n.node_type?t.push("Docker "+n.name+" is "+n.status+"."):"dynamips"===n.node_type?t.push("Dynamips "+n.name+" is always on."):"traceng"===n.node_type?t.push("TraceNG "+n.name+" is always on."):"virtualbox"===n.node_type?t.push("VirtualBox VM "+n.name+" is "+n.status+"."):"vmware"===n.node_type?t.push("VMware VM "+n.name+" is "+n.status+"."):"qemu"===n.node_type?t.push("QEMU VM "+n.name+" is "+n.status+"."):"iou"===n.node_type?t.push("IOU "+n.name+" is always on."):"vpcs"===n.node_type&&t.push("Node "+n.name+" is "+n.status+"."),t.push("Running on server "+e.name+" with port "+e.port+"."),t.push("Server ID is "+e.id+"."),"none"!==n.console_type&&"null"!==n.console_type&&t.push("Console is on port "+n.console+" and type is "+n.console_type+"."),t.concat(this.getInfoAboutPorts(n.ports))},n.prototype.getInfoAboutPorts=function(n){var e="Ports: ";return n.forEach(function(n){e+="link_type: "+n.link_type+", \n name: "+n.name+"; "}),e=e.substring(0,e.length-2)},n.prototype.getCommandLine=function(n){return"cloud"===n.node_type||"nat"===n.node_type||"ethernet_hub"===n.node_type||"ethernet_switch"===n.node_type||"frame_relay_switch"===n.node_type||"atm_switch"===n.node_type||"dynamips"===n.node_type||"traceng"===n.node_type||"iou"===n.node_type?"Command line information is not supported for this type of node.":"started"===n.status?n.command_line:"Please start the node in order to get the command line information."},n}(),AV=function(){function n(n,e){this.dialogRef=n,this.infoService=e,this.infoList=[],this.commandLine=""}return n.prototype.ngOnInit=function(){this.infoList=this.infoService.getInfoAboutNode(this.node,this.server),this.commandLine=this.infoService.getCommandLine(this.node)},n.prototype.onCloseClick=function(){this.dialogRef.close()},n}(),qV=function(){function n(n){this.dialog=n}return n.prototype.showNode=function(){var n=this.dialog.open(AV,{width:"600px",autoFocus:!1}).componentInstance;n.node=this.node,n.server=this.server},n}(),PV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function jV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.showNode()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["info"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Show node information"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var LV=function(){function n(n){this.nodeService=n}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){var e=this;n.nodes&&(this.isNodeWithStoppedStatus=!1,this.nodes.forEach(function(n){"stopped"===n.status&&(e.isNodeWithStoppedStatus=!0)}))},n.prototype.startNodes=function(){var n=this;this.nodes.forEach(function(e){n.nodeService.start(n.server,e).subscribe(function(n){})})},n}(),VV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function BV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.startNodes()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Start"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function zV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,BV)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.isNodeWithStoppedStatus)},null)}var UV=function(){function n(n){this.nodeService=n}return n.prototype.ngOnInit=function(){},n.prototype.ngOnChanges=function(n){var e=this;n.nodes&&(this.isNodeWithStartedStatus=!1,this.nodes.forEach(function(n){"started"===n.status&&(e.isNodeWithStartedStatus=!0)}))},n.prototype.stopNodes=function(){var n=this;this.nodes.forEach(function(e){n.nodeService.stop(n.server,e).subscribe(function(n){})})},n}(),HV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ZV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.stopNodes()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["stop"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Stop"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function WV(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,ZV)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.isNodeWithStartedStatus)},null)}var GV=function(){function n(n,e,t,l){this.electronService=n,this.serverService=e,this.settingsService=t,this.toasterService=l}return n.prototype.ngOnInit=function(){},n.prototype.console=function(){return s.__awaiter(this,void 0,void 0,function(){var n,e,t,l,o;return s.__generator(this,function(r){switch(r.label){case 0:if(void 0===(n=this.settingsService.get("console_command"))&&(n='putty.exe -telnet %h %p -wt "%d" -gns3 5 -skin 4'),0===this.nodes.filter(function(n){return"started"===n.status}).length)return this.toasterService.error("Device needs to be started in order to console to it."),[2];e=0,t=this.nodes,r.label=1;case 1:return e<t.length?"started"!==(l=t[e]).status?[3,3]:(o={command:n,type:l.console_type,host:l.console_host,port:l.console,name:l.name,project_id:l.project_id,node_id:l.node_id,server_url:this.serverService.getServerUrl(this.server)},[4,this.openConsole(o)]):[3,4];case 2:r.sent(),r.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},n.prototype.openConsole=function(n){return s.__awaiter(this,void 0,void 0,function(){return s.__generator(this,function(e){switch(e.label){case 0:return[4,this.electronService.remote.require("./console-executor.js").openConsole(n)];case 1:return[2,e.sent()]}})})},n}(),KV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function YV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.console()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["web_asset"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Console"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var $V=function(){function n(n,e,t,l,o){this.nodeService=n,this.nodesDataSource=e,this.drawingService=t,this.drawingsDataSource=l,this.toasterService=o}return n.prototype.duplicate=function(){for(var n=this,e="",t=0,l=this.nodes;t<l.length;t++){var o=l[t];"stopped"===o.status?this.nodeService.duplicate(this.server,o).subscribe(function(e){n.nodesDataSource.add(e)}):e+=o.name+", "}for(var r=0,i=this.drawings;r<i.length;r++){var a=i[r];this.drawingService.duplicate(this.server,a.project_id,a).subscribe(function(e){n.drawingsDataSource.add(e)})}e=e.substring(0,e.length-2),this.toasterService.error("Cannot duplicate node data for nodes: "+e)},n}(),XV=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function QV(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.duplicate()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["filter_none"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Duplicate"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var JV=function(){return function(){}}(),nB=function(){function n(){}return n.prototype.get=function(n){return+n.value>=0?null:{negativeValue:!0}},n}(),eB=function(){function n(){}return n.prototype.get=function(n){return+n.value>-360&&+n.value<=360?null:{negativeValue:!0}},n}(),tB=function(){function n(n,e,t,l,o,r,i,a,u){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o,this.formBuilder=r,this.toasterService=i,this.nonNegativeValidator=a,this.rotationValidator=u,this.formGroup=this.formBuilder.group({borderWidth:new Vm("",[sm.required,a.get]),rotation:new Vm("",[sm.required,u.get])})}return n.prototype.ngOnInit=function(){this.element=new lB,this.drawing.element instanceof WD||this.drawing.element instanceof $D?(this.element.fill=this.drawing.element.fill,this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width):this.drawing.element instanceof KD&&(this.element.stroke=this.drawing.element.stroke,this.element.stroke_dasharray=this.drawing.element.stroke_dasharray,this.element.stroke_width=this.drawing.element.stroke_width),void 0===this.element.stroke_width&&(this.element.stroke_width=0),this.formGroup.controls.borderWidth.setValue(this.element.stroke_width),this.formGroup.controls.rotation.setValue(this.drawing.rotation)},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;if(this.formGroup.valid){this.element.stroke_width=this.formGroup.get("borderWidth").value,this.drawing.rotation=this.formGroup.get("rotation").value,this.drawing.element instanceof WD||this.drawing.element instanceof $D?(this.drawing.element.fill=this.element.fill,this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width):this.drawing.element instanceof KD&&(this.drawing.element.stroke=this.element.stroke,this.drawing.element.stroke_dasharray=this.element.stroke_dasharray,this.drawing.element.stroke_width=this.element.stroke_width);var e=this.drawingToMapDrawingConverter.convert(this.drawing);e.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(e),this.drawingService.update(this.server,this.drawing).subscribe(function(e){n.drawingsDataSource.update(e),n.dialogRef.close()})}else this.toasterService.error("Entered data is incorrect")},n}(),lB=function(){return function(){}}(),oB=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.editStyle=function(){var n=this.dialog.open(tB,{width:"300px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing},n}(),rB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function iB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editStyle()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["style"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Edit style"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var aB=function(){function n(n,e,t,l,o,r,i,a,u,s,d,c,p,f){this.dialogRef=n,this.drawingToMapDrawingConverter=e,this.mapDrawingToSvgConverter=t,this.drawingService=l,this.drawingsDataSource=o,this.renderer=r,this.nodeService=i,this.nodesDataSource=a,this.linkService=u,this.linksDataSource=s,this.formBuilder=d,this.toasterService=c,this.rotationValidator=p,this.fontFixer=f}return n.prototype.ngOnInit=function(){var n=this;this.formGroup=this.formBuilder.group({rotation:new Vm("",[sm.required,this.rotationValidator.get])}),this.label&&this.node?(this.isTextEditable=!1,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.linkNode&&this.link?(this.isTextEditable=!0,this.label=this.link.nodes.find(function(e){return e.node_id===n.linkNode.node_id}).label,this.rotation=this.label.rotation.toString(),this.element=this.getTextElementFromLabel()):this.drawing&&(this.isTextEditable=!0,this.rotation=this.drawing.rotation.toString(),this.element=this.drawing.element);var e={font_family:this.element.font_family,font_size:this.element.font_size,font_weight:this.element.font_weight};e=this.fontFixer.fix(e),this.formGroup.controls.rotation.setValue(this.rotation),this.renderer.setStyle(this.textArea.nativeElement,"color",this.element.fill),this.renderer.setStyle(this.textArea.nativeElement,"font-family",e.font_family),this.renderer.setStyle(this.textArea.nativeElement,"font-size",e.font_size+"pt"),this.renderer.setStyle(this.textArea.nativeElement,"font-weight",e.font_weight)},n.prototype.getTextElementFromLabel=function(){for(var n=[],e=new zD,t=0,l=this.label.style.split(";");t<l.length;t++){var o=l[t];n.push({property:o.split(": ")[0],value:o.split(": ")[1]})}return e.text=this.label.text?this.label.text:"",e.font_family=n.find(function(n){return"font-family"===n.property})?n.find(function(n){return"font-family"===n.property}).value:"TypeWriter",e.font_size=n.find(function(n){return"font-size"===n.property})?+n.find(function(n){return"font-size"===n.property}).value:10,e.font_weight=n.find(function(n){return"font-weight"===n.property})?n.find(function(n){return"font-weight"===n.property}).value:"normal",e.fill=n.find(function(n){return"fill"===n.property})?n.find(function(n){return"fill"===n.property}).value:"#000000",e.fill_opacity=n.find(function(n){return"fill-opacity"===n.property})?+n.find(function(n){return"fill-opacity"===n.property}).value:1,e},n.prototype.getStyleFromTextElement=function(){return"font-family: "+this.element.font_family+";font-size: "+this.element.font_size+";font-weight: "+this.element.font_weight+";fill: "+this.element.fill+";fill-opacity: "+this.element.fill_opacity+";"},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onYesClick=function(){var n=this;if(this.formGroup.valid){if(this.rotation=this.formGroup.get("rotation").value,this.label&&this.node)this.node.label.style=this.getStyleFromTextElement(),this.node.label.rotation=+this.rotation,this.nodeService.updateLabel(this.server,this.node,this.node.label).subscribe(function(e){n.nodesDataSource.update(e),n.dialogRef.close()});else if(this.linkNode&&this.link)this.label.style=this.getStyleFromTextElement(),this.label.rotation=+this.rotation,this.label.text=this.element.text,this.linkService.updateLink(this.server,this.link).subscribe(function(e){n.linksDataSource.update(e),n.dialogRef.close()});else if(this.drawing){this.drawing.rotation=+this.rotation,this.drawing.element=this.element;var e=this.drawingToMapDrawingConverter.convert(this.drawing);e.element=this.drawing.element,this.drawing.svg=this.mapDrawingToSvgConverter.convert(e),this.drawingService.update(this.server,this.drawing).subscribe(function(e){n.drawingsDataSource.update(e),n.dialogRef.close()})}}else this.toasterService.error("Entered data is incorrect")},n.prototype.changeTextColor=function(n){this.renderer.setStyle(this.textArea.nativeElement,"color",n)},n}(),uB=function(){return function(){}}(),sB=function(){return function(){}}(),dB=function(){return function(){}}(),cB=function(){function n(n){this.dialog=n}return n.prototype.ngOnInit=function(){},n.prototype.editText=function(){var n=this.dialog.open(aB,{width:"300px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.drawing=this.drawing,n.node=this.node,n.label=this.label,n.link=this.link,n.linkNode=this.linkNode},n}(),pB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function fB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.editText()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["text_format"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Edit text"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var hB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerUp=function(){var n=this;this.nodes.forEach(function(e){e.z++,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe(function(n){})}),this.drawings.forEach(function(e){e.z++,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe(function(n){})})},n}(),mB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function vB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.moveLayerUp()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_up"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Move layer up"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var gB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.moveLayerDown=function(){var n=this;this.nodes.forEach(function(e){e.z--,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe(function(n){})}),this.drawings.forEach(function(e){e.z--,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe(function(n){})})},n}(),bB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _B(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.moveLayerDown()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_down"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Move layer down"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var yB=function(){function n(n,e,t,l){this.nodesDataSource=n,this.drawingsDataSource=e,this.nodeService=t,this.drawingService=l}return n.prototype.ngOnInit=function(){},n.prototype.bringToFront=function(){var n=this;this.nodes.forEach(function(e){e.z=100,n.nodesDataSource.update(e),n.nodeService.update(n.server,e).subscribe(function(n){})}),this.drawings.forEach(function(e){e.z=100,n.drawingsDataSource.update(e),n.drawingService.update(n.server,e).subscribe(function(n){})})},n}(),wB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function CB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.bringToFront()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["vertical_align_top"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Bring to front"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var xB=function(){function n(n,e,t,l,o){this.dialogRef=n,this.linkService=e,this.formBuilder=t,this.toasterService=l,this.nodesDataSource=o,this.linkTypes=[],this.inputForm=this.formBuilder.group({linkType:new Vm("",sm.required),fileName:new Vm("",sm.required)})}return n.prototype.ngOnInit=function(){this.linkTypes="ethernet"===this.link.link_type?[["Ethernet","DLT_EN10MB"]]:[["Cisco HDLC","DLT_C_HDLC"],["Cisco PPP","DLT_PPP_SERIAL"],["Frame Relay","DLT_FRELAY"],["ATM","DLT_ATM_RFC1483"]];var n=this.nodesDataSource.get(this.link.nodes[0].node_id),e=this.nodesDataSource.get(this.link.nodes[1].node_id);this.inputForm.controls.fileName.setValue(n.name+"_"+n.ports[this.link.nodes[0].port_number].name+"_to_"+e.name+"_"+e.ports[this.link.nodes[1].port_number].name)},n.prototype.onYesClick=function(){var n=this,e=!1;if(this.link.nodes.forEach(function(t){"started"===n.nodesDataSource.get(t.node_id).status&&(e=!0)}),e)if(this.inputForm.invalid)this.toasterService.error("Fill all required fields");else{var t={capture_file_name:this.inputForm.get("fileName").value,data_link_type:this.inputForm.get("linkType").value};this.linkService.startCaptureOnLink(this.server,this.link,t).subscribe(function(){n.dialogRef.close()})}else this.toasterService.error("Cannot capture because there is no running device on this link")},n.prototype.onNoClick=function(){this.dialogRef.close()},n}(),SB=function(){function n(n){this.dialog=n}return n.prototype.startCapture=function(){var n=this.dialog.open(xB,{width:"400px",autoFocus:!1}).componentInstance;n.server=this.server,n.link=this.link},n}(),kB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function EB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.startCapture()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["loupe"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Start capture"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function TB(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,EB)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,!e.component.link.capturing)},null)}var RB=function(){function n(n){this.linkService=n}return n.prototype.stopCapture=function(){this.linkService.stopCaptureOnLink(this.server,this.link).subscribe(function(){})},n}(),IB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function DB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.stopCapture()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause_circle_filled"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Stop capture"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function OB(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,DB)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.link.capturing)},null)}var FB=function(){function n(n){this.dialogRef=n}return n.prototype.onCloseClick=function(){this.dialogRef.close()},n}(),NB=function(){function n(n,e,t){this.dialogRef=n,this.linkService=e,this.dialog=t}return n.prototype.ngOnInit=function(){var n=this;this.linkService.getLink(this.server,this.link.project_id,this.link.link_id).subscribe(function(e){n.link=e,n.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},n.link.filters&&(n.filters.bpf=n.link.filters.bpf?n.link.filters.bpf:[],n.filters.corrupt=n.link.filters.corrupt?n.link.filters.corrupt:[0],n.filters.delay=n.link.filters.delay?n.link.filters.delay:[0,0],n.filters.frequency_drop=n.link.filters.frequency_drop?n.link.filters.frequency_drop:[0],n.filters.packet_loss=n.link.filters.packet_loss?n.link.filters.packet_loss:[0])}),this.linkService.getAvailableFilters(this.server,this.link).subscribe(function(e){n.availableFilters=e})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.onResetClick=function(){var n=this;this.link.filters={bpf:[],corrupt:[0],delay:[0,0],frequency_drop:[0],packet_loss:[0]},this.linkService.updateLink(this.server,this.link).subscribe(function(e){n.dialogRef.close()})},n.prototype.onYesClick=function(){var n=this;this.link.filters=this.filters,this.linkService.updateLink(this.server,this.link).subscribe(function(e){n.dialogRef.close()})},n.prototype.onHelpClick=function(){var n=this.dialog.open(FB,{width:"500px",autoFocus:!1}).componentInstance;n.title="Help for filters";var e=[];this.availableFilters.forEach(function(n){e.push({name:n.name,description:n.description})}),n.messages=e},n}(),MB=function(){function n(n){this.dialog=n}return n.prototype.openPacketFilters=function(){var n=this.dialog.open(NB,{width:"900px",height:"400px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project,n.link=this.link},n}(),AB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function qB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.openPacketFilters()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["filter_list"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Packet filters"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var PB=function(){function n(n){this.linkService=n}return n.prototype.resumeLink=function(){this.link.suspend=!1,this.linkService.updateLink(this.server,this.link).subscribe(function(){})},n}(),jB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function LB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.resumeLink()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["play_arrow"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Resume"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function VB(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,LB)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.link.suspend)},null)}var BB=function(){function n(n){this.linkService=n}return n.prototype.suspendLink=function(){this.link.suspend=!0,this.linkService.updateLink(this.server,this.link).subscribe(function(){})},n}(),zB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function UB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.suspendLink()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["pause"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Suspend"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}function HB(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,UB)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,!e.component.link.suspend)},null)}var ZB=function(){function n(n,e,t,l,o,r){this.nodesDataSource=n,this.drawingsDataSource=e,this.linksDataSource=t,this.nodeService=l,this.drawingService=o,this.linkService=r}return n.prototype.ngOnInit=function(){},n.prototype.delete=function(){var n=this;this.nodes.forEach(function(e){n.nodesDataSource.remove(e),n.nodeService.delete(n.server,e).subscribe(function(n){})}),this.drawings.forEach(function(e){n.drawingsDataSource.remove(e),n.drawingService.delete(n.server,e).subscribe(function(n){})}),this.links.forEach(function(e){n.linksDataSource.remove(e),n.linkService.deleteLink(n.server,e).subscribe(function(){})})},n}(),WB=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function GB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.delete()&&l),l},Nd,Fd)),o["\u0275did"](1,180224,null,0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete"]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color)})}var KB=function(){function n(n,e,t,l){this.sanitizer=n,this.changeDetector=e,this.electronService=t,this.projectService=l,this.drawings=[],this.nodes=[],this.labels=[],this.links=[],this.linkNodes=[],this.hasTextCapabilities=!1,this.isElectronApp=!1,this.isBundledServer=!1}return n.prototype.ngOnInit=function(){this.setPosition(0,0),this.isElectronApp=this.electronService.isElectronApp,this.isBundledServer="bundled"===this.server.location},n.prototype.setPosition=function(n,e){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(e+"px"),this.changeDetector.detectChanges()},n.prototype.openMenuForDrawing=function(n,e,t){this.resetCapabilities(),this.hasTextCapabilities=n.element instanceof zD,this.drawings=[n],this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.openMenuForNode=function(n,e,t){this.resetCapabilities(),this.nodes=[n],this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.openMenuForLabel=function(n,e,t,l){this.resetCapabilities(),this.labels=[n],this.nodes=[e],this.setPosition(t,l),this.contextMenu.openMenu()},n.prototype.openMenuForInterfaceLabel=function(n,e,t,l){this.resetCapabilities(),this.linkNodes=[n],this.links=[e],this.setPosition(t,l),this.contextMenu.openMenu()},n.prototype.openMenuForListOfElements=function(n,e,t,l,o,r){this.resetCapabilities(),this.drawings=n,this.nodes=e,this.labels=t,this.links=l,this.setPosition(o,r),this.contextMenu.openMenu()},n.prototype.resetCapabilities=function(){this.drawings=[],this.nodes=[],this.labels=[],this.linkNodes=[],this.links=[],this.hasTextCapabilities=!1},n}(),YB=o["\u0275crt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute;min-height:0}.mat-menu-panel[_ngcontent-%COMP%] ng-trigger[_ngcontent-%COMP%] ng-trigger-transformMenu[_ngcontent-%COMP%] ng-tns-c7-5[_ngcontent-%COMP%] context-menu-items[_ngcontent-%COMP%] mat-menu-after[_ngcontent-%COMP%] mat-menu-below[_ngcontent-%COMP%] ng-star-inserted[_ngcontent-%COMP%] mat-elevation-z4[_ngcontent-%COMP%]{min-height:0!important}"]],data:{}});function $B(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-show-node-action",[],null,null,null,jV,PV)),o["\u0275did"](1,49152,null,0,qV,[yv],{node:[0,"node"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,1,0,t.nodes[0],t.server)},null)}function XB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-node-action",[],null,null,null,zV,VV)),o["\u0275did"](1,638976,null,0,LV,[mV],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function QB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-stop-node-action",[],null,null,null,WV,HV)),o["\u0275did"](1,638976,null,0,UV,[mV],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function JB(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-console-device-action",[],null,null,null,YV,KV)),o["\u0275did"](1,114688,null,0,GV,[bc,Uh,T,vc],{server:[0,"server"],nodes:[1,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes)},null)}function nz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-duplicate-action",[],null,null,null,QV,XV)),o["\u0275did"](1,49152,null,0,$V,[mV,yF,kV,_V,vc],{server:[0,"server"],project:[1,"project"],drawings:[2,"drawings"],nodes:[3,"nodes"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings,t.nodes)},null)}function ez(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-edit-style-action",[],null,null,null,iB,rB)),o["\u0275did"](1,114688,null,0,oB,[yv],{server:[0,"server"],project:[1,"project"],drawing:[2,"drawing"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings[0])},null)}function tz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-edit-text-action",[],null,null,null,fB,pB)),o["\u0275did"](1,114688,null,0,cB,[yv],{server:[0,"server"],project:[1,"project"],drawing:[2,"drawing"],node:[3,"node"],label:[4,"label"],link:[5,"link"],linkNode:[6,"linkNode"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.drawings[0],t.nodes[0],t.labels[0],t.links[0],t.linkNodes[0])},null)}function lz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-move-layer-up-action",[],null,null,null,vB,mB)),o["\u0275did"](1,114688,null,0,hB,[yF,_V,mV,kV],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)},null)}function oz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-move-layer-down-action",[],null,null,null,_B,bB)),o["\u0275did"](1,114688,null,0,gB,[yF,_V,mV,kV],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)},null)}function rz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-bring-to-front-action",[],null,null,null,CB,wB)),o["\u0275did"](1,114688,null,0,yB,[yF,_V,mV,kV],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings)},null)}function iz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-capture-action",[],null,null,null,TB,kB)),o["\u0275did"](1,49152,null,0,SB,[yv],{server:[0,"server"],link:[1,"link"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])},null)}function az(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-stop-capture-action",[],null,null,null,OB,IB)),o["\u0275did"](1,49152,null,0,RB,[wF],{server:[0,"server"],link:[1,"link"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])},null)}function uz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-packet-filters-action",[],null,null,null,qB,AB)),o["\u0275did"](1,49152,null,0,MB,[yv],{server:[0,"server"],project:[1,"project"],link:[2,"link"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.project,t.links[0])},null)}function sz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-resume-link-action",[],null,null,null,VB,jB)),o["\u0275did"](1,49152,null,0,PB,[wF],{server:[0,"server"],link:[1,"link"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])},null)}function dz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-suspend-link-action",[],null,null,null,HB,zB)),o["\u0275did"](1,49152,null,0,BB,[wF],{server:[0,"server"],link:[1,"link"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.links[0])},null)}function cz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-delete-action",[],null,null,null,GB,WB)),o["\u0275did"](1,114688,null,0,ZB,[yF,_V,CF,mV,kV,wF],{server:[0,"server"],nodes:[1,"nodes"],drawings:[2,"drawings"],links:[3,"links"]},null)],function(n,e){var t=e.component;n(e,1,0,t.server,t.nodes,t.drawings,t.links)},null)}function pz(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{contextMenu:0}),(n()(),o["\u0275eld"](1,0,null,null,41,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["\u0275eld"](2,16777216,null,null,1,"span",[["aria-haspopup","true"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,3)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,3)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,3)._handleClick(t)&&l),l},null,null)),o["\u0275did"](3,1196032,[[1,4]],0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](4,0,null,null,38,"mat-menu",[["class","context-menu-items"]],null,null,null,Od,Id)),o["\u0275prd"](6144,null,wd,null,[Cd]),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](7,1294336,[["contextMenu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],{panelClass:[0,"panelClass"]},null),o["\u0275qud"](603979776,2,{_allItems:1}),o["\u0275qud"](603979776,3,{items:1}),o["\u0275qud"](603979776,4,{lazyContent:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,$B)),o["\u0275did"](12,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,XB)),o["\u0275did"](14,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,QB)),o["\u0275did"](16,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,JB)),o["\u0275did"](18,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,nz)),o["\u0275did"](20,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,ez)),o["\u0275did"](22,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,tz)),o["\u0275did"](24,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,lz)),o["\u0275did"](26,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,oz)),o["\u0275did"](28,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,rz)),o["\u0275did"](30,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,iz)),o["\u0275did"](32,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,az)),o["\u0275did"](34,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,uz)),o["\u0275did"](36,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,sz)),o["\u0275did"](38,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,dz)),o["\u0275did"](40,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,0,1,null,cz)),o["\u0275did"](42,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,3,0,o["\u0275nov"](e,7)),n(e,7,0,"context-menu-items"),n(e,12,0,1===t.nodes.length),n(e,14,0,t.nodes.length&&0===t.labels.length),n(e,16,0,t.nodes.length&&0===t.labels.length),n(e,18,0,!t.projectService.isReadOnly(t.project)&&t.nodes.length&&t.isElectronApp),n(e,20,0,t.drawings.length>0||t.nodes.length>0),n(e,22,0,!t.projectService.isReadOnly(t.project)&&1===t.drawings.length&&!t.hasTextCapabilities),n(e,24,0,!t.projectService.isReadOnly(t.project)&&(1===t.drawings.length&&t.hasTextCapabilities&&0===t.labels.length&&0===t.linkNodes.length||1===t.labels.length&&0===t.linkNodes.length&&0===t.drawings.length||1===t.linkNodes.length&&0===t.labels.length&&0===t.drawings.length)),n(e,26,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)&&0===t.labels.length),n(e,28,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)&&0===t.labels.length),n(e,30,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length||t.nodes.length)&&0===t.labels.length),n(e,32,0,!t.projectService.isReadOnly(t.project)&&t.isBundledServer&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length),n(e,34,0,!t.projectService.isReadOnly(t.project)&&t.isBundledServer&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,36,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,38,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,40,0,!t.projectService.isReadOnly(t.project)&&0===t.drawings.length&&0===t.nodes.length&&1===t.links.length&&0===t.linkNodes.length),n(e,42,0,!t.projectService.isReadOnly(t.project)&&(t.drawings.length>0||t.nodes.length>0||t.links.length>0)&&0===t.linkNodes.length)},function(n,e){var t=e.component;n(e,1,0,t.leftPosition,t.topPosition),n(e,2,0,o["\u0275nov"](e,3).menuOpen||null)})}var fz=t("yccp"),hz=function(){function n(n,e,t){this.fontBBoxCalculator=n,this.cssFixer=e,this.fontFixer=t}return n.prototype.convert=function(n){var e=this.cssFixer.fix(n.style),t=this.fontFixer.fixStyles(e),l=this.fontBBoxCalculator.calculate(n.text,t),o=new uB;return o.rotation=n.rotation,o.style=n.style,o.text=n.text,o.x=n.x,o.y=n.y,null!==o.x&&(o.x-=3),null!==o.y&&(o.y-=l.height),o},n}(),mz=function(){return function(){}}(),vz=function(){function n(){}return n.prototype.convert=function(n){var e=new mz;return e.adapter_number=n.adapterNumber,e.link_type=n.linkType,e.name=n.name,e.port_number=n.portNumber,e.short_name=n.shortName,e},n}(),gz=function(){function n(n,e){this.mapLabelToLabel=n,this.mapPortToPort=e}return n.prototype.convert=function(n){var e=this,t=new NV;return t.node_id=n.id,t.command_line=n.commandLine,t.compute_id=n.computeId,t.console=n.console,t.console_host=n.consoleHost,t.first_port_name=n.firstPortName,t.height=n.height,t.label=n.label?this.mapLabelToLabel.convert(n.label):void 0,t.name=n.name,t.node_directory=n.nodeDirectory,t.node_type=n.nodeType,t.port_name_format=n.portNameFormat,t.port_segment_size=n.portSegmentSize,t.ports=n.ports?n.ports.map(function(n){return e.mapPortToPort.convert(n)}):[],t.project_id=n.projectId,t.status=n.status,t.symbol=n.symbol,t.symbol_url=n.symbolUrl,t.width=n.width,t.x=n.x,t.y=n.y,t.z=n.z,t},n}(),bz=function(){function n(n,e,t,l,o,r){this.hotkeysService=n,this.toaster=e,this.nodesService=t,this.projectService=l,this.mapNodeToNode=o,this.selectionManager=r}return n.prototype.ngOnInit=function(){var n=this;this.deleteHotkey=new fz.Hotkey("del",function(e){return n.onDeleteHandler(e)}),this.hotkeysService.add(this.deleteHotkey)},n.prototype.onDeleteHandler=function(n){var e=this;return this.projectService.isReadOnly(this.project)||this.selectionManager.getSelected().filter(function(n){return n instanceof LO}).forEach(function(n){var t=e.mapNodeToNode.convert(n);e.nodesService.delete(e.server,t).subscribe(function(n){e.toaster.success("Node has been deleted")})}),!1},n.prototype.ngOnDestroy=function(){this.hotkeysService.remove(this.deleteHotkey)},n}(),_z=t("oVTH"),yz=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function wz(n){return o["\u0275vid"](0,[],null,null)}var Cz=function(){function n(n,e){this.sanitizer=n,this.changeDetector=e,this.onChooseInterface=new o.EventEmitter}return n.prototype.ngOnInit=function(){this.setPosition(0,0)},n.prototype.setPosition=function(n,e){this.topPosition=this.sanitizer.bypassSecurityTrustStyle(n+"px"),this.leftPosition=this.sanitizer.bypassSecurityTrustStyle(e+"px"),this.changeDetector.detectChanges()},n.prototype.open=function(n,e,t){this.node=n,this.filterNodePorts(),this.setPosition(e,t),this.contextMenu.openMenu()},n.prototype.filterNodePorts=function(){var n=this,e=[];this.links.forEach(function(t){t.nodes.forEach(function(t){t.node_id===n.node.node_id&&e.push(t)})}),this.availablePorts=[],this.node.ports.forEach(function(t){0===e.filter(function(n){return n.port_number===t.port_number}).length&&n.availablePorts.push(t)})},n.prototype.chooseInterface=function(n){this.onChooseInterface.emit({node:this.node,port:n})},n}(),xz=o["\u0275crt"]({encapsulation:0,styles:[[".context-menu[_ngcontent-%COMP%]{position:absolute}.context-menu-items[_ngcontent-%COMP%]{min-height:0!important}"]],data:{}});function Sz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,1)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.chooseInterface(n.context.$implicit)&&l),l},Nd,Fd)),o["\u0275did"](1,180224,[[2,4],[3,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](3,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["add_circle_outline"])),(n()(),o["\u0275eld"](5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](6,null,["",""]))],function(n,e){n(e,3,0)},function(n,e){n(e,0,0,o["\u0275nov"](e,1).role,o["\u0275nov"](e,1)._highlighted,o["\u0275nov"](e,1)._triggersSubmenu,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled||null),n(e,2,0,o["\u0275nov"](e,3).inline,"primary"!==o["\u0275nov"](e,3).color&&"accent"!==o["\u0275nov"](e,3).color&&"warn"!==o["\u0275nov"](e,3).color),n(e,6,0,e.context.$implicit.name)})}function kz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,11,"div",[["class","context-menu"]],[[4,"left",null],[4,"top",null]],null,null,null,null)),(n()(),o["\u0275eld"](1,16777216,null,null,1,"span",[["aria-haspopup","true"]],[[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,2)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,2)._handleClick(t)&&l),l},null,null)),o["\u0275did"](2,1196032,[[1,4]],0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),(n()(),o["\u0275eld"](3,0,null,null,8,"mat-menu",[["class","context-menu-items"]],[[4,"min-height",null]],null,null,Od,Id)),o["\u0275prd"](6144,null,wd,null,[Cd]),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](6,1294336,[["selectInterfaceMenu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],{panelClass:[0,"panelClass"]},null),o["\u0275qud"](603979776,2,{_allItems:1}),o["\u0275qud"](603979776,3,{items:1}),o["\u0275qud"](603979776,4,{lazyContent:0}),(n()(),o["\u0275and"](16777216,null,0,1,null,Sz)),o["\u0275did"](11,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,2,0,o["\u0275nov"](e,6)),n(e,6,0,"context-menu-items"),n(e,11,0,t.availablePorts)},function(n,e){var t=e.component;n(e,0,0,t.leftPosition,t.topPosition),n(e,1,0,o["\u0275nov"](e,2).menuOpen||null),n(e,3,0,0)})}function Ez(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{contextMenu:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,kz)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,2,0,e.component.node)},null)}var Tz=function(){return function(n,e,t,l){this.sourceNode=n,this.sourcePort=e,this.targetNode=t,this.targetPort=l}}(),Rz=function(){function n(n,e,t,l,o,r){this.drawingLineTool=n,this.nodesEventSource=e,this.linksEventSource=t,this.mapNodeToNode=l,this.nodeToMapNode=o,this.portToMapPort=r}return n.prototype.ngOnInit=function(){var n=this;this.nodeClicked$=this.nodesEventSource.clicked.subscribe(function(e){var t=n.mapNodeToNode.convert(e.datum);n.nodeSelectInterfaceMenu.open(t,e.y,e.x)})},n.prototype.ngOnDestroy=function(){this.drawingLineTool.isDrawing()&&this.drawingLineTool.stop(),this.nodeClicked$.unsubscribe()},n.prototype.onChooseInterface=function(n){var e=this.nodeToMapNode.convert(n.node),t=this.portToMapPort.convert(n.port);if(this.drawingLineTool.isDrawing()){var l=this.drawingLineTool.stop();this.linksEventSource.created.emit(new Tz(l.node,l.port,e,t))}else this.drawingLineTool.start(e.x+e.width/2,e.y+e.height/2,{node:e,port:t})},n}(),Iz=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Dz(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{nodeSelectInterfaceMenu:0}),(n()(),o["\u0275eld"](1,0,null,null,1,"app-node-select-interface",[],null,[[null,"onChooseInterface"]],function(n,e,t){var l=!0;return"onChooseInterface"===e&&(l=!1!==n.component.onChooseInterface(t)&&l),l},Ez,xz)),o["\u0275did"](2,114688,[[1,4]],0,Cz,[Jn,o.ChangeDetectorRef],{links:[0,"links"]},{onChooseInterface:"onChooseInterface"})],function(n,e){n(e,2,0,e.component.links)},null)}var Oz=function(){function n(n,e){this.nodesDataSource=n,this.projectService=e,this.closeTopologySummary=new o.EventEmitter,this.subscriptions=[],this.nodes=[],this.filteredNodes=[],this.sortingOrder="asc",this.startedStatusFilterEnabled=!1,this.suspendedStatusFilterEnabled=!1,this.stoppedStatusFilterEnabled=!1}return n.prototype.ngOnInit=function(){var n=this;this.subscriptions.push(this.nodesDataSource.changes.subscribe(function(e){n.nodes=e,n.filteredNodes=e.sort("asc"===n.sortingOrder?n.compareAsc:n.compareDesc)})),this.projectService.getStatistics(this.server,this.project.project_id).subscribe(function(e){n.projectsStatistics=e})},n.prototype.compareAsc=function(n,e){return n.name<e.name?-1:1},n.prototype.compareDesc=function(n,e){return n.name<e.name?1:-1},n.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(n){return n.unsubscribe()})},n.prototype.setSortingOrder=function(n){this.sortingOrder=n,this.filteredNodes=this.filteredNodes.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},n.prototype.applyStatusFilter=function(n,e){"started"===e?this.startedStatusFilterEnabled=n:"stopped"===e?this.stoppedStatusFilterEnabled=n:"suspended"===e&&(this.suspendedStatusFilterEnabled=n),this.applyFilters()},n.prototype.applyFilters=function(){var n=[];this.startedStatusFilterEnabled&&(n=n.concat(this.nodes.filter(function(n){return"started"===n.status}))),this.stoppedStatusFilterEnabled&&(n=n.concat(this.nodes.filter(function(n){return"stopped"===n.status}))),this.suspendedStatusFilterEnabled&&(n=n.concat(this.nodes.filter(function(n){return"suspended"===n.status}))),this.startedStatusFilterEnabled||this.stoppedStatusFilterEnabled||this.suspendedStatusFilterEnabled||(n=n.concat(this.nodes)),this.filteredNodes=n.sort("asc"===this.sortingOrder?this.compareAsc:this.compareDesc)},n.prototype.close=function(){this.closeTopologySummary.emit(!1)},n}(),Fz=o["\u0275crt"]({encapsulation:0,styles:[[".summaryWrapper[_ngcontent-%COMP%]{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);position:fixed;top:20px;right:20px;height:400px;width:300px;background:#263238;color:#fff;overflow:hidden;font-size:12px}.summaryHeaderMenu[_ngcontent-%COMP%]{height:24px}.summaryHeader[_ngcontent-%COMP%]{width:100%;height:24px;display:flex;justify-content:space-between;margin-right:5px}.summaryFilters[_ngcontent-%COMP%], .summarySorting[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px}.summaryContent[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;max-height:240px;overflow:auto;scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}.title[_ngcontent-%COMP%]{margin-left:5px;margin-top:4px}.divider[_ngcontent-%COMP%]{margin:5px;width:290px;height:2px}.nodeRow[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;padding-right:5px}mat-icon[_ngcontent-%COMP%]{font-size:18px;width:20px;height:20px;margin-top:4px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}.radio-group-wrapper[_ngcontent-%COMP%]{margin-top:5px}.radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.closeButton[_ngcontent-%COMP%]{cursor:pointer}.filterBox[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]],data:{}});function Nz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,0,":svg:rect",[["class","status_started"],["fill","green"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function Mz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,":svg:svg",[["height","10"],["width","10"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,0,":svg:rect",[["class","status_stopped"],["fill","red"],["height","10"],["width","10"],["x","0"],["y","0"]],null,null,null,null,null))],null,null)}function Az(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,[" "," ",":"," "]))],null,function(n,e){n(e,1,0,e.parent.context.$implicit.console_type,e.parent.context.$implicit.console_host,e.parent.context.$implicit.console)})}function qz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" none "]))],null,null)}function Pz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,10,"div",[["class","nodeRow"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,5,"div",[],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Nz)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,Mz)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275ted"](6,null,[" "," "])),(n()(),o["\u0275and"](16777216,null,null,1,null,Az)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,qz)),o["\u0275did"](10,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,"started"===e.context.$implicit.status),n(e,5,0,"stopped"===e.context.$implicit.status),n(e,8,0,null!=e.context.$implicit.console&&null!=e.context.$implicit.console&&"none"!=e.context.$implicit.console_type),n(e,10,0,null==e.context.$implicit.console||"none"===e.context.$implicit.console_type)},function(n,e){n(e,6,0,e.context.$implicit.name)})}function jz(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,43,"div",[["class","summaryWrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,5,"div",[["class","summaryHeader"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(n()(),o["\u0275ted"](3,null,["Topology summary ("," snapshots)"])),(n()(),o["\u0275eld"](4,0,null,null,2,"mat-icon",[["class","closeButton mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.close()&&l),l},gs,vs)),o["\u0275did"](5,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["close"])),(n()(),o["\u0275eld"](7,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,xp,Cp)),o["\u0275did"](8,49152,null,0,yp,[],null,null),(n()(),o["\u0275eld"](9,0,null,null,15,"div",[["class","summaryFilters"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" Filter by status "])),(n()(),o["\u0275eld"](11,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](12,0,null,null,12,"div",[["class","filterBox"]],null,null,null,null,null)),(n()(),o["\u0275eld"](13,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.applyStatusFilter(t.checked,"started")&&l),l},Mb,Nb)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](15,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,{change:"change"}),(n()(),o["\u0275ted"](-1,0,["Started"])),(n()(),o["\u0275eld"](17,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.applyStatusFilter(t.checked,"suspended")&&l),l},Mb,Nb)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](19,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,{change:"change"}),(n()(),o["\u0275ted"](-1,0,["Suspended"])),(n()(),o["\u0275eld"](21,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.applyStatusFilter(t.checked,"stopped")&&l),l},Mb,Nb)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](23,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,{change:"change"}),(n()(),o["\u0275ted"](-1,0,["Stopped"])),(n()(),o["\u0275eld"](25,0,null,null,13,"div",[["class","summarySorting"]],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,[" Sorting "])),(n()(),o["\u0275eld"](27,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),o["\u0275eld"](28,0,null,null,10,"div",[["class","radio-group-wrapper"]],null,null,null,null,null)),(n()(),o["\u0275eld"](29,0,null,null,9,"mat-radio-group",[["aria-label","Sorting"],["class","radio-group mat-radio-group"],["role","radiogroup"]],null,null,null,null,null)),o["\u0275prd"](5120,null,$h,function(n){return[n]},[Lk]),o["\u0275did"](31,1064960,null,1,Lk,[o.ChangeDetectorRef],null,null),o["\u0275qud"](603979776,1,{_radios:1}),(n()(),o["\u0275eld"](33,0,null,null,2,"mat-radio-button",[["checked",""],["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,34)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setSortingOrder("asc")&&l),l},Uk,zk)),o["\u0275did"](34,4440064,[[1,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{checked:[0,"checked"],value:[1,"value"]},null),(n()(),o["\u0275ted"](-1,0,["By name ascending"])),(n()(),o["\u0275eld"](36,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0]],[[null,"click"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"focus"===e&&(l=!1!==o["\u0275nov"](n,37)._inputElement.nativeElement.focus()&&l),"click"===e&&(l=!1!==r.setSortingOrder("desc")&&l),l},Uk,zk)),o["\u0275did"](37,4440064,[[1,4]],0,Vk,[[2,Lk],o.ElementRef,o.ChangeDetectorRef,Uo,Ls,[2,su],[2,qk]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](-1,0,["By name descending"])),(n()(),o["\u0275eld"](39,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,xp,Cp)),o["\u0275did"](40,49152,null,0,yp,[],null,null),(n()(),o["\u0275eld"](41,0,null,null,2,"div",[["class","summaryContent"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,Pz)),o["\u0275did"](43,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,5,0),n(e,34,0,"","1"),n(e,37,0,"2"),n(e,43,0,t.filteredNodes)},function(n,e){n(e,3,0,e.component.projectsStatistics.snapshots),n(e,4,0,o["\u0275nov"](e,5).inline,"primary"!==o["\u0275nov"](e,5).color&&"accent"!==o["\u0275nov"](e,5).color&&"warn"!==o["\u0275nov"](e,5).color),n(e,7,0,o["\u0275nov"](e,8).vertical?"vertical":"horizontal",o["\u0275nov"](e,8).vertical,!o["\u0275nov"](e,8).vertical,o["\u0275nov"](e,8).inset),n(e,13,0,o["\u0275nov"](e,15).id,null,o["\u0275nov"](e,15).indeterminate,o["\u0275nov"](e,15).checked,o["\u0275nov"](e,15).disabled,"before"==o["\u0275nov"](e,15).labelPosition,"NoopAnimations"===o["\u0275nov"](e,15)._animationMode),n(e,17,0,o["\u0275nov"](e,19).id,null,o["\u0275nov"](e,19).indeterminate,o["\u0275nov"](e,19).checked,o["\u0275nov"](e,19).disabled,"before"==o["\u0275nov"](e,19).labelPosition,"NoopAnimations"===o["\u0275nov"](e,19)._animationMode),n(e,21,0,o["\u0275nov"](e,23).id,null,o["\u0275nov"](e,23).indeterminate,o["\u0275nov"](e,23).checked,o["\u0275nov"](e,23).disabled,"before"==o["\u0275nov"](e,23).labelPosition,"NoopAnimations"===o["\u0275nov"](e,23)._animationMode),n(e,33,0,o["\u0275nov"](e,34).checked,o["\u0275nov"](e,34).disabled,"NoopAnimations"===o["\u0275nov"](e,34)._animationMode,"primary"===o["\u0275nov"](e,34).color,"accent"===o["\u0275nov"](e,34).color,"warn"===o["\u0275nov"](e,34).color,-1,o["\u0275nov"](e,34).id),n(e,36,0,o["\u0275nov"](e,37).checked,o["\u0275nov"](e,37).disabled,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode,"primary"===o["\u0275nov"](e,37).color,"accent"===o["\u0275nov"](e,37).color,"warn"===o["\u0275nov"](e,37).color,-1,o["\u0275nov"](e,37).id),n(e,39,0,o["\u0275nov"](e,40).vertical?"vertical":"horizontal",o["\u0275nov"](e,40).vertical,!o["\u0275nov"](e,40).vertical,o["\u0275nov"](e,40).inset)})}function Lz(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,jz)),o["\u0275did"](1,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.component.projectsStatistics)},null)}var Vz=function(){function n(n,e,t){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.drawingDragged=this.drawingsEventSource.dragged.subscribe(function(e){return n.onDrawingDragged(e)})},n.prototype.onDrawingDragged=function(n){var e=this,t=this.drawingsDataSource.get(n.datum.id);t.x+=n.dx,t.y+=n.dy,this.drawingService.updatePosition(this.server,t,t.x,t.y).subscribe(function(n){e.drawingsDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.drawingDragged.unsubscribe()},n}(),Bz=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function zz(n){return o["\u0275vid"](0,[],null,null)}var Uz=function(){function n(n,e,t,l){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.mapDrawingToSvgConverter=l}return n.prototype.ngOnInit=function(){var n=this;this.drawingResized=this.drawingsEventSource.resized.subscribe(function(e){return n.onDrawingResized(e)})},n.prototype.onDrawingResized=function(n){var e=this,t=this.drawingsDataSource.get(n.datum.id),l=this.mapDrawingToSvgConverter.convert(n.datum);this.drawingService.updateSizeAndPosition(this.server,t,n.x,n.y,l).subscribe(function(n){e.drawingsDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.drawingResized.unsubscribe()},n}(),Hz=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Zz(n){return o["\u0275vid"](0,[],null,null)}var Wz=function(){function n(n,e,t){this.linkService=n,this.linksDataSource=e,this.linksEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.interfaceDragged=this.linksEventSource.interfaceDragged.subscribe(function(e){return n.onInterfaceLabelDragged(e)})},n.prototype.onInterfaceLabelDragged=function(n){var e=this,t=this.linksDataSource.get(n.datum.linkId);t.nodes[0].node_id===n.datum.nodeId&&(t.nodes[0].label.x+=n.dx,t.nodes[0].label.y+=n.dy),t.nodes[1].node_id===n.datum.nodeId&&(t.nodes[1].label.x+=n.dx,t.nodes[1].label.y+=n.dy),this.linkService.updateNodes(this.server,t,t.nodes).subscribe(function(n){e.linksDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.interfaceDragged.unsubscribe()},n}(),Gz=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Kz(n){return o["\u0275vid"](0,[],null,null)}var Yz=function(){function n(n,e,t,l,o,r){this.projectService=n,this.linkService=e,this.linksDataSource=t,this.linksEventSource=l,this.mapNodeToNode=o,this.mapPortToPort=r}return n.prototype.ngOnInit=function(){var n=this;this.linkCreated=this.linksEventSource.created.subscribe(function(e){return n.onLinkCreated(e)})},n.prototype.onLinkCreated=function(n){var e=this,t=Math.abs(n.sourceNode.x-n.targetNode.x),l=Math.abs(n.sourceNode.y-n.targetNode.y),o=Math.sqrt(Math.pow(t,2)+Math.pow(l,2)),r=l/o,i=45/o*t,a=45/o*l,u=0,s=0,d=0,c=0;n.sourceNode.x<=n.targetNode.x&&n.sourceNode.y<=n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)+Math.round(i)+5,s=Math.floor(n.sourceNode.height/2)+Math.round(a)+5,d=Math.floor(n.targetNode.width/2)-Math.round(i)-5-Math.round(20*r),c=Math.floor(n.targetNode.height/2)-Math.round(a)+5-Math.round(20*r)):n.sourceNode.x>n.targetNode.x&&n.sourceNode.y<n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)-Math.round(i)-5-Math.round(20*r),s=Math.floor(n.sourceNode.height/2)+Math.round(a)+5-Math.round(20*r),d=Math.floor(n.targetNode.width/2)+Math.round(i)+5,c=Math.floor(n.targetNode.height/2)-Math.round(a)-5):n.sourceNode.x<n.targetNode.x&&n.sourceNode.y>n.targetNode.y?(u=Math.floor(n.sourceNode.width/2)+Math.round(i)+5-Math.round(20*r),s=Math.floor(n.sourceNode.height/2)-Math.round(a)-5-Math.round(20*r),d=Math.floor(n.targetNode.width/2)-Math.round(i)-5,c=Math.floor(n.targetNode.height/2)+Math.round(a)+5):n.sourceNode.x>=n.targetNode.x&&n.sourceNode.y>=n.targetNode.y&&(u=Math.floor(n.sourceNode.width/2)-Math.round(i)-5-Math.round(20*r),s=Math.floor(n.sourceNode.height/2)-Math.round(a)+5-Math.round(20*r),d=Math.floor(n.targetNode.width/2)+Math.round(i)+5,c=Math.floor(n.targetNode.height/2)+Math.round(a)+5);var p=this.mapNodeToNode.convert(n.sourceNode),f=this.mapPortToPort.convert(n.sourcePort),h=this.mapNodeToNode.convert(n.targetNode),m=this.mapPortToPort.convert(n.targetPort);this.linkService.createLink(this.server,p,f,h,m,u,s,d,c).subscribe(function(){e.projectService.links(e.server,e.project.project_id).subscribe(function(n){e.linksDataSource.set(n)})})},n.prototype.ngOnDestroy=function(){this.linkCreated.unsubscribe()},n}(),$z=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Xz(n){return o["\u0275vid"](0,[],null,null)}var Qz=function(){function n(n,e,t){this.nodesDataSource=n,this.nodeService=e,this.nodesEventSource=t}return n.prototype.ngOnInit=function(){var n=this;this.nodeDragged=this.nodesEventSource.dragged.subscribe(function(e){return n.onNodeDragged(e)})},n.prototype.onNodeDragged=function(n){var e=this,t=this.nodesDataSource.get(n.datum.id);t.x+=n.dx,t.y+=n.dy,this.nodeService.updatePosition(this.server,t,t.x,t.y).subscribe(function(n){e.nodesDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.nodeDragged.unsubscribe()},n}(),Jz=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function nU(n){return o["\u0275vid"](0,[],null,null)}var eU=function(){function n(n,e,t,l){this.nodesDataSource=n,this.nodeService=e,this.nodesEventSource=t,this.mapLabelToLabel=l}return n.prototype.ngOnInit=function(){var n=this;this.nodeLabelDragged=this.nodesEventSource.labelDragged.subscribe(function(e){return n.onNodeLabelDragged(e)})},n.prototype.onNodeLabelDragged=function(n){var e=this,t=this.nodesDataSource.get(n.datum.nodeId),l=n.datum;l.x+=n.dx,l.y+=n.dy;var o=this.mapLabelToLabel.convert(l);t.label=o,this.nodeService.updateLabel(this.server,t,t.label).subscribe(function(n){e.nodesDataSource.update(n)})},n.prototype.ngOnDestroy=function(){this.nodeLabelDragged.unsubscribe()},n}(),tU=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function lU(n){return o["\u0275vid"](0,[],null,null)}var oU=function(){function n(n,e,t,l,r,i){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.drawingsFactory=l,this.mapDrawingToSvgConverter=r,this.context=i,this.drawingSaved=new o.EventEmitter}return n.prototype.ngOnInit=function(){var n=this;this.textAdded=this.drawingsEventSource.textAdded.subscribe(function(e){return n.onTextAdded(e)})},n.prototype.onTextAdded=function(n){var e=this,t=this.drawingsFactory.getDrawingMock("text");t.element.text=n.savedText;var l=this.mapDrawingToSvgConverter.convert(t);this.drawingService.add(this.server,this.project.project_id,(n.x-(this.context.getZeroZeroTransformationPoint().x+this.context.transformation.x))/this.context.transformation.k,(n.y-(this.context.getZeroZeroTransformationPoint().y+this.context.transformation.y))/this.context.transformation.k,l).subscribe(function(n){e.drawingsDataSource.add(n),e.drawingSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.textAdded.unsubscribe()},n}(),rU=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function iU(n){return o["\u0275vid"](0,[],null,null)}var aU=function(){function n(n,e,t,l){this.drawingService=n,this.drawingsDataSource=e,this.drawingsEventSource=t,this.mapDrawingToSvgConverter=l}return n.prototype.ngOnInit=function(){var n=this;this.textEdited=this.drawingsEventSource.textEdited.subscribe(function(e){return n.onTextEdited(e)})},n.prototype.onTextEdited=function(n){var e=this,t=new XO;t.element=n.textElement,t.element.text=n.editedText;var l=this.mapDrawingToSvgConverter.convert(t),o=this.drawingsDataSource.get(n.textDrawingId);this.drawingService.updateText(this.server,o,l).subscribe(function(n){e.drawingsDataSource.update(n),e.drawingsEventSource.textSaved.emit(!0)})},n.prototype.ngOnDestroy=function(){this.textEdited.unsubscribe()},n}(),uU=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function sU(n){return o["\u0275vid"](0,[],null,null)}var dU=function(){function n(n,e,t){this.nodesDataSource=n,this.linksDataSource=e,this.drawingsDataSource=t}return n.prototype.handleMessage=function(n){"node.updated"===n.action&&this.nodesDataSource.update(n.event),"node.created"===n.action&&this.nodesDataSource.add(n.event),"node.deleted"===n.action&&this.nodesDataSource.remove(n.event),"link.created"===n.action&&this.linksDataSource.add(n.event),"link.updated"===n.action&&this.linksDataSource.update(n.event),"link.deleted"===n.action&&this.linksDataSource.remove(n.event),"drawing.created"===n.action&&this.drawingsDataSource.add(n.event),"drawing.updated"===n.action&&this.drawingsDataSource.update(n.event),"drawing.deleted"===n.action&&this.drawingsDataSource.remove(n.event)},n}(),cU=function(){function n(){}return n.prototype.convert=function(n){var e=new JV;return e.drawing_id=n.id,e.project_id=n.projectId,e.rotation=n.rotation,e.svg=n.svg,e.x=n.x,e.y=n.y,e.z=n.z,e.element=n.element,e},n}(),pU=function(){function n(n){this.mapLabelToLabel=n}return n.prototype.convert=function(n){var e=new dB;return e.node_id=n.nodeId,e.adapter_number=n.adapterNumber,e.port_number=n.portNumber,e.label=this.mapLabelToLabel.convert(n.label),e},n}(),fU=function(){function n(n){this.mapLinkNodeToMapLinkNode=n}return n.prototype.convert=function(n){var e=this,t=new sB;return t.link_id=n.id,t.capture_file_name=n.captureFileName,t.capture_file_path=n.captureFilePath,t.capturing=n.capturing,t.filters=n.filters,t.link_type=n.linkType,t.nodes=n.nodes.map(function(n){return e.mapLinkNodeToMapLinkNode.convert(n)}),t.project_id=n.projectId,t.suspend=n.suspend,t},n}(),hU=function(){function n(n){this.fontBBCalculator=n,this.MARGIN_BETWEEN_NODE_AND_LABEL=8}return n.prototype.fix=function(n){n.label.style="font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;";var e=this.fontBBCalculator.calculate(n.label.text,n.label.style);return n.label.x=n.width/2-e.width/2,n.label.y=-e.height-this.MARGIN_BETWEEN_NODE_AND_LABEL,n},n}(),mU=function(){function n(n,e,t,l,r,i,a){this.dialogRef=n,this.router=e,this.dialog=t,this.projectService=l,this.toasterService=r,this.formBuilder=i,this.projectNameValidator=a,this.onAddProject=new o.EventEmitter,this.projectNameForm=this.formBuilder.group({projectName:new Vm(null,[sm.required,a.get])})}return n.prototype.ngOnInit=function(){},Object.defineProperty(n.prototype,"form",{get:function(){return this.projectNameForm.controls},enumerable:!0,configurable:!0}),n.prototype.onAddClick=function(){var n=this;this.projectNameForm.invalid||this.projectService.list(this.server).subscribe(function(e){var t=n.projectNameForm.controls.projectName.value;e.find(function(n){return n.name===t})?n.toasterService.success("Project with this name already exists."):n.addProject()})},n.prototype.onNoClick=function(){this.dialogRef.close()},n.prototype.addProject=function(){var n=this;this.projectService.duplicate(this.server,this.project.project_id,this.projectNameForm.controls.projectName.value).subscribe(function(e){n.dialogRef.close(),n.toasterService.success("Project "+e.name+" added")})},n.prototype.onKeyDown=function(n){"Enter"===n.key&&this.onAddClick()},n}(),vU=function(){function n(n,e,t,l,o,r,i,a,u,s,d,c,p,f,h,m,v,g,b,_,y,w,C,x,S,k,E,T,R,I,D,O,F,N,M,A,q){this.route=n,this.serverService=e,this.projectService=t,this.nodeService=l,this.drawingService=o,this.progressService=r,this.projectWebServiceHandler=i,this.mapChangeDetectorRef=a,this.nodeWidget=u,this.drawingsWidget=s,this.linkWidget=d,this.labelWidget=c,this.interfaceLabelWidget=p,this.mapNodeToNode=f,this.mapDrawingToDrawing=h,this.mapLabelToLabel=m,this.mapLinkToLink=v,this.mapLinkNodeToLinkNode=g,this.nodesDataSource=b,this.linksDataSource=_,this.drawingsDataSource=y,this.settingsService=w,this.toolsService=C,this.selectionManager=x,this.selectionTool=S,this.recentlyOpenedProjectService=k,this.movingEventSource=E,this.mapScaleService=T,this.nodeCreatedLabelStylesFixer=R,this.toasterService=I,this.dialog=D,this.router=O,this.mapNodesDataSource=F,this.mapLinksDataSource=N,this.mapDrawingsDataSource=M,this.mapSymbolsDataSource=A,this.mapSettingsService=q,this.nodes=[],this.links=[],this.drawings=[],this.symbols=[],this.isProjectMapMenuVisible=!1,this.isTopologySummaryVisible=!1,this.tools={selection:!0,moving:!1,draw_link:!1,text_editing:!0},this.inReadOnlyMode=!1,this.subscriptions=[]}return n.prototype.ngOnInit=function(){var n=this;this.settings=this.settingsService.getAll(),this.isTopologySummaryVisible=this.mapSettingsService.isTopologySummaryVisible,this.progressService.activate();var e=this.route.paramMap.subscribe(function(e){var t=parseInt(e.get("server_id"),10);Object(O.a)(n.serverService.get(t)).pipe(Object(z.a)(function(t){return n.server=t,n.projectService.get(t,e.get("project_id")).pipe(Object(P.a)(function(n){return n}))}),Object(z.a)(function(e){return n.project=e,n.recentlyOpenedProjectService.setServerId(n.server.id.toString()),n.recentlyOpenedProjectService.setProjectId(n.project.project_id),"opened"===n.project.status?new d.a(function(e){e.next(n.project)}):n.projectService.open(n.server,n.project.project_id)})).subscribe(function(e){n.onProjectLoad(e)},function(e){n.progressService.setError(e)},function(){n.progressService.deactivate()})});this.subscriptions.push(e),this.subscriptions.push(this.drawingsDataSource.changes.subscribe(function(e){n.drawings=e,n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.nodesDataSource.changes.subscribe(function(e){e.forEach(function(e){e.symbol_url="http://"+n.server.host+":"+n.server.port+"/v2/symbols/"+e.symbol+"/raw"}),n.nodes=e,n.mapChangeDetectorRef.detectChanges()})),this.subscriptions.push(this.linksDataSource.changes.subscribe(function(e){n.links=e,n.mapChangeDetectorRef.detectChanges()})),this.addKeyboardListeners()},n.prototype.addKeyboardListeners=function(){var n=this;Mousetrap.bind("ctrl++",function(e){e.preventDefault(),n.zoomIn()}),Mousetrap.bind("ctrl+-",function(e){e.preventDefault(),n.zoomOut()}),Mousetrap.bind("ctrl+0",function(e){e.preventDefault(),n.resetZoom()}),Mousetrap.bind("ctrl+a",function(e){e.preventDefault();var t=n.mapNodesDataSource.getItems(),l=n.mapDrawingsDataSource.getItems(),o=n.mapLinksDataSource.getItems(),r=n.mapSymbolsDataSource.getItems();n.selectionManager.setSelected(t.concat(l).concat(o).concat(r))}),Mousetrap.bind("ctrl+shift+a",function(e){e.preventDefault(),n.selectionManager.setSelected([])}),Mousetrap.bind("ctrl+shift+s",function(e){e.preventDefault(),n.router.navigate(["/server",n.server.id,"preferences"])})},n.prototype.onProjectLoad=function(n){var e=this;this.readonly=this.projectService.isReadOnly(n);var t=this.projectService.nodes(this.server,n.project_id).pipe(Object(z.a)(function(t){return e.nodesDataSource.set(t),e.projectService.links(e.server,n.project_id)}),Object(z.a)(function(t){return e.linksDataSource.set(t),e.projectService.drawings(e.server,n.project_id)})).subscribe(function(t){e.drawingsDataSource.set(t),e.setUpMapCallbacks(),e.setUpWS(n),e.progressService.deactivate()});this.subscriptions.push(t)},n.prototype.setUpWS=function(n){var e=this;this.ws=new WebSocket(this.projectService.notificationsPath(this.server,n.project_id)),this.ws.onmessage=function(n){e.projectWebServiceHandler.handleMessage(JSON.parse(n.data))},this.ws.onerror=function(n){e.toasterService.error("Connection to host lost.")}},n.prototype.setUpMapCallbacks=function(){var n=this;this.readonly||this.toolsService.selectionToolActivation(!0);var e=this.linkWidget.onContextMenu.subscribe(function(e){var t=n.mapLinkToLink.convert(e.link);n.contextMenu.openMenuForListOfElements([],[],[],[t],e.event.pageY,e.event.pageX)}),t=this.nodeWidget.onContextMenu.subscribe(function(e){var t=n.mapNodeToNode.convert(e.node);n.contextMenu.openMenuForNode(t,e.event.pageY,e.event.pageX)}),l=this.drawingsWidget.onContextMenu.subscribe(function(e){var t=n.mapDrawingToDrawing.convert(e.drawing);n.contextMenu.openMenuForDrawing(t,e.event.pageY,e.event.pageX)}),o=this.labelWidget.onContextMenu.subscribe(function(e){var t=n.mapLabelToLabel.convert(e.label),l=n.nodes.find(function(n){return n.node_id===e.label.nodeId});n.contextMenu.openMenuForLabel(t,l,e.event.pageY,e.event.pageX)}),r=this.interfaceLabelWidget.onContextMenu.subscribe(function(e){var t=n.mapLinkNodeToLinkNode.convert(e.interfaceLabel),l=n.links.find(function(n){return n.link_id===e.interfaceLabel.linkId});n.contextMenu.openMenuForInterfaceLabel(t,l,e.event.pageY,e.event.pageX)}),i=this.selectionTool.contextMenuOpened.subscribe(function(e){var t=n.selectionManager.getSelected();if(!(t.length<2)&&e instanceof MouseEvent){var l=[],o=[],r=[],i=[];t.forEach(function(e){e instanceof XO?l.push(n.mapDrawingToDrawing.convert(e)):e instanceof LO?o.push(n.mapNodeToNode.convert(e)):e instanceof VO?r.push(n.mapLabelToLabel.convert(e)):e instanceof YO&&i.push(n.mapLinkToLink.convert(e))}),n.contextMenu.openMenuForListOfElements(l,o,r,i,e.pageY,e.pageX)}});this.subscriptions.push(e),this.subscriptions.push(t),this.subscriptions.push(l),this.subscriptions.push(i),this.subscriptions.push(o),this.subscriptions.push(r),this.mapChangeDetectorRef.detectChanges()},n.prototype.onNodeCreation=function(n){var e=this;n&&this.nodeService.createFromTemplate(this.server,this.project,n,0,0,"local").subscribe(function(){e.projectService.nodes(e.server,e.project.project_id).subscribe(function(n){n.filter(function(n){return null===n.label.style}).forEach(function(n){var t=e.nodeCreatedLabelStylesFixer.fix(n);e.nodeService.updateLabel(e.server,n,t.label).subscribe()}),e.nodesDataSource.set(n)})})},n.prototype.onDrawingSaved=function(){this.projectMapMenuComponent.resetDrawToolChoice()},Object.defineProperty(n.prototype,"readonly",{get:function(){return this.inReadOnlyMode},set:function(n){this.inReadOnlyMode=n,n?(this.tools.selection=!1,this.toolsService.selectionToolActivation(!1)):(this.tools.selection=!0,this.toolsService.selectionToolActivation(!0))},enumerable:!0,configurable:!0}),n.prototype.toggleMovingMode=function(){this.tools.moving=!this.tools.moving,this.movingEventSource.movingModeState.emit(this.tools.moving),this.readonly||(this.tools.selection=!this.tools.moving,this.toolsService.selectionToolActivation(this.tools.selection))},n.prototype.toggleDrawLineMode=function(){this.tools.draw_link=!this.tools.draw_link,this.toolsService.drawLinkToolActivation(this.tools.draw_link)},n.prototype.toggleShowInterfaceLabels=function(n){this.project.show_interface_labels=n},n.prototype.toggleShowTopologySummary=function(n){this.isTopologySummaryVisible=n,this.mapSettingsService.toggleTopologySummary(this.isTopologySummaryVisible)},n.prototype.hideMenu=function(){this.projectMapMenuComponent.resetDrawToolChoice(),this.isProjectMapMenuVisible=!1},n.prototype.showMenu=function(){this.isProjectMapMenuVisible=!0},n.prototype.zoomIn=function(){this.mapScaleService.setScale(this.mapScaleService.getScale()+.1)},n.prototype.zoomOut=function(){var n=this.mapScaleService.getScale();n-.1>0&&this.mapScaleService.setScale(n-.1)},n.prototype.resetZoom=function(){this.mapScaleService.resetToDefault()},n.prototype.addNewProject=function(){this.dialog.open(hg,{width:"400px",autoFocus:!1}).componentInstance.server=this.server},n.prototype.saveProject=function(){var n=this.dialog.open(mU,{width:"400px",autoFocus:!1}).componentInstance;n.server=this.server,n.project=this.project},n.prototype.importProject=function(){var n=this,e="",t=this.dialog.open(fg,{width:"400px",autoFocus:!1});t.componentInstance.server=this.server;var l=t.componentInstance.onImportProject.subscribe(function(n){e=n});t.afterClosed().subscribe(function(){l.unsubscribe(),e&&n.projectService.open(n.server,e).subscribe(function(){n.router.navigate(["/server",n.server.id,"project",e])})})},n.prototype.exportProject=function(){this.nodes.filter(function(n){return"virtualbox"===n.node_type}).length>0?this.toasterService.error("Map with VirtualBox machines cannot be exported."):this.nodes.filter(function(n){return"started"===n.status&&"vpcs"===n.node_type||"started"===n.status&&"virtualbox"===n.node_type||"started"===n.status&&"vmware"===n.node_type}).length>0?this.toasterService.error("Project with running nodes cannot be exported."):location.assign(this.projectService.getExportPath(this.server,this.project))},n.prototype.uploadImageFile=function(n){this.readImageFile(n.target)},n.prototype.readImageFile=function(n){var e=this,t=n.files[0],l=new FileReader,o=new Image;l.onloadend=function(){e.drawingService.add(e.server,e.project.project_id,-o.width/2,-o.height/2,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \n height="'+o.height+'" width="'+o.width+'">\n<image height="'+o.height+'" width="'+o.width+'" \n xlink:href="'+l.result+'"/>\n</svg>').subscribe(function(){})},o.onload=function(){l.readAsDataURL(t)},o.src=window.URL.createObjectURL(t)},n.prototype.deleteProject=function(){var n=this;this.projectService.delete(this.server,this.project.project_id).subscribe(function(){n.router.navigate(["/server",n.server.id,"projects"])})},n.prototype.ngOnDestroy=function(){this.drawingsDataSource.clear(),this.nodesDataSource.clear(),this.linksDataSource.clear(),this.ws.OPEN&&this.ws.close(),this.subscriptions.forEach(function(n){return n.unsubscribe()})},n}(),gU=o["\u0275crt"]({encapsulation:2,styles:[[".project-map,app-map,app-project-map,app-root{width:auto}svg.map{background-color:#f0f0f0}g.node:hover{background-color:#0097a7}.project-toolbar{width:70px;position:fixed;top:20px;left:20px;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}#show-menu-wrapper{position:fixed;background:#263238;top:20px;left:92px;height:72px;padding-top:16px}#show-menu-wrapper .arrow-button{outline:0!important}.shadowed{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.non-visible{display:none}#menu-wrapper{position:fixed;background:#263238;top:20px;left:92px;height:72px;padding-top:16px;padding-bottom:16px;transition:35s;width:0;overflow:hidden;transition:.15s;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);display:flex}#menu-wrapper .menu-button{outline:0!important;transition:.5s;margin-bottom:16px;width:40px;margin-right:12px!important;margin-left:12px!important;background:0 0;padding:0;border:none}#menu-wrapper .arrow-button{outline:0!important;transition:.5s;margin-bottom:16px}.extended{width:700px!important;height:100%;overflow:hidden}mat-divider.divider{height:40px;margin-left:1px;margin-right:7px;width:10px;color:gray}#zoom-buttons{position:fixed;background:#263238;bottom:20px;right:20px;display:grid}#zoom-buttons .zoom-button{outline:0;height:40px;width:40px;background:#263238;border:none;color:#fff;font-size:1.25rem;font-weight:700}#zoom-buttons .zoom-button mat-icon{margin-top:8px}#zoom-buttons .zoom-button-white{outline:0;height:40px;width:40px;color:#263238;border:none;background:#fff;font-size:1.25rem;font-weight:700}#zoom-buttons .zoom-button-white mat-icon{margin-top:8px}@-moz-document url-prefix(){.mat-drawer-content{display:inline!important}}.shadow{box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.mat-drawer-backdrop.mat-drawer-shown{background-color:transparent}.project-toolbar .mat-toolbar-multiple-rows{width:auto!important}.loading-spinner{position:absolute;top:50%;width:100px;margin-left:-50px;margin-top:-50px;left:50%}line.selected{stroke:#0097a7!important}g.selected,svg.map image.chosen,svg.map image:hover{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:gray;filter:gray;-webkit-filter:url(#grayscale);filter:url(#grayscale)}path.selected{stroke:#8b0000}.selected>.interface_label_border{stroke:#000;fill:none}.selection-line-tool .selection{fill:#7ccbe1;stroke:#66aec2;fill-opacity:.3;stroke-opacity:.7;stroke-width:1;stroke-dasharray:5,5}.noselect,g.node text{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.project-toolbar button{outline:0;border:none;-moz-outline-style:none}.options-item{padding-left:15px;padding-right:15px}.context-menu-items .mat-menu-item{line-height:24px!important;height:24px!important;font-size:13px!important;padding:0 6px;outline:0!important}.context-menu-items .mat-menu-item .mat-icon{margin-right:3px}.context-menu-items .mat-menu-item:focus{background:0 0}.visible{display:none}mat-menu-panel{min-height:0}"]],data:{}});function bU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-d3-map",[],null,[[null,"nodeDragged"],[null,"drawingDragged"],[null,"onLinkCreated"],[null,"onDrawingResized"],["window","resize"]],function(n,e,t){var l=!0,r=n.component;return"window:resize"===e&&(l=!1!==o["\u0275nov"](n,1).onResize(t)&&l),"nodeDragged"===e&&(l=!1!==r.onNodeDragged(t)&&l),"drawingDragged"===e&&(l=!1!==r.onDrawingDragged(t)&&l),"onLinkCreated"===e&&(l=!1!==r.onLinkCreated(t)&&l),"onDrawingResized"===e&&(l=!1!==r.onDrawingResized(t)&&l),l},Xj,$j)),o["\u0275did"](1,770048,[[2,4]],0,Yj,[dF,sI,mF,Kj,NO,o.ElementRef,BF,cA,Zj,Gj,_F,ED],{nodes:[0,"nodes"],links:[1,"links"],drawings:[2,"drawings"],symbols:[3,"symbols"],server:[4,"server"],width:[5,"width"],height:[6,"height"],showInterfaceLabels:[7,"showInterfaceLabels"],readonly:[8,"readonly"]},null)],function(n,e){var t=e.component;n(e,1,0,t.nodes,t.links,t.drawings,t.symbols,t.server,t.project.scene_width,t.project.scene_height,t.project.show_interface_labels,t.inReadOnlyMode)},null)}function _U(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-experimental-map",[],null,[["window","resize"]],function(n,e,t){var l=!0;return"window:resize"===e&&(l=!1!==o["\u0275nov"](n,1).onResize(t)&&l),l},lV,QL)),o["\u0275did"](1,770048,null,0,XL,[dF,sI,mF,Kj,o.ChangeDetectorRef,tF,Gj],{nodes:[0,"nodes"],links:[1,"links"],drawings:[2,"drawings"],symbols:[3,"symbols"],width:[4,"width"],height:[5,"height"],showInterfaceLabels:[6,"showInterfaceLabels"],movingTool:[7,"movingTool"],selectionTool:[8,"selectionTool"],drawLinkTool:[9,"drawLinkTool"],readonly:[10,"readonly"]},null)],function(n,e){var t=e.component;n(e,1,1,[t.nodes,t.links,t.drawings,t.symbols,t.project.scene_width,t.project.scene_height,t.project.show_interface_labels,t.tools.moving,t.tools.selection,t.tools.draw_link,t.inReadOnlyMode])},null)}function yU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Add a link"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,4).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,4)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,4)._handleTouchend()&&l),"click"===e&&(l=!1!==r.toggleDrawLineMode()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](4,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](6,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["timeline"]))],function(n,e){n(e,3,0,e.component.tools.draw_link?"primary":"basic"),n(e,4,0,"Add a link"),n(e,6,0)},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).inline,"primary"!==o["\u0275nov"](e,6).color&&"accent"!==o["\u0275nov"](e,6).color&&"warn"!==o["\u0275nov"](e,6).color)})}function wU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,1,"app-snapshot-menu-item",[],null,null,null,uV,aV)),o["\u0275did"](3,114688,null,0,iV,[yv,X_,J_,vc],{project:[0,"project"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,3,0,t.project,t.server)},null)}function CU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,1,"app-template",[],null,[[null,"onNodeCreation"]],function(n,e,t){var l=!0;return"onNodeCreation"===e&&(l=!1!==n.component.onNodeCreation(t)&&l),l},hV,fV)),o["\u0275did"](3,114688,null,0,pV,[yv],{server:[0,"server"]},{onNodeCreation:"onNodeCreation"})],function(n,e){n(e,3,0,e.component.server)},null)}function xU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](1,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](2,16777216,null,null,6,"button",[["mat-icon-button",""],["matTooltip","Go to preferences"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,3).onClick()&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,5).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,5)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,5)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](3,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](4,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](5,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](7,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["settings_applications"]))],function(n,e){n(e,3,0,o["\u0275inlineInterpolate"](1,"/server/",e.component.server.id,"/preferences")),n(e,5,0,"Go to preferences"),n(e,7,0)},function(n,e){n(e,2,0,o["\u0275nov"](e,4).disabled||null,"NoopAnimations"===o["\u0275nov"](e,4)._animationMode),n(e,6,0,o["\u0275nov"](e,7).inline,"primary"!==o["\u0275nov"](e,7).color&&"accent"!==o["\u0275nov"](e,7).color&&"warn"!==o["\u0275nov"](e,7).color)})}function SU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["id","show-menu-wrapper"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](3,{shadowed:0}),(n()(),o["\u0275eld"](4,0,null,null,4,"button",[["class","arrow-button"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.showMenu()&&l),l},pu,cu)),o["\u0275did"](5,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](7,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_right"]))],function(n,e){var t=n(e,3,0,!e.component.isProjectMapMenuVisible);n(e,2,0,t),n(e,7,0)},function(n,e){n(e,4,0,o["\u0275nov"](e,5).disabled||null,"NoopAnimations"===o["\u0275nov"](e,5)._animationMode),n(e,6,0,o["\u0275nov"](e,7).inline,"primary"!==o["\u0275nov"](e,7).color&&"accent"!==o["\u0275nov"](e,7).color&&"warn"!==o["\u0275nov"](e,7).color)})}function kU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,142,"div",[["class","project-map"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,bU)),o["\u0275did"](2,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,_U)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](5,0,null,null,118,"div",[["class","project-toolbar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,117,"mat-toolbar",[["class","project-toolbar mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,yu,_u)),o["\u0275did"](7,4243456,null,1,gu,[o.ElementRef,vo,I.DOCUMENT],{color:[0,"color"]},null),o["\u0275qud"](603979776,4,{_toolbarRows:1}),(n()(),o["\u0275eld"](9,0,null,1,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](10,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](11,16777216,null,null,5,"button",[["aria-haspopup","true"],["mat-icon-button",""],["matTooltip","Open menu"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"],[null,"longpress"],[null,"touchend"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,13)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,13)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,13)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,14).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,14)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,14)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](12,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](13,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),o["\u0275did"](14,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](15,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","gns3"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](16,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{svgIcon:[0,"svgIcon"]},null),(n()(),o["\u0275eld"](17,0,null,0,59,"mat-menu",[],null,null,null,Od,Id)),o["\u0275did"](18,1294336,[["mainMenu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],{overlapTrigger:[0,"overlapTrigger"]},null),o["\u0275qud"](603979776,5,{_allItems:1}),o["\u0275qud"](603979776,6,{items:1}),o["\u0275qud"](603979776,7,{lazyContent:0}),o["\u0275prd"](2048,null,wd,null,[Cd]),o["\u0275prd"](2048,null,bd,null,[wd]),(n()(),o["\u0275eld"](24,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,25).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,27)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,27)._handleMouseEnter()&&l),l},Nd,Fd)),o["\u0275did"](25,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](26,3),o["\u0275did"](27,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](28,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](29,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["work"])),(n()(),o["\u0275eld"](31,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Go to projects"])),(n()(),o["\u0275eld"](33,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,34).onClick()&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,36)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,36)._handleMouseEnter()&&l),l},Nd,Fd)),o["\u0275did"](34,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275pad"](35,1),o["\u0275did"](36,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](37,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](38,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["developer_board"])),(n()(),o["\u0275eld"](40,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Go to servers"])),(n()(),o["\u0275eld"](42,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,43)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,43)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.addNewProject()&&l),l},Nd,Fd)),o["\u0275did"](43,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](44,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](45,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["add"])),(n()(),o["\u0275eld"](47,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Add new blank project"])),(n()(),o["\u0275eld"](49,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,50)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,50)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.saveProject()&&l),l},Nd,Fd)),o["\u0275did"](50,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](51,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](52,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["save"])),(n()(),o["\u0275eld"](54,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Save project as"])),(n()(),o["\u0275eld"](56,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,57)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,57)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.exportProject()&&l),l},Nd,Fd)),o["\u0275did"](57,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](58,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](59,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["call_made"])),(n()(),o["\u0275eld"](61,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Export portable project"])),(n()(),o["\u0275eld"](63,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,64)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,64)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.importProject()&&l),l},Nd,Fd)),o["\u0275did"](64,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](65,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](66,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["call_received"])),(n()(),o["\u0275eld"](68,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Import portable project"])),(n()(),o["\u0275eld"](70,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,71)._checkDisabled(t)&&l),"mouseenter"===e&&(l=!1!==o["\u0275nov"](n,71)._handleMouseEnter()&&l),"click"===e&&(l=!1!==r.deleteProject()&&l),l},Nd,Fd)),o["\u0275did"](71,180224,[[5,4],[6,4]],0,_d,[o.ElementRef,I.DOCUMENT,Uo,[2,bd]],null,null),(n()(),o["\u0275eld"](72,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](73,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["delete"])),(n()(),o["\u0275eld"](75,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](-1,null,["Delete project"])),(n()(),o["\u0275eld"](77,0,null,1,8,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](78,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](79,16777216,null,null,6,"button",[["aria-haspopup","true"],["mat-icon-button",""],["matTooltip","Map settings"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"],[null,"longpress"],[null,"touchend"]],function(n,e,t){var l=!0;return"mousedown"===e&&(l=!1!==o["\u0275nov"](n,81)._handleMousedown(t)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,81)._handleKeydown(t)&&l),"click"===e&&(l=!1!==o["\u0275nov"](n,81)._handleClick(t)&&l),"longpress"===e&&(l=!1!==o["\u0275nov"](n,82).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,82)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,82)._handleTouchend()&&l),l},pu,cu)),o["\u0275did"](80,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),o["\u0275did"](81,1196032,null,0,Ed,[cd,o.ElementRef,o.ViewContainerRef,xd,[2,wd],[8,null],[2,Ar],Uo],{menu:[0,"menu"]},null),o["\u0275did"](82,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](83,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](84,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["view_module"])),(n()(),o["\u0275eld"](86,0,null,0,21,"mat-menu",[],null,null,null,Od,Id)),o["\u0275prd"](6144,null,wd,null,[Cd]),o["\u0275prd"](6144,null,bd,null,[wd]),o["\u0275did"](89,1294336,[["viewMenu",4]],3,Cd,[o.ElementRef,o.NgZone,yd],{overlapTrigger:[0,"overlapTrigger"]},null),o["\u0275qud"](603979776,8,{_allItems:1}),o["\u0275qud"](603979776,9,{items:1}),o["\u0275qud"](603979776,10,{lazyContent:0}),(n()(),o["\u0275eld"](93,0,null,0,14,"div",[["class","options-item"]],null,null,null,null,null)),(n()(),o["\u0275eld"](94,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleShowInterfaceLabels(t.checked)&&l),l},Mb,Nb)),o["\u0275did"](95,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,{change:"change"}),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](97,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},null),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](99,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Show interface labels "])),(n()(),o["\u0275eld"](101,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(n,e,t){var l=!0;return"change"===e&&(l=!1!==n.component.toggleShowTopologySummary(t.checked)&&l),l},Mb,Nb)),o["\u0275did"](102,8568832,null,0,Eb,[o.ElementRef,o.ChangeDetectorRef,Uo,o.NgZone,[8,null],[2,Cb],[2,su]],null,{change:"change"}),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Eb]),o["\u0275did"](104,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},null),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](106,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275ted"](-1,0,[" Show topology summary "])),(n()(),o["\u0275and"](16777216,null,1,1,null,yU)),o["\u0275did"](109,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](110,0,null,1,7,"mat-toolbar-row",[["class","mat-toolbar-row"]],null,null,null,null,null)),o["\u0275did"](111,16384,[[4,4]],0,vu,[],null,null),(n()(),o["\u0275eld"](112,16777216,null,null,5,"button",[["mat-icon-button",""],["matTooltip","Enable/disable moving mode"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(n,e,t){var l=!0,r=n.component;return"longpress"===e&&(l=!1!==o["\u0275nov"](n,114).show()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,114)._handleKeydown(t)&&l),"touchend"===e&&(l=!1!==o["\u0275nov"](n,114)._handleTouchend()&&l),"click"===e&&(l=!1!==r.toggleMovingMode()&&l),l},pu,cu)),o["\u0275did"](113,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),o["\u0275did"](114,212992,null,0,lc,[cd,o.ElementRef,Vs,o.ViewContainerRef,o.NgZone,vo,Io,Uo,nc,[2,Ar],[2,tc],[2,Gn]],{message:[0,"message"]},null),(n()(),o["\u0275eld"](115,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](116,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["zoom_out_map"])),(n()(),o["\u0275and"](16777216,null,1,1,null,wU)),o["\u0275did"](119,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,CU)),o["\u0275did"](121,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,1,1,null,xU)),o["\u0275did"](123,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,SU)),o["\u0275did"](125,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](126,0,null,null,14,"div",[["id","menu-wrapper"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](128,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](129,{extended:0}),(n()(),o["\u0275eld"](130,0,null,null,1,"app-nodes-menu",[],null,null,null,bV,gV)),o["\u0275did"](131,49152,null,0,vV,[mV,vc],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["\u0275eld"](132,0,null,null,1,"mat-divider",[["class","divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,xp,Cp)),o["\u0275did"](133,49152,null,0,yp,[],{vertical:[0,"vertical"]},null),(n()(),o["\u0275eld"](134,0,null,null,1,"app-project-map-menu",[],null,null,null,FV,OV)),o["\u0275did"](135,245760,[[3,4]],0,DV,[_F,GF,kV],{project:[0,"project"],server:[1,"server"]},null),(n()(),o["\u0275eld"](136,0,null,null,4,"button",[["class","arrow-button"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.hideMenu()&&l),l},pu,cu)),o["\u0275did"](137,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275eld"](138,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](139,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["keyboard_arrow_left"])),(n()(),o["\u0275eld"](141,0,null,null,1,"app-context-menu",[],null,null,null,pz,YB)),o["\u0275did"](142,114688,[[1,4]],0,KB,[Jn,o.ChangeDetectorRef,bc,ug],{project:[0,"project"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,2,0,!t.settings.angular_map),n(e,4,0,t.settings.angular_map),n(e,7,0,"primary"),n(e,13,0,o["\u0275nov"](e,18)),n(e,14,0,"Open menu"),n(e,16,0,"gns3"),n(e,18,0,!1);var l=n(e,26,0,"/server",t.server.id,"projects");n(e,25,0,l),n(e,29,0);var r=n(e,35,0,"/servers");n(e,34,0,r),n(e,38,0),n(e,45,0),n(e,52,0),n(e,59,0),n(e,66,0),n(e,73,0),n(e,81,0,o["\u0275nov"](e,89)),n(e,82,0,"Map settings"),n(e,84,0),n(e,89,0,!1),n(e,97,0,t.project.show_interface_labels),n(e,104,0,t.isTopologySummaryVisible),n(e,109,0,!t.readonly),n(e,113,0,t.tools.moving?"primary":"basic"),n(e,114,0,"Enable/disable moving mode"),n(e,116,0),n(e,119,0,!t.readonly),n(e,121,0,!t.readonly),n(e,123,0,!t.readonly),n(e,125,0,!t.readonly);var i=n(e,129,0,t.isProjectMapMenuVisible);n(e,128,0,i),n(e,131,0,t.project,t.server),n(e,133,0,!0),n(e,135,0,t.project,t.server),n(e,139,0),n(e,142,0,t.project,t.server)},function(n,e){n(e,6,0,o["\u0275nov"](e,7)._toolbarRows.length>0,0===o["\u0275nov"](e,7)._toolbarRows.length),n(e,11,0,o["\u0275nov"](e,12).disabled||null,"NoopAnimations"===o["\u0275nov"](e,12)._animationMode,o["\u0275nov"](e,13).menuOpen||null),n(e,15,0,o["\u0275nov"](e,16).inline,"primary"!==o["\u0275nov"](e,16).color&&"accent"!==o["\u0275nov"](e,16).color&&"warn"!==o["\u0275nov"](e,16).color),n(e,24,0,o["\u0275nov"](e,27).role,o["\u0275nov"](e,27)._highlighted,o["\u0275nov"](e,27)._triggersSubmenu,o["\u0275nov"](e,27)._getTabIndex(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).disabled||null),n(e,28,0,o["\u0275nov"](e,29).inline,"primary"!==o["\u0275nov"](e,29).color&&"accent"!==o["\u0275nov"](e,29).color&&"warn"!==o["\u0275nov"](e,29).color),n(e,33,0,o["\u0275nov"](e,36).role,o["\u0275nov"](e,36)._highlighted,o["\u0275nov"](e,36)._triggersSubmenu,o["\u0275nov"](e,36)._getTabIndex(),o["\u0275nov"](e,36).disabled.toString(),o["\u0275nov"](e,36).disabled||null),n(e,37,0,o["\u0275nov"](e,38).inline,"primary"!==o["\u0275nov"](e,38).color&&"accent"!==o["\u0275nov"](e,38).color&&"warn"!==o["\u0275nov"](e,38).color),n(e,42,0,o["\u0275nov"](e,43).role,o["\u0275nov"](e,43)._highlighted,o["\u0275nov"](e,43)._triggersSubmenu,o["\u0275nov"](e,43)._getTabIndex(),o["\u0275nov"](e,43).disabled.toString(),o["\u0275nov"](e,43).disabled||null),n(e,44,0,o["\u0275nov"](e,45).inline,"primary"!==o["\u0275nov"](e,45).color&&"accent"!==o["\u0275nov"](e,45).color&&"warn"!==o["\u0275nov"](e,45).color),n(e,49,0,o["\u0275nov"](e,50).role,o["\u0275nov"](e,50)._highlighted,o["\u0275nov"](e,50)._triggersSubmenu,o["\u0275nov"](e,50)._getTabIndex(),o["\u0275nov"](e,50).disabled.toString(),o["\u0275nov"](e,50).disabled||null),n(e,51,0,o["\u0275nov"](e,52).inline,"primary"!==o["\u0275nov"](e,52).color&&"accent"!==o["\u0275nov"](e,52).color&&"warn"!==o["\u0275nov"](e,52).color),n(e,56,0,o["\u0275nov"](e,57).role,o["\u0275nov"](e,57)._highlighted,o["\u0275nov"](e,57)._triggersSubmenu,o["\u0275nov"](e,57)._getTabIndex(),o["\u0275nov"](e,57).disabled.toString(),o["\u0275nov"](e,57).disabled||null),n(e,58,0,o["\u0275nov"](e,59).inline,"primary"!==o["\u0275nov"](e,59).color&&"accent"!==o["\u0275nov"](e,59).color&&"warn"!==o["\u0275nov"](e,59).color),n(e,63,0,o["\u0275nov"](e,64).role,o["\u0275nov"](e,64)._highlighted,o["\u0275nov"](e,64)._triggersSubmenu,o["\u0275nov"](e,64)._getTabIndex(),o["\u0275nov"](e,64).disabled.toString(),o["\u0275nov"](e,64).disabled||null),n(e,65,0,o["\u0275nov"](e,66).inline,"primary"!==o["\u0275nov"](e,66).color&&"accent"!==o["\u0275nov"](e,66).color&&"warn"!==o["\u0275nov"](e,66).color),n(e,70,0,o["\u0275nov"](e,71).role,o["\u0275nov"](e,71)._highlighted,o["\u0275nov"](e,71)._triggersSubmenu,o["\u0275nov"](e,71)._getTabIndex(),o["\u0275nov"](e,71).disabled.toString(),o["\u0275nov"](e,71).disabled||null),n(e,72,0,o["\u0275nov"](e,73).inline,"primary"!==o["\u0275nov"](e,73).color&&"accent"!==o["\u0275nov"](e,73).color&&"warn"!==o["\u0275nov"](e,73).color),n(e,79,0,o["\u0275nov"](e,80).disabled||null,"NoopAnimations"===o["\u0275nov"](e,80)._animationMode,o["\u0275nov"](e,81).menuOpen||null),n(e,83,0,o["\u0275nov"](e,84).inline,"primary"!==o["\u0275nov"](e,84).color&&"accent"!==o["\u0275nov"](e,84).color&&"warn"!==o["\u0275nov"](e,84).color),n(e,94,1,[o["\u0275nov"](e,95).id,null,o["\u0275nov"](e,95).indeterminate,o["\u0275nov"](e,95).checked,o["\u0275nov"](e,95).disabled,"before"==o["\u0275nov"](e,95).labelPosition,"NoopAnimations"===o["\u0275nov"](e,95)._animationMode,o["\u0275nov"](e,99).ngClassUntouched,o["\u0275nov"](e,99).ngClassTouched,o["\u0275nov"](e,99).ngClassPristine,o["\u0275nov"](e,99).ngClassDirty,o["\u0275nov"](e,99).ngClassValid,o["\u0275nov"](e,99).ngClassInvalid,o["\u0275nov"](e,99).ngClassPending]),n(e,101,1,[o["\u0275nov"](e,102).id,null,o["\u0275nov"](e,102).indeterminate,o["\u0275nov"](e,102).checked,o["\u0275nov"](e,102).disabled,"before"==o["\u0275nov"](e,102).labelPosition,"NoopAnimations"===o["\u0275nov"](e,102)._animationMode,o["\u0275nov"](e,106).ngClassUntouched,o["\u0275nov"](e,106).ngClassTouched,o["\u0275nov"](e,106).ngClassPristine,o["\u0275nov"](e,106).ngClassDirty,o["\u0275nov"](e,106).ngClassValid,o["\u0275nov"](e,106).ngClassInvalid,o["\u0275nov"](e,106).ngClassPending]),n(e,112,0,o["\u0275nov"](e,113).disabled||null,"NoopAnimations"===o["\u0275nov"](e,113)._animationMode),n(e,115,0,o["\u0275nov"](e,116).inline,"primary"!==o["\u0275nov"](e,116).color&&"accent"!==o["\u0275nov"](e,116).color&&"warn"!==o["\u0275nov"](e,116).color),n(e,132,0,o["\u0275nov"](e,133).vertical?"vertical":"horizontal",o["\u0275nov"](e,133).vertical,!o["\u0275nov"](e,133).vertical,o["\u0275nov"](e,133).inset),n(e,136,0,o["\u0275nov"](e,137).disabled||null,"NoopAnimations"===o["\u0275nov"](e,137)._animationMode),n(e,138,0,o["\u0275nov"](e,139).inline,"primary"!==o["\u0275nov"](e,139).color&&"accent"!==o["\u0275nov"](e,139).color&&"warn"!==o["\u0275nov"](e,139).color)})}function EU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-project-map-shortcuts",[],null,null,null,wz,yz)),o["\u0275did"](1,245760,null,0,bz,[_z.HotkeysService,vc,mV,ug,gz,DO],{project:[0,"project"],server:[1,"server"]},null)],function(n,e){var t=e.component;n(e,1,0,t.project,t.server)},null)}function TU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-draw-link-tool",[],null,null,null,Dz,Iz)),o["\u0275did"](1,245760,null,0,Rz,[sA,RF,WF,gz,WO,ZO],{links:[0,"links"]},null)],function(n,e){n(e,1,0,e.component.links)},null)}function RU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-topology-summary",[],null,[[null,"closeTopologySummary"]],function(n,e,t){var l=!0;return"closeTopologySummary"===e&&(l=!1!==n.component.toggleShowTopologySummary(t)&&l),l},Lz,Fz)),o["\u0275did"](1,245760,null,0,Oz,[yF,ug],{server:[0,"server"],project:[1,"project"]},{closeTopologySummary:"closeTopologySummary"})],function(n,e){var t=e.component;n(e,1,0,t.server,t.project)},null)}function IU(n){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{contextMenu:0}),o["\u0275qud"](671088640,2,{mapChild:0}),o["\u0275qud"](671088640,3,{projectMapMenuComponent:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,kU)),o["\u0275did"](4,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](5,0,null,null,8,"div",[["id","zoom-buttons"]],null,null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,1,"button",[["class","zoom-button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.zoomIn()&&l),l},null,null)),(n()(),o["\u0275ted"](-1,null,["+"])),(n()(),o["\u0275eld"](8,0,null,null,3,"button",[["class","zoom-button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.resetZoom()&&l),l},null,null)),(n()(),o["\u0275eld"](9,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,gs,vs)),o["\u0275did"](10,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],null,null),(n()(),o["\u0275ted"](-1,0,["adjust"])),(n()(),o["\u0275eld"](12,0,null,null,1,"button",[["class","zoom-button"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.zoomOut()&&l),l},null,null)),(n()(),o["\u0275ted"](-1,null,["-"])),(n()(),o["\u0275eld"](14,0,null,null,1,"app-progress",[],null,null,null,fc,sc)),o["\u0275did"](15,245760,null,0,uc,[ac,Rl],null,null),(n()(),o["\u0275and"](16777216,null,null,1,null,EU)),o["\u0275did"](17,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,TU)),o["\u0275did"](19,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](20,0,null,null,1,"app-drawing-dragged",[],null,null,null,zz,Bz)),o["\u0275did"](21,245760,null,0,Vz,[kV,_V,RD],{server:[0,"server"]},null),(n()(),o["\u0275eld"](22,0,null,null,1,"app-drawing-resized",[],null,null,null,Zz,Hz)),o["\u0275did"](23,245760,null,0,Uz,[kV,_V,RD,EV],{server:[0,"server"]},null),(n()(),o["\u0275eld"](24,0,null,null,1,"app-interface-label-dragged",[],null,null,null,Kz,Gz)),o["\u0275did"](25,245760,null,0,Wz,[wF,CF,WF],{server:[0,"server"]},null),(n()(),o["\u0275eld"](26,0,null,null,1,"app-link-created",[],null,null,null,Xz,$z)),o["\u0275did"](27,245760,null,0,Yz,[ug,wF,CF,WF,gz,vz],{server:[0,"server"],project:[1,"project"]},null),(n()(),o["\u0275eld"](28,0,null,null,1,"app-node-dragged",[],null,null,null,nU,Jz)),o["\u0275did"](29,245760,null,0,Qz,[yF,mV,RF],{server:[0,"server"]},null),(n()(),o["\u0275eld"](30,0,null,null,1,"app-node-label-dragged",[],null,null,null,lU,tU)),o["\u0275did"](31,245760,null,0,eU,[yF,mV,RF,hz],{server:[0,"server"]},null),(n()(),o["\u0275eld"](32,0,null,null,1,"app-text-added",[],null,[[null,"drawingSaved"]],function(n,e,t){var l=!0;return"drawingSaved"===e&&(l=!1!==n.component.onDrawingSaved()&&l),l},iU,rU)),o["\u0275did"](33,245760,null,0,oU,[kV,_V,RD,SV,EV,sI],{server:[0,"server"],project:[1,"project"]},{drawingSaved:"drawingSaved"}),(n()(),o["\u0275eld"](34,0,null,null,1,"app-text-edited",[],null,null,null,sU,uU)),o["\u0275did"](35,245760,null,0,aU,[kV,_V,RD,EV],{server:[0,"server"]},null),(n()(),o["\u0275eld"](36,0,null,null,5,"div",[],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](38,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](39,{visible:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,RU)),o["\u0275did"](41,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,4,0,t.project),n(e,10,0),n(e,15,0),n(e,17,0,t.project),n(e,19,0,t.tools.draw_link),n(e,21,0,t.server),n(e,23,0,t.server),n(e,25,0,t.server),n(e,27,0,t.server,t.project),n(e,29,0,t.server),n(e,31,0,t.server),n(e,33,0,t.server,t.project),n(e,35,0,t.server);var l=n(e,39,0,!t.isTopologySummaryVisible);n(e,38,0,l),n(e,41,0,t.project)},function(n,e){n(e,9,0,o["\u0275nov"](e,10).inline,"primary"!==o["\u0275nov"](e,10).color&&"accent"!==o["\u0275nov"](e,10).color&&"warn"!==o["\u0275nov"](e,10).color)})}function DU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-project-map",[],null,null,null,IU,gU)),o["\u0275did"](1,245760,null,0,vU,[bt,Uh,ug,mV,kV,ac,dU,mF,IF,MO,HF,TF,BF,gz,cU,hz,fU,pU,yF,CF,_V,T,_F,DO,cA,hc,rI,ED,hU,vc,yv,Rl,rF,iF,aF,uF,GF],null,null)],function(n,e){n(e,1,0)},null)}var OU=o["\u0275ccf"]("app-project-map",vU,DU,{},{},[]),FU=o["\u0275crt"]({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function NU(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function MU(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{_portalOutlet:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,NU)),o["\u0275did"](2,212992,[[1,4]],0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],function(n,e){n(e,2,0,"")},null)}function AU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],function(n,e,t){var l=!0;return"component:@dialogContainer.start"===e&&(l=!1!==o["\u0275nov"](n,1)._onAnimationStart(t)&&l),"component:@dialogContainer.done"===e&&(l=!1!==o["\u0275nov"](n,1)._onAnimationDone(t)&&l),l},MU,FU)),o["\u0275did"](1,49152,null,0,fv,[o.ElementRef,Po,o.ChangeDetectorRef,[2,I.DOCUMENT],cv],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1)._id,o["\u0275nov"](e,1)._config.role,o["\u0275nov"](e,1)._config.ariaLabel?null:o["\u0275nov"](e,1)._ariaLabelledBy,o["\u0275nov"](e,1)._config.ariaLabel,o["\u0275nov"](e,1)._config.ariaDescribedBy||null,o["\u0275nov"](e,1)._state)})}var qU=o["\u0275ccf"]("mat-dialog-container",fv,AU,{},{},[]),PU=function(){function n(n,e){var t=this;this._overlayRef=e,this._afterDismissed=new A.b,this._afterOpened=new A.b,this._onAction=new A.b,this._dismissedByAction=!1,this.containerInstance=n,this.onAction().subscribe(function(){return t.dismiss()}),n._onExit.subscribe(function(){return t._finishDismiss()})}return n.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},n.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},n.prototype.closeWithAction=function(){this.dismissWithAction()},n.prototype._dismissAfter=function(n){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},n)},n.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},n.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},n.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},n.prototype.afterOpened=function(){return this.containerInstance._onEnter},n.prototype.onAction=function(){return this._onAction.asObservable()},n}(),jU=new o.InjectionToken("MatSnackBarData"),LU=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),VU=function(){function n(n,e){this.snackBarRef=n,this.data=e}return n.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(n.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),n}(),BU=function(n){function e(e,t,l,o){var r=n.call(this)||this;return r._ngZone=e,r._elementRef=t,r._changeDetectorRef=l,r.snackBarConfig=o,r._destroyed=!1,r._onExit=new A.b,r._onEnter=new A.b,r._animationState="void",r._role="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?null:"status":"alert",r}return Object(s.__extends)(e,n),e.prototype.attachComponentPortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(n)},e.prototype.attachTemplatePortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(n)},e.prototype.onAnimationEnd=function(n){var e=n.toState;if(("void"===e&&"void"!==n.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var t=this._onEnter;this._ngZone.run(function(){t.next(),t.complete()})}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var n=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(Z.a)(1)).subscribe(function(){n._onExit.next(),n._onExit.complete()})},e.prototype._applySnackBarClasses=function(){var n=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return n.classList.add(e)}):n.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&n.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&n.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(Cs),zU=function(){return function(){}}(),UU=new o.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new LU}}),HU=function(){function n(n,e,t,l,o,r){this._overlay=n,this._live=e,this._injector=t,this._breakpointObserver=l,this._parentSnackBar=o,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}return Object.defineProperty(n.prototype,"_openedSnackBarRef",{get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n},enumerable:!0,configurable:!0}),n.prototype.openFromComponent=function(n,e){return this._attach(n,e)},n.prototype.openFromTemplate=function(n,e){return this._attach(n,e)},n.prototype.open=function(n,e,t){void 0===e&&(e="");var l=Object(s.__assign)({},this._defaultConfig,t);return l.data={message:n,action:e},l.announcementMessage||(l.announcementMessage=n),this.openFromComponent(VU,l)},n.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},n.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},n.prototype._attachSnackBarContainer=function(n,e){var t=new Es(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[LU,e]])),l=new ys(BU,e.viewContainerRef,t),o=n.attach(l);return o.instance.snackBarConfig=e,o.instance},n.prototype._attach=function(n,e){var t=Object(s.__assign)({},new LU,this._defaultConfig,e),l=this._createOverlay(t),r=this._attachSnackBarContainer(l,t),i=new PU(r,l);if(n instanceof o.TemplateRef){var a=new ws(n,null,{$implicit:t.data,snackBarRef:i});i.instance=r.attachTemplatePortal(a)}else{var u=this._createInjector(t,i),d=(a=new ys(n,void 0,u),r.attachComponentPortal(a));i.instance=d.instance}return this._breakpointObserver.observe(Xd.Handset).pipe(Object(Is.a)(l.detachments().pipe(Object(Z.a)(1)))).subscribe(function(n){n.matches?l.overlayElement.classList.add("mat-snack-bar-handset"):l.overlayElement.classList.remove("mat-snack-bar-handset")}),this._animateSnackBar(i,t),this._openedSnackBarRef=i,this._openedSnackBarRef},n.prototype._animateSnackBar=function(n,e){var t=this;n.afterDismissed().subscribe(function(){t._openedSnackBarRef==n&&(t._openedSnackBarRef=null),e.announcementMessage&&t._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),e.duration&&e.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(e.duration)}),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},n.prototype._createOverlay=function(n){var e=new Xs;e.direction=n.direction;var t=this._overlay.position().global(),l="rtl"===n.direction,o="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!l||"end"===n.horizontalPosition&&l,r=!o&&"center"!==n.horizontalPosition;return o?t.left("0"):r?t.right("0"):t.centerHorizontally(),"top"===n.verticalPosition?t.top("0"):t.bottom("0"),e.positionStrategy=t,this._overlay.create(e)},n.prototype._createInjector=function(n,e){return new Es(n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,new WeakMap([[PU,e],[jU,n.data]]))},n.ngInjectableDef=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new n(Object(o["\u0275\u0275inject"])(cd),Object(o["\u0275\u0275inject"])(Vo),Object(o["\u0275\u0275inject"])(o.INJECTOR),Object(o["\u0275\u0275inject"])(Yd),Object(o["\u0275\u0275inject"])(n,12),Object(o["\u0275\u0275inject"])(UU))},token:n,providedIn:zU}),n}(),ZU=o["\u0275crt"]({encapsulation:2,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}@media (-ms-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%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function WU(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function GU(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{_portalOutlet:0}),(n()(),o["\u0275and"](16777216,null,null,1,null,WU)),o["\u0275did"](2,212992,[[1,4]],0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null)],function(n,e){n(e,2,0,"")},null)}function KU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],function(n,e,t){var l=!0;return"component:@state.done"===e&&(l=!1!==o["\u0275nov"](n,1).onAnimationEnd(t)&&l),l},GU,ZU)),o["\u0275did"](1,180224,null,0,BU,[o.NgZone,o.ElementRef,o.ChangeDetectorRef,LU],null,null)],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1)._role,o["\u0275nov"](e,1)._animationState)})}var YU=o["\u0275ccf"]("snack-bar-container",BU,KU,{},{},[]),$U=o["\u0275crt"]({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;height:100%;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}"],data:{}});function XU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.action()&&l),l},pu,cu)),o["\u0275did"](2,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],null,null),(n()(),o["\u0275ted"](3,0,["",""]))],null,function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2).disabled||null,"NoopAnimations"===o["\u0275nov"](e,2)._animationMode),n(e,3,0,t.data.action)})}function QU(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""])),(n()(),o["\u0275and"](16777216,null,null,1,null,XU)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,3,0,e.component.hasAction)},function(n,e){n(e,1,0,e.component.data.message)})}function JU(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,QU,$U)),o["\u0275did"](1,49152,null,0,VU,[PU,jU],null,null)],null,null)}var nH=o["\u0275ccf"]("simple-snack-bar",VU,JU,{},{},[]),eH=o["\u0275crt"]({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function tH(n){return o["\u0275vid"](2,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(n,e,t){var l=!0,o=n.component;return"@state.start"===e&&(l=!1!==o._animationStart()&&l),"@state.done"===e&&(l=!1!==o._animationDone(t)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](2,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pid"](131072,I.AsyncPipe,[o.ChangeDetectorRef]),(n()(),o["\u0275ted"](4,null,["",""]))],function(n,e){n(e,2,0,"mat-tooltip",e.component.tooltipClass)},function(n,e){var t,l=e.component;n(e,0,0,null==(t=o["\u0275unv"](e,0,0,o["\u0275nov"](e,3).transform(l._isHandset)))?null:t.matches,l._visibility),n(e,4,0,l.message)})}function lH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(n,e,t){var l=!0;return"body:click"===e&&(l=!1!==o["\u0275nov"](n,1)._handleBodyInteraction()&&l),l},tH,eH)),o["\u0275did"](1,180224,null,0,oc,[o.ChangeDetectorRef,Yd],null,null)],null,function(n,e){n(e,0,0,"visible"===o["\u0275nov"](e,1)._visibility?1:null)})}var oH=o["\u0275ccf"]("mat-tooltip-component",oc,lH,{},{},[]),rH=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function iH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["You must enter a value"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function aH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[19,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.key)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)})}function uH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,22,{_controlNonStatic:0}),o["\u0275qud"](335544320,23,{_controlStatic:0}),o["\u0275qud"](603979776,24,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,25,{_labelChildStatic:0}),o["\u0275qud"](603979776,26,{_placeholderChild:0}),o["\u0275qud"](603979776,27,{_errorChildren:1}),o["\u0275qud"](603979776,28,{_hintChildren:1}),o["\u0275qud"](603979776,29,{_prefixChildren:1}),o["\u0275qud"](603979776,30,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","path"],["matInput",""],["placeholder","Local server path"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,17)._onInput()&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](14,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](16,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](17,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[22,4],[23,4]],Pb,null,[d_])],function(n,e){n(e,14,0,"path"),n(e,17,0,"Local server path")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending,o["\u0275nov"](e,17)._isServer,o["\u0275nov"](e,17).id,o["\u0275nov"](e,17).placeholder,o["\u0275nov"](e,17).disabled,o["\u0275nov"](e,17).required,o["\u0275nov"](e,17).readonly&&!o["\u0275nov"](e,17)._isNativeSelect||null,o["\u0275nov"](e,17)._ariaDescribedby||null,o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).required.toString()])})}function sH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,31,{_controlNonStatic:0}),o["\u0275qud"](335544320,32,{_controlStatic:0}),o["\u0275qud"](603979776,33,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,34,{_labelChildStatic:0}),o["\u0275qud"](603979776,35,{_placeholderChild:0}),o["\u0275qud"](603979776,36,{_errorChildren:1}),o["\u0275qud"](603979776,37,{_hintChildren:1}),o["\u0275qud"](603979776,38,{_prefixChildren:1}),o["\u0275qud"](603979776,39,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ubridge_path"],["matInput",""],["placeholder","Ubridge path"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,17)._onInput()&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](14,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](16,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](17,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[31,4],[32,4]],Pb,null,[d_])],function(n,e){n(e,14,0,"ubridge_path"),n(e,17,0,"Ubridge path")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending,o["\u0275nov"](e,17)._isServer,o["\u0275nov"](e,17).id,o["\u0275nov"](e,17).placeholder,o["\u0275nov"](e,17).disabled,o["\u0275nov"](e,17).required,o["\u0275nov"](e,17).readonly&&!o["\u0275nov"](e,17)._isNativeSelect||null,o["\u0275nov"](e,17)._ariaDescribedby||null,o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).required.toString()])})}function dH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[67,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit.key)},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit.name)})}function cH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,58,{_controlNonStatic:0}),o["\u0275qud"](335544320,59,{_controlStatic:0}),o["\u0275qud"](603979776,60,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,61,{_labelChildStatic:0}),o["\u0275qud"](603979776,62,{_placeholderChild:0}),o["\u0275qud"](603979776,63,{_errorChildren:1}),o["\u0275qud"](603979776,64,{_hintChildren:1}),o["\u0275qud"](603979776,65,{_prefixChildren:1}),o["\u0275qud"](603979776,66,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","authorization"],["placeholder","Authorization"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,16)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._onBlur()&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](13,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](15,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](16,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,67,{options:1}),o["\u0275qud"](603979776,68,{optionGroups:1}),o["\u0275qud"](603979776,69,{customTrigger:0}),o["\u0275prd"](2048,[[58,4],[59,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,dH)),o["\u0275did"](22,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,13,0,"authorization"),n(e,16,0,"Authorization"),n(e,22,0,t.authorizations)},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,15).ngClassUntouched,o["\u0275nov"](e,15).ngClassTouched,o["\u0275nov"](e,15).ngClassPristine,o["\u0275nov"](e,15).ngClassDirty,o["\u0275nov"](e,15).ngClassValid,o["\u0275nov"](e,15).ngClassInvalid,o["\u0275nov"](e,15).ngClassPending,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).tabIndex,o["\u0275nov"](e,16)._getAriaLabel(),o["\u0275nov"](e,16)._getAriaLabelledby(),o["\u0275nov"](e,16).required.toString(),o["\u0275nov"](e,16).disabled.toString(),o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).panelOpen?o["\u0275nov"](e,16)._optionIds:null,o["\u0275nov"](e,16).multiple,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16)._getAriaActiveDescendant(),o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).empty])})}function pH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,70,{_controlNonStatic:0}),o["\u0275qud"](335544320,71,{_controlStatic:0}),o["\u0275qud"](603979776,72,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,73,{_labelChildStatic:0}),o["\u0275qud"](603979776,74,{_placeholderChild:0}),o["\u0275qud"](603979776,75,{_errorChildren:1}),o["\u0275qud"](603979776,76,{_hintChildren:1}),o["\u0275qud"](603979776,77,{_prefixChildren:1}),o["\u0275qud"](603979776,78,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","login"],["matInput",""],["placeholder","Login"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,17)._onInput()&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](14,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](16,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](17,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[70,4],[71,4]],Pb,null,[d_])],function(n,e){n(e,14,0,"login"),n(e,17,0,"Login")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending,o["\u0275nov"](e,17)._isServer,o["\u0275nov"](e,17).id,o["\u0275nov"](e,17).placeholder,o["\u0275nov"](e,17).disabled,o["\u0275nov"](e,17).required,o["\u0275nov"](e,17).readonly&&!o["\u0275nov"](e,17)._isNativeSelect||null,o["\u0275nov"](e,17)._ariaDescribedby||null,o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).required.toString()])})}function fH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,79,{_controlNonStatic:0}),o["\u0275qud"](335544320,80,{_controlStatic:0}),o["\u0275qud"](603979776,81,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,82,{_labelChildStatic:0}),o["\u0275qud"](603979776,83,{_placeholderChild:0}),o["\u0275qud"](603979776,84,{_errorChildren:1}),o["\u0275qud"](603979776,85,{_hintChildren:1}),o["\u0275qud"](603979776,86,{_prefixChildren:1}),o["\u0275qud"](603979776,87,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","password"],["matInput",""],["placeholder","Password"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,17)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,17)._onInput()&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](14,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](16,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](17,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[79,4],[80,4]],Pb,null,[d_])],function(n,e){n(e,14,0,"password"),n(e,17,0,"Password")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,16).ngClassUntouched,o["\u0275nov"](e,16).ngClassTouched,o["\u0275nov"](e,16).ngClassPristine,o["\u0275nov"](e,16).ngClassDirty,o["\u0275nov"](e,16).ngClassValid,o["\u0275nov"](e,16).ngClassInvalid,o["\u0275nov"](e,16).ngClassPending,o["\u0275nov"](e,17)._isServer,o["\u0275nov"](e,17).id,o["\u0275nov"](e,17).placeholder,o["\u0275nov"](e,17).disabled,o["\u0275nov"](e,17).required,o["\u0275nov"](e,17).readonly&&!o["\u0275nov"](e,17)._isNativeSelect||null,o["\u0275nov"](e,17)._ariaDescribedby||null,o["\u0275nov"](e,17).errorState,o["\u0275nov"](e,17).required.toString()])})}function hH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Add server"])),(n()(),o["\u0275eld"](3,0,null,null,106,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,93,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](11,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["placeholder","Name"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,27)._onInput()&&l),l},null,null)),o["\u0275did"](22,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](24,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](26,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](27,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,5,1,null,iH)),o["\u0275did"](30,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](31,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](32,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](42,0,null,1,11,"mat-select",[["class","mat-select"],["formControlName","location"],["placeholder","Location"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==o["\u0275nov"](n,47)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,47)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,47)._onBlur()&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](44,671744,null,0,lv,[[3,em],[8,null],[8,null],[8,null],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](46,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](47,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,19,{options:1}),o["\u0275qud"](603979776,20,{optionGroups:1}),o["\u0275qud"](603979776,21,{customTrigger:0}),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,aH)),o["\u0275did"](53,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,uH)),o["\u0275did"](55,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,sH)),o["\u0275did"](57,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](58,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](59,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,40,{_controlNonStatic:0}),o["\u0275qud"](335544320,41,{_controlStatic:0}),o["\u0275qud"](603979776,42,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,43,{_labelChildStatic:0}),o["\u0275qud"](603979776,44,{_placeholderChild:0}),o["\u0275qud"](603979776,45,{_errorChildren:1}),o["\u0275qud"](603979776,46,{_hintChildren:1}),o["\u0275qud"](603979776,47,{_prefixChildren:1}),o["\u0275qud"](603979776,48,{_suffixChildren:1}),(n()(),o["\u0275eld"](69,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","host"],["matInput",""],["placeholder","Host"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,70)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,70).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,70)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,70)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,75)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,75)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,75)._onInput()&&l),l},null,null)),o["\u0275did"](70,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](72,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](74,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](75,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[40,4],[41,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](77,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](78,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,49,{_controlNonStatic:0}),o["\u0275qud"](335544320,50,{_controlStatic:0}),o["\u0275qud"](603979776,51,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,52,{_labelChildStatic:0}),o["\u0275qud"](603979776,53,{_placeholderChild:0}),o["\u0275qud"](603979776,54,{_errorChildren:1}),o["\u0275qud"](603979776,55,{_hintChildren:1}),o["\u0275qud"](603979776,56,{_prefixChildren:1}),o["\u0275qud"](603979776,57,{_suffixChildren:1}),(n()(),o["\u0275eld"](88,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","port"],["matInput",""],["placeholder","Port"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,89)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,89).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,89)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,89)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,94)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,94)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,94)._onInput()&&l),l},null,null)),o["\u0275did"](89,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](91,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](93,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](94,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[49,4],[50,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,null,1,null,cH)),o["\u0275did"](97,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,pH)),o["\u0275did"](99,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,fH)),o["\u0275did"](101,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](102,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](103,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](104,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](105,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No Thanks"])),(n()(),o["\u0275eld"](107,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l},pu,cu)),o["\u0275did"](108,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.serverForm),n(e,24,0,"name"),n(e,27,0,"Name"),n(e,30,0,t.serverForm.get("name").hasError("required")),n(e,44,0,"location"),n(e,47,0,"Location"),n(e,53,0,t.locations),n(e,55,0,"local"===t.serverForm.get("location").value),n(e,57,0,"local"===t.serverForm.get("location").value),n(e,72,0,"host"),n(e,75,0,"Host"),n(e,91,0,"port"),n(e,94,0,"Port"),n(e,97,0,"remote"===t.serverForm.get("location").value),n(e,99,0,"basic"===t.serverForm.get("authorization").value),n(e,101,0,"basic"===t.serverForm.get("authorization").value),n(e,105,0,"accent"),n(e,108,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,10,1,["standard"==o["\u0275nov"](e,11).appearance,"fill"==o["\u0275nov"](e,11).appearance,"outline"==o["\u0275nov"](e,11).appearance,"legacy"==o["\u0275nov"](e,11).appearance,o["\u0275nov"](e,11)._control.errorState,o["\u0275nov"](e,11)._canLabelFloat,o["\u0275nov"](e,11)._shouldLabelFloat(),o["\u0275nov"](e,11)._hasFloatingLabel(),o["\u0275nov"](e,11)._hideControlPlaceholder(),o["\u0275nov"](e,11)._control.disabled,o["\u0275nov"](e,11)._control.autofilled,o["\u0275nov"](e,11)._control.focused,"accent"==o["\u0275nov"](e,11).color,"warn"==o["\u0275nov"](e,11).color,o["\u0275nov"](e,11)._shouldForward("untouched"),o["\u0275nov"](e,11)._shouldForward("touched"),o["\u0275nov"](e,11)._shouldForward("pristine"),o["\u0275nov"](e,11)._shouldForward("dirty"),o["\u0275nov"](e,11)._shouldForward("valid"),o["\u0275nov"](e,11)._shouldForward("invalid"),o["\u0275nov"](e,11)._shouldForward("pending"),!o["\u0275nov"](e,11)._animationsEnabled]),n(e,21,1,[o["\u0275nov"](e,26).ngClassUntouched,o["\u0275nov"](e,26).ngClassTouched,o["\u0275nov"](e,26).ngClassPristine,o["\u0275nov"](e,26).ngClassDirty,o["\u0275nov"](e,26).ngClassValid,o["\u0275nov"](e,26).ngClassInvalid,o["\u0275nov"](e,26).ngClassPending,o["\u0275nov"](e,27)._isServer,o["\u0275nov"](e,27).id,o["\u0275nov"](e,27).placeholder,o["\u0275nov"](e,27).disabled,o["\u0275nov"](e,27).required,o["\u0275nov"](e,27).readonly&&!o["\u0275nov"](e,27)._isNativeSelect||null,o["\u0275nov"](e,27)._ariaDescribedby||null,o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).required.toString()]),n(e,31,1,["standard"==o["\u0275nov"](e,32).appearance,"fill"==o["\u0275nov"](e,32).appearance,"outline"==o["\u0275nov"](e,32).appearance,"legacy"==o["\u0275nov"](e,32).appearance,o["\u0275nov"](e,32)._control.errorState,o["\u0275nov"](e,32)._canLabelFloat,o["\u0275nov"](e,32)._shouldLabelFloat(),o["\u0275nov"](e,32)._hasFloatingLabel(),o["\u0275nov"](e,32)._hideControlPlaceholder(),o["\u0275nov"](e,32)._control.disabled,o["\u0275nov"](e,32)._control.autofilled,o["\u0275nov"](e,32)._control.focused,"accent"==o["\u0275nov"](e,32).color,"warn"==o["\u0275nov"](e,32).color,o["\u0275nov"](e,32)._shouldForward("untouched"),o["\u0275nov"](e,32)._shouldForward("touched"),o["\u0275nov"](e,32)._shouldForward("pristine"),o["\u0275nov"](e,32)._shouldForward("dirty"),o["\u0275nov"](e,32)._shouldForward("valid"),o["\u0275nov"](e,32)._shouldForward("invalid"),o["\u0275nov"](e,32)._shouldForward("pending"),!o["\u0275nov"](e,32)._animationsEnabled]),n(e,42,1,[o["\u0275nov"](e,46).ngClassUntouched,o["\u0275nov"](e,46).ngClassTouched,o["\u0275nov"](e,46).ngClassPristine,o["\u0275nov"](e,46).ngClassDirty,o["\u0275nov"](e,46).ngClassValid,o["\u0275nov"](e,46).ngClassInvalid,o["\u0275nov"](e,46).ngClassPending,o["\u0275nov"](e,47).id,o["\u0275nov"](e,47).tabIndex,o["\u0275nov"](e,47)._getAriaLabel(),o["\u0275nov"](e,47)._getAriaLabelledby(),o["\u0275nov"](e,47).required.toString(),o["\u0275nov"](e,47).disabled.toString(),o["\u0275nov"](e,47).errorState,o["\u0275nov"](e,47).panelOpen?o["\u0275nov"](e,47)._optionIds:null,o["\u0275nov"](e,47).multiple,o["\u0275nov"](e,47)._ariaDescribedby||null,o["\u0275nov"](e,47)._getAriaActiveDescendant(),o["\u0275nov"](e,47).disabled,o["\u0275nov"](e,47).errorState,o["\u0275nov"](e,47).required,o["\u0275nov"](e,47).empty]),n(e,58,1,["standard"==o["\u0275nov"](e,59).appearance,"fill"==o["\u0275nov"](e,59).appearance,"outline"==o["\u0275nov"](e,59).appearance,"legacy"==o["\u0275nov"](e,59).appearance,o["\u0275nov"](e,59)._control.errorState,o["\u0275nov"](e,59)._canLabelFloat,o["\u0275nov"](e,59)._shouldLabelFloat(),o["\u0275nov"](e,59)._hasFloatingLabel(),o["\u0275nov"](e,59)._hideControlPlaceholder(),o["\u0275nov"](e,59)._control.disabled,o["\u0275nov"](e,59)._control.autofilled,o["\u0275nov"](e,59)._control.focused,"accent"==o["\u0275nov"](e,59).color,"warn"==o["\u0275nov"](e,59).color,o["\u0275nov"](e,59)._shouldForward("untouched"),o["\u0275nov"](e,59)._shouldForward("touched"),o["\u0275nov"](e,59)._shouldForward("pristine"),o["\u0275nov"](e,59)._shouldForward("dirty"),o["\u0275nov"](e,59)._shouldForward("valid"),o["\u0275nov"](e,59)._shouldForward("invalid"),o["\u0275nov"](e,59)._shouldForward("pending"),!o["\u0275nov"](e,59)._animationsEnabled]),n(e,69,1,[o["\u0275nov"](e,74).ngClassUntouched,o["\u0275nov"](e,74).ngClassTouched,o["\u0275nov"](e,74).ngClassPristine,o["\u0275nov"](e,74).ngClassDirty,o["\u0275nov"](e,74).ngClassValid,o["\u0275nov"](e,74).ngClassInvalid,o["\u0275nov"](e,74).ngClassPending,o["\u0275nov"](e,75)._isServer,o["\u0275nov"](e,75).id,o["\u0275nov"](e,75).placeholder,o["\u0275nov"](e,75).disabled,o["\u0275nov"](e,75).required,o["\u0275nov"](e,75).readonly&&!o["\u0275nov"](e,75)._isNativeSelect||null,o["\u0275nov"](e,75)._ariaDescribedby||null,o["\u0275nov"](e,75).errorState,o["\u0275nov"](e,75).required.toString()]),n(e,77,1,["standard"==o["\u0275nov"](e,78).appearance,"fill"==o["\u0275nov"](e,78).appearance,"outline"==o["\u0275nov"](e,78).appearance,"legacy"==o["\u0275nov"](e,78).appearance,o["\u0275nov"](e,78)._control.errorState,o["\u0275nov"](e,78)._canLabelFloat,o["\u0275nov"](e,78)._shouldLabelFloat(),o["\u0275nov"](e,78)._hasFloatingLabel(),o["\u0275nov"](e,78)._hideControlPlaceholder(),o["\u0275nov"](e,78)._control.disabled,o["\u0275nov"](e,78)._control.autofilled,o["\u0275nov"](e,78)._control.focused,"accent"==o["\u0275nov"](e,78).color,"warn"==o["\u0275nov"](e,78).color,o["\u0275nov"](e,78)._shouldForward("untouched"),o["\u0275nov"](e,78)._shouldForward("touched"),o["\u0275nov"](e,78)._shouldForward("pristine"),o["\u0275nov"](e,78)._shouldForward("dirty"),o["\u0275nov"](e,78)._shouldForward("valid"),o["\u0275nov"](e,78)._shouldForward("invalid"),o["\u0275nov"](e,78)._shouldForward("pending"),!o["\u0275nov"](e,78)._animationsEnabled]),n(e,88,1,[o["\u0275nov"](e,93).ngClassUntouched,o["\u0275nov"](e,93).ngClassTouched,o["\u0275nov"](e,93).ngClassPristine,o["\u0275nov"](e,93).ngClassDirty,o["\u0275nov"](e,93).ngClassValid,o["\u0275nov"](e,93).ngClassInvalid,o["\u0275nov"](e,93).ngClassPending,o["\u0275nov"](e,94)._isServer,o["\u0275nov"](e,94).id,o["\u0275nov"](e,94).placeholder,o["\u0275nov"](e,94).disabled,o["\u0275nov"](e,94).required,o["\u0275nov"](e,94).readonly&&!o["\u0275nov"](e,94)._isNativeSelect||null,o["\u0275nov"](e,94)._ariaDescribedby||null,o["\u0275nov"](e,94).errorState,o["\u0275nov"](e,94).required.toString()]),n(e,104,0,o["\u0275nov"](e,105).disabled||null,"NoopAnimations"===o["\u0275nov"](e,105)._animationMode),n(e,107,0,o["\u0275nov"](e,108).disabled||null,"NoopAnimations"===o["\u0275nov"](e,108)._animationMode)})}function mH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-add-server-dialog",[],null,null,null,hH,rH)),o["\u0275did"](1,114688,null,0,uv,[mv,bc,Uh,vv],null,null)],function(n,e){n(e,1,0)},null)}var vH=o["\u0275ccf"]("app-add-server-dialog",uv,mH,{},{},[]),gH=o["\u0275crt"]({encapsulation:0,styles:[[".title-container[_ngcontent-%COMP%]{display:flex;align-items:baseline;justify-content:space-between}.name-input[_ngcontent-%COMP%]{width:100%}.top-button[_ngcontent-%COMP%]{outline:0;box-shadow:none!important;background:0 0!important}button[_ngcontent-%COMP%]:focus{outline:0!important;border:0!important;box-shadow:none!important}"]],data:{}});function bH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","title-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Create snapshot"])),(n()(),o["\u0275eld"](4,0,null,null,3,"button",[["class","top-button"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0,r=n.component;return"click"===e&&(l=!1!==o["\u0275nov"](n,5).onClick()&&l),"click"===e&&(l=!1!==r.onNoClick()&&l),l},pu,cu)),o["\u0275did"](5,16384,null,0,Il,[Rl,bt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),o["\u0275did"](6,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Go to snapshots"])),(n()(),o["\u0275eld"](8,0,null,null,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,12).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,12).onReset()&&l),l},null,null)),o["\u0275did"](11,16384,null,0,Xm,[],null,null),o["\u0275did"](12,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](14,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](15,0,null,null,18,"mat-form-field",[["class","name-input mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](16,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","snapshotName"],["matInput",""],["placeholder","Name"],["tabindex","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,27)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,27)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,27)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,32)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,32)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,32)._onInput()&&l),l},null,null)),o["\u0275did"](27,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](29,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](31,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](32,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](34,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](35,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No Thanks"])),(n()(),o["\u0275eld"](39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l},pu,cu)),o["\u0275did"](40,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add"]))],function(n,e){var t=e.component;n(e,2,0),n(e,5,0,o["\u0275inlineInterpolate"](2,"/server/",t.server.id,"/project/",t.project.project_id,"/snapshots")),n(e,6,0,"accent"),n(e,12,0,t.inputForm),n(e,29,0,"snapshotName"),n(e,32,0,"Name"),n(e,37,0,"accent"),n(e,40,0,"primary")},function(n,e){n(e,1,0,o["\u0275nov"](e,2).id),n(e,4,0,o["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode),n(e,10,0,o["\u0275nov"](e,14).ngClassUntouched,o["\u0275nov"](e,14).ngClassTouched,o["\u0275nov"](e,14).ngClassPristine,o["\u0275nov"](e,14).ngClassDirty,o["\u0275nov"](e,14).ngClassValid,o["\u0275nov"](e,14).ngClassInvalid,o["\u0275nov"](e,14).ngClassPending),n(e,15,1,["standard"==o["\u0275nov"](e,16).appearance,"fill"==o["\u0275nov"](e,16).appearance,"outline"==o["\u0275nov"](e,16).appearance,"legacy"==o["\u0275nov"](e,16).appearance,o["\u0275nov"](e,16)._control.errorState,o["\u0275nov"](e,16)._canLabelFloat,o["\u0275nov"](e,16)._shouldLabelFloat(),o["\u0275nov"](e,16)._hasFloatingLabel(),o["\u0275nov"](e,16)._hideControlPlaceholder(),o["\u0275nov"](e,16)._control.disabled,o["\u0275nov"](e,16)._control.autofilled,o["\u0275nov"](e,16)._control.focused,"accent"==o["\u0275nov"](e,16).color,"warn"==o["\u0275nov"](e,16).color,o["\u0275nov"](e,16)._shouldForward("untouched"),o["\u0275nov"](e,16)._shouldForward("touched"),o["\u0275nov"](e,16)._shouldForward("pristine"),o["\u0275nov"](e,16)._shouldForward("dirty"),o["\u0275nov"](e,16)._shouldForward("valid"),o["\u0275nov"](e,16)._shouldForward("invalid"),o["\u0275nov"](e,16)._shouldForward("pending"),!o["\u0275nov"](e,16)._animationsEnabled]),n(e,26,1,[o["\u0275nov"](e,31).ngClassUntouched,o["\u0275nov"](e,31).ngClassTouched,o["\u0275nov"](e,31).ngClassPristine,o["\u0275nov"](e,31).ngClassDirty,o["\u0275nov"](e,31).ngClassValid,o["\u0275nov"](e,31).ngClassInvalid,o["\u0275nov"](e,31).ngClassPending,o["\u0275nov"](e,32)._isServer,o["\u0275nov"](e,32).id,o["\u0275nov"](e,32).placeholder,o["\u0275nov"](e,32).disabled,o["\u0275nov"](e,32).required,o["\u0275nov"](e,32).readonly&&!o["\u0275nov"](e,32)._isNativeSelect||null,o["\u0275nov"](e,32)._ariaDescribedby||null,o["\u0275nov"](e,32).errorState,o["\u0275nov"](e,32).required.toString()]),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode),n(e,39,0,o["\u0275nov"](e,40).disabled||null,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode)})}function _H(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-create-snapshot-dialog",[],null,null,null,bH,gH)),o["\u0275did"](1,49152,null,0,rV,[mv,rv,vc,X_,yF,vv],null,null)],null,null)}var yH=o["\u0275ccf"]("app-create-snapshot-dialog",rV,_H,{},{},[]),wH=Xo(function(){return function(n){this._elementRef=n}}(),"primary"),CH=new o.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:function(){var n=Object(o.inject)(I.DOCUMENT),e=n?n.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),xH=0,SH=function(n){function e(e,t,l,r){var i=n.call(this,e)||this;i._elementRef=e,i._ngZone=t,i._animationMode=l,i._isNoopAnimation=!1,i._value=0,i._bufferValue=0,i.animationEnd=new o.EventEmitter,i._animationEndSubscription=wo.a.EMPTY,i.mode="determinate",i.progressbarId="mat-progress-bar-"+xH++;var a=r?r.getPathname().split("#")[0]:"";return i._rectangleFillValue="url('"+a+"#"+i.progressbarId+"')",i._isNoopAnimation="NoopAnimations"===l,i}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(n){this._value=kH(n||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(n){this._bufferValue=kH(n||0)},enumerable:!0,configurable:!0}),e.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},e.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},e.prototype.ngAfterViewInit=function(){var n=this;this._isNoopAnimation||this._ngZone.runOutsideAngular(function(){var e=n._primaryValueBar.nativeElement;n._animationEndSubscription=Object(Os.a)(e,"transitionend").pipe(Object(K.a)(function(n){return n.target===e})).subscribe(function(){return n._ngZone.run(function(){return n._emitAnimationEnd()})})})},e.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},e.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},e}(wH);function kH(n,e,t){return void 0===e&&(e=0),void 0===t&&(t=100),Math.max(e,Math.min(t,n))}var EH=function(){return function(){}}(),TH=o["\u0275crt"]({encapsulation:2,styles:[".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"],data:{}});function RH(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_primaryValueBar:0}),(n()(),o["\u0275eld"](1,0,null,null,4,":svg:svg",[["class","mat-progress-bar-background mat-progress-bar-element"],["focusable","false"],["height","4"],["width","100%"]],null,null,null,null,null)),(n()(),o["\u0275eld"](2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),o["\u0275eld"](3,0,null,null,1,":svg:pattern",[["height","4"],["patternUnits","userSpaceOnUse"],["width","8"],["x","4"],["y","0"]],[[8,"id",0]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(n()(),o["\u0275eld"](6,0,null,null,2,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgStyleImpl"],I["\u0275NgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["\u0275did"](8,278528,null,0,I.NgStyle,[I["\u0275NgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["\u0275eld"](9,0,[[1,0],["primaryValueBar",1]],null,2,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgStyleImpl"],I["\u0275NgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["\u0275did"](11,278528,null,0,I.NgStyle,[I["\u0275NgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(n()(),o["\u0275eld"](12,0,null,null,0,"div",[["class","mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null))],function(n,e){var t=e.component;n(e,8,0,t._bufferTransform()),n(e,11,0,t._primaryTransform())},function(n,e){var t=e.component;n(e,3,0,t.progressbarId),n(e,5,0,t._rectangleFillValue)})}var IH=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function DH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Operation in progress"])),(n()(),o["\u0275eld"](3,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](4,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](5,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["color","primary"],["mode","determinate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,RH,TH)),o["\u0275did"](6,4374528,null,0,SH,[o.ElementRef,o.NgZone,[2,su],[2,CH]],{color:[0,"color"],value:[1,"value"],mode:[2,"mode"]},null),(n()(),o["\u0275eld"](7,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](8,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](9,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCancelClick()&&l),l},pu,cu)),o["\u0275did"](10,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"]))],function(n,e){var t=e.component;n(e,1,0),n(e,6,0,"primary",t.value,"determinate"),n(e,10,0,"accent")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,5,0,"indeterminate"===o["\u0275nov"](e,6).mode||"query"===o["\u0275nov"](e,6).mode?null:o["\u0275nov"](e,6).value,o["\u0275nov"](e,6).mode,o["\u0275nov"](e,6)._isNoopAnimation),n(e,9,0,o["\u0275nov"](e,10).disabled||null,"NoopAnimations"===o["\u0275nov"](e,10)._animationMode)})}function OH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-progress-dialog",[],null,null,null,DH,IH)),o["\u0275did"](1,114688,null,0,Q_,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var FH=o["\u0275ccf"]("app-progress-dialog",Q_,OH,{},{},[]),NH=o["\u0275crt"]({encapsulation:0,styles:[[".header[_ngcontent-%COMP%]{min-height:64px;display:flex;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}.mat-table[_ngcontent-%COMP%]{overflow:auto;max-height:400px}.mat-form-field[_ngcontent-%COMP%]{font-size:16px;flex-grow:1}div[_ngcontent-%COMP%], mat-table[_ngcontent-%COMP%]{scrollbar-color:#a9a9a9 #263238;scrollbar-width:thin}[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:#263238 solid 1px}"]],data:{}});function MH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Jc,[Ic,o.ElementRef],null,null),(n()(),o["\u0275ted"](-1,null,[" Name "]))],null,null)}function AH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,np,[Ic,o.ElementRef],null,null),(n()(),o["\u0275eld"](2,0,null,null,1,"a",[["class","table-link"],["href","javascript:void(0);"]],null,[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.addNode(n.context.$implicit)&&l),l},null,null)),(n()(),o["\u0275ted"](3,null,["",""]))],null,function(n,e){n(e,3,0,e.context.$implicit.name)})}function qH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,sp,up)),o["\u0275prd"](6144,null,jc,null,[lp]),o["\u0275did"](2,49152,null,0,lp,[],null,null)],null,null)}function PH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,cp,dp)),o["\u0275prd"](6144,null,Lc,null,[op]),o["\u0275did"](2,49152,null,0,op,[],null,null)],null,null)}function jH(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{filter:0}),(n()(),o["\u0275eld"](1,0,null,null,42,"div",[["class","content mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](2,16384,null,0,xv,[],null,null),(n()(),o["\u0275eld"](3,0,null,null,14,"div",[["class","header"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,13,"mat-form-field",[["class","mat-form-field"],["floatPlaceholder","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](5,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,2,{_controlNonStatic:0}),o["\u0275qud"](335544320,3,{_controlStatic:0}),o["\u0275qud"](603979776,4,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,5,{_labelChildStatic:0}),o["\u0275qud"](603979776,6,{_placeholderChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](15,0,[[1,0],["filter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter templates"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(n,e,t){var l=!0;return"blur"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,16)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,16)._onInput()&&l),l},null,null)),o["\u0275did"](16,999424,null,0,d_,[o.ElementRef,vo,[8,null],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"]},null),o["\u0275prd"](2048,[[2,4],[3,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](18,0,null,null,25,"mat-table",[["class","mat-table"]],null,null,null,ap,ip)),o["\u0275prd"](6144,null,Wc,null,[Yc]),o["\u0275did"](20,2342912,[["table",4]],4,Yc,[o.IterableDiffers,o.ChangeDetectorRef,o.ElementRef,[8,null],[2,Ar],I.DOCUMENT,vo],{dataSource:[0,"dataSource"]},null),o["\u0275qud"](603979776,11,{_contentColumnDefs:1}),o["\u0275qud"](603979776,12,{_contentRowDefs:1}),o["\u0275qud"](603979776,13,{_contentHeaderRowDefs:1}),o["\u0275qud"](603979776,14,{_contentFooterRowDefs:1}),(n()(),o["\u0275eld"](25,0,null,null,12,null,null,null,null,null,null,null)),o["\u0275prd"](6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[Qc]),o["\u0275did"](27,16384,null,3,Qc,[],{name:[0,"name"]},null),o["\u0275qud"](603979776,15,{cell:0}),o["\u0275qud"](603979776,16,{headerCell:0}),o["\u0275qud"](603979776,17,{footerCell:0}),o["\u0275prd"](2048,[[11,4]],Ic,null,[Qc]),(n()(),o["\u0275and"](0,null,null,2,null,MH)),o["\u0275did"](33,16384,null,0,Xc,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[16,4]],Rc,null,[Xc]),(n()(),o["\u0275and"](0,null,null,2,null,AH)),o["\u0275did"](36,16384,null,0,$c,[o.TemplateRef],null,null),o["\u0275prd"](2048,[[15,4]],Tc,null,[$c]),(n()(),o["\u0275and"](0,null,null,2,null,qH)),o["\u0275did"](39,540672,null,0,ep,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[13,4]],Mc,null,[ep]),(n()(),o["\u0275and"](0,null,null,2,null,PH)),o["\u0275did"](42,540672,null,0,tp,[o.TemplateRef,o.IterableDiffers],{columns:[0,"columns"]},null),o["\u0275prd"](2048,[[12,4]],qc,null,[tp]),(n()(),o["\u0275eld"](44,0,null,null,4,"div",[["align","end"],["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](45,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](46,0,null,null,2,"button",[["color","accent"],["mat-button",""],["tabindex","-1"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](47,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Close"]))],function(n,e){var t=e.component;n(e,16,0,"Filter templates"),n(e,20,0,t.dataSource),n(e,27,0,"name"),n(e,39,0,t.displayedColumns),n(e,42,0,t.displayedColumns),n(e,47,0,"accent")},function(n,e){n(e,4,1,["standard"==o["\u0275nov"](e,5).appearance,"fill"==o["\u0275nov"](e,5).appearance,"outline"==o["\u0275nov"](e,5).appearance,"legacy"==o["\u0275nov"](e,5).appearance,o["\u0275nov"](e,5)._control.errorState,o["\u0275nov"](e,5)._canLabelFloat,o["\u0275nov"](e,5)._shouldLabelFloat(),o["\u0275nov"](e,5)._hasFloatingLabel(),o["\u0275nov"](e,5)._hideControlPlaceholder(),o["\u0275nov"](e,5)._control.disabled,o["\u0275nov"](e,5)._control.autofilled,o["\u0275nov"](e,5)._control.focused,"accent"==o["\u0275nov"](e,5).color,"warn"==o["\u0275nov"](e,5).color,o["\u0275nov"](e,5)._shouldForward("untouched"),o["\u0275nov"](e,5)._shouldForward("touched"),o["\u0275nov"](e,5)._shouldForward("pristine"),o["\u0275nov"](e,5)._shouldForward("dirty"),o["\u0275nov"](e,5)._shouldForward("valid"),o["\u0275nov"](e,5)._shouldForward("invalid"),o["\u0275nov"](e,5)._shouldForward("pending"),!o["\u0275nov"](e,5)._animationsEnabled]),n(e,15,0,o["\u0275nov"](e,16)._isServer,o["\u0275nov"](e,16).id,o["\u0275nov"](e,16).placeholder,o["\u0275nov"](e,16).disabled,o["\u0275nov"](e,16).required,o["\u0275nov"](e,16).readonly&&!o["\u0275nov"](e,16)._isNativeSelect||null,o["\u0275nov"](e,16)._ariaDescribedby||null,o["\u0275nov"](e,16).errorState,o["\u0275nov"](e,16).required.toString()),n(e,46,0,o["\u0275nov"](e,47).disabled||null,"NoopAnimations"===o["\u0275nov"](e,47)._animationMode)})}function LH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-template-list-dialog",[],null,null,null,jH,NH)),o["\u0275did"](1,114688,null,0,sV,[mv,Ty,vv],null,null)],function(n,e){n(e,1,0)},null)}var VH=o["\u0275ccf"]("app-template-list-dialog",sV,LH,{},{},[]),BH=o["\u0275crt"]({encapsulation:0,styles:[[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]],data:{}});function zH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is required"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function UH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is incorrect"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function HH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Create new project"])),(n()(),o["\u0275eld"](3,0,null,null,38,"form",[["class","file-name-form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,25,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"keydown"===e&&(l=!1!==r.onKeyDown(t)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](21,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](22,{"is-invalid":0}),o["\u0275did"](23,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](25,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](27,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](28,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,5,1,null,zH)),o["\u0275did"](31,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,5,1,null,UH)),o["\u0275did"](33,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](34,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](35,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l},pu,cu)),o["\u0275did"](40,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Add project"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.projectNameForm);var l=n(e,22,0,null==t.form.projectName?null:t.form.projectName.errors);n(e,21,0,l),n(e,25,0,"projectName"),n(e,28,0,"Please enter name","text"),n(e,31,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.required)),n(e,33,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.invalidName)),n(e,37,0,"accent"),n(e,40,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode),n(e,39,0,o["\u0275nov"](e,40).disabled||null,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode)})}function ZH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"app-add-blank-project-dialog",[],null,null,null,HH,BH)),o["\u0275prd"](512,null,pg,pg,[]),o["\u0275did"](2,114688,null,0,hg,[mv,Rl,yv,ug,vc,rv,pg],null,null)],function(n,e){n(e,2,0)},null)}var WH=o["\u0275ccf"]("app-add-blank-project-dialog",hg,ZH,{},{},[]),GH=t("5xlC"),KH=o["\u0275crt"]({encapsulation:0,styles:[[".non-visible[_ngcontent-%COMP%]{display:none}.file-button[_ngcontent-%COMP%]{width:100%;margin-top:5px;margin-bottom:10px;padding:0}.file-name-form[_ngcontent-%COMP%]{float:right;width:100%}.file-name-form-field[_ngcontent-%COMP%]{width:90%}.empty[_ngcontent-%COMP%]{width:100%}.delete-button[_ngcontent-%COMP%]{background:0 0;border:none;outline:0;width:10%}.delete-icon[_ngcontent-%COMP%]{vertical-align:middle}.result-message-box[_ngcontent-%COMP%]{margin-top:10px;text-align:center}.progress-bar[_ngcontent-%COMP%]{background-color:#0097a7}"]],data:{}});function YH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is required"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function $H(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is incorrect"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function XH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Import project"])),(n()(),o["\u0275eld"](3,0,null,null,51,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,50,"form",[["class","file-name-form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,6).onReset()&&l),l},null,null)),o["\u0275did"](5,16384,null,0,Xm,[],null,null),o["\u0275did"](6,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](8,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](9,0,[["file",1]],null,1,"input",[["accept",".gns3project, .gns3p"],["class","non-visible"],["ng2FileSelect",""],["type","file"]],null,[[null,"change"]],function(n,e,t){var l=!0,r=n.component;return"change"===e&&(l=!1!==o["\u0275nov"](n,10).onChange()&&l),"change"===e&&(l=!1!==r.uploadProjectFile(t)&&l),l},null,null)),o["\u0275did"](10,16384,null,0,GH.FileSelectDirective,[o.ElementRef],{uploader:[0,"uploader"]},null),(n()(),o["\u0275eld"](11,0,null,null,2,"button",[["class","file-button"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,9).click()&&l),l},pu,cu)),o["\u0275did"](12,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Choose file"])),(n()(),o["\u0275eld"](14,0,null,null,28,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](16,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](17,{empty:0}),o["\u0275did"](18,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](28,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,32)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,32).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,32)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,32)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,37)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,37)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,37)._onInput()&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](30,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](31,{"is-invalid":0}),o["\u0275did"](32,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](34,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](36,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](37,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,5,1,null,YH)),o["\u0275did"](40,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,5,1,null,$H)),o["\u0275did"](42,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](43,0,null,null,3,"button",[["class","delete-button"]],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](44,0,null,null,2,"mat-icon",[["class","delete-icon mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onDeleteClick()&&l),l},gs,vs)),o["\u0275did"](45,9158656,null,0,hs,[o.ElementRef,is,[8,null],[2,ds]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["clear"])),(n()(),o["\u0275eld"](47,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](48,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](49,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](50,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](52,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onImportClick()&&l),l},pu,cu)),o["\u0275did"](53,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Import "])),(n()(),o["\u0275eld"](55,0,null,null,13,"div",[],[[8,"hidden",0]],null,null,null,null)),(n()(),o["\u0275eld"](56,0,null,null,4,"div",[["class","progress"]],null,null,null,null,null)),(n()(),o["\u0275eld"](57,0,null,null,3,"div",[["class","progress-bar"],["role","progressbar"]],null,null,null,null,null)),o["\u0275prd"](512,null,I["\u0275NgStyleImpl"],I["\u0275NgStyleR2Impl"],[o.ElementRef,o.KeyValueDiffers,o.Renderer2]),o["\u0275did"](59,278528,null,0,I.NgStyle,[I["\u0275NgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),o["\u0275pod"](60,{width:0}),(n()(),o["\u0275eld"](61,0,null,null,2,"div",[["class","result-message-box"]],null,null,null,null,null)),(n()(),o["\u0275eld"](62,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](63,null,["",""])),(n()(),o["\u0275eld"](64,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](65,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](66,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](67,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Finish "]))],function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.projectNameForm),n(e,10,0,t.uploader),n(e,12,0,"primary");var l=n(e,17,0,!t.isDeleteVisible);n(e,16,0,"file-name-form-field",l);var o=n(e,31,0,t.form.projectName.errors);n(e,30,0,o),n(e,34,0,"projectName"),n(e,37,0,"Please enter name","text"),n(e,40,0,t.form.projectName.errors&&t.form.projectName.errors.required),n(e,42,0,t.form.projectName.errors&&t.form.projectName.errors.invalidName),n(e,45,0,"primary"),n(e,50,0,"accent"),n(e,53,0,!t.isImportEnabled,"primary");var r=n(e,60,0,t.uploader.progress+"%");n(e,59,0,r),n(e,67,0,!t.isFinishEnabled,"primary")},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,t.isFirstStepCompleted),n(e,4,0,o["\u0275nov"](e,8).ngClassUntouched,o["\u0275nov"](e,8).ngClassTouched,o["\u0275nov"](e,8).ngClassPristine,o["\u0275nov"](e,8).ngClassDirty,o["\u0275nov"](e,8).ngClassValid,o["\u0275nov"](e,8).ngClassInvalid,o["\u0275nov"](e,8).ngClassPending),n(e,11,0,o["\u0275nov"](e,12).disabled||null,"NoopAnimations"===o["\u0275nov"](e,12)._animationMode),n(e,14,1,["standard"==o["\u0275nov"](e,18).appearance,"fill"==o["\u0275nov"](e,18).appearance,"outline"==o["\u0275nov"](e,18).appearance,"legacy"==o["\u0275nov"](e,18).appearance,o["\u0275nov"](e,18)._control.errorState,o["\u0275nov"](e,18)._canLabelFloat,o["\u0275nov"](e,18)._shouldLabelFloat(),o["\u0275nov"](e,18)._hasFloatingLabel(),o["\u0275nov"](e,18)._hideControlPlaceholder(),o["\u0275nov"](e,18)._control.disabled,o["\u0275nov"](e,18)._control.autofilled,o["\u0275nov"](e,18)._control.focused,"accent"==o["\u0275nov"](e,18).color,"warn"==o["\u0275nov"](e,18).color,o["\u0275nov"](e,18)._shouldForward("untouched"),o["\u0275nov"](e,18)._shouldForward("touched"),o["\u0275nov"](e,18)._shouldForward("pristine"),o["\u0275nov"](e,18)._shouldForward("dirty"),o["\u0275nov"](e,18)._shouldForward("valid"),o["\u0275nov"](e,18)._shouldForward("invalid"),o["\u0275nov"](e,18)._shouldForward("pending"),!o["\u0275nov"](e,18)._animationsEnabled]),n(e,28,1,[o["\u0275nov"](e,36).ngClassUntouched,o["\u0275nov"](e,36).ngClassTouched,o["\u0275nov"](e,36).ngClassPristine,o["\u0275nov"](e,36).ngClassDirty,o["\u0275nov"](e,36).ngClassValid,o["\u0275nov"](e,36).ngClassInvalid,o["\u0275nov"](e,36).ngClassPending,o["\u0275nov"](e,37)._isServer,o["\u0275nov"](e,37).id,o["\u0275nov"](e,37).placeholder,o["\u0275nov"](e,37).disabled,o["\u0275nov"](e,37).required,o["\u0275nov"](e,37).readonly&&!o["\u0275nov"](e,37)._isNativeSelect||null,o["\u0275nov"](e,37)._ariaDescribedby||null,o["\u0275nov"](e,37).errorState,o["\u0275nov"](e,37).required.toString()]),n(e,43,0,!t.isDeleteVisible),n(e,44,0,o["\u0275nov"](e,45).inline,"primary"!==o["\u0275nov"](e,45).color&&"accent"!==o["\u0275nov"](e,45).color&&"warn"!==o["\u0275nov"](e,45).color),n(e,49,0,o["\u0275nov"](e,50).disabled||null,"NoopAnimations"===o["\u0275nov"](e,50)._animationMode),n(e,52,0,o["\u0275nov"](e,53).disabled||null,"NoopAnimations"===o["\u0275nov"](e,53)._animationMode),n(e,55,0,!t.isFirstStepCompleted),n(e,63,0,t.resultMessage),n(e,66,0,o["\u0275nov"](e,67).disabled||null,"NoopAnimations"===o["\u0275nov"](e,67)._animationMode)})}function QH(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"app-import-project-dialog",[],null,null,null,XH,KH)),o["\u0275prd"](512,null,pg,pg,[]),o["\u0275did"](2,114688,null,0,fg,[yv,mv,vv,rv,ug,pg],null,null)],function(n,e){n(e,2,0)},null)}var JH=o["\u0275ccf"]("app-import-project-dialog",fg,QH,{},{},[]),nZ=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function eZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["No"])),(n()(),o["\u0275eld"](5,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](6,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Yes "]))],function(n,e){n(e,3,0,"accent"),n(e,6,0,"primary")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode),n(e,5,0,o["\u0275nov"](e,6).disabled||null,"NoopAnimations"===o["\u0275nov"](e,6)._animationMode)})}function tZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](1,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](2,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](3,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Ok"]))],function(n,e){n(e,3,0,"accent")},function(n,e){n(e,2,0,o["\u0275nov"](e,3).disabled||null,"NoopAnimations"===o["\u0275nov"](e,3)._animationMode)})}function lZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,["",""])),(n()(),o["\u0275and"](16777216,null,null,1,null,eZ)),o["\u0275did"](3,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,tZ)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){var t=e.component;n(e,3,0,!t.isOpen),n(e,5,0,t.isOpen)},function(n,e){n(e,1,0,e.component.confirmationMessage)})}function oZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-import-project-dialog",[],null,null,null,lZ,nZ)),o["\u0275did"](1,114688,null,0,cg,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var rZ=o["\u0275ccf"]("app-import-project-dialog",cg,oZ,{},{},[]),iZ=o["\u0275crt"]({encapsulation:0,styles:[[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-field[_ngcontent-%COMP%], .modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function aZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](1,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,28,{_controlNonStatic:0}),o["\u0275qud"](335544320,29,{_controlStatic:0}),o["\u0275qud"](603979776,30,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,31,{_labelChildStatic:0}),o["\u0275qud"](603979776,32,{_placeholderChild:0}),o["\u0275qud"](603979776,33,{_errorChildren:1}),o["\u0275qud"](603979776,34,{_hintChildren:1}),o["\u0275qud"](603979776,35,{_prefixChildren:1}),o["\u0275qud"](603979776,36,{_suffixChildren:1}),(n()(),o["\u0275eld"](11,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Border style"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,12)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,12).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,12)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,18)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,18)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.stroke_dasharray=t)&&l),l},null,null)),o["\u0275did"](12,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](14,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](15,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](17,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](18,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[28,4],[29,4]],Pb,null,[d_])],function(n,e){var t=e.component.element.stroke_dasharray,l=n(e,15,0,!0);n(e,14,0,t,l),n(e,18,0,"Border style","text")},function(n,e){n(e,0,1,["standard"==o["\u0275nov"](e,1).appearance,"fill"==o["\u0275nov"](e,1).appearance,"outline"==o["\u0275nov"](e,1).appearance,"legacy"==o["\u0275nov"](e,1).appearance,o["\u0275nov"](e,1)._control.errorState,o["\u0275nov"](e,1)._canLabelFloat,o["\u0275nov"](e,1)._shouldLabelFloat(),o["\u0275nov"](e,1)._hasFloatingLabel(),o["\u0275nov"](e,1)._hideControlPlaceholder(),o["\u0275nov"](e,1)._control.disabled,o["\u0275nov"](e,1)._control.autofilled,o["\u0275nov"](e,1)._control.focused,"accent"==o["\u0275nov"](e,1).color,"warn"==o["\u0275nov"](e,1).color,o["\u0275nov"](e,1)._shouldForward("untouched"),o["\u0275nov"](e,1)._shouldForward("touched"),o["\u0275nov"](e,1)._shouldForward("pristine"),o["\u0275nov"](e,1)._shouldForward("dirty"),o["\u0275nov"](e,1)._shouldForward("valid"),o["\u0275nov"](e,1)._shouldForward("invalid"),o["\u0275nov"](e,1)._shouldForward("pending"),!o["\u0275nov"](e,1)._animationsEnabled]),n(e,11,1,[o["\u0275nov"](e,17).ngClassUntouched,o["\u0275nov"](e,17).ngClassTouched,o["\u0275nov"](e,17).ngClassPristine,o["\u0275nov"](e,17).ngClassDirty,o["\u0275nov"](e,17).ngClassValid,o["\u0275nov"](e,17).ngClassInvalid,o["\u0275nov"](e,17).ngClassPending,o["\u0275nov"](e,18)._isServer,o["\u0275nov"](e,18).id,o["\u0275nov"](e,18).placeholder,o["\u0275nov"](e,18).disabled,o["\u0275nov"](e,18).required,o["\u0275nov"](e,18).readonly&&!o["\u0275nov"](e,18)._isNativeSelect||null,o["\u0275nov"](e,18)._ariaDescribedby||null,o["\u0275nov"](e,18).errorState,o["\u0275nov"](e,18).required.toString()])})}function uZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Style editor"])),(n()(),o["\u0275eld"](3,0,null,null,87,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,86,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,6).onReset()&&l),l},null,null)),o["\u0275did"](5,16384,null,0,Xm,[],null,null),o["\u0275did"](6,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](8,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](9,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](10,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](20,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Fill color"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,21)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,21).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,21)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,21)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,27)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,27)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.fill=t)&&l),l},null,null)),o["\u0275did"](21,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](23,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](24,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](26,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](27,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](29,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](30,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,10,{_controlNonStatic:0}),o["\u0275qud"](335544320,11,{_controlStatic:0}),o["\u0275qud"](603979776,12,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,13,{_labelChildStatic:0}),o["\u0275qud"](603979776,14,{_placeholderChild:0}),o["\u0275qud"](603979776,15,{_errorChildren:1}),o["\u0275qud"](603979776,16,{_hintChildren:1}),o["\u0275qud"](603979776,17,{_prefixChildren:1}),o["\u0275qud"](603979776,18,{_suffixChildren:1}),(n()(),o["\u0275eld"](40,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Border color"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,41)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,41).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,41)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,41)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,47)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,47)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,47)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.element.stroke=t)&&l),l},null,null)),o["\u0275did"](41,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](43,671744,null,0,$m,[[2,em],[8,null],[8,null],[6,$h]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),o["\u0275pod"](44,{standalone:0}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](46,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](47,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[10,4],[11,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](49,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](50,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,19,{_controlNonStatic:0}),o["\u0275qud"](335544320,20,{_controlStatic:0}),o["\u0275qud"](603979776,21,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,22,{_labelChildStatic:0}),o["\u0275qud"](603979776,23,{_placeholderChild:0}),o["\u0275qud"](603979776,24,{_errorChildren:1}),o["\u0275qud"](603979776,25,{_hintChildren:1}),o["\u0275qud"](603979776,26,{_prefixChildren:1}),o["\u0275qud"](603979776,27,{_suffixChildren:1}),(n()(),o["\u0275eld"](60,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","borderWidth"],["matInput",""],["placeholder","Border width"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,61)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,61).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,61)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,61)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,62).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,62).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,62).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,67)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,67)._onInput()&&l),l},null,null)),o["\u0275did"](61,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](62,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](64,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](66,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](67,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[19,4],[20,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,null,1,null,aZ)),o["\u0275did"](70,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](71,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](72,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,37,{_controlNonStatic:0}),o["\u0275qud"](335544320,38,{_controlStatic:0}),o["\u0275qud"](603979776,39,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,40,{_labelChildStatic:0}),o["\u0275qud"](603979776,41,{_placeholderChild:0}),o["\u0275qud"](603979776,42,{_errorChildren:1}),o["\u0275qud"](603979776,43,{_hintChildren:1}),o["\u0275qud"](603979776,44,{_prefixChildren:1}),o["\u0275qud"](603979776,45,{_suffixChildren:1}),(n()(),o["\u0275eld"](82,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rotation"],["matInput",""],["placeholder","Rotation"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,83)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,83).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,83)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,83)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,84).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,84).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,84).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,89)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,89)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,89)._onInput()&&l),l},null,null)),o["\u0275did"](83,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](84,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](86,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](88,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](89,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[37,4],[38,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](91,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](92,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](93,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](94,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](96,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](97,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"]))],function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.formGroup);var l=t.element.fill,o=n(e,24,0,!0);n(e,23,0,l,o),n(e,27,0,"Fill color","color");var r=t.element.stroke,i=n(e,44,0,!0);n(e,43,0,r,i),n(e,47,0,"Border color","color"),n(e,64,0,"borderWidth"),n(e,67,0,"Border width","number"),n(e,70,0,t.element.stroke_dasharray),n(e,86,0,"rotation"),n(e,89,0,"Rotation","number"),n(e,94,0,"accent"),n(e,97,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,4,0,o["\u0275nov"](e,8).ngClassUntouched,o["\u0275nov"](e,8).ngClassTouched,o["\u0275nov"](e,8).ngClassPristine,o["\u0275nov"](e,8).ngClassDirty,o["\u0275nov"](e,8).ngClassValid,o["\u0275nov"](e,8).ngClassInvalid,o["\u0275nov"](e,8).ngClassPending),n(e,9,1,["standard"==o["\u0275nov"](e,10).appearance,"fill"==o["\u0275nov"](e,10).appearance,"outline"==o["\u0275nov"](e,10).appearance,"legacy"==o["\u0275nov"](e,10).appearance,o["\u0275nov"](e,10)._control.errorState,o["\u0275nov"](e,10)._canLabelFloat,o["\u0275nov"](e,10)._shouldLabelFloat(),o["\u0275nov"](e,10)._hasFloatingLabel(),o["\u0275nov"](e,10)._hideControlPlaceholder(),o["\u0275nov"](e,10)._control.disabled,o["\u0275nov"](e,10)._control.autofilled,o["\u0275nov"](e,10)._control.focused,"accent"==o["\u0275nov"](e,10).color,"warn"==o["\u0275nov"](e,10).color,o["\u0275nov"](e,10)._shouldForward("untouched"),o["\u0275nov"](e,10)._shouldForward("touched"),o["\u0275nov"](e,10)._shouldForward("pristine"),o["\u0275nov"](e,10)._shouldForward("dirty"),o["\u0275nov"](e,10)._shouldForward("valid"),o["\u0275nov"](e,10)._shouldForward("invalid"),o["\u0275nov"](e,10)._shouldForward("pending"),!o["\u0275nov"](e,10)._animationsEnabled]),n(e,20,1,[o["\u0275nov"](e,26).ngClassUntouched,o["\u0275nov"](e,26).ngClassTouched,o["\u0275nov"](e,26).ngClassPristine,o["\u0275nov"](e,26).ngClassDirty,o["\u0275nov"](e,26).ngClassValid,o["\u0275nov"](e,26).ngClassInvalid,o["\u0275nov"](e,26).ngClassPending,o["\u0275nov"](e,27)._isServer,o["\u0275nov"](e,27).id,o["\u0275nov"](e,27).placeholder,o["\u0275nov"](e,27).disabled,o["\u0275nov"](e,27).required,o["\u0275nov"](e,27).readonly&&!o["\u0275nov"](e,27)._isNativeSelect||null,o["\u0275nov"](e,27)._ariaDescribedby||null,o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).required.toString()]),n(e,29,1,["standard"==o["\u0275nov"](e,30).appearance,"fill"==o["\u0275nov"](e,30).appearance,"outline"==o["\u0275nov"](e,30).appearance,"legacy"==o["\u0275nov"](e,30).appearance,o["\u0275nov"](e,30)._control.errorState,o["\u0275nov"](e,30)._canLabelFloat,o["\u0275nov"](e,30)._shouldLabelFloat(),o["\u0275nov"](e,30)._hasFloatingLabel(),o["\u0275nov"](e,30)._hideControlPlaceholder(),o["\u0275nov"](e,30)._control.disabled,o["\u0275nov"](e,30)._control.autofilled,o["\u0275nov"](e,30)._control.focused,"accent"==o["\u0275nov"](e,30).color,"warn"==o["\u0275nov"](e,30).color,o["\u0275nov"](e,30)._shouldForward("untouched"),o["\u0275nov"](e,30)._shouldForward("touched"),o["\u0275nov"](e,30)._shouldForward("pristine"),o["\u0275nov"](e,30)._shouldForward("dirty"),o["\u0275nov"](e,30)._shouldForward("valid"),o["\u0275nov"](e,30)._shouldForward("invalid"),o["\u0275nov"](e,30)._shouldForward("pending"),!o["\u0275nov"](e,30)._animationsEnabled]),n(e,40,1,[o["\u0275nov"](e,46).ngClassUntouched,o["\u0275nov"](e,46).ngClassTouched,o["\u0275nov"](e,46).ngClassPristine,o["\u0275nov"](e,46).ngClassDirty,o["\u0275nov"](e,46).ngClassValid,o["\u0275nov"](e,46).ngClassInvalid,o["\u0275nov"](e,46).ngClassPending,o["\u0275nov"](e,47)._isServer,o["\u0275nov"](e,47).id,o["\u0275nov"](e,47).placeholder,o["\u0275nov"](e,47).disabled,o["\u0275nov"](e,47).required,o["\u0275nov"](e,47).readonly&&!o["\u0275nov"](e,47)._isNativeSelect||null,o["\u0275nov"](e,47)._ariaDescribedby||null,o["\u0275nov"](e,47).errorState,o["\u0275nov"](e,47).required.toString()]),n(e,49,1,["standard"==o["\u0275nov"](e,50).appearance,"fill"==o["\u0275nov"](e,50).appearance,"outline"==o["\u0275nov"](e,50).appearance,"legacy"==o["\u0275nov"](e,50).appearance,o["\u0275nov"](e,50)._control.errorState,o["\u0275nov"](e,50)._canLabelFloat,o["\u0275nov"](e,50)._shouldLabelFloat(),o["\u0275nov"](e,50)._hasFloatingLabel(),o["\u0275nov"](e,50)._hideControlPlaceholder(),o["\u0275nov"](e,50)._control.disabled,o["\u0275nov"](e,50)._control.autofilled,o["\u0275nov"](e,50)._control.focused,"accent"==o["\u0275nov"](e,50).color,"warn"==o["\u0275nov"](e,50).color,o["\u0275nov"](e,50)._shouldForward("untouched"),o["\u0275nov"](e,50)._shouldForward("touched"),o["\u0275nov"](e,50)._shouldForward("pristine"),o["\u0275nov"](e,50)._shouldForward("dirty"),o["\u0275nov"](e,50)._shouldForward("valid"),o["\u0275nov"](e,50)._shouldForward("invalid"),o["\u0275nov"](e,50)._shouldForward("pending"),!o["\u0275nov"](e,50)._animationsEnabled]),n(e,60,1,[o["\u0275nov"](e,66).ngClassUntouched,o["\u0275nov"](e,66).ngClassTouched,o["\u0275nov"](e,66).ngClassPristine,o["\u0275nov"](e,66).ngClassDirty,o["\u0275nov"](e,66).ngClassValid,o["\u0275nov"](e,66).ngClassInvalid,o["\u0275nov"](e,66).ngClassPending,o["\u0275nov"](e,67)._isServer,o["\u0275nov"](e,67).id,o["\u0275nov"](e,67).placeholder,o["\u0275nov"](e,67).disabled,o["\u0275nov"](e,67).required,o["\u0275nov"](e,67).readonly&&!o["\u0275nov"](e,67)._isNativeSelect||null,o["\u0275nov"](e,67)._ariaDescribedby||null,o["\u0275nov"](e,67).errorState,o["\u0275nov"](e,67).required.toString()]),n(e,71,1,["standard"==o["\u0275nov"](e,72).appearance,"fill"==o["\u0275nov"](e,72).appearance,"outline"==o["\u0275nov"](e,72).appearance,"legacy"==o["\u0275nov"](e,72).appearance,o["\u0275nov"](e,72)._control.errorState,o["\u0275nov"](e,72)._canLabelFloat,o["\u0275nov"](e,72)._shouldLabelFloat(),o["\u0275nov"](e,72)._hasFloatingLabel(),o["\u0275nov"](e,72)._hideControlPlaceholder(),o["\u0275nov"](e,72)._control.disabled,o["\u0275nov"](e,72)._control.autofilled,o["\u0275nov"](e,72)._control.focused,"accent"==o["\u0275nov"](e,72).color,"warn"==o["\u0275nov"](e,72).color,o["\u0275nov"](e,72)._shouldForward("untouched"),o["\u0275nov"](e,72)._shouldForward("touched"),o["\u0275nov"](e,72)._shouldForward("pristine"),o["\u0275nov"](e,72)._shouldForward("dirty"),o["\u0275nov"](e,72)._shouldForward("valid"),o["\u0275nov"](e,72)._shouldForward("invalid"),o["\u0275nov"](e,72)._shouldForward("pending"),!o["\u0275nov"](e,72)._animationsEnabled]),n(e,82,1,[o["\u0275nov"](e,88).ngClassUntouched,o["\u0275nov"](e,88).ngClassTouched,o["\u0275nov"](e,88).ngClassPristine,o["\u0275nov"](e,88).ngClassDirty,o["\u0275nov"](e,88).ngClassValid,o["\u0275nov"](e,88).ngClassInvalid,o["\u0275nov"](e,88).ngClassPending,o["\u0275nov"](e,89)._isServer,o["\u0275nov"](e,89).id,o["\u0275nov"](e,89).placeholder,o["\u0275nov"](e,89).disabled,o["\u0275nov"](e,89).required,o["\u0275nov"](e,89).readonly&&!o["\u0275nov"](e,89)._isNativeSelect||null,o["\u0275nov"](e,89)._ariaDescribedby||null,o["\u0275nov"](e,89).errorState,o["\u0275nov"](e,89).required.toString()]),n(e,93,0,o["\u0275nov"](e,94).disabled||null,"NoopAnimations"===o["\u0275nov"](e,94)._animationMode),n(e,96,0,o["\u0275nov"](e,97).disabled||null,"NoopAnimations"===o["\u0275nov"](e,97)._animationMode)})}function sZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-style-editor",[],null,null,null,uZ,iZ)),o["\u0275did"](1,114688,null,0,tB,[mv,QO,EV,kV,_V,rv,vc,nB,eB],null,null)],function(n,e){n(e,1,0)},null)}var dZ=o["\u0275ccf"]("app-style-editor",tB,sZ,{},{},[]),cZ=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(n){return{left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"}}}}),pZ=function(){function n(n,e,t,l){this._elementRef=n,this._ngZone=e,this._inkBarPositioner=t,this._animationMode=l}return n.prototype.alignToElement=function(n){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(n)})}):this._setStyles(n)},n.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},n.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},n.prototype._setStyles=function(n){var e=this._inkBarPositioner(n),t=this._elementRef.nativeElement;t.style.left=e.left,t.style.width=e.width},n}(),fZ=function(n){function e(e){var t=n.call(this)||this;return t._viewContainerRef=e,t.textLabel="",t._contentPortal=null,t._stateChanges=new A.b,t.position=null,t.origin=null,t.isActive=!1,t}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(n){(n.hasOwnProperty("textLabel")||n.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new ws(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}($o(function(){return function(){}}())),hZ=function(n){function e(e,t,l){var o=n.call(this,e,t)||this;return o._host=l,o._centeringSub=wo.a.EMPTY,o._leavingSub=wo.a.EMPTY,o}return Object(s.__extends)(e,n),e.prototype.ngOnInit=function(){var e=this;n.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(W.a)(this._host._isCenterPosition(this._host._position))).subscribe(function(n){n&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},e.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(Ss),mZ=function(){function n(n,e,t){var l=this;this._elementRef=n,this._dir=e,this._dirChangeSubscription=wo.a.EMPTY,this._translateTabComplete=new A.b,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(function(n){l._computePositionAnimationState(n),t.markForCheck()})),this._translateTabComplete.pipe(Object(Fs.a)(function(n,e){return n.fromState===e.fromState&&n.toState===e.toState})).subscribe(function(n){l._isCenterPosition(n.toState)&&l._isCenterPosition(l._position)&&l._onCentered.emit(),l._isCenterPosition(n.fromState)&&!l._isCenterPosition(l._position)&&l._afterLeavingCenter.emit()})}return Object.defineProperty(n.prototype,"position",{set:function(n){this._positionIndex=n,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},n.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},n.prototype._onTranslateTabStarted=function(n){var e=this._isCenterPosition(n.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._isCenterPosition=function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n},n.prototype._computePositionAnimationState=function(n){void 0===n&&(n=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"},n.prototype._computePositionFromOrigin=function(){var n=this._getLayoutDirection();return"ltr"==n&&this.origin<=0||"rtl"==n&&this.origin>0?"left-origin-center":"right-origin-center"},n}(),vZ=function(n){function e(e){var t=n.call(this)||this;return t.elementRef=e,t}return Object(s.__extends)(e,n),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}($o(function(){return function(){}}())),gZ=yo({passive:!0}),bZ=function(n){function e(e,t,l,o,r,i,a){var u=n.call(this,e,t,l,o,r,i,a)||this;return u._disableRipple=!1,u}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=uo(n)},enumerable:!0,configurable:!0}),e.prototype._itemSelected=function(n){n.preventDefault()},e}(function(){function n(n,e,t,l,r,i,a){var u=this;this._elementRef=n,this._changeDetectorRef=e,this._viewportRuler=t,this._dir=l,this._ngZone=r,this._platform=i,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new A.b,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new A.b,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,r.runOutsideAngular(function(){Object(Os.a)(n.nativeElement,"mouseleave").pipe(Object(Is.a)(u._destroyed)).subscribe(function(){u._stopInterval()})})}return Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){n=so(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItemIndex(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;Object(Os.a)(this._previousPaginator.nativeElement,"touchstart",gZ).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){n._handlePaginatorPress("before")}),Object(Os.a)(this._nextPaginator.nativeElement,"touchstart",gZ).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){n._handlePaginatorPress("after")})},n.prototype.ngAfterContentInit=function(){var n=this,e=this._dir?this._dir.change:Object(D.a)(null),t=this._viewportRuler.change(150),l=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new Fo(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(l):l(),Object(Ts.a)(e,t,this._items.changes).pipe(Object(Is.a)(this._destroyed)).subscribe(function(){l(),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())}),this._keyManager.change.pipe(Object(Is.a)(this._destroyed)).subscribe(function(e){n.indexFocused.emit(e),n._setTabFocus(e)})},n.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},n.prototype._handleKeydown=function(n){if(!xo(n))switch(n.keyCode){case 36:this._keyManager.setFirstItemActive(),n.preventDefault();break;case 35:this._keyManager.setLastItemActive(),n.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n);break;default:this._keyManager.onKeydown(n)}},n.prototype._onContentChanges=function(){var n=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()}))},n.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(n.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){this._isValidIndex(n)&&this.focusIndex!==n&&this._keyManager&&this._keyManager.setActiveItem(n)},enumerable:!0,configurable:!0}),n.prototype._isValidIndex=function(n){if(!this._items)return!0;var e=this._items?this._items.toArray()[n]:null;return!!e&&!e.disabled},n.prototype._setTabFocus=function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var e=this._tabListContainer.nativeElement,t=this._getLayoutDirection();e.scrollLeft="ltr"==t?0:e.scrollWidth-e.offsetWidth}},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._updateTabScrollPosition=function(){var n=this.scrollDistance,e=this._platform,t="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX("+Math.round(t)+"px)",e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)},Object.defineProperty(n.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)},enumerable:!0,configurable:!0}),n.prototype._scrollHeader=function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},n.prototype._handlePaginatorClick=function(n){this._stopInterval(),this._scrollHeader(n)},n.prototype._scrollToLabel=function(n){var e=this._items?this._items.toArray()[n]:null;if(e){var t,l,o=this._tabListContainer.nativeElement.offsetWidth,r=e.elementRef.nativeElement,i=r.offsetLeft,a=r.offsetWidth;"ltr"==this._getLayoutDirection()?l=(t=i)+a:t=(l=this._tabList.nativeElement.offsetWidth-i)-a;var u=this.scrollDistance,s=this.scrollDistance+o;t<u?this.scrollDistance-=u-t+60:l>s&&(this.scrollDistance+=l-s+60)}},n.prototype._checkPaginationEnabled=function(){var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n},n.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},n.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},n.prototype._alignInkBarToSelectedTab=function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=n?n.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},n.prototype._stopInterval=function(){this._stopScrolling.next()},n.prototype._handlePaginatorPress=function(n){var e=this;this._stopInterval(),Object(qp.a)(650,100).pipe(Object(Is.a)(Object(Ts.a)(this._stopScrolling,this._destroyed))).subscribe(function(){var t=e._scrollHeader(n),l=t.distance;(0===l||l>=t.maxScrollDistance)&&e._stopInterval()})},n.prototype._scrollTo=function(n){var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},n}()),_Z=0,yZ=function(){return function(){}}(),wZ=new o.InjectionToken("MAT_TABS_CONFIG"),CZ=function(n){function e(e,t,l,r){var i=n.call(this,e)||this;return i._changeDetectorRef=t,i._animationMode=r,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=wo.a.EMPTY,i._tabLabelSubscription=wo.a.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new o.EventEmitter,i.focusChange=new o.EventEmitter,i.animationDone=new o.EventEmitter,i.selectedTabChange=new o.EventEmitter(!0),i._groupId=_Z++,i.animationDuration=l&&l.animationDuration?l.animationDuration:"500ms",i}return Object(s.__extends)(e,n),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(n){this._dynamicHeight=uo(n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){this._indexToSelect=so(n,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(n){this._animationDuration=/^\d+$/.test(n)?n+"ms":n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(n){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),n&&e.classList.add("mat-background-"+n),this._backgroundColor=n},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var n=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){n._tabs.forEach(function(n,t){return n.isActive=t===e}),t||n.selectedIndexChange.emit(e)})}this._tabs.forEach(function(t,l){t.position=l-e,null==n._selectedIndex||0!=t.position||t.origin||(t.origin=e-n._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var n=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(n._clampTabIndex(n._indexToSelect)===n._selectedIndex)for(var e=n._tabs.toArray(),t=0;t<e.length;t++)if(e[t].isActive){n._indexToSelect=n._selectedIndex=t;break}n._subscribeToTabLabels(),n._changeDetectorRef.markForCheck()})},e.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(n){this.focusChange.emit(this._createChangeEvent(n))},e.prototype._createChangeEvent=function(n){var e=new yZ;return e.index=n,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[n]),e},e.prototype._subscribeToTabLabels=function(){var n=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Ts.a.apply(void 0,this._tabs.map(function(n){return n._stateChanges})).subscribe(function(){return n._changeDetectorRef.markForCheck()})},e.prototype._clampTabIndex=function(n){return Math.min(this._tabs.length-1,Math.max(n||0,0))},e.prototype._getTabLabelId=function(n){return"mat-tab-label-"+this._groupId+"-"+n},e.prototype._getTabContentId=function(n){return"mat-tab-content-"+this._groupId+"-"+n},e.prototype._setTabBodyWrapperHeight=function(n){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=n+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var n=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=n.clientHeight,n.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(n,e,t){n.disabled||(this.selectedIndex=e.focusIndex=t)},e.prototype._getTabIndex=function(n,e){return n.disabled?null:this.selectedIndex===e?0:-1},e}(Xo(Qo(function(){return function(n){this._elementRef=n}}()),"primary")),xZ=function(){return function(){}}(),SZ=o["\u0275crt"]({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function kZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function EZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](16777216,null,null,1,null,kZ)),o["\u0275did"](1,212992,null,0,Ss,[o.ComponentFactoryResolver,o.ViewContainerRef],{portal:[0,"portal"]},null),(n()(),o["\u0275and"](0,null,null,0))],function(n,e){n(e,1,0,e.parent.context.$implicit.templateLabel)},null)}function TZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275ted"](0,null,["",""]))],null,function(n,e){n(e,0,0,e.parent.context.$implicit.textLabel)})}function RZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component._handleClick(n.context.$implicit,o["\u0275nov"](n.parent,3),n.context.index)&&l),l},null,null)),o["\u0275did"](1,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"]},null),o["\u0275did"](2,147456,null,0,Ho,[o.ElementRef,Uo],null,null),o["\u0275did"](3,16384,[[3,4]],0,vZ,[o.ElementRef],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,EZ)),o["\u0275did"](6,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,null,1,null,TZ)),o["\u0275did"](8,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(n,e){n(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),n(e,3,0,e.context.$implicit.disabled),n(e,6,0,e.context.$implicit.templateLabel),n(e,8,0,!e.context.$implicit.templateLabel)},function(n,e){var t=e.component;n(e,0,1,[t._getTabLabelId(e.context.index),t._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,t._tabs.length,t._getTabContentId(e.context.index),t.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,t.selectedIndex==e.context.index,o["\u0275nov"](e,1).unbounded,o["\u0275nov"](e,3).disabled,!!o["\u0275nov"](e,3).disabled])})}function IZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],function(n,e,t){var l=!0,o=n.component;return"_onCentered"===e&&(l=!1!==o._removeTabBodyWrapperHeight()&&l),"_onCentering"===e&&(l=!1!==o._setTabBodyWrapperHeight(t)&&l),l},NZ,OZ)),o["\u0275did"](1,245760,null,0,mZ,[o.ElementRef,[2,Ar],o.ChangeDetectorRef],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(n,e){n(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)},function(n,e){var t=e.component;n(e,0,0,t._getTabContentId(e.context.index),t._getTabLabelId(e.context.index),t.selectedIndex==e.context.index)})}function DZ(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_tabBodyWrapper:0}),o["\u0275qud"](671088640,2,{_tabHeader:0}),(n()(),o["\u0275eld"](2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],function(n,e,t){var l=!0,o=n.component;return"indexFocused"===e&&(l=!1!==o._focusChanged(t)&&l),"selectFocusedIndex"===e&&(l=!1!==(o.selectedIndex=t)&&l),l},AZ,MZ)),o["\u0275did"](3,7520256,[[2,4],["tabHeader",4]],1,bZ,[o.ElementRef,o.ChangeDetectorRef,zs,[2,Ar],o.NgZone,vo,[2,su]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),o["\u0275qud"](603979776,3,{_items:1}),(n()(),o["\u0275and"](16777216,null,0,1,null,RZ)),o["\u0275did"](6,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,IZ)),o["\u0275did"](9,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(n,e){var t=e.component;n(e,3,0,t.selectedIndex,t.disableRipple),n(e,6,0,t._tabs),n(e,9,0,t._tabs)},function(n,e){var t=e.component;n(e,2,0,o["\u0275nov"](e,3)._showPaginationControls,"rtl"==o["\u0275nov"](e,3)._getLayoutDirection()),n(e,7,0,"NoopAnimations"===t._animationMode)})}var OZ=o["\u0275crt"]({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function FZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275and"](0,null,null,0))],null,null)}function NZ(n){return o["\u0275vid"](2,[o["\u0275qud"](671088640,1,{_portalHost:0}),(n()(),o["\u0275eld"](1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(n,e,t){var l=!0,o=n.component;return"@translateTab.start"===e&&(l=!1!==o._onTranslateTabStarted(t)&&l),"@translateTab.done"===e&&(l=!1!==o._translateTabComplete.next(t)&&l),l},null,null)),o["\u0275pod"](2,{animationDuration:0}),o["\u0275pod"](3,{value:0,params:1}),(n()(),o["\u0275and"](16777216,null,null,1,null,FZ)),o["\u0275did"](5,212992,null,0,hZ,[o.ComponentFactoryResolver,o.ViewContainerRef,mZ],null,null)],function(n,e){n(e,5,0)},function(n,e){var t=e.component,l=n(e,3,0,t._position,n(e,2,0,t.animationDuration));n(e,1,0,l)})}var MZ=o["\u0275crt"]({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function AZ(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_inkBar:0}),o["\u0275qud"](402653184,2,{_tabListContainer:0}),o["\u0275qud"](402653184,3,{_tabList:0}),o["\u0275qud"](671088640,4,{_nextPaginator:0}),o["\u0275qud"](671088640,5,{_previousPaginator:0}),(n()(),o["\u0275eld"](5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],function(n,e,t){var l=!0,o=n.component;return"click"===e&&(l=!1!==o._handlePaginatorClick("before")&&l),"mousedown"===e&&(l=!1!==o._handlePaginatorPress("before")&&l),"touchend"===e&&(l=!1!==o._stopInterval()&&l),l},null,null)),o["\u0275did"](6,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(n,e,t){var l=!0;return"keydown"===e&&(l=!1!==n.component._handleKeydown(t)&&l),l},null,null)),(n()(),o["\u0275eld"](9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],function(n,e,t){var l=!0;return"cdkObserveContent"===e&&(l=!1!==n.component._onContentChanges()&&l),l},null,null)),o["\u0275did"](10,1196032,null,0,Ob,[Db,o.ElementRef,o.NgZone],null,{event:"cdkObserveContent"}),(n()(),o["\u0275eld"](11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(n()(),o["\u0275eld"](13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),o["\u0275did"](14,16384,[[1,4]],0,pZ,[o.ElementRef,o.NgZone,cZ,[2,su]],null,null),(n()(),o["\u0275eld"](15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],function(n,e,t){var l=!0,o=n.component;return"mousedown"===e&&(l=!1!==o._handlePaginatorPress("after")&&l),"click"===e&&(l=!1!==o._handlePaginatorClick("after")&&l),"touchend"===e&&(l=!1!==o._stopInterval()&&l),l},null,null)),o["\u0275did"](16,212992,null,0,vr,[o.ElementRef,o.NgZone,vo,[2,mr],[2,su]],{disabled:[0,"disabled"]},null),(n()(),o["\u0275eld"](17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(n,e){var t=e.component;n(e,6,0,t._disableScrollBefore||t.disableRipple),n(e,16,0,t._disableScrollAfter||t.disableRipple)},function(n,e){var t=e.component;n(e,5,0,t._disableScrollBefore,o["\u0275nov"](e,6).unbounded),n(e,9,0,"NoopAnimations"===t._animationMode),n(e,13,0,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode),n(e,15,0,t._disableScrollAfter,o["\u0275nov"](e,16).unbounded)})}var qZ=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function PZ(n){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),(n()(),o["\u0275and"](0,null,null,0))],null,null)}function jZ(n){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{_implicitContent:0}),(n()(),o["\u0275and"](0,[[1,2]],null,0,null,PZ))],null,null)}var LZ=o["\u0275crt"]({encapsulation:0,styles:[[".spacer[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{height:260px}.item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-field[_ngcontent-%COMP%]{width:100%;margin-top:10px}.divider[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;flex:1 1 auto}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function VZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,141,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,DZ,SZ)),o["\u0275did"](1,3325952,null,1,CZ,[o.ElementRef,o.ChangeDetectorRef,[2,wZ],[2,su]],null,null),o["\u0275qud"](603979776,1,{_tabs:1}),(n()(),o["\u0275eld"](3,16777216,null,null,23,"mat-tab",[["label","Frequency drop"]],null,null,null,jZ,qZ)),o["\u0275did"](4,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,2,{templateLabel:0}),o["\u0275qud"](335544320,3,{_explicitContent:0}),(n()(),o["\u0275eld"](7,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](8,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,4,{_controlNonStatic:0}),o["\u0275qud"](335544320,5,{_controlStatic:0}),o["\u0275qud"](603979776,6,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,7,{_labelChildStatic:0}),o["\u0275qud"](603979776,8,{_placeholderChild:0}),o["\u0275qud"](603979776,9,{_errorChildren:1}),o["\u0275qud"](603979776,10,{_hintChildren:1}),o["\u0275qud"](603979776,11,{_prefixChildren:1}),o["\u0275qud"](603979776,12,{_suffixChildren:1}),(n()(),o["\u0275eld"](18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Frequency"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,19)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,19).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,19)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,19)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,20).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,20).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,20).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,25)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,25)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.frequency_drop[0]=t)&&l),l},null,null)),o["\u0275did"](19,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](20,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](22,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](24,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](25,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[4,4],[5,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](27,16777216,null,null,23,"mat-tab",[["label","Packet loss"]],null,null,null,jZ,qZ)),o["\u0275did"](28,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,13,{templateLabel:0}),o["\u0275qud"](335544320,14,{_explicitContent:0}),(n()(),o["\u0275eld"](31,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](32,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,15,{_controlNonStatic:0}),o["\u0275qud"](335544320,16,{_controlStatic:0}),o["\u0275qud"](603979776,17,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,18,{_labelChildStatic:0}),o["\u0275qud"](603979776,19,{_placeholderChild:0}),o["\u0275qud"](603979776,20,{_errorChildren:1}),o["\u0275qud"](603979776,21,{_hintChildren:1}),o["\u0275qud"](603979776,22,{_prefixChildren:1}),o["\u0275qud"](603979776,23,{_suffixChildren:1}),(n()(),o["\u0275eld"](42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Chance"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,43)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,43).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,43)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,43)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,44).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,44).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,44).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,49)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,49)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.packet_loss[0]=t)&&l),l},null,null)),o["\u0275did"](43,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](44,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](46,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](48,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](49,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[15,4],[16,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](51,16777216,null,null,43,"mat-tab",[["label","Delay"]],null,null,null,jZ,qZ)),o["\u0275did"](52,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,24,{templateLabel:0}),o["\u0275qud"](335544320,25,{_explicitContent:0}),(n()(),o["\u0275eld"](55,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](56,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,26,{_controlNonStatic:0}),o["\u0275qud"](335544320,27,{_controlStatic:0}),o["\u0275qud"](603979776,28,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,29,{_labelChildStatic:0}),o["\u0275qud"](603979776,30,{_placeholderChild:0}),o["\u0275qud"](603979776,31,{_errorChildren:1}),o["\u0275qud"](603979776,32,{_hintChildren:1}),o["\u0275qud"](603979776,33,{_prefixChildren:1}),o["\u0275qud"](603979776,34,{_suffixChildren:1}),(n()(),o["\u0275eld"](66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latency"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,67)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,67).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,67)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,67)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,68).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,68).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,68).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,73)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,73)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,73)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.delay[0]=t)&&l),l},null,null)),o["\u0275did"](67,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](68,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](70,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](72,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](73,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[26,4],[27,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](75,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](76,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,35,{_controlNonStatic:0}),o["\u0275qud"](335544320,36,{_controlStatic:0}),o["\u0275qud"](603979776,37,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,38,{_labelChildStatic:0}),o["\u0275qud"](603979776,39,{_placeholderChild:0}),o["\u0275qud"](603979776,40,{_errorChildren:1}),o["\u0275qud"](603979776,41,{_hintChildren:1}),o["\u0275qud"](603979776,42,{_prefixChildren:1}),o["\u0275qud"](603979776,43,{_suffixChildren:1}),(n()(),o["\u0275eld"](86,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Jitter"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,87)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,87).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,87)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,88).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,88).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,88).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,93)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,93)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,93)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.delay[1]=t)&&l),l},null,null)),o["\u0275did"](87,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](88,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](90,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](92,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](93,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[35,4],[36,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](95,16777216,null,null,23,"mat-tab",[["label","Corrupt"]],null,null,null,jZ,qZ)),o["\u0275did"](96,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,44,{templateLabel:0}),o["\u0275qud"](335544320,45,{_explicitContent:0}),(n()(),o["\u0275eld"](99,0,null,0,19,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](100,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,46,{_controlNonStatic:0}),o["\u0275qud"](335544320,47,{_controlStatic:0}),o["\u0275qud"](603979776,48,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,49,{_labelChildStatic:0}),o["\u0275qud"](603979776,50,{_placeholderChild:0}),o["\u0275qud"](603979776,51,{_errorChildren:1}),o["\u0275qud"](603979776,52,{_hintChildren:1}),o["\u0275qud"](603979776,53,{_prefixChildren:1}),o["\u0275qud"](603979776,54,{_suffixChildren:1}),(n()(),o["\u0275eld"](110,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Latency"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,111)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,111).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,111)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,111)._compositionEnd(t.target.value)&&l),"change"===e&&(l=!1!==o["\u0275nov"](n,112).onChange(t.target.value)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,112).onChange(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,112).onTouched()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,117)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,117)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,117)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.corrupt[0]=t)&&l),l},null,null)),o["\u0275did"](111,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275did"](112,16384,null,0,mm,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,$h,function(n,e){return[n,e]},[Jh,mm]),o["\u0275did"](114,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](116,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](117,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[46,4],[47,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](119,16777216,null,null,22,"mat-tab",[["label","Berkeley Packet Filter (BPF)"]],null,null,null,jZ,qZ)),o["\u0275did"](120,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,55,{templateLabel:0}),o["\u0275qud"](335544320,56,{_explicitContent:0}),(n()(),o["\u0275eld"](123,0,null,0,18,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](124,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,57,{_controlNonStatic:0}),o["\u0275qud"](335544320,58,{_controlStatic:0}),o["\u0275qud"](603979776,59,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,60,{_labelChildStatic:0}),o["\u0275qud"](603979776,61,{_placeholderChild:0}),o["\u0275qud"](603979776,62,{_errorChildren:1}),o["\u0275qud"](603979776,63,{_hintChildren:1}),o["\u0275qud"](603979776,64,{_prefixChildren:1}),o["\u0275qud"](603979776,65,{_suffixChildren:1}),(n()(),o["\u0275eld"](134,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,135)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,135).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,135)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,135)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,140)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,140)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,140)._onInput()&&l),"ngModelChange"===e&&(l=!1!==(r.filters.bpf[0]=t)&&l),l},null,null)),o["\u0275did"](135,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](137,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](139,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](140,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{type:[0,"type"]},null),o["\u0275prd"](2048,[[57,4],[58,4]],Pb,null,[d_])],function(n,e){var t=e.component;n(e,4,0,"Frequency drop"),n(e,22,0,t.filters.frequency_drop[0]),n(e,25,0,"Frequency","number"),n(e,28,0,"Packet loss"),n(e,46,0,t.filters.packet_loss[0]),n(e,49,0,"Chance","number"),n(e,52,0,"Delay"),n(e,70,0,t.filters.delay[0]),n(e,73,0,"Latency","number"),n(e,90,0,t.filters.delay[1]),n(e,93,0,"Jitter","number"),n(e,96,0,"Corrupt"),n(e,114,0,t.filters.corrupt[0]),n(e,117,0,"Latency","number"),n(e,120,0,"Berkeley Packet Filter (BPF)"),n(e,137,0,t.filters.bpf[0]),n(e,140,0,"text")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).dynamicHeight,"below"===o["\u0275nov"](e,1).headerPosition),n(e,7,1,["standard"==o["\u0275nov"](e,8).appearance,"fill"==o["\u0275nov"](e,8).appearance,"outline"==o["\u0275nov"](e,8).appearance,"legacy"==o["\u0275nov"](e,8).appearance,o["\u0275nov"](e,8)._control.errorState,o["\u0275nov"](e,8)._canLabelFloat,o["\u0275nov"](e,8)._shouldLabelFloat(),o["\u0275nov"](e,8)._hasFloatingLabel(),o["\u0275nov"](e,8)._hideControlPlaceholder(),o["\u0275nov"](e,8)._control.disabled,o["\u0275nov"](e,8)._control.autofilled,o["\u0275nov"](e,8)._control.focused,"accent"==o["\u0275nov"](e,8).color,"warn"==o["\u0275nov"](e,8).color,o["\u0275nov"](e,8)._shouldForward("untouched"),o["\u0275nov"](e,8)._shouldForward("touched"),o["\u0275nov"](e,8)._shouldForward("pristine"),o["\u0275nov"](e,8)._shouldForward("dirty"),o["\u0275nov"](e,8)._shouldForward("valid"),o["\u0275nov"](e,8)._shouldForward("invalid"),o["\u0275nov"](e,8)._shouldForward("pending"),!o["\u0275nov"](e,8)._animationsEnabled]),n(e,18,1,[o["\u0275nov"](e,24).ngClassUntouched,o["\u0275nov"](e,24).ngClassTouched,o["\u0275nov"](e,24).ngClassPristine,o["\u0275nov"](e,24).ngClassDirty,o["\u0275nov"](e,24).ngClassValid,o["\u0275nov"](e,24).ngClassInvalid,o["\u0275nov"](e,24).ngClassPending,o["\u0275nov"](e,25)._isServer,o["\u0275nov"](e,25).id,o["\u0275nov"](e,25).placeholder,o["\u0275nov"](e,25).disabled,o["\u0275nov"](e,25).required,o["\u0275nov"](e,25).readonly&&!o["\u0275nov"](e,25)._isNativeSelect||null,o["\u0275nov"](e,25)._ariaDescribedby||null,o["\u0275nov"](e,25).errorState,o["\u0275nov"](e,25).required.toString()]),n(e,31,1,["standard"==o["\u0275nov"](e,32).appearance,"fill"==o["\u0275nov"](e,32).appearance,"outline"==o["\u0275nov"](e,32).appearance,"legacy"==o["\u0275nov"](e,32).appearance,o["\u0275nov"](e,32)._control.errorState,o["\u0275nov"](e,32)._canLabelFloat,o["\u0275nov"](e,32)._shouldLabelFloat(),o["\u0275nov"](e,32)._hasFloatingLabel(),o["\u0275nov"](e,32)._hideControlPlaceholder(),o["\u0275nov"](e,32)._control.disabled,o["\u0275nov"](e,32)._control.autofilled,o["\u0275nov"](e,32)._control.focused,"accent"==o["\u0275nov"](e,32).color,"warn"==o["\u0275nov"](e,32).color,o["\u0275nov"](e,32)._shouldForward("untouched"),o["\u0275nov"](e,32)._shouldForward("touched"),o["\u0275nov"](e,32)._shouldForward("pristine"),o["\u0275nov"](e,32)._shouldForward("dirty"),o["\u0275nov"](e,32)._shouldForward("valid"),o["\u0275nov"](e,32)._shouldForward("invalid"),o["\u0275nov"](e,32)._shouldForward("pending"),!o["\u0275nov"](e,32)._animationsEnabled]),n(e,42,1,[o["\u0275nov"](e,48).ngClassUntouched,o["\u0275nov"](e,48).ngClassTouched,o["\u0275nov"](e,48).ngClassPristine,o["\u0275nov"](e,48).ngClassDirty,o["\u0275nov"](e,48).ngClassValid,o["\u0275nov"](e,48).ngClassInvalid,o["\u0275nov"](e,48).ngClassPending,o["\u0275nov"](e,49)._isServer,o["\u0275nov"](e,49).id,o["\u0275nov"](e,49).placeholder,o["\u0275nov"](e,49).disabled,o["\u0275nov"](e,49).required,o["\u0275nov"](e,49).readonly&&!o["\u0275nov"](e,49)._isNativeSelect||null,o["\u0275nov"](e,49)._ariaDescribedby||null,o["\u0275nov"](e,49).errorState,o["\u0275nov"](e,49).required.toString()]),n(e,55,1,["standard"==o["\u0275nov"](e,56).appearance,"fill"==o["\u0275nov"](e,56).appearance,"outline"==o["\u0275nov"](e,56).appearance,"legacy"==o["\u0275nov"](e,56).appearance,o["\u0275nov"](e,56)._control.errorState,o["\u0275nov"](e,56)._canLabelFloat,o["\u0275nov"](e,56)._shouldLabelFloat(),o["\u0275nov"](e,56)._hasFloatingLabel(),o["\u0275nov"](e,56)._hideControlPlaceholder(),o["\u0275nov"](e,56)._control.disabled,o["\u0275nov"](e,56)._control.autofilled,o["\u0275nov"](e,56)._control.focused,"accent"==o["\u0275nov"](e,56).color,"warn"==o["\u0275nov"](e,56).color,o["\u0275nov"](e,56)._shouldForward("untouched"),o["\u0275nov"](e,56)._shouldForward("touched"),o["\u0275nov"](e,56)._shouldForward("pristine"),o["\u0275nov"](e,56)._shouldForward("dirty"),o["\u0275nov"](e,56)._shouldForward("valid"),o["\u0275nov"](e,56)._shouldForward("invalid"),o["\u0275nov"](e,56)._shouldForward("pending"),!o["\u0275nov"](e,56)._animationsEnabled]),n(e,66,1,[o["\u0275nov"](e,72).ngClassUntouched,o["\u0275nov"](e,72).ngClassTouched,o["\u0275nov"](e,72).ngClassPristine,o["\u0275nov"](e,72).ngClassDirty,o["\u0275nov"](e,72).ngClassValid,o["\u0275nov"](e,72).ngClassInvalid,o["\u0275nov"](e,72).ngClassPending,o["\u0275nov"](e,73)._isServer,o["\u0275nov"](e,73).id,o["\u0275nov"](e,73).placeholder,o["\u0275nov"](e,73).disabled,o["\u0275nov"](e,73).required,o["\u0275nov"](e,73).readonly&&!o["\u0275nov"](e,73)._isNativeSelect||null,o["\u0275nov"](e,73)._ariaDescribedby||null,o["\u0275nov"](e,73).errorState,o["\u0275nov"](e,73).required.toString()]),n(e,75,1,["standard"==o["\u0275nov"](e,76).appearance,"fill"==o["\u0275nov"](e,76).appearance,"outline"==o["\u0275nov"](e,76).appearance,"legacy"==o["\u0275nov"](e,76).appearance,o["\u0275nov"](e,76)._control.errorState,o["\u0275nov"](e,76)._canLabelFloat,o["\u0275nov"](e,76)._shouldLabelFloat(),o["\u0275nov"](e,76)._hasFloatingLabel(),o["\u0275nov"](e,76)._hideControlPlaceholder(),o["\u0275nov"](e,76)._control.disabled,o["\u0275nov"](e,76)._control.autofilled,o["\u0275nov"](e,76)._control.focused,"accent"==o["\u0275nov"](e,76).color,"warn"==o["\u0275nov"](e,76).color,o["\u0275nov"](e,76)._shouldForward("untouched"),o["\u0275nov"](e,76)._shouldForward("touched"),o["\u0275nov"](e,76)._shouldForward("pristine"),o["\u0275nov"](e,76)._shouldForward("dirty"),o["\u0275nov"](e,76)._shouldForward("valid"),o["\u0275nov"](e,76)._shouldForward("invalid"),o["\u0275nov"](e,76)._shouldForward("pending"),!o["\u0275nov"](e,76)._animationsEnabled]),n(e,86,1,[o["\u0275nov"](e,92).ngClassUntouched,o["\u0275nov"](e,92).ngClassTouched,o["\u0275nov"](e,92).ngClassPristine,o["\u0275nov"](e,92).ngClassDirty,o["\u0275nov"](e,92).ngClassValid,o["\u0275nov"](e,92).ngClassInvalid,o["\u0275nov"](e,92).ngClassPending,o["\u0275nov"](e,93)._isServer,o["\u0275nov"](e,93).id,o["\u0275nov"](e,93).placeholder,o["\u0275nov"](e,93).disabled,o["\u0275nov"](e,93).required,o["\u0275nov"](e,93).readonly&&!o["\u0275nov"](e,93)._isNativeSelect||null,o["\u0275nov"](e,93)._ariaDescribedby||null,o["\u0275nov"](e,93).errorState,o["\u0275nov"](e,93).required.toString()]),n(e,99,1,["standard"==o["\u0275nov"](e,100).appearance,"fill"==o["\u0275nov"](e,100).appearance,"outline"==o["\u0275nov"](e,100).appearance,"legacy"==o["\u0275nov"](e,100).appearance,o["\u0275nov"](e,100)._control.errorState,o["\u0275nov"](e,100)._canLabelFloat,o["\u0275nov"](e,100)._shouldLabelFloat(),o["\u0275nov"](e,100)._hasFloatingLabel(),o["\u0275nov"](e,100)._hideControlPlaceholder(),o["\u0275nov"](e,100)._control.disabled,o["\u0275nov"](e,100)._control.autofilled,o["\u0275nov"](e,100)._control.focused,"accent"==o["\u0275nov"](e,100).color,"warn"==o["\u0275nov"](e,100).color,o["\u0275nov"](e,100)._shouldForward("untouched"),o["\u0275nov"](e,100)._shouldForward("touched"),o["\u0275nov"](e,100)._shouldForward("pristine"),o["\u0275nov"](e,100)._shouldForward("dirty"),o["\u0275nov"](e,100)._shouldForward("valid"),o["\u0275nov"](e,100)._shouldForward("invalid"),o["\u0275nov"](e,100)._shouldForward("pending"),!o["\u0275nov"](e,100)._animationsEnabled]),n(e,110,1,[o["\u0275nov"](e,116).ngClassUntouched,o["\u0275nov"](e,116).ngClassTouched,o["\u0275nov"](e,116).ngClassPristine,o["\u0275nov"](e,116).ngClassDirty,o["\u0275nov"](e,116).ngClassValid,o["\u0275nov"](e,116).ngClassInvalid,o["\u0275nov"](e,116).ngClassPending,o["\u0275nov"](e,117)._isServer,o["\u0275nov"](e,117).id,o["\u0275nov"](e,117).placeholder,o["\u0275nov"](e,117).disabled,o["\u0275nov"](e,117).required,o["\u0275nov"](e,117).readonly&&!o["\u0275nov"](e,117)._isNativeSelect||null,o["\u0275nov"](e,117)._ariaDescribedby||null,o["\u0275nov"](e,117).errorState,o["\u0275nov"](e,117).required.toString()]),n(e,123,1,["standard"==o["\u0275nov"](e,124).appearance,"fill"==o["\u0275nov"](e,124).appearance,"outline"==o["\u0275nov"](e,124).appearance,"legacy"==o["\u0275nov"](e,124).appearance,o["\u0275nov"](e,124)._control.errorState,o["\u0275nov"](e,124)._canLabelFloat,o["\u0275nov"](e,124)._shouldLabelFloat(),o["\u0275nov"](e,124)._hasFloatingLabel(),o["\u0275nov"](e,124)._hideControlPlaceholder(),o["\u0275nov"](e,124)._control.disabled,o["\u0275nov"](e,124)._control.autofilled,o["\u0275nov"](e,124)._control.focused,"accent"==o["\u0275nov"](e,124).color,"warn"==o["\u0275nov"](e,124).color,o["\u0275nov"](e,124)._shouldForward("untouched"),o["\u0275nov"](e,124)._shouldForward("touched"),o["\u0275nov"](e,124)._shouldForward("pristine"),o["\u0275nov"](e,124)._shouldForward("dirty"),o["\u0275nov"](e,124)._shouldForward("valid"),o["\u0275nov"](e,124)._shouldForward("invalid"),o["\u0275nov"](e,124)._shouldForward("pending"),!o["\u0275nov"](e,124)._animationsEnabled]),n(e,134,1,[o["\u0275nov"](e,139).ngClassUntouched,o["\u0275nov"](e,139).ngClassTouched,o["\u0275nov"](e,139).ngClassPristine,o["\u0275nov"](e,139).ngClassDirty,o["\u0275nov"](e,139).ngClassValid,o["\u0275nov"](e,139).ngClassInvalid,o["\u0275nov"](e,139).ngClassPending,o["\u0275nov"](e,140)._isServer,o["\u0275nov"](e,140).id,o["\u0275nov"](e,140).placeholder,o["\u0275nov"](e,140).disabled,o["\u0275nov"](e,140).required,o["\u0275nov"](e,140).readonly&&!o["\u0275nov"](e,140)._isNativeSelect||null,o["\u0275nov"](e,140)._ariaDescribedby||null,o["\u0275nov"](e,140).errorState,o["\u0275nov"](e,140).required.toString()])})}function BZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Packet filters"])),(n()(),o["\u0275eld"](3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,VZ)),o["\u0275did"](5,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](6,0,null,null,16,"div",[["class","bottom-bar"]],null,null,null,null,null)),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,14,"div",[["class","dialog-actions mat-dialog-actions"],["layout","row"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](11,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onResetClick()&&l),l},pu,cu)),o["\u0275did"](14,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Reset"])),(n()(),o["\u0275eld"](16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](17,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"])),(n()(),o["\u0275eld"](19,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(n()(),o["\u0275eld"](20,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onHelpClick()&&l),l},pu,cu)),o["\u0275did"](21,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Help"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.filters),n(e,11,0,"accent"),n(e,14,0,"accent"),n(e,17,0,"primary"),n(e,21,0,"accent")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode),n(e,16,0,o["\u0275nov"](e,17).disabled||null,"NoopAnimations"===o["\u0275nov"](e,17)._animationMode),n(e,20,0,o["\u0275nov"](e,21).disabled||null,"NoopAnimations"===o["\u0275nov"](e,21)._animationMode)})}function zZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-packet-filters",[],null,null,null,BZ,LZ)),o["\u0275did"](1,114688,null,0,NB,[mv,wF,yv],null,null)],function(n,e){n(e,1,0)},null)}var UZ=o["\u0275ccf"]("app-packet-filters",NB,zZ,{},{},[]),HZ=o["\u0275crt"]({encapsulation:0,styles:[[".item[_ngcontent-%COMP%]{height:25px;font-size:10pt;margin-bottom:10px}.item-name[_ngcontent-%COMP%]{margin-bottom:10px}.item-value[_ngcontent-%COMP%]{width:100%;margin-bottom:10px}.input-color[_ngcontent-%COMP%]{padding:0;border-width:0;width:100%;background-color:transparent;outline:0}input[_ngcontent-%COMP%]:focus{outline:0}input[type=color][_ngcontent-%COMP%]{-webkit-appearance:none;border:none;height:25px}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch-wrapper{padding:0}input[type=color][_ngcontent-%COMP%]::-webkit-color-swatch{border:none}.text[_ngcontent-%COMP%]{width:100%;height:150px}.modal-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-field[_ngcontent-%COMP%], .modal-form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}"]],data:{}});function ZZ(n){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{textArea:0}),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Text editor"])),(n()(),o["\u0275eld"](4,0,null,null,49,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](5,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](6,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,2,{_controlNonStatic:0}),o["\u0275qud"](335544320,3,{_controlStatic:0}),o["\u0275qud"](603979776,4,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,5,{_labelChildStatic:0}),o["\u0275qud"](603979776,6,{_placeholderChild:0}),o["\u0275qud"](603979776,7,{_errorChildren:1}),o["\u0275qud"](603979776,8,{_hintChildren:1}),o["\u0275qud"](603979776,9,{_prefixChildren:1}),o["\u0275qud"](603979776,10,{_suffixChildren:1}),(n()(),o["\u0275eld"](16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Fill color"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,17)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,17).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,17)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,22)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,22)._onInput()&&l),"ngModelChange"===e&&(l=!1!==r.changeTextColor(t)&&l),"ngModelChange"===e&&(l=!1!==(r.element.fill=t)&&l),l},null,null)),o["\u0275did"](17,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](19,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](21,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](22,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[2,4],[3,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](24,0,null,null,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,26).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,26).onReset()&&l),l},null,null)),o["\u0275did"](25,16384,null,0,Xm,[],null,null),o["\u0275did"](26,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](28,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](29,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](30,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,11,{_controlNonStatic:0}),o["\u0275qud"](335544320,12,{_controlStatic:0}),o["\u0275qud"](603979776,13,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,14,{_labelChildStatic:0}),o["\u0275qud"](603979776,15,{_placeholderChild:0}),o["\u0275qud"](603979776,16,{_errorChildren:1}),o["\u0275qud"](603979776,17,{_hintChildren:1}),o["\u0275qud"](603979776,18,{_prefixChildren:1}),o["\u0275qud"](603979776,19,{_suffixChildren:1}),(n()(),o["\u0275eld"](40,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rotation"],["matInput",""],["placeholder","Rotation"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,41)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,41).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,41)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,41)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,46)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,46)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,46)._onInput()&&l),l},null,null)),o["\u0275did"](41,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](43,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](45,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](46,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[11,4],[12,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](48,0,[[1,0],["textArea",1]],null,5,"textarea",[["class","text"],["id","textArea"]],[[8,"readOnly",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,49)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,49).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,49)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,49)._compositionEnd(t.target.value)&&l),"ngModelChange"===e&&(l=!1!==(r.element.text=t)&&l),l},null,null)),o["\u0275did"](49,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](51,671744,null,0,$m,[[8,null],[8,null],[8,null],[6,$h]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,lm,null,[$m]),o["\u0275did"](53,16384,null,0,rm,[[4,lm]],null,null),(n()(),o["\u0275eld"](54,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](55,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](56,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](57,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](59,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](60,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Apply"]))],function(n,e){var t=e.component;n(e,2,0),n(e,19,0,t.element.fill),n(e,22,0,"Fill color","color"),n(e,26,0,t.formGroup),n(e,43,0,"rotation"),n(e,46,0,"Rotation","text"),n(e,51,0,t.element.text),n(e,57,0,"accent"),n(e,60,0,"primary")},function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2).id),n(e,5,1,["standard"==o["\u0275nov"](e,6).appearance,"fill"==o["\u0275nov"](e,6).appearance,"outline"==o["\u0275nov"](e,6).appearance,"legacy"==o["\u0275nov"](e,6).appearance,o["\u0275nov"](e,6)._control.errorState,o["\u0275nov"](e,6)._canLabelFloat,o["\u0275nov"](e,6)._shouldLabelFloat(),o["\u0275nov"](e,6)._hasFloatingLabel(),o["\u0275nov"](e,6)._hideControlPlaceholder(),o["\u0275nov"](e,6)._control.disabled,o["\u0275nov"](e,6)._control.autofilled,o["\u0275nov"](e,6)._control.focused,"accent"==o["\u0275nov"](e,6).color,"warn"==o["\u0275nov"](e,6).color,o["\u0275nov"](e,6)._shouldForward("untouched"),o["\u0275nov"](e,6)._shouldForward("touched"),o["\u0275nov"](e,6)._shouldForward("pristine"),o["\u0275nov"](e,6)._shouldForward("dirty"),o["\u0275nov"](e,6)._shouldForward("valid"),o["\u0275nov"](e,6)._shouldForward("invalid"),o["\u0275nov"](e,6)._shouldForward("pending"),!o["\u0275nov"](e,6)._animationsEnabled]),n(e,16,1,[o["\u0275nov"](e,21).ngClassUntouched,o["\u0275nov"](e,21).ngClassTouched,o["\u0275nov"](e,21).ngClassPristine,o["\u0275nov"](e,21).ngClassDirty,o["\u0275nov"](e,21).ngClassValid,o["\u0275nov"](e,21).ngClassInvalid,o["\u0275nov"](e,21).ngClassPending,o["\u0275nov"](e,22)._isServer,o["\u0275nov"](e,22).id,o["\u0275nov"](e,22).placeholder,o["\u0275nov"](e,22).disabled,o["\u0275nov"](e,22).required,o["\u0275nov"](e,22).readonly&&!o["\u0275nov"](e,22)._isNativeSelect||null,o["\u0275nov"](e,22)._ariaDescribedby||null,o["\u0275nov"](e,22).errorState,o["\u0275nov"](e,22).required.toString()]),n(e,24,0,o["\u0275nov"](e,28).ngClassUntouched,o["\u0275nov"](e,28).ngClassTouched,o["\u0275nov"](e,28).ngClassPristine,o["\u0275nov"](e,28).ngClassDirty,o["\u0275nov"](e,28).ngClassValid,o["\u0275nov"](e,28).ngClassInvalid,o["\u0275nov"](e,28).ngClassPending),n(e,29,1,["standard"==o["\u0275nov"](e,30).appearance,"fill"==o["\u0275nov"](e,30).appearance,"outline"==o["\u0275nov"](e,30).appearance,"legacy"==o["\u0275nov"](e,30).appearance,o["\u0275nov"](e,30)._control.errorState,o["\u0275nov"](e,30)._canLabelFloat,o["\u0275nov"](e,30)._shouldLabelFloat(),o["\u0275nov"](e,30)._hasFloatingLabel(),o["\u0275nov"](e,30)._hideControlPlaceholder(),o["\u0275nov"](e,30)._control.disabled,o["\u0275nov"](e,30)._control.autofilled,o["\u0275nov"](e,30)._control.focused,"accent"==o["\u0275nov"](e,30).color,"warn"==o["\u0275nov"](e,30).color,o["\u0275nov"](e,30)._shouldForward("untouched"),o["\u0275nov"](e,30)._shouldForward("touched"),o["\u0275nov"](e,30)._shouldForward("pristine"),o["\u0275nov"](e,30)._shouldForward("dirty"),o["\u0275nov"](e,30)._shouldForward("valid"),o["\u0275nov"](e,30)._shouldForward("invalid"),o["\u0275nov"](e,30)._shouldForward("pending"),!o["\u0275nov"](e,30)._animationsEnabled]),n(e,40,1,[o["\u0275nov"](e,45).ngClassUntouched,o["\u0275nov"](e,45).ngClassTouched,o["\u0275nov"](e,45).ngClassPristine,o["\u0275nov"](e,45).ngClassDirty,o["\u0275nov"](e,45).ngClassValid,o["\u0275nov"](e,45).ngClassInvalid,o["\u0275nov"](e,45).ngClassPending,o["\u0275nov"](e,46)._isServer,o["\u0275nov"](e,46).id,o["\u0275nov"](e,46).placeholder,o["\u0275nov"](e,46).disabled,o["\u0275nov"](e,46).required,o["\u0275nov"](e,46).readonly&&!o["\u0275nov"](e,46)._isNativeSelect||null,o["\u0275nov"](e,46)._ariaDescribedby||null,o["\u0275nov"](e,46).errorState,o["\u0275nov"](e,46).required.toString()]),n(e,48,0,!t.isTextEditable,o["\u0275nov"](e,53).ngClassUntouched,o["\u0275nov"](e,53).ngClassTouched,o["\u0275nov"](e,53).ngClassPristine,o["\u0275nov"](e,53).ngClassDirty,o["\u0275nov"](e,53).ngClassValid,o["\u0275nov"](e,53).ngClassInvalid,o["\u0275nov"](e,53).ngClassPending),n(e,56,0,o["\u0275nov"](e,57).disabled||null,"NoopAnimations"===o["\u0275nov"](e,57)._animationMode),n(e,59,0,o["\u0275nov"](e,60).disabled||null,"NoopAnimations"===o["\u0275nov"](e,60)._animationMode)})}function WZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-text-editor",[],null,null,null,ZZ,HZ)),o["\u0275did"](1,114688,null,0,aB,[mv,QO,EV,kV,_V,o.Renderer2,mV,yF,wF,CF,rv,vc,eB,xO],null,null)],function(n,e){n(e,1,0)},null)}var GZ=o["\u0275ccf"]("app-text-editor",aB,WZ,{},{},[]),KZ=o["\u0275crt"]({encapsulation:0,styles:[[".dialogcontainer[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]],data:{}});function YZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,15,"div",[["class","dialogcontainer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](2,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Delete template"])),(n()(),o["\u0275eld"](4,0,null,null,2,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),o["\u0275did"](5,16384,null,0,xv,[],null,null),(n()(),o["\u0275ted"](6,null,["Are you sure you want to delete template ","?"])),(n()(),o["\u0275eld"](7,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(n()(),o["\u0275eld"](8,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](9,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](10,0,null,null,2,"button",[["class","cancelButton"],["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](11,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" No "])),(n()(),o["\u0275eld"](13,0,null,null,2,"button",[["class","confirmButton"],["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](14,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,[" Yes "]))],function(n,e){n(e,2,0),n(e,11,0,"accent"),n(e,14,0,"primary")},function(n,e){var t=e.component;n(e,1,0,o["\u0275nov"](e,2).id),n(e,6,0,t.templateName),n(e,10,0,o["\u0275nov"](e,11).disabled||null,"NoopAnimations"===o["\u0275nov"](e,11)._animationMode),n(e,13,0,o["\u0275nov"](e,14).disabled||null,"NoopAnimations"===o["\u0275nov"](e,14)._animationMode)})}function $Z(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-delete-confirmation-dialog",[],null,null,null,YZ,KZ)),o["\u0275did"](1,114688,null,0,Ry,[mv,vv],null,null)],function(n,e){n(e,1,0)},null)}var XZ=o["\u0275ccf"]("app-delete-confirmation-dialog",Ry,$Z,{},{},[]),QZ=o["\u0275crt"]({encapsulation:0,styles:[[".message[_ngcontent-%COMP%]{margin-bottom:10px}.description[_ngcontent-%COMP%]{color:#b0bec5}"]],data:{}});function JZ(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","message"]],null,null,null,null,null)),(n()(),o["\u0275eld"](1,0,null,null,1,"h6",[],null,null,null,null,null)),(n()(),o["\u0275ted"](2,null,[" "," "])),(n()(),o["\u0275eld"](3,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(n()(),o["\u0275ted"](4,null,[" "," "]))],null,function(n,e){n(e,2,0,e.context.$implicit.name),n(e,4,0,e.context.$implicit.description)})}function nW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,2,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,JZ)),o["\u0275did"](5,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](6,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](7,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](8,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l},pu,cu)),o["\u0275did"](9,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Close"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.messages),n(e,9,0,"accent")},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).id),n(e,2,0,t.title),n(e,8,0,o["\u0275nov"](e,9).disabled||null,"NoopAnimations"===o["\u0275nov"](e,9)._animationMode)})}function eW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-help-dialog",[],null,null,null,nW,QZ)),o["\u0275did"](1,49152,null,0,FB,[mv],null,null)],null,null)}var tW=o["\u0275ccf"]("app-help-dialog",FB,eW,{title:"title",messages:"messages"},{},[]),lW=o["\u0275crt"]({encapsulation:0,styles:[[".input-field[_ngcontent-%COMP%]{width:100%}"]],data:{}});function oW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==o["\u0275nov"](n,1)._selectViaInteraction()&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,1)._handleKeydown(t)&&l),l},ub,ib)),o["\u0275did"](1,8568832,[[10,4]],0,kr,[o.ElementRef,o.ChangeDetectorRef,[2,Sr],[2,wr]],{value:[0,"value"]},null),(n()(),o["\u0275ted"](2,0,[" "," "]))],function(n,e){n(e,1,0,e.context.$implicit[1])},function(n,e){n(e,0,0,o["\u0275nov"](e,1)._getTabIndex(),o["\u0275nov"](e,1).selected,o["\u0275nov"](e,1).multiple,o["\u0275nov"](e,1).active,o["\u0275nov"](e,1).id,o["\u0275nov"](e,1)._getAriaSelected(),o["\u0275nov"](e,1).disabled.toString(),o["\u0275nov"](e,1).disabled),n(e,2,0,e.context.$implicit[0])})}function rW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Packet capture"])),(n()(),o["\u0275eld"](3,0,null,null,49,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,48,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,6).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,6).onReset()&&l),l},null,null)),o["\u0275did"](5,16384,null,0,Xm,[],null,null),o["\u0275did"](6,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](8,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](9,0,null,null,24,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](10,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](20,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","linkType"],["ngDefaultControl",""],["placeholder","Link type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"keydown"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,22)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,22).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,22)._compositionEnd(t.target.value)&&l),"keydown"===e&&(l=!1!==o["\u0275nov"](n,27)._handleKeydown(t)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,27)._onFocus()&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,27)._onBlur()&&l),l},sw,lw)),o["\u0275prd"](6144,null,Sr,null,[ew]),o["\u0275did"](22,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](24,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](26,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](27,2080768,null,3,ew,[zs,o.ChangeDetectorRef,o.NgZone,tr,o.ElementRef,[2,Ar],[2,Hm],[2,Jm],[2,Hb],[6,lm],[8,null],Qy,Vo],{placeholder:[0,"placeholder"]},null),o["\u0275qud"](603979776,10,{options:1}),o["\u0275qud"](603979776,11,{optionGroups:1}),o["\u0275qud"](603979776,12,{customTrigger:0}),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[ew]),(n()(),o["\u0275and"](16777216,null,1,1,null,oW)),o["\u0275did"](33,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](34,0,null,null,18,"mat-form-field",[["class","input-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](35,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,13,{_controlNonStatic:0}),o["\u0275qud"](335544320,14,{_controlStatic:0}),o["\u0275qud"](603979776,15,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,16,{_labelChildStatic:0}),o["\u0275qud"](603979776,17,{_placeholderChild:0}),o["\u0275qud"](603979776,18,{_errorChildren:1}),o["\u0275qud"](603979776,19,{_hintChildren:1}),o["\u0275qud"](603979776,20,{_prefixChildren:1}),o["\u0275qud"](603979776,21,{_suffixChildren:1}),(n()(),o["\u0275eld"](45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","fileName"],["matInput",""],["placeholder","File name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0;return"input"===e&&(l=!1!==o["\u0275nov"](n,46)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,46).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,46)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,46)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,51)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,51)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,51)._onInput()&&l),l},null,null)),o["\u0275did"](46,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](48,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](50,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](51,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[13,4],[14,4]],Pb,null,[d_]),(n()(),o["\u0275eld"](53,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](54,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](55,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](56,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](58,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onYesClick()&&l),l},pu,cu)),o["\u0275did"](59,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Ok"]))],function(n,e){var t=e.component;n(e,1,0),n(e,6,0,t.inputForm),n(e,24,0,"linkType"),n(e,27,0,"Link type"),n(e,33,0,t.linkTypes),n(e,48,0,"fileName"),n(e,51,0,"File name","text"),n(e,56,0,"accent"),n(e,59,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,4,0,o["\u0275nov"](e,8).ngClassUntouched,o["\u0275nov"](e,8).ngClassTouched,o["\u0275nov"](e,8).ngClassPristine,o["\u0275nov"](e,8).ngClassDirty,o["\u0275nov"](e,8).ngClassValid,o["\u0275nov"](e,8).ngClassInvalid,o["\u0275nov"](e,8).ngClassPending),n(e,9,1,["standard"==o["\u0275nov"](e,10).appearance,"fill"==o["\u0275nov"](e,10).appearance,"outline"==o["\u0275nov"](e,10).appearance,"legacy"==o["\u0275nov"](e,10).appearance,o["\u0275nov"](e,10)._control.errorState,o["\u0275nov"](e,10)._canLabelFloat,o["\u0275nov"](e,10)._shouldLabelFloat(),o["\u0275nov"](e,10)._hasFloatingLabel(),o["\u0275nov"](e,10)._hideControlPlaceholder(),o["\u0275nov"](e,10)._control.disabled,o["\u0275nov"](e,10)._control.autofilled,o["\u0275nov"](e,10)._control.focused,"accent"==o["\u0275nov"](e,10).color,"warn"==o["\u0275nov"](e,10).color,o["\u0275nov"](e,10)._shouldForward("untouched"),o["\u0275nov"](e,10)._shouldForward("touched"),o["\u0275nov"](e,10)._shouldForward("pristine"),o["\u0275nov"](e,10)._shouldForward("dirty"),o["\u0275nov"](e,10)._shouldForward("valid"),o["\u0275nov"](e,10)._shouldForward("invalid"),o["\u0275nov"](e,10)._shouldForward("pending"),!o["\u0275nov"](e,10)._animationsEnabled]),n(e,20,1,[o["\u0275nov"](e,26).ngClassUntouched,o["\u0275nov"](e,26).ngClassTouched,o["\u0275nov"](e,26).ngClassPristine,o["\u0275nov"](e,26).ngClassDirty,o["\u0275nov"](e,26).ngClassValid,o["\u0275nov"](e,26).ngClassInvalid,o["\u0275nov"](e,26).ngClassPending,o["\u0275nov"](e,27).id,o["\u0275nov"](e,27).tabIndex,o["\u0275nov"](e,27)._getAriaLabel(),o["\u0275nov"](e,27)._getAriaLabelledby(),o["\u0275nov"](e,27).required.toString(),o["\u0275nov"](e,27).disabled.toString(),o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).panelOpen?o["\u0275nov"](e,27)._optionIds:null,o["\u0275nov"](e,27).multiple,o["\u0275nov"](e,27)._ariaDescribedby||null,o["\u0275nov"](e,27)._getAriaActiveDescendant(),o["\u0275nov"](e,27).disabled,o["\u0275nov"](e,27).errorState,o["\u0275nov"](e,27).required,o["\u0275nov"](e,27).empty]),n(e,34,1,["standard"==o["\u0275nov"](e,35).appearance,"fill"==o["\u0275nov"](e,35).appearance,"outline"==o["\u0275nov"](e,35).appearance,"legacy"==o["\u0275nov"](e,35).appearance,o["\u0275nov"](e,35)._control.errorState,o["\u0275nov"](e,35)._canLabelFloat,o["\u0275nov"](e,35)._shouldLabelFloat(),o["\u0275nov"](e,35)._hasFloatingLabel(),o["\u0275nov"](e,35)._hideControlPlaceholder(),o["\u0275nov"](e,35)._control.disabled,o["\u0275nov"](e,35)._control.autofilled,o["\u0275nov"](e,35)._control.focused,"accent"==o["\u0275nov"](e,35).color,"warn"==o["\u0275nov"](e,35).color,o["\u0275nov"](e,35)._shouldForward("untouched"),o["\u0275nov"](e,35)._shouldForward("touched"),o["\u0275nov"](e,35)._shouldForward("pristine"),o["\u0275nov"](e,35)._shouldForward("dirty"),o["\u0275nov"](e,35)._shouldForward("valid"),o["\u0275nov"](e,35)._shouldForward("invalid"),o["\u0275nov"](e,35)._shouldForward("pending"),!o["\u0275nov"](e,35)._animationsEnabled]),n(e,45,1,[o["\u0275nov"](e,50).ngClassUntouched,o["\u0275nov"](e,50).ngClassTouched,o["\u0275nov"](e,50).ngClassPristine,o["\u0275nov"](e,50).ngClassDirty,o["\u0275nov"](e,50).ngClassValid,o["\u0275nov"](e,50).ngClassInvalid,o["\u0275nov"](e,50).ngClassPending,o["\u0275nov"](e,51)._isServer,o["\u0275nov"](e,51).id,o["\u0275nov"](e,51).placeholder,o["\u0275nov"](e,51).disabled,o["\u0275nov"](e,51).required,o["\u0275nov"](e,51).readonly&&!o["\u0275nov"](e,51)._isNativeSelect||null,o["\u0275nov"](e,51)._ariaDescribedby||null,o["\u0275nov"](e,51).errorState,o["\u0275nov"](e,51).required.toString()]),n(e,55,0,o["\u0275nov"](e,56).disabled||null,"NoopAnimations"===o["\u0275nov"](e,56)._animationMode),n(e,58,0,o["\u0275nov"](e,59).disabled||null,"NoopAnimations"===o["\u0275nov"](e,59)._animationMode)})}function iW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-start-capture",[],null,null,null,rW,lW)),o["\u0275did"](1,114688,null,0,xB,[mv,wF,rv,vc,yF],null,null)],function(n,e){n(e,1,0)},null)}var aW=o["\u0275ccf"]("app-start-capture",xB,iW,{},{},[]),uW=o["\u0275crt"]({encapsulation:0,styles:[[".file-name-form-field[_ngcontent-%COMP%]{width:100%}.project-snackbar[_ngcontent-%COMP%]{background:#2196f3}"]],data:{}});function sW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is required"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function dW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),o["\u0275did"](1,16384,[[6,4]],0,qb,[],null,null),(n()(),o["\u0275ted"](-1,null,["Project name is incorrect"]))],null,function(n,e){n(e,0,0,o["\u0275nov"](e,1).id)})}function cW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](-1,null,["Save project as"])),(n()(),o["\u0275eld"](3,0,null,null,38,"form",[["class","file-name-form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,e,t){var l=!0;return"submit"===e&&(l=!1!==o["\u0275nov"](n,5).onSubmit(t)&&l),"reset"===e&&(l=!1!==o["\u0275nov"](n,5).onReset()&&l),l},null,null)),o["\u0275did"](4,16384,null,0,Xm,[],null,null),o["\u0275did"](5,540672,null,0,Jm,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,em,null,[Jm]),o["\u0275did"](7,16384,null,0,im,[[4,em]],null,null),(n()(),o["\u0275eld"](8,0,null,null,25,"mat-form-field",[["class","file-name-form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,o_,Wb)),o["\u0275did"](9,7520256,null,9,Hb,[o.ElementRef,o.ChangeDetectorRef,[2,Rr],[2,Ar],[2,Ub],vo,o.NgZone,[2,su]],null,null),o["\u0275qud"](603979776,1,{_controlNonStatic:0}),o["\u0275qud"](335544320,2,{_controlStatic:0}),o["\u0275qud"](603979776,3,{_labelChildNonStatic:0}),o["\u0275qud"](335544320,4,{_labelChildStatic:0}),o["\u0275qud"](603979776,5,{_placeholderChild:0}),o["\u0275qud"](603979776,6,{_errorChildren:1}),o["\u0275qud"](603979776,7,{_hintChildren:1}),o["\u0275qud"](603979776,8,{_prefixChildren:1}),o["\u0275qud"](603979776,9,{_suffixChildren:1}),(n()(),o["\u0275eld"](19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","projectName"],["matInput",""],["placeholder","Please enter name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(n,e,t){var l=!0,r=n.component;return"input"===e&&(l=!1!==o["\u0275nov"](n,23)._handleInput(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,23).onTouched()&&l),"compositionstart"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionStart()&&l),"compositionend"===e&&(l=!1!==o["\u0275nov"](n,23)._compositionEnd(t.target.value)&&l),"blur"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!1)&&l),"focus"===e&&(l=!1!==o["\u0275nov"](n,28)._focusChanged(!0)&&l),"input"===e&&(l=!1!==o["\u0275nov"](n,28)._onInput()&&l),"keydown"===e&&(l=!1!==r.onKeyDown(t)&&l),l},null,null)),o["\u0275prd"](512,null,I["\u0275NgClassImpl"],I["\u0275NgClassR2Impl"],[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2]),o["\u0275did"](21,278528,null,0,I.NgClass,[I["\u0275NgClassImpl"]],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](22,{"is-invalid":0}),o["\u0275did"](23,16384,null,0,Jh,[o.Renderer2,o.ElementRef,[2,Qh]],null,null),o["\u0275prd"](1024,null,$h,function(n){return[n]},[Jh]),o["\u0275did"](25,671744,null,0,lv,[[3,em],[8,null],[8,null],[6,$h],[2,Qm]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,lm,null,[lv]),o["\u0275did"](27,16384,null,0,rm,[[4,lm]],null,null),o["\u0275did"](28,999424,null,0,d_,[o.ElementRef,vo,[6,lm],[2,Hm],[2,Jm],tr,[8,null],i_,o.NgZone],{placeholder:[0,"placeholder"],type:[1,"type"]},null),o["\u0275prd"](2048,[[1,4],[2,4]],Pb,null,[d_]),(n()(),o["\u0275and"](16777216,null,5,1,null,sW)),o["\u0275did"](31,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275and"](16777216,null,5,1,null,dW)),o["\u0275did"](33,16384,null,0,I.NgIf,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),o["\u0275eld"](34,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](35,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](36,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onNoClick()&&l),l},pu,cu)),o["\u0275did"](37,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Cancel"])),(n()(),o["\u0275eld"](39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["tabindex","2"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onAddClick()&&l),l},pu,cu)),o["\u0275did"](40,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Save project"]))],function(n,e){var t=e.component;n(e,1,0),n(e,5,0,t.projectNameForm);var l=n(e,22,0,null==t.form.projectName?null:t.form.projectName.errors);n(e,21,0,l),n(e,25,0,"projectName"),n(e,28,0,"Please enter name","text"),n(e,31,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.required)),n(e,33,0,(null==t.form.projectName?null:t.form.projectName.touched)&&(null==t.form.projectName?null:t.form.projectName.errors)&&(null==t.form.projectName?null:t.form.projectName.errors.invalidName)),n(e,37,0,"accent"),n(e,40,0,"primary")},function(n,e){n(e,0,0,o["\u0275nov"](e,1).id),n(e,3,0,o["\u0275nov"](e,7).ngClassUntouched,o["\u0275nov"](e,7).ngClassTouched,o["\u0275nov"](e,7).ngClassPristine,o["\u0275nov"](e,7).ngClassDirty,o["\u0275nov"](e,7).ngClassValid,o["\u0275nov"](e,7).ngClassInvalid,o["\u0275nov"](e,7).ngClassPending),n(e,8,1,["standard"==o["\u0275nov"](e,9).appearance,"fill"==o["\u0275nov"](e,9).appearance,"outline"==o["\u0275nov"](e,9).appearance,"legacy"==o["\u0275nov"](e,9).appearance,o["\u0275nov"](e,9)._control.errorState,o["\u0275nov"](e,9)._canLabelFloat,o["\u0275nov"](e,9)._shouldLabelFloat(),o["\u0275nov"](e,9)._hasFloatingLabel(),o["\u0275nov"](e,9)._hideControlPlaceholder(),o["\u0275nov"](e,9)._control.disabled,o["\u0275nov"](e,9)._control.autofilled,o["\u0275nov"](e,9)._control.focused,"accent"==o["\u0275nov"](e,9).color,"warn"==o["\u0275nov"](e,9).color,o["\u0275nov"](e,9)._shouldForward("untouched"),o["\u0275nov"](e,9)._shouldForward("touched"),o["\u0275nov"](e,9)._shouldForward("pristine"),o["\u0275nov"](e,9)._shouldForward("dirty"),o["\u0275nov"](e,9)._shouldForward("valid"),o["\u0275nov"](e,9)._shouldForward("invalid"),o["\u0275nov"](e,9)._shouldForward("pending"),!o["\u0275nov"](e,9)._animationsEnabled]),n(e,19,1,[o["\u0275nov"](e,27).ngClassUntouched,o["\u0275nov"](e,27).ngClassTouched,o["\u0275nov"](e,27).ngClassPristine,o["\u0275nov"](e,27).ngClassDirty,o["\u0275nov"](e,27).ngClassValid,o["\u0275nov"](e,27).ngClassInvalid,o["\u0275nov"](e,27).ngClassPending,o["\u0275nov"](e,28)._isServer,o["\u0275nov"](e,28).id,o["\u0275nov"](e,28).placeholder,o["\u0275nov"](e,28).disabled,o["\u0275nov"](e,28).required,o["\u0275nov"](e,28).readonly&&!o["\u0275nov"](e,28)._isNativeSelect||null,o["\u0275nov"](e,28)._ariaDescribedby||null,o["\u0275nov"](e,28).errorState,o["\u0275nov"](e,28).required.toString()]),n(e,36,0,o["\u0275nov"](e,37).disabled||null,"NoopAnimations"===o["\u0275nov"](e,37)._animationMode),n(e,39,0,o["\u0275nov"](e,40).disabled||null,"NoopAnimations"===o["\u0275nov"](e,40)._animationMode)})}function pW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"app-save-project-dialog",[],null,null,null,cW,uW)),o["\u0275prd"](512,null,pg,pg,[]),o["\u0275did"](2,114688,null,0,mU,[mv,Rl,yv,ug,vc,rv,pg],null,null)],function(n,e){n(e,2,0)},null)}var fW=o["\u0275ccf"]("app-save-project-dialog",mU,pW,{},{},[]),hW=o["\u0275crt"]({encapsulation:0,styles:[[".textBox[_ngcontent-%COMP%]{margin-top:10px}"]],data:{}});function mW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),o["\u0275ted"](1,null,[" "," "]))],null,function(n,e){n(e,1,0,e.context.$implicit)})}function vW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),o["\u0275did"](1,81920,null,0,Cv,[[2,mv],o.ElementRef,yv],null,null),(n()(),o["\u0275ted"](2,null,["",""])),(n()(),o["\u0275eld"](3,0,null,null,16,"div",[["class","modal-form-container"]],null,null,null,null,null)),(n()(),o["\u0275eld"](4,0,null,null,15,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,DZ,SZ)),o["\u0275did"](5,3325952,null,1,CZ,[o.ElementRef,o.ChangeDetectorRef,[2,wZ],[2,su]],null,null),o["\u0275qud"](603979776,1,{_tabs:1}),(n()(),o["\u0275eld"](7,16777216,null,null,6,"mat-tab",[["label","General information"]],null,null,null,jZ,qZ)),o["\u0275did"](8,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,2,{templateLabel:0}),o["\u0275qud"](335544320,3,{_explicitContent:0}),(n()(),o["\u0275eld"](11,0,null,0,2,"div",[["class","textBox"]],null,null,null,null,null)),(n()(),o["\u0275and"](16777216,null,null,1,null,mW)),o["\u0275did"](13,278528,null,0,I.NgForOf,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(n()(),o["\u0275eld"](14,16777216,null,null,5,"mat-tab",[["label","Command line"]],null,null,null,jZ,qZ)),o["\u0275did"](15,770048,[[1,4]],2,fZ,[o.ViewContainerRef],{textLabel:[0,"textLabel"]},null),o["\u0275qud"](603979776,4,{templateLabel:0}),o["\u0275qud"](335544320,5,{_explicitContent:0}),(n()(),o["\u0275eld"](18,0,null,0,1,"div",[["class","textBox"]],null,null,null,null,null)),(n()(),o["\u0275ted"](19,null,[" "," "])),(n()(),o["\u0275eld"](20,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),o["\u0275did"](21,16384,null,0,Sv,[],null,null),(n()(),o["\u0275eld"](22,0,null,null,2,"button",[["color","accent"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(n,e,t){var l=!0;return"click"===e&&(l=!1!==n.component.onCloseClick()&&l),l},pu,cu)),o["\u0275did"](23,180224,null,0,Or,[o.ElementRef,Uo,[2,su]],{color:[0,"color"]},null),(n()(),o["\u0275ted"](-1,0,["Close"]))],function(n,e){var t=e.component;n(e,1,0),n(e,8,0,"General information"),n(e,13,0,t.infoList),n(e,15,0,"Command line"),n(e,23,0,"accent")},function(n,e){var t=e.component;n(e,0,0,o["\u0275nov"](e,1).id),n(e,2,0,t.node.name),n(e,4,0,o["\u0275nov"](e,5).dynamicHeight,"below"===o["\u0275nov"](e,5).headerPosition),n(e,19,0,t.commandLine),n(e,22,0,o["\u0275nov"](e,23).disabled||null,"NoopAnimations"===o["\u0275nov"](e,23)._animationMode)})}function gW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-info-dialog",[],null,null,null,vW,hW)),o["\u0275did"](1,114688,null,0,AV,[mv,MV],null,null)],function(n,e){n(e,1,0)},null)}var bW=o["\u0275ccf"]("app-info-dialog",AV,gW,{server:"server",node:"node"},{},[]),_W=o["\u0275crt"]({encapsulation:0,styles:[["mat-menu-panel[_ngcontent-%COMP%]{min-height:0}"]],data:{}});function yW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](1,212992,null,0,Ml,[Nl,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(n,e){n(e,1,0)},null)}function wW(n){return o["\u0275vid"](0,[(n()(),o["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,yW,_W)),o["\u0275did"](1,114688,null,0,R,[is,Jn,T,bc],null,null)],function(n,e){n(e,1,0)},null)}var CW=o["\u0275ccf"]("app-root",R,wW,{},{},[]),xW=function(){return function(){}}(),SW=function(){function n(){}return n.prototype.convert=function(n){var e=new xW;return e.symbol_id=n.id,e.builtin=n.builtin,e.filename=n.filename,e.raw=n.raw,e},n}(),kW=function(){function n(){}return n.prototype.convert=function(n){var e={font_family:void 0,font_size:void 0,font_weight:void 0};return CO.parse(n,{context:"declarationList"}).children.forEach(function(n){"font-size"===n.property&&n.value.children.forEach(function(n){"Dimension"===n.type&&(e.font_size=parseInt(n.value))}),"font-family"===n.property&&n.value.children.forEach(function(n){"Identifier"===n.type&&(e.font_family=n.name)}),"font-weight"===n.property&&n.value.children.forEach(function(n){"Identifier"===n.type&&(e.font_weight=n.name)})}),e},n}(),EW=t("+ryv"),TW=function(n,e){return n<e?-1:n>e?1:n>=e?0:NaN},RW=function(n){var e;return 1===n.length&&(e=n,n=function(n,t){return TW(e(n),t)}),{left:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var r=l+o>>>1;n(e[r],t)<0?l=r+1:o=r}return l},right:function(e,t,l,o){for(null==l&&(l=0),null==o&&(o=e.length);l<o;){var r=l+o>>>1;n(e[r],t)>0?o=r:l=r+1}return l}}},IW=RW(TW),DW=IW.right,OW=IW.left,FW=DW,NW=function(n,e){null==e&&(e=MW);for(var t=0,l=n.length-1,o=n[0],r=new Array(l<0?0:l);t<l;)r[t]=e(o,o=n[++t]);return r};function MW(n,e){return[n,e]}var AW=function(n,e,t){var l,o,r,i,a=n.length,u=e.length,s=new Array(a*u);for(null==t&&(t=MW),l=r=0;l<a;++l)for(i=n[l],o=0;o<u;++o,++r)s[r]=t(i,e[o]);return s},qW=function(n,e){return e<n?-1:e>n?1:e>=n?0:NaN},PW=function(n){return null===n?NaN:+n},jW=function(n,e){var t,l,o=n.length,r=0,i=-1,a=0,u=0;if(null==e)for(;++i<o;)isNaN(t=PW(n[i]))||(u+=(l=t-a)*(t-(a+=l/++r)));else for(;++i<o;)isNaN(t=PW(e(n[i],i,n)))||(u+=(l=t-a)*(t-(a+=l/++r)));if(r>1)return u/(r-1)},LW=function(n,e){var t=jW(n,e);return t?Math.sqrt(t):t},VW=function(n,e){var t,l,o,r=n.length,i=-1;if(null==e){for(;++i<r;)if(null!=(t=n[i])&&t>=t)for(l=o=t;++i<r;)null!=(t=n[i])&&(l>t&&(l=t),o<t&&(o=t))}else for(;++i<r;)if(null!=(t=e(n[i],i,n))&&t>=t)for(l=o=t;++i<r;)null!=(t=e(n[i],i,n))&&(l>t&&(l=t),o<t&&(o=t));return[l,o]},BW=Array.prototype,zW=BW.slice,UW=BW.map,HW=function(n){return function(){return n}},ZW=function(n){return n},WW=function(n,e,t){n=+n,e=+e,t=(o=arguments.length)<2?(e=n,n=0,1):o<3?1:+t;for(var l=-1,o=0|Math.max(0,Math.ceil((e-n)/t)),r=new Array(o);++l<o;)r[l]=n+l*t;return r},GW=Math.sqrt(50),KW=Math.sqrt(10),YW=Math.sqrt(2),$W=function(n,e,t){var l,o,r,i,a=-1;if(t=+t,(n=+n)==(e=+e)&&t>0)return[n];if((l=e<n)&&(o=n,n=e,e=o),0===(i=XW(n,e,t))||!isFinite(i))return[];if(i>0)for(n=Math.ceil(n/i),e=Math.floor(e/i),r=new Array(o=Math.ceil(e-n+1));++a<o;)r[a]=(n+a)*i;else for(n=Math.floor(n*i),e=Math.ceil(e*i),r=new Array(o=Math.ceil(n-e+1));++a<o;)r[a]=(n-a)/i;return l&&r.reverse(),r};function XW(n,e,t){var l=(e-n)/Math.max(0,t),o=Math.floor(Math.log(l)/Math.LN10),r=l/Math.pow(10,o);return o>=0?(r>=GW?10:r>=KW?5:r>=YW?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(r>=GW?10:r>=KW?5:r>=YW?2:1)}function QW(n,e,t){var l=Math.abs(e-n)/Math.max(0,t),o=Math.pow(10,Math.floor(Math.log(l)/Math.LN10)),r=l/o;return r>=GW?o*=10:r>=KW?o*=5:r>=YW&&(o*=2),e<n?-o:o}var JW=function(n){return Math.ceil(Math.log(n.length)/Math.LN2)+1},nG=function(){var n=ZW,e=VW,t=JW;function l(l){var o,r,i=l.length,a=new Array(i);for(o=0;o<i;++o)a[o]=n(l[o],o,l);var u=e(a),s=u[0],d=u[1],c=t(a,s,d);Array.isArray(c)||(c=QW(s,d,c),c=WW(Math.ceil(s/c)*c,d,c));for(var p=c.length;c[0]<=s;)c.shift(),--p;for(;c[p-1]>d;)c.pop(),--p;var f,h=new Array(p+1);for(o=0;o<=p;++o)(f=h[o]=[]).x0=o>0?c[o-1]:s,f.x1=o<p?c[o]:d;for(o=0;o<i;++o)s<=(r=a[o])&&r<=d&&h[FW(c,r,0,p)].push(l[o]);return h}return l.value=function(e){return arguments.length?(n="function"==typeof e?e:HW(e),l):n},l.domain=function(n){return arguments.length?(e="function"==typeof n?n:HW([n[0],n[1]]),l):e},l.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?HW(zW.call(n)):HW(n),l):t},l},eG=function(n,e,t){if(null==t&&(t=PW),l=n.length){if((e=+e)<=0||l<2)return+t(n[0],0,n);if(e>=1)return+t(n[l-1],l-1,n);var l,o=(l-1)*e,r=Math.floor(o),i=+t(n[r],r,n);return i+(+t(n[r+1],r+1,n)-i)*(o-r)}},tG=function(n,e,t){return n=UW.call(n,PW).sort(TW),Math.ceil((t-e)/(2*(eG(n,.75)-eG(n,.25))*Math.pow(n.length,-1/3)))},lG=function(n,e,t){return Math.ceil((t-e)/(3.5*LW(n)*Math.pow(n.length,-1/3)))},oG=function(n,e){var t,l,o=n.length,r=-1;if(null==e){for(;++r<o;)if(null!=(t=n[r])&&t>=t)for(l=t;++r<o;)null!=(t=n[r])&&t>l&&(l=t)}else for(;++r<o;)if(null!=(t=e(n[r],r,n))&&t>=t)for(l=t;++r<o;)null!=(t=e(n[r],r,n))&&t>l&&(l=t);return l},rG=function(n,e){var t,l=n.length,o=l,r=-1,i=0;if(null==e)for(;++r<l;)isNaN(t=PW(n[r]))?--o:i+=t;else for(;++r<l;)isNaN(t=PW(e(n[r],r,n)))?--o:i+=t;if(o)return i/o},iG=function(n,e){var t,l=n.length,o=-1,r=[];if(null==e)for(;++o<l;)isNaN(t=PW(n[o]))||r.push(t);else for(;++o<l;)isNaN(t=PW(e(n[o],o,n)))||r.push(t);return eG(r.sort(TW),.5)},aG=function(n){for(var e,t,l,o=n.length,r=-1,i=0;++r<o;)i+=n[r].length;for(t=new Array(i);--o>=0;)for(e=(l=n[o]).length;--e>=0;)t[--i]=l[e];return t},uG=function(n,e){var t,l,o=n.length,r=-1;if(null==e){for(;++r<o;)if(null!=(t=n[r])&&t>=t)for(l=t;++r<o;)null!=(t=n[r])&&l>t&&(l=t)}else for(;++r<o;)if(null!=(t=e(n[r],r,n))&&t>=t)for(l=t;++r<o;)null!=(t=e(n[r],r,n))&&l>t&&(l=t);return l},sG=function(n,e){for(var t=e.length,l=new Array(t);t--;)l[t]=n[e[t]];return l},dG=function(n,e){if(t=n.length){var t,l,o=0,r=0,i=n[r];for(null==e&&(e=TW);++o<t;)(e(l=n[o],i)<0||0!==e(i,i))&&(i=l,r=o);return 0===e(i,i)?r:void 0}},cG=function(n,e,t){for(var l,o,r=(null==t?n.length:t)-(e=null==e?0:+e);r;)o=Math.random()*r--|0,l=n[r+e],n[r+e]=n[o+e],n[o+e]=l;return n},pG=function(n,e){var t,l=n.length,o=-1,r=0;if(null==e)for(;++o<l;)(t=+n[o])&&(r+=t);else for(;++o<l;)(t=+e(n[o],o,n))&&(r+=t);return r},fG=function(n){if(!(o=n.length))return[];for(var e=-1,t=uG(n,hG),l=new Array(t);++e<t;)for(var o,r=-1,i=l[e]=new Array(o);++r<o;)i[r]=n[r][e];return l};function hG(n){return n.length}var mG=function(){return fG(arguments)},vG=Array.prototype.slice,gG=function(n){return n},bG=1,_G=2,yG=3,wG=4,CG=1e-6;function xG(n){return"translate("+(n+.5)+",0)"}function SG(n){return"translate(0,"+(n+.5)+")"}function kG(){return!this.__axis}function EG(n,e){var t=[],l=null,o=null,r=6,i=6,a=3,u=n===bG||n===wG?-1:1,s=n===wG||n===_G?"x":"y",d=n===bG||n===yG?xG:SG;function c(c){var p=null==l?e.ticks?e.ticks.apply(e,t):e.domain():l,f=null==o?e.tickFormat?e.tickFormat.apply(e,t):gG:o,h=Math.max(r,0)+a,m=e.range(),v=+m[0]+.5,g=+m[m.length-1]+.5,b=(e.bandwidth?function(n){var e=Math.max(0,n.bandwidth()-1)/2;return n.round()&&(e=Math.round(e)),function(t){return+n(t)+e}}:function(n){return function(e){return+n(e)}})(e.copy()),_=c.selection?c.selection():c,y=_.selectAll(".domain").data([null]),w=_.selectAll(".tick").data(p,e).order(),C=w.exit(),x=w.enter().append("g").attr("class","tick"),S=w.select("line"),k=w.select("text");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(x),S=S.merge(x.append("line").attr("stroke","currentColor").attr(s+"2",u*r)),k=k.merge(x.append("text").attr("fill","currentColor").attr(s,u*h).attr("dy",n===bG?"0em":n===yG?"0.71em":"0.32em")),c!==_&&(y=y.transition(c),w=w.transition(c),S=S.transition(c),k=k.transition(c),C=C.transition(c).attr("opacity",CG).attr("transform",function(n){return isFinite(n=b(n))?d(n):this.getAttribute("transform")}),x.attr("opacity",CG).attr("transform",function(n){var e=this.parentNode.__axis;return d(e&&isFinite(e=e(n))?e:b(n))})),C.remove(),y.attr("d",n===wG||n==_G?i?"M"+u*i+","+v+"H0.5V"+g+"H"+u*i:"M0.5,"+v+"V"+g:i?"M"+v+","+u*i+"V0.5H"+g+"V"+u*i:"M"+v+",0.5H"+g),w.attr("opacity",1).attr("transform",function(n){return d(b(n))}),S.attr(s+"2",u*r),k.attr(s,u*h).text(f),_.filter(kG).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",n===_G?"start":n===wG?"end":"middle"),_.each(function(){this.__axis=b})}return c.scale=function(n){return arguments.length?(e=n,c):e},c.ticks=function(){return t=vG.call(arguments),c},c.tickArguments=function(n){return arguments.length?(t=null==n?[]:vG.call(n),c):t.slice()},c.tickValues=function(n){return arguments.length?(l=null==n?null:vG.call(n),c):l&&l.slice()},c.tickFormat=function(n){return arguments.length?(o=n,c):o},c.tickSize=function(n){return arguments.length?(r=i=+n,c):r},c.tickSizeInner=function(n){return arguments.length?(r=+n,c):r},c.tickSizeOuter=function(n){return arguments.length?(i=+n,c):i},c.tickPadding=function(n){return arguments.length?(a=+n,c):a},c}function TG(n){return EG(bG,n)}function RG(n){return EG(_G,n)}function IG(n){return EG(yG,n)}function DG(n){return EG(wG,n)}var OG=function(n){return function(){return n}},FG=function(n,e,t){this.target=n,this.type=e,this.selection=t};function NG(){iD.stopImmediatePropagation()}var MG=function(){iD.preventDefault(),iD.stopImmediatePropagation()},AG={name:"drag"},qG={name:"space"},PG={name:"handle"},jG={name:"center"},LG={name:"x",handles:["e","w"].map(GG),input:function(n,e){return n&&[[n[0],e[0][1]],[n[1],e[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},VG={name:"y",handles:["n","s"].map(GG),input:function(n,e){return n&&[[e[0][0],n[0]],[e[1][0],n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},BG={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(GG),input:function(n){return n},output:function(n){return n}},zG={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},UG={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},HG={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ZG={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},WG={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function GG(n){return{type:n}}function KG(){return!iD.button}function YG(){var n=this.ownerSVGElement||this;return[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function $G(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function XG(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function QG(n){var e=n.__brush;return e?e.dim.output(e.selection):null}function JG(){return tK(LG)}function nK(){return tK(VG)}var eK=function(){return tK(BG)};function tK(n){var e,t=YG,l=KG,o=rO(i,"start","brush","end"),r=6;function i(e){var t=e.property("__brush",c).selectAll(".overlay").data([GG("overlay")]);t.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",zG.overlay).merge(t).each(function(){var n=$G(this).extent;bD(this).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1])}),e.selectAll(".selection").data([GG("selection")]).enter().append("rect").attr("class","selection").attr("cursor",zG.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var l=e.selectAll(".handle").data(n.handles,function(n){return n.type});l.exit().remove(),l.enter().append("rect").attr("class",function(n){return"handle handle--"+n.type}).attr("cursor",function(n){return zG[n.type]}),e.each(a).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",d)}function a(){var n=bD(this),e=$G(this).selection;e?(n.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),n.selectAll(".handle").style("display",null).attr("x",function(n){return"e"===n.type[n.type.length-1]?e[1][0]-r/2:e[0][0]-r/2}).attr("y",function(n){return"s"===n.type[0]?e[1][1]-r/2:e[0][1]-r/2}).attr("width",function(n){return"n"===n.type||"s"===n.type?e[1][0]-e[0][0]+r:r}).attr("height",function(n){return"e"===n.type||"w"===n.type?e[1][1]-e[0][1]+r:r})):n.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(n,e){return n.__brush.emitter||new s(n,e)}function s(n,e){this.that=n,this.args=e,this.state=n.__brush,this.active=0}function d(){if(iD.touches){if(iD.changedTouches.length<iD.touches.length)return MG()}else if(e)return;if(l.apply(this,arguments)){var t,o,r,i,s,d,c,p,f,h,m,v,g,b=this,_=iD.target.__data__.type,y="selection"===(iD.metaKey?_="overlay":_)?AG:iD.altKey?jG:PG,w=n===VG?null:ZG[_],C=n===LG?null:WG[_],x=$G(b),S=x.extent,k=x.selection,E=S[0][0],T=S[0][1],R=S[1][0],I=S[1][1],D=w&&C&&iD.shiftKey,O=xD(b),F=O,N=u(b,arguments).beforestart();"overlay"===_?x.selection=k=[[t=n===VG?E:O[0],r=n===LG?T:O[1]],[s=n===VG?R:t,c=n===LG?I:r]]:(t=k[0][0],r=k[0][1],s=k[1][0],c=k[1][1]),o=t,i=r,d=s,p=c;var M=bD(b).attr("pointer-events","none"),A=M.selectAll(".overlay").attr("cursor",zG[_]);if(iD.touches)M.on("touchmove.brush",P,!0).on("touchend.brush touchcancel.brush",L,!0);else{var q=bD(iD.view).on("keydown.brush",function(){switch(iD.keyCode){case 16:D=w&&C;break;case 18:y===PG&&(w&&(s=d-f*w,t=o+f*w),C&&(c=p-h*C,r=i+h*C),y=jG,j());break;case 32:y!==PG&&y!==jG||(w<0?s=d-f:w>0&&(t=o-f),C<0?c=p-h:C>0&&(r=i-h),y=qG,A.attr("cursor",zG.selection),j());break;default:return}MG()},!0).on("keyup.brush",function(){switch(iD.keyCode){case 16:D&&(v=g=D=!1,j());break;case 18:y===jG&&(w<0?s=d:w>0&&(t=o),C<0?c=p:C>0&&(r=i),y=PG,j());break;case 32:y===qG&&(iD.altKey?(w&&(s=d-f*w,t=o+f*w),C&&(c=p-h*C,r=i+h*C),y=jG):(w<0?s=d:w>0&&(t=o),C<0?c=p:C>0&&(r=i),y=PG),A.attr("cursor",zG[_]),j());break;default:return}MG()},!0).on("mousemove.brush",P,!0).on("mouseup.brush",L,!0);uO(iD.view)}NG(),wP(b),a.call(b),N.start()}function P(){var n=xD(b);!D||v||g||(Math.abs(n[0]-F[0])>Math.abs(n[1]-F[1])?g=!0:v=!0),F=n,m=!0,MG(),j()}function j(){var n;switch(f=F[0]-O[0],h=F[1]-O[1],y){case qG:case AG:w&&(f=Math.max(E-t,Math.min(R-s,f)),o=t+f,d=s+f),C&&(h=Math.max(T-r,Math.min(I-c,h)),i=r+h,p=c+h);break;case PG:w<0?(f=Math.max(E-t,Math.min(R-t,f)),o=t+f,d=s):w>0&&(f=Math.max(E-s,Math.min(R-s,f)),o=t,d=s+f),C<0?(h=Math.max(T-r,Math.min(I-r,h)),i=r+h,p=c):C>0&&(h=Math.max(T-c,Math.min(I-c,h)),i=r,p=c+h);break;case jG:w&&(o=Math.max(E,Math.min(R,t-f*w)),d=Math.max(E,Math.min(R,s+f*w))),C&&(i=Math.max(T,Math.min(I,r-h*C)),p=Math.max(T,Math.min(I,c+h*C)))}d<o&&(w*=-1,n=t,t=s,s=n,n=o,o=d,d=n,_ in UG&&A.attr("cursor",zG[_=UG[_]])),p<i&&(C*=-1,n=r,r=c,c=n,n=i,i=p,p=n,_ in HG&&A.attr("cursor",zG[_=HG[_]])),x.selection&&(k=x.selection),v&&(o=k[0][0],d=k[1][0]),g&&(i=k[0][1],p=k[1][1]),k[0][0]===o&&k[0][1]===i&&k[1][0]===d&&k[1][1]===p||(x.selection=[[o,i],[d,p]],a.call(b),N.brush())}function L(){if(NG(),iD.touches){if(iD.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500),M.on("touchmove.brush touchend.brush touchcancel.brush",null)}else sO(iD.view,m),q.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);M.attr("pointer-events","all"),A.attr("cursor",zG.overlay),x.selection&&(k=x.selection),XG(k)&&(x.selection=null,a.call(b)),N.end()}}function c(){var e=this.__brush||{selection:null};return e.extent=t.apply(this,arguments),e.dim=n,e}return i.move=function(e,t){e.selection?e.on("start.brush",function(){u(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){u(this,arguments).end()}).tween("brush",function(){var e=this,l=e.__brush,o=u(e,arguments),r=l.selection,i=n.input("function"==typeof t?t.apply(this,arguments):t,l.extent),s=Eq(r,i);function d(n){l.selection=1===n&&XG(i)?null:s(n),a.call(e),o.brush()}return r&&i?d:d(1)}):e.each(function(){var e=this,l=arguments,o=e.__brush,r=n.input("function"==typeof t?t.apply(e,l):t,o.extent),i=u(e,l).beforestart();wP(e),o.selection=null==r||XG(r)?null:r,a.call(e),i.start().brush().end()})},s.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){pD(new FG(i,e,n.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},i.extent=function(n){return arguments.length?(t="function"==typeof n?n:OG([[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]]),i):t},i.filter=function(n){return arguments.length?(l="function"==typeof n?n:OG(!!n),i):l},i.handleSize=function(n){return arguments.length?(r=+n,i):r},i.on=function(){var n=o.on.apply(o,arguments);return n===o?i:n},i}var lK=Math.cos,oK=Math.sin,rK=Math.PI,iK=rK/2,aK=2*rK,uK=Math.max;function sK(n){return function(e,t){return n(e.source.value+e.target.value,t.source.value+t.target.value)}}var dK=function(){var n=0,e=null,t=null,l=null;function o(o){var r,i,a,u,s,d,c=o.length,p=[],f=WW(c),h=[],m=[],v=m.groups=new Array(c),g=new Array(c*c);for(r=0,s=-1;++s<c;){for(i=0,d=-1;++d<c;)i+=o[s][d];p.push(i),h.push(WW(c)),r+=i}for(e&&f.sort(function(n,t){return e(p[n],p[t])}),t&&h.forEach(function(n,e){n.sort(function(n,l){return t(o[e][n],o[e][l])})}),u=(r=uK(0,aK-n*c)/r)?n:aK/c,i=0,s=-1;++s<c;){for(a=i,d=-1;++d<c;){var b=f[s],_=h[b][d],y=o[b][_],w=i,C=i+=y*r;g[_*c+b]={index:b,subindex:_,startAngle:w,endAngle:C,value:y}}v[b]={index:b,startAngle:a,endAngle:i,value:p[b]},i+=u}for(s=-1;++s<c;)for(d=s-1;++d<c;){var x=g[d*c+s],S=g[s*c+d];(x.value||S.value)&&m.push(x.value<S.value?{source:S,target:x}:{source:x,target:S})}return l?m.sort(l):m}return o.padAngle=function(e){return arguments.length?(n=uK(0,e),o):n},o.sortGroups=function(n){return arguments.length?(e=n,o):e},o.sortSubgroups=function(n){return arguments.length?(t=n,o):t},o.sortChords=function(n){return arguments.length?(null==n?l=null:(l=sK(n))._=n,o):l&&l._},o},cK=Array.prototype.slice,pK=function(n){return function(){return n}};function fK(n){return n.source}function hK(n){return n.target}function mK(n){return n.radius}function vK(n){return n.startAngle}function gK(n){return n.endAngle}var bK=function(){var n=fK,e=hK,t=mK,l=vK,o=gK,r=null;function i(){var i,a=cK.call(arguments),u=n.apply(this,a),s=e.apply(this,a),d=+t.apply(this,(a[0]=u,a)),c=l.apply(this,a)-iK,p=o.apply(this,a)-iK,f=d*lK(c),h=d*oK(c),m=+t.apply(this,(a[0]=s,a)),v=l.apply(this,a)-iK,g=o.apply(this,a)-iK;if(r||(r=i=qF()),r.moveTo(f,h),r.arc(0,0,d,c,p),c===v&&p===g||(r.quadraticCurveTo(0,0,m*lK(v),m*oK(v)),r.arc(0,0,m,v,g)),r.quadraticCurveTo(0,0,f,h),r.closePath(),i)return r=null,i+""||null}return i.radius=function(n){return arguments.length?(t="function"==typeof n?n:pK(+n),i):t},i.startAngle=function(n){return arguments.length?(l="function"==typeof n?n:pK(+n),i):l},i.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:pK(+n),i):o},i.source=function(e){return arguments.length?(n=e,i):n},i.target=function(n){return arguments.length?(e=n,i):e},i.context=function(n){return arguments.length?(r=null==n?null:n,i):r},i};function _K(){}function yK(n,e){var t=new _K;if(n instanceof _K)n.each(function(n,e){t.set(e,n)});else if(Array.isArray(n)){var l,o=-1,r=n.length;if(null==e)for(;++o<r;)t.set(o,n[o]);else for(;++o<r;)t.set(e(l=n[o],o,n),l)}else if(n)for(var i in n)t.set(i,n[i]);return t}_K.prototype=yK.prototype={constructor:_K,has:function(n){return"$"+n in this},get:function(n){return this["$"+n]},set:function(n,e){return this["$"+n]=e,this},remove:function(n){var e="$"+n;return e in this&&delete this[e]},clear:function(){for(var n in this)"$"===n[0]&&delete this[n]},keys:function(){var n=[];for(var e in this)"$"===e[0]&&n.push(e.slice(1));return n},values:function(){var n=[];for(var e in this)"$"===e[0]&&n.push(this[e]);return n},entries:function(){var n=[];for(var e in this)"$"===e[0]&&n.push({key:e.slice(1),value:this[e]});return n},size:function(){var n=0;for(var e in this)"$"===e[0]&&++n;return n},empty:function(){for(var n in this)if("$"===n[0])return!1;return!0},each:function(n){for(var e in this)"$"===e[0]&&n(this[e],e.slice(1),this)}};var wK=yK,CK=function(){var n,e,t,l=[],o=[];function r(t,o,i,a){if(o>=l.length)return null!=n&&t.sort(n),null!=e?e(t):t;for(var u,s,d,c=-1,p=t.length,f=l[o++],h=wK(),m=i();++c<p;)(d=h.get(u=f(s=t[c])+""))?d.push(s):h.set(u,[s]);return h.each(function(n,e){a(m,e,r(n,o,i,a))}),m}return t={object:function(n){return r(n,0,xK,SK)},map:function(n){return r(n,0,kK,EK)},entries:function(n){return function n(t,r){if(++r>l.length)return t;var i,a=o[r-1];return null!=e&&r>=l.length?i=t.entries():(i=[],t.each(function(e,t){i.push({key:t,values:n(e,r)})})),null!=a?i.sort(function(n,e){return a(n.key,e.key)}):i}(r(n,0,kK,EK),0)},key:function(n){return l.push(n),t},sortKeys:function(n){return o[l.length-1]=n,t},sortValues:function(e){return n=e,t},rollup:function(n){return e=n,t}}};function xK(){return{}}function SK(n,e,t){n[e]=t}function kK(){return wK()}function EK(n,e,t){n.set(e,t)}function TK(){}var RK=wK.prototype;function IK(n,e){var t=new TK;if(n instanceof TK)n.each(function(n){t.add(n)});else if(n){var l=-1,o=n.length;if(null==e)for(;++l<o;)t.add(n[l]);else for(;++l<o;)t.add(e(n[l],l,n))}return t}TK.prototype=IK.prototype={constructor:TK,has:RK.has,add:function(n){return this["$"+(n+="")]=n,this},remove:RK.remove,clear:RK.clear,values:RK.keys,size:RK.size,empty:RK.empty,each:RK.each};var DK=IK,OK=function(n){var e=[];for(var t in n)e.push(t);return e},FK=function(n){var e=[];for(var t in n)e.push(n[t]);return e},NK=function(n){var e=[];for(var t in n)e.push({key:t,value:n[t]});return e},MK=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function AK(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function qK(){}var PK="\\s*([+-]?\\d+)\\s*",jK="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",LK="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",VK=/^#([0-9a-f]{3})$/,BK=/^#([0-9a-f]{6})$/,zK=new RegExp("^rgb\\("+[PK,PK,PK]+"\\)$"),UK=new RegExp("^rgb\\("+[LK,LK,LK]+"\\)$"),HK=new RegExp("^rgba\\("+[PK,PK,PK,jK]+"\\)$"),ZK=new RegExp("^rgba\\("+[LK,LK,LK,jK]+"\\)$"),WK=new RegExp("^hsl\\("+[jK,LK,LK]+"\\)$"),GK=new RegExp("^hsla\\("+[jK,LK,LK,jK]+"\\)$"),KK={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function YK(n){var e;return n=(n+"").trim().toLowerCase(),(e=VK.exec(n))?new nY((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=BK.exec(n))?$K(parseInt(e[1],16)):(e=zK.exec(n))?new nY(e[1],e[2],e[3],1):(e=UK.exec(n))?new nY(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=HK.exec(n))?XK(e[1],e[2],e[3],e[4]):(e=ZK.exec(n))?XK(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=WK.exec(n))?eY(e[1],e[2]/100,e[3]/100,1):(e=GK.exec(n))?eY(e[1],e[2]/100,e[3]/100,e[4]):KK.hasOwnProperty(n)?$K(KK[n]):"transparent"===n?new nY(NaN,NaN,NaN,0):null}function $K(n){return new nY(n>>16&255,n>>8&255,255&n,1)}function XK(n,e,t,l){return l<=0&&(n=e=t=NaN),new nY(n,e,t,l)}function QK(n){return n instanceof qK||(n=YK(n)),n?new nY((n=n.rgb()).r,n.g,n.b,n.opacity):new nY}function JK(n,e,t,l){return 1===arguments.length?QK(n):new nY(n,e,t,null==l?1:l)}function nY(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function eY(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new lY(n,e,t,l)}function tY(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof lY)return new lY(n.h,n.s,n.l,n.opacity);if(n instanceof qK||(n=YK(n)),!n)return new lY;if(n instanceof lY)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new lY(i,a,u,n.opacity)}(n):new lY(n,e,t,null==l?1:l)}function lY(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function oY(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}MK(qK,YK,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),MK(nY,JK,AK(qK,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new nY(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new nY(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}})),MK(lY,tY,AK(qK,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new lY(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new lY(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),e=isNaN(n)||isNaN(this.s)?0:this.s,t=this.l,l=t+(t<.5?t:1-t)*e,o=2*t-l;return new nY(oY(n>=240?n-240:n+120,o,l),oY(n,o,l),oY(n<120?n+240:n-120,o,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var rY=Math.PI/180,iY=180/Math.PI,aY=.96422,uY=1,sY=.82521,dY=4/29,cY=6/29,pY=3*cY*cY,fY=cY*cY*cY;function hY(n){if(n instanceof vY)return new vY(n.l,n.a,n.b,n.opacity);if(n instanceof CY){if(isNaN(n.h))return new vY(n.l,0,0,n.opacity);var e=n.h*rY;return new vY(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}n instanceof nY||(n=QK(n));var t,l,o=yY(n.r),r=yY(n.g),i=yY(n.b),a=gY((.2225045*o+.7168786*r+.0606169*i)/uY);return o===r&&r===i?t=l=a:(t=gY((.4360747*o+.3850649*r+.1430804*i)/aY),l=gY((.0139322*o+.0971045*r+.7141733*i)/sY)),new vY(116*a-16,500*(t-a),200*(a-l),n.opacity)}function mY(n,e,t,l){return 1===arguments.length?hY(n):new vY(n,e,t,null==l?1:l)}function vY(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function gY(n){return n>fY?Math.pow(n,1/3):n/pY+dY}function bY(n){return n>cY?n*n*n:pY*(n-dY)}function _Y(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function yY(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function wY(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof CY)return new CY(n.h,n.c,n.l,n.opacity);if(n instanceof vY||(n=hY(n)),0===n.a&&0===n.b)return new CY(NaN,0,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*iY;return new CY(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new CY(n,e,t,null==l?1:l)}function CY(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}MK(vY,mY,AK(qK,{brighter:function(n){return new vY(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new vY(this.l-18*(null==n?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,t=isNaN(this.b)?n:n-this.b/200;return new nY(_Y(3.1338561*(e=aY*bY(e))-1.6168667*(n=uY*bY(n))-.4906146*(t=sY*bY(t))),_Y(-.9787684*e+1.9161415*n+.033454*t),_Y(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),MK(CY,wY,AK(qK,{brighter:function(n){return new CY(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new CY(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return hY(this).rgb()}}));var xY=-.29227,SY=-.90649,kY=1.97294,EY=kY*SY,TY=1.78277*kY,RY=1.78277*xY- -.14861*SY;function IY(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof DY)return new DY(n.h,n.s,n.l,n.opacity);n instanceof nY||(n=QK(n));var e=n.g/255,t=n.b/255,l=(RY*t+EY*(n.r/255)-TY*e)/(RY+EY-TY),o=t-l,r=(kY*(e-l)-xY*o)/SY,i=Math.sqrt(r*r+o*o)/(kY*l*(1-l)),a=i?Math.atan2(r,o)*iY-120:NaN;return new DY(a<0?a+360:a,i,l,n.opacity)}(n):new DY(n,e,t,null==l?1:l)}function DY(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}MK(DY,IY,AK(qK,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new DY(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new DY(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*rY,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new nY(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(xY*l+SY*o)),255*(e+t*(kY*l)),this.opacity)}}));var OY=Array.prototype.slice,FY=function(n,e){return n-e},NY=function(n){for(var e=0,t=n.length,l=n[t-1][1]*n[0][0]-n[t-1][0]*n[0][1];++e<t;)l+=n[e-1][1]*n[e][0]-n[e-1][0]*n[e][1];return l},MY=function(n){return function(){return n}},AY=function(n,e){for(var t,l=-1,o=e.length;++l<o;)if(t=qY(n,e[l]))return t;return 0};function qY(n,e){for(var t=e[0],l=e[1],o=-1,r=0,i=n.length,a=i-1;r<i;a=r++){var u=n[r],s=u[0],d=u[1],c=n[a],p=c[0],f=c[1];if(PY(u,c,e))return 0;d>l!=f>l&&t<(p-s)*(l-d)/(f-d)+s&&(o=-o)}return o}function PY(n,e,t){var l,o,r,i;return function(n,e,t){return(e[0]-n[0])*(t[1]-n[1])==(t[0]-n[0])*(e[1]-n[1])}(n,e,t)&&(o=n[l=+(n[0]===e[0])],i=e[l],o<=(r=t[l])&&r<=i||i<=r&&r<=o)}var jY=function(){},LY=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],VY=function(){var n=1,e=1,t=JW,l=a;function o(n){var e=t(n);if(Array.isArray(e))e=e.slice().sort(FY);else{var l=VW(n),o=l[0],i=l[1];e=QW(o,i,e),e=WW(Math.floor(o/e)*e,Math.floor(i/e)*e,e)}return e.map(function(e){return r(n,e)})}function r(t,o){var r=[],a=[];return function(t,l,o){var r,a,u,s,d,c=new Array,p=new Array;for(r=a=-1,LY[(u=t[0]>=l)<<1].forEach(f);++r<n-1;)LY[u|(u=t[r+1]>=l)<<1].forEach(f);for(LY[u<<0].forEach(f);++a<e-1;){for(r=-1,LY[(u=t[a*n+n]>=l)<<1|(s=t[a*n]>=l)<<2].forEach(f);++r<n-1;)d=s,LY[u|(u=t[a*n+n+r+1]>=l)<<1|(s=t[a*n+r+1]>=l)<<2|d<<3].forEach(f);LY[u|s<<3].forEach(f)}for(r=-1,LY[(s=t[a*n]>=l)<<2].forEach(f);++r<n-1;)d=s,LY[(s=t[a*n+r+1]>=l)<<2|d<<3].forEach(f);function f(n){var e,t,l=[n[0][0]+r,n[0][1]+a],u=[n[1][0]+r,n[1][1]+a],s=i(l),d=i(u);(e=p[s])?(t=c[d])?(delete p[e.end],delete c[t.start],e===t?(e.ring.push(u),o(e.ring)):c[e.start]=p[t.end]={start:e.start,end:t.end,ring:e.ring.concat(t.ring)}):(delete p[e.end],e.ring.push(u),p[e.end=d]=e):(e=c[d])?(t=p[s])?(delete c[e.start],delete p[t.end],e===t?(e.ring.push(u),o(e.ring)):c[t.start]=p[e.end]={start:t.start,end:e.end,ring:t.ring.concat(e.ring)}):(delete c[e.start],e.ring.unshift(l),c[e.start=s]=e):c[s]=p[d]={start:s,end:d,ring:[l,u]}}LY[s<<3].forEach(f)}(t,o,function(n){l(n,t,o),NY(n)>0?r.push([n]):a.push(n)}),a.forEach(function(n){for(var e,t=0,l=r.length;t<l;++t)if(-1!==AY((e=r[t])[0],n))return void e.push(n)}),{type:"MultiPolygon",value:o,coordinates:r}}function i(e){return 2*e[0]+e[1]*(n+1)*4}function a(t,l,o){t.forEach(function(t){var r,i=t[0],a=t[1],u=0|i,s=0|a,d=l[s*n+u];i>0&&i<n&&u===i&&(t[0]=i+(o-(r=l[s*n+u-1]))/(d-r)-.5),a>0&&a<e&&s===a&&(t[1]=a+(o-(r=l[(s-1)*n+u]))/(d-r)-.5)})}return o.contour=r,o.size=function(t){if(!arguments.length)return[n,e];var l=Math.ceil(t[0]),r=Math.ceil(t[1]);if(!(l>0&&r>0))throw new Error("invalid size");return n=l,e=r,o},o.thresholds=function(n){return arguments.length?(t="function"==typeof n?n:Array.isArray(n)?MY(OY.call(n)):MY(n),o):t},o.smooth=function(n){return arguments.length?(l=n?a:jY,o):l===a},o};function BY(n,e,t){for(var l=n.width,o=n.height,r=1+(t<<1),i=0;i<o;++i)for(var a=0,u=0;a<l+t;++a)a<l&&(u+=n.data[a+i*l]),a>=t&&(a>=r&&(u-=n.data[a-r+i*l]),e.data[a-t+i*l]=u/Math.min(a+1,l-1+r-a,r))}function zY(n,e,t){for(var l=n.width,o=n.height,r=1+(t<<1),i=0;i<l;++i)for(var a=0,u=0;a<o+t;++a)a<o&&(u+=n.data[i+a*l]),a>=t&&(a>=r&&(u-=n.data[i+(a-r)*l]),e.data[i+(a-t)*l]=u/Math.min(a+1,o-1+r-a,r))}function UY(n){return n[0]}function HY(n){return n[1]}var ZY=function(){var n=UY,e=HY,t=960,l=500,o=20,r=2,i=3*o,a=t+2*i>>r,u=l+2*i>>r,s=MY(20);function d(t){var l=new Float32Array(a*u),d=new Float32Array(a*u);t.forEach(function(t,o,s){var d=n(t,o,s)+i>>r,c=e(t,o,s)+i>>r;d>=0&&d<a&&c>=0&&c<u&&++l[d+c*a]}),BY({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),zY({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r),BY({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),zY({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r),BY({width:a,height:u,data:l},{width:a,height:u,data:d},o>>r),zY({width:a,height:u,data:d},{width:a,height:u,data:l},o>>r);var p=s(l);if(!Array.isArray(p)){var f=oG(l);p=QW(0,f,p),(p=WW(0,Math.floor(f/p)*p,p)).shift()}return VY().thresholds(p).size([a,u])(l).map(c)}function c(n){return n.value*=Math.pow(2,-2*r),n.coordinates.forEach(p),n}function p(n){n.forEach(f)}function f(n){n.forEach(h)}function h(n){n[0]=n[0]*Math.pow(2,r)-i,n[1]=n[1]*Math.pow(2,r)-i}function m(){return a=t+2*(i=3*o)>>r,u=l+2*i>>r,d}return d.x=function(e){return arguments.length?(n="function"==typeof e?e:MY(+e),d):n},d.y=function(n){return arguments.length?(e="function"==typeof n?n:MY(+n),d):e},d.size=function(n){if(!arguments.length)return[t,l];var e=Math.ceil(n[0]),o=Math.ceil(n[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return t=e,l=o,m()},d.cellSize=function(n){if(!arguments.length)return 1<<r;if(!((n=+n)>=1))throw new Error("invalid cell size");return r=Math.floor(Math.log(n)/Math.LN2),m()},d.thresholds=function(n){return arguments.length?(s="function"==typeof n?n:Array.isArray(n)?MY(OY.call(n)):MY(n),d):s},d.bandwidth=function(n){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((n=+n)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*n*n+1)-1)/2),m()},d},WY={},GY={},KY=34,YY=10,$Y=13;function XY(n){return new Function("d","return {"+n.map(function(n,e){return JSON.stringify(n)+": d["+e+"]"}).join(",")+"}")}var QY=function(n){var e=new RegExp('["'+n+"\n\r]"),t=n.charCodeAt(0);function l(n,e){var l,o=[],r=n.length,i=0,a=0,u=r<=0,s=!1;function d(){if(u)return GY;if(s)return s=!1,WY;var e,l,o=i;if(n.charCodeAt(o)===KY){for(;i++<r&&n.charCodeAt(i)!==KY||n.charCodeAt(++i)===KY;);return(e=i)>=r?u=!0:(l=n.charCodeAt(i++))===YY?s=!0:l===$Y&&(s=!0,n.charCodeAt(i)===YY&&++i),n.slice(o+1,e-1).replace(/""/g,'"')}for(;i<r;){if((l=n.charCodeAt(e=i++))===YY)s=!0;else if(l===$Y)s=!0,n.charCodeAt(i)===YY&&++i;else if(l!==t)continue;return n.slice(o,e)}return u=!0,n.slice(o,r)}for(n.charCodeAt(r-1)===YY&&--r,n.charCodeAt(r-1)===$Y&&--r;(l=d())!==GY;){for(var c=[];l!==WY&&l!==GY;)c.push(l),l=d();e&&null==(c=e(c,a++))||o.push(c)}return o}function o(e){return e.map(r).join(n)}function r(n){return null==n?"":e.test(n+="")?'"'+n.replace(/"/g,'""')+'"':n}return{parse:function(n,e){var t,o,r=l(n,function(n,l){if(t)return t(n,l-1);o=n,t=e?function(n,e){var t=XY(n);return function(l,o){return e(t(l),o,n)}}(n,e):XY(n)});return r.columns=o||[],r},parseRows:l,format:function(e,t){return null==t&&(t=function(n){var e=Object.create(null),t=[];return n.forEach(function(n){for(var l in n)l in e||t.push(e[l]=l)}),t}(e)),[t.map(r).join(n)].concat(e.map(function(e){return t.map(function(n){return r(e[n])}).join(n)})).join("\n")},formatRows:function(n){return n.map(o).join("\n")}}},JY=QY(","),n$=JY.parse,e$=JY.parseRows,t$=JY.format,l$=JY.formatRows,o$=QY("\t"),r$=o$.parse,i$=o$.parseRows,a$=o$.format,u$=o$.formatRows,s$=function(n,e){var t;function l(){var l,o,r=t.length,i=0,a=0;for(l=0;l<r;++l)i+=(o=t[l]).x,a+=o.y;for(i=i/r-n,a=a/r-e,l=0;l<r;++l)(o=t[l]).x-=i,o.y-=a}return null==n&&(n=0),null==e&&(e=0),l.initialize=function(n){t=n},l.x=function(e){return arguments.length?(n=+e,l):n},l.y=function(n){return arguments.length?(e=+n,l):e},l},d$=function(n){return function(){return n}},c$=function(){return 1e-6*(Math.random()-.5)};function p$(n,e,t,l){if(isNaN(e)||isNaN(t))return n;var o,r,i,a,u,s,d,c,p,f=n._root,h={data:l},m=n._x0,v=n._y0,g=n._x1,b=n._y1;if(!f)return n._root=h,n;for(;f.length;)if((s=e>=(r=(m+g)/2))?m=r:g=r,(d=t>=(i=(v+b)/2))?v=i:b=i,o=f,!(f=f[c=d<<1|s]))return o[c]=h,n;if(a=+n._x.call(null,f.data),u=+n._y.call(null,f.data),e===a&&t===u)return h.next=f,o?o[c]=h:n._root=h,n;do{o=o?o[c]=new Array(4):n._root=new Array(4),(s=e>=(r=(m+g)/2))?m=r:g=r,(d=t>=(i=(v+b)/2))?v=i:b=i}while((c=d<<1|s)==(p=(u>=i)<<1|a>=r));return o[p]=f,o[c]=h,n}var f$=function(n,e,t,l,o){this.node=n,this.x0=e,this.y0=t,this.x1=l,this.y1=o};function h$(n){return n[0]}function m$(n){return n[1]}function v$(n,e,t){var l=new g$(null==e?h$:e,null==t?m$:t,NaN,NaN,NaN,NaN);return null==n?l:l.addAll(n)}function g$(n,e,t,l,o,r){this._x=n,this._y=e,this._x0=t,this._y0=l,this._x1=o,this._y1=r,this._root=void 0}function b$(n){for(var e={data:n.data},t=e;n=n.next;)t=t.next={data:n.data};return e}var _$=v$.prototype=g$.prototype;function y$(n){return n.x+n.vx}function w$(n){return n.y+n.vy}_$.copy=function(){var n,e,t=new g$(this._x,this._y,this._x0,this._y0,this._x1,this._y1),l=this._root;if(!l)return t;if(!l.length)return t._root=b$(l),t;for(n=[{source:l,target:t._root=new Array(4)}];l=n.pop();)for(var o=0;o<4;++o)(e=l.source[o])&&(e.length?n.push({source:e,target:l.target[o]=new Array(4)}):l.target[o]=b$(e));return t},_$.add=function(n){var e=+this._x.call(null,n),t=+this._y.call(null,n);return p$(this.cover(e,t),e,t,n)},_$.addAll=function(n){var e,t,l,o,r=n.length,i=new Array(r),a=new Array(r),u=1/0,s=1/0,d=-1/0,c=-1/0;for(t=0;t<r;++t)isNaN(l=+this._x.call(null,e=n[t]))||isNaN(o=+this._y.call(null,e))||(i[t]=l,a[t]=o,l<u&&(u=l),l>d&&(d=l),o<s&&(s=o),o>c&&(c=o));if(u>d||s>c)return this;for(this.cover(u,s).cover(d,c),t=0;t<r;++t)p$(this,i[t],a[t],n[t]);return this},_$.cover=function(n,e){if(isNaN(n=+n)||isNaN(e=+e))return this;var t=this._x0,l=this._y0,o=this._x1,r=this._y1;if(isNaN(t))o=(t=Math.floor(n))+1,r=(l=Math.floor(e))+1;else{for(var i,a,u=o-t,s=this._root;t>n||n>=o||l>e||e>=r;)switch(a=(e<l)<<1|n<t,(i=new Array(4))[a]=s,s=i,u*=2,a){case 0:o=t+u,r=l+u;break;case 1:t=o-u,r=l+u;break;case 2:o=t+u,l=r-u;break;case 3:t=o-u,l=r-u}this._root&&this._root.length&&(this._root=s)}return this._x0=t,this._y0=l,this._x1=o,this._y1=r,this},_$.data=function(){var n=[];return this.visit(function(e){if(!e.length)do{n.push(e.data)}while(e=e.next)}),n},_$.extent=function(n){return arguments.length?this.cover(+n[0][0],+n[0][1]).cover(+n[1][0],+n[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},_$.find=function(n,e,t){var l,o,r,i,a,u,s,d=this._x0,c=this._y0,p=this._x1,f=this._y1,h=[],m=this._root;for(m&&h.push(new f$(m,d,c,p,f)),null==t?t=1/0:(d=n-t,c=e-t,p=n+t,f=e+t,t*=t);u=h.pop();)if(!(!(m=u.node)||(o=u.x0)>p||(r=u.y0)>f||(i=u.x1)<d||(a=u.y1)<c))if(m.length){var v=(o+i)/2,g=(r+a)/2;h.push(new f$(m[3],v,g,i,a),new f$(m[2],o,g,v,a),new f$(m[1],v,r,i,g),new f$(m[0],o,r,v,g)),(s=(e>=g)<<1|n>=v)&&(u=h[h.length-1],h[h.length-1]=h[h.length-1-s],h[h.length-1-s]=u)}else{var b=n-+this._x.call(null,m.data),_=e-+this._y.call(null,m.data),y=b*b+_*_;if(y<t){var w=Math.sqrt(t=y);d=n-w,c=e-w,p=n+w,f=e+w,l=m.data}}return l},_$.remove=function(n){if(isNaN(r=+this._x.call(null,n))||isNaN(i=+this._y.call(null,n)))return this;var e,t,l,o,r,i,a,u,s,d,c,p,f=this._root,h=this._x0,m=this._y0,v=this._x1,g=this._y1;if(!f)return this;if(f.length)for(;;){if((s=r>=(a=(h+v)/2))?h=a:v=a,(d=i>=(u=(m+g)/2))?m=u:g=u,e=f,!(f=f[c=d<<1|s]))return this;if(!f.length)break;(e[c+1&3]||e[c+2&3]||e[c+3&3])&&(t=e,p=c)}for(;f.data!==n;)if(l=f,!(f=f.next))return this;return(o=f.next)&&delete f.next,l?(o?l.next=o:delete l.next,this):e?(o?e[c]=o:delete e[c],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(t?t[p]=f:this._root=f),this):(this._root=o,this)},_$.removeAll=function(n){for(var e=0,t=n.length;e<t;++e)this.remove(n[e]);return this},_$.root=function(){return this._root},_$.size=function(){var n=0;return this.visit(function(e){if(!e.length)do{++n}while(e=e.next)}),n},_$.visit=function(n){var e,t,l,o,r,i,a=[],u=this._root;for(u&&a.push(new f$(u,this._x0,this._y0,this._x1,this._y1));e=a.pop();)if(!n(u=e.node,l=e.x0,o=e.y0,r=e.x1,i=e.y1)&&u.length){var s=(l+r)/2,d=(o+i)/2;(t=u[3])&&a.push(new f$(t,s,d,r,i)),(t=u[2])&&a.push(new f$(t,l,d,s,i)),(t=u[1])&&a.push(new f$(t,s,o,r,d)),(t=u[0])&&a.push(new f$(t,l,o,s,d))}return this},_$.visitAfter=function(n){var e,t=[],l=[];for(this._root&&t.push(new f$(this._root,this._x0,this._y0,this._x1,this._y1));e=t.pop();){var o=e.node;if(o.length){var r,i=e.x0,a=e.y0,u=e.x1,s=e.y1,d=(i+u)/2,c=(a+s)/2;(r=o[0])&&t.push(new f$(r,i,a,d,c)),(r=o[1])&&t.push(new f$(r,d,a,u,c)),(r=o[2])&&t.push(new f$(r,i,c,d,s)),(r=o[3])&&t.push(new f$(r,d,c,u,s))}l.push(e)}for(;e=l.pop();)n(e.node,e.x0,e.y0,e.x1,e.y1);return this},_$.x=function(n){return arguments.length?(this._x=n,this):this._x},_$.y=function(n){return arguments.length?(this._y=n,this):this._y};var C$=function(n){var e,t,l=1,o=1;function r(){for(var n,r,a,u,s,d,c,p=e.length,f=0;f<o;++f)for(r=v$(e,y$,w$).visitAfter(i),n=0;n<p;++n)c=(d=t[(a=e[n]).index])*d,u=a.x+a.vx,s=a.y+a.vy,r.visit(h);function h(n,e,t,o,r){var i=n.data,p=n.r,f=d+p;if(!i)return e>u+f||o<u-f||t>s+f||r<s-f;if(i.index>a.index){var h=u-i.x-i.vx,m=s-i.y-i.vy,v=h*h+m*m;v<f*f&&(0===h&&(v+=(h=c$())*h),0===m&&(v+=(m=c$())*m),v=(f-(v=Math.sqrt(v)))/v*l,a.vx+=(h*=v)*(f=(p*=p)/(c+p)),a.vy+=(m*=v)*f,i.vx-=h*(f=1-f),i.vy-=m*f)}}}function i(n){if(n.data)return n.r=t[n.data.index];for(var e=n.r=0;e<4;++e)n[e]&&n[e].r>n.r&&(n.r=n[e].r)}function a(){if(e){var l,o,r=e.length;for(t=new Array(r),l=0;l<r;++l)t[(o=e[l]).index]=+n(o,l,e)}}return"function"!=typeof n&&(n=d$(null==n?1:+n)),r.initialize=function(n){e=n,a()},r.iterations=function(n){return arguments.length?(o=+n,r):o},r.strength=function(n){return arguments.length?(l=+n,r):l},r.radius=function(e){return arguments.length?(n="function"==typeof e?e:d$(+e),a(),r):n},r};function x$(n){return n.index}function S$(n,e){var t=n.get(e);if(!t)throw new Error("missing: "+e);return t}var k$=function(n){var e,t,l,o,r,i=x$,a=function(n){return 1/Math.min(o[n.source.index],o[n.target.index])},u=d$(30),s=1;function d(l){for(var o=0,i=n.length;o<s;++o)for(var a,u,d,c,p,f,h,m=0;m<i;++m)c=(d=(a=n[m]).target).x+d.vx-(u=a.source).x-u.vx||c$(),p=d.y+d.vy-u.y-u.vy||c$(),p*=f=((f=Math.sqrt(c*c+p*p))-t[m])/f*l*e[m],d.vx-=(c*=f)*(h=r[m]),d.vy-=p*h,u.vx+=c*(h=1-h),u.vy+=p*h}function c(){if(l){var a,u,s=l.length,d=n.length,c=wK(l,i);for(a=0,o=new Array(s);a<d;++a)(u=n[a]).index=a,"object"!=typeof u.source&&(u.source=S$(c,u.source)),"object"!=typeof u.target&&(u.target=S$(c,u.target)),o[u.source.index]=(o[u.source.index]||0)+1,o[u.target.index]=(o[u.target.index]||0)+1;for(a=0,r=new Array(d);a<d;++a)r[a]=o[(u=n[a]).source.index]/(o[u.source.index]+o[u.target.index]);e=new Array(d),p(),t=new Array(d),f()}}function p(){if(l)for(var t=0,o=n.length;t<o;++t)e[t]=+a(n[t],t,n)}function f(){if(l)for(var e=0,o=n.length;e<o;++e)t[e]=+u(n[e],e,n)}return null==n&&(n=[]),d.initialize=function(n){l=n,c()},d.links=function(e){return arguments.length?(n=e,c(),d):n},d.id=function(n){return arguments.length?(i=n,d):i},d.iterations=function(n){return arguments.length?(s=+n,d):s},d.strength=function(n){return arguments.length?(a="function"==typeof n?n:d$(+n),p(),d):a},d.distance=function(n){return arguments.length?(u="function"==typeof n?n:d$(+n),f(),d):u},d};function E$(n){return n.x}function T$(n){return n.y}var R$,I$=10,D$=Math.PI*(3-Math.sqrt(5)),O$=function(n){var e,t=1,l=.001,o=1-Math.pow(l,1/300),r=0,i=.6,a=wK(),u=eP(d),s=rO("tick","end");function d(){c(),s.call("tick",e),t<l&&(u.stop(),s.call("end",e))}function c(){var e,l,u=n.length;for(t+=(r-t)*o,a.each(function(n){n(t)}),e=0;e<u;++e)null==(l=n[e]).fx?l.x+=l.vx*=i:(l.x=l.fx,l.vx=0),null==l.fy?l.y+=l.vy*=i:(l.y=l.fy,l.vy=0)}function p(){for(var e,t=0,l=n.length;t<l;++t){if((e=n[t]).index=t,isNaN(e.x)||isNaN(e.y)){var o=I$*Math.sqrt(t),r=t*D$;e.x=o*Math.cos(r),e.y=o*Math.sin(r)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function f(e){return e.initialize&&e.initialize(n),e}return null==n&&(n=[]),p(),e={tick:c,restart:function(){return u.restart(d),e},stop:function(){return u.stop(),e},nodes:function(t){return arguments.length?(n=t,p(),a.each(f),e):n},alpha:function(n){return arguments.length?(t=+n,e):t},alphaMin:function(n){return arguments.length?(l=+n,e):l},alphaDecay:function(n){return arguments.length?(o=+n,e):+o},alphaTarget:function(n){return arguments.length?(r=+n,e):r},velocityDecay:function(n){return arguments.length?(i=1-n,e):1-i},force:function(n,t){return arguments.length>1?(null==t?a.remove(n):a.set(n,f(t)),e):a.get(n)},find:function(e,t,l){var o,r,i,a,u,s=0,d=n.length;for(null==l?l=1/0:l*=l,s=0;s<d;++s)(i=(o=e-(a=n[s]).x)*o+(r=t-a.y)*r)<l&&(u=a,l=i);return u},on:function(n,t){return arguments.length>1?(s.on(n,t),e):s.on(n)}}},F$=function(){var n,e,t,l,o=d$(-30),r=1,i=1/0,a=.81;function u(l){var o,r=n.length,i=v$(n,E$,T$).visitAfter(d);for(t=l,o=0;o<r;++o)e=n[o],i.visit(c)}function s(){if(n){var e,t,r=n.length;for(l=new Array(r),e=0;e<r;++e)l[(t=n[e]).index]=+o(t,e,n)}}function d(n){var e,t,o,r,i,a=0,u=0;if(n.length){for(o=r=i=0;i<4;++i)(e=n[i])&&(t=Math.abs(e.value))&&(a+=e.value,u+=t,o+=t*e.x,r+=t*e.y);n.x=o/u,n.y=r/u}else{(e=n).x=e.data.x,e.y=e.data.y;do{a+=l[e.data.index]}while(e=e.next)}n.value=a}function c(n,o,u,s){if(!n.value)return!0;var d=n.x-e.x,c=n.y-e.y,p=s-o,f=d*d+c*c;if(p*p/a<f)return f<i&&(0===d&&(f+=(d=c$())*d),0===c&&(f+=(c=c$())*c),f<r&&(f=Math.sqrt(r*f)),e.vx+=d*n.value*t/f,e.vy+=c*n.value*t/f),!0;if(!(n.length||f>=i)){(n.data!==e||n.next)&&(0===d&&(f+=(d=c$())*d),0===c&&(f+=(c=c$())*c),f<r&&(f=Math.sqrt(r*f)));do{n.data!==e&&(e.vx+=d*(p=l[n.data.index]*t/f),e.vy+=c*p)}while(n=n.next)}}return u.initialize=function(e){n=e,s()},u.strength=function(n){return arguments.length?(o="function"==typeof n?n:d$(+n),s(),u):o},u.distanceMin=function(n){return arguments.length?(r=n*n,u):Math.sqrt(r)},u.distanceMax=function(n){return arguments.length?(i=n*n,u):Math.sqrt(i)},u.theta=function(n){return arguments.length?(a=n*n,u):Math.sqrt(a)},u},N$=function(n,e,t){var l,o,r,i=d$(.1);function a(n){for(var i=0,a=l.length;i<a;++i){var u=l[i],s=u.x-e||1e-6,d=u.y-t||1e-6,c=Math.sqrt(s*s+d*d),p=(r[i]-c)*o[i]*n/c;u.vx+=s*p,u.vy+=d*p}}function u(){if(l){var e,t=l.length;for(o=new Array(t),r=new Array(t),e=0;e<t;++e)r[e]=+n(l[e],e,l),o[e]=isNaN(r[e])?0:+i(l[e],e,l)}}return"function"!=typeof n&&(n=d$(+n)),null==e&&(e=0),null==t&&(t=0),a.initialize=function(n){l=n,u()},a.strength=function(n){return arguments.length?(i="function"==typeof n?n:d$(+n),u(),a):i},a.radius=function(e){return arguments.length?(n="function"==typeof e?e:d$(+e),u(),a):n},a.x=function(n){return arguments.length?(e=+n,a):e},a.y=function(n){return arguments.length?(t=+n,a):t},a},M$=function(n){var e,t,l,o=d$(.1);function r(n){for(var o,r=0,i=e.length;r<i;++r)(o=e[r]).vx+=(l[r]-o.x)*t[r]*n}function i(){if(e){var r,i=e.length;for(t=new Array(i),l=new Array(i),r=0;r<i;++r)t[r]=isNaN(l[r]=+n(e[r],r,e))?0:+o(e[r],r,e)}}return"function"!=typeof n&&(n=d$(null==n?0:+n)),r.initialize=function(n){e=n,i()},r.strength=function(n){return arguments.length?(o="function"==typeof n?n:d$(+n),i(),r):o},r.x=function(e){return arguments.length?(n="function"==typeof e?e:d$(+e),i(),r):n},r},A$=function(n){var e,t,l,o=d$(.1);function r(n){for(var o,r=0,i=e.length;r<i;++r)(o=e[r]).vy+=(l[r]-o.y)*t[r]*n}function i(){if(e){var r,i=e.length;for(t=new Array(i),l=new Array(i),r=0;r<i;++r)t[r]=isNaN(l[r]=+n(e[r],r,e))?0:+o(e[r],r,e)}}return"function"!=typeof n&&(n=d$(null==n?0:+n)),r.initialize=function(n){e=n,i()},r.strength=function(n){return arguments.length?(o="function"==typeof n?n:d$(+n),i(),r):o},r.y=function(e){return arguments.length?(n="function"==typeof e?e:d$(+e),i(),r):n},r},q$=function(n,e){if((t=(n=e?n.toExponential(e-1):n.toExponential()).indexOf("e"))<0)return null;var t,l=n.slice(0,t);return[l.length>1?l[0]+l.slice(2):l,+n.slice(t+1)]},P$=function(n){return(n=q$(Math.abs(n)))?n[1]:NaN},j$=function(n,e){var t=q$(n,e);if(!t)return n+"";var l=t[0],o=t[1];return o<0?"0."+new Array(-o).join("0")+l:l.length>o+1?l.slice(0,o+1)+"."+l.slice(o+1):l+new Array(o-l.length+2).join("0")},L$={"":function(n,e){n:for(var t,l=(n=n.toPrecision(e)).length,o=1,r=-1;o<l;++o)switch(n[o]){case".":r=t=o;break;case"0":0===r&&(r=o),t=o;break;case"e":break n;default:r>0&&(r=0)}return r>0?n.slice(0,r)+n.slice(t+1):n},"%":function(n,e){return(100*n).toFixed(e)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.round(n).toString(10)},e:function(n,e){return n.toExponential(e)},f:function(n,e){return n.toFixed(e)},g:function(n,e){return n.toPrecision(e)},o:function(n){return Math.round(n).toString(8)},p:function(n,e){return j$(100*n,e)},r:j$,s:function(n,e){var t=q$(n,e);if(!t)return n+"";var l=t[0],o=t[1],r=o-(R$=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=l.length;return r===i?l:r>i?l+new Array(r-i+1).join("0"):r>0?l.slice(0,r)+"."+l.slice(r):"0."+new Array(1-r).join("0")+q$(n,Math.max(0,e+r-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}},V$=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function B$(n){return new z$(n)}function z$(n){if(!(e=V$.exec(n)))throw new Error("invalid format: "+n);var e,t=e[1]||" ",l=e[2]||">",o=e[3]||"-",r=e[4]||"",i=!!e[5],a=e[6]&&+e[6],u=!!e[7],s=e[8]&&+e[8].slice(1),d=e[9]||"";"n"===d?(u=!0,d="g"):L$[d]||(d=""),(i||"0"===t&&"="===l)&&(i=!0,t="0",l="="),this.fill=t,this.align=l,this.sign=o,this.symbol=r,this.zero=i,this.width=a,this.comma=u,this.precision=s,this.type=d}B$.prototype=z$.prototype,z$.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var U$,H$,Z$,W$=function(n){return n},G$=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],K$=function(n){var e,t,l=n.grouping&&n.thousands?(e=n.grouping,t=n.thousands,function(n,l){for(var o=n.length,r=[],i=0,a=e[0],u=0;o>0&&a>0&&(u+a+1>l&&(a=Math.max(1,l-u)),r.push(n.substring(o-=a,o+a)),!((u+=a+1)>l));)a=e[i=(i+1)%e.length];return r.reverse().join(t)}):W$,o=n.currency,r=n.decimal,i=n.numerals?function(n){return function(e){return e.replace(/[0-9]/g,function(e){return n[+e]})}}(n.numerals):W$,a=n.percent||"%";function u(n){var e=(n=B$(n)).fill,t=n.align,u=n.sign,s=n.symbol,d=n.zero,c=n.width,p=n.comma,f=n.precision,h=n.type,m="$"===s?o[0]:"#"===s&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",v="$"===s?o[1]:/[%p]/.test(h)?a:"",g=L$[h],b=!h||/[defgprs%]/.test(h);function _(n){var o,a,s,_=m,y=v;if("c"===h)y=g(n)+y,n="";else{var w=(n=+n)<0;if(n=g(Math.abs(n),f),w&&0==+n&&(w=!1),_=(w?"("===u?u:"-":"-"===u||"("===u?"":u)+_,y=("s"===h?G$[8+R$/3]:"")+y+(w&&"("===u?")":""),b)for(o=-1,a=n.length;++o<a;)if(48>(s=n.charCodeAt(o))||s>57){y=(46===s?r+n.slice(o+1):n.slice(o))+y,n=n.slice(0,o);break}}p&&!d&&(n=l(n,1/0));var C=_.length+n.length+y.length,x=C<c?new Array(c-C+1).join(e):"";switch(p&&d&&(n=l(x+n,x.length?c-y.length:1/0),x=""),t){case"<":n=_+n+y+x;break;case"=":n=_+x+n+y;break;case"^":n=x.slice(0,C=x.length>>1)+_+n+y+x.slice(C);break;default:n=x+_+n+y}return i(n)}return f=null==f?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),_.toString=function(){return n+""},_}return{format:u,formatPrefix:function(n,e){var t=u(((n=B$(n)).type="f",n)),l=3*Math.max(-8,Math.min(8,Math.floor(P$(e)/3))),o=Math.pow(10,-l),r=G$[8+l/3];return function(n){return t(o*n)+r}}}};function Y$(n){return U$=K$(n),H$=U$.format,Z$=U$.formatPrefix,U$}Y$({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var $$=function(n){return Math.max(0,-P$(Math.abs(n)))},X$=function(n,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(P$(e)/3)))-P$(Math.abs(n)))},Q$=function(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,P$(e)-P$(n))+1},J$=function(){return new nX};function nX(){this.reset()}nX.prototype={constructor:nX,reset:function(){this.s=this.t=0},add:function(n){tX(eX,n,this.t),tX(this,eX.s,this.s),this.s?this.t+=eX.t:this.s=eX.t},valueOf:function(){return this.s}};var eX=new nX;function tX(n,e,t){var l=n.s=e+t,o=l-e;n.t=e-(l-o)+(t-o)}var lX=1e-6,oX=Math.PI,rX=oX/2,iX=oX/4,aX=2*oX,uX=180/oX,sX=oX/180,dX=Math.abs,cX=Math.atan,pX=Math.atan2,fX=Math.cos,hX=Math.ceil,mX=Math.exp,vX=(Math,Math.log),gX=Math.pow,bX=Math.sin,_X=Math.sign||function(n){return n>0?1:n<0?-1:0},yX=Math.sqrt,wX=Math.tan;function CX(n){return n>1?0:n<-1?oX:Math.acos(n)}function xX(n){return n>1?rX:n<-1?-rX:Math.asin(n)}function SX(n){return(n=bX(n/2))*n}function kX(){}function EX(n,e){n&&RX.hasOwnProperty(n.type)&&RX[n.type](n,e)}var TX={Feature:function(n,e){EX(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)EX(t[l].geometry,e)}},RX={Sphere:function(n,e){e.sphere()},Point:function(n,e){e.point((n=n.coordinates)[0],n[1],n[2])},MultiPoint:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)e.point((n=t[l])[0],n[1],n[2])},LineString:function(n,e){IX(n.coordinates,e,0)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)IX(t[l],e,0)},Polygon:function(n,e){DX(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)DX(t[l],e)},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)EX(t[l],e)}};function IX(n,e,t){var l,o=-1,r=n.length-t;for(e.lineStart();++o<r;)e.point((l=n[o])[0],l[1],l[2]);e.lineEnd()}function DX(n,e){var t=-1,l=n.length;for(e.polygonStart();++t<l;)IX(n[t],e,1);e.polygonEnd()}var OX,FX,NX,MX,AX,qX=function(n,e){n&&TX.hasOwnProperty(n.type)?TX[n.type](n,e):EX(n,e)},PX=J$(),jX=J$(),LX={point:kX,lineStart:kX,lineEnd:kX,polygonStart:function(){PX.reset(),LX.lineStart=VX,LX.lineEnd=BX},polygonEnd:function(){var n=+PX;jX.add(n<0?aX+n:n),this.lineStart=this.lineEnd=this.point=kX},sphere:function(){jX.add(aX)}};function VX(){LX.point=zX}function BX(){UX(OX,FX)}function zX(n,e){LX.point=UX,OX=n,FX=e,NX=n*=sX,MX=fX(e=(e*=sX)/2+iX),AX=bX(e)}function UX(n,e){var t=(n*=sX)-NX,l=t>=0?1:-1,o=l*t,r=fX(e=(e*=sX)/2+iX),i=bX(e),a=AX*i,u=MX*r+a*fX(o),s=a*l*bX(o);PX.add(pX(s,u)),NX=n,MX=r,AX=i}var HX=function(n){return jX.reset(),qX(n,LX),2*jX};function ZX(n){return[pX(n[1],n[0]),xX(n[2])]}function WX(n){var e=n[0],t=n[1],l=fX(t);return[l*fX(e),l*bX(e),bX(t)]}function GX(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function KX(n,e){return[n[1]*e[2]-n[2]*e[1],n[2]*e[0]-n[0]*e[2],n[0]*e[1]-n[1]*e[0]]}function YX(n,e){n[0]+=e[0],n[1]+=e[1],n[2]+=e[2]}function $X(n,e){return[n[0]*e,n[1]*e,n[2]*e]}function XX(n){var e=yX(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=e,n[1]/=e,n[2]/=e}var QX,JX,nQ,eQ,tQ,lQ,oQ,rQ,iQ,aQ,uQ=J$(),sQ={point:dQ,lineStart:pQ,lineEnd:fQ,polygonStart:function(){sQ.point=hQ,sQ.lineStart=mQ,sQ.lineEnd=vQ,uQ.reset(),LX.polygonStart()},polygonEnd:function(){LX.polygonEnd(),sQ.point=dQ,sQ.lineStart=pQ,sQ.lineEnd=fQ,PX<0?(QX=-(nQ=180),JX=-(eQ=90)):uQ>lX?eQ=90:uQ<-lX&&(JX=-90),aQ[0]=QX,aQ[1]=nQ}};function dQ(n,e){iQ.push(aQ=[QX=n,nQ=n]),e<JX&&(JX=e),e>eQ&&(eQ=e)}function cQ(n,e){var t=WX([n*sX,e*sX]);if(rQ){var l=KX(rQ,t),o=KX([l[1],-l[0],0],l);XX(o),o=ZX(o);var r,i=n-tQ,a=i>0?1:-1,u=o[0]*uX*a,s=dX(i)>180;s^(a*tQ<u&&u<a*n)?(r=o[1]*uX)>eQ&&(eQ=r):s^(a*tQ<(u=(u+360)%360-180)&&u<a*n)?(r=-o[1]*uX)<JX&&(JX=r):(e<JX&&(JX=e),e>eQ&&(eQ=e)),s?n<tQ?gQ(QX,n)>gQ(QX,nQ)&&(nQ=n):gQ(n,nQ)>gQ(QX,nQ)&&(QX=n):nQ>=QX?(n<QX&&(QX=n),n>nQ&&(nQ=n)):n>tQ?gQ(QX,n)>gQ(QX,nQ)&&(nQ=n):gQ(n,nQ)>gQ(QX,nQ)&&(QX=n)}else iQ.push(aQ=[QX=n,nQ=n]);e<JX&&(JX=e),e>eQ&&(eQ=e),rQ=t,tQ=n}function pQ(){sQ.point=cQ}function fQ(){aQ[0]=QX,aQ[1]=nQ,sQ.point=dQ,rQ=null}function hQ(n,e){if(rQ){var t=n-tQ;uQ.add(dX(t)>180?t+(t>0?360:-360):t)}else lQ=n,oQ=e;LX.point(n,e),cQ(n,e)}function mQ(){LX.lineStart()}function vQ(){hQ(lQ,oQ),LX.lineEnd(),dX(uQ)>lX&&(QX=-(nQ=180)),aQ[0]=QX,aQ[1]=nQ,rQ=null}function gQ(n,e){return(e-=n)<0?e+360:e}function bQ(n,e){return n[0]-e[0]}function _Q(n,e){return n[0]<=n[1]?n[0]<=e&&e<=n[1]:e<n[0]||n[1]<e}var yQ,wQ,CQ,xQ,SQ,kQ,EQ,TQ,RQ,IQ,DQ,OQ,FQ,NQ,MQ,AQ,qQ=function(n){var e,t,l,o,r,i,a;if(eQ=nQ=-(QX=JX=1/0),iQ=[],qX(n,sQ),t=iQ.length){for(iQ.sort(bQ),e=1,r=[l=iQ[0]];e<t;++e)_Q(l,(o=iQ[e])[0])||_Q(l,o[1])?(gQ(l[0],o[1])>gQ(l[0],l[1])&&(l[1]=o[1]),gQ(o[0],l[1])>gQ(l[0],l[1])&&(l[0]=o[0])):r.push(l=o);for(i=-1/0,e=0,l=r[t=r.length-1];e<=t;l=o,++e)(a=gQ(l[1],(o=r[e])[0]))>i&&(i=a,QX=o[0],nQ=l[1])}return iQ=aQ=null,QX===1/0||JX===1/0?[[NaN,NaN],[NaN,NaN]]:[[QX,JX],[nQ,eQ]]},PQ={sphere:kX,point:jQ,lineStart:VQ,lineEnd:UQ,polygonStart:function(){PQ.lineStart=HQ,PQ.lineEnd=ZQ},polygonEnd:function(){PQ.lineStart=VQ,PQ.lineEnd=UQ}};function jQ(n,e){n*=sX;var t=fX(e*=sX);LQ(t*fX(n),t*bX(n),bX(e))}function LQ(n,e,t){CQ+=(n-CQ)/++yQ,xQ+=(e-xQ)/yQ,SQ+=(t-SQ)/yQ}function VQ(){PQ.point=BQ}function BQ(n,e){n*=sX;var t=fX(e*=sX);NQ=t*fX(n),MQ=t*bX(n),AQ=bX(e),PQ.point=zQ,LQ(NQ,MQ,AQ)}function zQ(n,e){n*=sX;var t=fX(e*=sX),l=t*fX(n),o=t*bX(n),r=bX(e),i=pX(yX((i=MQ*r-AQ*o)*i+(i=AQ*l-NQ*r)*i+(i=NQ*o-MQ*l)*i),NQ*l+MQ*o+AQ*r);wQ+=i,kQ+=i*(NQ+(NQ=l)),EQ+=i*(MQ+(MQ=o)),TQ+=i*(AQ+(AQ=r)),LQ(NQ,MQ,AQ)}function UQ(){PQ.point=jQ}function HQ(){PQ.point=WQ}function ZQ(){GQ(OQ,FQ),PQ.point=jQ}function WQ(n,e){OQ=n,FQ=e,n*=sX,e*=sX,PQ.point=GQ;var t=fX(e);NQ=t*fX(n),MQ=t*bX(n),AQ=bX(e),LQ(NQ,MQ,AQ)}function GQ(n,e){n*=sX;var t=fX(e*=sX),l=t*fX(n),o=t*bX(n),r=bX(e),i=MQ*r-AQ*o,a=AQ*l-NQ*r,u=NQ*o-MQ*l,s=yX(i*i+a*a+u*u),d=xX(s),c=s&&-d/s;RQ+=c*i,IQ+=c*a,DQ+=c*u,wQ+=d,kQ+=d*(NQ+(NQ=l)),EQ+=d*(MQ+(MQ=o)),TQ+=d*(AQ+(AQ=r)),LQ(NQ,MQ,AQ)}var KQ=function(n){yQ=wQ=CQ=xQ=SQ=kQ=EQ=TQ=RQ=IQ=DQ=0,qX(n,PQ);var e=RQ,t=IQ,l=DQ,o=e*e+t*t+l*l;return o<1e-12&&(e=kQ,t=EQ,l=TQ,wQ<lX&&(e=CQ,t=xQ,l=SQ),(o=e*e+t*t+l*l)<1e-12)?[NaN,NaN]:[pX(t,e)*uX,xX(l/yX(o))*uX]},YQ=function(n){return function(){return n}},$Q=function(n,e){function t(t,l){return t=n(t,l),e(t[0],t[1])}return n.invert&&e.invert&&(t.invert=function(t,l){return(t=e.invert(t,l))&&n.invert(t[0],t[1])}),t};function XQ(n,e){return[n>oX?n-aX:n<-oX?n+aX:n,e]}function QQ(n,e,t){return(n%=aX)?e||t?$Q(nJ(n),eJ(e,t)):nJ(n):e||t?eJ(e,t):XQ}function JQ(n){return function(e,t){return[(e+=n)>oX?e-aX:e<-oX?e+aX:e,t]}}function nJ(n){var e=JQ(n);return e.invert=JQ(-n),e}function eJ(n,e){var t=fX(n),l=bX(n),o=fX(e),r=bX(e);function i(n,e){var i=fX(e),a=fX(n)*i,u=bX(n)*i,s=bX(e),d=s*t+a*l;return[pX(u*o-d*r,a*t-s*l),xX(d*o+u*r)]}return i.invert=function(n,e){var i=fX(e),a=fX(n)*i,u=bX(n)*i,s=bX(e),d=s*o-u*r;return[pX(u*o+s*r,a*t+d*l),xX(d*t-a*l)]},i}XQ.invert=XQ;var tJ=function(n){function e(e){return(e=n(e[0]*sX,e[1]*sX))[0]*=uX,e[1]*=uX,e}return n=QQ(n[0]*sX,n[1]*sX,n.length>2?n[2]*sX:0),e.invert=function(e){return(e=n.invert(e[0]*sX,e[1]*sX))[0]*=uX,e[1]*=uX,e},e};function lJ(n,e,t,l,o,r){if(t){var i=fX(e),a=bX(e),u=l*t;null==o?(o=e+l*aX,r=e-u/2):(o=oJ(i,o),r=oJ(i,r),(l>0?o<r:o>r)&&(o+=l*aX));for(var s,d=o;l>0?d>r:d<r;d-=u)s=ZX([i,-a*fX(d),-a*bX(d)]),n.point(s[0],s[1])}}function oJ(n,e){(e=WX(e))[0]-=n,XX(e);var t=CX(-e[1]);return((-e[2]<0?-t:t)+aX-lX)%aX}var rJ=function(){var n,e,t=YQ([0,0]),l=YQ(90),o=YQ(6),r={point:function(t,l){n.push(t=e(t,l)),t[0]*=uX,t[1]*=uX}};function i(){var i=t.apply(this,arguments),a=l.apply(this,arguments)*sX,u=o.apply(this,arguments)*sX;return n=[],e=QQ(-i[0]*sX,-i[1]*sX,0).invert,lJ(r,a,u,1),i={type:"Polygon",coordinates:[n]},n=e=null,i}return i.center=function(n){return arguments.length?(t="function"==typeof n?n:YQ([+n[0],+n[1]]),i):t},i.radius=function(n){return arguments.length?(l="function"==typeof n?n:YQ(+n),i):l},i.precision=function(n){return arguments.length?(o="function"==typeof n?n:YQ(+n),i):o},i},iJ=function(){var n,e=[];return{point:function(e,t){n.push([e,t])},lineStart:function(){e.push(n=[])},lineEnd:kX,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var t=e;return e=[],n=null,t}}},aJ=function(n,e){return dX(n[0]-e[0])<lX&&dX(n[1]-e[1])<lX};function uJ(n,e,t,l){this.x=n,this.z=e,this.o=t,this.e=l,this.v=!1,this.n=this.p=null}var sJ=function(n,e,t,l,o){var r,i,a=[],u=[];if(n.forEach(function(n){if(!((e=n.length-1)<=0)){var e,t,l=n[0],i=n[e];if(aJ(l,i)){for(o.lineStart(),r=0;r<e;++r)o.point((l=n[r])[0],l[1]);o.lineEnd()}else a.push(t=new uJ(l,n,null,!0)),u.push(t.o=new uJ(l,null,t,!1)),a.push(t=new uJ(i,n,null,!1)),u.push(t.o=new uJ(i,null,t,!0))}}),a.length){for(u.sort(e),dJ(a),dJ(u),r=0,i=u.length;r<i;++r)u[r].e=t=!t;for(var s,d,c=a[0];;){for(var p=c,f=!0;p.v;)if((p=p.n)===c)return;s=p.z,o.lineStart();do{if(p.v=p.o.v=!0,p.e){if(f)for(r=0,i=s.length;r<i;++r)o.point((d=s[r])[0],d[1]);else l(p.x,p.n.x,1,o);p=p.n}else{if(f)for(r=(s=p.p.z).length-1;r>=0;--r)o.point((d=s[r])[0],d[1]);else l(p.x,p.p.x,-1,o);p=p.p}s=(p=p.o).z,f=!f}while(!p.v);o.lineEnd()}}};function dJ(n){if(e=n.length){for(var e,t,l=0,o=n[0];++l<e;)o.n=t=n[l],t.p=o,o=t;o.n=t=n[0],t.p=o}}var cJ=J$(),pJ=function(n,e){var t=e[0],l=e[1],o=bX(l),r=[bX(t),-fX(t),0],i=0,a=0;cJ.reset(),1===o?l=rX+lX:-1===o&&(l=-rX-lX);for(var u=0,s=n.length;u<s;++u)if(c=(d=n[u]).length)for(var d,c,p=d[c-1],f=p[0],h=p[1]/2+iX,m=bX(h),v=fX(h),g=0;g<c;++g,f=_,m=w,v=C,p=b){var b=d[g],_=b[0],y=b[1]/2+iX,w=bX(y),C=fX(y),x=_-f,S=x>=0?1:-1,k=S*x,E=k>oX,T=m*w;if(cJ.add(pX(T*S*bX(k),v*C+T*fX(k))),i+=E?x+S*aX:x,E^f>=t^_>=t){var R=KX(WX(p),WX(b));XX(R);var I=KX(r,R);XX(I);var D=(E^x>=0?-1:1)*xX(I[2]);(l>D||l===D&&(R[0]||R[1]))&&(a+=E^x>=0?1:-1)}}return(i<-lX||i<lX&&cJ<-lX)^1&a},fJ=function(n,e,t,l){return function(o){var r,i,a,u=e(o),s=iJ(),d=e(s),c=!1,p={point:f,lineStart:m,lineEnd:v,polygonStart:function(){p.point=g,p.lineStart=b,p.lineEnd=_,i=[],r=[]},polygonEnd:function(){p.point=f,p.lineStart=m,p.lineEnd=v,i=aG(i);var n=pJ(r,l);i.length?(c||(o.polygonStart(),c=!0),sJ(i,mJ,n,t,o)):n&&(c||(o.polygonStart(),c=!0),o.lineStart(),t(null,null,1,o),o.lineEnd()),c&&(o.polygonEnd(),c=!1),i=r=null},sphere:function(){o.polygonStart(),o.lineStart(),t(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function f(e,t){n(e,t)&&o.point(e,t)}function h(n,e){u.point(n,e)}function m(){p.point=h,u.lineStart()}function v(){p.point=f,u.lineEnd()}function g(n,e){a.push([n,e]),d.point(n,e)}function b(){d.lineStart(),a=[]}function _(){g(a[0][0],a[0][1]),d.lineEnd();var n,e,t,l,u=d.clean(),p=s.result(),f=p.length;if(a.pop(),r.push(a),a=null,f)if(1&u){if((e=(t=p[0]).length-1)>0){for(c||(o.polygonStart(),c=!0),o.lineStart(),n=0;n<e;++n)o.point((l=t[n])[0],l[1]);o.lineEnd()}}else f>1&&2&u&&p.push(p.pop().concat(p.shift())),i.push(p.filter(hJ))}return p}};function hJ(n){return n.length>1}function mJ(n,e){return((n=n.x)[0]<0?n[1]-rX-lX:rX-n[1])-((e=e.x)[0]<0?e[1]-rX-lX:rX-e[1])}var vJ=fJ(function(){return!0},function(n){var e,t=NaN,l=NaN,o=NaN;return{lineStart:function(){n.lineStart(),e=1},point:function(r,i){var a=r>0?oX:-oX,u=dX(r-t);dX(u-oX)<lX?(n.point(t,l=(l+i)/2>0?rX:-rX),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),n.point(r,l),e=0):o!==a&&u>=oX&&(dX(t-o)<lX&&(t-=o*lX),dX(r-a)<lX&&(r-=a*lX),l=function(n,e,t,l){var o,r,i=bX(n-t);return dX(i)>lX?cX((bX(e)*(r=fX(l))*bX(t)-bX(l)*(o=fX(e))*bX(n))/(o*r*i)):(e+l)/2}(t,l,r,i),n.point(o,l),n.lineEnd(),n.lineStart(),n.point(a,l),e=0),n.point(t=r,l=i),o=a},lineEnd:function(){n.lineEnd(),t=l=NaN},clean:function(){return 2-e}}},function(n,e,t,l){var o;if(null==n)l.point(-oX,o=t*rX),l.point(0,o),l.point(oX,o),l.point(oX,0),l.point(oX,-o),l.point(0,-o),l.point(-oX,-o),l.point(-oX,0),l.point(-oX,o);else if(dX(n[0]-e[0])>lX){var r=n[0]<e[0]?oX:-oX;l.point(-r,o=t*r/2),l.point(0,o),l.point(r,o)}else l.point(e[0],e[1])},[-oX,-rX]),gJ=function(n){var e=fX(n),t=6*sX,l=e>0,o=dX(e)>lX;function r(n,t){return fX(n)*fX(t)>e}function i(n,t,l){var o=[1,0,0],r=KX(WX(n),WX(t)),i=GX(r,r),a=r[0],u=i-a*a;if(!u)return!l&&n;var s=e*i/u,d=-e*a/u,c=KX(o,r),p=$X(o,s);YX(p,$X(r,d));var f=c,h=GX(p,f),m=GX(f,f),v=h*h-m*(GX(p,p)-1);if(!(v<0)){var g=yX(v),b=$X(f,(-h-g)/m);if(YX(b,p),b=ZX(b),!l)return b;var _,y=n[0],w=t[0],C=n[1],x=t[1];w<y&&(_=y,y=w,w=_);var S=w-y,k=dX(S-oX)<lX;if(!k&&x<C&&(_=C,C=x,x=_),k||S<lX?k?C+x>0^b[1]<(dX(b[0]-y)<lX?C:x):C<=b[1]&&b[1]<=x:S>oX^(y<=b[0]&&b[0]<=w)){var E=$X(f,(-h+g)/m);return YX(E,p),[b,ZX(E)]}}}function a(e,t){var o=l?n:oX-n,r=0;return e<-o?r|=1:e>o&&(r|=2),t<-o?r|=4:t>o&&(r|=8),r}return fJ(r,function(n){var e,t,u,s,d;return{lineStart:function(){s=u=!1,d=1},point:function(c,p){var f,h=[c,p],m=r(c,p),v=l?m?0:a(c,p):m?a(c+(c<0?oX:-oX),p):0;if(!e&&(s=u=m)&&n.lineStart(),m!==u&&(!(f=i(e,h))||aJ(e,f)||aJ(h,f))&&(h[0]+=lX,h[1]+=lX,m=r(h[0],h[1])),m!==u)d=0,m?(n.lineStart(),f=i(h,e),n.point(f[0],f[1])):(f=i(e,h),n.point(f[0],f[1]),n.lineEnd()),e=f;else if(o&&e&&l^m){var g;v&t||!(g=i(h,e,!0))||(d=0,l?(n.lineStart(),n.point(g[0][0],g[0][1]),n.point(g[1][0],g[1][1]),n.lineEnd()):(n.point(g[1][0],g[1][1]),n.lineEnd(),n.lineStart(),n.point(g[0][0],g[0][1])))}!m||e&&aJ(e,h)||n.point(h[0],h[1]),e=h,u=m,t=v},lineEnd:function(){u&&n.lineEnd(),e=null},clean:function(){return d|(s&&u)<<1}}},function(e,l,o,r){lJ(r,n,t,o,e,l)},l?[0,-n]:[-oX,n-oX])},bJ=function(n,e,t,l,o,r){var i,a=n[0],u=n[1],s=0,d=1,c=e[0]-a,p=e[1]-u;if(i=t-a,c||!(i>0)){if(i/=c,c<0){if(i<s)return;i<d&&(d=i)}else if(c>0){if(i>d)return;i>s&&(s=i)}if(i=o-a,c||!(i<0)){if(i/=c,c<0){if(i>d)return;i>s&&(s=i)}else if(c>0){if(i<s)return;i<d&&(d=i)}if(i=l-u,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<d&&(d=i)}else if(p>0){if(i>d)return;i>s&&(s=i)}if(i=r-u,p||!(i<0)){if(i/=p,p<0){if(i>d)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<d&&(d=i)}return s>0&&(n[0]=a+s*c,n[1]=u+s*p),d<1&&(e[0]=a+d*c,e[1]=u+d*p),!0}}}}},_J=1e9,yJ=-_J;function wJ(n,e,t,l){function o(o,r){return n<=o&&o<=t&&e<=r&&r<=l}function r(o,r,a,s){var d=0,c=0;if(null==o||(d=i(o,a))!==(c=i(r,a))||u(o,r)<0^a>0)do{s.point(0===d||3===d?n:t,d>1?l:e)}while((d=(d+a+4)%4)!==c);else s.point(r[0],r[1])}function i(l,o){return dX(l[0]-n)<lX?o>0?0:3:dX(l[0]-t)<lX?o>0?2:1:dX(l[1]-e)<lX?o>0?1:0:o>0?3:2}function a(n,e){return u(n.x,e.x)}function u(n,e){var t=i(n,1),l=i(e,1);return t!==l?t-l:0===t?e[1]-n[1]:1===t?n[0]-e[0]:2===t?n[1]-e[1]:e[0]-n[0]}return function(i){var u,s,d,c,p,f,h,m,v,g,b,_=i,y=iJ(),w={point:C,lineStart:function(){w.point=x,s&&s.push(d=[]),g=!0,v=!1,h=m=NaN},lineEnd:function(){u&&(x(c,p),f&&v&&y.rejoin(),u.push(y.result())),w.point=C,v&&_.lineEnd()},polygonStart:function(){_=y,u=[],s=[],b=!0},polygonEnd:function(){var e=function(){for(var e=0,t=0,o=s.length;t<o;++t)for(var r,i,a=s[t],u=1,d=a.length,c=a[0],p=c[0],f=c[1];u<d;++u)r=p,i=f,p=(c=a[u])[0],f=c[1],i<=l?f>l&&(p-r)*(l-i)>(f-i)*(n-r)&&++e:f<=l&&(p-r)*(l-i)<(f-i)*(n-r)&&--e;return e}(),t=b&&e,o=(u=aG(u)).length;(t||o)&&(i.polygonStart(),t&&(i.lineStart(),r(null,null,1,i),i.lineEnd()),o&&sJ(u,a,e,r,i),i.polygonEnd()),_=i,u=s=d=null}};function C(n,e){o(n,e)&&_.point(n,e)}function x(r,i){var a=o(r,i);if(s&&d.push([r,i]),g)c=r,p=i,f=a,g=!1,a&&(_.lineStart(),_.point(r,i));else if(a&&v)_.point(r,i);else{var u=[h=Math.max(yJ,Math.min(_J,h)),m=Math.max(yJ,Math.min(_J,m))],y=[r=Math.max(yJ,Math.min(_J,r)),i=Math.max(yJ,Math.min(_J,i))];bJ(u,y,n,e,t,l)?(v||(_.lineStart(),_.point(u[0],u[1])),_.point(y[0],y[1]),a||_.lineEnd(),b=!1):a&&(_.lineStart(),_.point(r,i),b=!1)}h=r,m=i,v=a}return w}}var CJ,xJ,SJ,kJ=function(){var n,e,t,l=0,o=0,r=960,i=500;return t={stream:function(t){return n&&e===t?n:n=wJ(l,o,r,i)(e=t)},extent:function(a){return arguments.length?(l=+a[0][0],o=+a[0][1],r=+a[1][0],i=+a[1][1],n=e=null,t):[[l,o],[r,i]]}}},EJ=J$(),TJ={sphere:kX,point:kX,lineStart:function(){TJ.point=IJ,TJ.lineEnd=RJ},lineEnd:kX,polygonStart:kX,polygonEnd:kX};function RJ(){TJ.point=TJ.lineEnd=kX}function IJ(n,e){CJ=n*=sX,xJ=bX(e*=sX),SJ=fX(e),TJ.point=DJ}function DJ(n,e){n*=sX;var t=bX(e*=sX),l=fX(e),o=dX(n-CJ),r=fX(o),i=l*bX(o),a=SJ*t-xJ*l*r,u=xJ*t+SJ*l*r;EJ.add(pX(yX(i*i+a*a),u)),CJ=n,xJ=t,SJ=l}var OJ=function(n){return EJ.reset(),qX(n,TJ),+EJ},FJ=[null,null],NJ={type:"LineString",coordinates:FJ},MJ=function(n,e){return FJ[0]=n,FJ[1]=e,OJ(NJ)},AJ={Feature:function(n,e){return PJ(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,l=-1,o=t.length;++l<o;)if(PJ(t[l].geometry,e))return!0;return!1}},qJ={Sphere:function(){return!0},Point:function(n,e){return jJ(n.coordinates,e)},MultiPoint:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(jJ(t[l],e))return!0;return!1},LineString:function(n,e){return LJ(n.coordinates,e)},MultiLineString:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(LJ(t[l],e))return!0;return!1},Polygon:function(n,e){return VJ(n.coordinates,e)},MultiPolygon:function(n,e){for(var t=n.coordinates,l=-1,o=t.length;++l<o;)if(VJ(t[l],e))return!0;return!1},GeometryCollection:function(n,e){for(var t=n.geometries,l=-1,o=t.length;++l<o;)if(PJ(t[l],e))return!0;return!1}};function PJ(n,e){return!(!n||!qJ.hasOwnProperty(n.type))&&qJ[n.type](n,e)}function jJ(n,e){return 0===MJ(n,e)}function LJ(n,e){var t=MJ(n[0],n[1]);return MJ(n[0],e)+MJ(e,n[1])<=t+lX}function VJ(n,e){return!!pJ(n.map(BJ),zJ(e))}function BJ(n){return(n=n.map(zJ)).pop(),n}function zJ(n){return[n[0]*sX,n[1]*sX]}var UJ=function(n,e){return(n&&AJ.hasOwnProperty(n.type)?AJ[n.type]:PJ)(n,e)};function HJ(n,e,t){var l=WW(n,e-lX,t).concat(e);return function(n){return l.map(function(e){return[n,e]})}}function ZJ(n,e,t){var l=WW(n,e-lX,t).concat(e);return function(n){return l.map(function(e){return[e,n]})}}function WJ(){var n,e,t,l,o,r,i,a,u,s,d,c,p=10,f=p,h=90,m=360,v=2.5;function g(){return{type:"MultiLineString",coordinates:b()}}function b(){return WW(hX(l/h)*h,t,h).map(d).concat(WW(hX(a/m)*m,i,m).map(c)).concat(WW(hX(e/p)*p,n,p).filter(function(n){return dX(n%h)>lX}).map(u)).concat(WW(hX(r/f)*f,o,f).filter(function(n){return dX(n%m)>lX}).map(s))}return g.lines=function(){return b().map(function(n){return{type:"LineString",coordinates:n}})},g.outline=function(){return{type:"Polygon",coordinates:[d(l).concat(c(i).slice(1),d(t).reverse().slice(1),c(a).reverse().slice(1))]}},g.extent=function(n){return arguments.length?g.extentMajor(n).extentMinor(n):g.extentMinor()},g.extentMajor=function(n){return arguments.length?(a=+n[0][1],i=+n[1][1],(l=+n[0][0])>(t=+n[1][0])&&(n=l,l=t,t=n),a>i&&(n=a,a=i,i=n),g.precision(v)):[[l,a],[t,i]]},g.extentMinor=function(t){return arguments.length?(r=+t[0][1],o=+t[1][1],(e=+t[0][0])>(n=+t[1][0])&&(t=e,e=n,n=t),r>o&&(t=r,r=o,o=t),g.precision(v)):[[e,r],[n,o]]},g.step=function(n){return arguments.length?g.stepMajor(n).stepMinor(n):g.stepMinor()},g.stepMajor=function(n){return arguments.length?(h=+n[0],m=+n[1],g):[h,m]},g.stepMinor=function(n){return arguments.length?(p=+n[0],f=+n[1],g):[p,f]},g.precision=function(p){return arguments.length?(v=+p,u=HJ(r,o,90),s=ZJ(e,n,v),d=HJ(a,i,90),c=ZJ(l,t,v),g):v},g.extentMajor([[-180,-90+lX],[180,90-lX]]).extentMinor([[-180,-80-lX],[180,80+lX]])}function GJ(){return WJ()()}var KJ,YJ,$J,XJ,QJ=function(n,e){var t=n[0]*sX,l=n[1]*sX,o=e[0]*sX,r=e[1]*sX,i=fX(l),a=bX(l),u=fX(r),s=bX(r),d=i*fX(t),c=i*bX(t),p=u*fX(o),f=u*bX(o),h=2*xX(yX(SX(r-l)+i*u*SX(o-t))),m=bX(h),v=h?function(n){var e=bX(n*=h)/m,t=bX(h-n)/m,l=t*d+e*p,o=t*c+e*f,r=t*a+e*s;return[pX(o,l)*uX,pX(r,yX(l*l+o*o))*uX]}:function(){return[t*uX,l*uX]};return v.distance=h,v},JJ=function(n){return n},n0=J$(),e0=J$(),t0={point:kX,lineStart:kX,lineEnd:kX,polygonStart:function(){t0.lineStart=l0,t0.lineEnd=i0},polygonEnd:function(){t0.lineStart=t0.lineEnd=t0.point=kX,n0.add(dX(e0)),e0.reset()},result:function(){var n=n0/2;return n0.reset(),n}};function l0(){t0.point=o0}function o0(n,e){t0.point=r0,KJ=$J=n,YJ=XJ=e}function r0(n,e){e0.add(XJ*n-$J*e),$J=n,XJ=e}function i0(){r0(KJ,YJ)}var a0,u0,s0,d0,c0=t0,p0=1/0,f0=p0,h0=-p0,m0=h0,v0={point:function(n,e){n<p0&&(p0=n),n>h0&&(h0=n),e<f0&&(f0=e),e>m0&&(m0=e)},lineStart:kX,lineEnd:kX,polygonStart:kX,polygonEnd:kX,result:function(){var n=[[p0,f0],[h0,m0]];return h0=m0=-(f0=p0=1/0),n}},g0=0,b0=0,_0=0,y0=0,w0=0,C0=0,x0=0,S0=0,k0=0,E0={point:T0,lineStart:R0,lineEnd:O0,polygonStart:function(){E0.lineStart=F0,E0.lineEnd=N0},polygonEnd:function(){E0.point=T0,E0.lineStart=R0,E0.lineEnd=O0},result:function(){var n=k0?[x0/k0,S0/k0]:C0?[y0/C0,w0/C0]:_0?[g0/_0,b0/_0]:[NaN,NaN];return g0=b0=_0=y0=w0=C0=x0=S0=k0=0,n}};function T0(n,e){g0+=n,b0+=e,++_0}function R0(){E0.point=I0}function I0(n,e){E0.point=D0,T0(s0=n,d0=e)}function D0(n,e){var t=n-s0,l=e-d0,o=yX(t*t+l*l);y0+=o*(s0+n)/2,w0+=o*(d0+e)/2,C0+=o,T0(s0=n,d0=e)}function O0(){E0.point=T0}function F0(){E0.point=M0}function N0(){A0(a0,u0)}function M0(n,e){E0.point=A0,T0(a0=s0=n,u0=d0=e)}function A0(n,e){var t=n-s0,l=e-d0,o=yX(t*t+l*l);y0+=o*(s0+n)/2,w0+=o*(d0+e)/2,C0+=o,x0+=(o=d0*n-s0*e)*(s0+n),S0+=o*(d0+e),k0+=3*o,T0(s0=n,d0=e)}var q0=E0;function P0(n){this._context=n}P0.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(n,e){switch(this._point){case 0:this._context.moveTo(n,e),this._point=1;break;case 1:this._context.lineTo(n,e);break;default:this._context.moveTo(n+this._radius,e),this._context.arc(n,e,this._radius,0,aX)}},result:kX};var j0,L0,V0,B0,z0,U0=J$(),H0={point:kX,lineStart:function(){H0.point=Z0},lineEnd:function(){j0&&W0(L0,V0),H0.point=kX},polygonStart:function(){j0=!0},polygonEnd:function(){j0=null},result:function(){var n=+U0;return U0.reset(),n}};function Z0(n,e){H0.point=W0,L0=B0=n,V0=z0=e}function W0(n,e){U0.add(yX((B0-=n)*B0+(z0-=e)*z0)),B0=n,z0=e}var G0=H0;function K0(){this._string=[]}function Y0(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}K0.prototype={_radius:4.5,_circle:Y0(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(n,e){switch(this._point){case 0:this._string.push("M",n,",",e),this._point=1;break;case 1:this._string.push("L",n,",",e);break;default:null==this._circle&&(this._circle=Y0(this._radius)),this._string.push("M",n,",",e,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}};var $0=function(n,e){var t,l,o=4.5;function r(n){return n&&("function"==typeof o&&l.pointRadius(+o.apply(this,arguments)),qX(n,t(l))),l.result()}return r.area=function(n){return qX(n,t(c0)),c0.result()},r.measure=function(n){return qX(n,t(G0)),G0.result()},r.bounds=function(n){return qX(n,t(v0)),v0.result()},r.centroid=function(n){return qX(n,t(q0)),q0.result()},r.projection=function(e){return arguments.length?(t=null==e?(n=null,JJ):(n=e).stream,r):n},r.context=function(n){return arguments.length?(l=null==n?(e=null,new K0):new P0(e=n),"function"!=typeof o&&l.pointRadius(o),r):e},r.pointRadius=function(n){return arguments.length?(o="function"==typeof n?n:(l.pointRadius(+n),+n),r):o},r.projection(n).context(e)},X0=function(n){return{stream:Q0(n)}};function Q0(n){return function(e){var t=new J0;for(var l in n)t[l]=n[l];return t.stream=e,t}}function J0(){}function n1(n,e,t){var l=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),null!=l&&n.clipExtent(null),qX(t,n.stream(v0)),e(v0.result()),null!=l&&n.clipExtent(l),n}function e1(n,e,t){return n1(n,function(t){var l=e[1][0]-e[0][0],o=e[1][1]-e[0][1],r=Math.min(l/(t[1][0]-t[0][0]),o/(t[1][1]-t[0][1])),i=+e[0][0]+(l-r*(t[1][0]+t[0][0]))/2,a=+e[0][1]+(o-r*(t[1][1]+t[0][1]))/2;n.scale(150*r).translate([i,a])},t)}function t1(n,e,t){return e1(n,[[0,0],e],t)}function l1(n,e,t){return n1(n,function(t){var l=+e,o=l/(t[1][0]-t[0][0]),r=(l-o*(t[1][0]+t[0][0]))/2,i=-o*t[0][1];n.scale(150*o).translate([r,i])},t)}function o1(n,e,t){return n1(n,function(t){var l=+e,o=l/(t[1][1]-t[0][1]),r=-o*t[0][0],i=(l-o*(t[1][1]+t[0][1]))/2;n.scale(150*o).translate([r,i])},t)}J0.prototype={constructor:J0,point:function(n,e){this.stream.point(n,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var r1=16,i1=fX(30*sX),a1=function(n,e){return+e?function(n,e){function t(l,o,r,i,a,u,s,d,c,p,f,h,m,v){var g=s-l,b=d-o,_=g*g+b*b;if(_>4*e&&m--){var y=i+p,w=a+f,C=u+h,x=yX(y*y+w*w+C*C),S=xX(C/=x),k=dX(dX(C)-1)<lX||dX(r-c)<lX?(r+c)/2:pX(w,y),E=n(k,S),T=E[0],R=E[1],I=T-l,D=R-o,O=b*I-g*D;(O*O/_>e||dX((g*I+b*D)/_-.5)>.3||i*p+a*f+u*h<i1)&&(t(l,o,r,i,a,u,T,R,k,y/=x,w/=x,C,m,v),v.point(T,R),t(T,R,k,y,w,C,s,d,c,p,f,h,m,v))}}return function(e){var l,o,r,i,a,u,s,d,c,p,f,h,m={point:v,lineStart:g,lineEnd:_,polygonStart:function(){e.polygonStart(),m.lineStart=y},polygonEnd:function(){e.polygonEnd(),m.lineStart=g}};function v(t,l){t=n(t,l),e.point(t[0],t[1])}function g(){d=NaN,m.point=b,e.lineStart()}function b(l,o){var r=WX([l,o]),i=n(l,o);t(d,c,s,p,f,h,d=i[0],c=i[1],s=l,p=r[0],f=r[1],h=r[2],r1,e),e.point(d,c)}function _(){m.point=v,e.lineEnd()}function y(){g(),m.point=w,m.lineEnd=C}function w(n,e){b(l=n,e),o=d,r=c,i=p,a=f,u=h,m.point=b}function C(){t(d,c,s,p,f,h,o,r,l,i,a,u,r1,e),m.lineEnd=_,_()}return m}}(n,e):function(n){return Q0({point:function(e,t){e=n(e,t),this.stream.point(e[0],e[1])}})}(n)},u1=Q0({point:function(n,e){this.stream.point(n*sX,e*sX)}});function s1(n,e,t,l){var o=fX(l),r=bX(l),i=o*n,a=r*n,u=o/n,s=r/n,d=(r*t-o*e)/n,c=(r*e+o*t)/n;function p(n,l){return[i*n-a*l+e,t-a*n-i*l]}return p.invert=function(n,e){return[u*n-s*e+d,c-s*n-u*e]},p}function d1(n){return c1(function(){return n})()}function c1(n){var e,t,l,o,r,i,a,u,s,d,c=150,p=480,f=250,h=0,m=0,v=0,g=0,b=0,_=0,y=null,w=vJ,C=null,x=JJ,S=.5;function k(n){return u(n[0]*sX,n[1]*sX)}function E(n){return(n=u.invert(n[0],n[1]))&&[n[0]*uX,n[1]*uX]}function T(){var n=s1(c,0,0,_).apply(null,e(h,m)),l=(_?s1:function(n,e,t){function l(l,o){return[e+n*l,t-n*o]}return l.invert=function(l,o){return[(l-e)/n,(t-o)/n]},l})(c,p-n[0],f-n[1],_);return t=QQ(v,g,b),a=$Q(e,l),u=$Q(t,a),i=a1(a,S),R()}function R(){return s=d=null,k}return k.stream=function(n){return s&&d===n?s:s=u1(function(n){return Q0({point:function(e,t){var l=n(e,t);return this.stream.point(l[0],l[1])}})}(t)(w(i(x(d=n)))))},k.preclip=function(n){return arguments.length?(w=n,y=void 0,R()):w},k.postclip=function(n){return arguments.length?(x=n,C=l=o=r=null,R()):x},k.clipAngle=function(n){return arguments.length?(w=+n?gJ(y=n*sX):(y=null,vJ),R()):y*uX},k.clipExtent=function(n){return arguments.length?(x=null==n?(C=l=o=r=null,JJ):wJ(C=+n[0][0],l=+n[0][1],o=+n[1][0],r=+n[1][1]),R()):null==C?null:[[C,l],[o,r]]},k.scale=function(n){return arguments.length?(c=+n,T()):c},k.translate=function(n){return arguments.length?(p=+n[0],f=+n[1],T()):[p,f]},k.center=function(n){return arguments.length?(h=n[0]%360*sX,m=n[1]%360*sX,T()):[h*uX,m*uX]},k.rotate=function(n){return arguments.length?(v=n[0]%360*sX,g=n[1]%360*sX,b=n.length>2?n[2]%360*sX:0,T()):[v*uX,g*uX,b*uX]},k.angle=function(n){return arguments.length?(_=n%360*sX,T()):_*uX},k.precision=function(n){return arguments.length?(i=a1(a,S=n*n),R()):yX(S)},k.fitExtent=function(n,e){return e1(k,n,e)},k.fitSize=function(n,e){return t1(k,n,e)},k.fitWidth=function(n,e){return l1(k,n,e)},k.fitHeight=function(n,e){return o1(k,n,e)},function(){return e=n.apply(this,arguments),k.invert=e.invert&&E,T()}}function p1(n){var e=0,t=oX/3,l=c1(n),o=l(e,t);return o.parallels=function(n){return arguments.length?l(e=n[0]*sX,t=n[1]*sX):[e*uX,t*uX]},o}function f1(n,e){var t=bX(n),l=(t+bX(e))/2;if(dX(l)<lX)return function(e){var t=fX(n);function l(n,e){return[n*t,bX(e)/t]}return l.invert=function(n,e){return[n/t,xX(e*t)]},l}();var o=1+t*(2*l-t),r=yX(o)/l;function i(n,e){var t=yX(o-2*l*bX(e))/l;return[t*bX(n*=l),r-t*fX(n)]}return i.invert=function(n,e){var t=r-e;return[pX(n,dX(t))/l*_X(t),xX((o-(n*n+t*t)*l*l)/(2*l))]},i}var h1=function(){return p1(f1).scale(155.424).center([0,33.6442])},m1=function(){return h1().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},v1=function(){var n,e,t,l,o,r,i=m1(),a=h1().rotate([154,0]).center([-2,58.5]).parallels([55,65]),u=h1().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(n,e){r=[n,e]}};function d(n){var e=n[0],i=n[1];return r=null,t.point(e,i),r||(l.point(e,i),r)||(o.point(e,i),r)}function c(){return n=e=null,d}return d.invert=function(n){var e=i.scale(),t=i.translate(),l=(n[0]-t[0])/e,o=(n[1]-t[1])/e;return(o>=.12&&o<.234&&l>=-.425&&l<-.214?a:o>=.166&&o<.234&&l>=-.214&&l<-.115?u:i).invert(n)},d.stream=function(t){return n&&e===t?n:(l=[i.stream(e=t),a.stream(t),u.stream(t)],o=l.length,n={point:function(n,e){for(var t=-1;++t<o;)l[t].point(n,e)},sphere:function(){for(var n=-1;++n<o;)l[n].sphere()},lineStart:function(){for(var n=-1;++n<o;)l[n].lineStart()},lineEnd:function(){for(var n=-1;++n<o;)l[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<o;)l[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<o;)l[n].polygonEnd()}});var l,o},d.precision=function(n){return arguments.length?(i.precision(n),a.precision(n),u.precision(n),c()):i.precision()},d.scale=function(n){return arguments.length?(i.scale(n),a.scale(.35*n),u.scale(n),d.translate(i.translate())):i.scale()},d.translate=function(n){if(!arguments.length)return i.translate();var e=i.scale(),r=+n[0],d=+n[1];return t=i.translate(n).clipExtent([[r-.455*e,d-.238*e],[r+.455*e,d+.238*e]]).stream(s),l=a.translate([r-.307*e,d+.201*e]).clipExtent([[r-.425*e+lX,d+.12*e+lX],[r-.214*e-lX,d+.234*e-lX]]).stream(s),o=u.translate([r-.205*e,d+.212*e]).clipExtent([[r-.214*e+lX,d+.166*e+lX],[r-.115*e-lX,d+.234*e-lX]]).stream(s),c()},d.fitExtent=function(n,e){return e1(d,n,e)},d.fitSize=function(n,e){return t1(d,n,e)},d.fitWidth=function(n,e){return l1(d,n,e)},d.fitHeight=function(n,e){return o1(d,n,e)},d.scale(1070)};function g1(n){return function(e,t){var l=fX(e),o=fX(t),r=n(l*o);return[r*o*bX(e),r*bX(t)]}}function b1(n){return function(e,t){var l=yX(e*e+t*t),o=n(l),r=bX(o),i=fX(o);return[pX(e*r,l*i),xX(l&&t*r/l)]}}var _1=g1(function(n){return yX(2/(1+n))});_1.invert=b1(function(n){return 2*xX(n/2)});var y1=function(){return d1(_1).scale(124.75).clipAngle(179.999)},w1=g1(function(n){return(n=CX(n))&&n/bX(n)});w1.invert=b1(function(n){return n});var C1=function(){return d1(w1).scale(79.4188).clipAngle(179.999)};function x1(n,e){return[n,vX(wX((rX+e)/2))]}x1.invert=function(n,e){return[n,2*cX(mX(e))-rX]};var S1=function(){return k1(x1).scale(961/aX)};function k1(n){var e,t,l,o=d1(n),r=o.center,i=o.scale,a=o.translate,u=o.clipExtent,s=null;function d(){var r=oX*i(),a=o(tJ(o.rotate()).invert([0,0]));return u(null==s?[[a[0]-r,a[1]-r],[a[0]+r,a[1]+r]]:n===x1?[[Math.max(a[0]-r,s),e],[Math.min(a[0]+r,t),l]]:[[s,Math.max(a[1]-r,e)],[t,Math.min(a[1]+r,l)]])}return o.scale=function(n){return arguments.length?(i(n),d()):i()},o.translate=function(n){return arguments.length?(a(n),d()):a()},o.center=function(n){return arguments.length?(r(n),d()):r()},o.clipExtent=function(n){return arguments.length?(null==n?s=e=t=l=null:(s=+n[0][0],e=+n[0][1],t=+n[1][0],l=+n[1][1]),d()):null==s?null:[[s,e],[t,l]]},d()}function E1(n){return wX((rX+n)/2)}function T1(n,e){var t=fX(n),l=n===e?bX(n):vX(t/fX(e))/vX(E1(e)/E1(n)),o=t*gX(E1(n),l)/l;if(!l)return x1;function r(n,e){o>0?e<-rX+lX&&(e=-rX+lX):e>rX-lX&&(e=rX-lX);var t=o/gX(E1(e),l);return[t*bX(l*n),o-t*fX(l*n)]}return r.invert=function(n,e){var t=o-e,r=_X(l)*yX(n*n+t*t);return[pX(n,dX(t))/l*_X(t),2*cX(gX(o/r,1/l))-rX]},r}var R1=function(){return p1(T1).scale(109.5).parallels([30,30])};function I1(n,e){return[n,e]}I1.invert=I1;var D1=function(){return d1(I1).scale(152.63)};function O1(n,e){var t=fX(n),l=n===e?bX(n):(t-fX(e))/(e-n),o=t/l+n;if(dX(l)<lX)return I1;function r(n,e){var t=o-e,r=l*n;return[t*bX(r),o-t*fX(r)]}return r.invert=function(n,e){var t=o-e;return[pX(n,dX(t))/l*_X(t),o-_X(l)*yX(n*n+t*t)]},r}var F1=function(){return p1(O1).scale(131.154).center([0,13.9389])};function N1(n,e){var t=fX(e),l=fX(n)*t;return[t*bX(n)/l,bX(e)/l]}N1.invert=b1(cX);var M1=function(){return d1(N1).scale(144.049).clipAngle(60)};function A1(n,e,t,l){return 1===n&&1===e&&0===t&&0===l?JJ:Q0({point:function(o,r){this.stream.point(o*n+t,r*e+l)}})}var q1=function(){var n,e,t,l,o,r,i=1,a=0,u=0,s=1,d=1,c=JJ,p=null,f=JJ;function h(){return l=o=null,r}return r={stream:function(n){return l&&o===n?l:l=c(f(o=n))},postclip:function(l){return arguments.length?(f=l,p=n=e=t=null,h()):f},clipExtent:function(l){return arguments.length?(f=null==l?(p=n=e=t=null,JJ):wJ(p=+l[0][0],n=+l[0][1],e=+l[1][0],t=+l[1][1]),h()):null==p?null:[[p,n],[e,t]]},scale:function(n){return arguments.length?(c=A1((i=+n)*s,i*d,a,u),h()):i},translate:function(n){return arguments.length?(c=A1(i*s,i*d,a=+n[0],u=+n[1]),h()):[a,u]},reflectX:function(n){return arguments.length?(c=A1(i*(s=n?-1:1),i*d,a,u),h()):s<0},reflectY:function(n){return arguments.length?(c=A1(i*s,i*(d=n?-1:1),a,u),h()):d<0},fitExtent:function(n,e){return e1(r,n,e)},fitSize:function(n,e){return t1(r,n,e)},fitWidth:function(n,e){return l1(r,n,e)},fitHeight:function(n,e){return o1(r,n,e)}}};function P1(n,e){var t=e*e,l=t*t;return[n*(.8707-.131979*t+l*(l*(.003971*t-.001529*l)-.013791)),e*(1.007226+t*(.015085+l*(.028874*t-.044475-.005916*l)))]}P1.invert=function(n,e){var t,l=e,o=25;do{var r=l*l,i=r*r;l-=t=(l*(1.007226+r*(.015085+i*(.028874*r-.044475-.005916*i)))-e)/(1.007226+r*(.045255+i*(.259866*r-.311325-.005916*11*i)))}while(dX(t)>lX&&--o>0);return[n/(.8707+(r=l*l)*(r*(r*r*r*(.003971-.001529*r)-.013791)-.131979)),l]};var j1=function(){return d1(P1).scale(175.295)};function L1(n,e){return[fX(e)*bX(n),bX(e)]}L1.invert=b1(xX);var V1=function(){return d1(L1).scale(249.5).clipAngle(90+lX)};function B1(n,e){var t=fX(e),l=1+fX(n)*t;return[t*bX(n)/l,bX(e)/l]}B1.invert=b1(function(n){return 2*cX(n)});var z1=function(){return d1(B1).scale(250).clipAngle(142)};function U1(n,e){return[vX(wX((rX+e)/2)),-n]}U1.invert=function(n,e){return[-e,2*cX(mX(n))-rX]};var H1=function(){var n=k1(U1),e=n.center,t=n.rotate;return n.center=function(n){return arguments.length?e([-n[1],n[0]]):[(n=e())[1],-n[0]]},n.rotate=function(n){return arguments.length?t([n[0],n[1],n.length>2?n[2]+90:90]):[(n=t())[0],n[1],n[2]-90]},t([0,0,90]).scale(159.155)};function Z1(n,e){return n.parent===e.parent?1:2}function W1(n,e){return n+e.x}function G1(n,e){return Math.max(n,e.y)}var K1=function(){var n=Z1,e=1,t=1,l=!1;function o(o){var r,i=0;o.eachAfter(function(e){var t=e.children;t?(e.x=function(n){return n.reduce(W1,0)/n.length}(t),e.y=function(n){return 1+n.reduce(G1,0)}(t)):(e.x=r?i+=n(e,r):0,e.y=0,r=e)});var a=function(n){for(var e;e=n.children;)n=e[0];return n}(o),u=function(n){for(var e;e=n.children;)n=e[e.length-1];return n}(o),s=a.x-n(a,u)/2,d=u.x+n(u,a)/2;return o.eachAfter(l?function(n){n.x=(n.x-o.x)*e,n.y=(o.y-n.y)*t}:function(n){n.x=(n.x-s)/(d-s)*e,n.y=(1-(o.y?n.y/o.y:1))*t})}return o.separation=function(e){return arguments.length?(n=e,o):n},o.size=function(n){return arguments.length?(l=!1,e=+n[0],t=+n[1],o):l?null:[e,t]},o.nodeSize=function(n){return arguments.length?(l=!0,e=+n[0],t=+n[1],o):l?[e,t]:null},o};function Y1(n){var e=0,t=n.children,l=t&&t.length;if(l)for(;--l>=0;)e+=t[l].value;else e=1;n.value=e}function $1(n,e){var t,l,o,r,i,a=new n2(n),u=+n.value&&(a.value=n.value),s=[a];for(null==e&&(e=X1);t=s.pop();)if(u&&(t.value=+t.data.value),(o=e(t.data))&&(i=o.length))for(t.children=new Array(i),r=i-1;r>=0;--r)s.push(l=t.children[r]=new n2(o[r])),l.parent=t,l.depth=t.depth+1;return a.eachBefore(J1)}function X1(n){return n.children}function Q1(n){n.data=n.data.data}function J1(n){var e=0;do{n.height=e}while((n=n.parent)&&n.height<++e)}function n2(n){this.data=n,this.depth=this.height=0,this.parent=null}n2.prototype=$1.prototype={constructor:n2,count:function(){return this.eachAfter(Y1)},each:function(n){var e,t,l,o,r=this,i=[r];do{for(e=i.reverse(),i=[];r=e.pop();)if(n(r),t=r.children)for(l=0,o=t.length;l<o;++l)i.push(t[l])}while(i.length);return this},eachAfter:function(n){for(var e,t,l,o=this,r=[o],i=[];o=r.pop();)if(i.push(o),e=o.children)for(t=0,l=e.length;t<l;++t)r.push(e[t]);for(;o=i.pop();)n(o);return this},eachBefore:function(n){for(var e,t,l=this,o=[l];l=o.pop();)if(n(l),e=l.children)for(t=e.length-1;t>=0;--t)o.push(e[t]);return this},sum:function(n){return this.eachAfter(function(e){for(var t=+n(e.data)||0,l=e.children,o=l&&l.length;--o>=0;)t+=l[o].value;e.value=t})},sort:function(n){return this.eachBefore(function(e){e.children&&e.children.sort(n)})},path:function(n){for(var e=this,t=function(n,e){if(n===e)return n;var t=n.ancestors(),l=e.ancestors(),o=null;for(n=t.pop(),e=l.pop();n===e;)o=n,n=t.pop(),e=l.pop();return o}(e,n),l=[e];e!==t;)l.push(e=e.parent);for(var o=l.length;n!==t;)l.splice(o,0,n),n=n.parent;return l},ancestors:function(){for(var n=this,e=[n];n=n.parent;)e.push(n);return e},descendants:function(){var n=[];return this.each(function(e){n.push(e)}),n},leaves:function(){var n=[];return this.eachBefore(function(e){e.children||n.push(e)}),n},links:function(){var n=this,e=[];return n.each(function(t){t!==n&&e.push({source:t.parent,target:t})}),e},copy:function(){return $1(this).eachBefore(Q1)}};var e2=Array.prototype.slice,t2=function(n){for(var e,t,l=0,o=(n=function(n){for(var e,t,l=n.length;l;)t=Math.random()*l--|0,e=n[l],n[l]=n[t],n[t]=e;return n}(e2.call(n))).length,r=[];l<o;)e=n[l],t&&r2(t,e)?++l:(t=a2(r=l2(r,e)),l=0);return t};function l2(n,e){var t,l;if(i2(e,n))return[e];for(t=0;t<n.length;++t)if(o2(e,n[t])&&i2(u2(n[t],e),n))return[n[t],e];for(t=0;t<n.length-1;++t)for(l=t+1;l<n.length;++l)if(o2(u2(n[t],n[l]),e)&&o2(u2(n[t],e),n[l])&&o2(u2(n[l],e),n[t])&&i2(s2(n[t],n[l],e),n))return[n[t],n[l],e];throw new Error}function o2(n,e){var t=n.r-e.r,l=e.x-n.x,o=e.y-n.y;return t<0||t*t<l*l+o*o}function r2(n,e){var t=n.r-e.r+1e-6,l=e.x-n.x,o=e.y-n.y;return t>0&&t*t>l*l+o*o}function i2(n,e){for(var t=0;t<e.length;++t)if(!r2(n,e[t]))return!1;return!0}function a2(n){switch(n.length){case 1:return{x:(e=n[0]).x,y:e.y,r:e.r};case 2:return u2(n[0],n[1]);case 3:return s2(n[0],n[1],n[2])}var e}function u2(n,e){var t=n.x,l=n.y,o=n.r,r=e.x,i=e.y,a=e.r,u=r-t,s=i-l,d=a-o,c=Math.sqrt(u*u+s*s);return{x:(t+r+u/c*d)/2,y:(l+i+s/c*d)/2,r:(c+o+a)/2}}function s2(n,e,t){var l=n.x,o=n.y,r=n.r,i=e.x,a=e.y,u=e.r,s=t.x,d=t.y,c=t.r,p=l-i,f=l-s,h=o-a,m=o-d,v=u-r,g=c-r,b=l*l+o*o-r*r,_=b-i*i-a*a+u*u,y=b-s*s-d*d+c*c,w=f*h-p*m,C=(h*y-m*_)/(2*w)-l,x=(m*v-h*g)/w,S=(f*_-p*y)/(2*w)-o,k=(p*g-f*v)/w,E=x*x+k*k-1,T=2*(r+C*x+S*k),R=C*C+S*S-r*r,I=-(E?(T+Math.sqrt(T*T-4*E*R))/(2*E):R/T);return{x:l+C+x*I,y:o+S+k*I,r:I}}function d2(n,e,t){var l,o,r,i,a=n.x-e.x,u=n.y-e.y,s=a*a+u*u;s?(o=e.r+t.r,i=n.r+t.r,(o*=o)>(i*=i)?(l=(s+i-o)/(2*s),r=Math.sqrt(Math.max(0,i/s-l*l)),t.x=n.x-l*a-r*u,t.y=n.y-l*u+r*a):(l=(s+o-i)/(2*s),r=Math.sqrt(Math.max(0,o/s-l*l)),t.x=e.x+l*a-r*u,t.y=e.y+l*u+r*a)):(t.x=e.x+t.r,t.y=e.y)}function c2(n,e){var t=n.r+e.r-1e-6,l=e.x-n.x,o=e.y-n.y;return t>0&&t*t>l*l+o*o}function p2(n){var e=n._,t=n.next._,l=e.r+t.r,o=(e.x*t.r+t.x*e.r)/l,r=(e.y*t.r+t.y*e.r)/l;return o*o+r*r}function f2(n){this._=n,this.next=null,this.previous=null}function h2(n){if(!(o=n.length))return 0;var e,t,l,o,r,i,a,u,s,d,c;if((e=n[0]).x=0,e.y=0,!(o>1))return e.r;if(e.x=-(t=n[1]).r,t.x=e.r,t.y=0,!(o>2))return e.r+t.r;d2(t,e,l=n[2]),e=new f2(e),t=new f2(t),l=new f2(l),e.next=l.previous=t,t.next=e.previous=l,l.next=t.previous=e;n:for(a=3;a<o;++a){d2(e._,t._,l=n[a]),l=new f2(l),u=t.next,s=e.previous,d=t._.r,c=e._.r;do{if(d<=c){if(c2(u._,l._)){e.next=t=u,t.previous=e,--a;continue n}d+=u._.r,u=u.next}else{if(c2(s._,l._)){(e=s).next=t,t.previous=e,--a;continue n}c+=s._.r,s=s.previous}}while(u!==s.next);for(l.previous=e,l.next=t,e.next=t.previous=t=l,r=p2(e);(l=l.next)!==t;)(i=p2(l))<r&&(e=l,r=i);t=e.next}for(e=[t._],l=t;(l=l.next)!==t;)e.push(l._);for(l=t2(e),a=0;a<o;++a)(e=n[a]).x-=l.x,e.y-=l.y;return l.r}var m2=function(n){return h2(n),n};function v2(n){return null==n?null:g2(n)}function g2(n){if("function"!=typeof n)throw new Error;return n}function b2(){return 0}var _2=function(n){return function(){return n}};function y2(n){return Math.sqrt(n.value)}var w2=function(){var n=null,e=1,t=1,l=b2;function o(o){return o.x=e/2,o.y=t/2,n?o.eachBefore(C2(n)).eachAfter(x2(l,.5)).eachBefore(S2(1)):o.eachBefore(C2(y2)).eachAfter(x2(b2,1)).eachAfter(x2(l,o.r/Math.min(e,t))).eachBefore(S2(Math.min(e,t)/(2*o.r))),o}return o.radius=function(e){return arguments.length?(n=v2(e),o):n},o.size=function(n){return arguments.length?(e=+n[0],t=+n[1],o):[e,t]},o.padding=function(n){return arguments.length?(l="function"==typeof n?n:_2(+n),o):l},o};function C2(n){return function(e){e.children||(e.r=Math.max(0,+n(e)||0))}}function x2(n,e){return function(t){if(l=t.children){var l,o,r,i=l.length,a=n(t)*e||0;if(a)for(o=0;o<i;++o)l[o].r+=a;if(r=h2(l),a)for(o=0;o<i;++o)l[o].r-=a;t.r=r+a}}}function S2(n){return function(e){var t=e.parent;e.r*=n,t&&(e.x=t.x+n*e.x,e.y=t.y+n*e.y)}}var k2=function(n){n.x0=Math.round(n.x0),n.y0=Math.round(n.y0),n.x1=Math.round(n.x1),n.y1=Math.round(n.y1)},E2=function(n,e,t,l,o){for(var r,i=n.children,a=-1,u=i.length,s=n.value&&(l-e)/n.value;++a<u;)(r=i[a]).y0=t,r.y1=o,r.x0=e,r.x1=e+=r.value*s},T2=function(){var n=1,e=1,t=0,l=!1;function o(o){var r=o.height+1;return o.x0=o.y0=t,o.x1=n,o.y1=e/r,o.eachBefore(function(n,e){return function(l){l.children&&E2(l,l.x0,n*(l.depth+1)/e,l.x1,n*(l.depth+2)/e);var o=l.x0,r=l.y0,i=l.x1-t,a=l.y1-t;i<o&&(o=i=(o+i)/2),a<r&&(r=a=(r+a)/2),l.x0=o,l.y0=r,l.x1=i,l.y1=a}}(e,r)),l&&o.eachBefore(k2),o}return o.round=function(n){return arguments.length?(l=!!n,o):l},o.size=function(t){return arguments.length?(n=+t[0],e=+t[1],o):[n,e]},o.padding=function(n){return arguments.length?(t=+n,o):t},o},R2="$",I2={depth:-1},D2={};function O2(n){return n.id}function F2(n){return n.parentId}var N2=function(){var n=O2,e=F2;function t(t){var l,o,r,i,a,u,s,d=t.length,c=new Array(d),p={};for(o=0;o<d;++o)a=c[o]=new n2(l=t[o]),null!=(u=n(l,o,t))&&(u+="")&&(p[s=R2+(a.id=u)]=s in p?D2:a);for(o=0;o<d;++o)if(a=c[o],null!=(u=e(t[o],o,t))&&(u+="")){if(!(i=p[R2+u]))throw new Error("missing: "+u);if(i===D2)throw new Error("ambiguous: "+u);i.children?i.children.push(a):i.children=[a],a.parent=i}else{if(r)throw new Error("multiple roots");r=a}if(!r)throw new Error("no root");if(r.parent=I2,r.eachBefore(function(n){n.depth=n.parent.depth+1,--d}).eachBefore(J1),r.parent=null,d>0)throw new Error("cycle");return r}return t.id=function(e){return arguments.length?(n=g2(e),t):n},t.parentId=function(n){return arguments.length?(e=g2(n),t):e},t};function M2(n,e){return n.parent===e.parent?1:2}function A2(n){var e=n.children;return e?e[0]:n.t}function q2(n){var e=n.children;return e?e[e.length-1]:n.t}function P2(n,e,t){var l=t/(e.i-n.i);e.c-=l,e.s+=t,n.c+=l,e.z+=t,e.m+=t}function j2(n,e,t){return n.a.parent===e.parent?n.a:t}function L2(n,e){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}L2.prototype=Object.create(n2.prototype);var V2=function(){var n=M2,e=1,t=1,l=null;function o(o){var u=function(n){for(var e,t,l,o,r,i=new L2(n,0),a=[i];e=a.pop();)if(l=e._.children)for(e.children=new Array(r=l.length),o=r-1;o>=0;--o)a.push(t=e.children[o]=new L2(l[o],o)),t.parent=e;return(i.parent=new L2(null,0)).children=[i],i}(o);if(u.eachAfter(r),u.parent.m=-u.z,u.eachBefore(i),l)o.eachBefore(a);else{var s=o,d=o,c=o;o.eachBefore(function(n){n.x<s.x&&(s=n),n.x>d.x&&(d=n),n.depth>c.depth&&(c=n)});var p=s===d?1:n(s,d)/2,f=p-s.x,h=e/(d.x+p+f),m=t/(c.depth||1);o.eachBefore(function(n){n.x=(n.x+f)*h,n.y=n.depth*m})}return o}function r(e){var t=e.children,l=e.parent.children,o=e.i?l[e.i-1]:null;if(t){!function(n){for(var e,t=0,l=0,o=n.children,r=o.length;--r>=0;)(e=o[r]).z+=t,e.m+=t,t+=e.s+(l+=e.c)}(e);var r=(t[0].z+t[t.length-1].z)/2;o?(e.z=o.z+n(e._,o._),e.m=e.z-r):e.z=r}else o&&(e.z=o.z+n(e._,o._));e.parent.A=function(e,t,l){if(t){for(var o,r=e,i=e,a=t,u=r.parent.children[0],s=r.m,d=i.m,c=a.m,p=u.m;a=q2(a),r=A2(r),a&&r;)u=A2(u),(i=q2(i)).a=e,(o=a.z+c-r.z-s+n(a._,r._))>0&&(P2(j2(a,e,l),e,o),s+=o,d+=o),c+=a.m,s+=r.m,p+=u.m,d+=i.m;a&&!q2(i)&&(i.t=a,i.m+=c-d),r&&!A2(u)&&(u.t=r,u.m+=s-p,l=e)}return l}(e,o,e.parent.A||l[0])}function i(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function a(n){n.x*=e,n.y=n.depth*t}return o.separation=function(e){return arguments.length?(n=e,o):n},o.size=function(n){return arguments.length?(l=!1,e=+n[0],t=+n[1],o):l?null:[e,t]},o.nodeSize=function(n){return arguments.length?(l=!0,e=+n[0],t=+n[1],o):l?[e,t]:null},o},B2=function(n,e,t,l,o){for(var r,i=n.children,a=-1,u=i.length,s=n.value&&(o-t)/n.value;++a<u;)(r=i[a]).x0=e,r.x1=l,r.y0=t,r.y1=t+=r.value*s},z2=(1+Math.sqrt(5))/2;function U2(n,e,t,l,o,r){for(var i,a,u,s,d,c,p,f,h,m,v,g=[],b=e.children,_=0,y=0,w=b.length,C=e.value;_<w;){u=o-t,s=r-l;do{d=b[y++].value}while(!d&&y<w);for(c=p=d,v=d*d*(m=Math.max(s/u,u/s)/(C*n)),h=Math.max(p/v,v/c);y<w;++y){if(d+=a=b[y].value,a<c&&(c=a),a>p&&(p=a),v=d*d*m,(f=Math.max(p/v,v/c))>h){d-=a;break}h=f}g.push(i={value:d,dice:u<s,children:b.slice(_,y)}),i.dice?E2(i,t,l,o,C?l+=s*d/C:r):B2(i,t,l,C?t+=u*d/C:o,r),C-=d,_=y}return g}var H2=function n(e){function t(n,t,l,o,r){U2(e,n,t,l,o,r)}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(z2),Z2=function(){var n=H2,e=!1,t=1,l=1,o=[0],r=b2,i=b2,a=b2,u=b2,s=b2;function d(n){return n.x0=n.y0=0,n.x1=t,n.y1=l,n.eachBefore(c),o=[0],e&&n.eachBefore(k2),n}function c(e){var t=o[e.depth],l=e.x0+t,d=e.y0+t,c=e.x1-t,p=e.y1-t;c<l&&(l=c=(l+c)/2),p<d&&(d=p=(d+p)/2),e.x0=l,e.y0=d,e.x1=c,e.y1=p,e.children&&(t=o[e.depth+1]=r(e)/2,l+=s(e)-t,d+=i(e)-t,(c-=a(e)-t)<l&&(l=c=(l+c)/2),(p-=u(e)-t)<d&&(d=p=(d+p)/2),n(e,l,d,c,p))}return d.round=function(n){return arguments.length?(e=!!n,d):e},d.size=function(n){return arguments.length?(t=+n[0],l=+n[1],d):[t,l]},d.tile=function(e){return arguments.length?(n=g2(e),d):n},d.padding=function(n){return arguments.length?d.paddingInner(n).paddingOuter(n):d.paddingInner()},d.paddingInner=function(n){return arguments.length?(r="function"==typeof n?n:_2(+n),d):r},d.paddingOuter=function(n){return arguments.length?d.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):d.paddingTop()},d.paddingTop=function(n){return arguments.length?(i="function"==typeof n?n:_2(+n),d):i},d.paddingRight=function(n){return arguments.length?(a="function"==typeof n?n:_2(+n),d):a},d.paddingBottom=function(n){return arguments.length?(u="function"==typeof n?n:_2(+n),d):u},d.paddingLeft=function(n){return arguments.length?(s="function"==typeof n?n:_2(+n),d):s},d},W2=function(n,e,t,l,o){var r,i,a=n.children,u=a.length,s=new Array(u+1);for(s[0]=i=r=0;r<u;++r)s[r+1]=i+=a[r].value;!function n(e,t,l,o,r,i,u){if(e>=t-1){var d=a[e];return d.x0=o,d.y0=r,d.x1=i,void(d.y1=u)}for(var c=s[e],p=l/2+c,f=e+1,h=t-1;f<h;){var m=f+h>>>1;s[m]<p?f=m+1:h=m}p-s[f-1]<s[f]-p&&e+1<f&&--f;var v=s[f]-c,g=l-v;if(i-o>u-r){var b=(o*g+i*v)/l;n(e,f,v,o,r,b,u),n(f,t,g,b,r,i,u)}else{var _=(r*g+u*v)/l;n(e,f,v,o,r,i,_),n(f,t,g,o,_,i,u)}}(0,u,n.value,e,t,l,o)},G2=function(n,e,t,l,o){(1&n.depth?B2:E2)(n,e,t,l,o)},K2=function n(e){function t(n,t,l,o,r){if((i=n._squarify)&&i.ratio===e)for(var i,a,u,s,d,c=-1,p=i.length,f=n.value;++c<p;){for(u=(a=i[c]).children,s=a.value=0,d=u.length;s<d;++s)a.value+=u[s].value;a.dice?E2(a,t,l,o,l+=(r-l)*a.value/f):B2(a,t,l,t+=(o-t)*a.value/f,r),f-=a.value}else n._squarify=i=U2(e,n,t,l,o,r),i.ratio=e}return t.ratio=function(e){return n((e=+e)>1?e:1)},t}(z2),Y2=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function $2(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function X2(){}var Q2="\\s*([+-]?\\d+)\\s*",J2="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",n7="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",e7=/^#([0-9a-f]{3})$/,t7=/^#([0-9a-f]{6})$/,l7=new RegExp("^rgb\\("+[Q2,Q2,Q2]+"\\)$"),o7=new RegExp("^rgb\\("+[n7,n7,n7]+"\\)$"),r7=new RegExp("^rgba\\("+[Q2,Q2,Q2,J2]+"\\)$"),i7=new RegExp("^rgba\\("+[n7,n7,n7,J2]+"\\)$"),a7=new RegExp("^hsl\\("+[J2,n7,n7]+"\\)$"),u7=new RegExp("^hsla\\("+[J2,n7,n7,J2]+"\\)$"),s7={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function d7(n){var e;return n=(n+"").trim().toLowerCase(),(e=e7.exec(n))?new m7((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=t7.exec(n))?c7(parseInt(e[1],16)):(e=l7.exec(n))?new m7(e[1],e[2],e[3],1):(e=o7.exec(n))?new m7(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=r7.exec(n))?p7(e[1],e[2],e[3],e[4]):(e=i7.exec(n))?p7(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=a7.exec(n))?g7(e[1],e[2]/100,e[3]/100,1):(e=u7.exec(n))?g7(e[1],e[2]/100,e[3]/100,e[4]):s7.hasOwnProperty(n)?c7(s7[n]):"transparent"===n?new m7(NaN,NaN,NaN,0):null}function c7(n){return new m7(n>>16&255,n>>8&255,255&n,1)}function p7(n,e,t,l){return l<=0&&(n=e=t=NaN),new m7(n,e,t,l)}function f7(n){return n instanceof X2||(n=d7(n)),n?new m7((n=n.rgb()).r,n.g,n.b,n.opacity):new m7}function h7(n,e,t,l){return 1===arguments.length?f7(n):new m7(n,e,t,null==l?1:l)}function m7(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function v7(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function g7(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new _7(n,e,t,l)}function b7(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof _7)return new _7(n.h,n.s,n.l,n.opacity);if(n instanceof X2||(n=d7(n)),!n)return new _7;if(n instanceof _7)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new _7(i,a,u,n.opacity)}(n):new _7(n,e,t,null==l?1:l)}function _7(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function y7(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}Y2(X2,d7,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Y2(m7,h7,$2(X2,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new m7(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new m7(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+v7(this.r)+v7(this.g)+v7(this.b)},toString:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}})),Y2(_7,b7,$2(X2,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new _7(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new _7(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),e=isNaN(n)||isNaN(this.s)?0:this.s,t=this.l,l=t+(t<.5?t:1-t)*e,o=2*t-l;return new m7(y7(n>=240?n-240:n+120,o,l),y7(n,o,l),y7(n<120?n+240:n-120,o,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var w7=Math.PI/180,C7=180/Math.PI,x7=.96422,S7=1,k7=.82521,E7=4/29,T7=6/29,R7=3*T7*T7,I7=T7*T7*T7;function D7(n){if(n instanceof F7)return new F7(n.l,n.a,n.b,n.opacity);if(n instanceof j7)return L7(n);n instanceof m7||(n=f7(n));var e,t,l=q7(n.r),o=q7(n.g),r=q7(n.b),i=N7((.2225045*l+.7168786*o+.0606169*r)/S7);return l===o&&o===r?e=t=i:(e=N7((.4360747*l+.3850649*o+.1430804*r)/x7),t=N7((.0139322*l+.0971045*o+.7141733*r)/k7)),new F7(116*i-16,500*(e-i),200*(i-t),n.opacity)}function O7(n,e,t,l){return 1===arguments.length?D7(n):new F7(n,e,t,null==l?1:l)}function F7(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function N7(n){return n>I7?Math.pow(n,1/3):n/R7+E7}function M7(n){return n>T7?n*n*n:R7*(n-E7)}function A7(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function q7(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function P7(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof j7)return new j7(n.h,n.c,n.l,n.opacity);if(n instanceof F7||(n=D7(n)),0===n.a&&0===n.b)return new j7(NaN,0<n.l&&n.l<100?0:NaN,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*C7;return new j7(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new j7(n,e,t,null==l?1:l)}function j7(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}function L7(n){if(isNaN(n.h))return new F7(n.l,0,0,n.opacity);var e=n.h*w7;return new F7(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}Y2(F7,O7,$2(X2,{brighter:function(n){return new F7(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new F7(this.l-18*(null==n?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,t=isNaN(this.b)?n:n-this.b/200;return new m7(A7(3.1338561*(e=x7*M7(e))-1.6168667*(n=S7*M7(n))-.4906146*(t=k7*M7(t))),A7(-.9787684*e+1.9161415*n+.033454*t),A7(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),Y2(j7,P7,$2(X2,{brighter:function(n){return new j7(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new j7(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return L7(this).rgb()}}));var V7=-.29227,B7=-.90649,z7=1.97294,U7=z7*B7,H7=1.78277*z7,Z7=1.78277*V7- -.14861*B7;function W7(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof G7)return new G7(n.h,n.s,n.l,n.opacity);n instanceof m7||(n=f7(n));var e=n.g/255,t=n.b/255,l=(Z7*t+U7*(n.r/255)-H7*e)/(Z7+U7-H7),o=t-l,r=(z7*(e-l)-V7*o)/B7,i=Math.sqrt(r*r+o*o)/(z7*l*(1-l)),a=i?Math.atan2(r,o)*C7-120:NaN;return new G7(a<0?a+360:a,i,l,n.opacity)}(n):new G7(n,e,t,null==l?1:l)}function G7(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function K7(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}Y2(G7,W7,$2(X2,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new G7(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new G7(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*w7,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new m7(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(V7*l+B7*o)),255*(e+t*(z7*l)),this.opacity)}}));var Y7=function(n){var e=n.length-1;return function(t){var l=t<=0?t=0:t>=1?(t=1,e-1):Math.floor(t*e),o=n[l],r=n[l+1];return K7((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}},$7=function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return K7((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}},X7=function(n){return function(){return n}};function Q7(n,e){return function(t){return n+t*e}}function J7(n,e){var t=e-n;return t?Q7(n,t>180||t<-180?t-360*Math.round(t/360):t):X7(isNaN(n)?e:n)}function n6(n,e){var t=e-n;return t?Q7(n,t):X7(isNaN(n)?e:n)}var e6=function n(e){var t=function(n){return 1==(n=+n)?n6:function(e,t){return t-e?function(n,e,t){return n=Math.pow(n,t),e=Math.pow(e,t)-n,t=1/t,function(l){return Math.pow(n+l*e,t)}}(e,t,n):X7(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=h7(n)).r,(e=h7(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=n6(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function t6(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=h7(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}var l6,o6,r6,i6,a6=t6(Y7),u6=t6($7),s6=function(n,e){var t,l=e?e.length:0,o=n?Math.min(l,n.length):0,r=new Array(o),i=new Array(l);for(t=0;t<o;++t)r[t]=v6(n[t],e[t]);for(;t<l;++t)i[t]=e[t];return function(n){for(t=0;t<o;++t)i[t]=r[t](n);return i}},d6=function(n,e){var t=new Date;return e-=n=+n,function(l){return t.setTime(n+e*l),t}},c6=function(n,e){return e-=n=+n,function(t){return n+e*t}},p6=function(n,e){var t,l={},o={};for(t in null!==n&&"object"==typeof n||(n={}),null!==e&&"object"==typeof e||(e={}),e)t in n?l[t]=v6(n[t],e[t]):o[t]=e[t];return function(n){for(t in l)o[t]=l[t](n);return o}},f6=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,h6=new RegExp(f6.source,"g"),m6=function(n,e){var t,l,o,r=f6.lastIndex=h6.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=f6.exec(n))&&(l=h6.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:c6(t,l)})),r=h6.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=o),a.length<2?u[0]?function(n){return function(e){return n(e)+""}}(u[0].x):function(n){return function(){return n}}(e):(e=u.length,function(n){for(var t,l=0;l<e;++l)a[(t=u[l]).i]=t.x(n);return a.join("")})},v6=function(n,e){var t,l=typeof e;return null==e||"boolean"===l?X7(e):("number"===l?c6:"string"===l?(t=d7(e))?(e=t,e6):m6:e instanceof d7?e6:e instanceof Date?d6:Array.isArray(e)?s6:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?p6:c6)(n,e)},g6=function(n,e){return e-=n=+n,function(t){return Math.round(n+e*t)}},b6=180/Math.PI,_6={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},y6=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(u=n*t+e*l)&&(t-=n*u,l-=e*u),(a=Math.sqrt(t*t+l*l))&&(t/=a,l/=a,u/=a),n*l<e*t&&(n=-n,e=-e,u=-u,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*b6,skewX:Math.atan(u)*b6,scaleX:i,scaleY:a}};function w6(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:c6(n,o)},{i:u-2,x:c6(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:c6(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:c6(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:c6(n,t)},{i:a-2,x:c6(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=null,function(n){for(var e,t=-1,l=u.length;++t<l;)a[(e=u[t]).i]=e.x(n);return a.join("")}}}var C6=w6(function(n){return"none"===n?_6:(l6||(l6=document.createElement("DIV"),o6=document.documentElement,r6=document.defaultView),l6.style.transform=n,n=r6.getComputedStyle(o6.appendChild(l6),null).getPropertyValue("transform"),o6.removeChild(l6),n=n.slice(7,-1).split(","),y6(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),x6=w6(function(n){return null==n?_6:(i6||(i6=document.createElementNS("http://www.w3.org/2000/svg","g")),i6.setAttribute("transform",n),(n=i6.transform.baseVal.consolidate())?y6((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):_6)},", ",")",")"),S6=Math.SQRT2;function k6(n){return((n=Math.exp(n))+1/n)/2}var E6=function(n,e){var t,l,o=n[0],r=n[1],i=n[2],a=e[2],u=e[0]-o,s=e[1]-r,d=u*u+s*s;if(d<1e-12)l=Math.log(a/i)/S6,t=function(n){return[o+n*u,r+n*s,i*Math.exp(S6*n*l)]};else{var c=Math.sqrt(d),p=(a*a-i*i+4*d)/(2*i*2*c),f=(a*a-i*i-4*d)/(2*a*2*c),h=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(f*f+1)-f);l=(m-h)/S6,t=function(n){var e,t=n*l,a=k6(h),d=i/(2*c)*(a*(e=S6*t+h,((e=Math.exp(2*e))-1)/(e+1))-function(n){return((n=Math.exp(n))-1/n)/2}(h));return[o+d*u,r+d*s,i*a/k6(S6*t+h)]}}return t.duration=1e3*l,t};function T6(n){return function(e,t){var l=n((e=b7(e)).h,(t=b7(t)).h),o=n6(e.s,t.s),r=n6(e.l,t.l),i=n6(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}var R6=T6(J7),I6=T6(n6);function D6(n,e){var t=n6((n=O7(n)).l,(e=O7(e)).l),l=n6(n.a,e.a),o=n6(n.b,e.b),r=n6(n.opacity,e.opacity);return function(e){return n.l=t(e),n.a=l(e),n.b=o(e),n.opacity=r(e),n+""}}function O6(n){return function(e,t){var l=n((e=P7(e)).h,(t=P7(t)).h),o=n6(e.c,t.c),r=n6(e.l,t.l),i=n6(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}var F6=O6(J7),N6=O6(n6);function M6(n){return function e(t){function l(e,l){var o=n((e=W7(e)).h,(l=W7(l)).h),r=n6(e.s,l.s),i=n6(e.l,l.l),a=n6(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}var A6=M6(J7),q6=M6(n6),P6=function(n,e){for(var t=new Array(e),l=0;l<e;++l)t[l]=n(l/(e-1));return t},j6=function(n){for(var e,t=-1,l=n.length,o=n[l-1],r=0;++t<l;)r+=(e=o)[1]*(o=n[t])[0]-e[0]*o[1];return r/2},L6=function(n){for(var e,t,l=-1,o=n.length,r=0,i=0,a=n[o-1],u=0;++l<o;)u+=t=(e=a)[0]*(a=n[l])[1]-a[0]*e[1],r+=(e[0]+a[0])*t,i+=(e[1]+a[1])*t;return[r/(u*=3),i/u]},V6=function(n,e,t){return(e[0]-n[0])*(t[1]-n[1])-(e[1]-n[1])*(t[0]-n[0])};function B6(n,e){return n[0]-e[0]||n[1]-e[1]}function z6(n){for(var e=n.length,t=[0,1],l=2,o=2;o<e;++o){for(;l>1&&V6(n[t[l-2]],n[t[l-1]],n[o])<=0;)--l;t[l++]=o}return t.slice(0,l)}var U6=function(n){if((t=n.length)<3)return null;var e,t,l=new Array(t),o=new Array(t);for(e=0;e<t;++e)l[e]=[+n[e][0],+n[e][1],e];for(l.sort(B6),e=0;e<t;++e)o[e]=[l[e][0],-l[e][1]];var r=z6(l),i=z6(o),a=i[0]===r[0],u=i[i.length-1]===r[r.length-1],s=[];for(e=r.length-1;e>=0;--e)s.push(n[l[r[e]][2]]);for(e=+a;e<i.length-u;++e)s.push(n[l[i[e]][2]]);return s},H6=function(n,e){for(var t,l,o=n.length,r=n[o-1],i=e[0],a=e[1],u=r[0],s=r[1],d=!1,c=0;c<o;++c)t=(r=n[c])[0],(l=r[1])>a!=s>a&&i<(u-t)*(a-l)/(s-l)+t&&(d=!d),u=t,s=l;return d},Z6=function(n){for(var e,t,l=-1,o=n.length,r=n[o-1],i=r[0],a=r[1],u=0;++l<o;)e=i,t=a,e-=i=(r=n[l])[0],t-=a=r[1],u+=Math.sqrt(e*e+t*t);return u},W6=function(){return Math.random()},G6=function n(e){function t(n,t){return n=null==n?0:+n,t=null==t?1:+t,1===arguments.length?(t=n,n=0):t-=n,function(){return e()*t+n}}return t.source=n,t}(W6),K6=function n(e){function t(n,t){var l,o;return n=null==n?0:+n,t=null==t?1:+t,function(){var r;if(null!=l)r=l,l=null;else do{l=2*e()-1,r=2*e()-1,o=l*l+r*r}while(!o||o>1);return n+t*r*Math.sqrt(-2*Math.log(o)/o)}}return t.source=n,t}(W6),Y6=function n(e){function t(){var n=K6.source(e).apply(this,arguments);return function(){return Math.exp(n())}}return t.source=n,t}(W6),$6=function n(e){function t(n){return function(){for(var t=0,l=0;l<n;++l)t+=e();return t}}return t.source=n,t}(W6),X6=function n(e){function t(n){var t=$6.source(e)(n);return function(){return t()/n}}return t.source=n,t}(W6),Q6=function n(e){function t(n){return function(){return-Math.log(1-e())/n}}return t.source=n,t}(W6),J6=Array.prototype,n3=J6.map,e3=J6.slice,t3={name:"implicit"};function l3(n){var e=wK(),t=[],l=t3;function o(o){var r=o+"",i=e.get(r);if(!i){if(l!==t3)return l;e.set(r,i=t.push(o))}return n[(i-1)%n.length]}return n=null==n?[]:e3.call(n),o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=wK();for(var l,r,i=-1,a=n.length;++i<a;)e.has(r=(l=n[i])+"")||e.set(r,t.push(l));return o},o.range=function(e){return arguments.length?(n=e3.call(e),o):n.slice()},o.unknown=function(n){return arguments.length?(l=n,o):l},o.copy=function(){return l3().domain(t).range(n).unknown(l)},o}function o3(){var n,e,t=l3().unknown(void 0),l=t.domain,o=t.range,r=[0,1],i=!1,a=0,u=0,s=.5;function d(){var t=l().length,d=r[1]<r[0],c=r[d-0],p=r[1-d];n=(p-c)/Math.max(1,t-a+2*u),i&&(n=Math.floor(n)),c+=(p-c-n*(t-a))*s,e=n*(1-a),i&&(c=Math.round(c),e=Math.round(e));var f=WW(t).map(function(e){return c+n*e});return o(d?f.reverse():f)}return delete t.unknown,t.domain=function(n){return arguments.length?(l(n),d()):l()},t.range=function(n){return arguments.length?(r=[+n[0],+n[1]],d()):r.slice()},t.rangeRound=function(n){return r=[+n[0],+n[1]],i=!0,d()},t.bandwidth=function(){return e},t.step=function(){return n},t.round=function(n){return arguments.length?(i=!!n,d()):i},t.padding=function(n){return arguments.length?(a=u=Math.max(0,Math.min(1,n)),d()):a},t.paddingInner=function(n){return arguments.length?(a=Math.max(0,Math.min(1,n)),d()):a},t.paddingOuter=function(n){return arguments.length?(u=Math.max(0,Math.min(1,n)),d()):u},t.align=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),d()):s},t.copy=function(){return o3().domain(l()).range(r).round(i).paddingInner(a).paddingOuter(u).align(s)},d()}function r3(){return function n(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return n(t())},e}(o3().paddingInner(1))}var i3=function(n){return function(){return n}},a3=function(n){return+n},u3=[0,1];function s3(n,e){return(e-=n=+n)?function(t){return(t-n)/e}:i3(e)}function d3(n,e,t,l){var o=n[0],r=n[1],i=e[0],a=e[1];return r<o?(o=t(r,o),i=l(a,i)):(o=t(o,r),i=l(i,a)),function(n){return i(o(n))}}function c3(n,e,t,l){var o=Math.min(n.length,e.length)-1,r=new Array(o),i=new Array(o),a=-1;for(n[o]<n[0]&&(n=n.slice().reverse(),e=e.slice().reverse());++a<o;)r[a]=t(n[a],n[a+1]),i[a]=l(e[a],e[a+1]);return function(e){var t=FW(n,e,1,o)-1;return i[t](r[t](e))}}function p3(n,e){return e.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp())}function f3(n,e){var t,l,o,r=u3,i=u3,a=Eq,u=!1;function s(){return t=Math.min(r.length,i.length)>2?c3:d3,l=o=null,d}function d(e){return(l||(l=t(r,i,u?function(n){return function(e,t){var l=n(e=+e,t=+t);return function(n){return n<=e?0:n>=t?1:l(n)}}}(n):n,a)))(+e)}return d.invert=function(n){return(o||(o=t(i,r,s3,u?function(n){return function(e,t){var l=n(e=+e,t=+t);return function(n){return n<=0?e:n>=1?t:l(n)}}}(e):e)))(+n)},d.domain=function(n){return arguments.length?(r=n3.call(n,a3),s()):r.slice()},d.range=function(n){return arguments.length?(i=e3.call(n),s()):i.slice()},d.rangeRound=function(n){return i=e3.call(n),a=Tq,s()},d.clamp=function(n){return arguments.length?(u=!!n,s()):u},d.interpolate=function(n){return arguments.length?(a=n,s()):a},s()}var h3=function(n,e){if((t=(n=e?n.toExponential(e-1):n.toExponential()).indexOf("e"))<0)return null;var t,l=n.slice(0,t);return[l.length>1?l[0]+l.slice(2):l,+n.slice(t+1)]},m3=function(n){return(n=h3(Math.abs(n)))?n[1]:NaN},v3=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function g3(n){return new b3(n)}function b3(n){if(!(e=v3.exec(n)))throw new Error("invalid format: "+n);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}g3.prototype=b3.prototype,b3.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var _3,y3,w3,C3,x3=function(n){n:for(var e,t=n.length,l=1,o=-1;l<t;++l)switch(n[l]){case".":o=e=l;break;case"0":0===o&&(o=l),e=l;break;default:if(o>0){if(!+n[l])break n;o=0}}return o>0?n.slice(0,o)+n.slice(e+1):n},S3=function(n,e){var t=h3(n,e);if(!t)return n+"";var l=t[0],o=t[1];return o<0?"0."+new Array(-o).join("0")+l:l.length>o+1?l.slice(0,o+1)+"."+l.slice(o+1):l+new Array(o-l.length+2).join("0")},k3={"%":function(n,e){return(100*n).toFixed(e)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.round(n).toString(10)},e:function(n,e){return n.toExponential(e)},f:function(n,e){return n.toFixed(e)},g:function(n,e){return n.toPrecision(e)},o:function(n){return Math.round(n).toString(8)},p:function(n,e){return S3(100*n,e)},r:S3,s:function(n,e){var t=h3(n,e);if(!t)return n+"";var l=t[0],o=t[1],r=o-(_3=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=l.length;return r===i?l:r>i?l+new Array(r-i+1).join("0"):r>0?l.slice(0,r)+"."+l.slice(r):"0."+new Array(1-r).join("0")+h3(n,Math.max(0,e+r-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}},E3=function(n){return n},T3=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];y3=function(n){var e,t,l=n.grouping&&n.thousands?(e=n.grouping,t=n.thousands,function(n,l){for(var o=n.length,r=[],i=0,a=e[0],u=0;o>0&&a>0&&(u+a+1>l&&(a=Math.max(1,l-u)),r.push(n.substring(o-=a,o+a)),!((u+=a+1)>l));)a=e[i=(i+1)%e.length];return r.reverse().join(t)}):E3,o=n.currency,r=n.decimal,i=n.numerals?function(n){return function(e){return e.replace(/[0-9]/g,function(e){return n[+e]})}}(n.numerals):E3,a=n.percent||"%";function u(n){var e=(n=g3(n)).fill,t=n.align,u=n.sign,s=n.symbol,d=n.zero,c=n.width,p=n.comma,f=n.precision,h=n.trim,m=n.type;"n"===m?(p=!0,m="g"):k3[m]||(null==f&&(f=12),h=!0,m="g"),(d||"0"===e&&"="===t)&&(d=!0,e="0",t="=");var v="$"===s?o[0]:"#"===s&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",g="$"===s?o[1]:/[%p]/.test(m)?a:"",b=k3[m],_=/[defgprs%]/.test(m);function y(n){var o,a,s,y=v,w=g;if("c"===m)w=b(n)+w,n="";else{var C=(n=+n)<0;if(n=b(Math.abs(n),f),h&&(n=x3(n)),C&&0==+n&&(C=!1),y=(C?"("===u?u:"-":"-"===u||"("===u?"":u)+y,w=("s"===m?T3[8+_3/3]:"")+w+(C&&"("===u?")":""),_)for(o=-1,a=n.length;++o<a;)if(48>(s=n.charCodeAt(o))||s>57){w=(46===s?r+n.slice(o+1):n.slice(o))+w,n=n.slice(0,o);break}}p&&!d&&(n=l(n,1/0));var x=y.length+n.length+w.length,S=x<c?new Array(c-x+1).join(e):"";switch(p&&d&&(n=l(S+n,S.length?c-w.length:1/0),S=""),t){case"<":n=y+n+w+S;break;case"=":n=y+S+n+w;break;case"^":n=S.slice(0,x=S.length>>1)+y+n+w+S.slice(x);break;default:n=S+y+n+w}return i(n)}return f=null==f?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),y.toString=function(){return n+""},y}return{format:u,formatPrefix:function(n,e){var t=u(((n=g3(n)).type="f",n)),l=3*Math.max(-8,Math.min(8,Math.floor(m3(e)/3))),o=Math.pow(10,-l),r=T3[8+l/3];return function(n){return t(o*n)+r}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),w3=y3.format,C3=y3.formatPrefix;var R3=function(n,e,t){var l,o=n[0],r=n[n.length-1],i=QW(o,r,null==e?10:e);switch((t=g3(null==t?",f":t)).type){case"s":var a=Math.max(Math.abs(o),Math.abs(r));return null!=t.precision||isNaN(l=function(n,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(m3(e)/3)))-m3(Math.abs(n)))}(i,a))||(t.precision=l),C3(t,a);case"":case"e":case"g":case"p":case"r":null!=t.precision||isNaN(l=function(n,e){return n=Math.abs(n),e=Math.abs(e)-n,Math.max(0,m3(e)-m3(n))+1}(i,Math.max(Math.abs(o),Math.abs(r))))||(t.precision=l-("e"===t.type));break;case"f":case"%":null!=t.precision||isNaN(l=function(n){return Math.max(0,-m3(Math.abs(n)))}(i))||(t.precision=l-2*("%"===t.type))}return w3(t)};function I3(n){var e=n.domain;return n.ticks=function(n){var t=e();return $W(t[0],t[t.length-1],null==n?10:n)},n.tickFormat=function(n,t){return R3(e(),n,t)},n.nice=function(t){null==t&&(t=10);var l,o=e(),r=0,i=o.length-1,a=o[r],u=o[i];return u<a&&(l=a,a=u,u=l,l=r,r=i,i=l),(l=XW(a,u,t))>0?l=XW(a=Math.floor(a/l)*l,u=Math.ceil(u/l)*l,t):l<0&&(l=XW(a=Math.ceil(a*l)/l,u=Math.floor(u*l)/l,t)),l>0?(o[r]=Math.floor(a/l)*l,o[i]=Math.ceil(u/l)*l,e(o)):l<0&&(o[r]=Math.ceil(a*l)/l,o[i]=Math.floor(u*l)/l,e(o)),n},n}function D3(){var n=f3(s3,Cq);return n.copy=function(){return p3(n,D3())},I3(n)}function O3(){var n=[0,1];function e(n){return+n}return e.invert=e,e.domain=e.range=function(t){return arguments.length?(n=n3.call(t,a3),e):n.slice()},e.copy=function(){return O3().domain(n)},I3(e)}var F3=function(n,e){var t,l=0,o=(n=n.slice()).length-1,r=n[l],i=n[o];return i<r&&(t=l,l=o,o=t,t=r,r=i,i=t),n[l]=e.floor(r),n[o]=e.ceil(i),n};function N3(n,e){return(e=Math.log(e/n))?function(t){return Math.log(t/n)/e}:i3(e)}function M3(n,e){return n<0?function(t){return-Math.pow(-e,t)*Math.pow(-n,1-t)}:function(t){return Math.pow(e,t)*Math.pow(n,1-t)}}function A3(n){return isFinite(n)?+("1e"+n):n<0?0:n}function q3(n){return 10===n?A3:n===Math.E?Math.exp:function(e){return Math.pow(n,e)}}function P3(n){return n===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),function(e){return Math.log(e)/n})}function j3(n){return function(e){return-n(-e)}}function L3(){var n=f3(N3,M3).domain([1,10]),e=n.domain,t=10,l=P3(10),o=q3(10);function r(){return l=P3(t),o=q3(t),e()[0]<0&&(l=j3(l),o=j3(o)),n}return n.base=function(n){return arguments.length?(t=+n,r()):t},n.domain=function(n){return arguments.length?(e(n),r()):e()},n.ticks=function(n){var r,i=e(),a=i[0],u=i[i.length-1];(r=u<a)&&(p=a,a=u,u=p);var s,d,c,p=l(a),f=l(u),h=null==n?10:+n,m=[];if(!(t%1)&&f-p<h){if(p=Math.round(p)-1,f=Math.round(f)+1,a>0){for(;p<f;++p)for(d=1,s=o(p);d<t;++d)if(!((c=s*d)<a)){if(c>u)break;m.push(c)}}else for(;p<f;++p)for(d=t-1,s=o(p);d>=1;--d)if(!((c=s*d)<a)){if(c>u)break;m.push(c)}}else m=$W(p,f,Math.min(f-p,h)).map(o);return r?m.reverse():m},n.tickFormat=function(e,r){if(null==r&&(r=10===t?".0e":","),"function"!=typeof r&&(r=w3(r)),e===1/0)return r;null==e&&(e=10);var i=Math.max(1,t*e/n.ticks().length);return function(n){var e=n/o(Math.round(l(n)));return e*t<t-.5&&(e*=t),e<=i?r(n):""}},n.nice=function(){return e(F3(e(),{floor:function(n){return o(Math.floor(l(n)))},ceil:function(n){return o(Math.ceil(l(n)))}}))},n.copy=function(){return p3(n,L3().base(t))},n}function V3(n,e){return n<0?-Math.pow(-n,e):Math.pow(n,e)}function B3(){var n=1,e=f3(function(e,t){return(t=V3(t,n)-(e=V3(e,n)))?function(l){return(V3(l,n)-e)/t}:i3(t)},function(e,t){return t=V3(t,n)-(e=V3(e,n)),function(l){return V3(e+t*l,1/n)}}),t=e.domain;return e.exponent=function(e){return arguments.length?(n=+e,t(t())):n},e.copy=function(){return p3(e,B3().exponent(n))},I3(e)}function z3(){return B3().exponent(.5)}function U3(){var n=[],e=[],t=[];function l(){var l=0,r=Math.max(1,e.length);for(t=new Array(r-1);++l<r;)t[l-1]=eG(n,l/r);return o}function o(n){if(!isNaN(n=+n))return e[FW(t,n)]}return o.invertExtent=function(l){var o=e.indexOf(l);return o<0?[NaN,NaN]:[o>0?t[o-1]:n[0],o<t.length?t[o]:n[n.length-1]]},o.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var t,o=0,r=e.length;o<r;++o)null==(t=e[o])||isNaN(t=+t)||n.push(t);return n.sort(TW),l()},o.range=function(n){return arguments.length?(e=e3.call(n),l()):e.slice()},o.quantiles=function(){return t.slice()},o.copy=function(){return U3().domain(n).range(e)},o}function H3(){var n=0,e=1,t=1,l=[.5],o=[0,1];function r(n){if(n<=n)return o[FW(l,n,0,t)]}function i(){var o=-1;for(l=new Array(t);++o<t;)l[o]=((o+1)*e-(o-t)*n)/(t+1);return r}return r.domain=function(t){return arguments.length?(n=+t[0],e=+t[1],i()):[n,e]},r.range=function(n){return arguments.length?(t=(o=e3.call(n)).length-1,i()):o.slice()},r.invertExtent=function(r){var i=o.indexOf(r);return i<0?[NaN,NaN]:i<1?[n,l[0]]:i>=t?[l[t-1],e]:[l[i-1],l[i]]},r.copy=function(){return H3().domain([n,e]).range(o)},I3(r)}function Z3(){var n=[.5],e=[0,1],t=1;function l(l){if(l<=l)return e[FW(n,l,0,t)]}return l.domain=function(o){return arguments.length?(n=e3.call(o),t=Math.min(n.length,e.length-1),l):n.slice()},l.range=function(o){return arguments.length?(e=e3.call(o),t=Math.min(n.length,e.length-1),l):e.slice()},l.invertExtent=function(t){var l=e.indexOf(t);return[n[l-1],n[l]]},l.copy=function(){return Z3().domain(n).range(e)},l}var W3=new Date,G3=new Date;function K3(n,e,t,l){function o(e){return n(e=new Date(+e)),e}return o.floor=o,o.ceil=function(t){return n(t=new Date(t-1)),e(t,1),n(t),t},o.round=function(n){var e=o(n),t=o.ceil(n);return n-e<t-n?e:t},o.offset=function(n,t){return e(n=new Date(+n),null==t?1:Math.floor(t)),n},o.range=function(t,l,r){var i,a=[];if(t=o.ceil(t),r=null==r?1:Math.floor(r),!(t<l&&r>0))return a;do{a.push(i=new Date(+t)),e(t,r),n(t)}while(i<t&&t<l);return a},o.filter=function(t){return K3(function(e){if(e>=e)for(;n(e),!t(e);)e.setTime(e-1)},function(n,l){if(n>=n)if(l<0)for(;++l<=0;)for(;e(n,-1),!t(n););else for(;--l>=0;)for(;e(n,1),!t(n););})},t&&(o.count=function(e,l){return W3.setTime(+e),G3.setTime(+l),n(W3),n(G3),Math.floor(t(W3,G3))},o.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?o.filter(l?function(e){return l(e)%n==0}:function(e){return o.count(0,e)%n==0}):o:null}),o}var Y3=K3(function(){},function(n,e){n.setTime(+n+e)},function(n,e){return e-n});Y3.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?K3(function(e){e.setTime(Math.floor(e/n)*n)},function(e,t){e.setTime(+e+t*n)},function(e,t){return(t-e)/n}):Y3:null};var $3=Y3,X3=Y3.range,Q3=6e4,J3=6048e5,n4=K3(function(n){n.setTime(n-n.getMilliseconds())},function(n,e){n.setTime(+n+1e3*e)},function(n,e){return(e-n)/1e3},function(n){return n.getUTCSeconds()}),e4=n4,t4=n4.range,l4=K3(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds())},function(n,e){n.setTime(+n+e*Q3)},function(n,e){return(e-n)/Q3},function(n){return n.getMinutes()}),o4=l4,r4=l4.range,i4=K3(function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds()-n.getMinutes()*Q3)},function(n,e){n.setTime(+n+36e5*e)},function(n,e){return(e-n)/36e5},function(n){return n.getHours()}),a4=i4,u4=i4.range,s4=K3(function(n){n.setHours(0,0,0,0)},function(n,e){n.setDate(n.getDate()+e)},function(n,e){return(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*Q3)/864e5},function(n){return n.getDate()-1}),d4=s4,c4=s4.range;function p4(n){return K3(function(e){e.setDate(e.getDate()-(e.getDay()+7-n)%7),e.setHours(0,0,0,0)},function(n,e){n.setDate(n.getDate()+7*e)},function(n,e){return(e-n-(e.getTimezoneOffset()-n.getTimezoneOffset())*Q3)/J3})}var f4=p4(0),h4=p4(1),m4=p4(2),v4=p4(3),g4=p4(4),b4=p4(5),_4=p4(6),y4=f4.range,w4=h4.range,C4=m4.range,x4=v4.range,S4=g4.range,k4=b4.range,E4=_4.range,T4=K3(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,e){n.setMonth(n.getMonth()+e)},function(n,e){return e.getMonth()-n.getMonth()+12*(e.getFullYear()-n.getFullYear())},function(n){return n.getMonth()}),R4=T4,I4=T4.range,D4=K3(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e)},function(n,e){return e.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});D4.every=function(n){return isFinite(n=Math.floor(n))&&n>0?K3(function(e){e.setFullYear(Math.floor(e.getFullYear()/n)*n),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t*n)}):null};var O4=D4,F4=D4.range,N4=K3(function(n){n.setUTCSeconds(0,0)},function(n,e){n.setTime(+n+e*Q3)},function(n,e){return(e-n)/Q3},function(n){return n.getUTCMinutes()}),M4=N4,A4=N4.range,q4=K3(function(n){n.setUTCMinutes(0,0,0)},function(n,e){n.setTime(+n+36e5*e)},function(n,e){return(e-n)/36e5},function(n){return n.getUTCHours()}),P4=q4,j4=q4.range,L4=K3(function(n){n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCDate(n.getUTCDate()+e)},function(n,e){return(e-n)/864e5},function(n){return n.getUTCDate()-1}),V4=L4,B4=L4.range;function z4(n){return K3(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-n)%7),e.setUTCHours(0,0,0,0)},function(n,e){n.setUTCDate(n.getUTCDate()+7*e)},function(n,e){return(e-n)/J3})}var U4=z4(0),H4=z4(1),Z4=z4(2),W4=z4(3),G4=z4(4),K4=z4(5),Y4=z4(6),$4=U4.range,X4=H4.range,Q4=Z4.range,J4=W4.range,n8=G4.range,e8=K4.range,t8=Y4.range,l8=K3(function(n){n.setUTCDate(1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCMonth(n.getUTCMonth()+e)},function(n,e){return e.getUTCMonth()-n.getUTCMonth()+12*(e.getUTCFullYear()-n.getUTCFullYear())},function(n){return n.getUTCMonth()}),o8=l8,r8=l8.range,i8=K3(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e)},function(n,e){return e.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});i8.every=function(n){return isFinite(n=Math.floor(n))&&n>0?K3(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/n)*n),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t*n)}):null};var a8=i8,u8=i8.range;function s8(n){if(0<=n.y&&n.y<100){var e=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return e.setFullYear(n.y),e}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function d8(n){if(0<=n.y&&n.y<100){var e=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return e.setUTCFullYear(n.y),e}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function c8(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}}function p8(n){var e=n.dateTime,t=n.date,l=n.time,o=n.periods,r=n.days,i=n.shortDays,a=n.months,u=n.shortMonths,s=S8(o),d=k8(o),c=S8(r),p=k8(r),f=S8(i),h=k8(i),m=S8(a),v=k8(a),g=S8(u),b=k8(u),_={a:function(n){return i[n.getDay()]},A:function(n){return r[n.getDay()]},b:function(n){return u[n.getMonth()]},B:function(n){return a[n.getMonth()]},c:null,d:Z8,e:Z8,f:$8,H:W8,I:G8,j:K8,L:Y8,m:X8,M:Q8,p:function(n){return o[+(n.getHours()>=12)]},Q:E9,s:T9,S:J8,u:n9,U:e9,V:t9,w:l9,W:o9,x:null,X:null,y:r9,Y:i9,Z:a9,"%":k9},y={a:function(n){return i[n.getUTCDay()]},A:function(n){return r[n.getUTCDay()]},b:function(n){return u[n.getUTCMonth()]},B:function(n){return a[n.getUTCMonth()]},c:null,d:u9,e:u9,f:f9,H:s9,I:d9,j:c9,L:p9,m:h9,M:m9,p:function(n){return o[+(n.getUTCHours()>=12)]},Q:E9,s:T9,S:v9,u:g9,U:b9,V:_9,w:y9,W:w9,x:null,X:null,y:C9,Y:x9,Z:S9,"%":k9},w={a:function(n,e,t){var l=f.exec(e.slice(t));return l?(n.w=h[l[0].toLowerCase()],t+l[0].length):-1},A:function(n,e,t){var l=c.exec(e.slice(t));return l?(n.w=p[l[0].toLowerCase()],t+l[0].length):-1},b:function(n,e,t){var l=g.exec(e.slice(t));return l?(n.m=b[l[0].toLowerCase()],t+l[0].length):-1},B:function(n,e,t){var l=m.exec(e.slice(t));return l?(n.m=v[l[0].toLowerCase()],t+l[0].length):-1},c:function(n,t,l){return S(n,e,t,l)},d:A8,e:A8,f:B8,H:P8,I:P8,j:q8,L:V8,m:M8,M:j8,p:function(n,e,t){var l=s.exec(e.slice(t));return l?(n.p=d[l[0].toLowerCase()],t+l[0].length):-1},Q:U8,s:H8,S:L8,u:T8,U:R8,V:I8,w:E8,W:D8,x:function(n,e,l){return S(n,t,e,l)},X:function(n,e,t){return S(n,l,e,t)},y:F8,Y:O8,Z:N8,"%":z8};function C(n,e){return function(t){var l,o,r,i=[],a=-1,u=0,s=n.length;for(t instanceof Date||(t=new Date(+t));++a<s;)37===n.charCodeAt(a)&&(i.push(n.slice(u,a)),null!=(o=b8[l=n.charAt(++a)])?l=n.charAt(++a):o="e"===l?" ":"0",(r=e[l])&&(l=r(t,o)),i.push(l),u=a+1);return i.push(n.slice(u,a)),i.join("")}}function x(n,e){return function(t){var l,o,r=c8(1900);if(S(r,n,t+="",0)!=t.length)return null;if("Q"in r)return new Date(r.Q);if("p"in r&&(r.H=r.H%12+12*r.p),"V"in r){if(r.V<1||r.V>53)return null;"w"in r||(r.w=1),"Z"in r?(o=(l=d8(c8(r.y))).getUTCDay(),l=o>4||0===o?H4.ceil(l):H4(l),l=V4.offset(l,7*(r.V-1)),r.y=l.getUTCFullYear(),r.m=l.getUTCMonth(),r.d=l.getUTCDate()+(r.w+6)%7):(o=(l=e(c8(r.y))).getDay(),l=o>4||0===o?h4.ceil(l):h4(l),l=d4.offset(l,7*(r.V-1)),r.y=l.getFullYear(),r.m=l.getMonth(),r.d=l.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),o="Z"in r?d8(c8(r.y)).getUTCDay():e(c8(r.y)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(o+5)%7:r.w+7*r.U-(o+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,d8(r)):e(r)}}function S(n,e,t,l){for(var o,r,i=0,a=e.length,u=t.length;i<a;){if(l>=u)return-1;if(37===(o=e.charCodeAt(i++))){if(o=e.charAt(i++),!(r=w[o in b8?e.charAt(i++):o])||(l=r(n,t,l))<0)return-1}else if(o!=t.charCodeAt(l++))return-1}return l}return _.x=C(t,_),_.X=C(l,_),_.c=C(e,_),y.x=C(t,y),y.X=C(l,y),y.c=C(e,y),{format:function(n){var e=C(n+="",_);return e.toString=function(){return n},e},parse:function(n){var e=x(n+="",s8);return e.toString=function(){return n},e},utcFormat:function(n){var e=C(n+="",y);return e.toString=function(){return n},e},utcParse:function(n){var e=x(n,d8);return e.toString=function(){return n},e}}}var f8,h8,m8,v8,g8,b8={"-":"",_:" ",0:"0"},_8=/^\s*\d+/,y8=/^%/,w8=/[\\^$*+?|[\]().{}]/g;function C8(n,e,t){var l=n<0?"-":"",o=(l?-n:n)+"",r=o.length;return l+(r<t?new Array(t-r+1).join(e)+o:o)}function x8(n){return n.replace(w8,"\\$&")}function S8(n){return new RegExp("^(?:"+n.map(x8).join("|")+")","i")}function k8(n){for(var e={},t=-1,l=n.length;++t<l;)e[n[t].toLowerCase()]=t;return e}function E8(n,e,t){var l=_8.exec(e.slice(t,t+1));return l?(n.w=+l[0],t+l[0].length):-1}function T8(n,e,t){var l=_8.exec(e.slice(t,t+1));return l?(n.u=+l[0],t+l[0].length):-1}function R8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.U=+l[0],t+l[0].length):-1}function I8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.V=+l[0],t+l[0].length):-1}function D8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.W=+l[0],t+l[0].length):-1}function O8(n,e,t){var l=_8.exec(e.slice(t,t+4));return l?(n.y=+l[0],t+l[0].length):-1}function F8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.y=+l[0]+(+l[0]>68?1900:2e3),t+l[0].length):-1}function N8(n,e,t){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(t,t+6));return l?(n.Z=l[1]?0:-(l[2]+(l[3]||"00")),t+l[0].length):-1}function M8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.m=l[0]-1,t+l[0].length):-1}function A8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.d=+l[0],t+l[0].length):-1}function q8(n,e,t){var l=_8.exec(e.slice(t,t+3));return l?(n.m=0,n.d=+l[0],t+l[0].length):-1}function P8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.H=+l[0],t+l[0].length):-1}function j8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.M=+l[0],t+l[0].length):-1}function L8(n,e,t){var l=_8.exec(e.slice(t,t+2));return l?(n.S=+l[0],t+l[0].length):-1}function V8(n,e,t){var l=_8.exec(e.slice(t,t+3));return l?(n.L=+l[0],t+l[0].length):-1}function B8(n,e,t){var l=_8.exec(e.slice(t,t+6));return l?(n.L=Math.floor(l[0]/1e3),t+l[0].length):-1}function z8(n,e,t){var l=y8.exec(e.slice(t,t+1));return l?t+l[0].length:-1}function U8(n,e,t){var l=_8.exec(e.slice(t));return l?(n.Q=+l[0],t+l[0].length):-1}function H8(n,e,t){var l=_8.exec(e.slice(t));return l?(n.Q=1e3*+l[0],t+l[0].length):-1}function Z8(n,e){return C8(n.getDate(),e,2)}function W8(n,e){return C8(n.getHours(),e,2)}function G8(n,e){return C8(n.getHours()%12||12,e,2)}function K8(n,e){return C8(1+d4.count(O4(n),n),e,3)}function Y8(n,e){return C8(n.getMilliseconds(),e,3)}function $8(n,e){return Y8(n,e)+"000"}function X8(n,e){return C8(n.getMonth()+1,e,2)}function Q8(n,e){return C8(n.getMinutes(),e,2)}function J8(n,e){return C8(n.getSeconds(),e,2)}function n9(n){var e=n.getDay();return 0===e?7:e}function e9(n,e){return C8(f4.count(O4(n),n),e,2)}function t9(n,e){var t=n.getDay();return n=t>=4||0===t?g4(n):g4.ceil(n),C8(g4.count(O4(n),n)+(4===O4(n).getDay()),e,2)}function l9(n){return n.getDay()}function o9(n,e){return C8(h4.count(O4(n),n),e,2)}function r9(n,e){return C8(n.getFullYear()%100,e,2)}function i9(n,e){return C8(n.getFullYear()%1e4,e,4)}function a9(n){var e=n.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+C8(e/60|0,"0",2)+C8(e%60,"0",2)}function u9(n,e){return C8(n.getUTCDate(),e,2)}function s9(n,e){return C8(n.getUTCHours(),e,2)}function d9(n,e){return C8(n.getUTCHours()%12||12,e,2)}function c9(n,e){return C8(1+V4.count(a8(n),n),e,3)}function p9(n,e){return C8(n.getUTCMilliseconds(),e,3)}function f9(n,e){return p9(n,e)+"000"}function h9(n,e){return C8(n.getUTCMonth()+1,e,2)}function m9(n,e){return C8(n.getUTCMinutes(),e,2)}function v9(n,e){return C8(n.getUTCSeconds(),e,2)}function g9(n){var e=n.getUTCDay();return 0===e?7:e}function b9(n,e){return C8(U4.count(a8(n),n),e,2)}function _9(n,e){var t=n.getUTCDay();return n=t>=4||0===t?G4(n):G4.ceil(n),C8(G4.count(a8(n),n)+(4===a8(n).getUTCDay()),e,2)}function y9(n){return n.getUTCDay()}function w9(n,e){return C8(H4.count(a8(n),n),e,2)}function C9(n,e){return C8(n.getUTCFullYear()%100,e,2)}function x9(n,e){return C8(n.getUTCFullYear()%1e4,e,4)}function S9(){return"+0000"}function k9(){return"%"}function E9(n){return+n}function T9(n){return Math.floor(+n/1e3)}function R9(n){return f8=p8(n),h8=f8.format,m8=f8.parse,v8=f8.utcFormat,g8=f8.utcParse,f8}R9({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var I9=Date.prototype.toISOString?function(n){return n.toISOString()}:v8("%Y-%m-%dT%H:%M:%S.%LZ"),D9=+new Date("2000-01-01T00:00:00.000Z")?function(n){var e=new Date(n);return isNaN(e)?null:e}:g8("%Y-%m-%dT%H:%M:%S.%LZ"),O9=1e3,F9=60*O9,N9=60*F9,M9=24*N9,A9=7*M9,q9=30*M9,P9=365*M9;function j9(n){return new Date(n)}function L9(n){return n instanceof Date?+n:+new Date(+n)}function V9(n,e,t,l,o,r,i,a,u){var s=f3(s3,Cq),d=s.invert,c=s.domain,p=u(".%L"),f=u(":%S"),h=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),g=u("%b %d"),b=u("%B"),_=u("%Y"),y=[[i,1,O9],[i,5,5*O9],[i,15,15*O9],[i,30,30*O9],[r,1,F9],[r,5,5*F9],[r,15,15*F9],[r,30,30*F9],[o,1,N9],[o,3,3*N9],[o,6,6*N9],[o,12,12*N9],[l,1,M9],[l,2,2*M9],[t,1,A9],[e,1,q9],[e,3,3*q9],[n,1,P9]];function w(a){return(i(a)<a?p:r(a)<a?f:o(a)<a?h:l(a)<a?m:e(a)<a?t(a)<a?v:g:n(a)<a?b:_)(a)}function C(e,t,l,o){if(null==e&&(e=10),"number"==typeof e){var r=Math.abs(l-t)/e,i=RW(function(n){return n[2]}).right(y,r);i===y.length?(o=QW(t/P9,l/P9,e),e=n):i?(o=(i=y[r/y[i-1][2]<y[i][2]/r?i-1:i])[1],e=i[0]):(o=Math.max(QW(t,l,e),1),e=a)}return null==o?e:e.every(o)}return s.invert=function(n){return new Date(d(n))},s.domain=function(n){return arguments.length?c(n3.call(n,L9)):c().map(j9)},s.ticks=function(n,e){var t,l=c(),o=l[0],r=l[l.length-1],i=r<o;return i&&(t=o,o=r,r=t),t=(t=C(n,o,r,e))?t.range(o,r+1):[],i?t.reverse():t},s.tickFormat=function(n,e){return null==e?w:u(e)},s.nice=function(n,e){var t=c();return(n=C(n,t[0],t[t.length-1],e))?c(F3(t,n)):s},s.copy=function(){return p3(s,V9(n,e,t,l,o,r,i,a,u))},s}var B9=function(){return V9(O4,R4,f4,d4,a4,o4,e4,$3,h8).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},z9=function(){return V9(a8,o8,U4,V4,P4,M4,e4,$3,v8).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};function U9(n){var e=0,t=1,l=!1;function o(o){var r=(o-e)/(t-e);return n(l?Math.max(0,Math.min(1,r)):r)}return o.domain=function(n){return arguments.length?(e=+n[0],t=+n[1],o):[e,t]},o.clamp=function(n){return arguments.length?(l=!!n,o):l},o.interpolator=function(e){return arguments.length?(n=e,o):n},o.copy=function(){return U9(n).domain([e,t]).clamp(l)},I3(o)}var H9=function(n){for(var e=n.length/6|0,t=new Array(e),l=0;l<e;)t[l]="#"+n.slice(6*l,6*++l);return t},Z9=H9("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),W9=H9("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),G9=H9("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),K9=H9("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Y9=H9("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),$9=H9("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),X9=H9("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Q9=H9("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),J9=H9("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),n5=function(n){return wq(n[n.length-1])},e5=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(H9),t5=n5(e5),l5=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(H9),o5=n5(l5),r5=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(H9),i5=n5(r5),a5=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(H9),u5=n5(a5),s5=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(H9),d5=n5(s5),c5=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(H9),p5=n5(c5),f5=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(H9),h5=n5(f5),m5=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(H9),v5=n5(m5),g5=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(H9),b5=n5(g5),_5=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(H9),y5=n5(_5),w5=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(H9),C5=n5(w5),x5=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(H9),S5=n5(x5),k5=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(H9),E5=n5(k5),T5=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(H9),R5=n5(T5),I5=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(H9),D5=n5(I5),O5=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(H9),F5=n5(O5),N5=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(H9),M5=n5(N5),A5=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(H9),q5=n5(A5),P5=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(H9),j5=n5(P5),L5=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(H9),V5=n5(L5),B5=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(H9),z5=n5(B5),U5=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(H9),H5=n5(U5),Z5=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(H9),W5=n5(Z5),G5=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(H9),K5=n5(G5),Y5=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(H9),$5=n5(Y5),X5=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(H9),Q5=n5(X5),J5=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(H9),nnn=n5(J5),enn=zq(uq(300,.5,0),uq(-240,.5,1)),tnn=zq(uq(-100,.75,.35),uq(80,1.5,.8)),lnn=zq(uq(260,.75,.35),uq(80,1.5,.8)),onn=uq(),rnn=function(n){(n<0||n>1)&&(n-=Math.floor(n));var e=Math.abs(n-.5);return onn.h=360*n-100,onn.s=1.5-1.5*e,onn.l=.8-.9*e,onn+""};function inn(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}}var ann=inn(H9("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),unn=inn(H9("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),snn=inn(H9("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),dnn=inn(H9("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),cnn={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/"},pnn=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),cnn.hasOwnProperty(e)?{space:cnn[e],local:n}:n},fnn=function(n){var e=pnn(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return"http://www.w3.org/1999/xhtml"===t&&"http://www.w3.org/1999/xhtml"===e.documentElement.namespaceURI?e.createElement(n):e.createElementNS(t,n)}})(e)};function hnn(){}var mnn=function(n){return null==n?hnn:function(){return this.querySelector(n)}};function vnn(){return[]}var gnn=function(n){return null==n?vnn:function(){return this.querySelectorAll(n)}},bnn=function(n){return function(){return this.matches(n)}};if("undefined"!=typeof document){var _nn=document.documentElement;if(!_nn.matches){var ynn=_nn.webkitMatchesSelector||_nn.msMatchesSelector||_nn.mozMatchesSelector||_nn.oMatchesSelector;bnn=function(n){return function(){return ynn.call(this,n)}}}}var wnn=bnn,Cnn=function(n){return new Array(n.length)};function xnn(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}xnn.prototype={constructor:xnn,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,e){return this._parent.insertBefore(n,e)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var Snn="$";function knn(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new xnn(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function Enn(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=Snn+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=Snn+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new xnn(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function Tnn(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}function Rnn(n){return function(){this.removeAttribute(n)}}function Inn(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Dnn(n,e){return function(){this.setAttribute(n,e)}}function Onn(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}function Fnn(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}function Nnn(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,t)}}var Mnn=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function Ann(n){return function(){this.style.removeProperty(n)}}function qnn(n,e,t){return function(){this.style.setProperty(n,e,t)}}function Pnn(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}function jnn(n,e){return n.style.getPropertyValue(e)||Mnn(n).getComputedStyle(n,null).getPropertyValue(e)}function Lnn(n){return function(){delete this[n]}}function Vnn(n,e){return function(){this[n]=e}}function Bnn(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}function znn(n){return n.trim().split(/^|\s+/)}function Unn(n){return n.classList||new Hnn(n)}function Hnn(n){this._node=n,this._names=znn(n.getAttribute("class")||"")}function Znn(n,e){for(var t=Unn(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function Wnn(n,e){for(var t=Unn(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function Gnn(n){return function(){Znn(this,n)}}function Knn(n){return function(){Wnn(this,n)}}function Ynn(n,e){return function(){(e.apply(this,arguments)?Znn:Wnn)(this,n)}}function $nn(){this.textContent=""}function Xnn(n){return function(){this.textContent=n}}function Qnn(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}function Jnn(){this.innerHTML=""}function nen(n){return function(){this.innerHTML=n}}function een(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}function ten(){this.nextSibling&&this.parentNode.appendChild(this)}function len(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function oen(){return null}function ren(){var n=this.parentNode;n&&n.removeChild(this)}function ien(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function aen(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}Hnn.prototype={add:function(n){this._names.indexOf(n)<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var e=this._names.indexOf(n);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var uen={},sen=null;function den(n,e,t){return n=cen(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function cen(n,e,t){return function(l){var o=sen;sen=l;try{n.call(this,this.__data__,e,t)}finally{sen=o}}}function pen(n){return n.trim().split(/^|\s+/).map(function(n){var e="",t=n.indexOf(".");return t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),{type:n,name:e}})}function fen(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++l)t=e[l],n.type&&t.type!==n.type||t.name!==n.name?e[++o]=t:this.removeEventListener(t.type,t.listener,t.capture);++o?e.length=o:delete this.__on}}}function hen(n,e,t){var l=uen.hasOwnProperty(n.type)?den:cen;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);if(u)for(var d=0,c=u.length;d<c;++d)if((a=u[d]).type===n.type&&a.name===n.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=t),void(a.value=e);this.addEventListener(n.type,s,t),a={type:n.type,name:n.name,value:e,listener:s,capture:t},u?u.push(a):this.__on=[a]}}function men(n,e,t,l){var o=sen;n.sourceEvent=sen,sen=n;try{return e.apply(t,l)}finally{sen=o}}function ven(n,e,t){var l=Mnn(n),o=l.CustomEvent;"function"==typeof o?o=new o(e,t):(o=l.document.createEvent("Event"),t?(o.initEvent(e,t.bubbles,t.cancelable),o.detail=t.detail):o.initEvent(e,!1,!1)),n.dispatchEvent(o)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(uen={mouseenter:"mouseover",mouseleave:"mouseout"}));var gen=[null];function ben(n,e){this._groups=n,this._parents=e}function _en(){return new ben([[document.documentElement]],gen)}ben.prototype=_en.prototype={constructor:ben,select:function(n){"function"!=typeof n&&(n=mnn(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new ben(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=gnn(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new ben(l,o)},filter:function(n){"function"!=typeof n&&(n=wnn(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new ben(l,this._parents)},data:function(n,e){if(!n)return h=new Array(this.size()),d=-1,this.each(function(n){h[++d]=n}),h;var t,l=e?Enn:knn,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[d],f=p.length,h=n.call(c,c&&c.__data__,d,o),m=h.length,v=u[d]=new Array(m),g=a[d]=new Array(m);l(c,p,v,g,s[d]=new Array(f),h,e);for(var b,_,y=0,w=0;y<m;++y)if(b=v[y]){for(y>=w&&(w=y+1);!(_=g[w])&&++w<m;);b._next=_||null}}return(a=new ben(a,o))._enter=u,a._exit=s,a},enter:function(){return new ben(this._enter||this._groups.map(Cnn),this._parents)},exit:function(){return new ben(this._exit||this._groups.map(Cnn),this._parents)},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new ben(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&i!==l.nextSibling&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=Tnn);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new ben(o,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),e=-1;return this.each(function(){n[++e]=this}),n},node:function(){for(var n=this._groups,e=0,t=n.length;e<t;++e)for(var l=n[e],o=0,r=l.length;o<r;++o){var i=l[o];if(i)return i}return null},size:function(){var n=0;return this.each(function(){++n}),n},empty:function(){return!this.node()},each:function(n){for(var e=this._groups,t=0,l=e.length;t<l;++t)for(var o,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=pnn(n);if(arguments.length<2){var l=this.node();return t.local?l.getAttributeNS(t.space,t.local):l.getAttribute(t)}return this.each((null==e?t.local?Inn:Rnn:"function"==typeof e?t.local?Nnn:Fnn:t.local?Onn:Dnn)(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?Ann:"function"==typeof e?Pnn:qnn)(n,e,null==t?"":t)):jnn(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?Lnn:"function"==typeof e?Bnn:Vnn)(n,e)):this.node()[n]},classed:function(n,e){var t=znn(n+"");if(arguments.length<2){for(var l=Unn(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?Ynn:e?Gnn:Knn)(t,e))},text:function(n){return arguments.length?this.each(null==n?$nn:("function"==typeof n?Qnn:Xnn)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?Jnn:("function"==typeof n?een:nen)(n)):this.node().innerHTML},raise:function(){return this.each(ten)},lower:function(){return this.each(len)},append:function(n){var e="function"==typeof n?n:fnn(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:fnn(n),l=null==e?oen:"function"==typeof e?e:mnn(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(ren)},clone:function(n){return this.select(n?aen:ien)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=pen(n+""),i=r.length;if(!(arguments.length<2)){for(a=e?hen:fen,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[l],e,t));return this}var a=this.node().__on;if(a)for(var u,s=0,d=a.length;s<d;++s)for(l=0,u=a[s];l<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return ven(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return ven(this,n,e)}})(n,e))}};var yen=_en,wen=function(n){return"string"==typeof n?new ben([[document.querySelector(n)]],[document.documentElement]):new ben([[n]],gen)},Cen=function(n){return wen(fnn(n).call(document.documentElement))},xen=0;function Sen(){return new ken}function ken(){this._="@"+(++xen).toString(36)}ken.prototype=Sen.prototype={constructor:ken,get:function(n){for(var e=this._;!(e in n);)if(!(n=n.parentNode))return;return n[e]},set:function(n,e){return n[this._]=e},remove:function(n){return this._ in n&&delete n[this._]},toString:function(){return this._}};var Een=function(){for(var n,e=sen;n=e.sourceEvent;)e=n;return e},Ten=function(n,e){var t=n.ownerSVGElement||n;if(t.createSVGPoint){var l=t.createSVGPoint();return l.x=e.clientX,l.y=e.clientY,[(l=l.matrixTransform(n.getScreenCTM().inverse())).x,l.y]}var o=n.getBoundingClientRect();return[e.clientX-o.left-n.clientLeft,e.clientY-o.top-n.clientTop]},Ren=function(n){var e=Een();return e.changedTouches&&(e=e.changedTouches[0]),Ten(n,e)},Ien=function(n){return"string"==typeof n?new ben([document.querySelectorAll(n)],[document.documentElement]):new ben([null==n?[]:n],gen)},Den=function(n,e,t){arguments.length<3&&(t=e,e=Een().changedTouches);for(var l,o=0,r=e?e.length:0;o<r;++o)if((l=e[o]).identifier===t)return Ten(n,l);return null},Oen=function(n,e){null==e&&(e=Een().touches);for(var t=0,l=e?e.length:0,o=new Array(l);t<l;++t)o[t]=Ten(n,e[t]);return o};gD.prototype.attrs=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var n=e.apply(this,arguments),t=bD(this);for(var l in n)t.attr(l,n[l])})}:function(n,e){for(var t in e)n.attr(t,e[t]);return n})(this,n)},gD.prototype.styles=function(n,e){return("function"==typeof n?function(n,e,t){return n.each(function(){var n=e.apply(this,arguments),l=bD(this);for(var o in n)l.style(o,n[o],t)})}:function(n,e,t){for(var l in e)n.style(l,e[l],t);return n})(this,n,null==e?"":e)},gD.prototype.properties=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var n=e.apply(this,arguments),t=bD(this);for(var l in n)t.property(l,n[l])})}:function(n,e){for(var t in e)n.property(t,e[t]);return n})(this,n)},LP.prototype.attrs=function(n){return("function"==typeof n?function(n,e){return n.each(function(){var t=e.apply(this,arguments),l=bD(this).transition(n);for(var o in t)l.attr(o,t[o])})}:function(n,e){for(var t in e)n.attr(t,e[t]);return n})(this,n)},LP.prototype.styles=function(n,e){return("function"==typeof n?function(n,e,t){return n.each(function(){var l=e.apply(this,arguments),o=bD(this).transition(n);for(var r in l)o.style(r,l[r],t)})}:function(n,e,t){for(var l in e)n.style(l,e[l],t);return n})(this,n,null==e?"":e)};var Fen={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/"},Nen=function(n){var e=n+="",t=e.indexOf(":");return t>=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Fen.hasOwnProperty(e)?{space:Fen[e],local:n}:n},Men=function(n){var e=Nen(n);return(e.local?function(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}:function(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return"http://www.w3.org/1999/xhtml"===t&&"http://www.w3.org/1999/xhtml"===e.documentElement.namespaceURI?e.createElement(n):e.createElementNS(t,n)}})(e)};function Aen(){}var qen=function(n){return null==n?Aen:function(){return this.querySelector(n)}};function Pen(){return[]}var jen=function(n){return null==n?Pen:function(){return this.querySelectorAll(n)}},Len=function(n){return function(){return this.matches(n)}},Ven=function(n){return new Array(n.length)};function Ben(n,e){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=e}Ben.prototype={constructor:Ben,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,e){return this._parent.insertBefore(n,e)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var zen="$";function Uen(n,e,t,l,o,r){for(var i,a=0,u=e.length,s=r.length;a<s;++a)(i=e[a])?(i.__data__=r[a],l[a]=i):t[a]=new Ben(n,r[a]);for(;a<u;++a)(i=e[a])&&(o[a]=i)}function Hen(n,e,t,l,o,r,i){var a,u,s,d={},c=e.length,p=r.length,f=new Array(c);for(a=0;a<c;++a)(u=e[a])&&(f[a]=s=zen+i.call(u,u.__data__,a,e),s in d?o[a]=u:d[s]=u);for(a=0;a<p;++a)(u=d[s=zen+i.call(n,r[a],a,r)])?(l[a]=u,u.__data__=r[a],d[s]=null):t[a]=new Ben(n,r[a]);for(a=0;a<c;++a)(u=e[a])&&d[f[a]]===u&&(o[a]=u)}function Zen(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}function Wen(n){return function(){this.removeAttribute(n)}}function Gen(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Ken(n,e){return function(){this.setAttribute(n,e)}}function Yen(n,e){return function(){this.setAttributeNS(n.space,n.local,e)}}function $en(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttribute(n):this.setAttribute(n,t)}}function Xen(n,e){return function(){var t=e.apply(this,arguments);null==t?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,t)}}var Qen=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function Jen(n){return function(){this.style.removeProperty(n)}}function ntn(n,e,t){return function(){this.style.setProperty(n,e,t)}}function etn(n,e,t){return function(){var l=e.apply(this,arguments);null==l?this.style.removeProperty(n):this.style.setProperty(n,l,t)}}function ttn(n,e){return n.style.getPropertyValue(e)||Qen(n).getComputedStyle(n,null).getPropertyValue(e)}function ltn(n){return function(){delete this[n]}}function otn(n,e){return function(){this[n]=e}}function rtn(n,e){return function(){var t=e.apply(this,arguments);null==t?delete this[n]:this[n]=t}}function itn(n){return n.trim().split(/^|\s+/)}function atn(n){return n.classList||new utn(n)}function utn(n){this._node=n,this._names=itn(n.getAttribute("class")||"")}function stn(n,e){for(var t=atn(n),l=-1,o=e.length;++l<o;)t.add(e[l])}function dtn(n,e){for(var t=atn(n),l=-1,o=e.length;++l<o;)t.remove(e[l])}function ctn(n){return function(){stn(this,n)}}function ptn(n){return function(){dtn(this,n)}}function ftn(n,e){return function(){(e.apply(this,arguments)?stn:dtn)(this,n)}}function htn(){this.textContent=""}function mtn(n){return function(){this.textContent=n}}function vtn(n){return function(){var e=n.apply(this,arguments);this.textContent=null==e?"":e}}function gtn(){this.innerHTML=""}function btn(n){return function(){this.innerHTML=n}}function _tn(n){return function(){var e=n.apply(this,arguments);this.innerHTML=null==e?"":e}}function ytn(){this.nextSibling&&this.parentNode.appendChild(this)}function wtn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ctn(){return null}function xtn(){var n=this.parentNode;n&&n.removeChild(this)}function Stn(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function ktn(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}utn.prototype={add:function(n){this._names.indexOf(n)<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var e=this._names.indexOf(n);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var Etn={},Ttn=null;function Rtn(n,e,t){return n=Itn(n,e,t),function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}function Itn(n,e,t){return function(l){var o=Ttn;Ttn=l;try{n.call(this,this.__data__,e,t)}finally{Ttn=o}}}function Dtn(n){return n.trim().split(/^|\s+/).map(function(n){var e="",t=n.indexOf(".");return t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),{type:n,name:e}})}function Otn(n){return function(){var e=this.__on;if(e){for(var t,l=0,o=-1,r=e.length;l<r;++l)t=e[l],n.type&&t.type!==n.type||t.name!==n.name?e[++o]=t:this.removeEventListener(t.type,t.listener,t.capture);++o?e.length=o:delete this.__on}}}function Ftn(n,e,t){var l=Etn.hasOwnProperty(n.type)?Rtn:Itn;return function(o,r,i){var a,u=this.__on,s=l(e,r,i);if(u)for(var d=0,c=u.length;d<c;++d)if((a=u[d]).type===n.type&&a.name===n.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=t),void(a.value=e);this.addEventListener(n.type,s,t),a={type:n.type,name:n.name,value:e,listener:s,capture:t},u?u.push(a):this.__on=[a]}}function Ntn(n,e,t){var l=Qen(n),o=l.CustomEvent;"function"==typeof o?o=new o(e,t):(o=l.document.createEvent("Event"),t?(o.initEvent(e,t.bubbles,t.cancelable),o.detail=t.detail):o.initEvent(e,!1,!1)),n.dispatchEvent(o)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Etn={mouseenter:"mouseover",mouseleave:"mouseout"}));var Mtn=[null];function Atn(n,e){this._groups=n,this._parents=e}function qtn(){return new Atn([[document.documentElement]],Mtn)}Atn.prototype=qtn.prototype={constructor:Atn,select:function(n){"function"!=typeof n&&(n=qen(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i,a=e[o],u=a.length,s=l[o]=new Array(u),d=0;d<u;++d)(r=a[d])&&(i=n.call(r,r.__data__,d,a))&&("__data__"in r&&(i.__data__=r.__data__),s[d]=i);return new Atn(l,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=jen(n));for(var e=this._groups,t=e.length,l=[],o=[],r=0;r<t;++r)for(var i,a=e[r],u=a.length,s=0;s<u;++s)(i=a[s])&&(l.push(n.call(i,i.__data__,s,a)),o.push(i));return new Atn(l,o)},filter:function(n){"function"!=typeof n&&(n=Len(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new Atn(l,this._parents)},data:function(n,e){if(!n)return h=new Array(this.size()),d=-1,this.each(function(n){h[++d]=n}),h;var t,l=e?Hen:Uen,o=this._parents,r=this._groups;"function"!=typeof n&&(t=n,n=function(){return t});for(var i=r.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var c=o[d],p=r[d],f=p.length,h=n.call(c,c&&c.__data__,d,o),m=h.length,v=u[d]=new Array(m),g=a[d]=new Array(m);l(c,p,v,g,s[d]=new Array(f),h,e);for(var b,_,y=0,w=0;y<m;++y)if(b=v[y]){for(y>=w&&(w=y+1);!(_=g[w])&&++w<m;);b._next=_||null}}return(a=new Atn(a,o))._enter=u,a._exit=s,a},enter:function(){return new Atn(this._enter||this._groups.map(Ven),this._parents)},exit:function(){return new Atn(this._exit||this._groups.map(Ven),this._parents)},join:function(n,e,t){var l=this.enter(),o=this,r=this.exit();return l="function"==typeof n?n(l):l.append(n+""),null!=e&&(o=e(o)),null==t?r.remove():t(r),l&&o?l.merge(o).order():o},merge:function(n){for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new Atn(r,this._parents)},order:function(){for(var n=this._groups,e=-1,t=n.length;++e<t;)for(var l,o=n[e],r=o.length-1,i=o[r];--r>=0;)(l=o[r])&&(i&&4^l.compareDocumentPosition(i)&&i.parentNode.insertBefore(l,i),i=l);return this},sort:function(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n||(n=Zen);for(var t=this._groups,l=t.length,o=new Array(l),r=0;r<l;++r){for(var i,a=t[r],u=a.length,s=o[r]=new Array(u),d=0;d<u;++d)(i=a[d])&&(s[d]=i);s.sort(e)}return new Atn(o,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),e=-1;return this.each(function(){n[++e]=this}),n},node:function(){for(var n=this._groups,e=0,t=n.length;e<t;++e)for(var l=n[e],o=0,r=l.length;o<r;++o){var i=l[o];if(i)return i}return null},size:function(){var n=0;return this.each(function(){++n}),n},empty:function(){return!this.node()},each:function(n){for(var e=this._groups,t=0,l=e.length;t<l;++t)for(var o,r=e[t],i=0,a=r.length;i<a;++i)(o=r[i])&&n.call(o,o.__data__,i,r);return this},attr:function(n,e){var t=Nen(n);if(arguments.length<2){var l=this.node();return t.local?l.getAttributeNS(t.space,t.local):l.getAttribute(t)}return this.each((null==e?t.local?Gen:Wen:"function"==typeof e?t.local?Xen:$en:t.local?Yen:Ken)(t,e))},style:function(n,e,t){return arguments.length>1?this.each((null==e?Jen:"function"==typeof e?etn:ntn)(n,e,null==t?"":t)):ttn(this.node(),n)},property:function(n,e){return arguments.length>1?this.each((null==e?ltn:"function"==typeof e?rtn:otn)(n,e)):this.node()[n]},classed:function(n,e){var t=itn(n+"");if(arguments.length<2){for(var l=atn(this.node()),o=-1,r=t.length;++o<r;)if(!l.contains(t[o]))return!1;return!0}return this.each(("function"==typeof e?ftn:e?ctn:ptn)(t,e))},text:function(n){return arguments.length?this.each(null==n?htn:("function"==typeof n?vtn:mtn)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?gtn:("function"==typeof n?_tn:btn)(n)):this.node().innerHTML},raise:function(){return this.each(ytn)},lower:function(){return this.each(wtn)},append:function(n){var e="function"==typeof n?n:Men(n);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(n,e){var t="function"==typeof n?n:Men(n),l=null==e?Ctn:"function"==typeof e?e:qen(e);return this.select(function(){return this.insertBefore(t.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(xtn)},clone:function(n){return this.select(n?ktn:Stn)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,e,t){var l,o,r=Dtn(n+""),i=r.length;if(!(arguments.length<2)){for(a=e?Ftn:Otn,null==t&&(t=!1),l=0;l<i;++l)this.each(a(r[l],e,t));return this}var a=this.node().__on;if(a)for(var u,s=0,d=a.length;s<d;++s)for(l=0,u=a[s];l<i;++l)if((o=r[l]).type===u.type&&o.name===u.name)return u.value},dispatch:function(n,e){return this.each(("function"==typeof e?function(n,e){return function(){return Ntn(this,n,e.apply(this,arguments))}}:function(n,e){return function(){return Ntn(this,n,e)}})(n,e))}};var Ptn=qtn,jtn=0;function Ltn(){this._="@"+(++jtn).toString(36)}Ltn.prototype=(function(){return new Ltn}).prototype={constructor:Ltn,get:function(n){for(var e=this._;!(e in n);)if(!(n=n.parentNode))return;return n[e]},set:function(n,e){return n[this._]=e},remove:function(n){return this._ in n&&delete n[this._]},toString:function(){return this._}};var Vtn=rO("start","end","interrupt"),Btn=[],ztn=0,Utn=1,Htn=2,Ztn=3,Wtn=4,Gtn=5,Ktn=6,Ytn=function(n,e,t,l,o,r){var i=n.__transition;if(i){if(t in i)return}else n.__transition={};!function(n,e,t){var l,o=n.__transition;function r(u){var s,d,c,p;if(t.state!==Utn)return a();for(s in o)if((p=o[s]).name===t.name){if(p.state===Ztn)return iP(r);p.state===Wtn?(p.state=Ktn,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete o[s]):+s<e&&(p.state=Ktn,p.timer.stop(),delete o[s])}if(iP(function(){t.state===Ztn&&(t.state=Wtn,t.timer.restart(i,t.delay,t.time),i(u))}),t.state=Htn,t.on.call("start",n,n.__data__,t.index,t.group),t.state===Htn){for(t.state=Ztn,l=new Array(c=t.tween.length),s=0,d=-1;s<c;++s)(p=t.tween[s].value.call(n,n.__data__,t.index,t.group))&&(l[++d]=p);l.length=d+1}}function i(e){for(var o=e<t.duration?t.ease.call(null,e/t.duration):(t.timer.restart(a),t.state=Gtn,1),r=-1,i=l.length;++r<i;)l[r].call(null,o);t.state===Gtn&&(t.on.call("end",n,n.__data__,t.index,t.group),a())}function a(){for(var l in t.state=Ktn,t.timer.stop(),delete o[e],o)return;delete n.__transition}o[e]=t,t.timer=eP(function(n){t.state=Utn,t.timer.restart(r,t.delay,t.time),t.delay<=n&&r(n-t.delay)},0,t.time)}(n,t,{name:e,index:l,group:o,on:Vtn,tween:Btn,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:ztn})};function $tn(n,e){var t=Qtn(n,e);if(t.state>ztn)throw new Error("too late; already scheduled");return t}function Xtn(n,e){var t=Qtn(n,e);if(t.state>Htn)throw new Error("too late; already started");return t}function Qtn(n,e){var t=n.__transition;if(!t||!(t=t[e]))throw new Error("transition not found");return t}var Jtn=function(n,e){var t,l,o,r=n.__transition,i=!0;if(r){for(o in e=null==e?null:e+"",r)(t=r[o]).name===e?(l=t.state>Htn&&t.state<Gtn,t.state=Ktn,t.timer.stop(),l&&t.on.call("interrupt",n,n.__data__,t.index,t.group),delete r[o]):i=!1;i&&delete n.__transition}},nln=function(n,e,t){n.prototype=e.prototype=t,t.constructor=n};function eln(n,e){var t=Object.create(n.prototype);for(var l in e)t[l]=e[l];return t}function tln(){}var lln="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",oln="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rln=/^#([0-9a-f]{3})$/,iln=/^#([0-9a-f]{6})$/,aln=new RegExp("^rgb\\("+["\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*"]+"\\)$"),uln=new RegExp("^rgb\\("+[oln,oln,oln]+"\\)$"),sln=new RegExp("^rgba\\("+["\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*","\\s*([+-]?\\d+)\\s*",lln]+"\\)$"),dln=new RegExp("^rgba\\("+[oln,oln,oln,lln]+"\\)$"),cln=new RegExp("^hsl\\("+[lln,oln,oln]+"\\)$"),pln=new RegExp("^hsla\\("+[lln,oln,oln,lln]+"\\)$"),fln={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function hln(n){var e;return n=(n+"").trim().toLowerCase(),(e=rln.exec(n))?new _ln((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=iln.exec(n))?mln(parseInt(e[1],16)):(e=aln.exec(n))?new _ln(e[1],e[2],e[3],1):(e=uln.exec(n))?new _ln(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=sln.exec(n))?vln(e[1],e[2],e[3],e[4]):(e=dln.exec(n))?vln(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=cln.exec(n))?wln(e[1],e[2]/100,e[3]/100,1):(e=pln.exec(n))?wln(e[1],e[2]/100,e[3]/100,e[4]):fln.hasOwnProperty(n)?mln(fln[n]):"transparent"===n?new _ln(NaN,NaN,NaN,0):null}function mln(n){return new _ln(n>>16&255,n>>8&255,255&n,1)}function vln(n,e,t,l){return l<=0&&(n=e=t=NaN),new _ln(n,e,t,l)}function gln(n){return n instanceof tln||(n=hln(n)),n?new _ln((n=n.rgb()).r,n.g,n.b,n.opacity):new _ln}function bln(n,e,t,l){return 1===arguments.length?gln(n):new _ln(n,e,t,null==l?1:l)}function _ln(n,e,t,l){this.r=+n,this.g=+e,this.b=+t,this.opacity=+l}function yln(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function wln(n,e,t,l){return l<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new xln(n,e,t,l)}function Cln(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof xln)return new xln(n.h,n.s,n.l,n.opacity);if(n instanceof tln||(n=hln(n)),!n)return new xln;if(n instanceof xln)return n;var e=(n=n.rgb()).r/255,t=n.g/255,l=n.b/255,o=Math.min(e,t,l),r=Math.max(e,t,l),i=NaN,a=r-o,u=(r+o)/2;return a?(i=e===r?(t-l)/a+6*(t<l):t===r?(l-e)/a+2:(e-t)/a+4,a/=u<.5?r+o:2-r-o,i*=60):a=u>0&&u<1?0:i,new xln(i,a,u,n.opacity)}(n):new xln(n,e,t,null==l?1:l)}function xln(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function Sln(n,e,t){return 255*(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)}nln(tln,hln,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),nln(_ln,bln,eln(tln,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new _ln(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new _ln(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+yln(this.r)+yln(this.g)+yln(this.b)},toString:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}})),nln(xln,Cln,eln(tln,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new xln(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new xln(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),e=isNaN(n)||isNaN(this.s)?0:this.s,t=this.l,l=t+(t<.5?t:1-t)*e,o=2*t-l;return new _ln(Sln(n>=240?n-240:n+120,o,l),Sln(n,o,l),Sln(n<120?n+240:n-120,o,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var kln=Math.PI/180,Eln=180/Math.PI,Tln=.96422,Rln=1,Iln=.82521,Dln=4/29,Oln=6/29,Fln=3*Oln*Oln,Nln=Oln*Oln*Oln;function Mln(n){if(n instanceof Aln)return new Aln(n.l,n.a,n.b,n.opacity);if(n instanceof Bln)return zln(n);n instanceof _ln||(n=gln(n));var e,t,l=Lln(n.r),o=Lln(n.g),r=Lln(n.b),i=qln((.2225045*l+.7168786*o+.0606169*r)/Rln);return l===o&&o===r?e=t=i:(e=qln((.4360747*l+.3850649*o+.1430804*r)/Tln),t=qln((.0139322*l+.0971045*o+.7141733*r)/Iln)),new Aln(116*i-16,500*(e-i),200*(i-t),n.opacity)}function Aln(n,e,t,l){this.l=+n,this.a=+e,this.b=+t,this.opacity=+l}function qln(n){return n>Nln?Math.pow(n,1/3):n/Fln+Dln}function Pln(n){return n>Oln?n*n*n:Fln*(n-Dln)}function jln(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function Lln(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Vln(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof Bln)return new Bln(n.h,n.c,n.l,n.opacity);if(n instanceof Aln||(n=Mln(n)),0===n.a&&0===n.b)return new Bln(NaN,0<n.l&&n.l<100?0:NaN,n.l,n.opacity);var e=Math.atan2(n.b,n.a)*Eln;return new Bln(e<0?e+360:e,Math.sqrt(n.a*n.a+n.b*n.b),n.l,n.opacity)}(n):new Bln(n,e,t,null==l?1:l)}function Bln(n,e,t,l){this.h=+n,this.c=+e,this.l=+t,this.opacity=+l}function zln(n){if(isNaN(n.h))return new Aln(n.l,0,0,n.opacity);var e=n.h*kln;return new Aln(n.l,Math.cos(e)*n.c,Math.sin(e)*n.c,n.opacity)}nln(Aln,function(n,e,t,l){return 1===arguments.length?Mln(n):new Aln(n,e,t,null==l?1:l)},eln(tln,{brighter:function(n){return new Aln(this.l+18*(null==n?1:n),this.a,this.b,this.opacity)},darker:function(n){return new Aln(this.l-18*(null==n?1:n),this.a,this.b,this.opacity)},rgb:function(){var n=(this.l+16)/116,e=isNaN(this.a)?n:n+this.a/500,t=isNaN(this.b)?n:n-this.b/200;return new _ln(jln(3.1338561*(e=Tln*Pln(e))-1.6168667*(n=Rln*Pln(n))-.4906146*(t=Iln*Pln(t))),jln(-.9787684*e+1.9161415*n+.033454*t),jln(.0719453*e-.2289914*n+1.4052427*t),this.opacity)}})),nln(Bln,Vln,eln(tln,{brighter:function(n){return new Bln(this.h,this.c,this.l+18*(null==n?1:n),this.opacity)},darker:function(n){return new Bln(this.h,this.c,this.l-18*(null==n?1:n),this.opacity)},rgb:function(){return zln(this).rgb()}}));var Uln=-.29227,Hln=-.90649,Zln=1.97294,Wln=Zln*Hln,Gln=1.78277*Zln,Kln=1.78277*Uln- -.14861*Hln;function Yln(n,e,t,l){return 1===arguments.length?function(n){if(n instanceof $ln)return new $ln(n.h,n.s,n.l,n.opacity);n instanceof _ln||(n=gln(n));var e=n.g/255,t=n.b/255,l=(Kln*t+Wln*(n.r/255)-Gln*e)/(Kln+Wln-Gln),o=t-l,r=(Zln*(e-l)-Uln*o)/Hln,i=Math.sqrt(r*r+o*o)/(Zln*l*(1-l)),a=i?Math.atan2(r,o)*Eln-120:NaN;return new $ln(a<0?a+360:a,i,l,n.opacity)}(n):new $ln(n,e,t,null==l?1:l)}function $ln(n,e,t,l){this.h=+n,this.s=+e,this.l=+t,this.opacity=+l}function Xln(n,e,t,l,o){var r=n*n,i=r*n;return((1-3*n+3*r-i)*e+(4-6*r+3*i)*t+(1+3*n+3*r-3*i)*l+i*o)/6}nln($ln,Yln,eln(tln,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new $ln(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new $ln(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=isNaN(this.h)?0:(this.h+120)*kln,e=+this.l,t=isNaN(this.s)?0:this.s*e*(1-e),l=Math.cos(n),o=Math.sin(n);return new _ln(255*(e+t*(-.14861*l+1.78277*o)),255*(e+t*(Uln*l+Hln*o)),255*(e+t*(Zln*l)),this.opacity)}}));var Qln=function(n){return function(){return n}};function Jln(n,e){return function(t){return n+t*e}}function non(n,e){var t=e-n;return t?Jln(n,t>180||t<-180?t-360*Math.round(t/360):t):Qln(isNaN(n)?e:n)}function eon(n,e){var t=e-n;return t?Jln(n,t):Qln(isNaN(n)?e:n)}var ton=function n(e){var t=function(n){return 1==(n=+n)?eon:function(e,t){return t-e?function(n,e,t){return n=Math.pow(n,t),e=Math.pow(e,t)-n,t=1/t,function(l){return Math.pow(n+l*e,t)}}(e,t,n):Qln(isNaN(e)?t:e)}}(e);function l(n,e){var l=t((n=bln(n)).r,(e=bln(e)).r),o=t(n.g,e.g),r=t(n.b,e.b),i=eon(n.opacity,e.opacity);return function(e){return n.r=l(e),n.g=o(e),n.b=r(e),n.opacity=i(e),n+""}}return l.gamma=n,l}(1);function lon(n){return function(e){var t,l,o=e.length,r=new Array(o),i=new Array(o),a=new Array(o);for(t=0;t<o;++t)l=bln(e[t]),r[t]=l.r||0,i[t]=l.g||0,a[t]=l.b||0;return r=n(r),i=n(i),a=n(a),l.opacity=1,function(n){return l.r=r(n),l.g=i(n),l.b=a(n),l+""}}}lon(function(n){var e=n.length-1;return function(t){var l=t<=0?t=0:t>=1?(t=1,e-1):Math.floor(t*e),o=n[l],r=n[l+1];return Xln((t-l/e)*e,l>0?n[l-1]:2*o-r,o,r,l<e-1?n[l+2]:2*r-o)}}),lon(function(n){var e=n.length;return function(t){var l=Math.floor(((t%=1)<0?++t:t)*e);return Xln((t-l/e)*e,n[(l+e-1)%e],n[l%e],n[(l+1)%e],n[(l+2)%e])}});var oon,ron,ion,aon,uon=function(n,e){return e-=n=+n,function(t){return n+e*t}},son=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,don=new RegExp(son.source,"g"),con=180/Math.PI,pon={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},fon=function(n,e,t,l,o,r){var i,a,u;return(i=Math.sqrt(n*n+e*e))&&(n/=i,e/=i),(u=n*t+e*l)&&(t-=n*u,l-=e*u),(a=Math.sqrt(t*t+l*l))&&(t/=a,l/=a,u/=a),n*l<e*t&&(n=-n,e=-e,u=-u,i=-i),{translateX:o,translateY:r,rotate:Math.atan2(e,n)*con,skewX:Math.atan(u)*con,scaleX:i,scaleY:a}};function hon(n,e,t,l){function o(n){return n.length?n.pop()+" ":""}return function(r,i){var a=[],u=[];return r=n(r),i=n(i),function(n,l,o,r,i,a){if(n!==o||l!==r){var u=i.push("translate(",null,e,null,t);a.push({i:u-4,x:uon(n,o)},{i:u-2,x:uon(l,r)})}else(o||r)&&i.push("translate("+o+e+r+t)}(r.translateX,r.translateY,i.translateX,i.translateY,a,u),function(n,e,t,r){n!==e?(n-e>180?e+=360:e-n>180&&(n+=360),r.push({i:t.push(o(t)+"rotate(",null,l)-2,x:uon(n,e)})):e&&t.push(o(t)+"rotate("+e+l)}(r.rotate,i.rotate,a,u),function(n,e,t,r){n!==e?r.push({i:t.push(o(t)+"skewX(",null,l)-2,x:uon(n,e)}):e&&t.push(o(t)+"skewX("+e+l)}(r.skewX,i.skewX,a,u),function(n,e,t,l,r,i){if(n!==t||e!==l){var a=r.push(o(r)+"scale(",null,",",null,")");i.push({i:a-4,x:uon(n,t)},{i:a-2,x:uon(e,l)})}else 1===t&&1===l||r.push(o(r)+"scale("+t+","+l+")")}(r.scaleX,r.scaleY,i.scaleX,i.scaleY,a,u),r=i=null,function(n){for(var e,t=-1,l=u.length;++t<l;)a[(e=u[t]).i]=e.x(n);return a.join("")}}}var mon=hon(function(n){return"none"===n?pon:(oon||(oon=document.createElement("DIV"),ron=document.documentElement,ion=document.defaultView),oon.style.transform=n,n=ion.getComputedStyle(ron.appendChild(oon),null).getPropertyValue("transform"),ron.removeChild(oon),n=n.slice(7,-1).split(","),fon(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))},"px, ","px)","deg)"),von=hon(function(n){return null==n?pon:(aon||(aon=document.createElementNS("http://www.w3.org/2000/svg","g")),aon.setAttribute("transform",n),(n=aon.transform.baseVal.consolidate())?fon((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):pon)},", ",")",")");function gon(n){return function(e,t){var l=n((e=Cln(e)).h,(t=Cln(t)).h),o=eon(e.s,t.s),r=eon(e.l,t.l),i=eon(e.opacity,t.opacity);return function(n){return e.h=l(n),e.s=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function bon(n){return function(e,t){var l=n((e=Vln(e)).h,(t=Vln(t)).h),o=eon(e.c,t.c),r=eon(e.l,t.l),i=eon(e.opacity,t.opacity);return function(n){return e.h=l(n),e.c=o(n),e.l=r(n),e.opacity=i(n),e+""}}}function _on(n){return function e(t){function l(e,l){var o=n((e=Yln(e)).h,(l=Yln(l)).h),r=eon(e.s,l.s),i=eon(e.l,l.l),a=eon(e.opacity,l.opacity);return function(n){return e.h=o(n),e.s=r(n),e.l=i(Math.pow(n,t)),e.opacity=a(n),e+""}}return t=+t,l.gamma=e,l}(1)}function yon(n,e){var t,l;return function(){var o=Xtn(this,n),r=o.tween;if(r!==t)for(var i=0,a=(l=t=r).length;i<a;++i)if(l[i].name===e){(l=l.slice()).splice(i,1);break}o.tween=l}}function won(n,e,t){var l,o;if("function"!=typeof t)throw new Error;return function(){var r=Xtn(this,n),i=r.tween;if(i!==l){o=(l=i).slice();for(var a={name:e,value:t},u=0,s=o.length;u<s;++u)if(o[u].name===e){o[u]=a;break}u===s&&o.push(a)}r.tween=o}}function Con(n,e,t){var l=n._id;return n.each(function(){var n=Xtn(this,l);(n.value||(n.value={}))[e]=t.apply(this,arguments)}),function(n){return Qtn(n,l).value[e]}}Math,gon(non),gon(eon),bon(non),bon(eon),_on(non),_on(eon);var xon=function(n,e){var t;return("number"==typeof e?uon:e instanceof hln?ton:(t=hln(e))?(e=t,ton):function(n,e){var t,l,o,r=son.lastIndex=don.lastIndex=0,i=-1,a=[],u=[];for(n+="",e+="";(t=son.exec(n))&&(l=don.exec(e));)(o=l.index)>r&&(o=e.slice(r,o),a[i]?a[i]+=o:a[++i]=o),(t=t[0])===(l=l[0])?a[i]?a[i]+=l:a[++i]=l:(a[++i]=null,u.push({i:i,x:uon(t,l)})),r=don.lastIndex;return r<e.length&&(o=e.slice(r),a[i]?a[i]+=o:a[++i]=o),a.length<2?u[0]?function(n){return function(e){return n(e)+""}}(u[0].x):function(n){return function(){return n}}(e):(e=u.length,function(n){for(var t,l=0;l<e;++l)a[(t=u[l]).i]=t.x(n);return a.join("")})})(n,e)};function Son(n,e){function t(){var t=this,l=e.apply(t,arguments);return l&&function(e){t.setAttributeNS(n.space,n.local,l(e))}}return t._value=e,t}function kon(n,e){function t(){var t=this,l=e.apply(t,arguments);return l&&function(e){t.setAttribute(n,l(e))}}return t._value=e,t}function Eon(n,e){return function(){$tn(this,n).delay=+e.apply(this,arguments)}}function Ton(n,e){return e=+e,function(){$tn(this,n).delay=e}}function Ron(n,e){return function(){Xtn(this,n).duration=+e.apply(this,arguments)}}function Ion(n,e){return e=+e,function(){Xtn(this,n).duration=e}}function Don(n,e){if("function"!=typeof e)throw new Error;return function(){Xtn(this,n).ease=e}}function Oon(n,e,t){var l,o,r=function(n){return(n+"").trim().split(/^|\s+/).every(function(n){var e=n.indexOf(".");return e>=0&&(n=n.slice(0,e)),!n||"start"===n})}(e)?$tn:Xtn;return function(){var i=r(this,n),a=i.on;a!==l&&(o=(l=a).copy()).on(e,t),i.on=o}}var Fon=Ptn.prototype.constructor;function Non(n,e,t){function l(){var l=this,o=e.apply(l,arguments);return o&&function(e){l.style.setProperty(n,o(e),t)}}return l._value=e,l}var Mon=0;function Aon(n,e,t,l){this._groups=n,this._parents=e,this._name=t,this._id=l}function qon(n){return Ptn().transition(n)}function Pon(){return++Mon}var jon=Ptn.prototype;Aon.prototype=qon.prototype={constructor:Aon,select:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=qen(n));for(var l=this._groups,o=l.length,r=new Array(o),i=0;i<o;++i)for(var a,u,s=l[i],d=s.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=s[p])&&(u=n.call(a,a.__data__,p,s))&&("__data__"in a&&(u.__data__=a.__data__),c[p]=u,Ytn(c[p],e,t,p,c,Qtn(a,t)));return new Aon(r,this._parents,e,t)},selectAll:function(n){var e=this._name,t=this._id;"function"!=typeof n&&(n=jen(n));for(var l=this._groups,o=l.length,r=[],i=[],a=0;a<o;++a)for(var u,s=l[a],d=s.length,c=0;c<d;++c)if(u=s[c]){for(var p,f=n.call(u,u.__data__,c,s),h=Qtn(u,t),m=0,v=f.length;m<v;++m)(p=f[m])&&Ytn(p,e,t,m,f,h);r.push(f),i.push(u)}return new Aon(r,i,e,t)},filter:function(n){"function"!=typeof n&&(n=Len(n));for(var e=this._groups,t=e.length,l=new Array(t),o=0;o<t;++o)for(var r,i=e[o],a=i.length,u=l[o]=[],s=0;s<a;++s)(r=i[s])&&n.call(r,r.__data__,s,i)&&u.push(r);return new Aon(l,this._parents,this._name,this._id)},merge:function(n){if(n._id!==this._id)throw new Error;for(var e=this._groups,t=n._groups,l=e.length,o=Math.min(l,t.length),r=new Array(l),i=0;i<o;++i)for(var a,u=e[i],s=t[i],d=u.length,c=r[i]=new Array(d),p=0;p<d;++p)(a=u[p]||s[p])&&(c[p]=a);for(;i<l;++i)r[i]=e[i];return new Aon(r,this._parents,this._name,this._id)},selection:function(){return new Fon(this._groups,this._parents)},transition:function(){for(var n=this._name,e=this._id,t=Pon(),l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)if(i=a[s]){var d=Qtn(i,e);Ytn(i,n,t,s,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new Aon(l,this._parents,n,t)},call:jon.call,nodes:jon.nodes,node:jon.node,size:jon.size,empty:jon.empty,each:jon.each,on:function(n,e){var t=this._id;return arguments.length<2?Qtn(this.node(),t).on.on(n):this.each(Oon(t,n,e))},attr:function(n,e){var t=Nen(n),l="transform"===t?von:xon;return this.attrTween(n,"function"==typeof e?(t.local?function(n,e,t){var l,o,r;return function(){var i,a=t(this);if(null!=a)return(i=this.getAttributeNS(n.space,n.local))===a?null:i===l&&a===o?r:r=e(l=i,o=a);this.removeAttributeNS(n.space,n.local)}}:function(n,e,t){var l,o,r;return function(){var i,a=t(this);if(null!=a)return(i=this.getAttribute(n))===a?null:i===l&&a===o?r:r=e(l=i,o=a);this.removeAttribute(n)}})(t,l,Con(this,"attr."+n,e)):null==e?(t.local?function(n){return function(){this.removeAttributeNS(n.space,n.local)}}:function(n){return function(){this.removeAttribute(n)}})(t):(t.local?function(n,e,t){var l,o;return function(){var r=this.getAttributeNS(n.space,n.local);return r===t?null:r===l?o:o=e(l=r,t)}}:function(n,e,t){var l,o;return function(){var r=this.getAttribute(n);return r===t?null:r===l?o:o=e(l=r,t)}})(t,l,e+""))},attrTween:function(n,e){var t="attr."+n;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;var l=Nen(n);return this.tween(t,(l.local?Son:kon)(l,e))},style:function(n,e,t){var l="transform"==(n+="")?mon:xon;return null==e?this.styleTween(n,function(n,e){var t,l,o;return function(){var r=ttn(this,n),i=(this.style.removeProperty(n),ttn(this,n));return r===i?null:r===t&&i===l?o:o=e(t=r,l=i)}}(n,l)).on("end.style."+n,function(n){return function(){this.style.removeProperty(n)}}(n)):this.styleTween(n,"function"==typeof e?function(n,e,t){var l,o,r;return function(){var i=ttn(this,n),a=t(this);return null==a&&(this.style.removeProperty(n),a=ttn(this,n)),i===a?null:i===l&&a===o?r:r=e(l=i,o=a)}}(n,l,Con(this,"style."+n,e)):function(n,e,t){var l,o;return function(){var r=ttn(this,n);return r===t?null:r===l?o:o=e(l=r,t)}}(n,l,e+""),t)},styleTween:function(n,e,t){var l="style."+(n+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==e)return this.tween(l,null);if("function"!=typeof e)throw new Error;return this.tween(l,Non(n,e,null==t?"":t))},text:function(n){return this.tween("text","function"==typeof n?function(n){return function(){var e=n(this);this.textContent=null==e?"":e}}(Con(this,"text",n)):function(n){return function(){this.textContent=n}}(null==n?"":n+""))},remove:function(){return this.on("end.remove",(n=this._id,function(){var e=this.parentNode;for(var t in this.__transition)if(+t!==n)return;e&&e.removeChild(this)}));var n},tween:function(n,e){var t=this._id;if(n+="",arguments.length<2){for(var l,o=Qtn(this.node(),t).tween,r=0,i=o.length;r<i;++r)if((l=o[r]).name===n)return l.value;return null}return this.each((null==e?yon:won)(t,n,e))},delay:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?Eon:Ton)(e,n)):Qtn(this.node(),e).delay},duration:function(n){var e=this._id;return arguments.length?this.each(("function"==typeof n?Ron:Ion)(e,n)):Qtn(this.node(),e).duration},ease:function(n){var e=this._id;return arguments.length?this.each(Don(e,n)):Qtn(this.node(),e).ease}};var Lon={time:null,delay:0,duration:250,ease:KP};function Von(n,e){for(var t;!(t=n.__transition)||!(t=t[e]);)if(!(n=n.parentNode))return Lon.time=Qq(),Lon;return t}Ptn.prototype.interrupt=function(n){return this.each(function(){Jtn(this,n)})},Ptn.prototype.transition=function(n){var e,t;n instanceof Aon?(e=n._id,n=n._name):(e=Pon(),(t=Lon).time=Qq(),n=null==n?null:n+"");for(var l=this._groups,o=l.length,r=0;r<o;++r)for(var i,a=l[r],u=a.length,s=0;s<u;++s)(i=a[s])&&Ytn(i,n,e,s,a,t||Von(i,e));return new Aon(l,this._parents,n,e)};var Bon=[null],zon=function(n,e){var t,l,o=n.__transition;if(o)for(l in e=null==e?null:e+"",o)if((t=o[l]).state>Utn&&t.name===e)return new Aon([[n]],Bon,e,+l);return null},Uon=function(n){return function(){return n}};function Hon(n){return n[0]}function Zon(n){return n[1]}function Won(){this._=null}function Gon(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function Kon(n,e){var t=e,l=e.R,o=t.U;o?o.L===t?o.L=l:o.R=l:n._=l,l.U=o,t.U=l,t.R=l.L,t.R&&(t.R.U=t),l.L=t}function Yon(n,e){var t=e,l=e.L,o=t.U;o?o.L===t?o.L=l:o.R=l:n._=l,l.U=o,t.U=l,t.L=l.R,t.L&&(t.L.U=t),l.R=t}function $on(n){for(;n.L;)n=n.L;return n}Won.prototype={constructor:Won,insert:function(n,e){var t,l,o;if(n){if(e.P=n,e.N=n.N,n.N&&(n.N.P=e),n.N=e,n.R){for(n=n.R;n.L;)n=n.L;n.L=e}else n.R=e;t=n}else this._?(n=$on(this._),e.P=null,e.N=n,n.P=n.L=e,t=n):(e.P=e.N=null,this._=e,t=null);for(e.L=e.R=null,e.U=t,e.C=!0,n=e;t&&t.C;)t===(l=t.U).L?(o=l.R)&&o.C?(t.C=o.C=!1,l.C=!0,n=l):(n===t.R&&(Kon(this,t),t=(n=t).U),t.C=!1,l.C=!0,Yon(this,l)):(o=l.L)&&o.C?(t.C=o.C=!1,l.C=!0,n=l):(n===t.L&&(Yon(this,t),t=(n=t).U),t.C=!1,l.C=!0,Kon(this,l)),t=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var e,t,l,o=n.U,r=n.L,i=n.R;if(t=r?i?$on(i):r:i,o?o.L===n?o.L=t:o.R=t:this._=t,r&&i?(l=t.C,t.C=n.C,t.L=r,r.U=t,t!==i?(o=t.U,t.U=n.U,o.L=n=t.R,t.R=i,i.U=t):(t.U=o,o=t,n=t.R)):(l=n.C,n=t),n&&(n.U=o),!l)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===o.L){if((e=o.R).C&&(e.C=!1,o.C=!0,Kon(this,o),e=o.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Yon(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,Kon(this,o),n=this._;break}}else if((e=o.L).C&&(e.C=!1,o.C=!0,Yon(this,o),e=o.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Kon(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,Yon(this,o),n=this._;break}e.C=!0,n=o,o=o.U}while(!n.C);n&&(n.C=!1)}}};var Xon=Won;function Qon(n,e,t,l){var o=[null,null],r=Crn.push(o)-1;return o.left=n,o.right=e,t&&nrn(o,n,e,t),l&&nrn(o,e,n,l),yrn[n.index].halfedges.push(r),yrn[e.index].halfedges.push(r),o}function Jon(n,e,t){var l=[e,t];return l.left=n,l}function nrn(n,e,t,l){n[0]||n[1]?n.left===t?n[1]=l:n[0]=l:(n[0]=l,n.left=e,n.right=t)}function ern(n,e,t,l,o){var r,i=n[0],a=n[1],u=i[0],s=i[1],d=0,c=1,p=a[0]-u,f=a[1]-s;if(r=e-u,p||!(r>0)){if(r/=p,p<0){if(r<d)return;r<c&&(c=r)}else if(p>0){if(r>c)return;r>d&&(d=r)}if(r=l-u,p||!(r<0)){if(r/=p,p<0){if(r>c)return;r>d&&(d=r)}else if(p>0){if(r<d)return;r<c&&(c=r)}if(r=t-s,f||!(r>0)){if(r/=f,f<0){if(r<d)return;r<c&&(c=r)}else if(f>0){if(r>c)return;r>d&&(d=r)}if(r=o-s,f||!(r<0)){if(r/=f,f<0){if(r>c)return;r>d&&(d=r)}else if(f>0){if(r<d)return;r<c&&(c=r)}return!(d>0||c<1)||(d>0&&(n[0]=[u+d*p,s+d*f]),c<1&&(n[1]=[u+c*p,s+c*f]),!0)}}}}}function trn(n,e,t,l,o){var r=n[1];if(r)return!0;var i,a,u=n[0],s=n.left,d=n.right,c=s[0],p=s[1],f=d[0],h=d[1],m=(c+f)/2;if(h===p){if(m<e||m>=l)return;if(c>f){if(u){if(u[1]>=o)return}else u=[m,t];r=[m,o]}else{if(u){if(u[1]<t)return}else u=[m,o];r=[m,t]}}else if(a=(p+h)/2-(i=(c-f)/(h-p))*m,i<-1||i>1)if(c>f){if(u){if(u[1]>=o)return}else u=[(t-a)/i,t];r=[(o-a)/i,o]}else{if(u){if(u[1]<t)return}else u=[(o-a)/i,o];r=[(t-a)/i,t]}else if(p<h){if(u){if(u[0]>=l)return}else u=[e,i*e+a];r=[l,i*l+a]}else{if(u){if(u[0]<e)return}else u=[l,i*l+a];r=[e,i*e+a]}return n[0]=u,n[1]=r,!0}function lrn(n,e){var t=n.site,l=e.left,o=e.right;return t===o&&(o=l,l=t),o?Math.atan2(o[1]-l[1],o[0]-l[0]):(t===l?(l=e[1],o=e[0]):(l=e[0],o=e[1]),Math.atan2(l[0]-o[0],o[1]-l[1]))}function orn(n,e){return e[+(e.left!==n.site)]}function rrn(n,e){return e[+(e.left===n.site)]}var irn,arn=[];function urn(){Gon(this),this.x=this.y=this.arc=this.site=this.cy=null}function srn(n){var e=n.P,t=n.N;if(e&&t){var l=e.site,o=n.site,r=t.site;if(l!==r){var i=o[0],a=o[1],u=l[0]-i,s=l[1]-a,d=r[0]-i,c=r[1]-a,p=2*(u*c-s*d);if(!(p>=-Srn)){var f=u*u+s*s,h=d*d+c*c,m=(c*f-s*h)/p,v=(u*h-d*f)/p,g=arn.pop()||new urn;g.arc=n,g.site=o,g.x=m+i,g.y=(g.cy=v+a)+Math.sqrt(m*m+v*v),n.circle=g;for(var b=null,_=wrn._;_;)if(g.y<_.y||g.y===_.y&&g.x<=_.x){if(!_.L){b=_.P;break}_=_.L}else{if(!_.R){b=_;break}_=_.R}wrn.insert(b,g),b||(irn=g)}}}}function drn(n){var e=n.circle;e&&(e.P||(irn=e.N),wrn.remove(e),arn.push(e),Gon(e),n.circle=null)}var crn=[];function prn(){Gon(this),this.edge=this.site=this.circle=null}function frn(n){var e=crn.pop()||new prn;return e.site=n,e}function hrn(n){drn(n),_rn.remove(n),crn.push(n),Gon(n)}function mrn(n){var e=n.circle,t=e.x,l=e.cy,o=[t,l],r=n.P,i=n.N,a=[n];hrn(n);for(var u=r;u.circle&&Math.abs(t-u.circle.x)<xrn&&Math.abs(l-u.circle.cy)<xrn;)r=u.P,a.unshift(u),hrn(u),u=r;a.unshift(u),drn(u);for(var s=i;s.circle&&Math.abs(t-s.circle.x)<xrn&&Math.abs(l-s.circle.cy)<xrn;)i=s.N,a.push(s),hrn(s),s=i;a.push(s),drn(s);var d,c=a.length;for(d=1;d<c;++d)nrn((s=a[d]).edge,(u=a[d-1]).site,s.site,o);(s=a[c-1]).edge=Qon((u=a[0]).site,s.site,null,o),srn(u),srn(s)}function vrn(n){for(var e,t,l,o,r=n[0],i=n[1],a=_rn._;a;)if((l=grn(a,i)-r)>xrn)a=a.L;else{if(!((o=r-brn(a,i))>xrn)){l>-xrn?(e=a.P,t=a):o>-xrn?(e=a,t=a.N):e=t=a;break}if(!a.R){e=a;break}a=a.R}!function(n){yrn[n.index]={site:n,halfedges:[]}}(n);var u=frn(n);if(_rn.insert(e,u),e||t){if(e===t)return drn(e),t=frn(e.site),_rn.insert(u,t),u.edge=t.edge=Qon(e.site,u.site),srn(e),void srn(t);if(t){drn(e),drn(t);var s=e.site,d=s[0],c=s[1],p=n[0]-d,f=n[1]-c,h=t.site,m=h[0]-d,v=h[1]-c,g=2*(p*v-f*m),b=p*p+f*f,_=m*m+v*v,y=[(v*b-f*_)/g+d,(p*_-m*b)/g+c];nrn(t.edge,s,h,y),u.edge=Qon(s,n,null,y),t.edge=Qon(n,h,null,y),srn(e),srn(t)}else u.edge=Qon(e.site,u.site)}}function grn(n,e){var t=n.site,l=t[0],o=t[1],r=o-e;if(!r)return l;var i=n.P;if(!i)return-1/0;var a=(t=i.site)[0],u=t[1],s=u-e;if(!s)return a;var d=a-l,c=1/r-1/s,p=d/s;return c?(-p+Math.sqrt(p*p-2*c*(d*d/(-2*s)-u+s/2+o-r/2)))/c+l:(l+a)/2}function brn(n,e){var t=n.N;if(t)return grn(t,e);var l=n.site;return l[1]===e?l[0]:1/0}var _rn,yrn,wrn,Crn,xrn=1e-6,Srn=1e-12;function krn(n,e){return e[1]-n[1]||e[0]-n[0]}function Ern(n,e){var t,l,o,r=n.sort(krn).pop();for(Crn=[],yrn=new Array(n.length),_rn=new Xon,wrn=new Xon;;)if(o=irn,r&&(!o||r[1]<o.y||r[1]===o.y&&r[0]<o.x))r[0]===t&&r[1]===l||(vrn(r),t=r[0],l=r[1]),r=n.pop();else{if(!o)break;mrn(o.arc)}if(function(){for(var n,e,t,l,o=0,r=yrn.length;o<r;++o)if((n=yrn[o])&&(l=(e=n.halfedges).length)){var i=new Array(l),a=new Array(l);for(t=0;t<l;++t)i[t]=t,a[t]=lrn(n,Crn[e[t]]);for(i.sort(function(n,e){return a[e]-a[n]}),t=0;t<l;++t)a[t]=e[i[t]];for(t=0;t<l;++t)e[t]=a[t]}}(),e){var i=+e[0][0],a=+e[0][1],u=+e[1][0],s=+e[1][1];!function(n,e,t,l){for(var o,r=Crn.length;r--;)trn(o=Crn[r],n,e,t,l)&&ern(o,n,e,t,l)&&(Math.abs(o[0][0]-o[1][0])>xrn||Math.abs(o[0][1]-o[1][1])>xrn)||delete Crn[r]}(i,a,u,s),function(n,e,t,l){var o,r,i,a,u,s,d,c,p,f,h,m,v=yrn.length,g=!0;for(o=0;o<v;++o)if(r=yrn[o]){for(i=r.site,a=(u=r.halfedges).length;a--;)Crn[u[a]]||u.splice(a,1);for(a=0,s=u.length;a<s;)h=(f=rrn(r,Crn[u[a]]))[0],m=f[1],c=(d=orn(r,Crn[u[++a%s]]))[0],p=d[1],(Math.abs(h-c)>xrn||Math.abs(m-p)>xrn)&&(u.splice(a,0,Crn.push(Jon(i,f,Math.abs(h-n)<xrn&&l-m>xrn?[n,Math.abs(c-n)<xrn?p:l]:Math.abs(m-l)<xrn&&t-h>xrn?[Math.abs(p-l)<xrn?c:t,l]:Math.abs(h-t)<xrn&&m-e>xrn?[t,Math.abs(c-t)<xrn?p:e]:Math.abs(m-e)<xrn&&h-n>xrn?[Math.abs(p-e)<xrn?c:n,e]:null))-1),++s);s&&(g=!1)}if(g){var b,_,y,w=1/0;for(o=0,g=null;o<v;++o)(r=yrn[o])&&(y=(b=(i=r.site)[0]-n)*b+(_=i[1]-e)*_)<w&&(w=y,g=r);if(g){var C=[n,e],x=[n,l],S=[t,l],k=[t,e];g.halfedges.push(Crn.push(Jon(i=g.site,C,x))-1,Crn.push(Jon(i,x,S))-1,Crn.push(Jon(i,S,k))-1,Crn.push(Jon(i,k,C))-1)}}for(o=0;o<v;++o)(r=yrn[o])&&(r.halfedges.length||delete yrn[o])}(i,a,u,s)}this.edges=Crn,this.cells=yrn,_rn=wrn=Crn=yrn=null}Ern.prototype={constructor:Ern,polygons:function(){var n=this.edges;return this.cells.map(function(e){var t=e.halfedges.map(function(t){return orn(e,n[t])});return t.data=e.site.data,t})},triangles:function(){var n=[],e=this.edges;return this.cells.forEach(function(t,l){if(r=(o=t.halfedges).length)for(var o,r,i,a,u,s,d=t.site,c=-1,p=e[o[r-1]],f=p.left===d?p.right:p.left;++c<r;)i=f,f=(p=e[o[c]]).left===d?p.right:p.left,i&&f&&l<i.index&&l<f.index&&((a=d)[0]-(s=f)[0])*((u=i)[1]-a[1])-(a[0]-u[0])*(s[1]-a[1])<0&&n.push([d.data,i.data,f.data])}),n},links:function(){return this.edges.filter(function(n){return n.right}).map(function(n){return{source:n.left.data,target:n.right.data}})},find:function(n,e,t){for(var l,o,r=this,i=r._found||0,a=r.cells.length;!(o=r.cells[i]);)if(++i>=a)return null;var u=n-o.site[0],s=e-o.site[1],d=u*u+s*s;do{o=r.cells[l=i],i=null,o.halfedges.forEach(function(t){var l=r.edges[t],a=l.left;if(a!==o.site&&a||(a=l.right)){var u=n-a[0],s=e-a[1],c=u*u+s*s;c<d&&(d=c,i=a.index)}})}while(null!==i);return r._found=l,null==t||d<=t*t?o.site:null}};var Trn=function(){var n=Hon,e=Zon,t=null;function l(l){return new Ern(l.map(function(t,o){var r=[Math.round(n(t,o,l)/xrn)*xrn,Math.round(e(t,o,l)/xrn)*xrn];return r.index=o,r.data=t,r}),t)}return l.polygons=function(n){return l(n).polygons()},l.links=function(n){return l(n).links()},l.triangles=function(n){return l(n).triangles()},l.x=function(e){return arguments.length?(n="function"==typeof e?e:Uon(+e),l):n},l.y=function(n){return arguments.length?(e="function"==typeof n?n:Uon(+n),l):e},l.extent=function(n){return arguments.length?(t=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],l):t&&[[t[0][0],t[0][1]],[t[1][0],t[1][1]]]},l.size=function(n){return arguments.length?(t=null==n?null:[[0,0],[+n[0],+n[1]]],l):t&&[t[1][0]-t[0][0],t[1][1]-t[0][1]]},l},Rrn=function(){function n(){}return n.prototype.getD3=function(){return l},n}(),Irn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.getItemKey=function(n){return n.symbol_id},e}(lF),Drn=function(){function n(n){this.httpServer=n}return n.prototype.get=function(n){return this.httpServer.get(n,"/settings")},n.prototype.update=function(n,e){return this.httpServer.post(n,"/settings",e)},n.prototype.getSettingsForQemu=function(n){return this.httpServer.get(n,"/settings/qemu")},n.prototype.updateSettingsForQemu=function(n,e){return this.httpServer.put(n,"/settings/qemu",{enable_hardware_acceleration:e.enable_hardware_acceleration,require_hardware_acceleration:e.require_hardware_acceleration})},n}(),Orn=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return s.__extends(e,n),e.prototype.handleError=function(e){n.prototype.handleError.call(this,e),this.injector.get(vc).error(e.message)},e}(function(){function n(n){this.injector=n}return n.prototype.handleError=function(n){a.shouldSend=this.shouldSend(),console.error(n.originalError||n)},n.prototype.shouldSend=function(){return this.injector.get(T).get("crash_reports")},n}()),Frn=function(){return function(){}}(),Nrn=function(){return function(){}}(),Mrn=t("S6T7"),Arn=function(){return function(){}}(),qrn=function(){return function(){}}(),Prn=o["\u0275cmf"](u,[R],function(n){return o["\u0275mod"]([o["\u0275mpd"](512,o.ComponentFactoryResolver,o["\u0275CodegenComponentFactoryResolver"],[[8,[io,kc,Kv,Jv,Ng,wb,b_,x_,K_,py,by,xy,Uy,Yy,Iw,Vw,Zw,fC,SC,IC,JC,cx,pS,AS,VS,QS,lk,Ak,nE,pE,CE,TE,LE,XE,oT,vT,RT,AT,GT,oR,sR,_R,OR,UR,KR,oI,OU,qU,YU,nH,oH,vH,yH,FH,VH,WH,JH,rZ,dZ,UZ,GZ,gw,XZ,tW,aW,fW,bW,CW]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["\u0275mpd"](5120,o.LOCALE_ID,o["\u0275angular_packages_core_core_q"],[[3,o.LOCALE_ID]]),o["\u0275mpd"](4608,I.NgLocalization,I.NgLocaleLocalization,[o.LOCALE_ID,[2,I["\u0275angular_packages_common_common_a"]]]),o["\u0275mpd"](5120,o["\u0275angular_packages_core_core_bb"],o["\u0275angular_packages_core_core_s"],[o.NgZone]),o["\u0275mpd"](5120,o.APP_ID,o["\u0275angular_packages_core_core_f"],[]),o["\u0275mpd"](5120,o.IterableDiffers,o["\u0275angular_packages_core_core_o"],[]),o["\u0275mpd"](5120,o.KeyValueDiffers,o["\u0275angular_packages_core_core_p"],[]),o["\u0275mpd"](4608,Jn,ne,[I.DOCUMENT]),o["\u0275mpd"](6144,o.Sanitizer,null,[Jn]),o["\u0275mpd"](4608,Wn,ir,[[2,lr],[2,Yo]]),o["\u0275mpd"](5120,_n,function(n,e,t,l,o,r,i,a){return[new Hn(n,e,t),new Qn(l),new Yn(o,r,i,a)]},[I.DOCUMENT,o.NgZone,o.PLATFORM_ID,I.DOCUMENT,I.DOCUMENT,Wn,o["\u0275Console"],[2,Gn]]),o["\u0275mpd"](4608,yn,yn,[_n,o.NgZone]),o["\u0275mpd"](135680,xn,xn,[I.DOCUMENT]),o["\u0275mpd"](4608,Dn,Dn,[yn,xn,o.APP_ID]),o["\u0275mpd"](5120,pi,iu,[]),o["\u0275mpd"](5120,ta,au,[]),o["\u0275mpd"](4608,Oa,ru,[I.DOCUMENT,pi,ta]),o["\u0275mpd"](5120,o.RendererFactory2,uu,[Dn,Oa,o.NgZone]),o["\u0275mpd"](6144,Cn,null,[xn]),o["\u0275mpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["\u0275mpd"](4608,Gu,Ku,[I.DOCUMENT,o.PLATFORM_ID,Zu]),o["\u0275mpd"](4608,Yu,Yu,[Gu,Wu]),o["\u0275mpd"](5120,Lu,function(n){return[n]},[Yu]),o["\u0275mpd"](4608,Uu,Uu,[]),o["\u0275mpd"](6144,zu,null,[Uu]),o["\u0275mpd"](4608,Hu,Hu,[zu]),o["\u0275mpd"](6144,Cu,null,[Hu]),o["\u0275mpd"](4608,wu,$u,[Cu,o.Injector]),o["\u0275mpd"](4608,Pu,Pu,[wu]),o["\u0275mpd"](5120,bt,Xl,[Rl]),o["\u0275mpd"](4608,jl,jl,[]),o["\u0275mpd"](6144,ql,null,[jl]),o["\u0275mpd"](135680,Ll,Ll,[Rl,o.NgModuleFactoryLoader,o.Compiler,o.Injector,ql]),o["\u0275mpd"](4608,Pl,Pl,[]),o["\u0275mpd"](5120,Vl,Wl,[Rl,I.ViewportScroller,Bl]),o["\u0275mpd"](5120,eo,no,[Ql]),o["\u0275mpd"](5120,o.APP_BOOTSTRAP_LISTENER,function(n){return[n]},[eo]),o["\u0275mpd"](4608,vm,vm,[]),o["\u0275mpd"](4608,rv,rv,[]),o["\u0275mpd"](4608,Pr,Qa,[o.RendererFactory2,I.DOCUMENT]),o["\u0275mpd"](4608,cd,cd,[$s,ld,o.ComponentFactoryResolver,sd,td,o.Injector,o.NgZone,I.DOCUMENT,Ar,[2,I.Location]]),o["\u0275mpd"](5120,fd,vd,[cd]),o["\u0275mpd"](5120,xd,Sd,[cd]),o["\u0275mpd"](4608,zO,zO,[]),o["\u0275mpd"](4608,xO,xO,[]),o["\u0275mpd"](4608,yV,yV,[]),o["\u0275mpd"](4608,wV,wV,[]),o["\u0275mpd"](4608,CV,CV,[]),o["\u0275mpd"](4608,xV,xV,[]),o["\u0275mpd"](4608,SV,SV,[yV,wV,CV,xV]),o["\u0275mpd"](4608,sF,sF,[]),o["\u0275mpd"](4608,QD,QD,[]),o["\u0275mpd"](4608,EO,EO,[]),o["\u0275mpd"](4608,tF,tF,[]),o["\u0275mpd"](4608,mF,mF,[]),o["\u0275mpd"](4608,Kj,Kj,[]),o["\u0275mpd"](4608,sI,sI,[]),o["\u0275mpd"](4608,RD,RD,[]),o["\u0275mpd"](4608,RF,RF,[]),o["\u0275mpd"](4608,WF,WF,[]),o["\u0275mpd"](4608,rI,rI,[]),o["\u0275mpd"](4608,EV,EV,[]),o["\u0275mpd"](4608,QO,QO,[]),o["\u0275mpd"](4608,BO,BO,[]),o["\u0275mpd"](4608,UO,UO,[BO,zO,xO]),o["\u0275mpd"](4608,KO,KO,[UO]),o["\u0275mpd"](4608,$O,$O,[KO]),o["\u0275mpd"](4608,cU,cU,[]),o["\u0275mpd"](4608,hz,hz,[BO,zO,xO]),o["\u0275mpd"](4608,pU,pU,[hz]),o["\u0275mpd"](4608,fU,fU,[pU]),o["\u0275mpd"](4608,vz,vz,[]),o["\u0275mpd"](4608,gz,gz,[hz,vz]),o["\u0275mpd"](4608,SW,SW,[]),o["\u0275mpd"](4608,ZO,ZO,[]),o["\u0275mpd"](4608,WO,WO,[UO,ZO,BO,zO,xO]),o["\u0275mpd"](4608,nF,nF,[]),o["\u0275mpd"](4608,rF,rF,[]),o["\u0275mpd"](4608,iF,iF,[]),o["\u0275mpd"](4608,aF,aF,[]),o["\u0275mpd"](4608,uF,uF,[]),o["\u0275mpd"](4608,dF,dF,[rF,iF,aF,uF,WO,$O,QO,nF,tF,sF]),o["\u0275mpd"](4608,jO,jO,[]),o["\u0275mpd"](4608,NO,NO,[]),o["\u0275mpd"](4608,kW,kW,[]),o["\u0275mpd"](4608,DO,DO,[]),o["\u0275mpd"](4608,TF,TF,[zO,xO,DO,NO]),o["\u0275mpd"](4608,IF,IF,[dF,DO,TF,RF]),o["\u0275mpd"](4608,DF,DF,[IF,NO]),o["\u0275mpd"](4608,sA,sA,[]),o["\u0275mpd"](4608,cA,cA,[sI,jO]),o["\u0275mpd"](4608,Zj,Zj,[sI]),o["\u0275mpd"](4608,BF,BF,[zO,xO,DO,NO]),o["\u0275mpd"](4608,UF,UF,[]),o["\u0275mpd"](4608,HF,HF,[sF,BF,UF,DO]),o["\u0275mpd"](4608,ZF,ZF,[sF,HF]),o["\u0275mpd"](4608,SO,SO,[xO]),o["\u0275mpd"](4608,kO,kO,[]),o["\u0275mpd"](4608,TO,TO,[EO]),o["\u0275mpd"](4608,RO,RO,[EO]),o["\u0275mpd"](4608,IO,IO,[EO]),o["\u0275mpd"](4608,OO,OO,[SO,kO,TO,RO,IO,DO]),o["\u0275mpd"](4608,MO,MO,[OO,QD,sI,NO]),o["\u0275mpd"](4608,Wj,Wj,[ZF,DF,MO]),o["\u0275mpd"](4608,Gj,Gj,[DF,sA,cA,Zj,Wj,tF]),o["\u0275mpd"](4608,S,S,[]),o["\u0275mpd"](4608,bc,_c,[]),o["\u0275mpd"](4608,Ib,Ib,[]),o["\u0275mpd"](4608,tr,tr,[]),o["\u0275mpd"](5120,bv,_v,[cd]),o["\u0275mpd"](135680,yv,yv,[cd,o.Injector,[2,I.Location],[2,gv],bv,[3,yv],ld]),o["\u0275mpd"](5120,eg,tg,[[3,eg]]),o["\u0275mpd"](5120,Qy,Jy,[cd]),o["\u0275mpd"](5120,nc,ec,[cd]),o["\u0275mpd"](5120,yx,wx,[[3,yx]]),o["\u0275mpd"](4608,_z.HotkeysService,_z.HotkeysService,[EW.HotkeyOptions]),o["\u0275mpd"](4608,T,T,[S]),o["\u0275mpd"](4608,Rrn,Rrn,[]),o["\u0275mpd"](4608,qh,qh,[]),o["\u0275mpd"](4608,Ph,Ph,[Pu,qh]),o["\u0275mpd"](4608,jh,jh,[Ph]),o["\u0275mpd"](4608,ug,ug,[Ph,T]),o["\u0275mpd"](4608,cw,cw,[Ph]),o["\u0275mpd"](4608,zh,zh,[]),o["\u0275mpd"](4608,Uh,Uh,[zh]),o["\u0275mpd"](4608,Ty,Ty,[Ph]),o["\u0275mpd"](4608,mV,mV,[Ph]),o["\u0275mpd"](4608,wF,wF,[Ph]),o["\u0275mpd"](4608,kV,kV,[Ph]),o["\u0275mpd"](4608,X_,X_,[Ph]),o["\u0275mpd"](4608,J_,J_,[yv]),o["\u0275mpd"](4608,vc,vc,[HU,o.NgZone]),o["\u0275mpd"](4608,ac,ac,[]),o["\u0275mpd"](4608,yF,yF,[]),o["\u0275mpd"](4608,CF,CF,[]),o["\u0275mpd"](4608,_V,_V,[]),o["\u0275mpd"](4608,dU,dU,[yF,CF,_V]),o["\u0275mpd"](4608,Irn,Irn,[]),o["\u0275mpd"](4608,cF,cF,[]),o["\u0275mpd"](4608,Hh,Hh,[]),o["\u0275mpd"](4608,pg,pg,[]),o["\u0275mpd"](4608,_F,_F,[]),o["\u0275mpd"](4608,Drn,Drn,[Ph]),o["\u0275mpd"](4608,BS,BS,[Ph]),o["\u0275mpd"](4608,eE,eE,[Ph]),o["\u0275mpd"](4608,Hy,Hy,[]),o["\u0275mpd"](4608,RE,RE,[Ph]),o["\u0275mpd"](4608,Fy,Fy,[Ph]),o["\u0275mpd"](4608,nx,nx,[Ph]),o["\u0275mpd"](4608,O_,O_,[bc]),o["\u0275mpd"](4608,F_,F_,[O_]),o["\u0275mpd"](4608,N_,N_,[bc,F_]),o["\u0275mpd"](4608,Hx,Hx,[]),o["\u0275mpd"](4608,vk,vk,[]),o["\u0275mpd"](4608,VE,VE,[]),o["\u0275mpd"](4608,fE,fE,[]),o["\u0275mpd"](4608,ww,ww,[]),o["\u0275mpd"](4608,rT,rT,[Ph]),o["\u0275mpd"](4608,gT,gT,[]),o["\u0275mpd"](4608,qT,qT,[Ph]),o["\u0275mpd"](4608,KT,KT,[]),o["\u0275mpd"](4608,yR,yR,[Ph]),o["\u0275mpd"](4608,FR,FR,[]),o["\u0275mpd"](4608,hc,hc,[]),o["\u0275mpd"](135680,mc,mc,[bc]),o["\u0275mpd"](4608,ED,ED,[sI]),o["\u0275mpd"](4608,p_,p_,[bc]),o["\u0275mpd"](4608,f_,f_,[p_,T]),o["\u0275mpd"](4608,hU,hU,[BO]),o["\u0275mpd"](4608,nB,nB,[]),o["\u0275mpd"](4608,eB,eB,[]),o["\u0275mpd"](4608,GF,GF,[]),o["\u0275mpd"](4608,MV,MV,[]),o["\u0275mpd"](1073742336,I.CommonModule,I.CommonModule,[]),o["\u0275mpd"](512,o.ErrorHandler,Orn,[o.Injector]),o["\u0275mpd"](1024,o.NgProbeToken,function(){return[Hl()]},[]),o["\u0275mpd"](512,Ql,Ql,[o.Injector]),o["\u0275mpd"](1024,o.APP_INITIALIZER,function(n,e){return[(t=n,vn("probe",bn),vn("coreTokens",Object(s.__assign)({},gn,(t||[]).reduce(function(n,e){return n[e.name]=e.token,n},{}))),function(){return bn}),Jl(e)];var t},[[2,o.NgProbeToken],Ql]),o["\u0275mpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["\u0275mpd"](131584,o.ApplicationRef,o.ApplicationRef,[o.NgZone,o["\u0275Console"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["\u0275mpd"](1073742336,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["\u0275mpd"](1073742336,se,se,[[3,se]]),o["\u0275mpd"](1073742336,Xu,Xu,[]),o["\u0275mpd"](1073742336,Qu,Qu,[]),o["\u0275mpd"](1024,zl,Kl,[[3,Rl]]),o["\u0275mpd"](512,$e,Xe,[]),o["\u0275mpd"](512,Nl,Nl,[]),o["\u0275mpd"](256,Bl,{},[]),o["\u0275mpd"](1024,I.LocationStrategy,Gl,[I.PlatformLocation,[2,I.APP_BASE_HREF],Bl]),o["\u0275mpd"](512,I.Location,I.Location,[I.LocationStrategy,I.PlatformLocation]),o["\u0275mpd"](512,o.Compiler,o.Compiler,[]),o["\u0275mpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["\u0275mpd"](1024,wl,function(){return[[{path:"",component:gc,children:[{path:"",redirectTo:"servers",pathMatch:"full"},{path:"servers",component:sv},{path:"bundled",component:Yv},{path:"server/:server_id/projects",component:mg},{path:"help",component:gb},{path:"settings",component:h_},{path:"settings/console",component:__},{path:"installed-software",component:M_},{path:"server/:server_id/project/:project_id/snapshots",component:ny},{path:"server/:server_id/preferences",component:hy},{path:"server/:server_id/preferences/builtin",component:_y},{path:"server/:server_id/preferences/builtin/ethernet-hubs",component:Ny},{path:"server/:server_id/preferences/builtin/ethernet-hubs/addtemplate",component:Zy},{path:"server/:server_id/preferences/builtin/ethernet-hubs/:template_id",component:Cw},{path:"server/:server_id/preferences/builtin/ethernet-switches",component:Dw},{path:"server/:server_id/preferences/builtin/ethernet-switches/addtemplate",component:Bw},{path:"server/:server_id/preferences/builtin/ethernet-switches/:template_id",component:Ww},{path:"server/:server_id/preferences/builtin/cloud-nodes",component:hC},{path:"server/:server_id/preferences/builtin/cloud-nodes/addtemplate",component:kC},{path:"server/:server_id/preferences/builtin/cloud-nodes/:template_id",component:DC},{path:"server/:server_id/preferences/dynamips/templates",component:ex},{path:"server/:server_id/preferences/dynamips/templates/addtemplate",component:Zx},{path:"server/:server_id/preferences/dynamips/templates/:template_id",component:fS},{path:"server/:server_id/preferences/dynamips/templates/:template_id/copy",component:qS},{path:"server/:server_id/preferences/qemu/templates",component:zS},{path:"server/:server_id/preferences/qemu/templates/:template_id/copy",component:JS},{path:"server/:server_id/preferences/qemu/templates/:template_id",component:gk},{path:"server/:server_id/preferences/qemu/addtemplate",component:Zk},{path:"server/:server_id/preferences/vpcs/templates",component:tE},{path:"server/:server_id/preferences/vpcs/templates/:template_id",component:hE},{path:"server/:server_id/preferences/vpcs/addtemplate",component:xE},{path:"server/:server_id/preferences/virtualbox/templates",component:IE},{path:"server/:server_id/preferences/virtualbox/templates/:template_id",component:BE},{path:"server/:server_id/preferences/virtualbox/addtemplate",component:QE},{path:"server/:server_id/preferences/vmware/templates",component:iT},{path:"server/:server_id/preferences/vmware/templates/:template_id",component:bT},{path:"server/:server_id/preferences/vmware/addtemplate",component:IT},{path:"server/:server_id/preferences/docker/templates",component:PT},{path:"server/:server_id/preferences/docker/templates/:template_id",component:YT},{path:"server/:server_id/preferences/docker/templates/:template_id/copy",component:rR},{path:"server/:server_id/preferences/docker/addtemplate",component:cR},{path:"server/:server_id/preferences/iou/templates",component:wR},{path:"server/:server_id/preferences/iou/templates/:template_id",component:NR},{path:"server/:server_id/preferences/iou/templates/:template_id/copy",component:HR},{path:"server/:server_id/preferences/iou/addtemplate",component:$R}]},{path:"server/:server_id/project/:project_id",component:vU},{path:"**",redirectTo:"servers"}]]},[]),o["\u0275mpd"](1024,Rl,$l,[o.ApplicationRef,$e,Nl,I.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,wl,Bl,[2,xl],[2,_l]]),o["\u0275mpd"](1073742336,Zl,Zl,[[2,zl],[2,Rl]]),o["\u0275mpd"](1073742336,Frn,Frn,[]),o["\u0275mpd"](1073742336,ov,ov,[]),o["\u0275mpd"](1073742336,iv,iv,[]),o["\u0275mpd"](1073742336,av,av,[]),o["\u0275mpd"](1073742336,du,du,[]),o["\u0275mpd"](1073742336,Kc,Kc,[]),o["\u0275mpd"](1073742336,qr,qr,[]),o["\u0275mpd"](1073742336,Yo,Yo,[[2,Ko],[2,Gn]]),o["\u0275mpd"](1073742336,go,go,[]),o["\u0275mpd"](1073742336,gr,gr,[]),o["\u0275mpd"](1073742336,ks,ks,[]),o["\u0275mpd"](1073742336,Bs,Bs,[]),o["\u0275mpd"](1073742336,gd,gd,[]),o["\u0275mpd"](1073742336,Td,Td,[]),o["\u0275mpd"](1073742336,Rd,Rd,[]),o["\u0275mpd"](1073742336,ms,ms,[]),o["\u0275mpd"](1073742336,Nrn,Nrn,[]),o["\u0275mpd"](1073742336,fz.HotkeyModule,fz.HotkeyModule,[]),o["\u0275mpd"](1073742336,k,k,[]),o["\u0275mpd"](1073742336,yc,yc,[]),o["\u0275mpd"](1073742336,Mrn.FileUploadModule,Mrn.FileUploadModule,[]),o["\u0275mpd"](1073742336,Arn,Arn,[]),o["\u0275mpd"](1073742336,Nr,Nr,[]),o["\u0275mpd"](1073742336,gp,gp,[]),o["\u0275mpd"](1073742336,bu,bu,[]),o["\u0275mpd"](1073742336,Fb,Fb,[]),o["\u0275mpd"](1073742336,Zb,Zb,[]),o["\u0275mpd"](1073742336,a_,a_,[]),o["\u0275mpd"](1073742336,c_,c_,[]),o["\u0275mpd"](1073742336,rp,rp,[]),o["\u0275mpd"](1073742336,kv,kv,[]),o["\u0275mpd"](1073742336,EH,EH,[]),o["\u0275mpd"](1073742336,jd,jd,[]),o["\u0275mpd"](1073742336,zU,zU,[]),o["\u0275mpd"](1073742336,Tb,Tb,[]),o["\u0275mpd"](1073742336,Rb,Rb,[]),o["\u0275mpd"](1073742336,ur,ur,[]),o["\u0275mpd"](1073742336,_r,_r,[]),o["\u0275mpd"](1073742336,wp,wp,[]),o["\u0275mpd"](1073742336,rb,rb,[]),o["\u0275mpd"](1073742336,jg,jg,[]),o["\u0275mpd"](1073742336,Gg,Gg,[]),o["\u0275mpd"](1073742336,og,og,[]),o["\u0275mpd"](1073742336,Tr,Tr,[]),o["\u0275mpd"](1073742336,tw,tw,[]),o["\u0275mpd"](1073742336,Wo,Wo,[]),o["\u0275mpd"](1073742336,rc,rc,[]),o["\u0275mpd"](1073742336,bx,bx,[]),o["\u0275mpd"](1073742336,Ex,Ex,[]),o["\u0275mpd"](1073742336,Bk,Bk,[]),o["\u0275mpd"](1073742336,qrn,qrn,[]),o["\u0275mpd"](1073742336,xZ,xZ,[]),o["\u0275mpd"](1073742336,u,u,[]),o["\u0275mpd"](256,o["\u0275APP_ROOT"],!0,[]),o["\u0275mpd"](256,Zu,"XSRF-TOKEN",[]),o["\u0275mpd"](256,Wu,"X-XSRF-TOKEN",[]),o["\u0275mpd"](256,su,"BrowserAnimations",[]),o["\u0275mpd"](256,EW.HotkeyOptions,{},[])])});Object(o.enableProdMode)(),ue().bootstrapModuleFactory(Prn).catch(function(n){return console.error(n)})},zahk:function(n,e,t){n.exports=t("T8ZO")},zo3G:function(n,e,t){"use strict";var l=t("mrSG"),o=function(n){function e(e,t){var l=n.call(this,e,t)||this;return l.scheduler=e,l.work=t,l}return l.__extends(e,n),e.prototype.schedule=function(e,t){return void 0===t&&(t=0),t>0?n.prototype.schedule.call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,t){return t>0||this.closed?n.prototype.execute.call(this,e,t):this._execute(e,t)},e.prototype.requestAsyncId=function(e,t,l){return void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0?n.prototype.requestAsyncId.call(this,e,t,l):e.flush(this)},e}(t("h9Dq").a),r=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return l.__extends(e,n),e}(t("CS9Q").a);t.d(e,"a",function(){return i});var i=new r(o)},zotm:function(n,e,t){"use strict";t.d(e,"a",function(){return i});var l=t("rPjj"),o=t("Fxb1"),r=t("6blF");function i(n,e,t,i,a){if(void 0===a&&(a=new l.a(n,t,i)),!a.closed)return e instanceof r.a?e.subscribe(a):Object(o.a)(e)(a)}},zuyY:function(n,e){n.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}}},[[0,0]]]);