(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+SKG":function(t,e){t.exports=function(t){return n&&Buffer.isBuffer(t)||r&&(t instanceof ArrayBuffer||function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))};var n="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,r="function"==typeof ArrayBuffer},"+tJ4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=l,l.priorWebsocketSuccess=!1,i(l.prototype),l.protocol=s.protocol,l.Socket=l,l.Transport=n("Gbct"),l.transports=n("akSB"),l.parser=n("Wm4p"),l.prototype.createTransport=function(t){o('creating transport "%s"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=s.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},l.prototype.open=function(){var t;if(this.rememberUpgrade&&l.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},l.prototype.setTransport=function(t){o("setting transport %s",t.name);var e=this;this.transport&&(o("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},l.prototype.probe=function(t){o('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function i(){r.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&r.transport.supportsBinary),n||(o('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(i){if(!n)if("pong"===i.type&&"probe"===i.data){if(o('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",e),!e)return;l.priorWebsocketSuccess="websocket"===e.name,o('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(o("changing transport and sending upgrade packet"),p(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}))}else{o('probe transport "%s" failed',t);var a=new Error("probe error");a.transport=e.name,r.emit("upgradeError",a)}})))}function a(){n||(n=!0,p(),e.close(),e=null)}function s(n){var i=new Error("probe error: "+n);i.transport=e.name,a(),o('probe transport "%s" failed because of error: %s',t,n),r.emit("upgradeError",i)}function u(){s("transport closed")}function c(){s("socket closed")}function h(t){e&&t.name!==e.name&&(o('"%s" works - aborting "%s"',t.name,e.name),a())}function p(){e.removeListener("open",i),e.removeListener("error",s),e.removeListener("close",u),r.removeListener("close",c),r.removeListener("upgrading",h)}l.priorWebsocketSuccess=!1,e.once("open",i),e.once("error",s),e.once("close",u),this.once("close",c),this.once("upgrading",h),e.open()},l.prototype.onOpen=function(){if(o("socket open"),this.readyState="open",l.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){o("starting upgrade probes");for(var t=0,e=this.upgrades.length;t-1},r.prototype.getCachedToken=function(t){if(!this._hasResource(t))return null;var e=this._getItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+t),n=this._getItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+t),r=this.config.expireOffsetSeconds||300;return n&&n>this._now()+r?e:(this._saveItem(this.CONSTANTS.STORAGE.ACCESS_TOKEN_KEY+t,""),this._saveItem(this.CONSTANTS.STORAGE.EXPIRATION_KEY+t,0),null)},r.prototype.getCachedUser=function(){if(this._user)return this._user;var t=this._getItem(this.CONSTANTS.STORAGE.IDTOKEN);return this._user=this._createUser(t),this._user},r.prototype.registerCallback=function(t,e,n){this._activeRenewals[e]=t,this._callBacksMappedToRenewStates[t]||(this._callBacksMappedToRenewStates[t]=[]);var r=this;this._callBacksMappedToRenewStates[t].push(n),this._callBackMappedToRenewStates[t]||(this._callBackMappedToRenewStates[t]=function(n,i,o,a){r._activeRenewals[e]=null;for(var s=0;s-1)){var e=this._user.profile.upn.split("@");t+="&domain_hint="+encodeURIComponent(e[e.length-1])}return t},r.prototype._createUser=function(t){var e=null,n=this._extractIdToken(t);return n&&n.hasOwnProperty("aud")&&(n.aud.toLowerCase()===this.config.clientId.toLowerCase()?(e={userName:"",profile:n},n.hasOwnProperty("upn")?e.userName=n.upn:n.hasOwnProperty("email")&&(e.userName=n.email)):this.warn("IdToken has invalid aud field")),e},r.prototype._getHash=function(t){return t.indexOf("#/")>-1?t=t.substring(t.indexOf("#/")+2):t.indexOf("#")>-1&&(t=t.substring(1)),t},r.prototype.isCallback=function(t){t=this._getHash(t);var e=this._deserialize(t);return e.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||e.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||e.hasOwnProperty(this.CONSTANTS.ID_TOKEN)},r.prototype.getLoginError=function(){return this._getItem(this.CONSTANTS.STORAGE.LOGIN_ERROR)},r.prototype.getRequestInfo=function(t){t=this._getHash(t);var e=this._deserialize(t),n={valid:!1,parameters:{},stateMatch:!1,stateResponse:"",requestType:this.REQUEST_TYPE.UNKNOWN};if(e&&(n.parameters=e,e.hasOwnProperty(this.CONSTANTS.ERROR_DESCRIPTION)||e.hasOwnProperty(this.CONSTANTS.ACCESS_TOKEN)||e.hasOwnProperty(this.CONSTANTS.ID_TOKEN))){if(n.valid=!0,!e.hasOwnProperty("state"))return this.warn("No state returned"),n;if(this.verbose("State: "+e.state),n.stateResponse=e.state,this._matchState(n))return n;if(!n.stateMatch&&window.parent){n.requestType=this._requestType;for(var r=this._renewStates,i=0;i-1&&e+1-1)return null;if(this.config&&this.config.endpoints)for(var n in this.config.endpoints)if(t.indexOf(n)>-1)return this.config.endpoints[n];return t.indexOf("http://")>-1||t.indexOf("https://")>-1?this._getHostFromUri(t)===this._getHostFromUri(this.config.redirectUri)?this.config.loginResource:null:this.config.loginResource},r.prototype._getHostFromUri=function(t){return String(t).replace(/^(https?:)\/\//,"").split("/")[0]},r.prototype.handleWindowCallback=function(t){if(null==t&&(t=window.location.hash),this.isCallback(t)){var e=null,n=!1;this._openedWindows.length>0&&this._openedWindows[this._openedWindows.length-1].opener&&this._openedWindows[this._openedWindows.length-1].opener._adalInstance?(e=this._openedWindows[this._openedWindows.length-1].opener._adalInstance,n=!0):window.parent&&window.parent._adalInstance&&(e=window.parent._adalInstance);var r,i,o=e.getRequestInfo(t),a=null;i=n||window.parent!==window?e._callBackMappedToRenewStates[o.stateResponse]:e.callback,e.info("Returned from redirect url"),e.saveTokenFromHash(o),o.requestType===this.REQUEST_TYPE.RENEW_TOKEN&&window.parent?(window.parent!==window?e.verbose("Window is in iframe, acquiring token silently"):e.verbose("acquiring token interactive in progress"),r=o.parameters[e.CONSTANTS.ACCESS_TOKEN]||o.parameters[e.CONSTANTS.ID_TOKEN],a=e.CONSTANTS.ACCESS_TOKEN):o.requestType===this.REQUEST_TYPE.LOGIN&&(r=o.parameters[e.CONSTANTS.ID_TOKEN],a=e.CONSTANTS.ID_TOKEN);var s=o.parameters[e.CONSTANTS.ERROR_DESCRIPTION],u=o.parameters[e.CONSTANTS.ERROR];try{i&&i(s,r,u,a)}catch(c){e.error("Error occurred in user defined callback function: "+c)}window.parent!==window||n||(e.config.navigateToLoginRequestUrl?window.location.href=e._getItem(e.CONSTANTS.STORAGE.LOGIN_REQUEST):window.location.hash="")}},r.prototype._getNavigateUrl=function(t,e){var n="common";this.config.tenant&&(n=this.config.tenant);var r=this.instance+n+"/oauth2/authorize"+this._serialize(t,this.config,e)+this._addLibMetadata();return this.info("Navigate url:"+r),r},r.prototype._extractIdToken=function(t){var e=this._decodeJwt(t);if(!e)return null;try{var n=this._base64DecodeStringUrlSafe(e.JWSPayload);return n?JSON.parse(n):(this.info("The returned id_token could not be base64 url safe decoded."),null)}catch(r){this.error("The returned id_token could not be decoded",r)}return null},r.prototype._base64DecodeStringUrlSafe=function(t){return t=t.replace(/-/g,"+").replace(/_/g,"/"),window.atob?decodeURIComponent(escape(window.atob(t))):decodeURIComponent(escape(this._decode(t)))},r.prototype._decode=function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=(t=String(t).replace(/=+$/,"")).length;if(n%4==1)throw new Error("The token to be decoded is not correctly encoded.");for(var r,i,o,a,s,u,c,l="",h=0;h>16&255,c=s>>8&255,l+=String.fromCharCode(u,c);break}if(h+1===n-1){u=(s=r<<18|i<<12)>>16&255,l+=String.fromCharCode(u);break}u=(s=r<<18|i<<12|o<<6|a)>>16&255,c=s>>8&255,l+=String.fromCharCode(u,c,255&s)}return l},r.prototype._decodeJwt=function(t){if(this._isEmpty(t))return null;var e=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);return!e||e.length<4?(this.warn("The returned id_token is not parseable."),null):{header:e[1],JWSPayload:e[2],JWSSig:e[3]}},r.prototype._convertUrlSafeToRegularBase64EncodedString=function(t){return t.replace("-","+").replace("_","/")},r.prototype._serialize=function(t,e,n){var r=[];if(null!==e){r.push("?response_type="+t),r.push("client_id="+encodeURIComponent(e.clientId)),n&&r.push("resource="+encodeURIComponent(n)),r.push("redirect_uri="+encodeURIComponent(e.redirectUri)),r.push("state="+encodeURIComponent(e.state)),e.hasOwnProperty("slice")&&r.push("slice="+encodeURIComponent(e.slice)),e.hasOwnProperty("extraQueryParameter")&&r.push(e.extraQueryParameter);var i=e.correlationId?e.correlationId:this._guid();r.push("client-request-id="+encodeURIComponent(i))}return r.join("&")},r.prototype._deserialize=function(t){var e,n=/\+/g,r=/([^&=]+)=([^&]*)/g,i=function(t){return decodeURIComponent(t.replace(n," "))},o={};for(e=r.exec(t);e;)o[i(e[1])]=i(e[2]),e=r.exec(t);return o},r.prototype._decimalToHex=function(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e},r.prototype._guid=function(){var t=window.crypto||window.msCrypto;if(t&&t.getRandomValues){var e=new Uint8Array(16);return t.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,this._decimalToHex(e[0])+this._decimalToHex(e[1])+this._decimalToHex(e[2])+this._decimalToHex(e[3])+"-"+this._decimalToHex(e[4])+this._decimalToHex(e[5])+"-"+this._decimalToHex(e[6])+this._decimalToHex(e[7])+"-"+this._decimalToHex(e[8])+this._decimalToHex(e[9])+"-"+this._decimalToHex(e[10])+this._decimalToHex(e[11])+this._decimalToHex(e[12])+this._decimalToHex(e[13])+this._decimalToHex(e[14])+this._decimalToHex(e[15])}for(var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r="0123456789abcdef",i=0,o="",a=0;a<36;a++)"-"!==n[a]&&"4"!==n[a]&&(i=16*Math.random()|0),"x"===n[a]?o+=r[i]:"y"===n[a]?(i&=3,o+=r[i|=8]):o+=n[a];return o},r.prototype._expiresIn=function(t){return t||(t=3599),this._now()+parseInt(t,10)},r.prototype._now=function(){return Math.round((new Date).getTime()/1e3)},r.prototype._addAdalFrame=function(t){if(void 0!==t){this.info("Add adal frame to document:"+t);var e=document.getElementById(t);if(!e){if(document.createElement&&document.documentElement&&(window.opera||-1===window.navigator.userAgent.indexOf("MSIE 5.0"))){var n=document.createElement("iframe");n.setAttribute("id",t),n.setAttribute("aria-hidden","true"),n.style.visibility="hidden",n.style.position="absolute",n.style.width=n.style.height=n.borderWidth="0px",e=document.getElementsByTagName("body")[0].appendChild(n)}else document.body&&document.body.insertAdjacentHTML&&document.body.insertAdjacentHTML("beforeEnd",'');window.frames&&window.frames[t]&&(e=window.frames[t])}return e}},r.prototype._saveItem=function(t,e,n){if(this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation){if(!this._supportsLocalStorage())return this.info("Local storage is not supported"),!1;if(n){var r=this._getItem(t)||"";localStorage.setItem(t,r+e+this.CONSTANTS.CACHE_DELIMETER)}else localStorage.setItem(t,e);return!0}return this._supportsSessionStorage()?(sessionStorage.setItem(t,e),!0):(this.info("Session storage is not supported"),!1)},r.prototype._getItem=function(t){return this.config&&this.config.cacheLocation&&"localStorage"===this.config.cacheLocation?this._supportsLocalStorage()?localStorage.getItem(t):(this.info("Local storage is not supported"),null):this._supportsSessionStorage()?sessionStorage.getItem(t):(this.info("Session storage is not supported"),null)},r.prototype._supportsLocalStorage=function(){try{return!!window.localStorage&&(window.localStorage.setItem("storageTest","A"),"A"==window.localStorage.getItem("storageTest")&&(window.localStorage.removeItem("storageTest"),!window.localStorage.getItem("storageTest")))}catch(t){return!1}},r.prototype._supportsSessionStorage=function(){try{return!!window.sessionStorage&&(window.sessionStorage.setItem("storageTest","A"),"A"==window.sessionStorage.getItem("storageTest")&&(window.sessionStorage.removeItem("storageTest"),!window.sessionStorage.getItem("storageTest")))}catch(t){return!1}},r.prototype._cloneConfig=function(t){if(null===t||"object"!=typeof t)return t;var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},r.prototype._addLibMetadata=function(){return"&x-client-SKU=Js&x-client-Ver="+this._libVersion()},r.prototype.log=function(t,e,n,r){if(t<=Logging.level){if(!Logging.piiLoggingEnabled&&r)return;var i=(new Date).toUTCString(),o="";o=this.config.correlationId?i+":"+this.config.correlationId+"-"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[t]+" "+e:i+":"+this._libVersion()+"-"+this.CONSTANTS.LEVEL_STRING_MAP[t]+" "+e,n&&(o+="\nstack:\n"+n.stack),Logging.log(o)}},r.prototype.error=function(t,e){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,t,e)},r.prototype.warn=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,t,null)},r.prototype.info=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,t,null)},r.prototype.verbose=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,t,null)},r.prototype.errorPii=function(t,e){this.log(this.CONSTANTS.LOGGING_LEVEL.ERROR,t,e,!0)},r.prototype.warnPii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.WARN,t,null,!0)},r.prototype.infoPii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.INFO,t,null,!0)},r.prototype.verbosePii=function(t){this.log(this.CONSTANTS.LOGGING_LEVEL.VERBOSE,t,null,!0)},r.prototype._libVersion=function(){return"1.0.17"},t.exports&&(t.exports=r,t.exports.inject=function(t){return new r(t)}),r}()},"5LH7":function(t,e){var n=1e3,r=6e4,i=36e5,o=24*i;function a(t,e,n){if(!(t0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,o,"day")||a(s,i,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=o?Math.round(t/o)+"d":t>=i?Math.round(t/i)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"5M3R":function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Nq7k")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))})),t.splice(o,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},"67Y/":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("mrSG"),i=n("FFOo");function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(i.a)},"6C75":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"6ahw":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("1fDf"),i=n("FFOo"),o=n("L/V9"),a=n("6ahw"),s=n("xTla"),u=n("y3By"),c=n("iLxQ");n.d(e,"a",(function(){return l}));var l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,s=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new i.a(t,e,n):new i.a(a.a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),Object(r.a)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(n){r(n),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[s.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e0);return e}function c(){var t=u(+new Date);return t!==r?(a=0,r=t):t+"."+u(a++)}for(;s<64;s++)o[i[s]]=s;c.encode=u,c.decode=function(t){var e=0;for(s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},CIKq:function(t,e,n){var r,i,o=n("Gbct"),a=n("Wm4p"),s=n("TypT"),u=n("Yvos"),c=n("Aplp"),l=n("HjK1")("engine.io-client:websocket");if("undefined"!=typeof WebSocket)r=WebSocket;else if("undefined"!=typeof self)r=self.WebSocket||self.MozWebSocket;else try{i=n(1)}catch(f){}var h=r||i;function p(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=r&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(h=i),o.call(this,t)}t.exports=p,u(p,o),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new h(t,e):new h(t):new h(t,e,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},p.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,r=0,i=n;r')}catch(t){(r=document.createElement("iframe")).name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),l(),t=t.replace(s,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}},DKTb:function(t,e,n){"use strict";function r(t){setTimeout((function(){throw t}),0)}n.d(e,"a",(function(){return r}))},DUSf:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c}));var r=n("pw5m"),i=n.n(r),o=n("TYT/"),a=(n("Valr"),new o.q("HIGHLIGHT_OPTIONS")),s=function(){function t(t){var e=this;if(t&&(t.languages().map((function(t){return e.registerLanguage(t.name,t.func)})),t.config&&this.configure(t.config)),this.listLanguages().length<1)throw new Error("[HighlightJS]: No languages were registered!")}return t.prototype.highlight=function(t,e,n,r){return i.a.highlight(t,e,n,r)},t.prototype.highlightAuto=function(t,e){return i.a.highlightAuto(t,e)},t.prototype.fixMarkup=function(t){return i.a.fixMarkup(t)},t.prototype.highlightBlock=function(t){i.a.highlightBlock(t)},t.prototype.configure=function(t){i.a.configure(t)},t.prototype.initHighlighting=function(){i.a.initHighlighting()},t.prototype.registerLanguage=function(t,e){i.a.registerLanguage(t,e)},t.prototype.listLanguages=function(){return i.a.listLanguages()},t.prototype.getLanguage=function(t){return i.a.getLanguage(t)},t.ngInjectableDef=Object(o.R)({factory:function(){return new t(Object(o.U)(a,8))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(o.ac(a,8))},t.\u0275prov=o.Kb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t}(),u=function(){function t(t,e){this._hljs=t,this._zone=e,this.highlighted=new o.n}return t.prototype.ngOnChanges=function(t){t.code&&t.code.currentValue!==t.code.previousValue&&this.highlightElement(this.code,this.languages)},t.prototype.highlightElement=function(t,e){var n=this;this._zone.runOutsideAngular((function(){var r=n._hljs.highlightAuto(t,e);n.highlightedCode=r.value,n.highlighted.emit(r)}))},t.\u0275fac=function(e){return new(e||t)(o.Ob(s),o.Ob(o.z))},t.\u0275dir=o.Jb({type:t,selectors:[["","highlight",""]],hostVars:3,hostBindings:function(t,e){2&t&&(o.Zb("innerHTML",e.highlightedCode,o.wc),o.Gb("hljs",!0))},inputs:{languages:"languages",code:["highlight","code"]},outputs:{highlighted:"highlighted"},features:[o.zb()]}),t}(),c=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:a,useValue:e}]}},t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)}}),t}()},DUip:function(t,e,n){"use strict";var r=n("mrSG"),i=n("Valr"),o=n("TYT/"),a=n("F/XL"),s=n("0/uQ"),u=n("K9Ia"),c=n("8g8A"),l=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(u.a),h=n("6blF"),p=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),f=n("dzgT"),d=new h.a((function(t){return t.complete()}));function g(t){return t?function(t){return new h.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):d}function m(t){return new h.a((function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(s.a)(n):g()).subscribe(e)}))}var y=n("67Y/"),v=n("Zn8D");function b(){return Object(v.a)(1)}var w=n("VnD/"),_=n("FFOo"),j=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}();function C(t){return function(e){return 0===t?g():e.lift(new T(t))}}var T=function(){function t(t){if(this.total=t,this.total<0)throw new j}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.total))},t}(),S=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(w.a)((function(e,n){return t(e,n,r)})):N.a,C(1),n?A(e):E((function(){return new p})))}}var D=n("MGBS"),L=n("rPjj"),F=n("zotm");function U(t){return function(e){var n=new M(t),r=e.lift(n);return n.caught=r}}var M=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new B(t,this.selector,this.caught))},t}(),B=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.c(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new L.a(this,void 0,void 0);this.add(r);var i=Object(F.a)(this,n,void 0,void 0,r);i!==r&&this.add(i)}},e}(D.a);function V(t){return function(e){return 0===t?g():e.lift(new H(t))}}var H=function(){function t(t){if(this.total=t,this.total<0)throw new j}return t.prototype.call=function(t,e){return e.subscribe(new q(t,this.total))},t}(),q=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(_.a);function G(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(w.a)((function(e,n){return t(e,n,r)})):N.a,V(1),n?A(e):E((function(){return new p})))}}var W=n("psW0"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.predicate,this.thisArg,this.source))},t}(),$=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.c(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(_.a);function Q(t,e){return"function"==typeof e?function(n){return n.pipe(Q((function(n,r){return Object(s.a)(t(n,r)).pipe(Object(y.a)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new K(t))}}var K=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new J(t,this.project))},t}(),J=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.c(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new L.a(this,e,n),o=this.destination;o.add(i),this.innerSubscription=Object(F.a)(this,t,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.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&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(D.a);function Y(){for(var t=[],e=0;e=2&&(n=!0),function(r){return r.lift(new tt(t,e,n))}}var tt=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.accumulator,this.seed,this.hasSeed))},t}(),et=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.c(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(_.a),nt=n("Phjn"),rt=n("y3By"),it=n("+umK"),ot=n("2Bdj");function at(t,e,n){return function(r){return r.lift(new st(t,e,n))}}var st=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.nextOrObserver,this.error,this.complete))},t}(),ut=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=it.a,o._tapError=it.a,o._tapComplete=it.a,o._tapError=r||it.a,o._tapComplete=i||it.a,Object(ot.a)(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||it.a,o._tapError=n.error||it.a,o._tapComplete=n.complete||it.a),o}return r.c(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(_.a),ct=n("pugT"),lt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.callback))},t}(),ht=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new ct.a(n)),r}return r.c(e,t),e}(_.a);n.d(e,"a",(function(){return be})),n.d(e,"b",(function(){return dt})),n.d(e,"c",(function(){return ft})),n.d(e,"d",(function(){return Bn})),n.d(e,"e",(function(){return An})),n.d(e,"f",(function(){return In})),n.d(e,"g",(function(){return Pn})),n.d(e,"h",(function(){return Rn})),n.d(e,"i",(function(){return Qn})),n.d(e,"j",(function(){return Fn}));var pt=function(){return function(t,e){this.id=t,this.url=e}}(),ft=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(pt),dt=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(pt),gt=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(pt),mt=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return Object(r.c)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(pt),yt=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),vt=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),bt=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return Object(r.c)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(pt),wt=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),_t=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(pt),jt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Ct=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Tt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),St=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Et=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),xt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),kt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Ot=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&o.Qb(0,"router-outlet")},directives:function(){return[Fn]},encapsulation:2}),t}(),At=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function It(t){return new At(t)}function Rt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Nt(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length-1})):t===e}function Vt(t){return Array.prototype.concat.apply([],t)}function Ht(t){return t.length>0?t[t.length-1]:null}function qt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Gt(t){return Object(o.rb)(t)?t:Object(o.sb)(t)?Object(s.a)(Promise.resolve(t)):Object(a.a)(t)}function Wt(t,e,n){return n?function(t,e){return Mt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Kt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return Bt(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Kt(a=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Kt(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Kt(n.segments,a)&&!!n.children.primary&&e(n.children.primary,r,s)}(e,n,n.segments)}(t.root,e.root)}var zt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=It(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt.serialize(this)},t}(),$t=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,qt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return te(this)},t}(),Qt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=It(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ae(this)},t}();function Kt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Jt(t,e){var n=[];return qt(t.children,(function(t,r){"primary"===r&&(n=n.concat(e(t,r)))})),qt(t.children,(function(t,r){"primary"!==r&&(n=n.concat(e(t,r)))})),n}var Yt=function(){return function(){}}(),Zt=function(){function t(){}return t.prototype.parse=function(t){var e=new he(t);return new zt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return te(e);if(n){var r=e.children.primary?t(e.children.primary,!1):"",i=[];return qt(e.children,(function(e,n){"primary"!==n&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=Jt(e,(function(n,r){return"primary"===r?[t(e.children.primary,!1)]:[r+":"+t(n,!1)]}));return te(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return ne(t)+"="+ne(e)})).join("&"):ne(t)+"="+ne(n)}))).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Xt=new Zt;function te(t){return t.segments.map((function(t){return ae(t)})).join("/")}function ee(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ne(t){return ee(t).replace(/%3B/gi,";")}function re(t){return ee(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ie(t){return decodeURIComponent(t)}function oe(t){return ie(t.replace(/\+/g,"%20"))}function ae(t){return""+re(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+re(t)+"="+re(e[t])})).join(""));var e}var se=/^[^\/()?;=#]+/;function ue(t){var e=t.match(se);return e?e[0]:""}var ce=/^[^=?&#]+/,le=/^[^?&#]+/,he=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $t([],{}):new $t([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new $t(t,e)),n},t.prototype.parseSegment=function(){var t=ue(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Qt(ie(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=ue(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=ue(this.remaining);r&&this.capture(n=r)}t[ie(e)]=ie(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(ce);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(le);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var i=oe(e),o=oe(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(o)}else t[i]=o}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ue(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");var o=this.parseChildren();e[i]=1===Object.keys(o).length?o.primary:new $t([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),pe=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=fe(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=fe(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=de(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return de(t,this._root).map((function(t){return t.value}))},t}();function fe(t,e){var n,i;if(t===e.value)return e;try{for(var o=Object(r.g)(e.children),a=o.next();!a.done;a=o.next()){var s=fe(t,a.value);if(s)return s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}function de(t,e){var n,i;if(t===e.value)return[e];try{for(var o=Object(r.g)(e.children),a=o.next();!a.done;a=o.next()){var s=de(t,a.value);if(s.length)return s.unshift(e),s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return[]}var ge=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function me(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var ye=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Ce(r,e),r}return Object(r.c)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(pe);function ve(t,e){var n=function(t,e){var n=new _e([],{},{},"",{},"primary",e,null,t.root,-1,{});return new je("",new ge(n,[]))}(t,e),r=new l([new Qt("",{})]),i=new l({}),o=new l({}),a=new l({}),s=new l(""),u=new be(r,i,a,s,o,"primary",e,n.root);return u.snapshot=n.root,new ye(new ge(u,[]),n)}var be=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(y.a)((function(t){return It(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(y.a)((function(t){return It(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function we(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var o=n[i],a=n[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(a.component)break;i--}}return function(t){return t.reduce((function(t,e){return{params:Object(r.a)(Object(r.a)({},t.params),e.params),data:Object(r.a)(Object(r.a)({},t.data),e.data),resolve:Object(r.a)(Object(r.a)({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var _e=function(){function t(t,e,n,r,i,o,a,s,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=It(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=It(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),je=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Ce(r,n),r}return Object(r.c)(e,t),e.prototype.toString=function(){return Te(this._root)},e}(pe);function Ce(t,e){e.value._routerState=t,e.children.forEach((function(e){return Ce(t,e)}))}function Te(t){var e=t.children.length>0?" { "+t.children.map(Te).join(", ")+" } ":"";return""+t.value+e}function Se(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Mt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Mt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&xe(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==Ht(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Ae=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Ie(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Re(t,e,n){if(t||(t=new $t([],{})),0===t.segments.length&&t.hasChildren())return Ne(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=Ie(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!Fe(s,u,a))return o;r+=2}else{if(!Fe(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new $t([],((r={}).primary=t,r)):t;return new zt(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(y.a)((function(t){return new $t([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],u={};return qt(n,(function(n,i){var a,c,l=(a=i,c=n,r.expandSegmentGroup(t,e,c,a)).pipe(Object(y.a)((function(t){return u[i]=t})));"primary"===i?o.push(l):s.push(l)})),a.a.apply(null,o.concat(s)).pipe(b(),P(),Object(y.a)((function(){return u})))}(n.children)},t.prototype.expandSegment=function(t,e,n,i,o,s){var u=this;return a.a.apply(void 0,Object(r.f)(n)).pipe(Object(y.a)((function(r){return u.expandSegmentAgainstRoute(t,e,n,r,i,o,s).pipe(U((function(t){if(t instanceof He)return Object(a.a)(null);throw t})))})),b(),G((function(t){return!!t})),U((function(t,n){if(t instanceof p||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,i,o))return Object(a.a)(new $t([],{}));throw new He(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return Ye(r)!==o?Ge(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Ge(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?We(o):this.lineralizeSegments(n,o).pipe(Object(W.a)((function(n){var o=new $t(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Qe(e,r,i),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Ge(e);var h=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?We(h):this.lineralizeSegments(r,h).pipe(Object(W.a)((function(r){return a.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,i){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(y.a)((function(t){return n._loadedConfig=t,new $t(i,{})}))):Object(a.a)(new $t(i,{}));var s=Qe(e,n,i),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return Ge(e);var l=i.slice(c);return this.getChildConfig(t,n,i).pipe(Object(W.a)((function(t){var n=t.module,i=t.routes,s=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some((function(n){return Je(t,e,n)&&"primary"!==Ye(n)}))}(t,n,i)?{segmentGroup:Ke(new $t(e,function(t,e){var n,i,o={};o.primary=e;try{for(var a=Object(r.g)(t),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&"primary"!==Ye(u)&&(o[Ye(u)]=new $t([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}(i,new $t(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Je(t,e,n)}))}(t,n,i)?{segmentGroup:Ke(new $t(t.segments,function(t,e,n,i){var o,a,s={};try{for(var u=Object(r.g)(n),c=u.next();!c.done;c=u.next()){var l=c.value;Je(t,e,l)&&!i[Ye(l)]&&(s[Ye(l)]=new $t([],{}))}}catch(h){o={error:h}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(r.a)(Object(r.a)({},i),s)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,l,i),c=s.segmentGroup,h=s.slicedSegments;return 0===h.length&&c.hasChildren()?o.expandChildren(n,i,c).pipe(Object(y.a)((function(t){return new $t(u,t)}))):0===i.length&&0===h.length?Object(a.a)(new $t(u,{})):o.expandSegment(n,c,i,h,"primary",!0).pipe(Object(y.a)((function(t){return new $t(u.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(a.a)(new Pt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(a.a)(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Object(s.a)(i).pipe(Object(y.a)((function(r){var i,o=t.get(r);if(function(t){return t&&Be(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Be(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Gt(i)}))).pipe(b(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(a.a)(!0)}(t.injector,e,n).pipe(Object(W.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(y.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new h.a((function(e){return e.error(Rt("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Object(a.a)(new Pt([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children.primary)return ze(t.redirectTo);r=r.children.primary}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new zt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return qt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return qt(e.children,(function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)})),new $t(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,i,o=0;try{for(var a=Object(r.g)(e),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===t.path)return e.splice(o),u;o++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return t},t}();function Qe(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Nt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ke(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new $t(t.segments.concat(e.segments),e.children)}return t}function Je(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ye(t){return t.outlet||"primary"}var Ze=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Xe=function(){return function(t,e){this.component=t,this.route=e}}();function tn(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function en(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=me(e);return t.children.forEach((function(t){!function(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Kt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Kt(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ee(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ee(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Ze(r)):(o.data=a.data,o._resolvedData=a._resolvedData),en(t,e,o.component?s?s.children:null:n,r,i),u&&i.canDeactivateChecks.push(new Xe(s&&s.outlet&&s.outlet.component||null,a))}else a&&nn(e,s,i),i.canActivateChecks.push(new Ze(r)),en(t,null,o.component?s?s.children:null:n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]})),qt(o,(function(t,e){return nn(t,n.getContext(e),i)})),i}function nn(t,e,n){var r=me(t),i=t.value;qt(r,(function(t,r){nn(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new Xe(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var rn=Symbol("INITIAL_VALUE");function on(){return Q((function(t){return f.a.apply(void 0,Object(r.f)(t.map((function(t){return t.pipe(V(1),function(){for(var t=[],e=0;e0?Ht(n).parameters:{};o=new _e(n,u,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,yn(t),i,t.component,t,pn(e),fn(e)+n.length,vn(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ln;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||Nt)(n,t,e);if(!i)throw new ln;var o={};qt(i.posParams,(function(t,e){o[e]=t.path}));var a=i.consumed.length>0?Object(r.a)(Object(r.a)({},o),i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new _e(a,c.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,yn(t),i,t.component,t,pn(e),fn(e)+a.length,vn(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=dn(e,a,s,l,this.relativeLinkResolution),p=h.segmentGroup,f=h.slicedSegments;if(0===f.length&&p.hasChildren()){var d=this.processChildren(l,p);return[new ge(o,d)]}if(0===l.length&&0===f.length)return[new ge(o,[])];var g=this.processSegment(l,p,f,"primary");return[new ge(o,g)]},t}();function pn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function fn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function dn(t,e,n,i,o){if(n.length>0&&function(t,e,n){return n.some((function(n){return gn(t,e,n)&&"primary"!==mn(n)}))}(t,n,i)){var a=new $t(e,function(t,e,n,i){var o,a,s={};s.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;try{for(var u=Object(r.g)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&"primary"!==mn(l)){var h=new $t([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,s[mn(l)]=h}}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return s}(t,e,i,new $t(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return gn(t,e,n)}))}(t,n,i)){var s=new $t(t.segments,function(t,e,n,i,o,a){var s,u,c={};try{for(var l=Object(r.g)(i),h=l.next();!h.done;h=l.next()){var p=h.value;if(gn(t,n,p)&&!o[mn(p)]){var f=new $t([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[mn(p)]=f}}}catch(d){s={error:d}}finally{try{h&&!h.done&&(u=l.return)&&u.call(l)}finally{if(s)throw s.error}}return Object(r.a)(Object(r.a)({},o),c)}(t,e,n,i,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new $t(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function gn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function mn(t){return t.outlet||"primary"}function yn(t){return t.data||{}}function vn(t){return t.resolve||{}}function bn(t,e,n,r){var i=tn(t,e,r);return Gt(i.resolve?i.resolve(e,n):i(e,n))}function wn(t){return function(e){return e.pipe(Q((function(e){var n=t(e);return n?Object(s.a)(n).pipe(Object(y.a)((function(){return e}))):Object(s.a)([e])})))}}var _n=function(){return function(){}}(),jn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Cn=new o.q("ROUTES"),Tn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(y.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Pt(Vt(i.injector.get(Cn)).map(Ut),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(s.a)(this.loader.load(t)):Gt(t()).pipe(Object(W.a)((function(t){return t instanceof o.v?Object(a.a)(t):Object(s.a)(e.compiler.compileModuleAsync(t))})))},t}(),Sn=function(){return function(){}}(),En=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function xn(t){throw t}function kn(t,e,n){return e.parse("/")}function On(t,e){return Object(a.a)(null)}var An=function(){function t(t,e,n,r,i,a,s,c){var h=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new u.a,this.errorHandler=xn,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:On,afterPreactivation:On},this.urlHandlingStrategy=new En,this.routeReuseStrategy=new jn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.x),this.console=i.get(o.Y);var p=i.get(o.z);this.isNgZoneEnabled=p instanceof o.z,this.resetConfig(c),this.currentUrlTree=new zt(new $t([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Tn(a,s,(function(t){return h.triggerEvent(new jt(t))}),(function(t){return h.triggerEvent(new Ct(t))})),this.routerState=ve(this.currentUrlTree,this.rootComponentType),this.transitions=new l({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 t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(w.a)((function(t){return 0!==t.id})),Object(y.a)((function(t){return Object(r.a)(Object(r.a)({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Q((function(t){var i,o,u,c,h=!1,p=!1;return Object(a.a)(t).pipe(at((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(r.a)(Object(r.a)({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Q((function(t){var i,o,s,u,c=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||c)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(a.a)(t).pipe(Q((function(t){var r=e.transitions.getValue();return n.next(new ft(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?d:[t]})),Q((function(t){return Promise.resolve(t)})),(i=e.ngModule.injector,o=e.configLoader,s=e.urlSerializer,u=e.config,function(t){return t.pipe(Q((function(t){return function(t,e,n,r,i){return new $e(t,e,n,r,i).apply()}(i,o,s,t.extractedUrl,u).pipe(Object(y.a)((function(e){return Object(r.a)(Object(r.a)({},t),{urlAfterRedirects:e})})))})))}),at((function(t){e.currentNavigation=Object(r.a)(Object(r.a)({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})})),function(t,n,i,o,a){return function(i){return i.pipe(Object(W.a)((function(i){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new hn(t,e,n,r,i,o).recognize()}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe(Object(y.a)((function(t){return Object(r.a)(Object(r.a)({},i),{targetSnapshot:t})})));var s})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),at((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),at((function(t){var r=new yt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(c&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,h=t.source,p=t.restoredState,f=t.extras,g=new ft(t.id,e.serializeUrl(l),h,p);n.next(g);var m=ve(l,e.rootComponentType).snapshot;return Object(a.a)(Object(r.a)(Object(r.a)({},t),{targetSnapshot:m,urlAfterRedirects:l,extras:Object(r.a)(Object(r.a)({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),d})),wn((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),at((function(t){var n=new vt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(y.a)((function(t){return Object(r.a)(Object(r.a)({},t),{guards:(n=t.targetSnapshot,i=t.currentSnapshot,o=e.rootContexts,a=n._root,en(a,i?i._root:null,o,[a.value]))});var n,i,o,a})),function(t,e){return function(n){return n.pipe(Object(W.a)((function(n){var i=n.targetSnapshot,o=n.currentSnapshot,u=n.guards,c=u.canActivateChecks,l=u.canDeactivateChecks;return 0===l.length&&0===c.length?Object(a.a)(Object(r.a)(Object(r.a)({},n),{guardsResult:!0})):function(t,e,n,r){return Object(s.a)(t).pipe(Object(W.a)((function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(o){var a,s=tn(o,e,i);if(function(t){return t&&Be(t.canDeactivate)}(s))a=Gt(s.canDeactivate(t,e,n,r));else{if(!Be(s))throw new Error("Invalid CanDeactivate guard");a=Gt(s(t,e,n,r))}return a.pipe(G())}));return Object(a.a)(s).pipe(on())}(t.component,t.route,n,e,r)})),G((function(t){return!0!==t}),!0))}(l,i,o,t).pipe(Object(W.a)((function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Object(s.a)(e).pipe(Object(nt.a)((function(e){return Object(s.a)([sn(e.route.parent,r),an(e.route,r),cn(t,e.path,n),un(t,e.route,n)]).pipe(b(),G((function(t){return!0!==t}),!0))})),G((function(t){return!0!==t}),!0))}(i,c,t,e):Object(a.a)(n)})),Object(y.a)((function(t){return Object(r.a)(Object(r.a)({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),at((function(t){if(Ve(t.guardsResult)){var n=Rt('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),at((function(t){var n=new bt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(w.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new gt(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),wn((function(t){if(t.guards.canActivateChecks.length)return Object(a.a)(t).pipe(at((function(t){var n=new wt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,i=e.ngModule.injector,function(t){return t.pipe(Object(W.a)((function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?Object(s.a)(o).pipe(Object(nt.a)((function(t){return function(t,e,n,i){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(a.a)({});if(1===i.length){var o=i[0];return bn(t[o],e,n,r).pipe(Object(y.a)((function(t){var e;return(e={})[o]=t,e})))}var u={};return Object(s.a)(i).pipe(Object(W.a)((function(i){return bn(t[i],e,n,r).pipe(Object(y.a)((function(t){return u[i]=t,t})))}))).pipe(P(),Object(y.a)((function(){return u})))}(t._resolve,t,e,i).pipe(Object(y.a)((function(e){return t._resolvedData=e,t.data=Object(r.a)(Object(r.a)({},t.data),we(t,n).resolve),null})))}(t.route,e,n,i)})),function(t,e){return arguments.length>=2?function(n){return Object(rt.a)(X(t,e),C(1),A(e))(n)}:function(e){return Object(rt.a)(X((function(e,n,r){return t(e,n,r+1)})),C(1))(e)}}((function(t,e){return t})),Object(y.a)((function(e){return t}))):Object(a.a)(t)})))}),at((function(t){var n=new _t(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,i})),wn((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object(y.a)((function(t){var n,i,o,a=(o=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){(c=i.value)._futureSnapshot=n.value;var o=function(e,n,i){return n.children.map((function(n){var o,a;try{for(var s=Object(r.g)(i.children),u=s.next();!u.done;u=s.next()){var c=u.value;if(e.shouldReuseRoute(c.value.snapshot,n.value))return t(e,n,c)}}catch(l){o={error:l}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return t(e,n)}))}(e,n,i);return new ge(c,o)}var a=e.retrieve(n.value);if(a){var s=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ri;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Ae(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),u=s.processChildren?Ne(s.segmentGroup,s.index,a.commands):Re(s.segmentGroup,s.index,a.commands);return ke(s.segmentGroup,u,e,i,o)}(l,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(o.V)()&&this.isNgZoneEnabled&&!o.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ve(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e');$("head").append(i),window.setTimeout((function(){$("#JHAThemeColorCSS_OLD").remove()}),4e3)},t.prototype.GetTreeBackgroundColor=function(){return"transparent"},t.prototype.GetTreeBorderColor=function(){return"#ccc"},t.prototype.GetTreeSelectedColor=function(){var e="#fff";return"Onyx"===t.CurrentThemeColor?e="#fff":"Contrast"===t.CurrentThemeColor&&(e="#000"),e},t.prototype.GetTreeSelectedBackgroundColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#78a9cc":"Onyx"===t.CurrentThemeColor?e="#666":"ProfitStars"===t.CurrentThemeColor?e="#998877":"Contrast"===t.CurrentThemeColor?e="#0f0":"Steel"===t.CurrentThemeColor?e="#666":"Pear"===t.CurrentThemeColor?e="#5f7b1d":"Tangerine"===t.CurrentThemeColor?e="#e86403":"Lemon"===t.CurrentThemeColor?e="#d8ac27":"Grape"===t.CurrentThemeColor?e="#7f4580":"Rose"===t.CurrentThemeColor&&(e="#995555"),e},t.prototype.GetChartFontFamily=function(){return'"Segoe UI", Weblysleek, Arial, sans-serif'},t.prototype.GetChartFontSize=function(){return 12},t.prototype.GetChartFontColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#181830":"Onyx"===t.CurrentThemeColor?e="#fff":"Contrast"===t.CurrentThemeColor?e="#ff0":"Pear"===t.CurrentThemeColor&&(e="#1B232A"),e},t.prototype.GetChartGridColor=function(){var e="rgba(0, 0, 0, 0.1)";return"Pacific"===t.CurrentThemeColor?e="rgba(24, 24, 48, 0.1)":"Onyx"===t.CurrentThemeColor?e="rgba(255, 255, 255, 0.2)":"Contrast"===t.CurrentThemeColor?e="rgba(255, 255, 0, 0.5)":"Pear"===t.CurrentThemeColor&&(e="rgba(27, 35, 42, 0.1)"),e},t.prototype.GetSparklineColor=function(){var e="#000";return"Pacific"===t.CurrentThemeColor?e="#2b6ca0":"Onyx"===t.CurrentThemeColor?e="#8ce0f2":"ProfitStars"===t.CurrentThemeColor?e="#9c3a3f":"Contrast"===t.CurrentThemeColor?e="#f0f":"Steel"===t.CurrentThemeColor?e="#154a75":"Pear"===t.CurrentThemeColor?e="#2c8816":"Tangerine"===t.CurrentThemeColor?e="#c35513":"Lemon"===t.CurrentThemeColor?e="#7d782a":"Grape"===t.CurrentThemeColor?e="#734578":"Rose"===t.CurrentThemeColor&&(e="#bd4880"),e},t.prototype.GetChartDataSeriesColor=function(e){var n="#000";return"Pacific"===t.CurrentThemeColor?n=1===e?"#78a9cc":2===e?"#91e3db":3===e?"#9fd827":4===e?"#ba91e3":5===e?"#506c8c":6===e?"#bbbbbb":7===e?"#e3da91":8===e?"#7f4580":9===e?"#5f7b1d":"#9f7345":"Onyx"===t.CurrentThemeColor?n=1===e?"#78a9cc":2===e?"#91e3db":3===e?"#9fd827":4===e?"#ba91e3":5===e?"#506c8c":6===e?"#bbbbbb":7===e?"#e3da91":8===e?"#7f4580":9===e?"#5f7b1d":"#9f7345":"ProfitStars"===t.CurrentThemeColor?n=1===e?"#884542":2===e?"#958e65":3===e?"#9f7345":4===e?"#e3da91":5===e?"#d9a88b":6===e?"#cccccc":7===e?"#ffd659":8===e?"#ffa80a":9===e?"#666666":"#ea2700":"Contrast"===t.CurrentThemeColor?n=1===e?"#ff00ff":2===e?"#00ffff":3===e?"#ffff00":4===e?"#ff0000":5===e?"#00ff00":6===e?"#0000ff":7===e?"#999999":8===e?"#ffa80a":9===e?"#880000":"#669900":"Steel"===t.CurrentThemeColor?n=1===e?"#000000":2===e?"#19abbf":3===e?"#cccccc":4===e?"#78a9cc":5===e?"#333333":6===e?"#21e4ff":7===e?"#666666":8===e?"#9f7345":9===e?"#999999":"#ff89ce":"Pear"===t.CurrentThemeColor?n=1===e?"#669900":2===e?"#b0a309":3===e?"#a67d00":4===e?"#e4df52":5===e?"#4bE810":6===e?"#f7ff00":7===e?"#ffaf55":8===e?"#1198ff":9===e?"#10e8d3":"#ff89ce":"Lemon"===t.CurrentThemeColor?n=1===e?"#c1b52d":2===e?"#d8ac27":3===e?"#d7ea30":4===e?"#9fd827":5===e?"#ffd659":6===e?"#cccccc":7===e?"#e8724d":8===e?"#ff627e":9===e?"#da4de8":"#8844ff":"Tangerine"===t.CurrentThemeColor?n=1===e?"#ffa80a":2===e?"#e86403":3===e?"#ebd78a":4===e?"#ff350a":5===e?"#c3bd12":6===e?"#da77ff":7===e?"#846de8":8===e?"#84aeff":9===e?"#6dd7e8":"#66ffbf":"Grape"===t.CurrentThemeColor?n=1===e?"#ffbdf8":2===e?"#7f4580":3===e?"#ccabe9":4===e?"#7b80a6":5===e?"#ff89d7":6===e?"#6fafff":7===e?"#65e4e8":8===e?"#7cffba":9===e?"#74e865":"#e0ff5e":"Rose"===t.CurrentThemeColor&&(n=1===e?"#ffbde3":2===e?"#7f4567":3===e?"#7f6b77":4===e?"#ccabbe":5===e?"#ff89ce":6===e?"#ff6f30":7===e?"#e8af3c":8===e?"#fff64e":9===e?"#60e83c":"#46ffb8"),n},t.CurrentThemeColor="Pacific",t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}()},HjK1:function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("lhf0")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))})),t.splice(o,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},IUTb:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("6blF"),i=n("+tJ4"),o=n("JF+6");function a(t,e){return e?Object(o.a)(t,e):new r.a(Object(i.a)(t))}},"JF+6":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("6blF"),i=n("pugT");function o(t,e){return new r.a((function(n){var r=new i.a,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},Ji6i:function(t,e,n){"use strict";var r=n("TYT/"),i=n("Valr");function o(t,e){if(1&t&&(r.Vb(0,"span",6),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaText)}}var a=["*"],s=function(){function t(){this.jhaText="",this.jhaButtonStyle="",this.jhaButtonSize="Medium",this.jhaTooltip="",this.jhaAlignment="",this.jhaIsDisabled=!1,this.jhaWidth="auto"}return t.prototype.getButtonClasses=function(){var t="btn-primary";return"secondary"===this.jhaButtonStyle.toLowerCase()&&(t="btn-secondary"),"small"===this.jhaButtonSize.toLowerCase()&&(t+=" btn-sm"),"auto"!==this.jhaWidth&&(t+=" btn-block"),t},t.prototype.getAlignmentClass=function(){var t="";return"right"===this.jhaAlignment.toLowerCase()&&(t="dropdown-menu-right"),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-dropdown-button"]],inputs:{jhaText:"jhaText",jhaButtonStyle:"jhaButtonStyle",jhaButtonSize:"jhaButtonSize",jhaTooltip:"jhaTooltip",jhaAlignment:"jhaAlignment",jhaIsDisabled:"jhaIsDisabled",jhaWidth:"jhaWidth"},ngContentSelectors:a,decls:7,vars:7,consts:[[1,"dropdown"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","dropdown-toggle",3,"disabled","ngClass"],[1,"jha-dropdown-button-content-container"],["class","jha-dropdown-button-content",4,"ngIf"],[1,"caret","jha-dropdown-button-caret"],[1,"dropdown-menu",3,"ngClass"],[1,"jha-dropdown-button-content"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"button",1),r.Vb(2,"div",2),r.Ac(3,o,2,1,"span",3),r.Qb(4,"span",4),r.Ub(),r.Ub(),r.Vb(5,"ul",5),r.jc(6),r.Ub(),r.Ub()),2&t&&(r.zc("width",e.jhaWidth),r.Cb("title",e.jhaTooltip?e.jhaTooltip:null),r.Bb(1),r.lc("disabled",e.jhaIsDisabled)("ngClass",e.getButtonClasses()),r.Bb(2),r.lc("ngIf",e.jhaText),r.Bb(2),r.lc("ngClass",e.getAlignmentClass()))},directives:[i.i,i.k],encapsulation:2}),t}(),u=n("DUip");function c(t,e){}var l=function(t){return{disabled:t}};function h(t,e){if(1&t&&(r.Vb(0,"a",5),r.Ac(1,c,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),i=r.sc(7);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.oc(3,l,n.jhaIsDisabled)),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function p(t,e){}function f(t,e){if(1&t&&(r.Vb(0,"a",8),r.Ac(1,p,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(2),i=r.sc(7);r.lc("ngClass",r.oc(4,l,n.jhaIsDisabled)),r.Cb("href",n.jhaExternalUrl,r.xc)("target",1==n.jhaExternalUrlInNewWindow?"_blank":null),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function d(t,e){if(1&t&&r.Ac(0,f,2,6,"a",7),2&t){var n=r.gc(),i=r.sc(5);r.lc("ngIf",n.jhaExternalUrl)("ngIfElse",i)}}function g(t,e){}function m(t,e){if(1&t&&(r.Vb(0,"a",9),r.Ac(1,g,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),i=r.sc(7);r.lc("ngClass",r.oc(2,l,n.jhaIsDisabled)),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function y(t,e){if(1&t&&r.Cc(0),2&t){var n=r.gc();r.Ec(" ",n.jhaText," ")}}var v,b=function(){function t(){this.jhaText="",this.jhaTooltip="",this.jhaIsDisabled=!1,this.jhaRouterLink="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-button-menu-option"]],inputs:{jhaText:"jhaText",jhaTooltip:"jhaTooltip",jhaIsDisabled:"jhaIsDisabled",jhaRouterLink:"jhaRouterLink",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow"},decls:8,vars:6,consts:[["role","presentation",3,"ngClass"],["ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","ngClass",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaNoAnchor",""],["dropdownOptionContent",""],["ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","ngClass"],[3,"ngTemplateOutlet"],["role","menuitem","tabindex","0",3,"ngClass",4,"ngIf","ngIfElse"],["role","menuitem","tabindex","0",3,"ngClass"],["href","javascript:;","role","menuitem","tabindex","0",3,"ngClass"]],template:function(t,e){if(1&t&&(r.Vb(0,"li",0),r.Ac(1,h,2,5,"a",1),r.Ac(2,d,1,2,"ng-template",null,2,r.Bc),r.Ac(4,m,2,4,"ng-template",null,3,r.Bc),r.Ac(6,y,1,1,"ng-template",null,4,r.Bc),r.Ub()),2&t){var n=r.sc(3);r.lc("ngClass",r.oc(4,l,e.jhaIsDisabled)),r.Cb("title",e.jhaTooltip?e.jhaTooltip:null),r.Bb(1),r.lc("ngIf",e.jhaRouterLink)("ngIfElse",n)}},directives:[i.i,i.k,u.h,i.m],encapsulation:2}),t}(),w=function(){function t(){this.jhaIconType="",this.jhaSize=""}return t.prototype.getSize=function(){return this.jhaSize?this.jhaSize:"14px"},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-icon"]],inputs:{jhaIconType:"jhaIconType",jhaSize:"jhaSize"},decls:1,vars:9,template:function(t,e){1&t&&r.Qb(0,"i"),2&t&&(r.Eb("xj-icon-",e.jhaIconType,""),r.zc("width",e.getSize())("height",e.getSize())("font-size",e.getSize()))},encapsulation:2}),t}(),_=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t}(),j=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b,u.i,_]]}),t}(),C=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),T={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},S="undefined"!=typeof window&&window||{};function E(){return void 0===S||(void 0===S.__theme?v?"bs3"===v:"bs3"===(v=function(){if("undefined"==typeof document)return null;var t=document.createElement("span");t.innerText="test bs version",document.body.appendChild(t),t.classList.add("d-none");var e=t.getBoundingClientRect();return document.body.removeChild(t),e&&0===e.top?"bs4":"bs3"}()):"bs4"!==S.__theme)}var x=function(){function t(){}return t.reflow=function(t){},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=S),e.getComputedStyle(t)},t}();"undefined"==typeof console||console;var k=n("mrSG"),O=n("K9Ia"),A=n("p0ib"),I=n("6blF"),R=n("isby"),N=n("2Bdj"),P=n("67Y/");function D(t,e,n,r){return Object(N.a)(n)&&(r=n,n=void 0),r?D(t,e,n).pipe(Object(P.a)((function(t){return Object(R.a)(t)?r.apply(void 0,t):r(t)}))):new I.a((function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var u=e;e.on(n,r),a=function(){return u.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var c=e;e.addListener(n,r),a=function(){return c.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l1?Array.prototype.slice.call(arguments):t)}),r,n)}))}var L=n("F/XL"),F=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return k.c(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return k.c(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a)),U=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return k.c(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(F),M=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),B=function(t){function e(n,r){void 0===r&&(r=M.now);var i=t.call(this,n,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return k.c(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(M),V=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.c(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r=n.clientWidth&&t.height>=n.clientHeight})),h=(l=l.filter((function(t){return i.some((function(e){return e===t.key}))}))).length>0?l[0].key:c[0].key,p=t.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+h),h+(p?"-"+p:"")}function ct(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:Number(t.offsetWidth)+r,height:Number(t.offsetHeight)+n}}function lt(t,e,n){return void 0===n&&(n=null),ot(e,n?at(t):Z(t,e),n)}function ht(t,e,n){var r=n.split(" ")[0],i=ct(t),o={width:i.width,height:i.height},a=-1!==["right","left"].indexOf(r),s=a?"top":"left",u=a?"left":"top",c=a?"height":"width",l=a?"width":"height";return o[s]=e[s]+e[c]/2-i[c]/2,o[u]=r===u?e[u]-i[l]:e[function(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}(u)],o}function pt(t,e){return t&&t.modifiers&&t.modifiers[e]&&t.modifiers[e].enabled}function ft(t,e,n){Object.keys(e).forEach((function(r){var i,o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&""!==(i=e[r])&&!isNaN(parseFloat(i))&&isFinite(i)&&(o="px"),n?n.setStyle(t,r,""+String(e[r])+o):t.style[r]=String(e[r])+o}))}function dt(t){var e,n=t.offsets.target,r=t.instance.target.querySelector(".arrow");if(!r)return t;var i=-1!==["left","right"].indexOf(t.placement),o=i?"height":"width",a=i?"Top":"Left",s=a.toLowerCase(),u=i?"left":"top",c=i?"bottom":"right",l=ct(r)[o];t.offsets.host[c]-ln[c]&&(n[s]+=Number(t.offsets.host[s])+Number(l)-Number(n[c])),n=rt(n);var h=Number(t.offsets.host[s])+Number(t.offsets.host[o]/2-l/2),p=H(t.instance.target),f=parseFloat(p["margin"+a]),d=parseFloat(p["border"+a+"Width"]),g=h-n[s]-f-d;return g=Math.max(Math.min(n[o]-l,g),0),t.offsets.arrow=((e={})[s]=Math.round(g),e[u]="",e),t.instance.arrow=r,t}function gt(t){if(t.offsets.target=rt(t.offsets.target),!pt(t.options,"flip"))return t.offsets.target=Object(k.a)({},t.offsets.target,ht(t.instance.target,t.offsets.host,t.placement)),t;var e=st(t.instance.target,t.instance.host,0,"viewport",!1),n=t.placement.split(" ")[0],r=t.placement.split(" ")[1]||"",i=ut("auto",t.offsets.host,t.instance.target,t.instance.host,t.options.allowedPositions),o=[n,i];return o.forEach((function(i,a){if(n!==i||o.length===a+1)return t;var s="left"===(n=t.placement.split(" ")[0])&&Math.floor(t.offsets.target.right)>Math.floor(t.offsets.host.left)||"right"===n&&Math.floor(t.offsets.target.left)Math.floor(t.offsets.host.top)||"bottom"===n&&Math.floor(t.offsets.target.top)Math.floor(e.right),l=Math.floor(t.offsets.target.top)Math.floor(e.bottom),p="left"===n&&u||"right"===n&&c||"top"===n&&l||"bottom"===n&&h,f=-1!==["top","bottom"].indexOf(n),d=f&&"left"===r&&u||f&&"right"===r&&c||!f&&"left"===r&&l||!f&&"right"===r&&h;(s||p||d)&&((s||p)&&(n=o[a+1]),d&&(r=function(t){return"right"===t?"left":"left"===t?"right":t}(r)),t.placement=n+(r?" "+r:""),t.offsets.target=Object(k.a)({},t.offsets.target,ht(t.instance.target,t.offsets.host,t.placement)))})),t}function mt(t){if(!pt(t.options,"preventOverflow"))return t;var e=t.instance.target.style,n=e.top,r=e.left,i=e.transform;e.top="",e.left="",e.transform="";var o=st(t.instance.target,t.instance.host,0,"scrollParent",!1);e.top=n,e.left=r,e.transform=i;var a,s={primary:function(e){var n,r=t.offsets.target[e];return t.offsets.target[e]o[e]&&(i=Math.min(t.offsets.target[r],o[e]-("right"===e?t.offsets.target.width:t.offsets.target.height))),(n={})[r]=i,n}};return["left","right","top","bottom"].forEach((function(e){a=-1!==["left","top"].indexOf(e)?"primary":"secondary",t.offsets.target=Object(k.a)({},t.offsets.target,s[a](e))})),t}function yt(t){var e,n,r=t.placement,i=r.split(" ")[0],o=r.split(" ")[1];if(o){var a=t.offsets,s=a.host,u=a.target,c=-1!==["bottom","top"].indexOf(i),l=c?"left":"top",h=c?"width":"height",p={start:(e={},e[l]=s[l],e),end:(n={},n[l]=s[l]+s[h]-u[h],n)};t.offsets.target=Object(k.a)({},u,p[o])}return t}var vt=new(function(){function t(){}return t.prototype.position=function(t,e,n){return this.offset(t,e,!1)},t.prototype.offset=function(t,e,n){return lt(e,t)},t.prototype.positionElements=function(t,e,n,r,i){return[gt,yt,mt,dt].reduce((function(t,e){return e(t)}),function(t,e,n,r){var i=lt(t,e);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");var o=!!n.match(/auto/g),a=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;return{options:r,instance:{target:t,host:e,arrow:null},offsets:{target:ht(t,i,a),host:i,arrow:null},positionFixed:!1,placement:a=ut(a,i,t,e,r?r.allowedPositions:void 0),placementAuto:o}}(e,t,n,i))},t}()),bt=function(){function t(t,e,n){var r=this;this.update$$=new O.a,this.positionElements=new Map,this.isDisabled=!1,Object(i.q)(n)&&t.runOutsideAngular((function(){r.triggerEvent$=Object(A.a)(D(window,"scroll",{passive:!0}),D(window,"resize",{passive:!0}),Object(L.a)(0,V),r.update$$),r.triggerEvent$.subscribe((function(){r.isDisabled||r.positionElements.forEach((function(t){var n,i,o,a,s,u,c,l;n=wt(t.target),i=wt(t.element),o=t.attachment,a=t.appendToBody,s=r.options,u=e.createRenderer(null,null),ft(i,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d("+(l=function(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left),top:Math.round(t.offsets.target.top),bottom:Math.round(t.offsets.target.bottom),right:Math.floor(t.offsets.target.right)}}(c=vt.positionElements(n,i,o,a,s))).left+"px, "+l.top+"px, 0px)"},u),c.instance.arrow&&ft(c.instance.arrow,c.offsets.arrow,u),function(t,e){var n=t.instance.target,r=n.className;t.placementAuto&&(-1!==(r=(r=(r=r.replace(/bs-popover-auto/g,"bs-popover-"+t.placement)).replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement)).replace(/\sauto/g," "+t.placement)).indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom/g,""+t.placement.split(" ")[0]),e?e.setAttribute(n,"class",r):n.className=r}(c,u)}))}))}))}return t.prototype.position=function(t){this.addPositionElement(t)},Object.defineProperty(t.prototype,"event$",{get:function(){return this.triggerEvent$},enumerable:!0,configurable:!0}),t.prototype.disable=function(){this.isDisabled=!0},t.prototype.enable=function(){this.isDisabled=!1},t.prototype.addPositionElement=function(t){this.positionElements.set(wt(t.element),t)},t.prototype.calcPosition=function(){this.update$$.next()},t.prototype.deletePositionElement=function(t){this.positionElements.delete(wt(t))},t.prototype.setOptions=function(t){this.options=t},t.\u0275fac=function(e){return new(e||t)(r.ac(r.z),r.ac(r.E),r.ac(r.B))},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function wt(t){return"string"==typeof t?document.querySelector(t):t instanceof r.l?t.nativeElement:t}var _t=function(){return function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}(),jt=function(){function t(t,e,n,i,o,a,s,u){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=i,this._componentFactoryResolver=o,this._ngZone=a,this._applicationRef=s,this._posService=u,this.onBeforeShow=new r.n,this.onShown=new r.n,this.onBeforeHide=new r.n,this.onHidden=new r.n,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!this._isHiding&&!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);var e=r.r.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof r.l&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){this.isShown?this.hide():this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():void e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()};return this._unregisterListenersFn=function(t,e){var n=function(t,e){void 0===e&&(e=T);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map((function(t){return t.split(":")})).map((function(t){var n=e[t[0]]||t;return new C(n[0],n[1])})),i=r.filter((function(t){return t.isManual()}));if(i.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===i.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}(e.triggers),r=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],o=[],a=function(){o.forEach((function(t){return i.push(t())})),o.length=0};return n.forEach((function(n){var s=n.open===n.close,u=s?e.toggle:e.show;s||o.push((function(){return t.listen(r,n.close,e.hide)})),i.push(t.listen(r,n.open,(function(){return u(a)})))})),function(){i.forEach((function(t){return t()}))}}(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:function(t){e.isShown?n():r(t)}}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout((function(){var n;t._globalListener=(n={targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}}).outsideClick?t._renderer.listen("document","click",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype}))}var n;this._listenOpts.outsideEsc&&(this._globalListener=(n={targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return t._listenOpts.hide()}}).outsideEsc?this._renderer.listen("document","keyup.esc",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype)}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe((function(){t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((function(){t._componentRef&&t._posService.calcPosition()})))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e,n){if(!t)return new _t([]);if(t instanceof r.K){if(this._viewContainerRef){var i=this._viewContainerRef.createEmbeddedView(t,e);return i.markForCheck(),new _t([i.rootNodes],i)}var o=t.createEmbeddedView({});return this._applicationRef.attachView(o),new _t([o.rootNodes],o)}if("function"==typeof t){var a=this._componentFactoryResolver.resolveComponentFactory(t),s=r.r.create({providers:this._providers,parent:this._injector}),u=a.create(s);return Object.assign(u.instance,n),this._applicationRef.attachView(u.hostView),new _t([[u.location.nativeElement]],u.hostView,u)}return new _t([[this._renderer.createText(""+t)]])},t}(),Ct=function(){function t(t,e,n,r,i){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=r,this._applicationRef=i}return t.prototype.createLoader=function(t,e,n){return new jt(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)},t.\u0275fac=function(e){return new(e||t)(r.ac(r.j),r.ac(r.z),r.ac(r.r),r.ac(bt),r.ac(r.g))},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Tt=["*"],St=function(){function t(){this.hide=Function,this.setClass=Function}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Et=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),xt={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},kt=function(){function t(t,e,n){this._element=e,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},t)}return t.prototype.ngOnInit=function(){var t=this;this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((function(){t.isShown=!0,t._renderer.addClass(t._element.nativeElement,E()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()},t.prototype.onClickStarted=function(t){this.clickStartedInContent=t.target!==this._element.nativeElement},t.prototype.onClickStop=function(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())},t.prototype.onEsc=function(t){this.isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))},t.prototype.ngOnDestroy=function(){this.isShown&&this.hide()},t.prototype.hide=function(){var t=this;!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,E()?"in":"show"),setTimeout((function(){t.isShown=!1,document&&document.body&&1===t.bsModalService.getModalsCount()&&t._renderer.removeClass(document.body,"modal-open"),t.bsModalService.hide(t.level),t.isModalHiding=!1}),this.isAnimated?300:0))},t.\u0275fac=function(e){return new(e||t)(r.Ob(Et),r.Ob(r.l),r.Ob(r.D))},t.\u0275cmp=r.Ib({type:t,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:1,hostBindings:function(t,e){1&t&&r.ec("mousedown",(function(t){return e.onClickStarted(t)}))("mouseup",(function(t){return e.onClickStop(t)}))("keydown.esc",(function(t){return e.onEsc(t)}),!1,r.uc),2&t&&r.Cb("aria-modal",!0)},ngContentSelectors:Tt,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"div",1),r.jc(2),r.Ub(),r.Ub()),2&t&&r.Db("modal-dialog"+(e.config.class?" "+e.config.class:""))},encapsulation:2}),t}(),Ot=function(){function t(t,e){this._isShown=!1,this.element=t,this.renderer=e}return Object.defineProperty(t.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(t){this._isAnimated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},set:function(t){this._isShown=t,t?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),E()||(t?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),x.reflow(this.element.nativeElement)),this.isShown=!0},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.D))},t.\u0275cmp=r.Ib({type:t,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),At=function(){function t(t,e){this.clf=e,this.config=xt,this.onShow=new r.n,this.onShown=new r.n,this.onHide=new r.n,this.onHidden=new r.n,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=t.createRenderer(null,null)}return t.prototype.show=function(t,e){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},xt,e),this._showBackdrop(),this.lastDismissReason=null,this._showModal(t)},t.prototype.hide=function(t){var e=this;1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout((function(){e._hideModal(t),e.removeLoaders(t)}),this.config.animated?150:0)},t.prototype._showBackdrop=function(){var t=this.config.backdrop||"static"===this.config.backdrop,e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),t&&e&&(this._backdropLoader.attach(Ot).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))},t.prototype._hideBackdrop=function(){var t=this;this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((function(){return t.removeBackdrop()}),this.config.animated?150:0))},t.prototype._showModal=function(t){var e=this,n=this.loaders[this.loaders.length-1],r=new St,i=n.provide({provide:Et,useValue:this.config}).provide({provide:St,useValue:r}).attach(kt).to("body").show({content:t,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return i.instance.level=this.getModalsCount(),r.hide=function(){setTimeout((function(){return i.instance.hide()}),e.config.animated?300:0)},r.content=n.getInnerComponent()||null,r.setClass=function(t){i.instance.config.class=t},r},t.prototype._hideModal=function(t){var e=this.loaders[t-1];e&&e.hide()},t.prototype.getModalsCount=function(){return this.modalsCount},t.prototype.setDismissReason=function(t){this.lastDismissReason=t},t.prototype.removeBackdrop=function(){this._backdropLoader.hide(),this.backdropRef=null},t.prototype.checkScrollbar=function(){this.isBodyOverflowing=document.body.clientWidthYt.MaxPhoneWidth){var t=!1,e=!1;$(document).on("mouseenter",".jha-main-nav",(function(){$("body").hasClass("jha-nav-forced-open")||$("html").hasClass("jha-ios")||$("html").hasClass("jha-android")||(t=!0,event.stopPropagation(),window.setTimeout((function(){t&&(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-hovered"))}),100))})),$(document).on("mouseleave",".jha-main-nav",(function(){$("body").hasClass("jha-nav-forced-open")||!1!==e||$(".jha-mega-menu-button a").hasClass("hover")||$("html").hasClass("jha-ios")||$("html").hasClass("jha-android")||(t=!1,event.stopPropagation(),window.setTimeout((function(){t||($(".jha-main-wrapper > .jha-mega-menu").length&&$(".jha-main-wrapper > .jha-mega-menu").remove(),$("body").stop(!0,!0).addClass("jha-nav-collapsed").removeClass("jha-nav-hovered"))}),150))})),$(document).on("mouseenter",".jha-main-wrapper .jha-mega-menu",(function(){e=!0})),$(document).on("mouseleave",".jha-main-wrapper .jha-mega-menu",(function(){e=!1}))}},t.prototype.backButtonClick=function(){this.jhaBackButtonClicked.emit()},t.prototype.hamburgerButtonClick=function(){var t=!1;if(window.innerWidth<=Yt.MaxPhoneWidth)t=!$("body").hasClass("jha-nav-expanded-phone"),$("body").toggleClass("jha-nav-expanded-phone");else if($("body").hasClass("jha-nav-collapsed"))t=!0,document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-forced-open");else if(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-forced-open"),$(".jha-main-wrapper > .jha-mega-menu").length){var e=$(".jha-mega-menu-button a.hover"),n=e.parent(),r=$(".jha-main-wrapper > .jha-mega-menu"),i=r.find("jha-mega-menu-group"),o=r.find("jha-mega-menu-template"),a=r.find("jha-xperience-mega-menu-template"),s=r.find("jha-mega-menu-item");r.has("jha-mega-menu-col")&&(i.length>0?i.each((function(){$(this).appendTo(r)})):o.length>0?o.each((function(){$(this).appendTo(r)})):a.length>0?a.each((function(){$(this).appendTo(r)})):s.each((function(){$(this).appendTo(r)})),$("jha-mega-menu-col").remove()),r.appendTo(n),e.removeClass("hover")}this.jhaNavToggled.next(t?"Expanded":"Collapsed")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-left"]],inputs:{jhaDisplayBackButton:"jhaDisplayBackButton"},outputs:{jhaBackButtonClicked:"jhaBackButtonClicked",jhaNavToggled:"jhaNavToggled"},ngContentSelectors:Xt,decls:6,vars:1,consts:[[1,"jha-header-left"],[1,"jha-header-left-hamburger-button"],["jha-hamburger-button","","type","button","role","button","aria-label","Toggle menu","title","Expand/collapse options",1,"nav-toggle",3,"click"],["class","jha-header-left-back-button",4,"ngIf"],[1,"jha-header-left-options"],[1,"jha-header-left-back-button"],["type","button","role","button","aria-label","Back","title","Go back",1,"jha-back-button",3,"click"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"div",1),r.Vb(2,"button",2),r.ec("click",(function(){return e.hamburgerButtonClick()})),r.Ub(),r.Ub(),r.Ac(3,Zt,2,0,"div",3),r.Vb(4,"div",4),r.jc(5),r.Ub(),r.Ub()),2&t&&(r.Bb(3),r.lc("ngIf",e.jhaDisplayBackButton))},directives:[i.k],encapsulation:2}),t}(),ee=function(){return function(t,e){this.message=t,this.payload=e}}(),ne=function(){function t(){this.Stream=new O.a}return t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),re=function(){function t(t){this.pubSubService=t,this.jhaRowHeight=-1}return t.prototype.attachMegaMenu=function(t){var e=$(event.target),n=$(e).closest(".jha-mega-menu-button"),r=n.children("a"),i=n.find(".jha-mega-menu"),o="nav";i.parents(".jha-main-header").length?o="header":i.parents(".jha-xperience-bar").length&&(o="xperience"),window.innerWidth>Yt.MaxPhoneWidth?r.hasClass("hover")?this.detachMegaMenu():($(".jha-main-wrapper > .jha-mega-menu").length&&this.detachMegaMenu(),r.addClass("hover"),i.appendTo(".jha-main-wrapper"),this.resizeMegaMenu(o)):r.hasClass("open")?(r.removeClass("open"),i.slideUp()):(r.addClass("open"),i.slideDown())},t.prototype.detachMegaMenu=function(){var t=$(".jha-mega-menu-button a.hover"),e=t.parent(),n=$(".jha-main-wrapper > .jha-mega-menu"),r=n.find("jha-mega-menu-group"),i=n.find("jha-mega-menu-template"),o=n.find("jha-xperience-mega-menu-template"),a=n.find("jha-mega-menu-item");n.has("jha-mega-menu-col")&&(r.length>0?r.each((function(){$(this).appendTo(n)})):i.length>0?i.each((function(){$(this).appendTo(n)})):o.length>0?o.each((function(){$(this).appendTo(n)})):a.each((function(){$(this).appendTo(n)})),$("jha-mega-menu-col").remove()),n.appendTo(e),t.removeClass("hover"),e.data("menu")&&this.pubSubService.Stream.next(new ee("JHA_MEGAMENU_DETACHED",e.data("menu")))},t.prototype.resizeMegaMenu=function(t){if(void 0===t&&(t="nav"),$(".jha-main-wrapper > .jha-mega-menu").length){var e,n=$(".jha-main-wrapper > .jha-mega-menu"),r=0;if(n.data("origLoc")?t=n.data("origLoc"):n.data("origLoc",t),n.data("rowheight")&&(this.jhaRowHeight=n.data("rowheight")),e=-1!==n.data("colwidth")?n.data("colwidth")-10:190,"nav"===t){n.find("> jha-mega-menu-group > li, > jha-mega-menu-item > li, > jha-mega-menu-template > li, > jha-xperience-mega-menu-template > li").width(e);var i=n.children().last();-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),$(".jha-nav-menu").height()>$(".jha-nav.jha-scroll").height()?(r=$(".jha-main-nav").width()-12,$("html").hasClass("jha-ie11")?r-=5:$("html").hasClass("jha-ie13")&&(r-=5),n.css({left:r})):(r=$(".jha-main-nav").width(),n.css({left:r}));var o=190;void 0!==i&&0!==i.length&&(o=i.position().left+e+5),n.width(o),n.addClass("jha-animate-menu")}else if("xperience"===t)n.find("> jha-mega-menu-group > li, > jha-mega-menu-item > li, > jha-mega-menu-template > li, > jha-xperience-mega-menu-template > li").width(e),i=n.children().last(),-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),r=$(".jha-xperience-bar").width(),n.css({right:r}),o=190,void 0!==i&&0!==i.length&&(o=i.position().left+e+5),n.css({left:"auto"}),n.width(o),n.addClass("jha-animate-menu");else{var a,s=n.find("jha-mega-menu-group"),u=s.length,c=0,l=0,h=0,p=0,f=0,d=0,g=0,m=-1,y=-1,v=$(window).outerWidth();if(a=Math.floor(v/(e+10)),u>0)s.each((function(){var t,e=$(this).find("jha-mega-menu-item").length;t=0===$(this).children("li").children("div").length&&0===$(this).children("li").children("a").length?0:35,f+=e,m=m>(l=35*e+35+t)?m:l})),d=f/a,a>=u?(n.has("jha-mega-menu-col")&&(s.each((function(){$(this).appendTo(n)})),$("jha-mega-menu-col").remove()),n.height(m-25)):s.each((function(){var t,e=$(this).find("jha-mega-menu-item").length,r=$("");t=0===$(this).children("li").children("div").length&&0===$(this).children("li").children("a").length?0:35,l=35*e+35+t,0===h&&(n.empty().append(r),h++),0===c?($(this).appendTo(n.find("jha-mega-menu-col:last-of-type")),p=l,c=e):c+e>Math.ceil(d)+2?(hp?y:p)-25)}));else{var b=n.find("jha-mega-menu-item");b.length>0?g=35:((b=n.find("jha-mega-menu-template")).length<1&&(b=n.find("jha-xperience-mega-menu-template")),g=-1!==this.jhaRowHeight?Number(this.jhaRowHeight):100),d=b.length/a,b.each((function(){var t=$("");0===h&&(n.empty().append(t),h++),0===c?($(this).appendTo(n.find("jha-mega-menu-col:last-of-type")),p=g,c=1):c>=Math.ceil(d)?(hp?y:p)+10)}))}n.css("flex-flow","row nowrap"),n.find("jha-mega-menu-group > li, jha-mega-menu-item > li, jha-mega-menu-template > li, jha-xperience-mega-menu-template > li").width(e),-1!==this.jhaRowHeight&&(n.find("jha-mega-menu-template > li").height(this.jhaRowHeight),n.find("jha-xperience-mega-menu-template > li").height(this.jhaRowHeight)),0===n.children().length&&n.height(190),n.css("width",v+"px"),n.addClass("jha-animate-menu")}}},t.\u0275fac=function(e){return new(e||t)(r.ac(ne))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),ie=n("FFOo"),oe=(n("MGBS"),n("zotm"),{leading:!0,trailing:!1}),ae=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new se(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),se=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=i,a.trailing=o,a._hasTrailingValue=!1,a._trailingValue=null,a}return k.c(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(ue,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,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 t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(ie.a);function ue(t){t.subscriber.clearThrottle()}var ce=function(){function t(t){var e,n;this.megaMenuService=t,this.resizeSubject=new O.a,this.resizeObservable=this.resizeSubject.asObservable().pipe((void 0===e&&(e=Rt),void 0===n&&(n=oe),function(t){return t.lift(new ae(150,e,n.leading,n.trailing))}))}return t.prototype.onClick=function(t){this.megaMenuService.attachMegaMenu(t)},t.prototype.onDocClick=function(t){$(t).closest(".jha-main-wrapper .jha-mega-menu").length&&($(t).closest(".jha-is-clickable").length||$(t).closest("a").length||$(t).closest("jha-mega-menu-item div").length||$(t).closest("jha-mega-menu-template li:not(.jha-is-not-clickable) div").length||$(t).closest("jha-xperience-mega-menu-template li:not(.jha-is-not-clickable) div").length)&&this.megaMenuService.detachMegaMenu()},t.prototype.onResize=function(t){this.resizeSubject.next()},t.prototype.keyEvent=function(t){13===t.keyCode&&(this.megaMenuService.attachMegaMenu(t),$(".jha-main-wrapper > .jha-mega-menu").find("a[href]:first").focus())},t.prototype.ngOnInit=function(){var t=this;this.resizeObservable.subscribe((function(e){return t.megaMenuService.resizeMegaMenu()}))},t.\u0275fac=function(e){return new(e||t)(r.Ob(re))},t.\u0275dir=r.Jb({type:t,selectors:[["","jhaMegaMenu",""]],hostBindings:function(t,e){1&t&&r.ec("click",(function(t){return e.onClick(t)}))("click",(function(t){return e.onDocClick(t.target)}),!1,r.tc)("resize",(function(t){return e.onResize(t)}),!1,r.uc)("keyup",(function(t){return e.keyEvent(t)}))},features:[r.Ab([re])]}),t}(),le=["*"],he=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-right"]],ngContentSelectors:le,decls:3,vars:0,consts:[[1,"jha-header-right"],[1,"nav","navbar-nav"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.Vb(1,"ul",1),r.jc(2),r.Ub(),r.Ub())},encapsulation:2}),t}(),pe=function(){function t(){this.jhaText=""}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-text"]],inputs:{jhaText:"jhaText"},decls:3,vars:1,consts:[[1,"jha-header-text"]],template:function(t,e){1&t&&(r.Vb(0,"li"),r.Vb(1,"span",0),r.Cc(2),r.Ub(),r.Ub()),2&t&&(r.Bb(2),r.Dc(e.jhaText))},encapsulation:2}),t}();function fe(t,e){if(1&t&&(r.Tb(0),r.Vb(1,"span",4),r.Cc(2),r.Ub(),r.Vb(3,"span",5),r.Cc(4),r.Ub(),r.Sb()),2&t){var n=r.gc();r.Bb(2),r.Dc(n.jhaTitle),r.Bb(2),r.Dc(n.jhaPhoneTitle)}}function de(t,e){if(1&t&&r.Cc(0),2&t){var n=r.gc();r.Dc(n.jhaTitle)}}var ge=function(){function t(){this.jhaTitle="",this.jhaPhoneTitle=""}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-header-title"]],inputs:{jhaTitle:"jhaTitle",jhaPhoneTitle:"jhaPhoneTitle"},decls:5,vars:2,consts:[[1,"logo"],[1,"logo-text","navbar-brand","logo-lg"],[4,"ngIf","ngIfElse"],["noPhoneTitle",""],[1,"jha-hidden-phone"],[1,"jha-visible-phone"]],template:function(t,e){if(1&t&&(r.Vb(0,"span",0),r.Vb(1,"span",1),r.Ac(2,fe,5,2,"ng-container",2),r.Ac(3,de,1,1,"ng-template",null,3,r.Bc),r.Ub(),r.Ub()),2&t){var n=r.sc(4);r.Bb(2),r.lc("ngIf",e.jhaPhoneTitle)("ngIfElse",n)}},directives:[i.k],encapsulation:2}),t}(),me=function(){function t(t,e){var n=this;this.injector=e,this.IsTouchDevice=!1,this.InternetExplorerVersion=-1,this.IsIos=!1,this.IsAndroid=!1,t.events.forEach((function(t){if(t instanceof u.c){if(document.body.classList.remove("jha-nav-expanded-phone"),$(".jha-main-wrapper > .jha-mega-menu").length&&n.closeMegaMenus(),window.innerWidth<=Yt.MaxPhoneWidth){var e=$(".jha-mega-menu-button"),r=e.children("a"),i=e.find(".jha-mega-menu");r.hasClass("open")&&(r.removeClass("open"),i.hide())}var o=document.getElementsByClassName("jha-floating-toolbar")[0];$(o).removeClass("jha-floating-toolbar-shown")}t instanceof u.b&&window.setTimeout((function(){var t=document.getElementById("jha-main-scroll-container");t&&(t.scrollTop=0),$("body").hasClass("jha-nav-hovered")&&(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered"))}),100)}))}return t.prototype.InitApp=function(){this.InitAppAll(!1,!1)},t.prototype.InitAppPlugIn=function(){this.InitAppAll(!0,!1)},t.prototype.InitXperienceApp=function(){this.InitAppAll(!1,!0)},t.prototype.InitAppAll=function(t,e){var n=this;if(document.body.classList.add("jha-responsive-version-"+Yt.ControlsVersion.replace(/\./g,"-")),e?(document.body.classList.add("jha-xp-overlay-shown"),document.body.classList.add("jha-xperience-collapsed"),document.body.classList.add("jha-xperience")):(document.body.classList.remove("jha-xp-overlay-shown"),document.body.classList.remove("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience")),this.IsTouchDevice="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,("apps.facebook.com"===window.location.host||window.screen.width>1279&&1===window.devicePixelRatio||window.screen.width>1e3&&window.innerWidth<.9*window.screen.width)&&(this.IsTouchDevice=!1),this.IsTouchDevice?document.getElementsByTagName("html")[0].classList.add("jha-touch"):document.getElementsByTagName("html")[0].classList.add("jha-no-touch"),this.InternetExplorerVersion=-1,"Microsoft Internet Explorer"===navigator.appName){var r=navigator.userAgent;null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(r)&&(this.InternetExplorerVersion=parseFloat(RegExp.$1))}else if("Netscape"===navigator.appName){r=navigator.userAgent,null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(r)&&(this.InternetExplorerVersion=parseFloat(RegExp.$1));var i=r.indexOf("Edge/");i>0&&(this.InternetExplorerVersion=parseInt(r.substring(i+5,r.indexOf(".",i)),10))}if(this.InternetExplorerVersion>=9&&$("html").addClass("jha-ie jha-ie"+this.InternetExplorerVersion),this.IsIos=/iPad|iPhone|iPod/.test(navigator.platform),this.IsIos&&$("html").addClass("jha-ios"),this.IsAndroid=navigator.userAgent.indexOf("Android")>-1&&navigator.userAgent.indexOf("Mozilla/5.0")>-1&&navigator.userAgent.indexOf("AppleWebKit")>-1,this.IsAndroid&&$("html").addClass("jha-android"),void 0===window.Cordova&&void 0===window.cordova||$("html").addClass("jha-cordova"),D(document,"deviceready").subscribe((function(t){return $("html").addClass("jha-cordova")})),!t){var o=this;$("body").append($('
')),$(document).ready((function(){document.body.classList.remove("jha-preload"),$("#jha-main-scroll-container").append('
'),$(".jha-scroll").on("scroll",(function(){-$("jha-function-view").position().top>=220?$("#jha-back-to-top").fadeIn(300):$("#jha-back-to-top").fadeOut(200)})),$("body").on("click","#jha-back-to-top a",(function(t){t.preventDefault(),$(".jha-scroll").animate({scrollTop:0},250)})),$.fn.modal.prototype.constructor.Constructor.DEFAULTS.backdrop="static",$("body").on("click",(function(t){$(t.target).closest(".jha-mega-menu").length||$(t.target).closest(".jha-mega-menu-button").length||$(t.target).hasClass("btn-xperience")||($(".jha-main-wrapper > .jha-mega-menu").length&&o.closeMegaMenus(),$("body").hasClass("jha-nav-forced-open")||$(t.target).closest(".jha-main-nav").length||(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")),$("body").hasClass("jha-xperience-forced-open")||$(t.target).closest(".jha-main-nav").length||(document.body.classList.add("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience-hovered")))}))})),window.addEventListener("keydown",(function(t){27===t.which&&($(".jha-main-wrapper > .jha-mega-menu").length&&n.closeMegaMenus(),$("body").hasClass("jha-nav-forced-open")||(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")),$("body").hasClass("jha-xperience-forced-open")||(document.body.classList.add("jha-xperience-collapsed"),document.body.classList.remove("jha-xperience-hovered")))})),document.body.addEventListener("contextmenu",(function(t){for(var e=document.getElementsByClassName("ui-contextmenu"),n=0,r=e.length;n=0&&(this.countdownTimer=setInterval((function(){r.UpdateCountdown()}),1e3))},t.prototype.HideSessionTimeout=function(){this.KillCountdownTimer(),this.sessionTimeoutSource.next({isVisible:!1})},t.prototype.ExtendSession=function(){this.HideSessionTimeout(),this.extendCallbackFunc()},t.prototype.LogOutSession=function(){this.HideSessionTimeout(),this.logOutCallbackFunc()},t.prototype.UpdateCountdown=function(){this.timeoutSeconds--,this.timeoutSeconds>=1?this.sessionTimeoutSource.next({isVisible:!0,showExtendSessionButton:null!=this.extendCallbackFunc,showLogOutButton:null!=this.logOutCallbackFunc,timeoutRemaining:this.GetRemainingTime()}):(this.KillCountdownTimer(),this.sessionTimeoutSource.next({isVisible:!0,showExtendSessionButton:null!=this.extendCallbackFunc,showLogOutButton:null!=this.logOutCallbackFunc,timeoutRemaining:"none"}))},t.prototype.KillCountdownTimer=function(){clearInterval(this.countdownTimer)},t.prototype.GetRemainingTime=function(){var t="",e=0,n=0,r=this.timeoutSeconds;return this.timeoutSeconds>=3600?(r-=3600*(e=Math.floor(r/3600)),r-=60*(n=Math.floor(r/60))):this.timeoutSeconds>=60&&(r-=60*(n=Math.floor(r/60))),e>0&&(t+=" "+e.toString()+" hour"+(1===e?"":"s")+","),n>0&&(t+=" "+n.toString()+" minute"+(1===n?"":"s")+" and"),(t+=" "+r.toString()+" second"+(1===r?"":"s")).trimLeft()},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}();function ve(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new be(t,e))}}n("SYky");var be=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new we(t,this.predicate,this.inclusive))},t}(),we=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return k.c(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(r){return void n.error(r)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(ie.a),_e=function(){function t(t){this.pubSubService=t,this.subscription=null,this.tracker=null,this.previousTop=0,this.trackScrolling=!1,this.alive=!0}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.pubSubService.Stream.pipe(ve((function(){return t.alive}))).subscribe((function(e){return t.processMessage(e)})),this.tracker=document.getElementById("jha-main-scroll-container")},t.prototype.ngOnDestroy=function(){this.alive=!1},t.prototype.processMessage=function(t){"TRACKSCROLL"===t.message&&!0===t.payload?this.trackScrolling=!0:"TRACKSCROLL"===t.message&&!1===t.payload&&(this.trackScrolling=!1)},t.prototype.onScroll=function(t){this.trackScrolling&&this.tracker.scrollTop>this.previousTop&&$("#jha-main-scroll-container").scrollTop()>=$("section.jha-function-view-main").height()-$(window).height()-10&&this.pubSubService.Stream.next(new ee("SCROLLED",null)),this.previousTop=this.tracker.scrollTop},t.\u0275fac=function(e){return new(e||t)(r.Ob(ne))},t.\u0275dir=r.Jb({type:t,selectors:[["","jhaInfiniteScroll",""]],hostBindings:function(t,e){1&t&&r.ec("scroll",(function(t){return e.onScroll(t)}))}}),t}();function je(t,e){if(1&t&&(r.Tb(0),r.Cc(1,"Your session will time out in around "),r.Vb(2,"span",10),r.Cc(3),r.Ub(),r.Sb()),2&t){var n=r.gc(2);r.Bb(3),r.Dc(n.timeoutRemaining)}}function Ce(t,e){1&t&&r.Cc(0,"Your session will time out soon")}function Te(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",11),r.ec("click",(function(){return r.vc(n),r.gc(2).extendSession()})),r.Cc(1,"Extend my Session"),r.Ub()}}function Se(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",11),r.ec("click",(function(){return r.vc(n),r.gc(2).logOutSession()})),r.Cc(1,"Log Out"),r.Ub()}}function Ee(t,e){if(1&t&&(r.Vb(0,"div",4),r.Qb(1,"i",5),r.Vb(2,"span",6),r.Ac(3,je,4,1,"ng-container",7),r.Ac(4,Ce,1,0,"ng-template",null,8,r.Bc),r.Ub(),r.Ac(6,Te,2,0,"button",9),r.Ac(7,Se,2,0,"button",9),r.Ub()),2&t){var n=r.sc(5),i=r.gc();r.Bb(3),r.lc("ngIf","none"!=i.timeoutRemaining)("ngIfElse",n),r.Bb(3),r.lc("ngIf",i.showExtendSessionButton),r.Bb(1),r.lc("ngIf",i.showLogOutButton)}}var xe=["*"],ke=function(){function t(t,e){var n=this;this.initService=t,this.jhaSessionTimeoutService=e,this.jhaXperience=!1,this.jhaAppearance="Luxe",this.showSessionTimeout=!1,this.showExtendSessionButton=!1,this.showLogOutButton=!1,this.timeoutRemaining="",this.subscription=e.sessionTimeoutObs.subscribe((function(t){n.showSessionTimeout=t.isVisible,n.showExtendSessionButton=t.showExtendSessionButton,n.showLogOutButton=t.showLogOutButton,n.timeoutRemaining=t.timeoutRemaining}))}return t.prototype.ngOnInit=function(){this.setUpAppearance(),this.jhaXperience?this.initService.InitXperienceApp():this.initService.InitApp()},t.prototype.ngOnChanges=function(t){for(var e in t){var n=t[e];n.currentValue!==n.previousValue&&"jhaAppearance"===e&&this.setUpAppearance()}},t.prototype.setUpAppearance=function(){"flat"===this.jhaAppearance.toLowerCase()?document.body.classList.add("jha-flat"):document.body.classList.remove("jha-flat")},t.prototype.extendSession=function(){this.jhaSessionTimeoutService.ExtendSession()},t.prototype.logOutSession=function(){this.jhaSessionTimeoutService.LogOutSession()},t.\u0275fac=function(e){return new(e||t)(r.Ob(me),r.Ob(ye))},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-app"]],inputs:{jhaXperience:"jhaXperience",jhaAppearance:"jhaAppearance"},features:[r.Ab([me,re,ye]),r.zb()],ngContentSelectors:xe,decls:6,vars:1,consts:[[1,"jha-main-wrapper"],["role","main",1,"jha-main-content"],["id","jha-main-scroll-container","jhaInfiniteScroll","",1,"jha-scroll"],["id","jha-session-timeout","class","jha-session-timeout",4,"ngIf"],["id","jha-session-timeout",1,"jha-session-timeout"],[1,"xj-icon-Warning","jha-session-timeout-icon"],["id","jha-session-timeout-text",1,"jha-session-timeout-text"],[4,"ngIf","ngIfElse"],["noTimeRemaining",""],["type","button","class","btn btn-secondary jha-session-timeout-button",3,"click",4,"ngIf"],["id","jha-session-timeout-time"],["type","button",1,"btn","btn-secondary","jha-session-timeout-button",3,"click"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"div",0),r.jc(1),r.Vb(2,"div",1),r.Vb(3,"div",2),r.Qb(4,"router-outlet"),r.Ub(),r.Ub(),r.Ub(),r.Ac(5,Ee,8,4,"div",3)),2&t&&(r.Bb(5),r.lc("ngIf",e.showSessionTimeout))},directives:[_e,u.j,i.k],encapsulation:2}),t}(),Oe=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-busy-indicator"]],decls:2,vars:0,consts:[[1,"jha-modal-shield"],[1,"jha-busy-indicator"]],template:function(t,e){1&t&&(r.Vb(0,"div",0),r.Qb(1,"div",1),r.Ub())},encapsulation:2}),t}(),Ae=n("RPHI"),Ie=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Ae.a,ne]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b,u.i]]}),t}(),Re=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b,Pt.e,Ie,u.i,_]]}),t}(),Ne=["jhaDisplayBlockContent"];function Pe(t,e){if(1&t&&(r.Vb(0,"span",8),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaTitle)}}function De(t,e){if(1&t&&(r.Vb(0,"span",9),r.Cc(1),r.Ub()),2&t){var n=r.gc();r.Bb(1),r.Dc(n.jhaSubtitle)}}function Le(t,e){1&t&&r.jc(0,2,["*ngIf","!jhaSubtitle"])}function Fe(t,e){1&t&&r.Qb(0,"jha-busy-indicator")}var Ue=[[["jha-display-block-toolbar"]],"*",[["jha-display-block-toolbar-right"]]],Me=["jha-display-block-toolbar","*","jha-display-block-toolbar-right"],Be=function(){function t(){this.jhaTitle="",this.jhaSubtitle="",this.jhaIsBusy=!1}return t.prototype.ngAfterViewInit=function(){if(0!==this.jhaDisplayBlockContent.nativeElement.children.length){var t=0;for(t=0;t230){var t=document.createElement("style");t.type="text/css",t.innerHTML='@media only screen and (min-width: 768px) {.jha-nav-hovered .jha-main-nav, .jha-nav-hovered .jha-nav, .jha-nav-hovered .jha-submenu-items { width: " + this.jhaExpandOnHoverWidth + "px }.jha-nav-hovered .jha-mega-menu-nav { left: " + this.jhaExpandOnHoverWidth + "px }}',document.head.appendChild(t)}},t.prototype.ngOnChanges=function(t){for(var e in t){var n=t[e];n.currentValue!==n.previousValue&&("jhaIsHidden"===e?this.ToggleNav(n.currentValue):"jhaInitialState"===e&&this.SetUpInitialState())}},t.prototype.ToggleNav=function(t){var e=!1;void 0!==t&&(e="true"===t.toString().toLowerCase()),e?document.body.classList.add("jha-no-nav"):document.body.classList.remove("jha-no-nav")},t.prototype.SetUpInitialState=function(){var t="";void 0!==this.jhaInitialState&&(t=this.jhaInitialState.toString().toLowerCase()),"collapsed"===t.toLowerCase()?(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-forced-open")):"expanded"===t.toLowerCase()?document.body.classList.remove("jha-nav-collapsed"):window.innerWidth>=Yt.MinTabletWidth&&window.innerWidth<=Yt.MaxTabletWidth&&!document.body.classList.contains("jha-alt-nav")?document.body.classList.add("jha-nav-collapsed"):(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-forced-open"))},t.prototype.IsStandardNav=function(){var t=!0;return document.body.classList.contains("jha-alt-nav")&&(t=!1),t},t.prototype.handleTouchStart=function(t){qn=t.touches[0].clientX,Gn=t.touches[0].clientY},t.prototype.handleTouchMove=function(t){if(qn&&Gn){var e=qn-t.touches[0].clientX,n=Gn-t.touches[0].clientY;Math.abs(e)>Math.abs(n)&&(e>0?window.innerWidth<=Yt.MaxPhoneWidth?document.body.classList.remove("jha-nav-expanded-phone"):(document.body.classList.add("jha-nav-collapsed"),document.body.classList.remove("jha-nav-hovered")):window.innerWidth<=Yt.MaxPhoneWidth?document.body.classList.add("jha-nav-expanded-phone"):(document.body.classList.remove("jha-nav-collapsed"),document.body.classList.add("jha-nav-hovered"))),qn=null,Gn=null}},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav"]],inputs:{jhaInitialState:"jhaInitialState",jhaIsHidden:"jhaIsHidden",jhaExpandOnHoverWidth:"jhaExpandOnHoverWidth"},features:[r.zb()],ngContentSelectors:Hn,decls:3,vars:3,consts:[["jha-mobile-toggle","",1,"jha-nav",3,"ngClass"],["id","nav-menu","role","navigation","aria-label","Navigation",1,"jha-nav-menu"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"section",0),r.Vb(1,"ul",1),r.jc(2),r.Ub(),r.Ub()),2&t&&r.lc("ngClass",r.oc(1,Vn,e.IsStandardNav()))},directives:[i.i],encapsulation:2}),t}();function zn(t,e){}function $n(t,e){if(1&t&&(r.Vb(0,"a",5),r.Ac(1,zn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),i=r.sc(7);r.mc("routerLink",n.jhaRouterLink),r.mc("title",n.jhaTooltip),r.lc("routerLinkActiveOptions",n.jhaRouterLinkActiveOptions),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Qn(t,e){}function Kn(t,e){if(1&t&&(r.Vb(0,"a",8),r.Ac(1,Qn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(2),i=r.sc(7);r.mc("title",n.jhaTooltip),r.Cb("href",n.jhaExternalUrl,r.xc)("target",""!=n.jhaExternalUrl&&1==n.jhaExternalUrlInNewWindow?"_blank":null),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Jn(t,e){if(1&t&&r.Ac(0,Kn,2,4,"a",7),2&t){var n=r.gc(),i=r.sc(5);r.lc("ngIf",""!==n.jhaExternalUrl)("ngIfElse",i)}}function Yn(t,e){}function Zn(t,e){if(1&t&&(r.Vb(0,"a",9),r.Ac(1,Yn,0,0,"ng-template",6),r.Ub()),2&t){var n=r.gc(),i=r.sc(7);r.mc("title",n.jhaTooltip),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Xn(t,e){if(1&t&&r.Qb(0,"i"),2&t){var n=r.gc(2);r.Eb("xj-icon-",n.jhaIconType," jha-nav-icon")}}function tr(t,e){if(1&t&&(r.Vb(0,"div",15),r.Qb(1,"div",16),r.Vb(2,"span",17),r.Cc(3),r.Ub(),r.Ub()),2&t){var n=r.gc(2);r.Bb(3),r.Dc(n.GetInitials())}}var er=function(t){return{badgeOversized:t}};function nr(t,e){if(1&t&&(r.Vb(0,"span",18),r.Vb(1,"span"),r.Cc(2),r.Ub(),r.Ub()),2&t){var n=r.gc(2);r.lc("ngClass",r.oc(2,er,n.jhaBadgeOversized)),r.Bb(2),r.Dc(n.jhaBadge)}}var rr=function(t,e,n){return{"jha-nav-no-selected-item-arrow":t,"xj-icon-ArrowUp":e,"jha-nav-selected-item-arrow":n}};function ir(t,e){if(1&t&&(r.Ac(0,Xn,1,3,"i",10),r.Ac(1,tr,4,1,"div",11),r.Vb(2,"span",12),r.Cc(3),r.Ub(),r.Ac(4,nr,3,4,"span",13),r.Qb(5,"i",14)),2&t){var n=r.gc();r.lc("ngIf",n.jhaIconType),r.Bb(1),r.lc("ngIf",!n.jhaIconType),r.Bb(2),r.Dc(n.jhaText),r.Bb(1),r.lc("ngIf",n.jhaBadge),r.Bb(1),r.lc("ngClass",r.qc(5,rr,n.IsStandardNav(),!n.IsStandardNav(),!n.IsStandardNav()))}}var or=function(){function t(){this.jhaRouterLink="",this.jhaIconType="",this.jhaIconInitials="",this.jhaText="",this.jhaBadge="",this.jhaTooltip="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0,this.jhaRouterLinkActiveOptions={},this.jhaBadgeOversized=!1}return t.prototype.ngOnInit=function(){this.jhaBadge.length>3&&(this.jhaBadgeOversized=!0)},t.prototype.IsStandardNav=function(){var t=!0;return document.body.classList.contains("jha-alt-nav")&&(t=!1),t},t.prototype.GetInitials=function(){var t="";if(""!==this.jhaIconInitials)t=this.jhaIconInitials.toUpperCase();else if(this.jhaText.length<1)t="";else{t=this.jhaText.substr(0,1);for(var e=1,n=!1;t.length<2&&e2&&(t=t.substr(0,2)),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav-button"]],inputs:{jhaRouterLink:"jhaRouterLink",jhaIconType:"jhaIconType",jhaIconInitials:"jhaIconInitials",jhaText:"jhaText",jhaBadge:"jhaBadge",jhaTooltip:"jhaTooltip",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow",jhaRouterLinkActiveOptions:"jhaRouterLinkActiveOptions"},decls:8,vars:2,consts:[["role","presentation"],["routerLinkActive","active","ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","routerLinkActiveOptions","title",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaNoAnchor",""],["navButtonContent",""],["routerLinkActive","active","ui-sref-active","active","role","menuitem","tabindex","0",3,"routerLink","routerLinkActiveOptions","title"],[3,"ngTemplateOutlet"],["role","menuitem","tabindex","0",3,"title",4,"ngIf","ngIfElse"],["role","menuitem","tabindex","0",3,"title"],["href","javascript:;","role","menuitem","tabindex","0",3,"title"],[3,"class",4,"ngIf"],["class","jha-nav-initials-container",4,"ngIf"],[1,"jha-nav-menu-label"],["class","badge",3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"jha-nav-initials-container"],[1,"jha-nav-initials-shape"],[1,"jha-nav-initials-text"],[1,"badge",3,"ngClass"]],template:function(t,e){if(1&t&&(r.Vb(0,"li",0),r.Ac(1,$n,2,4,"a",1),r.Ac(2,Jn,1,2,"ng-template",null,2,r.Bc),r.Ac(4,Zn,2,2,"ng-template",null,3,r.Bc),r.Ac(6,ir,6,9,"ng-template",null,4,r.Bc),r.Ub()),2&t){var n=r.sc(3);r.Bb(1),r.lc("ngIf",""!=e.jhaRouterLink)("ngIfElse",n)}},directives:[i.k,u.h,u.g,i.m,i.i],encapsulation:2}),t}();function ar(t,e){if(1&t&&r.Qb(0,"i"),2&t){var n=r.gc();r.Eb("xj-icon-",n.jhaIconType," jha-nav-icon")}}function sr(t,e){if(1&t&&(r.Vb(0,"div",8),r.Qb(1,"div",9),r.Vb(2,"span",10),r.Cc(3),r.Ub(),r.Ub()),2&t){var n=r.gc();r.Bb(3),r.Dc(n.GetInitials())}}var ur=function(t){return{badgeOversized:t}};function cr(t,e){if(1&t&&(r.Vb(0,"span",11),r.Vb(1,"span"),r.Cc(2),r.Ub(),r.Ub()),2&t){var n=r.gc();r.lc("ngClass",r.oc(2,ur,n.jhaBadgeOversized)),r.Bb(2),r.Dc(n.jhaBadge)}}var lr=["*"],hr=function(){function t(){this.jhaIconType="",this.jhaIconInitials="",this.jhaText="",this.jhaBadge="",this.jhaTooltip="",this.jhaColumnWidth=-1,this.jhaRowHeight=-1,this.jhaBadgeOversized=!1}return t.prototype.ngOnInit=function(){this.jhaBadge.length>3&&(this.jhaBadgeOversized=!0)},t.prototype.GetInitials=function(){var t="";if(""!==this.jhaIconInitials)t=this.jhaIconInitials.toUpperCase();else if(this.jhaText.length<1)t="";else{t=this.jhaText.substr(0,1);for(var e=1,n=!1;t.length<2&&e2&&(t=t.substr(0,2)),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-nav-mega-menu"]],inputs:{jhaIconType:"jhaIconType",jhaIconInitials:"jhaIconInitials",jhaText:"jhaText",jhaBadge:"jhaBadge",jhaTooltip:"jhaTooltip",jhaColumnWidth:"jhaColumnWidth",jhaRowHeight:"jhaRowHeight"},ngContentSelectors:lr,decls:10,vars:7,consts:[["role","presentation",1,"jha-mega-menu-button"],["role","menuitem","jhaMegaMenu","","tabindex","0",3,"title"],[3,"class",4,"ngIf"],["class","jha-nav-initials-container",4,"ngIf"],[1,"jha-nav-menu-label"],["class","badge",3,"ngClass",4,"ngIf"],[1,"pull-right","jha-nav-menu-arrow","xj-icon-WindowDropdown"],[1,"jha-mega-menu","jha-mega-menu-nav"],[1,"jha-nav-initials-container"],[1,"jha-nav-initials-shape"],[1,"jha-nav-initials-text"],[1,"badge",3,"ngClass"]],template:function(t,e){1&t&&(r.kc(),r.Vb(0,"li",0),r.Vb(1,"a",1),r.Ac(2,ar,1,3,"i",2),r.Ac(3,sr,4,1,"div",3),r.Vb(4,"span",4),r.Cc(5),r.Ub(),r.Ac(6,cr,3,4,"span",5),r.Qb(7,"i",6),r.Ub(),r.Vb(8,"ul",7),r.jc(9),r.Ub(),r.Ub()),2&t&&(r.Bb(1),r.mc("title",e.jhaTooltip),r.Bb(1),r.lc("ngIf",e.jhaIconType),r.Bb(1),r.lc("ngIf",!e.jhaIconType),r.Bb(2),r.Dc(e.jhaText),r.Bb(1),r.lc("ngIf",e.jhaBadge),r.Bb(2),r.Cb("data-colwidth",e.jhaColumnWidth)("data-rowheight",e.jhaRowHeight))},directives:[ce,i.k,i.i],encapsulation:2}),t}(),pr=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b,Ie,u.i]]}),t}();function fr(t,e){if(1&t&&r.Qb(0,"i",6),2&t){var n=r.gc(2);r.Eb("xj-icon-",n.jhaIconType," jha-inline-notification-icon"),r.lc("ngClass",n.getIconClass())}}function dr(t,e){if(1&t){var n=r.Xb();r.Vb(0,"button",7),r.ec("click",(function(){return r.vc(n),r.gc(2).closeNotification()})),r.Vb(1,"span",8),r.Cc(2,"\xd7"),r.Ub(),r.Ub()}}function gr(t,e){if(1&t&&(r.Vb(0,"div",1),r.Vb(1,"div",2),r.Ac(2,fr,1,4,"i",3),r.Vb(3,"div",4),r.jc(4),r.Ub(),r.Ac(5,dr,3,0,"button",5),r.Ub(),r.Ub()),2&t){var n=r.gc();r.lc("ngClass",n.getNotificationTypeClass()),r.Bb(2),r.lc("ngIf",n.jhaIconType),r.Bb(3),r.lc("ngIf",n.jhaIsClosable)}}var mr=["*"],yr=function(){function t(){this.jhaType="Information",this.jhaIconType="",this.jhaIsClosable=!1,this.jhaDisplayNotification=!0}return t.prototype.getNotificationTypeClass=function(){var t="alert-info";switch(this.jhaType.toLowerCase()){case"error":t="alert-danger";break;case"warning":t="alert-warning";break;case"success":t="alert-success"}return t},t.prototype.getIconClass=function(){var t="jha-inline-notification-icon-information";switch(this.jhaType.toLowerCase()){case"error":t="jha-inline-notification-icon-error";break;case"warning":t="jha-inline-notification-icon-warning";break;case"success":t="jha-inline-notification-icon-success"}return t},t.prototype.closeNotification=function(){this.jhaDisplayNotification=!1},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-inline-notification"]],inputs:{jhaType:"jhaType",jhaIconType:"jhaIconType",jhaIsClosable:"jhaIsClosable"},ngContentSelectors:mr,decls:1,vars:1,consts:[["class","alert",3,"ngClass",4,"ngIf"],[1,"alert",3,"ngClass"],[1,"jha-inline-notification-container"],[3,"class","ngClass",4,"ngIf"],[1,"jha-inline-notification-content"],["type","button","class","close","aria-label","Close",3,"click",4,"ngIf"],[3,"ngClass"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"]],template:function(t,e){1&t&&(r.kc(),r.Ac(0,gr,6,3,"div",0)),2&t&&r.lc("ngIf",e.jhaDisplayNotification)},directives:[i.k,i.i],encapsulation:2}),t}(),vr=function(t){return t[t.Information=0]="Information",t[t.Success=1]="Success",t[t.Warning=2]="Warning",t[t.Error=3]="Error",t}({}),br=function(){function t(){}return t.prototype.DisplayPopupNotification=function(t,e){this.DisplayPopupNotificationClick(t,e,null)},t.prototype.DisplayPopupNotificationClick=function(t,e,n){var r="information",i="Information";e===vr.Success?(r="success",i="Success"):e===vr.Warning?(r="warning",i="Warning"):e===vr.Error&&(r="error",i="Error"),noty({text:'
'+t+"
",type:r,layout:"bottomRight",theme:"jha-noty",timeout:5e3,callback:{onCloseClick:n}})},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),wr=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[br,ye]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t}();function _r(t,e){}n("Gp1S");var jr=function(t,e){return[t,e]};function Cr(t,e){if(1&t&&(r.Vb(0,"button",6),r.Ac(1,_r,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(),i=r.sc(10);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.pc(6,jr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":""))("disabled",n.jhaIsDisabled),r.Cb("aria-busy",n.jhaIsBusy)("aria-disabled",n.jhaIsDisabled),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Tr(t,e){}function Sr(t,e){if(1&t&&(r.Vb(0,"button",9),r.Ac(1,Tr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),i=r.sc(10);r.lc("ngClass",r.pc(5,jr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":""))("disabled",n.jhaIsDisabled),r.Cb("aria-busy",n.jhaIsBusy)("aria-disabled",n.jhaIsDisabled),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Er(t,e){if(1&t&&r.Ac(0,Sr,2,8,"button",8),2&t){var n=r.gc(),i=r.sc(4);r.lc("ngIf",!n.jhaIsRouterLink&&!n.jhaIsAnchor)("ngIfElse",i)}}function xr(t,e){}function kr(t,e){if(1&t&&(r.Vb(0,"a",11),r.Ac(1,xr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),i=r.sc(10);r.mc("routerLink",n.jhaRouterLink),r.lc("ngClass",r.pc(4,jr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Or(t,e){if(1&t&&r.Ac(0,kr,2,7,"a",10),2&t){var n=r.gc(),i=r.sc(6);r.lc("ngIf",n.jhaIsRouterLink&&n.jhaIsAnchor)("ngIfElse",i)}}function Ar(t,e){}var Ir=function(t){return[t]};function Rr(t,e){if(1&t&&(r.Vb(0,"a",13),r.Ac(1,Ar,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(2),i=r.sc(10);r.lc("href",n.jhaExternalUrl,r.xc)("ngClass",r.pc(5,jr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("target",r.oc(8,Ir,""!=n.jhaExternalUrl&&1==n.jhaExternalUrlInNewWindow?"_blank":null))("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Nr(t,e){if(1&t&&r.Ac(0,Rr,2,10,"a",12),2&t){var n=r.gc(),i=r.sc(8);r.lc("ngIf",n.jhaExternalUrl&&n.jhaIsAnchor)("ngIfElse",i)}}function Pr(t,e){}function Dr(t,e){if(1&t&&(r.Vb(0,"a",14),r.Ac(1,Pr,0,0,"ng-template",7),r.Ub()),2&t){var n=r.gc(),i=r.sc(10);r.lc("ngClass",r.pc(3,jr,n.getButtonClasses(),n.jhaIsBusy?"jha-is-busy":"")),r.Cb("aria-busy",n.jhaIsBusy),r.Bb(1),r.lc("ngTemplateOutlet",i)}}function Lr(t,e){1&t&&r.Qb(0,"jha-busy-indicator")}var Fr=function(t,e){return{"jha-tile-content":t,"jha-tile-content-full-width":e}},Ur=function(t,e){return{"jha-tile-icon-opaque":t,"jha-tile-icon":e}};function Mr(t,e){if(1&t&&(r.Vb(0,"div",15),r.Vb(1,"p",16),r.Cc(2),r.Ub(),r.Vb(3,"p"),r.jc(4),r.Ub(),r.Ub(),r.Qb(5,"i",15),r.Ac(6,Lr,1,0,"jha-busy-indicator",17)),2&t){var n=r.gc();r.lc("ngClass",r.pc(7,Fr,n.jhaIconType,!n.jhaIconType)),r.Bb(2),r.Dc(n.jhaTitle),r.Bb(3),r.Eb("xj-icon-",n.jhaIconType,""),r.lc("ngClass",r.pc(10,Ur,n.IsTileOpaque(),!n.IsTileOpaque())),r.Bb(1),r.lc("ngIf",n.jhaIsBusy)}}var Br=["*"],Vr=function(){function t(){this.jhaTitle="",this.jhaIconType="",this.jhaSize="Wide",this.jhaLayout="Float",this.jhaAppearance="default",this.jhaIsDisabled=!1,this.jhaIsBusy=!1,this.jhaIsAnchor=!1,this.jhaRouterLink="",this.jhaExternalUrl="",this.jhaExternalUrlInNewWindow=!0,this.jhaIsRouterLink=!0}return t.prototype.ngOnInit=function(){""===this.jhaRouterLink&&(this.jhaIsRouterLink=!1)},t.prototype.getButtonClasses=function(){var t="jha-tile-wide",e="",n="jha-tile-layout-float",r=this.jhaSize?this.jhaSize:"Wide",i=this.jhaAppearance?this.jhaAppearance:"default",o=this.jhaLayout?this.jhaLayout:"Float";return"Large"===r?t="jha-tile-large":"Small"===r&&"Fixed"!==o&&(t="jha-tile-small"),"Fixed"===o&&(n="jha-tile-layout-fixed"),"Highlighted"===i?e="jha-tile-appearance-highlighted":"Error"===i?e="jha-tile-appearance-error":"Alternate1"===i?e="jha-tile-appearance-alternate1":"Alternate2"===i?e="jha-tile-appearance-alternate2":"Alternate3"===i&&(e="jha-tile-appearance-alternate3"),t+" "+n+" "+e},t.prototype.IsTileOpaque=function(){var t=!1;return 0===(this.jhaIconType?this.jhaIconType:"").toString().indexOf("ThemeColor")&&(t=!0),t},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["jha-tile"]],inputs:{jhaTitle:"jhaTitle",jhaIconType:"jhaIconType",jhaSize:"jhaSize",jhaLayout:"jhaLayout",jhaAppearance:"jhaAppearance",jhaIsDisabled:"jhaIsDisabled",jhaIsBusy:"jhaIsBusy",jhaIsAnchor:"jhaIsAnchor",jhaRouterLink:"jhaRouterLink",jhaExternalUrl:"jhaExternalUrl",jhaExternalUrlInNewWindow:"jhaExternalUrlInNewWindow"},ngContentSelectors:Br,decls:11,vars:2,consts:[["type","button","class","jha-tile",3,"ngClass","disabled","routerLink",4,"ngIf","ngIfElse"],["jhaNoRouterLink",""],["jhaAsAnchorRouterLink",""],["jhaIsAnchorNoRouterLink",""],["jhaIsAnchorNoAnchorLink",""],["tileContent",""],["type","button",1,"jha-tile",3,"ngClass","disabled","routerLink"],[3,"ngTemplateOutlet"],["type","button","class","jha-tile",3,"ngClass","disabled",4,"ngIf","ngIfElse"],["type","button",1,"jha-tile",3,"ngClass","disabled"],["class","jha-tile",3,"ngClass","routerLink",4,"ngIf","ngIfElse"],[1,"jha-tile",3,"ngClass","routerLink"],["class","jha-tile",3,"href","ngClass",4,"ngIf","ngIfElse"],[1,"jha-tile",3,"href","ngClass"],["href","javascript:;",1,"jha-tile",3,"ngClass"],[3,"ngClass"],[1,"jha-tile-header"],[4,"ngIf"]],template:function(t,e){if(1&t&&(r.kc(),r.Ac(0,Cr,2,9,"button",0),r.Ac(1,Er,1,2,"ng-template",null,1,r.Bc),r.Ac(3,Or,1,2,"ng-template",null,2,r.Bc),r.Ac(5,Nr,1,2,"ng-template",null,3,r.Bc),r.Ac(7,Dr,2,6,"ng-template",null,4,r.Bc),r.Ac(9,Mr,7,13,"ng-template",null,5,r.Bc)),2&t){var n=r.sc(2);r.lc("ngIf",e.jhaIsRouterLink&&!e.jhaIsAnchor)("ngIfElse",n)}},directives:[i.k,i.i,u.f,i.m,u.h,Oe],encapsulation:2}),t}(),Hr=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b,Ie,u.i]]}),t}();n("gFX4"),n("u/pq"),n.d(e,"e",(function(){return s})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return j})),n.d(e,"k",(function(){return Ut})),n.d(e,"j",(function(){return Jt})),n.d(e,"l",(function(){return te})),n.d(e,"n",(function(){return he})),n.d(e,"o",(function(){return pe})),n.d(e,"p",(function(){return ge})),n.d(e,"m",(function(){return Re})),n.d(e,"q",(function(){return w})),n.d(e,"r",(function(){return _})),n.d(e,"d",(function(){return Be})),n.d(e,"f",(function(){return He})),n.d(e,"g",(function(){return Ge})),n.d(e,"h",(function(){return nn})),n.d(e,"i",(function(){return bn})),n.d(e,"t",(function(){return wn})),n.d(e,"v",(function(){return jn})),n.d(e,"w",(function(){return Sn})),n.d(e,"u",(function(){return En})),n.d(e,"x",(function(){return Pn})),n.d(e,"y",(function(){return Mn})),n.d(e,"z",(function(){return Bn})),n.d(e,"B",(function(){return Wn})),n.d(e,"A",(function(){return or})),n.d(e,"C",(function(){return hr})),n.d(e,"D",(function(){return pr})),n.d(e,"s",(function(){return yr})),n.d(e,"E",(function(){return wr})),n.d(e,"a",(function(){return ke})),n.d(e,"F",(function(){return Ie})),n.d(e,"G",(function(){return Vr})),n.d(e,"H",(function(){return Hr}))},K9Ia:function(t,e,n){"use strict";var r=n("mrSG"),i=n("6blF"),o=n("FFOo"),a=n("pugT"),s=n("8g8A"),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.c(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(a.a),c=n("L/V9");n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.c(e,t),e}(o.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.c(e,t),e.prototype[c.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;it?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return S(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return S(t.value)?null:k.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(S(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(S(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(A);return 0==e.length?null:function(t){return R(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(A);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),M=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(_),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.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: \n ')},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.D),i.Ob(i.l),i.Ob(U),i.Ob(i.r))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.ec("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Ab([F])]}),t}(),B={provide:p,useExisting:Object(i.T)((function(){return V})),multi:!0},V=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.D),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.ec("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([B])]}),t}(),H='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',q='\n
\n
\n \n
\n
',G={provide:p,useExisting:Object(i.T)((function(){return z})),multi:!0};function W(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var z=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=i.tb}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=W(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var i=Object(r.g)(Array.from(this._optionMap.keys())),o=i.next();!o.done;o=i.next()){var a=o.value;if(this._compareWith(this._optionMap.get(a),t))return a}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.D),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.ec("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.Ab([G])]}),t}(),$=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(W(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.D),i.Ob(z,9))},t.\u0275dir=i.Jb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t}(),Q={provide:p,useExisting:Object(i.T)((function(){return J})),multi:!0};function K(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var J=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=i.tb}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map((function(t){return n._getOptionId(t)}));e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function nt(t){return null!=t?O.compose(t.map(N)):null}function rt(t){return null!=t?O.composeAsync(t.map(P)):null}var it=[d,V,L,z,J,M];function ot(t){var e=st(t)?t.validators:t;return Array.isArray(e)?nt(e):e||null}function at(t,e){var n=st(e)?e.asyncValidators:t;return Array.isArray(n)?rt(n):n||null}function st(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var ut=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=ot(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=at(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object(r.a)(Object(r.a)({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(r.a)(Object(r.a)({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object(r.a)(Object(r.a)({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object(r.a)(Object(r.a)({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=I(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var r=t;return e.forEach((function(t){r=r instanceof lt?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof ht&&r.at(t)||null})),r}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new i.n,this.statusChanges=new i.n},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){st(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),ct=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,ot(n),at(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(r.c)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(ut),lt=function(t){function e(e,n,r){var i=t.call(this,ot(n),at(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.c)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof ct?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.g)(Object.keys(this.controls)),i=n.next();!i.done;i=n.next())if(this.controls[i.value].enabled)return!1}catch(o){t={error:o}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(ut),ht=function(t){function e(e,n,r){var i=t.call(this,ot(n),at(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(r.c)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,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(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof ct?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=Object(r.g)(this.controls),i=n.next();!i.done;i=n.next())if(i.value.enabled)return!1}catch(o){t={error:o}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(ut),pt={provide:b,useExisting:Object(i.T)((function(){return dt}))},ft=function(){return Promise.resolve(null)}(),dt=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new i.n,r.form=new lt({},nt(e),rt(n)),r}return Object(r.c)(e,t),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(t){var e=this;ft.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),X(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;ft.then((function(){var n,r,i=e._findContainer(t.path);i&&i.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)}))},e.prototype.addFormGroup=function(t){var e=this;ft.then((function(){var n=e._findContainer(t.path),r=new lt({});(function(t,e){null==t&&et(e,"Cannot find control with"),t.validator=O.compose([t.validator,e.validator]),t.asyncValidator=O.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;ft.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;ft.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.\u0275fac=function(t){return new(t||e)(i.Ob(E,10),i.Ob(x,10))},e.\u0275dir=i.Jb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.ec("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Ab([pt]),i.yb]}),e}(b),gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(r.c)(e,t),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 Z(null==this.name?this.name:this.name.toString(),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 nt(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return rt(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e.\u0275fac=function(t){return n(t||e)},e.\u0275dir=i.Jb({type:e,features:[i.yb]});var n=i.Yb(e);return e}(b),mt=function(){function t(){}return t.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 \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\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
\n \n \n
\n ')},t.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 "+H+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+q)},t.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: \n Example 2: ')},t.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 "+H+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+q)},t}(),yt={provide:b,useExisting:Object(i.T)((function(){return vt}))},vt=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}var n;return Object(r.c)(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof dt||mt.modelGroupParentException()},e.\u0275fac=function(t){return new(t||e)(i.Ob(b,5),i.Ob(E,10),i.Ob(x,10))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.Ab([yt]),i.yb]}),e}(gt),bt={provide:_,useExisting:Object(i.T)((function(){return _t}))},wt=function(){return Promise.resolve(null)}(),_t=function(t){function e(e,n,r,o){var a=t.call(this)||this;return a.control=new ct,a._registered=!1,a.update=new i.n,a._parent=e,a._rawValidators=n||[],a._rawAsyncValidators=r||[],a.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||et(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach((function(e){var o;e.constructor===y?n=e:(o=e,it.some((function(t){return o.constructor===t}))?(r&&et(t,"More than one built-in value accessor matches form control with"),r=e):(i&&et(t,"More than one custom value accessor matches form control with"),i=e))})),i||r||n||(et(t,"No valid value accessor for form control with"),null)}(a,o),a}return Object(r.c)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(i.tb)(e,n.currentValue)}(t,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?Z(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 nt(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return rt(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},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(){X(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 vt)&&this._parent instanceof gt?mt.formGroupNameException():this._parent instanceof vt||this._parent instanceof dt||mt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||mt.missingNameException()},e.prototype._updateValue=function(t){var e=this;wt.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;wt.then((function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()}))},e.\u0275fac=function(t){return new(t||e)(i.Ob(b,9),i.Ob(E,10),i.Ob(x,10),i.Ob(p,10))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Ab([bt]),i.yb,i.zb()]}),e}(_),jt=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),Ct=new i.q("NgModelWithFormControlWarning"),Tt={provide:E,useExisting:Object(i.T)((function(){return St})),multi:!0},St=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?O.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("required",e.required?"":null)},inputs:{required:"required"},features:[i.Ab([Tt])]}),t}(),Et=function(){function t(){}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t}(),xt=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null,i=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new lt(n,{asyncValidators:i,updateOn:o,validators:r})},t.prototype.control=function(t,e,n){return new ct(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map((function(t){return r._createControl(t)}));return new ht(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach((function(r){n[r]=e._createControl(t[r])})),n},t.prototype._createControl=function(t){return t instanceof ct||t instanceof lt||t instanceof ht?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),kt=function(){function t(){}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[U],imports:[Et]}),t}(),Ot=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Ct,useValue:t.warnOnNgModelWithFormControl}]}},t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[xt,U],imports:[Et]}),t}()},QN7Q:function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}},RPHI:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("TYT/"),i=function(){function t(){}return t.prototype.AnimateElements=function(t,e){var n=this;window.setTimeout((function(){n.AnimateElement(t,0,e)}),15)},t.prototype.AnimateElement=function(t,e,n){var r=this;if(e3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;return t(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||t(r).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var r=t(this),i=r.attr("data-target");i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=t(document).find(i);function a(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var r=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof e&&i[e].call(r)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.button");i||r.data("bs.button",i=new e(this,"object"==typeof n&&n)),"toggle"==n?i.toggle():n&&i.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy((function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var r=t(e.target).closest(".btn");n.call(r,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new e(this,o)),"number"==typeof n?i.to(n):a?i[a]():o.interval&&i.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);return("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap?e:this.$items.eq((n+("prev"==t?-1:1))%this.$items.length)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(n,i),a=this.interval,s="next"==n?"left":"right",u=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],l=t.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",(function(){o.removeClass([n,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),u.sliding=!1,setTimeout((function(){u.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(e){var r=t(this),i=r.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=r.attr("data-target")||i,a=t(document).find(o);if(a.hasClass("carousel")){var s=t.extend({},a.data(),r.data()),u=r.attr("data-slide-to");u&&(s.interval=!1),n.call(a,s),u&&a.data("bs.carousel").to(u),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(r)}function r(n){return this.each((function(){var r=t(this),i=r.data("bs.collapse"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||r.data("bs.collapse",i=new e(this,o)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var u=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][u])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]()),this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,r){var i=t(r);this.addAriaAndCollapsedClass(n(i),i)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=r,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var o=n(i),a=o.data("bs.collapse")?"toggle":i.data();r.call(o,a)}))}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function r(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r="#"!==n?t(document).find(n):null;return r&&r.length?r:e.parent()}function i(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),i=r(e),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(i[0],n.target)||(i.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),i.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var o=r(n),a=o.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var s={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=r(i),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(e).trigger("focus"),i.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var u=s.index(n.target);38==n.which&&u>0&&u--,40==n.which&&udocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},s.prototype.init=function(e,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var a=i[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseleave":"focusout";this.$element.on(("hover"==a?"mouseenter":"focusin")+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(n){var r=this.$element.data();for(var i in r)r.hasOwnProperty(i)&&-1!==t.inArray(i,e)&&delete r[i];return(n=t.extend({},this.getDefaults(),r,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},s.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,r){n[t]!=r&&(e[t]=r)})),e},s.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},s.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},s.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},s.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,c=u.test(a);c&&(a=a.replace(u,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?i.appendTo(t(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),h=i[0].offsetWidth,p=i[0].offsetHeight;if(c){var f=a,d=this.getPosition(this.$viewport);a="bottom"==a&&l.bottom+p>d.bottom?"top":"top"==a&&l.top-pd.width?"left":"left"==a&&l.left-ha.top+a.height&&(i.top=a.top+a.height-u)}else{var c=e.left-o,l=e.left+o+n;ca.right&&(i.left=a.left+a.width-l)}return i},s.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},s.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},s.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},s.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var u=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),r=n.data("bs.tooltip"),i="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||n.data("bs.tooltip",r=new s(this,i)),"string"==typeof e&&r[e]())}))},t.fn.tooltip.Constructor=s,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=u,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===r&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new e(this,o)),"string"==typeof n&&i[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var r=t(this),i=r.data("bs.scrollspy");i||r.data("bs.scrollspy",i=new e(this,"object"==typeof n&&n)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e=i[t]&&(void 0===i[t+1]||e .active"),a=i&&t.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?n.addClass("in"):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&a?o.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),o.removeClass("in")};var r=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(t){"use strict";var e=function(n,r){this.options=t.extend({},e.DEFAULTS,r);var i=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var r=t(this),i=r.data("bs.affix");i||r.data("bs.affix",i=new e(this,"object"==typeof n&&n)),"string"==typeof n&&i[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return i=t-r&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var s=this.getState(a,n,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),c=t.Event(u+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-o})}};var r=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),r=e.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(e,r)}))}))}(jQuery)},"TYT/":function(t,e,n){"use strict";var r=n("mrSG"),i=n("pugT"),o=n("K9Ia"),a=n("6blF"),s=n("p0ib"),u=n("FFOo");function c(){return function(t){return t.lift(new l(t))}}var l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.c(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new i.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t},e.prototype.refCount=function(){return c()(this)},e}(a.a),f=function(){var t=p.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b);function g(){return new o.a}n.d(e,"a",(function(){return Ao})),n.d(e,"b",(function(){return Hu})),n.d(e,"c",(function(){return Fu})),n.d(e,"d",(function(){return Du})),n.d(e,"e",(function(){return Lu})),n.d(e,"f",(function(){return Nc})),n.d(e,"g",(function(){return Cc})),n.d(e,"h",(function(){return po})),n.d(e,"i",(function(){return Xu})),n.d(e,"j",(function(){return gs})),n.d(e,"k",(function(){return Wu})),n.d(e,"l",(function(){return ms})),n.d(e,"m",(function(){return vn})),n.d(e,"n",(function(){return gu})),n.d(e,"o",(function(){return nt})),n.d(e,"p",(function(){return v})),n.d(e,"q",(function(){return et})),n.d(e,"r",(function(){return Oo})),n.d(e,"s",(function(){return Ds})),n.d(e,"t",(function(){return Ls})),n.d(e,"u",(function(){return Gu})),n.d(e,"v",(function(){return mt})),n.d(e,"w",(function(){return Sc})),n.d(e,"x",(function(){return gt})),n.d(e,"y",(function(){return vc})),n.d(e,"z",(function(){return rc})),n.d(e,"A",(function(){return b})),n.d(e,"B",(function(){return Vu})),n.d(e,"C",(function(){return Bu})),n.d(e,"D",(function(){return ws})),n.d(e,"E",(function(){return vs})),n.d(e,"F",(function(){return bs})),n.d(e,"G",(function(){return js})),n.d(e,"H",(function(){return or})),n.d(e,"I",(function(){return _})),n.d(e,"J",(function(){return kc})),n.d(e,"K",(function(){return Bs})),n.d(e,"L",(function(){return hc})),n.d(e,"M",(function(){return Cs})),n.d(e,"N",(function(){return Hs})),n.d(e,"O",(function(){return St})),n.d(e,"P",(function(){return Uo})),n.d(e,"Q",(function(){return bc})),n.d(e,"R",(function(){return E})),n.d(e,"S",(function(){return Ln})),n.d(e,"T",(function(){return M})),n.d(e,"U",(function(){return ht})),n.d(e,"V",(function(){return Dn})),n.d(e,"W",(function(){return Ic})),n.d(e,"X",(function(){return fc})),n.d(e,"Y",(function(){return qu})),n.d(e,"Z",(function(){return go})),n.d(e,"ab",(function(){return iu})),n.d(e,"bb",(function(){return rr})),n.d(e,"cb",(function(){return ur})),n.d(e,"db",(function(){return Bn})),n.d(e,"eb",(function(){return En})),n.d(e,"fb",(function(){return kn})),n.d(e,"gb",(function(){return Rn})),n.d(e,"hb",(function(){return An})),n.d(e,"ib",(function(){return On})),n.d(e,"jb",(function(){return In})),n.d(e,"kb",(function(){return tu})),n.d(e,"lb",(function(){return Ac})),n.d(e,"mb",(function(){return eu})),n.d(e,"nb",(function(){return nu})),n.d(e,"ob",(function(){return xn})),n.d(e,"pb",(function(){return $})),n.d(e,"qb",(function(){return Mo})),n.d(e,"rb",(function(){return ca})),n.d(e,"sb",(function(){return ua})),n.d(e,"tb",(function(){return Fo})),n.d(e,"ub",(function(){return Xs})),n.d(e,"vb",(function(){return Re})),n.d(e,"wb",(function(){return L})),n.d(e,"xb",(function(){return Sn})),n.d(e,"yb",(function(){return Qa})),n.d(e,"zb",(function(){return ts})),n.d(e,"Ab",(function(){return hs})),n.d(e,"Bb",(function(){return Ur})),n.d(e,"Cb",(function(){return Wo})),n.d(e,"Db",(function(){return ka})),n.d(e,"Eb",(function(){return Ga})),n.d(e,"Fb",(function(){return Wa})),n.d(e,"Gb",(function(){return xa})),n.d(e,"Hb",(function(){return ku})),n.d(e,"Ib",(function(){return At})),n.d(e,"Jb",(function(){return Ft})),n.d(e,"Kb",(function(){return S})),n.d(e,"Lb",(function(){return x})),n.d(e,"Mb",(function(){return Pt})),n.d(e,"Nb",(function(){return Ut})),n.d(e,"Ob",(function(){return Jo})),n.d(e,"Pb",(function(){return Zt})),n.d(e,"Qb",(function(){return ra})),n.d(e,"Rb",(function(){return aa})),n.d(e,"Sb",(function(){return oa})),n.d(e,"Tb",(function(){return ia})),n.d(e,"Ub",(function(){return na})),n.d(e,"Vb",(function(){return ea})),n.d(e,"Wb",(function(){return Yt})),n.d(e,"Xb",(function(){return sa})),n.d(e,"Yb",(function(){return dn})),n.d(e,"Zb",(function(){return za})),n.d(e,"ac",(function(){return lt})),n.d(e,"bc",(function(){return Yo})),n.d(e,"cc",(function(){return Pu})),n.d(e,"dc",(function(){return Zo})),n.d(e,"ec",(function(){return la})),n.d(e,"fc",(function(){return Ou})),n.d(e,"gc",(function(){return fa})),n.d(e,"hc",(function(){return fu})),n.d(e,"ic",(function(){return du})),n.d(e,"jc",(function(){return ma})),n.d(e,"kc",(function(){return ga})),n.d(e,"lc",(function(){return Xo})),n.d(e,"mc",(function(){return ya})),n.d(e,"nc",(function(){return va})),n.d(e,"oc",(function(){return cu})),n.d(e,"pc",(function(){return lu})),n.d(e,"qc",(function(){return hu})),n.d(e,"rc",(function(){return Eu})),n.d(e,"sc",(function(){return Ko})),n.d(e,"tc",(function(){return Ke})),n.d(e,"uc",(function(){return Qe})),n.d(e,"vc",(function(){return ee})),n.d(e,"wc",(function(){return cr})),n.d(e,"xc",(function(){return lr})),n.d(e,"yc",(function(){return Dt})),n.d(e,"zc",(function(){return Ea})),n.d(e,"Ac",(function(){return Qo})),n.d(e,"Bc",(function(){return Nu})),n.d(e,"Cc",(function(){return Ba})),n.d(e,"Dc",(function(){return Va})),n.d(e,"Ec",(function(){return Ha})),n.d(e,"Fc",(function(){return qa})),n.d(e,"Gc",(function(){return xu}));var m="__parameters__";function y(t,e,n){var i=function(t){return function(){for(var e=[],n=0;n=t.length?t.push(n):t.splice(e,0,n)}function bt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function wt(t,e){for(var n=[],r=0;r=0?t[1|r]=n:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function jt(t,e){var n=Ct(t,e);if(n>=0)return t[1|n]}function Ct(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var o=r+(i-r>>1),a=t[o<<1];if(e===a)return o<<1;a>e?i=o:r=o+1}return~(i<<1)}(t,e)}var Tt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),St=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});function Et(t){return""+{toString:t}}var xt={},kt=[],Ot=0;function At(t){var e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||kt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||St.Emulated,id:"c",styles:t.styles||kt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=Et((function(){var e=t.directives,n=t.features,o=t.pipes;i.id+=Ot++,i.inputs=Lt(t.inputs,r),i.outputs=Lt(t.outputs),n&&n.forEach((function(t){return t(i)})),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(It)}:null,i.pipeDefs=o?function(){return("function"==typeof o?o():o).map(Rt)}:null})),i}function It(t){return Mt(t)||function(t){return t[K]||null}(t)}function Rt(t){return function(t){return t[J]||null}(t)}var Nt={};function Pt(t){var e={type:t.type,bootstrap:t.bootstrap||kt,declarations:t.declarations||kt,imports:t.imports||kt,exports:t.exports||kt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&Et((function(){Nt[t.id]=t.type})),e}function Dt(t,e){return Et((function(){var n=Vt(t,!0);n.declarations=e.declarations||kt,n.imports=e.imports||kt,n.exports=e.exports||kt}))}function Lt(t,e){if(null==t)return xt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var Ft=At;function Ut(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Mt(t){return t[Q]||null}function Bt(t,e){return t.hasOwnProperty(X)?t[X]:null}function Vt(t,e){var n=t[Y]||null;if(!n&&!0===e)throw new Error("Type "+L(t)+" does not have '\u0275mod' property.");return n}function Ht(t){return Array.isArray(t)&&"object"==typeof t[1]}function qt(t){return Array.isArray(t)&&!0===t[1]}function Gt(t){return 0!=(8&t.flags)}function Wt(t){return 2==(2&t.flags)}function zt(t){return 1==(1&t.flags)}function $t(t){return null!==t.template}function Qt(t){return 0!=(512&t[2])}var Kt={lFrame:ve(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Jt(){return Kt.bindingsEnabled}function Yt(){Kt.bindingsEnabled=!0}function Zt(){Kt.bindingsEnabled=!1}function Xt(){return Kt.lFrame.lView}function te(){return Kt.lFrame.tView}function ee(t){Kt.lFrame.contextLView=t}function ne(){return Kt.lFrame.previousOrParentTNode}function re(t,e){Kt.lFrame.previousOrParentTNode=t,Kt.lFrame.isParent=e}function ie(){return Kt.lFrame.isParent}function oe(){Kt.lFrame.isParent=!1}function ae(){return Kt.checkNoChangesMode}function se(t){Kt.checkNoChangesMode=t}function ue(){var t=Kt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ce(){return Kt.lFrame.bindingIndex}function le(){return Kt.lFrame.bindingIndex++}function he(t){var e=Kt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function pe(t,e){var n=Kt.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function fe(){return Kt.lFrame.currentQueryIndex}function de(t){Kt.lFrame.currentQueryIndex=t}function ge(t,e){var n=ye();Kt.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function me(t,e){var n=ye(),r=t[1];Kt.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function ye(){var t=Kt.lFrame,e=null===t?null:t.child;return null===e?ve(t):e}function ve(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function be(){var t=Kt.lFrame;return Kt.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var we=be;function _e(){var t=be();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function je(){return Kt.lFrame.selectedIndex}function Ce(t){Kt.lFrame.selectedIndex=t}function Te(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>10>16&&(3&t[2])===e&&(t[2]+=1024,o.call(a)):o.call(a)}var Ae=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),Ie=void 0;function Re(t){Ie=t}function Ne(){return void 0!==Ie?Ie:"undefined"!=typeof document?document:void 0}function Pe(t){return!!t.listen}var De={createRenderer:function(t,e){return Ne()}};function Le(t,e,n){for(var r=Pe(t),i=0;ie){a=o-1;break}}}for(;o>16}function Ge(t,e){for(var n=qe(t),r=e;n>0;)r=r[15],n--;return r}function We(t){return"string"==typeof t?t:null==t?"":""+t}function ze(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():We(t)}var $e=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind($)}();function Qe(t){return{name:"window",target:t.ownerDocument.defaultView}}function Ke(t){return{name:"document",target:t.ownerDocument}}function Je(t){return t instanceof Function?t():t}var Ye=!0;function Ze(t){var e=Ye;return Ye=t,e}var Xe=0;function tn(t,e){var n=nn(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,en(r.data,t),en(e,null),en(r.blueprint,null));var i=rn(t,e),o=t.injectorIndex;if(Ve(i))for(var a=He(i),s=Ge(i,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=i,o}function en(t,e){t.push(0,0,0,0,0,0,0,0,e)}function nn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function rn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],r=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function on(t,e,n){!function(t,e,n){var r="string"!=typeof n?n[tt]:n.charCodeAt(0)||0;null==r&&(r=n[tt]=Xe++);var i=255&r,o=1<0?255&e:e}(n);if("function"==typeof o){ge(e,t);try{var a=o();if(null!=a||r&j.Optional)return a;throw new Error("No provider for "+ze(n)+"!")}finally{we()}}else if("number"==typeof o){if(-1===o)return new fn(t,e);var s=null,u=nn(t,e),c=-1,l=r&j.Host?e[16][6]:null;for((-1===u||r&j.SkipSelf)&&(c=-1===u?rn(t,e):e[u+8],pn(r,!1)?(s=e[1],u=He(c),e=Ge(c,e)):u=-1);-1!==u;){c=e[u+8];var h=e[1];if(hn(o,u,h.data)){var p=un(u,e,n,s,r,l);if(p!==sn)return p}pn(r,e[1].data[u+8]===l)&&hn(o,u,e)?(s=h,u=He(c),e=Ge(c,e)):u=-1}}}if(r&j.Optional&&void 0===i&&(i=null),0==(r&(j.Self|j.Host))){var f=e[9],d=ut(void 0);try{return f?f.get(n,i,r&j.Optional):pt(n,i,r&j.Optional)}finally{ut(d)}}if(r&j.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+ze(n)+"]")}var sn={};function un(t,e,n,r,i,o){var a=e[1],s=a.data[t+8],u=cn(s,a,n,null==r?Wt(s)&&Ye:r!=a&&3===s.type,i&j.Host&&o===s);return null!==u?ln(e,a,u,s):sn}function cn(t,e,n,r,i){for(var o=t.providerIndexes,a=e.data,s=65535&o,u=t.directiveStart,c=o>>16,l=i?s+c:t.directiveEnd,h=r?s:s+c;h=u&&p.type===n)return h}if(i){var f=a[u];if(f&&$t(f)&&f.type===n)return u}return null}function ln(t,e,n,r){var i=t[n],o=e.data;if(i instanceof Ae){var a=i;if(a.resolving)throw new Error("Circular dep for "+ze(o[n]));var s=Ze(a.canSeeViewProviders);a.resolving=!0;var u=void 0;a.injectImpl&&(u=ut(a.injectImpl)),ge(t,r);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.onChanges,i=e.onInit,o=e.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{a.injectImpl&&ut(u),Ze(s),a.resolving=!1,we()}}return i}function hn(t,e,n){var r=64&t,i=32&t;return!!((128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e])&1<',!e.querySelector||e.querySelector("svg")?(e.innerHTML='

',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Qn.hasOwnProperty(e)&&!Gn.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(nr(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),tr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,er=/([^\#-~ |!])/g;function nr(t){return t.replace(/&/g,"&").replace(tr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(er,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function rr(t,e){var n=null;try{qn=qn||new Fn(t);var r=e?String(e):"";n=qn.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=qn.getInertBodyElement(r)}while(r!==o);var a=new Xn,s=a.sanitizeChildren(ir(n)||n);return Dn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=ir(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function ir(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var or=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),ar=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),sr=/^url\(([^)]+)\)$/;function ur(t){if(!(t=String(t).trim()))return"";var e=t.match(sr);return e&&Bn(e[1])===e[1]||t.match(ar)&&function(t){for(var e=!0,n=!0,r=0;ro?"":i[l+1].toLowerCase();var p=8&r?h:null;if(p&&-1!==Er(p,c,0)||2&r&&c!==h){if(Ar(r))return!1;a=!0}}}}else{if(!a&&!Ar(r)&&!Ar(u))return!1;if(a&&Ar(u))continue;a=!1,r=u|1&r}}return Ar(r)||a}function Ar(t){return 0==(1&t)}function Ir(t,e,n,r){if(null===e)return-1;var i=0;if(r||!n){for(var o=!1;i-1)for(n++;n0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||Ar(a)||(e+=Pr(o,i),i=""),r=a,o=o||!Ar(r);n++}return""!==i&&(e+=Pr(o,i)),e}var Lr={};function Fr(t){var e=t[3];return qt(e)?e[3]:e}function Ur(t){Mr(te(),Xt(),je()+t,ae())}function Mr(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&Se(e,i,n)}else{var o=t.preOrderHooks;null!==o&&Ee(e,o,0,n)}Ce(n)}function Br(t,e){return t<<17|e<<2}function Vr(t){return t>>17&32767}function Hr(t){return 2|t}function qr(t){return(131068&t)>>2}function Gr(t,e){return-131069&t|e<<2}function Wr(t){return 1|t}function zr(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r>1==-1){for(var r=9;r19&&Mr(t,e,0,ae()),n(r,i)}finally{Ce(o)}}function ti(t,e,n){if(Gt(e))for(var r=e.directiveEnd,i=e.directiveStart;i0&&(t[n-1][4]=r[4]);var o=bt(t,9+e);Ui(r[1],r,!1,null);var a=o[5];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Vi(t,e){if(!(256&e[2])){var n=e[11];Pe(n)&&n.destroyNode&&Xi(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return qi(t[1],t);for(;e;){var n=null;if(Ht(e))n=e[13];else{var r=e[9];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Ht(e)&&qi(e[1],e),e=Hi(e,t);null===e&&(e=t),Ht(e)&&qi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){var n;return Ht(t)&&(n=t[6])&&2===n.type?Di(n,t):t[3]===e?null:t[3]}function qi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&Pe(e[11])&&e[11].destroy();var r=e[17];if(null!==r&&qt(e[3])){r!==e[3]&&Mi(r,e);var i=e[5];null!==i&&i.detachView(t)}}}function Gi(t,e,n){for(var r=e.parent;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){var i=n[6];return 2===i.type?Li(i,n):n[0]}if(e&&5===e.type&&4&e.flags)return dr(e,n).parentNode;if(2&r.flags){var o=t.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==St.ShadowDom&&a!==St.Native)return null}return dr(r,n)}function Wi(t,e,n,r){Pe(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function zi(t,e,n){Pe(t)?t.appendChild(e,n):e.appendChild(n)}function $i(t,e,n,r){null!==r?Wi(t,e,n,r):zi(t,e,n)}function Qi(t,e){return Pe(t)?t.parentNode(e):e.parentNode}function Ki(t,e){if(2===t.type){var n=Di(t,e);return null===n?null:Yi(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?dr(t,e):null}function Ji(t,e,n,r){var i=Gi(t,r,e);if(null!=i){var o=e[11],a=Ki(r.parent||e[6],e);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Vi(this._lView[1],this._lView)},t.prototype.onDestroy=function(t){var e,n,r;e=this._lView[1],r=t,Ai(n=this._lView).push(r),e.firstCreatePass&&Ii(e).push(n[7].length-1,null)},t.prototype.markForCheck=function(){Si(this._cdRefInjectingView||this._lView)},t.prototype.detach=function(){this._lView[2]&=-129},t.prototype.reattach=function(){this._lView[2]|=128},t.prototype.detectChanges=function(){Ei(this._lView[1],this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t,e,n){se(!0);try{Ei(t,e,n)}finally{se(!1)}}(this._lView[1],this._lView,this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){var t;this._appRef=null,Xi(this._lView[1],t=this._lView,t[11],2,null,null)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t}(),so=function(t){function e(e){var n=t.call(this,e)||this;return n._view=e,n}return Object(r.c)(e,t),e.prototype.detectChanges=function(){xi(this._view)},e.prototype.checkNoChanges=function(){!function(t){se(!0);try{xi(t)}finally{se(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(ao);function uo(t,e,n){return ro||(ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e}(t)),new ro(dr(e,n))}function co(t,e,n,i){return io||(io=function(t){function e(e,n,r){var i=t.call(this)||this;return i._declarationView=e,i._declarationTContainer=n,i.elementRef=r,i}return Object(r.c)(e,t),e.prototype.createEmbeddedView=function(t){var e=this._declarationTContainer.tViews,n=Qr(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(e)),Jr(e,n,t);var i=new ao(n);return i._tViewNode=n[6],i},e}(t)),0===n.type?new io(i,n,uo(e,n,i)):null}function lo(t,e,n,i){var o;oo||(oo=function(t){function n(e,n,r){var i=t.call(this)||this;return i._lContainer=e,i._hostTNode=n,i._hostView=r,i}return Object(r.c)(n,t),Object.defineProperty(n.prototype,"element",{get:function(){return uo(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new fn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var t=rn(this._hostTNode,this._hostView),e=Ge(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=qe(t),a=e,s=e[6];o>1;)s=(a=a[15])[6],o--;return s}(t,this._hostView,this._hostTNode);return Ve(t)&&null!=n?new fn(n,e):new fn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-9},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},n.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){var a=o.get(gt,null);a&&(i=a)}var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},n.prototype.insert=function(t,e){var n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),qt(n[3])){var i=this.indexOf(t);if(-1!==i)this.detach(i);else{var o=n[3],a=new oo(o,o[6],o[3]);a.detach(a.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,r){var i=9+r,o=n.length;r>0&&(n[i-1][4]=e),r ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):L(s)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+t.replace(it,"\n ")}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{st(i)}},t.prototype._resolveInjectorDefTypes=function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))},t.prototype.toString=function(){var t=[];return this.records.forEach((function(e,n){return t.push(L(n))})),"R3Injector["+t.join(", ")+"]"},t.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(!(t=B(t)))return!1;var i=A(t),o=null==i&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=A(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{yt(i.imports,(function(t){r.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))}))}finally{}if(void 0!==u)for(var c=function(t){var e=u[t],n=e.ngModule,i=e.providers;yt(i,(function(t){return r.processProvider(t,n,i||vo)}))},l=0;l0){var n=wt(e,"?");throw new Error("Can't resolve all parameters for "+L(t)+": ("+n.join(", ")+").")}var r=function(t){var e=t&&(t[I]||t[P]||t[N]&&t[N]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function To(t,e,n){var i,o=void 0;if(xo(t)){var a=B(t);return Bt(a)||Co(a)}if(Eo(t))o=function(){return B(t.useValue)};else if((i=t)&&i.useFactory)o=function(){return t.useFactory.apply(t,Object(r.f)(ft(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))o=function(){return lt(B(t.useExisting))};else{var s=B(t&&(t.useClass||t.provide));if(s||function(t,e,n){var r="";throw t&&e&&(r=" - only instances of Provider and Type are allowed, got: ["+e.map((function(t){return t==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+L(t)+"'"+r)}(e,n,t),!function(t){return!!t.deps}(t))return Bt(s)||Co(s);o=function(){return new(s.bind.apply(s,Object(r.f)([void 0],ft(t.deps))))}}return o}function So(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Eo(t){return null!==t&&"object"==typeof t&&ot in t}function xo(t){return"function"==typeof t}var ko=function(t,e,n){return function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null);var i=_o(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)},Oo=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?ko(t,e,""):ko(t.providers,t.parent,t.name||"")},t.THROW_IF_NOT_FOUND=rt,t.NULL=new dt,t.\u0275prov=S({token:t,providedIn:"any",factory:function(){return lt(nt)}}),t.__NG_ELEMENT_ID__=-1,t}(),Ao=new et("AnalyzeForEntryComponents"),Io=new Map,Ro=new Set;function No(t){return"string"==typeof t?t:t.text()}function Po(t,e){for(var n=t.styles,r=t.classes,i=0,o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,i,r.index)),null!==y)(y.__ngLastListenerFn__||y).__ngNextListenerFn__=o,y.__ngLastListenerFn__=o,h=!1;else{o=pa(r,e,o,!1);var v=n.listen(f.name||d,i,o);l.push(o,v),c&&c.push(i,m,g,g+1)}}else o=pa(r,e,o,!0),d.addEventListener(i,o,a),l.push(o),c&&c.push(i,m,g,a)}var b,w=r.outputs;if(h&&null!==w&&(b=w[i])){var _=b.length;if(_)for(var j=0;j<_;j+=2){var C=e[b[j]][b[j+1]].subscribe(o),T=l.length;l.push(o,C),c&&c.push(i,r.index,T,-(T+1))}}}(o,i,i[11],a,t,e,n,r),la}function ha(t,e,n){try{return!1!==e(n)}catch(r){return Ri(t,r),!1}}function pa(t,e,n,r){return function i(o){if(o===Function)return n;var a=2&t.flags?yr(t.index,e):e;0==(32&e[2])&&Si(a);for(var s=ha(e,n,o),u=i.__ngNextListenerFn__;u;)s=ha(e,u,o)&&s,u=u.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function fa(t){return void 0===t&&(t=1),function(t){return(Kt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Kt.lFrame.contextLView))[8]}(t)}function da(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),i=0;i=0}var ja={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ca(t){return t.substring(ja.key,ja.keyEnd)}function Ta(t,e){var n=ja.textEnd;return n===e?-1:(e=ja.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,ja.key=e,n),Sa(t,e,n))}function Sa(t,e,n){for(;e=0;n=Ta(e,n))_t(t,Ca(e),!0)}function Aa(t,e,n,r){var i,o=Xt(),a=te(),s=he(2);if(a.firstUpdatePass&&Na(a,t,s,r),e!==Lr&&qo(o,s,e)){var u=void 0;null==n&&(u=null===(i=Kt.lFrame)?null:i.currentSanitizer)&&(n=u),La(a,a.data[je()+19],o,o[11],t,o[s+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=L(Sn(t)))),t}(e,n),r,s)}}function Ia(t,e,n,r){var i=te(),o=he(2);i.firstUpdatePass&&Na(i,null,o,r);var a=Xt();if(n!==Lr&&qo(a,o,n)){var s=i.data[je()+19];if(Ma(s,r)&&!Ra(i,o)){var u=r?s.classes:s.styles;null!==u&&(n=F(u,n||"")),ta(i,s,a,n,r)}else!function(t,e,n,r,i,o,a,s){i===Lr&&(i=ba);for(var u=0,c=0,l=0=t.expandoStartIndex}function Na(t,e,n,r){var i=t.data;if(null===i[n+1]){var o=i[je()+19],a=Ra(t,n);Ma(o,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){var i=function(t){var e=Kt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t),o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Da(n=Pa(null,t,e,n,r),e.attrs,r),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==i)if(n=Pa(i,t,e,n,r),null===o){var s=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==qr(r))return t[Vr(r)]}(t,e,r);void 0!==s&&Array.isArray(s)&&function(t,e,n,r){t[Vr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,s=Da(s=Pa(null,t,e,s[1],r),e.attrs,r))}else o=function(t,e,n){for(var r=void 0,i=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(l=!0):c=n,i)if(0!==u){var h=Vr(t[s+1]);t[r+1]=Br(h,s),0!==h&&(t[h+1]=Gr(t[h+1],r)),t[s+1]=131071&t[s+1]|r<<17}else t[r+1]=Br(s,0),0!==s&&(t[s+1]=Gr(t[s+1],r)),s=r;else t[r+1]=Br(u,0),0===s?s=r:t[u+1]=Gr(t[u+1],r),u=r;l&&(t[r+1]=Hr(t[r+1])),wa(t,c,r,!0),wa(t,c,r,!1),function(t,e,n,r,i){var o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Ct(o,e)>=0&&(n[r+1]=Wr(n[r+1]))}(e,c,t,r,o),a=Br(s,u),o?e.classBindings=a:e.styleBindings=a}(i,o,e,n,a,r)}}function Pa(t,e,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=t[i],c=Array.isArray(u),l=c?u[1]:u,h=null===l,p=n[i+1];p===Lr&&(p=h?ba:void 0);var f=h?jt(p,r):l===r?p:void 0;if(c&&!Ua(f)&&(f=jt(u,r)),Ua(f)&&(s=f,a))return s;var d=t[i+1];i=a?Vr(d):qr(d)}if(null!==e){var g=o?e.residualClasses:e.residualStyles;null!=g&&(s=jt(g,r))}return s}function Ua(t){return void 0!==t}function Ma(t,e){return 0!=(t.flags&(e?16:32))}function Ba(t,e){void 0===e&&(e="");var n=Xt(),r=te(),i=t+19,o=r.firstCreatePass?Kr(r,n[6],t,3,null,null):r.data[i],a=n[i]=function(t,e){return Pe(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Ji(r,n,a,o),re(o,!1)}function Va(t){return Ha("",t,""),Va}function Ha(t,e,n){var r=Xt(),i=zo(r,t,e,n);return i!==Lr&&Pi(r,je(),i),Ha}function qa(t,e,n,r,i){var o=Xt(),a=$o(o,t,e,n,r,i);return a!==Lr&&Pi(o,je(),a),qa}function Ga(t,e,n){Ia(_t,Oa,zo(Xt(),t,e,n),!0)}function Wa(t,e,n,r,i){Ia(_t,Oa,$o(Xt(),t,e,n,r,i),!0)}function za(t,e,n){var r=Xt();if(qo(r,le(),e)){var i=je();si(te(),r,i,t,e,n,!0)}return za}function $a(t,e){var n=vr(t)[1],r=n.data.length-1;Te(n,{directiveStart:r,directiveEnd:r+1})}function Qa(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,r=[t];e;){var i=void 0;if($t(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var o=t;o.inputs=Ka(t.inputs),o.declaredInputs=Ka(t.declaredInputs),o.outputs=Ka(t.outputs);var a=i.hostBindings;a&&Za(t,a);var s=i.viewQuery,u=i.contentQueries;if(s&&Ja(t,s),u&&Ya(t,u),T(t.inputs,i.inputs),T(t.declaredInputs,i.declaredInputs),T(t.outputs,i.outputs),$t(i)&&i.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=t.afterContentInit||i.afterContentInit,o.afterViewChecked=t.afterViewChecked||i.afterViewChecked,o.afterViewInit=t.afterViewInit||i.afterViewInit,o.doCheck=t.doCheck||i.doCheck,o.onDestroy=t.onDestroy||i.onDestroy,o.onInit=t.onInit||i.onInit}var l=i.features;if(l)for(var h=0;h=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Me(i.hostAttrs,n=Me(n,i.hostAttrs))}}(r)}function Ka(t){return t===xt?{}:t===kt?[]:t}function Ja(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function Ya(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function Za(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var Xa=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ts(){return es.ngInherit=!0,es}function es(t){t.type.prototype.ngOnChanges&&(t.setInput=ns,t.onChanges=function(){var t=rs(this),e=t&&t.current;if(e){var n=t.previous;if(n===xt)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}})}function ns(t,e,n,r){var i=rs(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:xt,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],u=a[s];o[s]=new Xa(u&&u.currentValue,e,a===xt),t[r]=e}function rs(t){return t.__ngSimpleChanges__||null}function is(t,e,n,r,i){if(t=B(t),Array.isArray(t))for(var o=0;o>16;if(xo(t)||!t.multi){var d=new Ae(c,i,Jo),g=ss(u,e,i?h:h+f,p);-1===g?(on(tn(l,s),a,u),os(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(d),s.push(d)):(n[g]=d,s[g]=d)}else{var m=ss(u,e,h+f,p),y=ss(u,e,h,h+f),v=y>=0&&n[y];i&&!v||!i&&!(m>=0&&n[m])?(on(tn(l,s),a,u),d=function(t,e,n,r,i){var o=new Ae(t,n,Jo);return o.multi=[],o.index=e,o.componentProviders=0,as(o,i,r&&!n),o}(i?cs:us,n.length,i,r,c),!i&&v&&(n[y].providerFactory=d),os(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(d),s.push(d)):(os(a,t,m>-1?m:y),as(n[i?y:m],c,!i&&r)),!i&&r&&v&&n[y].componentProviders++}}}function os(t,e,n){if(xo(e)||e.useClass){var r=(e.useClass||e).prototype.ngOnDestroy;r&&(t.destroyHooks||(t.destroyHooks=[])).push(n,r)}}function as(t,e,n){t.multi.push(e),n&&t.componentProviders++}function ss(t,e,n,r){for(var i=n;i0&&no(c,h,w.join(" "))}o=gr(m[1],0),e&&(o.projection=e.map((function(t){return Array.from(t)}))),i=function(t,e,n,r,i){var o=n[1],a=function(t,e,n){var r=ne();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),pi(t,r,1),mi(t,e,n));var i=ln(e,t,e.length-1,r);Cr(i,e);var o=dr(r,e);return o&&Cr(o,e),i}(o,n,e);r.components.push(a),t[8]=a,i&&i.forEach((function(t){return t(a,e)})),e.contentQueries&&e.contentQueries(1,a,n.length-1);var s=ne();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Ce(s.index-19);var u=n[1];ci(u,e),li(u,n,e.hostVars),hi(e,a)}return a}(y,this.componentDef,m,d,[$a]),Jr(g,m,null)}finally{_e()}var _=new Ks(this.componentType,i,uo(ms,o,m),m,o);return n&&!f||(_.hostView._tViewNode.child=o),_},e}(fs),Ks=function(t){function e(e,n,r,i,o){var a,s,u,c=t.call(this)||this;return c.location=r,c._rootLView=i,c._tNode=o,c.destroyCbs=[],c.instance=n,c.hostView=c.changeDetectorRef=new so(i),c.hostView._tViewNode=(null,-1,s=i,null==(u=(a=i[1]).node)&&(a.node=u=oi(0,null,2,-1,null,null)),s[6]=u),c.componentType=e,c}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new fn(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},e.prototype.onDestroy=function(t){this.destroyCbs&&this.destroyCbs.push(t)},e}(ps),Js=void 0,Ys=["en",[["a","p"],["AM","PM"],Js],[["AM","PM"],Js,Js],[["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"]],Js,[["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"]],Js,[["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}",Js,"{1} 'at' {0}",Js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Zs={};function Xs(t,e,n){"string"!=typeof e&&(n=e,e=t[iu.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Zs[e]=t,n&&(Zs[e][iu.ExtraData]=n)}function tu(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=ru(e);if(n)return n;var r=e.split("-")[0];if(n=ru(r))return n;if("en"===r)return Ys;throw new Error('Missing locale data for the locale "'+t+'".')}function eu(t){return tu(t)[iu.CurrencyCode]||null}function nu(t){return tu(t)[iu.PluralCase]}function ru(t){return t in Zs||(Zs[t]=$.ng&&$.ng.common&&$.ng.common.locales&&$.ng.common.locales[t]),Zs[t]}var iu=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.PluralCase=19]="PluralCase",t[t.ExtraData=20]="ExtraData",t}({});function ou(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+" [Expected=> null != "+e+" <=Actual]")}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var au=new Map,su=function(t){function e(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[],r.componentFactoryResolver=new Ws(r);var i=Vt(e),o=e[Z]||null;return o&&ou(o),r._bootstrapComponents=Je(i.bootstrap),r._r3Injector=_o(e,n,[{provide:gt,useValue:r},{provide:gs,useValue:r.componentFactoryResolver}],L(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return Object(r.c)(e,t),e.prototype.get=function(t,e,n){return void 0===e&&(e=Oo.THROW_IF_NOT_FOUND),void 0===n&&(n=j.Default),t===Oo||t===gt||t===nt?this:this._r3Injector.get(t,e,n)},e.prototype.destroy=function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(gt),uu=function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,null!==Vt(e)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for "+t+" - "+L(e)+" vs "+L(e.name))})(n,au.get(n),e),au.set(n,e)}var r=e.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(e){return t(e)}))}(e),n}return Object(r.c)(e,t),e.prototype.create=function(t){return new su(this.moduleType,t)},e}(mt);function cu(t,e,n,r){return pu(Xt(),ue(),t,e,n,r)}function lu(t,e,n,r,i){return function(t,e,n,r,i,o,a){var s=e+n;return Go(t,s,i,o)?Vo(t,s+2,a?r.call(a,i,o):r(i,o)):Ho(t,s+2)}(Xt(),ue(),t,e,n,r,i)}function hu(t,e,n,r,i,o){return function(t,e,n,r,i,o,a,s){var u=e+n;return function(t,e,n,r,i){var o=Go(t,e,n,r);return qo(t,e+2,i)||o}(t,u,i,o,a)?Vo(t,u+3,s?r.call(s,i,o,a):r(i,o,a)):Ho(t,u+3)}(Xt(),ue(),t,e,n,r,i,o)}function pu(t,e,n,r,i,o){var a=e+n;return qo(t,a,i)?Vo(t,a+1,o?r.call(o,i):r(i)):Ho(t,a+1)}function fu(t,e){var n,r=te(),i=t+19;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new Error("The pipe '"+t+"' could not be found!")}(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=Bt(n.type)),a=ut(Jo),s=o();return ut(a),function(t,e,n,r){var i=n+19;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(r,Xt(),t,s),s}function du(t,e,n){var r=Xt(),i=mr(r,t);return function(t,e){return Uo.isWrapped(e)&&(e=Uo.unwrap(e),t[ce()]=Lr),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?pu(r,ue(),e,i.transform,n,i):i.transform(n))}var gu=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.c)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,a=function(t){return null},s=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(a=this.__isAsync?function(t){setTimeout((function(){return n(t)}))}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var u=t.prototype.subscribe.call(this,o,a,s);return e instanceof i.a&&e.add(u),u},e}(o.a);function mu(){return this._results[Lo()]()}var yu=function(){function t(){this.dirty=!0,this._results=[],this.changes=new gu,this.length=0;var e=Lo(),n=t.prototype;n[e]||(n[e]=mu)}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r0)i.push(s[u/2]);else{for(var l=a[u+1],h=n[-c],p=9;p0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t.\u0275fac=function(e){return new(e||t)(lt(rc))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),pc=function(){function t(){this._applications=new Map,gc.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),gc.findTestabilityInTree(this,t,e)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function fc(t){gc=t}var dc,gc=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),mc=function(t,e,n){var i=new uu(n);if(0===Io.size)return Promise.resolve(i);var o,a,s=(o=t.get(tc,[]).concat(e).map((function(t){return t.providers})),a=[],o.forEach((function(t){return t&&a.push.apply(a,Object(r.f)(t))})),a);if(0===s.length)return Promise.resolve(i);var u=function(){var t=$.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),c=Oo.create({providers:s}).get(u.ResourceLoader);return function(t){var e=[],n=new Map;function r(t){var e=n.get(t);if(!e){var r=function(t){return Promise.resolve(c.get(t))}(t);n.set(t,e=r.then(No))}return e}return Io.forEach((function(t,n){var i=[];t.templateUrl&&i.push(r(t.templateUrl).then((function(e){t.template=e})));var o=t.styleUrls,a=t.styles||(t.styles=[]),s=t.styles.length;o&&o.forEach((function(e,n){a.push(""),i.push(r(e).then((function(r){a[s+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)})))}));var u=Promise.all(i).then((function(){return function(t){Ro.delete(t)}(n)}));e.push(u)})),Io=new Map,Promise.all(e).then((function(){}))}().then((function(){return i}))},yc=new et("AllowMultipleToken"),vc=function(){return function(t,e){this.name=t,this.token=e}}();function bc(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new et(r);return function(e){void 0===e&&(e=[]);var o=wc();if(!o||o.injector.get(yc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0},{provide:go,useValue:"platform"});!function(t){if(dc&&!dc.destroyed&&!dc.injector.get(yc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");dc=t.get(_c);var e=t.get(Bu,null);e&&e.forEach((function(t){return t()}))}(Oo.create({providers:a,name:r}))}return function(t){var e=wc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function wc(){return dc&&!dc.destroyed?dc:null}var _c=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r,i=this,o=(r=e&&e.ngZoneEventCoalescing||!1,"noop"===(n=e?e.ngZone:void 0)?new lc:("zone.js"===n?void 0:n)||new rc({enableLongStackTrace:Dn(),shouldCoalesceEventChangeDetection:r})),a=[{provide:rc,useValue:o}];return o.run((function(){var e=Oo.create({providers:a,parent:i.injector,name:t.moduleType.name}),n=t.create(e),r=n.injector.get(vn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Tc(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(t){r.handleError(t)}})})),function(t,e,r){try{var o=((a=n.injector.get(Lu)).runInitializers(),a.donePromise.then((function(){return ou(n.injector.get(Gu,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return ua(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var a}(r,o)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=jc({},e);return mc(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Cc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+L(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(lt(Oo))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function jc(t,e){return Array.isArray(e)?e.reduce(jc,t):Object(r.a)(Object(r.a)({},t),e)}var Cc=function(){function t(t,e,n,r,i,o){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Dn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var l=new a.a((function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){t.next(u._stable),t.complete()}))})),h=new a.a((function(t){var e;u._zone.runOutsideAngular((function(){e=u._zone.onStable.subscribe((function(){rc.assertNotInAngularZone(),nc((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){rc.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(s.a)(l,h.pipe((function(t){return c()((e=g,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,f);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof fs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(gt),o=n.create(Oo.NULL,[],e||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(hc,null);return a&&o.injector.get(pc).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Dn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t,e,n,i,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var a=Object(r.g)(this._views),s=a.next();!s.done;s=a.next())s.value.detectChanges()}catch(l){t={error:l}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var u=Object(r.g)(this._views),c=u.next();!c.done;c=u.next())c.value.checkNoChanges()}catch(h){n={error:h}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}catch(p){this._zone.runOutsideAngular((function(){return o._exceptionHandler.handleError(p)}))}finally{this._runningTick=!1}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Tc(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Hu,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Tc(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(lt(rc),lt(qu),lt(Oo),lt(vn),lt(gs),lt(Lu))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function Tc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Sc=function(){return function(){}}(),Ec=function(){return function(){}}(),xc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},kc=function(){function t(t,e){this._compiler=t,this._config=e||xc}return t.prototype.load=function(t){return this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,i=Object(r.e)(t.split("#"),2),o=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(o).then((function(t){return t[a]})).then((function(t){return Oc(t,o,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=Object(r.e)(t.split("#"),2),i=e[0],o=e[1],a="NgFactory";return void 0===o&&(o="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(t){return t[o+a]})).then((function(t){return Oc(t,i,o)}))},t.\u0275fac=function(e){return new(e||t)(lt(Xu),lt(Ec,8))},t.\u0275prov=S({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function Oc(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Ac=function(t){return null},Ic=bc(null,"core",[{provide:Vu,useValue:"unknown"},{provide:_c,deps:[Oo]},{provide:pc,deps:[]},{provide:qu,deps:[]}]),Rc=[{provide:Cc,useClass:Cc,deps:[rc,qu,Oo,vn,gs,Lu]},{provide:$s,deps:[rc],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Lu,useClass:Lu,deps:[[new b,Du]]},{provide:Xu,useClass:Xu,deps:[]},Uu,{provide:Ds,useFactory:function(){return Us},deps:[]},{provide:Ls,useFactory:function(){return Ms},deps:[]},{provide:Gu,useFactory:function(t){return ou(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new v(Gu),new b,new _]]},{provide:Wu,useValue:"USD"}],Nc=function(){function t(t){}return t.\u0275mod=Pt({type:t}),t.\u0275inj=x({factory:function(e){return new(e||t)(lt(Cc))},providers:Rc}),t}()},TypT:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,i=n.length;r0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=m(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.\u0275fac=function(t){return new(t||e)(i.ac(l),i.ac(_,8))},e.\u0275prov=i.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(b),T=function(){function t(t,e){var n=this;this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=y(E(r)),this._platformStrategy.onPopState((function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})}))}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.getState=function(){return this._platformLocation.getState()},t.prototype.isCurrentPathEqualTo=function(t,e){return void 0===e&&(e=""),this.path()==this.normalize(t+v(e))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.onUrlChange=function(t){var e=this;this._urlChangeListeners.push(t),this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)}))},t.prototype._notifyUrlChangeListeners=function(t,e){void 0===t&&(t=""),this._urlChangeListeners.forEach((function(n){return n(t,e)}))},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=v,t.joinWithSlash=m,t.stripTrailingSlash=y,t.\u0275prov=Object(i.Kb)({factory:S,token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(i.ac(b),i.ac(l))},t}();function S(){return new T(Object(i.ac)(b),Object(i.ac)(l))}function E(t){return t.replace(/\/index.html$/,"")}var x={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],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,"$",2],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,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],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",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],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",2],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,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],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],XXX:["\xa4"],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]},k=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),O=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),A=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function I(t,e){var n=Object(i.kb)(t),r=n[i.ab.NumberSymbols][e];if(void 0===r){if(e===A.CurrencyDecimal)return n[i.ab.NumberSymbols][A.Decimal];if(e===A.CurrencyGroup)return n[i.ab.NumberSymbols][A.Group]}return r}var R=i.nb,N=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function P(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var D=function(){return function(){}}(),L=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return Object(r.c)(e,t),e.prototype.getPluralCategory=function(t,e){switch(R(e||this.locale)(t)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}},e.\u0275fac=function(t){return new(t||e)(i.ac(i.u))},e.\u0275prov=i.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(D);function F(t,e){var n,i;e=encodeURIComponent(e);try{for(var o=Object(r.g)(t.split(";")),a=o.next();!a.done;a=o.next()){var s=a.value,u=s.indexOf("="),c=Object(r.e)(-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)],2),l=c[1];if(c[0].trim()===e)return decodeURIComponent(l)}}catch(h){n={error:h}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}var U=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.qb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.wb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.s),i.Ob(i.t),i.Ob(i.l),i.Ob(i.D))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),M=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),B=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(i.V)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new M(null,e._ngForOf,-1,-1),null===i?void 0:i),a=new V(t,o);n.push(a)}else null==i?e._viewContainer.remove(null===r?void 0:r):null!==r&&(o=e._viewContainer.get(r),e._viewContainer.move(o,i),a=new V(t,o),n.push(a))}));for(var r=0;r-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(o=a.length))e=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=Number(a.charAt(r))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}(t);a&&(c=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));var l=e.minInt,h=e.minFrac,p=e.maxFrac;if(o){var f=o.match(N);if(null===f)throw new Error(o+" is not a valid digit info");var d=f[1],g=f[3],m=f[5];null!=d&&(l=P(d)),null!=g&&(h=P(g)),null!=m?p=P(m):null!=g&&h>p&&(p=h)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),a=o+t.integerLen,s=r[a];if(a>0){r.splice(Math.max(t.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var l=0;l>a;l--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;i=p?r.pop():h=!1),e>=10?1:0}),0);f&&(r.unshift(f),t.integerLen++)}(c,h,p);var y=c.digits,v=c.integerLen,b=c.exponent,w=[];for(u=y.every((function(t){return!t}));v0?w=y.splice(v,y.length):(w=y,y=[0]);var _=[];for(y.length>=e.lgSize&&_.unshift(y.splice(-e.lgSize,y.length).join(""));y.length>e.gSize;)_.unshift(y.splice(-e.gSize,y.length).join(""));y.length&&_.unshift(y.join("")),s=_.join(I(n,r)),w.length&&(s+=I(n,i)+w.join("")),b&&(s+=I(n,A.Exponential)+"+"+b)}else s=I(n,A.Infinity);return t<0&&!u?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}(t,a,e,A.CurrencyGroup,A.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(t),a,s,n,o)}catch(u){throw function(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(i.wb)(t)+"'")}(e,u.message)}},t.\u0275fac=function(e){return new(e||t)(i.Ob(i.u),i.Ob(i.k))},t.\u0275pipe=i.Nb({name:"currency",type:t,pure:!0}),t}(),Q=function(){function t(){}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[{provide:D,useClass:L}]}),t}(),K="browser";function J(t){return t===K}var Y=function(){function t(){}return t.\u0275prov=Object(i.Kb)({token:t,providedIn:"root",factory:function(){return new Z(Object(i.ac)(c),window,Object(i.ac)(i.m))}}),t}(),Z=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}()},"VnD/":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("mrSG"),i=n("FFOo");function o(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(i.a)},Vo14:function(t,e,n){var r=n("5M3R")("socket.io-parser"),i=n("cpc2"),o=n("cD5x"),a=n("ojuT"),s=n("+SKG");function u(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=u,e.Decoder=h;var c=e.ERROR+'"encode error"';function l(t){var n=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data){var i=function(t){try{return JSON.stringify(t)}catch(e){return!1}}(t.data);if(!1===i)return c;n+=i}return r("encoded %j as %s",t,n),n}function h(){this.reconstructor=null}function p(t){this.reconPack=t,this.buffers=[]}function f(t){return{type:e.ERROR,data:"parser error: "+t}}u.prototype.encode=function(t,n){r("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type?function(t,e){o.removeBlobs(t,(function(t){var n=o.deconstructPacket(t),r=l(n.packet),i=n.buffers;i.unshift(r),e(i)}))}(t,n):n([l(t)])},i(h.prototype),h.prototype.add=function(t){var n;if("string"==typeof t)n=function(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return f("unknown packet type "+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){for(var o="";"-"!==t.charAt(++n)&&(o+=t.charAt(n),n!=t.length););if(o!=Number(o)||"-"!==t.charAt(n))throw new Error("Illegal attachments");i.attachments=Number(o)}if("/"===t.charAt(n+1))for(i.nsp="";++n&&","!==(u=t.charAt(n))&&(i.nsp+=u,n!==t.length););else i.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(i.id="";++n;){var u;if(null==(u=t.charAt(n))||Number(u)!=u){--n;break}if(i.id+=t.charAt(n),n===t.length)break}i.id=Number(i.id)}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(e){return!1}}(t.substr(n));if(!1===c||i.type!==e.ERROR&&!a(c))return f("invalid payload");i.data=c}return r("decoded %s as %j",t,i),i}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new p(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!s(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},h.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=o.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},WLGk:function(t,e,n){var r=n("6C75"),i=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.exports=function t(e){if(!e||"object"!=typeof e)return!1;if(r(e)){for(var n=0,i=e.length;n0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,o,"day")||a(s,i,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=o?Math.round(t/o)+"d":t>=i?Math.round(t/i)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},Wm4p:function(t,e,n){var r,i=n("dkv/"),o=n("WLGk"),a=n("ypnn"),s=n("zMFY"),u=n("oIG/");"undefined"!=typeof ArrayBuffer&&(r=n("g5Dd"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),l="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=c||l;e.protocol=3;var p=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=i(p),d={type:"error",data:"parser error"},g=n("14A5");function m(t,e,n){for(var r=new Array(t.length),i=s(t.length,n),o=function(t,n,i){e(n,(function(e,n){r[t]=n,i(e,r)}))},a=0;a1?{type:f[i],data:t.substring(1)}:{type:f[i]}:d}i=new Uint8Array(t)[0];var o=a(t,1);return g&&"blob"===n&&(o=new g([o])),{type:f[i],data:o}},e.decodeBase64Packet=function(t,e){var n=f[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=r.decode(t.substr(1));return"blob"===e&&g&&(i=new g([i])),{type:n,data:i}},e.encodePayload=function(t,n,r){"function"==typeof n&&(r=n,n=null);var i=o(t);return n&&i?g&&!h?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void m(t,(function(t,r){e.encodePacket(t,!!i&&n,!1,(function(t){r(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return r(e.join(""))})):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);var i;if("function"==typeof n&&(r=n,n=null),""===t)return r(d,0,1);for(var o,a,s="",u=0,c=t.length;u0;){for(var s=new Uint8Array(i),u=0===s[0],c="",l=1;255!==s[l];l++){if(c.length>310)return r(d,0,1);c+=s[l]}i=a(i,2+c.length),c=parseInt(c);var h=a(i,0,c);if(u)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(g){var p=new Uint8Array(h);for(h="",l=0;l0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,Object(r.f)(n)),this.headers.set(e,i);break;case"d":var o=t.value;if(o){var a=this.headers.get(e);if(!a)return;0===(a=a.filter((function(t){return-1===o.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),d=function(){function t(){}return t.prototype.encodeKey=function(t){return g(t)},t.prototype.encodeValue=function(t){return g(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function g(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function t(t){var e,n,i,o=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,i=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),o=Object(r.e)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),a=o[0],s=o[1],u=i.get(a)||[];u.push(s),i.set(a,u)})),i)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}var w=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new f),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300}}(),C=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=_.ResponseHeader,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(j),T=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=_.Response,n.body=void 0!==e.body?e.body:null,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(j),S=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(r.c)(e,t),e}(j);function E(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var x=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof w)r=t;else{var a;a=n.headers instanceof f?n.headers:new f(n.headers);var l=void 0;n.params&&(l=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new w(t,e,void 0!==n.body?n.body:null,{headers:a,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var h=Object(o.a)(r).pipe(Object(s.a)((function(t){return i.handler.handle(t)})));if(t instanceof w||"events"===n.observe)return h;var p=h.pipe(Object(u.a)((function(t){return t instanceof T})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return p.pipe(Object(c.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return p.pipe(Object(c.a)((function(t){return t.body})))}case"response":return p;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,E(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,E(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,E(n,e))},t.\u0275fac=function(e){return new(e||t)(i.ac(h))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),O=new i.q("HTTP_INTERCEPTORS"),A=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),I=/^\)\]\}',?\n/,R=function(){return function(){}}(),N=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),P=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new f(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return s=new C({headers:i,status:e,statusText:n,url:o})},c=function(){var e=u(),i=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===r.response?r.responseText:r.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(I,"");try{c=""!==c?JSON.parse(c):null}catch(p){c=h,l&&(l=!1,c={error:p,text:c})}}l?(n.next(new T({body:c,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new S({error:c,headers:i,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,i=new S({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,p=function(e){h||(n.next(u()),h=!0);var i={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",c),r.addEventListener("error",l),t.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:_.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),t.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}}))},t.\u0275fac=function(e){return new(e||t)(i.ac(R))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),D=new i.q("XSRF_COOKIE_NAME"),L=new i.q("XSRF_HEADER_NAME"),F=function(){return function(){}}(),U=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.u)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t.\u0275fac=function(e){return new(e||t)(i.ac(l.d),i.ac(i.B),i.ac(D))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),M=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t.\u0275fac=function(e){return new(e||t)(i.ac(F),i.ac(L))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),B=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(O,[]);this.chain=e.reduceRight((function(t,e){return new k(t,e)}),this.backend)}return this.chain.handle(t)},t.\u0275fac=function(e){return new(e||t)(i.ac(p),i.ac(i.r))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),V=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:M,useClass:A}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:D,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}},t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[M,{provide:O,useExisting:M,multi:!0},{provide:F,useClass:U},{provide:D,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t}(),H=function(){function t(){}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[x,{provide:h,useClass:B},P,{provide:p,useExisting:P},N,{provide:R,useExisting:N}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},cpc2:function(t,e,n){function r(t){if(t)return function(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},f.prototype.cleanup=function(){c("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();c("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(c("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(c("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(c("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},g5Dd:function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3==2?o=o.substring(0,o.length-1)+"=":i%3==1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,r,i,o,a,s=.75*t.length,u=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),h=new Uint8Array(l);for(e=0;e>4,h[c++]=(15&i)<<4|o>>2,h[c++]=(3&o)<<6|63&a;return l}}()},gFX4:function(t,e,n){var r=n("zJ60"),i=n("Vo14"),o=n("eOtv"),a=n("x7D4")("socket.io-client");t.exports=e=u;var s=e.managers={};function u(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i=r(t),u=i.source,c=i.id;return e.forceNew||e["force new connection"]||!1===e.multiplex||s[c]&&i.path in s[c].nsps?(a("ignoring socket cache for %s",u),n=o(u,e)):(s[c]||(a("new io instance for %s",u),s[c]=o(u,e)),n=s[c]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=u,e.Manager=n("eOtv"),e.Socket=n("KFGy")},iLxQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},jctj:function(t,e){t.exports=function(t){var e={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},t.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"|$)",end:">",keywords:{name:"style"},contains:[e],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"|$)",end:">",keywords:{name:"script"},contains:[e],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},e]}]}}},kSER:function(t,e){t.exports=function(t,e){for(var n=[],r=(e=e||0)||0;r=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(){for(var t=[],e=0;e=55296&&e<=56319&&i=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function u(t,e){return o(t>>e&63|128)}function c(t,e){if(0==(4294967168&t))return o(t);var n="";return 0==(4294965248&t)?n=o(t>>6&31|192):0==(4294901760&t)?(s(t,e)||(t=65533),n=o(t>>12&15|224),n+=u(t,6)):0==(4292870144&t)&&(n=o(t>>18&7|240),n+=u(t,12),n+=u(t,6)),n+o(63&t|128)}function l(){if(i>=r)throw Error("Invalid byte index");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function h(t){var e,o;if(i>r)throw Error("Invalid byte index");if(i==r)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|l())>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if((o=(15&e)<<12|l()<<6|l())>=2048)return s(o,t)?o:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=(7&e)<<18|l()<<12|l()<<6|l())>=65536&&o<=1114111)return o;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,r=a(t),i=r.length,o=-1,s="";++o65535&&(i+=o((e-=65536)>>>10&1023|55296),e=56320|1023&e),i+=o(e);return i}(c)}}},ojuT:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},p0ib:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("6blF"),i=n("nkY7"),o=n("Zn8D"),a=n("IUTb");function s(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},psW0:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("mrSG"),i=n("zotm"),o=n("MGBS"),a=n("rPjj"),s=n("67Y/"),u=n("0/uQ");function c(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(c((function(n,r){return Object(u.a)(t(n,r)).pipe(Object(s.a)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new l(t,n))})}var l=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project,this.concurrent))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.c(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},pugT:function(t,e,n){"use strict";var r=n("isby"),i=n("McSo"),o=n("2Bdj"),a=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();n.d(e,"a",(function(){return s}));var s=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,s=this._unsubscribe,c=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var l=0;l]+>|\t|)+|(?:\n)))/gm,u={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function c(t){return t.replace(/&/g,"&").replace(//g,">")}function l(t){return t.nodeName.toLowerCase()}function h(t,e){var n=t&&t.exec(e);return n&&0===n.index}function p(t){return o.test(t)}function f(t){var e,n={},r=Array.prototype.slice.call(arguments,1);for(e in t)n[e]=t[e];return r.forEach((function(t){for(e in t)n[e]=t[e]})),n}function d(t){var e=[];return function t(n,r){for(var i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(e.push({event:"start",offset:r,node:i}),r=t(i,r),l(i).match(/br|hr|img|input/)||e.push({event:"stop",offset:r,node:i}));return r}(t,0),e}function g(t,e,i,o){function a(t){return new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function s(t,e){var n=v.case_insensitive?e[0].toLowerCase():e[0];return t.keywords.hasOwnProperty(n)&&t.keywords[n]}function l(t,e,n,r){var i='')+e+(n?"":"")}function p(){C+=null!=_.subLanguage?function(){var t="string"==typeof _.subLanguage;if(t&&!r[_.subLanguage])return c(T);var e=t?g(_.subLanguage,T,!0,j[_.subLanguage]):m(T,_.subLanguage.length?_.subLanguage:void 0);return _.relevance>0&&(S+=e.relevance),t&&(j[_.subLanguage]=e.top),l(e.language,e.value,!1,!0)}():function(){var t,e,n,r;if(!_.keywords)return c(T);for(r="",e=0,_.lexemesRe.lastIndex=0,n=_.lexemesRe.exec(T);n;)r+=c(T.substring(e,n.index)),(t=s(_,n))?(S+=t[1],r+=l(t[0],c(n[0]))):r+=c(n[0]),e=_.lexemesRe.lastIndex,n=_.lexemesRe.exec(T);return r+c(T.substr(e))}(),T=""}function d(t){C+=t.className?l(t.className,"",!0):"",_=Object.create(t,{parent:{value:_}})}function y(t,e){if(T+=t,null==e)return p(),0;var n=function(t,e){var n,r;for(n=0,r=e.contains.length;n"),_.skip||_.subLanguage||(S+=_.relevance),_=_.parent}while(_!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),d(r.starts)),o.returnEnd?0:e.length}if(function(t,e){return!i&&h(e.illegalRe,t)}(e,_))throw new Error('Illegal lexeme "'+e+'" for mode "'+(_.className||"")+'"');return T+=e,e.length||1}var v=w(t);if(!v)throw new Error('Unknown language: "'+t+'"');!function(t){function e(t){return t&&t.source||t}function r(n,r){return new RegExp(e(n),"m"+(t.case_insensitive?"i":"")+(r?"g":""))}!function i(o,a){if(!o.compiled){if(o.compiled=!0,o.keywords=o.keywords||o.beginKeywords,o.keywords){var s={},u=function(e,n){t.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach((function(t){var n=t.split("|");s[n[0]]=[e,n[1]?Number(n[1]):1]}))};"string"==typeof o.keywords?u("keyword",o.keywords):n(o.keywords).forEach((function(t){u(t,o.keywords[t])})),o.keywords=s}o.lexemesRe=r(o.lexemes||/\w+/,!0),a&&(o.beginKeywords&&(o.begin="\\b("+o.beginKeywords.split(" ").join("|")+")\\b"),o.begin||(o.begin=/\B|\b/),o.beginRe=r(o.begin),o.endSameAsBegin&&(o.end=o.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(o.endRe=r(o.end)),o.terminator_end=e(o.end)||"",o.endsWithParent&&a.terminator_end&&(o.terminator_end+=(o.end?"|":"")+a.terminator_end)),o.illegal&&(o.illegalRe=r(o.illegal)),null==o.relevance&&(o.relevance=1),o.contains||(o.contains=[]),o.contains=Array.prototype.concat.apply([],o.contains.map((function(t){return function(t){return t.variants&&!t.cached_variants&&(t.cached_variants=t.variants.map((function(e){return f(t,{variants:null},e)}))),t.cached_variants||t.endsWithParent&&[f(t)]||[t]}("self"===t?o:t)}))),o.contains.forEach((function(t){i(t,o)})),o.starts&&i(o.starts,a);var c=o.contains.map((function(t){return t.beginKeywords?"\\.?("+t.begin+")\\.?":t.begin})).concat([o.terminator_end,o.illegal]).map(e).filter(Boolean);o.terminators=c.length?r(c.join("|"),!0):{exec:function(){return null}}}}(t)}(v);var b,_=o||v,j={},C="";for(b=_;b!==v;b=b.parent)b.className&&(C=l(b.className,"",!0)+C);var T="",S=0;try{for(var E,x,k=0;_.terminators.lastIndex=k,E=_.terminators.exec(e);)x=y(e.substring(k,E.index),E[0]),k=E.index+x;for(y(e.substr(k)),b=_;b.parent;b=b.parent)b.className&&(C+="");return{relevance:S,value:C,language:t,top:_}}catch(O){if(O.message&&-1!==O.message.indexOf("Illegal"))return{relevance:0,value:c(e)};throw O}}function m(t,e){e=e||u.languages||n(r);var i={relevance:0,value:c(t)},o=i;return e.filter(w).filter(_).forEach((function(e){var n=g(e,t,!1);n.language=e,n.relevance>o.relevance&&(o=n),n.relevance>i.relevance&&(o=i,i=n)})),o.language&&(i.second_best=o),i}function y(t){return u.tabReplace||u.useBR?t.replace(s,(function(t,e){return u.useBR&&"\n"===t?"
":u.tabReplace?e.replace(/\t/g,u.tabReplace):""})):t}function v(t){var n,r,o,s,h,f=function(t){var e,n,r,i,o=t.className+" ";if(n=a.exec(o+=t.parentNode?t.parentNode.className:""))return w(n[1])?n[1]:"no-highlight";for(e=0,r=(o=o.split(/\s+/)).length;e/g,"\n"):n=t,h=n.textContent,o=f?g(f,h,!0):m(h),(r=d(n)).length&&((s=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=o.value,o.value=function(t,n,r){var i=0,o="",a=[];function s(){return t.length&&n.length?t[0].offset!==n[0].offset?t[0].offset"}function h(t){o+=""}function p(t){("start"===t.event?u:h)(t.node)}for(;t.length||n.length;){var f=s();if(o+=c(r.substring(i,f[0].offset)),i=f[0].offset,f===t){a.reverse().forEach(h);do{p(f.splice(0,1)[0]),f=s()}while(f===t&&f.length&&f[0].offset===i);a.reverse().forEach(u)}else"start"===f[0].event?a.push(f[0].node):a.pop(),p(f.splice(0,1)[0])}return o+c(r.substr(i))}(r,d(s),h)),o.value=y(o.value),t.innerHTML=o.value,t.className=function(t,e,n){var r=e?i[e]:n,o=[t.trim()];return t.match(/\bhljs\b/)||o.push("hljs"),-1===t.indexOf(r)&&o.push(r),o.join(" ").trim()}(t.className,f,o.language),t.result={language:o.language,re:o.relevance},o.second_best&&(t.second_best={language:o.second_best.language,re:o.second_best.relevance}))}function b(){if(!b.called){b.called=!0;var t=document.querySelectorAll("pre code");e.forEach.call(t,v)}}function w(t){return t=(t||"").toLowerCase(),r[t]||r[i[t]]}function _(t){var e=w(t);return e&&!e.disableAutodetect}t.highlight=g,t.highlightAuto=m,t.fixMarkup=y,t.highlightBlock=v,t.configure=function(t){u=f(u,t)},t.initHighlighting=b,t.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)},t.registerLanguage=function(e,n){var o=r[e]=n(t);o.aliases&&o.aliases.forEach((function(t){i[t]=e}))},t.listLanguages=function(){return n(r)},t.getLanguage=w,t.autoDetection=_,t.inherit=f,t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t.COMMENT=function(e,n,r){var i=t.inherit({className:"comment",begin:e,end:n,contains:[]},r||{});return i.contains.push(t.PHRASAL_WORDS_MODE),i.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),i},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0}}(e)},r0Rl:function(t,e){t.exports=function(t){var e={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},n={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},r={begin:"\\(",end:/\)/,keywords:e,contains:["self",t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,t.NUMBER_MODE]},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r]};return{aliases:["ts"],keywords:e,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t.IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:["self",t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:e,contains:["self",t.inherit(t.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),i],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0,contains:["self",i]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+t.IDENT_RE,relevance:0},n,r]}}},rPjj:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("mrSG"),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.c(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("FFOo").a)},"u/pq":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n("TYT/"),i=n("QJY3"),o={provide:i.f,useExisting:Object(r.T)((function(){return a})),multi:!0},a=function(){function t(){this.btnCheckboxTrue=!0,this.btnCheckboxFalse=!1,this.state=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}return t.prototype.onClick=function(){this.isDisabled||(this.toggle(!this.state),this.onChange(this.value))},t.prototype.ngOnInit=function(){this.toggle(this.trueValue===this.value)},Object.defineProperty(t.prototype,"trueValue",{get:function(){return void 0===this.btnCheckboxTrue||this.btnCheckboxTrue},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"falseValue",{get:function(){return void 0!==this.btnCheckboxFalse&&this.btnCheckboxFalse},enumerable:!0,configurable:!0}),t.prototype.toggle=function(t){this.state=t,this.value=this.state?this.trueValue:this.falseValue},t.prototype.writeValue=function(t){this.state=this.trueValue===t,this.value=t?this.trueValue:this.falseValue},t.prototype.setDisabledState=function(t){this.isDisabled=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Jb({type:t,selectors:[["","btnCheckbox",""]],hostVars:3,hostBindings:function(t,e){1&t&&r.ec("click",(function(){return e.onClick()})),2&t&&(r.Cb("aria-pressed",e.state),r.Gb("active",e.state))},inputs:{btnCheckboxTrue:"btnCheckboxTrue",btnCheckboxFalse:"btnCheckboxFalse"},features:[r.Ab([o])]}),t}(),s={provide:i.f,useExisting:Object(r.T)((function(){return u})),multi:!0},u=function(){function t(t){this.cdr=t,this.onChange=Function.prototype,this.onTouched=Function.prototype}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this._value=t,this.cdr.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h))},t.\u0275dir=r.Jb({type:t,selectors:[["","btnRadioGroup",""]],features:[r.Ab([s])]}),t}(),c={provide:i.f,useExisting:Object(r.T)((function(){return l})),multi:!0},l=function(){function t(t,e,n,r){this.el=t,this.cdr=e,this.group=n,this.renderer=r,this.onChange=Function.prototype,this.onTouched=Function.prototype}return Object.defineProperty(t.prototype,"value",{get:function(){return this.group?this.group.value:this._value},set:function(t){this.group?this.group.value=t:this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this.setDisabledState(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this.btnRadio===this.value},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.el.nativeElement.attributes.disabled||!this.uncheckable&&this.btnRadio===this.value||(this.value=this.uncheckable&&this.btnRadio===this.value?void 0:this.btnRadio,this._onChange(this.value))},t.prototype.ngOnInit=function(){this.uncheckable=void 0!==this.uncheckable},t.prototype.onBlur=function(){this.onTouched()},t.prototype._onChange=function(t){if(this.group)return this.group.onTouched(),void this.group.onChange(t);this.onTouched(),this.onChange(t)},t.prototype.writeValue=function(t){this.value=t,this.cdr.markForCheck()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){t?this.renderer.setAttribute(this.el.nativeElement,"disabled","disabled"):this.renderer.removeAttribute(this.el.nativeElement,"disabled")},t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(u,8),r.Ob(r.D))},t.\u0275dir=r.Jb({type:t,selectors:[["","btnRadio",""]],hostVars:3,hostBindings:function(t,e){1&t&&r.ec("click",(function(){return e.onClick()})),2&t&&(r.Cb("aria-pressed",e.isActive),r.Gb("active",e.isActive))},inputs:{value:"value",disabled:"disabled",uncheckable:"uncheckable",btnRadio:"btnRadio"},features:[r.Ab([c])]}),t}(),h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}()},uDUn:function(t,e){var n=1e3,r=6e4,i=36e5,o=24*i;function a(t,e,n){if(!(t0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(s=t,o,"day")||a(s,i,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(t){return t>=o?Math.round(t/o)+"d":t>=i?Math.round(t/i)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},x7D4:function(t,e,n){function r(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(e=t.exports=n("Q80o")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))})),t.splice(o,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(r())},xTla:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},y3By:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("+umK");function i(){for(var t=[],e=0;er&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var i=new Uint8Array(t),o=new Uint8Array(n-e),a=e,s=0;a-1&&(e.splice(n,1),o+=t+".")})),o+=i,0!=e.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&A.hasOwnProperty(e)&&(e=A[e]))}return O[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),k.forEach((function(r){r!=n&&(0,I[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded((function(){return e(i)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.\u0275fac=function(t){return new(t||e)(i.ac(o.d))},e.\u0275prov=i.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(m),N=[{provide:i.B,useValue:o.s},{provide:i.C,useValue:function(){c.makeCurrent(),f.init()},multi:!0},{provide:o.d,useFactory:function(){return Object(i.vb)(document),document},deps:[]}],P=Object(i.Q)(i.W,"browser",N),D=[[],{provide:i.Z,useValue:"root"},{provide:i.m,useFactory:function(){return new i.m},deps:[]},{provide:d,useClass:x,multi:!0,deps:[o.d,i.z,i.B]},{provide:d,useClass:R,multi:!0,deps:[o.d]},[],{provide:C,useClass:C,deps:[g,v,i.c]},{provide:i.E,useExisting:C},{provide:y,useExisting:v},{provide:v,useClass:v,deps:[o.d]},{provide:i.L,useClass:i.L,deps:[i.z]},{provide:g,useClass:g,deps:[d,i.z]},[]],L=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:i.c,useValue:t.appId},{provide:h,useExisting:i.c},p]}},t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(n){return new(n||t)(i.ac(e,12))},providers:D,imports:[o.b,i.f]}),t}();"undefined"!=typeof window&&window;var F=n("2WDa");function U(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function M(t){switch(t.length){case 0:return new F.d;case 1:return t[0];default:return new F.h(t)}}function B(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var a=[],s=[],u=-1,c=null;if(r.forEach((function(t){var n=t.offset,r=n==u,l=r&&c||{};Object.keys(t).forEach((function(n){var r=n,s=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),s){case F.i:s=i[n];break;case F.a:s=o[n];break;default:s=e.normalizeStyleValue(n,r,s,a)}l[r]=s})),r||s.push(l),c=l,u=n})),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function V(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&H(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&H(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&H(n,"destroy",t))}))}}function H(t,e,n){var r=n.totalTime,i=q(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function q(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function G(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function W(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var z=function(t,e){return!1},$=function(t,e){return!1},Q=function(t,e,n){return[]},K=U();(K||"undefined"!=typeof Element)&&(z=function(t,e){return t.contains(e)},$=function(){if(K||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:$}(),Q=function(t,e,n){var r=[];if(n)r.push.apply(r,Object(u.f)(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r});var J=null,Y=!1;function Z(t){J||(J=("undefined"!=typeof document?document.body:null)||{},Y=!!J.style&&"WebkitAppearance"in J.style);var e=!0;return J.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in J.style)&&Y&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in J.style),e}var X=$,tt=z,et=Q;function nt(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var rt=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return Z(t)},t.prototype.matchesElement=function(t,e){return X(t,e)},t.prototype.containsElement=function(t,e){return tt(t,e)},t.prototype.query=function(t,e,n){return et(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o,a){return void 0===o&&(o=[]),new F.d(n,r)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),it=function(){function t(){}return t.NOOP=new rt,t}();function ot(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:at(parseFloat(e[1]),e[2])}function at(t,e){switch(e){case"s":return 1e3*t;default:return t}}function st(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=at(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=at(parseFloat(s),a[4]));var u=a[5];u&&(o=u)}else r=t;if(!n){var c=!1,l=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),c=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&e.splice(l,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function ut(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function ct(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else ut(t,n);return n}function lt(t,e,n){return n?e+":"+n+";":""}function ht(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(xt(o,s)),"<"!=a[0]||"*"==o&&"*"==s||e.push(xt(s,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:Nt(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Ct(n,t,e)})),options:Nt(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=Ct(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:Nt(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Pt(st(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=Pt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Pt((n=n||st(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:Object(F.g)({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=Object(F.g)(s)}e.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,e);u.isEmptyStep=a,n=u}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==F.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var r=!1,i=null;return n.forEach((function(t){if(Rt(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,c=e.collectedStyles[e.currentQuerySelector],l=c[r],h=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=l.startTime),h&&(c[r]={startTime:o,endTime:i}),e.options&&(a=e.errors,s=e.options.params||{},(u=mt(t[r])).length&&u.forEach((function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,u=0,c=t.steps.map((function(t){var r=n._makeStyleAst(t,e),c=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(Rt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Rt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),l=0;return null!=c&&(i++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&i0?i==p?1:h*i:o[i],s=a*g;e.currentTime=f+d.delay+s,d.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:Ct(this,dt(t.animation),e),options:Nt(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Nt(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Nt(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=Object(u.e)(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(kt,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,G(e.collectedStyles,e.currentQuerySelector,{});var s=Ct(this,dt(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Nt(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:st(t.timings,e.errors,!0);return{type:12,animation:Ct(this,dt(t.animation),e),timings:n,options:null}},t}(),It=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Rt(t){return!Array.isArray(t)&&"object"==typeof t}function Nt(t){var e;return t?(t=ut(t)).params&&(t.params=(e=t.params)?ut(e):null):t={},t}function Pt(t,e,n){return{duration:t,delay:e,easing:n}}function Dt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Lt=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(u.f)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Ft=new RegExp(":enter","g"),Ut=new RegExp(":leave","g");function Mt(t,e,n,r,i,o,a,s,u,c){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new Bt).buildKeyframes(t,e,n,r,i,o,a,s,u,c)}var Bt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,u,c){void 0===c&&(c=[]),u=u||new Lt;var l=new Ht(t,e,u,r,i,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),Ct(this,n,l);var h=l.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,l.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[Dt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?ot(n.duration):null,o=null!=n.delay?ot(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ct(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Vt);var a=ot(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach((function(t){return Ct(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?ot(t.options.delay):0;t.steps.forEach((function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),Ct(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return st(e.params?yt(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?ot(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Vt);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach((function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(u=s.currentTimeline),Ct(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;Ct(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},t}(),Vt={},Ht=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new qt(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=ot(r.duration)),null!=r.delay&&(i.delay=ot(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(t){e&&a.hasOwnProperty(t)||(a[t]=yt(o[t],a,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new Gt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Ft,"."+this._enterClassName)).replace(Ut,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(u.f)(s))}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),qt=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||F.a,e._currentKeyframe[t]=F.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},a=function(t,e){var n,r={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){r[t]=F.a})):ct(t,!1,r)})),r}(t,this._globalTimelineStyles);Object.keys(a).forEach((function(t){var e=yt(a[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:F.a),i._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,a){var s=ct(o,!0);Object.keys(s).forEach((function(t){var r=s[t];r==F.i?e.add(t):r==F.a&&n.add(t)})),r||(s.offset=a/t.duration),i.push(s)}));var o=e.size?vt(e.values()):[],a=n.size?vt(n.values()):[];if(r){var s=i[0],u=ut(s);s.offset=0,u.offset=1,i=[s,u]}return Dt(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)},t}(),Gt=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var u=t.call(this,e,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(u.c)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,u=ct(t[0],!1);u.offset=0,o.push(u);var c=ct(t[0],!1);c.offset=Wt(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var p=ct(t[h],!1);p.offset=Wt((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return Dt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(qt);function Wt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var zt=function(){return function(){}}(),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.c)(e,t),e.prototype.normalizePropertyName=function(t,e){return wt(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Qt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(zt),Qt=function(){return function(t){var e={};return t.forEach((function(t){return e[t]=!0})),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","))}();function Kt(t,e,n,r,i,o,a,s,u,c,l,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:p}}var Jt={},Yt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,a,s,c,l){var h=[],p=this.ast.options&&this.ast.options.params||Jt,f=this.buildStyles(n,a&&a.params||Jt,h),d=s&&s.params||Jt,g=this.buildStyles(r,d,h),m=new Set,y=new Map,v=new Map,b="void"===r,w={params:Object(u.a)(Object(u.a)({},p),d)},_=l?[]:Mt(t,e,this.ast.animation,i,o,f,g,w,c,h),j=0;if(_.forEach((function(t){j=Math.max(t.duration+t.delay,j)})),h.length)return Kt(e,this._triggerName,n,r,b,f,g,[],[],y,v,j,h);_.forEach((function(t){var n=t.element,r=G(y,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=G(v,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&m.add(n)}));var C=vt(m.values());return Kt(e,this._triggerName,n,r,b,f,g,_,C,y,v,j)},t}(),Zt=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=ut(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(r[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=yt(o,r,e)),n[t]=o}))}})),n},t}(),Xt=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new Zt(t.style,t.options&&t.options.params||{})})),te(this.states,"true","1"),te(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new Yt(t,e,n.states))})),this.fallbackTransition=new Yt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function te(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var ee=new Lt,ne=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=Ot(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=B(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[t],s=new Map;if(a?(i=Mt(this._driver,e,a,"ng-enter","ng-leave",{},{},n,ee,o)).forEach((function(t){var e=G(s,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=r._driver.computeStyle(e,n,F.a)}))}));var u=M(i.map((function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)})));return this._playersById[t]=u,u.onDestroy((function(){return r.destroy(t)})),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=q(e,"","","");return V(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),re=[],ie={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ae=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=ut(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),se=new ae("void"),ue=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ge(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=G(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var u=G(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(ge(t,"ng-trigger"),ge(t,"ng-trigger-"+e),u[e]=se),function(){o._engine.afterFlush((function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete u[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new le(this.id,e,t),s=this._engine.statesByElement.get(t);s||(ge(t,"ng-trigger"),ge(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new ae(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=se),"void"===c.value||u.value!==c.value){var l=G(this._engine.playersByElement,t,[]);l.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var h=o.matchTransition(u.value,c.value,t,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:p}),p||(ge(t,"ng-animate-queued"),a.onStart((function(){me(t,"ng-animate-queued")}))),a.onDone((function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ge(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),me(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(he(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return he(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return M(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=ie,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach((function(t){var e=t.player,o=t.element;if(C.push(e),n.collectedEnterElements.length){var u=o.__ng_removed;if(u&&u.setForMove)return void e.destroy()}var h=!p||!n.driver.containsElement(p,o),f=_.get(o),d=g.get(o),m=n._buildInstruction(t,r,d,f,h);if(m.errors&&m.errors.length)T.push(m);else{if(h)return e.onStart((function(){return ft(o,m.fromStyles)})),e.onDestroy((function(){return pt(o,m.toStyles)})),void i.push(e);if(t.isFallbackTransition)return e.onStart((function(){return ft(o,m.fromStyles)})),e.onDestroy((function(){return pt(o,m.toStyles)})),void i.push(e);m.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(o,m.timelines),a.push({instruction:m,player:e,element:o}),m.queriedElements.forEach((function(t){return G(s,t,[]).push(e)})),m.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),m.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=l.get(e);r||l.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}))}}));if(T.length){var E=[];T.forEach((function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return E.push("- "+t+"\n")}))})),C.forEach((function(t){return t.destroy()})),this.reportError(E)}var x=new Map,k=new Map;a.forEach((function(t){var e=t.element;r.has(e)&&(k.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))})),i.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){G(x,e,[]).push(t),t.destroy()}))}));var O=y.filter((function(t){return ve(t,c,l)})),A=new Map;fe(A,this.driver,b,l,F.a).forEach((function(t){ve(t,c,l)&&O.push(t)}));var I=new Map;d.forEach((function(t,e){fe(I,n.driver,new Set(t),c,F.i)})),O.forEach((function(t){var e=A.get(t),n=I.get(t);A.set(t,Object(u.a)(Object(u.a)({},e),n))}));var R=[],N=[],P={};a.forEach((function(t){var e=t.element,a=t.player,s=t.instruction;if(r.has(e)){if(h.has(e))return a.onDestroy((function(){return pt(e,s.toStyles)})),a.disabled=!0,a.overrideTotalTime(s.totalTime),void i.push(a);var u=P;if(k.size>1){for(var c=e,l=[];c=c.parentNode;){var p=k.get(c);if(p){u=p;break}l.push(c)}l.forEach((function(t){return k.set(t,u)}))}var f=n._buildAnimation(a.namespaceId,s,x,o,I,A);if(a.setRealPlayer(f),u===P)R.push(a);else{var d=n.playersByElement.get(u);d&&d.length&&(a.parentPlayer=M(d)),i.push(a)}}else ft(e,s.fromStyles),a.onDestroy((function(){return pt(e,s.toStyles)})),N.push(a),h.has(e)&&i.push(a)})),N.forEach((function(t){var e=o.get(t.element);if(e&&e.length){var n=M(e);t.setRealPlayer(n)}})),i.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var D=0;D0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new F.d(t.duration,t.delay)},t}(),le=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new F.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return V(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){G(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function he(t){return t&&1===t.nodeType}function pe(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function fe(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(pe(t))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r.__ng_removed=oe,a.push(r))})),t.set(r,o)}));var s=0;return n.forEach((function(t){return pe(t,o[s++])})),a}function de(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}function ge(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function me(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function ye(t,e,n){M(n).onDone((function(){return t.processLeaveNode(e)}))}function ve(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var be=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new ce(t,e,n),this._timelineEngine=new ne(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],u=Ot(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new Xt(t,e)}(r,u),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=Object(u.e)(W(n),2);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=Object(u.e)(W(n),2);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function we(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=je(e[0]),e.length>1&&(r=je(e[e.length-1]))):e&&(n=je(e)),n||r?new _e(t,n,r):null}var _e=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&pt(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(pt(this._element,this._initialStyles),this._endStyles&&(pt(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ft(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ft(this._element,this._endStyles),this._endStyles=null),pt(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function je(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ke(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=xe(n=Ae(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),Oe(t,"",n.join(","))))},t}();function Se(t,e,n){Oe(t,"PlayState",n,Ee(t,e))}function Ee(t,e){var n=Ae(t,"");return n.indexOf(",")>0?xe(n.split(","),e):xe([n],e)}function xe(t,e){for(var n=0;n=0)return n;return-1}function ke(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Oe(t,e,n,r){var i="animation"+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function Ae(t,e){return t.style["animation"+e]}var Ie=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.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(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Te(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Tt(t.element,r))}))}this.currentSnapshot=e},t}(),Re=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=nt(n),r}return Object(u.c)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(F.d),Ne=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return Z(t)},t.prototype.matchesElement=function(t,e){return X(t,e)},t.prototype.containsElement=function(t,e){return tt(t,e)},t.prototype.query=function(t,e,n){return et(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return nt(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(t){return t instanceof Ie})),u={};_t(n,r)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return u[t]=e[t]}))}));var c=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=jt(t,e,u));if(0==n)return new Re(t,c);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);var p=we(t,e),f=new Ie(t,e,l,n,r,i,c,p);return f.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),f},t.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)},t}(),Pe=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Tt(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),De=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Le().toString()),this._cssKeyframesDriver=new Ne}return t.prototype.validateStyleProperty=function(t){return Z(t)},t.prototype.matchesElement=function(t,e){return X(t,e)},t.prototype.containsElement=function(t,e){return tt(t,e)},t.prototype.query=function(t,e,n){return et(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var u={},c=o.filter((function(t){return t instanceof Pe}));_t(n,r)&&c.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return u[t]=e[t]}))}));var l=we(t,e=jt(t,e=e.map((function(t){return ct(t,!1)})),u));return new Pe(t,e,s,l)},t}();function Le(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Fe=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:i.O.None,styles:[],data:{animation:[]}}),r}return Object(u.c)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(F.f)(t):t;return Be(this._renderer,null,e,"register",[n]),new Ue(e,this._renderer)},e.\u0275fac=function(t){return new(t||e)(i.ac(i.E),i.ac(o.d))},e.\u0275prov=i.Kb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(F.b),Ue=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(u.c)(e,t),e.prototype.create=function(t,e){return new Me(this._id,t,e||{},this._renderer)},e}(F.c),Me=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t");i=i.substr(0,o);var a=t.getOccurrenceCount(i.toLowerCase(),e,!1);if(a>0){var s="",u=i.indexOf('jhaTitle="');u>=0&&(u=(s=i.substr(u+10)).indexOf('"'))>=0&&(s=s.substr(0,u));var c=a;s.toLowerCase().indexOf(e)>=0&&(c+=10),t.searchResultList.push(new Rn(s,n.routePrefix+n.component,c))}})),this.searchResultList.sort((function(t,e){var n=0;return t.weighte.weight&&(n=-1),n})),this.searching=!1,this.noSearchResults=this.searchResultList.length<1,1===this.searchResultList.length?this.router.navigate([this.searchResultList[0].routerLink]):this.title=this.searchResultList.length<1?"We didn't find anything that matched '"+this.searchString+"'":this.searchResultList.length+" results found for '"+this.searchString+"'"}else this.blankSearchString=!this.displaySearchInputForPhone,this.title="Search"},t.prototype.ngOnDestroy=function(){this.routeSubscription&&this.routeSubscription.unsubscribe()},t.prototype.getOccurrenceCount=function(t,e,n){if(t+="",(e+="").length<=0)return t.length+1;for(var r=0,i=0,o=n?1:e.length;(i=t.indexOf(e,i))>=0;)++r,i+=o;return r},t.\u0275fac=function(e){return new(e||t)(i.Ob(_n.a),i.Ob(a.a),i.Ob(a.e))},t.\u0275cmp=i.Ib({type:t,selectors:[["site-search"]],features:[i.Ab([_n.a])],decls:7,vars:7,consts:[["jhaBackgroundImageUrl","assets/images/JHAAbstract01.jpg",3,"jhaTitle","jhaIsBusy"],[3,"ngSubmit",4,"ngIf"],["jhaType","Error","jhaIconType","Error",4,"ngIf"],["jhaType","Warning","jhaIconType","Warning",4,"ngIf"],[1,"clearfix"],["jhaSize","Wide",3,"jhaIconType","jhaTitle","jhaRouterLink",4,"ngFor","ngForOf"],[3,"ngSubmit"],["type","search","id","inputSearch","name","inputSearch","placeholder","Search","required","","autofocus","",1,"form-control","search-box",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary","search-button"],["jhaType","Error","jhaIconType","Error"],["jhaType","Warning","jhaIconType","Warning"],["jhaSize","Wide",3,"jhaIconType","jhaTitle","jhaRouterLink"],[1,"search-weight"]],template:function(t,e){1&t&&(i.Vb(0,"jha-function-view",0),i.Ac(1,Nn,5,1,"form",1),i.Ac(2,Pn,2,1,"jha-inline-notification",2),i.Ac(3,Dn,2,0,"jha-inline-notification",3),i.Ac(4,Ln,2,0,"jha-inline-notification",3),i.Vb(5,"div",4),i.Ac(6,Fn,3,4,"jha-tile",5),i.Ub(),i.Ub()),2&t&&(i.lc("jhaTitle",e.title)("jhaIsBusy",e.searching),i.Bb(1),i.lc("ngIf",e.displaySearchInputForPhone),i.Bb(1),i.lc("ngIf",e.loadError),i.Bb(1),i.lc("ngIf",e.blankSearchString),i.Bb(1),i.lc("ngIf",!e.blankSearchString&&e.noSearchResults),i.Bb(2),i.lc("ngForOf",e.searchResultList))},directives:[pn.h,o.k,o.j,Ke.r,Ke.i,Ke.j,pn.f,Ke.b,Ke.n,Ke.h,Ke.k,pn.s,pn.G],styles:[".search-box[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 0 0%}.search-button[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 auto}.search-weight[_ngcontent-%COMP%]{position:absolute;bottom:0;opacity:.5}"]}),t}(),Mn=function(){return function(t,e){this.title=t,this.patternList=e}}(),Bn=function(){return function(t,e,n,r){this.title=t,this.description=e,this.iconType=n,this.route=r}}();function Vn(t,e){if(1&t&&(i.Vb(0,"div",6),i.Vb(1,"div",7),i.Qb(2,"i"),i.Ub(),i.Vb(3,"div",8),i.Vb(4,"div",9),i.Cc(5),i.Ub(),i.Vb(6,"div",10),i.Vb(7,"a",11),i.Cc(8),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t){var n=e.$implicit;i.Bb(2),i.Eb("xj-icon-",n.iconType," jha-bright-text-label pattern-icon"),i.Bb(3),i.Dc(n.description),i.Bb(2),i.nc("routerLink","/Patterns/",n.route,""),i.Bb(1),i.Ec("",n.title," Pattern")}}function Hn(t,e){if(1&t&&(i.Vb(0,"div",3),i.Vb(1,"h3",4),i.Cc(2),i.Ub(),i.Ac(3,Vn,9,6,"div",5),i.Ub()),2&t){var n=e.$implicit;i.Bb(2),i.Dc(n.title),i.Bb(1),i.lc("ngForOf",n.patternList)}}var qn=function(){function t(){this.sectionList=[],this.sectionList=[new Mn("Fundamentals",[new Bn("Responsive Design","Display content optimally at different screen widths","Expand","ResponsiveDesign"),new Bn("Theming","Add the proper styling, colors, fonts","Palette","Theming"),new Bn("Enterprise Icons","Display icons","Images","EnterpriseIcons"),new Bn("Icon Usage","Use icons in your app","Images","IconUsage"),new Bn("User Interface Text","Write text for your user interface","Edit","UserInterfaceText"),new Bn("Animation","Animate elements in your app","Next","Animation"),new Bn("Back Button","Conditionally display a back button in the header","NavigateBack","BackButton"),new Bn("Native Wrapper","Package your web app as a Windows executable","Package","NativeWrapper"),new Bn("Headshot Photos","Display a photo of a person's face","OrientationPortrait","HeadshotPhotos"),new Bn("Themed SVG Images","Display an SVG image using themed colors","Palette","ThemedSvgImages"),new Bn("Plug-In Apps","Embed one responsive application within another","Windows","PlugIn")]),new Mn("Layout",[new Bn("Application Layout","Provide standard layout for your app","Layout","ApplicationLayout"),new Bn("Application Layout","Provide navigation to your views","GoTo","ApplicationLayout"),new Bn("Application Layout","Display a header in your app","ArrowUp","ApplicationLayout"),new Bn("Function View","Provide standard layout for a view","Window","FunctionView"),new Bn("Display Block","Partition view content into containers","ViewMediumIcons","DisplayBlock"),new Bn("Group Box","Partition display block content into even smaller containers","ViewSmallIcons","GroupBox"),new Bn("Fixed Layout","Display view content in a fixed grid layout","Layout","FixedLayout"),new Bn("Toolbar","Display items in toolbars","Ellipsis","Toolbar"),new Bn("Tabs","Partition and organize content into tabs","Swap","Tabs"),new Bn("Breadcrumbs","Provide fast access to higher levels in the view hierarchy","NavigateUp","Breadcrumbs"),new Bn("Context Menu","Provide list of options scoped to one element","Table","ContextMenu"),new Bn("Carousel","Display a series of images one at a time","Images","Carousel"),new Bn("Simplify the UI","Highlight the most important functionality","Favorites","SimplifyUi")]),new Mn("Data",[new Bn("Text","Display text","Font","Text"),new Bn("Record Detail","Display field/value pairs","Properties","RecordDetail"),new Bn("Grid","Display data in rows and columns","Table","Grid"),new Bn("Tree View","Display hierarchical data","OrgChart","TreeView"),new Bn("Charts","Display charts and graphs","ChartArea","Charts"),new Bn("Percentage Circle","Display a percentage graphically","Rates","PercentageCircle"),new Bn("Editing Form Data","Prompt the user for input","Keyboard","EditingFormData"),new Bn("Validating Form Data","Validate user input","Verify","ValidatingFormData"),new Bn("Templated Lists","Display a list of objects","ViewList","TemplatedLists"),new Bn("Slider","Prompt for a numeric value with a slider","Split","Slider"),new Bn("Rating","Display a rating with stars","RatingHalf","Rating"),new Bn("Status Icon","Display a status visually, using very little space","Error","StatusIcon"),new Bn("Large Datasets","Display large sets of data","Data","LargeDatasets"),new Bn("Large Datasets","Use pagination to display unbounded data in pages","Book","LargeDatasets")]),new Mn("User Interaction",[new Bn("Interactivity Guidelines","Interact with users optimally","People","InteractivityGuidelines"),new Bn("Buttons","Trigger an action or navigation","Quick","Buttons"),new Bn("Tiles","Trigger an action or navigation and display contextual info","Quick","Tiles"),new Bn("Notifications","Notify the user of an event or occurence","Warning","Notifications"),new Bn("Progress Bar","Indicate the progress of a determinate long-running process","Clock","ProgressBar"),new Bn("Busy Indicator","Indicate an indeterminate long-running process","Hourglass","BusyIndicator"),new Bn("Dialog Boxes","Ask the user a simple question","Question","DialogBoxes"),new Bn("Dialog Boxes","Display secondary activity in a window above the view","Message","DialogBoxes"),new Bn("Drag and Drop","Drag items from one location to another","FullScreenExpand","DragAndDrop"),new Bn("Drag and Drop","Reorder items within a list","FitHeight","DragAndDrop"),new Bn("Tooltips","Display additional info for an element","Message","Tooltips"),new Bn("Tags","Display search filter or metadata tags","Tag","Tags"),new Bn("File Upload","Upload one or more files","Upload","FileUpload"),new Bn("Session Timeout","Let the user know their session is timing out","Clock","SessionTimeout")]),new Mn("View-Level",[new Bn("Log In","Prompt the user to log in","LoginLogout","LogIn"),new Bn("Master / Detail","Display a master list with detail for the selected option","ViewDetails","MasterDetail"),new Bn("CRUD","Provide inquiry, create, revise, and delete functions","Edit","Crud"),new Bn("Search","Provide a search interface","Search","Search"),new Bn("Wizard","Prompt the user for multiple values, one step at a time","Wizard","Wizard"),new Bn("Steps","Prompt the user for a short set of multiple values, one step at a time","Steps","Steps"),new Bn("About Page","Display the application name, version, and copyright notice","Information","About"),new Bn("Starting Function","Display an initial view after the user starts or logs in","Priority1","StartingFunction"),new Bn("Institution Selection","Prompt the user to select a financial institution","Bank","InstitutionSelection"),new Bn("Change Password","Prompt the user to change their password","Key","ChangePassword")])]}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["which-pattern"]],decls:4,vars:1,consts:[["jhaTitle","Which Pattern Should I Use?","jhaBackgroundImageUrl","assets/images/JHAAbstract01.jpg","jhaDataDense","true"],[1,"outer-container"],["class","inner-container",4,"ngFor","ngForOf"],[1,"inner-container"],[1,"category-header"],["class","pattern",4,"ngFor","ngForOf"],[1,"pattern"],[1,"pattern-icon-container"],[1,"pattern-info-container"],[1,"pattern-info-description"],[1,"pattern-info-link"],[3,"routerLink"]],template:function(t,e){1&t&&(i.Vb(0,"jha-function-view",0),i.Vb(1,"jha-display-block"),i.Vb(2,"div",1),i.Ac(3,Hn,4,2,"div",2),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Bb(3),i.lc("ngForOf",e.sectionList))},directives:[pn.h,pn.d,o.j,a.h],styles:[".outer-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;flex-wrap:wrap}.inner-container[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 275px;margin-left:40px;margin-bottom:50px}.inner-container[_ngcontent-%COMP%]:first-child{margin-left:0}.inner-container[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{margin-bottom:30px}.pattern[_ngcontent-%COMP%]{margin-top:25px;height:75px;display:-webkit-box;display:flex}.pattern-icon-container[_ngcontent-%COMP%]{-webkit-box-flex:0;flex:0 0 auto}.pattern-info-container[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1 0 0%}.pattern-info-description[_ngcontent-%COMP%]{font-size:14px}.pattern-info-link[_ngcontent-%COMP%]{margin-top:3px}.pattern-icon[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px;margin-right:12px;margin-top:4px;opacity:.33}.category-header[_ngcontent-%COMP%]{margin-top:0;padding-top:0}"]}),t}();function Gn(){return[{name:"typescript",func:wn.a},{name:"scss",func:vn.a},{name:"xml",func:mn.a}]}function Wn(t){return function(){return t.load()}}Object(i.S)();var zn=[{path:"",redirectTo:"/Home",pathMatch:"full",canActivate:[cn]},{path:"Doc/Angular",loadChildren:"./modules/doc-angular/doc-angular.module#DocAngularModule",canActivate:[cn]},{path:"Doc/Asp",loadChildren:"./modules/doc-asp/doc-asp.module#DocAspModule",canActivate:[cn]},{path:"Home",component:On,canActivate:[cn]},{path:"Patterns",loadChildren:"./modules/patterns/patterns.module#PatternsModule",canActivate:[cn]},{path:"Releases",component:In,canActivate:[cn]},{path:"Search",component:Un,canActivate:[cn]},{path:"SearchPhone",component:Un,canActivate:[cn]},{path:"TechDocs",loadChildren:"./modules/tech-docs/tech-docs.module#TechDocsModule",canActivate:[cn]},{path:"WhichPattern",component:qn,canActivate:[cn]},{path:"**",component:On,canActivate:[cn]}],$n=function(){function t(){}return t.\u0275mod=i.Mb({type:t,bootstrap:[En]}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[cn,{provide:o.h,useClass:o.e},hn.a,_n.a,{provide:i.d,useFactory:Wn,deps:[hn.a],multi:!0}],imports:[[ln.forRoot({tenant:"53049b77-3e8f-4792-977f-0a3e5f23891b",clientId:"8073b43a-05c8-4cb7-9ce8-20695db50a0f",redirectUri:window.location.origin,navigateToLoginRequestUrl:!1,cacheLocation:"localStorage"}),L,Qe,Ke.e,s.b,pn.m,pn.r,pn.t,pn.z,pn.D,pn.E,pn.F.forRoot(),pn.H,a.i.forRoot(zn,{preloadingStrategy:a.d}),fn.b.forRoot(),dn.b.forRoot({languages:Gn})]]}),t}();Object(i.S)(),P().bootstrapModule($n).catch((function(t){return console.log(t)}))},zotm:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("rPjj"),i=n("Fxb1"),o=n("6blF");function a(t,e,n,a,s){if(void 0===s&&(s=new r.a(t,n,a)),!s.closed)return e instanceof o.a?e.subscribe(s):Object(i.a)(e)(s)}}},[[0,0]]]);